From e3b8c800d649da00748d4605d847b342480ecc73 Mon Sep 17 00:00:00 2001 From: Steve Bazyl Date: Mon, 3 Apr 2017 13:18:48 -0700 Subject: [PATCH] Regen APIs --- CHANGELOG.md | 5 +- api_names_out.yaml | 9232 ++++++++--------- .../acceleratedmobilepageurl_v1/classes.rb | 12 +- .../representations.rb | 2 +- .../acceleratedmobilepageurl_v1/service.rb | 1 + .../google/apis/adexchangebuyer2_v2beta1.rb | 2 +- .../apis/adexchangebuyer2_v2beta1/classes.rb | 1908 ++-- .../representations.rb | 642 +- .../apis/adexchangebuyer2_v2beta1/service.rb | 1037 +- .../apis/adexchangebuyer_v1_4/classes.rb | 116 +- .../adexchangebuyer_v1_4/representations.rb | 90 +- .../apis/adexchangebuyer_v1_4/service.rb | 43 +- .../apis/adexchangeseller_v2_0/classes.rb | 10 +- .../adexchangeseller_v2_0/representations.rb | 10 +- .../apis/adexchangeseller_v2_0/service.rb | 1 + .../apis/admin_datatransfer_v1/classes.rb | 4 +- .../admin_datatransfer_v1/representations.rb | 4 +- .../apis/admin_datatransfer_v1/service.rb | 3 +- .../google/apis/admin_directory_v1/classes.rb | 22 +- .../admin_directory_v1/representations.rb | 22 +- .../google/apis/admin_directory_v1/service.rb | 1 + .../google/apis/admin_reports_v1/classes.rb | 10 +- .../apis/admin_reports_v1/representations.rb | 8 +- .../google/apis/admin_reports_v1/service.rb | 1 + generated/google/apis/adsense_v1_4.rb | 2 +- generated/google/apis/adsense_v1_4/classes.rb | 4 +- .../apis/adsense_v1_4/representations.rb | 4 +- generated/google/apis/adsense_v1_4/service.rb | 1 + generated/google/apis/adsensehost_v4_1.rb | 2 +- .../google/apis/adsensehost_v4_1/classes.rb | 2 +- .../apis/adsensehost_v4_1/representations.rb | 2 +- .../google/apis/adsensehost_v4_1/service.rb | 1 + generated/google/apis/analytics_v3/classes.rb | 20 +- .../apis/analytics_v3/representations.rb | 20 +- generated/google/apis/analytics_v3/service.rb | 1 + .../apis/analyticsreporting_v4/classes.rb | 1420 +-- .../analyticsreporting_v4/representations.rb | 412 +- .../apis/analyticsreporting_v4/service.rb | 9 +- generated/google/apis/androidenterprise_v1.rb | 2 +- .../apis/androidenterprise_v1/classes.rb | 2 +- .../androidenterprise_v1/representations.rb | 2 +- .../apis/androidenterprise_v1/service.rb | 1 + .../apis/androidpublisher_v2/classes.rb | 26 +- .../androidpublisher_v2/representations.rb | 26 +- .../apis/androidpublisher_v2/service.rb | 5 +- generated/google/apis/appengine_v1/classes.rb | 4 +- .../apis/appengine_v1/representations.rb | 4 +- generated/google/apis/appengine_v1/service.rb | 1 + .../google/apis/appsactivity_v1/classes.rb | 2 +- .../apis/appsactivity_v1/representations.rb | 2 +- .../google/apis/appsactivity_v1/service.rb | 1 + generated/google/apis/appsmarket_v2.rb | 35 + .../google/apis/appsmarket_v2/classes.rb | 396 + .../apis/appsmarket_v2/representations.rb | 180 + .../google/apis/appsmarket_v2/service.rb | 187 + generated/google/apis/appstate_v1.rb | 2 +- generated/google/apis/appstate_v1/service.rb | 1 + generated/google/apis/bigquery_v2/classes.rb | 78 +- .../apis/bigquery_v2/representations.rb | 76 +- generated/google/apis/bigquery_v2/service.rb | 5 +- generated/google/apis/blogger_v3/classes.rb | 4 +- .../google/apis/blogger_v3/representations.rb | 4 +- generated/google/apis/blogger_v3/service.rb | 1 + generated/google/apis/books_v1/classes.rb | 10 +- .../google/apis/books_v1/representations.rb | 8 +- generated/google/apis/books_v1/service.rb | 1 + generated/google/apis/calendar_v3/classes.rb | 2 +- .../apis/calendar_v3/representations.rb | 2 +- generated/google/apis/calendar_v3/service.rb | 1 + generated/google/apis/civicinfo_v2/classes.rb | 12 +- .../apis/civicinfo_v2/representations.rb | 12 +- generated/google/apis/civicinfo_v2/service.rb | 3 +- generated/google/apis/classroom_v1/service.rb | 1 + .../google/apis/cloudbilling_v1/service.rb | 1 + generated/google/apis/cloudbuild_v1.rb | 2 +- .../google/apis/cloudbuild_v1/classes.rb | 814 +- .../apis/cloudbuild_v1/representations.rb | 218 +- .../google/apis/cloudbuild_v1/service.rb | 333 +- .../google/apis/clouddebugger_v2/classes.rb | 636 +- .../apis/clouddebugger_v2/representations.rb | 198 +- .../google/apis/clouddebugger_v2/service.rb | 83 +- .../apis/clouderrorreporting_v1beta1.rb | 2 +- .../clouderrorreporting_v1beta1/classes.rb | 880 +- .../representations.rb | 104 +- .../clouderrorreporting_v1beta1/service.rb | 143 +- .../google/apis/cloudfunctions_v1/classes.rb | 14 +- .../apis/cloudfunctions_v1/representations.rb | 2 +- .../google/apis/cloudfunctions_v1/service.rb | 9 +- generated/google/apis/cloudkms_v1/classes.rb | 610 +- .../apis/cloudkms_v1/representations.rb | 190 +- generated/google/apis/cloudkms_v1/service.rb | 419 +- .../apis/cloudmonitoring_v2beta2/classes.rb | 8 +- .../representations.rb | 8 +- .../apis/cloudmonitoring_v2beta2/service.rb | 1 + .../google/apis/cloudresourcemanager_v1.rb | 6 +- .../apis/cloudresourcemanager_v1/classes.rb | 714 +- .../representations.rb | 124 +- .../apis/cloudresourcemanager_v1/service.rb | 899 +- .../cloudresourcemanager_v1beta1/classes.rb | 658 +- .../representations.rb | 146 +- .../cloudresourcemanager_v1beta1/service.rb | 563 +- generated/google/apis/cloudtrace_v1.rb | 6 +- .../google/apis/cloudtrace_v1/classes.rb | 76 +- .../apis/cloudtrace_v1/representations.rb | 26 +- .../google/apis/cloudtrace_v1/service.rb | 27 +- .../apis/clouduseraccounts_beta/classes.rb | 8 +- .../clouduseraccounts_beta/representations.rb | 8 +- .../apis/clouduseraccounts_beta/service.rb | 1 + generated/google/apis/compute_beta/classes.rb | 104 +- .../apis/compute_beta/representations.rb | 104 +- generated/google/apis/compute_beta/service.rb | 3 +- generated/google/apis/compute_v1/classes.rb | 96 +- .../google/apis/compute_v1/representations.rb | 96 +- generated/google/apis/compute_v1/service.rb | 3 +- generated/google/apis/container_v1/service.rb | 1 + generated/google/apis/content_v2.rb | 2 +- generated/google/apis/content_v2/classes.rb | 698 +- .../google/apis/content_v2/representations.rb | 340 +- generated/google/apis/content_v2/service.rb | 342 +- .../google/apis/customsearch_v1/classes.rb | 4 +- .../apis/customsearch_v1/representations.rb | 4 +- .../google/apis/customsearch_v1/service.rb | 1 + .../google/apis/dataflow_v1b3/classes.rb | 6802 ++++++------ .../apis/dataflow_v1b3/representations.rb | 2238 ++-- .../google/apis/dataflow_v1b3/service.rb | 343 +- generated/google/apis/dataproc_v1/classes.rb | 794 +- .../apis/dataproc_v1/representations.rb | 196 +- generated/google/apis/dataproc_v1/service.rb | 859 +- generated/google/apis/datastore_v1/classes.rb | 1086 +- .../apis/datastore_v1/representations.rb | 682 +- generated/google/apis/datastore_v1/service.rb | 91 +- .../apis/deploymentmanager_v2/classes.rb | 12 +- .../deploymentmanager_v2/representations.rb | 12 +- .../apis/deploymentmanager_v2/service.rb | 1 + .../google/apis/dfareporting_v2_6/classes.rb | 560 +- .../apis/dfareporting_v2_6/representations.rb | 532 +- .../google/apis/dfareporting_v2_6/service.rb | 841 +- .../google/apis/dfareporting_v2_7/classes.rb | 560 +- .../apis/dfareporting_v2_7/representations.rb | 532 +- .../google/apis/dfareporting_v2_7/service.rb | 845 +- generated/google/apis/discovery_v1/service.rb | 1 + generated/google/apis/dns_v1/classes.rb | 4 +- .../google/apis/dns_v1/representations.rb | 4 +- generated/google/apis/dns_v1/service.rb | 1 + generated/google/apis/dns_v2beta1/classes.rb | 4 +- .../apis/dns_v2beta1/representations.rb | 4 +- generated/google/apis/dns_v2beta1/service.rb | 1 + .../apis/doubleclickbidmanager_v1/classes.rb | 30 +- .../representations.rb | 26 +- .../apis/doubleclickbidmanager_v1/service.rb | 9 +- .../apis/doubleclicksearch_v2/classes.rb | 56 +- .../doubleclicksearch_v2/representations.rb | 56 +- .../apis/doubleclicksearch_v2/service.rb | 25 +- generated/google/apis/drive_v2/classes.rb | 34 +- .../google/apis/drive_v2/representations.rb | 34 +- generated/google/apis/drive_v2/service.rb | 9 +- generated/google/apis/drive_v3/classes.rb | 26 +- .../google/apis/drive_v3/representations.rb | 24 +- generated/google/apis/drive_v3/service.rb | 1 + .../google/apis/firebasedynamiclinks_v1.rb | 2 +- .../apis/firebasedynamiclinks_v1/classes.rb | 162 +- .../representations.rb | 48 +- .../apis/firebasedynamiclinks_v1/service.rb | 1 + .../google/apis/firebaserules_v1/classes.rb | 562 +- .../apis/firebaserules_v1/representations.rb | 218 +- .../google/apis/firebaserules_v1/service.rb | 1 + generated/google/apis/fitness_v1/classes.rb | 36 +- .../google/apis/fitness_v1/representations.rb | 36 +- generated/google/apis/fitness_v1/service.rb | 11 +- .../google/apis/fusiontables_v2/classes.rb | 4 +- .../apis/fusiontables_v2/representations.rb | 4 +- .../google/apis/fusiontables_v2/service.rb | 1 + .../games_configuration_v1configuration.rb | 2 +- .../classes.rb | 4 +- .../representations.rb | 4 +- .../service.rb | 1 + .../apis/games_management_v1management.rb | 2 +- .../games_management_v1management/classes.rb | 12 +- .../representations.rb | 12 +- .../games_management_v1management/service.rb | 1 + generated/google/apis/games_v1.rb | 2 +- generated/google/apis/games_v1/classes.rb | 94 +- .../google/apis/games_v1/representations.rb | 94 +- generated/google/apis/games_v1/service.rb | 115 +- generated/google/apis/genomics_v1.rb | 12 +- generated/google/apis/genomics_v1/classes.rb | 2994 +++--- .../apis/genomics_v1/representations.rb | 1540 +-- generated/google/apis/genomics_v1/service.rb | 2233 ++-- generated/google/apis/gmail_v1/classes.rb | 22 +- .../google/apis/gmail_v1/representations.rb | 22 +- generated/google/apis/gmail_v1/service.rb | 3 +- .../google/apis/groupsmigration_v1/service.rb | 1 + .../google/apis/groupssettings_v1/service.rb | 1 + generated/google/apis/iam_v1/classes.rb | 734 +- .../google/apis/iam_v1/representations.rb | 266 +- generated/google/apis/iam_v1/service.rb | 173 +- .../google/apis/identitytoolkit_v3/classes.rb | 40 +- .../identitytoolkit_v3/representations.rb | 40 +- .../google/apis/identitytoolkit_v3/service.rb | 1 + generated/google/apis/kgsearch_v1/service.rb | 17 +- generated/google/apis/language_v1.rb | 2 +- generated/google/apis/language_v1/classes.rb | 520 +- .../apis/language_v1/representations.rb | 150 +- generated/google/apis/language_v1/service.rb | 1 + generated/google/apis/language_v1beta1.rb | 2 +- .../google/apis/language_v1beta1/classes.rb | 554 +- .../apis/language_v1beta1/representations.rb | 182 +- .../google/apis/language_v1beta1/service.rb | 61 +- generated/google/apis/licensing_v1/service.rb | 1 + generated/google/apis/logging_v2/classes.rb | 944 +- .../google/apis/logging_v2/representations.rb | 208 +- generated/google/apis/logging_v2/service.rb | 1683 +-- generated/google/apis/logging_v2beta1.rb | 6 +- .../google/apis/logging_v2beta1/classes.rb | 1142 +- .../apis/logging_v2beta1/representations.rb | 516 +- .../google/apis/logging_v2beta1/service.rb | 177 +- .../google/apis/manufacturers_v1/classes.rb | 544 +- .../apis/manufacturers_v1/representations.rb | 128 +- .../google/apis/manufacturers_v1/service.rb | 1 + generated/google/apis/mirror_v1/service.rb | 1 + generated/google/apis/ml_v1/classes.rb | 2092 ++-- .../google/apis/ml_v1/representations.rb | 542 +- generated/google/apis/ml_v1/service.rb | 567 +- generated/google/apis/monitoring_v3.rb | 6 +- .../google/apis/monitoring_v3/classes.rb | 682 +- .../apis/monitoring_v3/representations.rb | 176 +- .../google/apis/monitoring_v3/service.rb | 787 +- .../google/apis/mybusiness_v3/service.rb | 1 + generated/google/apis/oauth2_v2/service.rb | 1 + .../google/apis/pagespeedonline_v2/classes.rb | 16 +- .../pagespeedonline_v2/representations.rb | 16 +- .../google/apis/pagespeedonline_v2/service.rb | 1 + generated/google/apis/partners_v2/classes.rb | 3084 +++--- .../apis/partners_v2/representations.rb | 882 +- generated/google/apis/partners_v2/service.rb | 1395 +-- generated/google/apis/people_v1.rb | 8 +- generated/google/apis/people_v1/classes.rb | 1830 ++-- .../google/apis/people_v1/representations.rb | 688 +- generated/google/apis/people_v1/service.rb | 25 +- .../google/apis/plus_domains_v1/classes.rb | 4 +- .../apis/plus_domains_v1/representations.rb | 4 +- .../google/apis/plus_domains_v1/service.rb | 1 + generated/google/apis/plus_v1/service.rb | 1 + .../google/apis/prediction_v1_6/classes.rb | 18 +- .../apis/prediction_v1_6/representations.rb | 18 +- .../google/apis/prediction_v1_6/service.rb | 1 + .../apis/proximitybeacon_v1beta1/classes.rb | 474 +- .../representations.rb | 132 +- .../apis/proximitybeacon_v1beta1/service.rb | 783 +- generated/google/apis/pubsub_v1/classes.rb | 198 +- .../google/apis/pubsub_v1/representations.rb | 50 +- generated/google/apis/pubsub_v1/service.rb | 543 +- .../google/apis/qpx_express_v1/service.rb | 1 + .../apis/replicapool_v1beta2/classes.rb | 6 +- .../replicapool_v1beta2/representations.rb | 6 +- .../apis/replicapool_v1beta2/service.rb | 1 + .../replicapoolupdater_v1beta1/classes.rb | 4 +- .../representations.rb | 4 +- .../replicapoolupdater_v1beta1/service.rb | 1 + generated/google/apis/reseller_v1/classes.rb | 10 +- .../apis/reseller_v1/representations.rb | 10 +- generated/google/apis/reseller_v1/service.rb | 1 + .../apis/resourceviews_v1beta2/classes.rb | 4 +- .../resourceviews_v1beta2/representations.rb | 4 +- .../apis/resourceviews_v1beta2/service.rb | 1 + generated/google/apis/runtimeconfig_v1.rb | 6 +- .../google/apis/runtimeconfig_v1/classes.rb | 56 +- .../apis/runtimeconfig_v1/representations.rb | 6 +- .../google/apis/runtimeconfig_v1/service.rb | 157 +- generated/google/apis/script_v1.rb | 36 +- generated/google/apis/script_v1/classes.rb | 168 +- .../google/apis/script_v1/representations.rb | 36 +- generated/google/apis/script_v1/service.rb | 21 +- .../google/apis/searchconsole_v1/classes.rb | 152 +- .../apis/searchconsole_v1/representations.rb | 72 +- .../google/apis/searchconsole_v1/service.rb | 21 +- .../google/apis/servicecontrol_v1/classes.rb | 1006 +- .../apis/servicecontrol_v1/representations.rb | 230 +- .../google/apis/servicecontrol_v1/service.rb | 141 +- generated/google/apis/servicemanagement_v1.rb | 6 +- .../apis/servicemanagement_v1/classes.rb | 2482 ++--- .../servicemanagement_v1/representations.rb | 548 +- .../apis/servicemanagement_v1/service.rb | 443 +- generated/google/apis/serviceuser_v1.rb | 6 +- .../google/apis/serviceuser_v1/classes.rb | 1964 ++-- .../apis/serviceuser_v1/representations.rb | 1002 +- .../google/apis/serviceuser_v1/service.rb | 93 +- generated/google/apis/sheets_v4.rb | 2 +- generated/google/apis/sheets_v4/classes.rb | 5986 +++++------ .../google/apis/sheets_v4/representations.rb | 1662 +-- generated/google/apis/sheets_v4/service.rb | 407 +- .../apis/site_verification_v1/service.rb | 1 + generated/google/apis/slides_v1.rb | 2 +- generated/google/apis/slides_v1/classes.rb | 4390 ++++---- .../google/apis/slides_v1/representations.rb | 1424 +-- generated/google/apis/slides_v1/service.rb | 53 +- .../google/apis/sourcerepo_v1/classes.rb | 552 +- .../apis/sourcerepo_v1/representations.rb | 288 +- .../google/apis/sourcerepo_v1/service.rb | 307 +- generated/google/apis/spanner_v1/classes.rb | 4556 ++++---- .../google/apis/spanner_v1/representations.rb | 980 +- generated/google/apis/spanner_v1/service.rb | 873 +- .../google/apis/speech_v1beta1/classes.rb | 418 +- .../apis/speech_v1beta1/representations.rb | 88 +- .../google/apis/speech_v1beta1/service.rb | 63 +- .../google/apis/sqladmin_v1beta4/classes.rb | 28 +- .../apis/sqladmin_v1beta4/representations.rb | 28 +- .../google/apis/sqladmin_v1beta4/service.rb | 5 +- generated/google/apis/storage_v1.rb | 2 +- generated/google/apis/storage_v1/classes.rb | 22 +- .../google/apis/storage_v1/representations.rb | 22 +- generated/google/apis/storage_v1/service.rb | 129 +- .../google/apis/storagetransfer_v1/classes.rb | 562 +- .../storagetransfer_v1/representations.rb | 190 +- .../google/apis/storagetransfer_v1/service.rb | 351 +- generated/google/apis/surveys_v2/classes.rb | 8 +- .../google/apis/surveys_v2/representations.rb | 8 +- generated/google/apis/surveys_v2/service.rb | 1 + .../google/apis/tagmanager_v1/classes.rb | 14 +- .../apis/tagmanager_v1/representations.rb | 14 +- .../google/apis/tagmanager_v1/service.rb | 1 + .../google/apis/tagmanager_v2/classes.rb | 12 +- .../apis/tagmanager_v2/representations.rb | 12 +- .../google/apis/tagmanager_v2/service.rb | 1 + .../google/apis/taskqueue_v1beta2/classes.rb | 10 +- .../apis/taskqueue_v1beta2/representations.rb | 10 +- .../google/apis/taskqueue_v1beta2/service.rb | 1 + generated/google/apis/tasks_v1/service.rb | 5 +- generated/google/apis/toolresults_v1beta3.rb | 2 +- .../apis/toolresults_v1beta3/classes.rb | 8 +- .../toolresults_v1beta3/representations.rb | 8 +- .../apis/toolresults_v1beta3/service.rb | 1 + generated/google/apis/tracing_v1/classes.rb | 694 +- .../google/apis/tracing_v1/representations.rb | 232 +- generated/google/apis/tracing_v1/service.rb | 121 +- generated/google/apis/translate_v2/service.rb | 1 + .../google/apis/urlshortener_v1/classes.rb | 6 +- .../apis/urlshortener_v1/representations.rb | 6 +- .../google/apis/urlshortener_v1/service.rb | 1 + generated/google/apis/vision_v1/classes.rb | 1430 +-- .../google/apis/vision_v1/representations.rb | 790 +- generated/google/apis/vision_v1/service.rb | 21 +- generated/google/apis/webfonts_v1/service.rb | 1 + .../google/apis/webmasters_v3/classes.rb | 10 +- .../apis/webmasters_v3/representations.rb | 10 +- .../google/apis/webmasters_v3/service.rb | 1 + .../apis/youtube_analytics_v1/classes.rb | 2 +- .../youtube_analytics_v1/representations.rb | 2 +- .../apis/youtube_analytics_v1/service.rb | 1 + .../google/apis/youtube_partner_v1/classes.rb | 26 +- .../youtube_partner_v1/representations.rb | 26 +- .../google/apis/youtube_partner_v1/service.rb | 1 + generated/google/apis/youtube_v3/classes.rb | 62 +- .../google/apis/youtube_v3/representations.rb | 62 +- generated/google/apis/youtube_v3/service.rb | 3 +- generated/google/apis/youtubereporting_v1.rb | 8 +- .../apis/youtubereporting_v1/classes.rb | 146 +- .../youtubereporting_v1/representations.rb | 36 +- .../apis/youtubereporting_v1/service.rb | 291 +- script/generate | 4 +- 360 files changed, 55313 insertions(+), 55525 deletions(-) create mode 100644 generated/google/apis/appsmarket_v2.rb create mode 100644 generated/google/apis/appsmarket_v2/classes.rb create mode 100644 generated/google/apis/appsmarket_v2/representations.rb create mode 100644 generated/google/apis/appsmarket_v2/service.rb diff --git a/CHANGELOG.md b/CHANGELOG.md index d90919c68..17f670c37 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,6 +1,7 @@ # 0.11.0 * *Breaking change* - Fix handling of large numbers during code generation. Previously the - uint64/int64 formats were passed through as strings. They are now coerced to/from Fixnum/Bignum types + uint64/int64 formats were passed through as strings. They are now coerced to/from Fixnum/Bignum types. + Affected APIs: * *Breaking change* - No longer normalize unicode strings in URI templates. Mostly affects Cloud Storage, but other APIs with unicode strings in paths may be affected. Old behavior can be restored using the `normalize_unicode` request option. @@ -14,6 +15,8 @@ * Treat 429 status codes as rate limit errors * Fix a potential download corruption if download interrupted and retried against a URL that does not return partial content. +* Updated dependencies +* Regen APIs, add appsmarketplace:v2 # 0.10.3 * Regenerate APIs diff --git a/api_names_out.yaml b/api_names_out.yaml index 5e7f7d022..1932661a5 100644 --- a/api_names_out.yaml +++ b/api_names_out.yaml @@ -1537,6 +1537,71 @@ "/youtube:v3/VideoListResponse": list_videos_response "/youtubeAnalytics:v1/GroupItemListResponse": list_group_item_response "/youtubeAnalytics:v1/GroupListResponse": list_groups_response +"/appsmarket:v2/fields": fields +"/appsmarket:v2/key": key +"/appsmarket:v2/quotaUser": quota_user +"/appsmarket:v2/userIp": user_ip +"/appsmarket:v2/appsmarket.customerLicense.get": get_customer_license +"/appsmarket:v2/appsmarket.customerLicense.get/applicationId": application_id +"/appsmarket:v2/appsmarket.customerLicense.get/customerId": customer_id +"/appsmarket:v2/appsmarket.licenseNotification.list": list_license_notifications +"/appsmarket:v2/appsmarket.licenseNotification.list/applicationId": application_id +"/appsmarket:v2/appsmarket.licenseNotification.list/max-results": max_results +"/appsmarket:v2/appsmarket.licenseNotification.list/start-token": start_token +"/appsmarket:v2/appsmarket.licenseNotification.list/timestamp": timestamp +"/appsmarket:v2/appsmarket.userLicense.get": get_user_license +"/appsmarket:v2/appsmarket.userLicense.get/applicationId": application_id +"/appsmarket:v2/appsmarket.userLicense.get/userId": user_id +"/appsmarket:v2/CustomerLicense": customer_license +"/appsmarket:v2/CustomerLicense/applicationId": application_id +"/appsmarket:v2/CustomerLicense/customerId": customer_id +"/appsmarket:v2/CustomerLicense/editions": editions +"/appsmarket:v2/CustomerLicense/editions/edition": edition +"/appsmarket:v2/CustomerLicense/editions/edition/assignedSeats": assigned_seats +"/appsmarket:v2/CustomerLicense/editions/edition/editionId": edition_id +"/appsmarket:v2/CustomerLicense/editions/edition/seatCount": seat_count +"/appsmarket:v2/CustomerLicense/id": id +"/appsmarket:v2/CustomerLicense/kind": kind +"/appsmarket:v2/CustomerLicense/state": state +"/appsmarket:v2/LicenseNotification": license_notification +"/appsmarket:v2/LicenseNotification/applicationId": application_id +"/appsmarket:v2/LicenseNotification/customerId": customer_id +"/appsmarket:v2/LicenseNotification/deletes": deletes +"/appsmarket:v2/LicenseNotification/deletes/delete": delete +"/appsmarket:v2/LicenseNotification/deletes/delete/editionId": edition_id +"/appsmarket:v2/LicenseNotification/deletes/delete/kind": kind +"/appsmarket:v2/LicenseNotification/expiries": expiries +"/appsmarket:v2/LicenseNotification/expiries/expiry": expiry +"/appsmarket:v2/LicenseNotification/expiries/expiry/editionId": edition_id +"/appsmarket:v2/LicenseNotification/expiries/expiry/kind": kind +"/appsmarket:v2/LicenseNotification/id": id +"/appsmarket:v2/LicenseNotification/kind": kind +"/appsmarket:v2/LicenseNotification/provisions": provisions +"/appsmarket:v2/LicenseNotification/provisions/provision": provision +"/appsmarket:v2/LicenseNotification/provisions/provision/editionId": edition_id +"/appsmarket:v2/LicenseNotification/provisions/provision/kind": kind +"/appsmarket:v2/LicenseNotification/provisions/provision/seatCount": seat_count +"/appsmarket:v2/LicenseNotification/reassignments": reassignments +"/appsmarket:v2/LicenseNotification/reassignments/reassignment": reassignment +"/appsmarket:v2/LicenseNotification/reassignments/reassignment/editionId": edition_id +"/appsmarket:v2/LicenseNotification/reassignments/reassignment/kind": kind +"/appsmarket:v2/LicenseNotification/reassignments/reassignment/type": type +"/appsmarket:v2/LicenseNotification/reassignments/reassignment/userId": user_id +"/appsmarket:v2/LicenseNotification/timestamp": timestamp +"/appsmarket:v2/LicenseNotificationList": license_notification_list +"/appsmarket:v2/LicenseNotificationList/kind": kind +"/appsmarket:v2/LicenseNotificationList/nextPageToken": next_page_token +"/appsmarket:v2/LicenseNotificationList/notifications": notifications +"/appsmarket:v2/LicenseNotificationList/notifications/notification": notification +"/appsmarket:v2/UserLicense": user_license +"/appsmarket:v2/UserLicense/applicationId": application_id +"/appsmarket:v2/UserLicense/customerId": customer_id +"/appsmarket:v2/UserLicense/editionId": edition_id +"/appsmarket:v2/UserLicense/enabled": enabled +"/appsmarket:v2/UserLicense/id": id +"/appsmarket:v2/UserLicense/kind": kind +"/appsmarket:v2/UserLicense/state": state +"/appsmarket:v2/UserLicense/userId": user_id "/youtubePartner:v1/fields": fields "/youtubePartner:v1/key": key "/youtubePartner:v1/quotaUser": quota_user @@ -5731,51 +5796,18 @@ "/mybusiness:v3/AttributeValueMetadata": attribute_value_metadata "/mybusiness:v3/AttributeValueMetadata/value": value "/mybusiness:v3/AttributeValueMetadata/displayName": display_name +"/monitoring:v3/fields": fields "/monitoring:v3/key": key "/monitoring:v3/quotaUser": quota_user -"/monitoring:v3/fields": fields -"/monitoring:v3/monitoring.projects.timeSeries.list": list_project_time_series -"/monitoring:v3/monitoring.projects.timeSeries.list/aggregation.alignmentPeriod": aggregation_alignment_period -"/monitoring:v3/monitoring.projects.timeSeries.list/pageSize": page_size -"/monitoring:v3/monitoring.projects.timeSeries.list/orderBy": order_by -"/monitoring:v3/monitoring.projects.timeSeries.list/aggregation.crossSeriesReducer": aggregation_cross_series_reducer -"/monitoring:v3/monitoring.projects.timeSeries.list/filter": filter -"/monitoring:v3/monitoring.projects.timeSeries.list/pageToken": page_token -"/monitoring:v3/monitoring.projects.timeSeries.list/aggregation.perSeriesAligner": aggregation_per_series_aligner -"/monitoring:v3/monitoring.projects.timeSeries.list/interval.startTime": interval_start_time -"/monitoring:v3/monitoring.projects.timeSeries.list/view": view -"/monitoring:v3/monitoring.projects.timeSeries.list/name": name -"/monitoring:v3/monitoring.projects.timeSeries.list/aggregation.groupByFields": aggregation_group_by_fields -"/monitoring:v3/monitoring.projects.timeSeries.list/interval.endTime": interval_end_time -"/monitoring:v3/monitoring.projects.timeSeries.create": create_time_series -"/monitoring:v3/monitoring.projects.timeSeries.create/name": name -"/monitoring:v3/monitoring.projects.metricDescriptors.list": list_project_metric_descriptors -"/monitoring:v3/monitoring.projects.metricDescriptors.list/filter": filter -"/monitoring:v3/monitoring.projects.metricDescriptors.list/name": name -"/monitoring:v3/monitoring.projects.metricDescriptors.list/pageToken": page_token -"/monitoring:v3/monitoring.projects.metricDescriptors.list/pageSize": page_size -"/monitoring:v3/monitoring.projects.metricDescriptors.get": get_project_metric_descriptor -"/monitoring:v3/monitoring.projects.metricDescriptors.get/name": name -"/monitoring:v3/monitoring.projects.metricDescriptors.create": create_project_metric_descriptor -"/monitoring:v3/monitoring.projects.metricDescriptors.create/name": name -"/monitoring:v3/monitoring.projects.metricDescriptors.delete": delete_project_metric_descriptor -"/monitoring:v3/monitoring.projects.metricDescriptors.delete/name": name -"/monitoring:v3/monitoring.projects.monitoredResourceDescriptors.list": list_project_monitored_resource_descriptors -"/monitoring:v3/monitoring.projects.monitoredResourceDescriptors.list/pageSize": page_size -"/monitoring:v3/monitoring.projects.monitoredResourceDescriptors.list/filter": filter -"/monitoring:v3/monitoring.projects.monitoredResourceDescriptors.list/name": name -"/monitoring:v3/monitoring.projects.monitoredResourceDescriptors.list/pageToken": page_token -"/monitoring:v3/monitoring.projects.monitoredResourceDescriptors.get": get_project_monitored_resource_descriptor -"/monitoring:v3/monitoring.projects.monitoredResourceDescriptors.get/name": name "/monitoring:v3/monitoring.projects.groups.delete": delete_project_group "/monitoring:v3/monitoring.projects.groups.delete/name": name "/monitoring:v3/monitoring.projects.groups.list": list_project_groups +"/monitoring:v3/monitoring.projects.groups.list/pageToken": page_token "/monitoring:v3/monitoring.projects.groups.list/pageSize": page_size "/monitoring:v3/monitoring.projects.groups.list/ancestorsOfGroup": ancestors_of_group "/monitoring:v3/monitoring.projects.groups.list/name": name "/monitoring:v3/monitoring.projects.groups.list/childrenOfGroup": children_of_group "/monitoring:v3/monitoring.projects.groups.list/descendantsOfGroup": descendants_of_group -"/monitoring:v3/monitoring.projects.groups.list/pageToken": page_token "/monitoring:v3/monitoring.projects.groups.get": get_project_group "/monitoring:v3/monitoring.projects.groups.get/name": name "/monitoring:v3/monitoring.projects.groups.update": update_project_group @@ -5785,46 +5817,55 @@ "/monitoring:v3/monitoring.projects.groups.create/name": name "/monitoring:v3/monitoring.projects.groups.create/validateOnly": validate_only "/monitoring:v3/monitoring.projects.groups.members.list": list_project_group_members +"/monitoring:v3/monitoring.projects.groups.members.list/filter": filter +"/monitoring:v3/monitoring.projects.groups.members.list/pageToken": page_token "/monitoring:v3/monitoring.projects.groups.members.list/pageSize": page_size "/monitoring:v3/monitoring.projects.groups.members.list/interval.startTime": interval_start_time "/monitoring:v3/monitoring.projects.groups.members.list/name": name "/monitoring:v3/monitoring.projects.groups.members.list/interval.endTime": interval_end_time -"/monitoring:v3/monitoring.projects.groups.members.list/filter": filter -"/monitoring:v3/monitoring.projects.groups.members.list/pageToken": page_token "/monitoring:v3/monitoring.projects.collectdTimeSeries.create": create_collectd_time_series "/monitoring:v3/monitoring.projects.collectdTimeSeries.create/name": name -"/monitoring:v3/CreateCollectdTimeSeriesRequest": create_collectd_time_series_request -"/monitoring:v3/CreateCollectdTimeSeriesRequest/resource": resource -"/monitoring:v3/CreateCollectdTimeSeriesRequest/collectdPayloads": collectd_payloads -"/monitoring:v3/CreateCollectdTimeSeriesRequest/collectdPayloads/collectd_payload": collectd_payload -"/monitoring:v3/CreateCollectdTimeSeriesRequest/collectdVersion": collectd_version -"/monitoring:v3/ListGroupMembersResponse": list_group_members_response -"/monitoring:v3/ListGroupMembersResponse/members": members -"/monitoring:v3/ListGroupMembersResponse/members/member": member -"/monitoring:v3/ListGroupMembersResponse/nextPageToken": next_page_token -"/monitoring:v3/ListGroupMembersResponse/totalSize": total_size -"/monitoring:v3/ListMonitoredResourceDescriptorsResponse": list_monitored_resource_descriptors_response -"/monitoring:v3/ListMonitoredResourceDescriptorsResponse/nextPageToken": next_page_token -"/monitoring:v3/ListMonitoredResourceDescriptorsResponse/resourceDescriptors": resource_descriptors -"/monitoring:v3/ListMonitoredResourceDescriptorsResponse/resourceDescriptors/resource_descriptor": resource_descriptor -"/monitoring:v3/TimeSeries": time_series -"/monitoring:v3/TimeSeries/resource": resource -"/monitoring:v3/TimeSeries/metricKind": metric_kind -"/monitoring:v3/TimeSeries/metric": metric -"/monitoring:v3/TimeSeries/points": points -"/monitoring:v3/TimeSeries/points/point": point -"/monitoring:v3/TimeSeries/valueType": value_type -"/monitoring:v3/CreateTimeSeriesRequest": create_time_series_request -"/monitoring:v3/CreateTimeSeriesRequest/timeSeries": time_series -"/monitoring:v3/CreateTimeSeriesRequest/timeSeries/time_series": time_series +"/monitoring:v3/monitoring.projects.timeSeries.create": create_time_series +"/monitoring:v3/monitoring.projects.timeSeries.create/name": name +"/monitoring:v3/monitoring.projects.timeSeries.list": list_project_time_series +"/monitoring:v3/monitoring.projects.timeSeries.list/aggregation.perSeriesAligner": aggregation_per_series_aligner +"/monitoring:v3/monitoring.projects.timeSeries.list/pageToken": page_token +"/monitoring:v3/monitoring.projects.timeSeries.list/interval.startTime": interval_start_time +"/monitoring:v3/monitoring.projects.timeSeries.list/view": view +"/monitoring:v3/monitoring.projects.timeSeries.list/aggregation.groupByFields": aggregation_group_by_fields +"/monitoring:v3/monitoring.projects.timeSeries.list/name": name +"/monitoring:v3/monitoring.projects.timeSeries.list/interval.endTime": interval_end_time +"/monitoring:v3/monitoring.projects.timeSeries.list/aggregation.alignmentPeriod": aggregation_alignment_period +"/monitoring:v3/monitoring.projects.timeSeries.list/pageSize": page_size +"/monitoring:v3/monitoring.projects.timeSeries.list/orderBy": order_by +"/monitoring:v3/monitoring.projects.timeSeries.list/aggregation.crossSeriesReducer": aggregation_cross_series_reducer +"/monitoring:v3/monitoring.projects.timeSeries.list/filter": filter +"/monitoring:v3/monitoring.projects.metricDescriptors.delete": delete_project_metric_descriptor +"/monitoring:v3/monitoring.projects.metricDescriptors.delete/name": name +"/monitoring:v3/monitoring.projects.metricDescriptors.list": list_project_metric_descriptors +"/monitoring:v3/monitoring.projects.metricDescriptors.list/pageSize": page_size +"/monitoring:v3/monitoring.projects.metricDescriptors.list/filter": filter +"/monitoring:v3/monitoring.projects.metricDescriptors.list/name": name +"/monitoring:v3/monitoring.projects.metricDescriptors.list/pageToken": page_token +"/monitoring:v3/monitoring.projects.metricDescriptors.get": get_project_metric_descriptor +"/monitoring:v3/monitoring.projects.metricDescriptors.get/name": name +"/monitoring:v3/monitoring.projects.metricDescriptors.create": create_project_metric_descriptor +"/monitoring:v3/monitoring.projects.metricDescriptors.create/name": name +"/monitoring:v3/monitoring.projects.monitoredResourceDescriptors.list": list_project_monitored_resource_descriptors +"/monitoring:v3/monitoring.projects.monitoredResourceDescriptors.list/filter": filter +"/monitoring:v3/monitoring.projects.monitoredResourceDescriptors.list/name": name +"/monitoring:v3/monitoring.projects.monitoredResourceDescriptors.list/pageToken": page_token +"/monitoring:v3/monitoring.projects.monitoredResourceDescriptors.list/pageSize": page_size +"/monitoring:v3/monitoring.projects.monitoredResourceDescriptors.get": get_project_monitored_resource_descriptor +"/monitoring:v3/monitoring.projects.monitoredResourceDescriptors.get/name": name "/monitoring:v3/Distribution": distribution -"/monitoring:v3/Distribution/sumOfSquaredDeviation": sum_of_squared_deviation "/monitoring:v3/Distribution/range": range "/monitoring:v3/Distribution/count": count "/monitoring:v3/Distribution/mean": mean "/monitoring:v3/Distribution/bucketCounts": bucket_counts "/monitoring:v3/Distribution/bucketCounts/bucket_count": bucket_count "/monitoring:v3/Distribution/bucketOptions": bucket_options +"/monitoring:v3/Distribution/sumOfSquaredDeviation": sum_of_squared_deviation "/monitoring:v3/MonitoredResource": monitored_resource "/monitoring:v3/MonitoredResource/type": type "/monitoring:v3/MonitoredResource/labels": labels @@ -5834,18 +5875,18 @@ "/monitoring:v3/ListMetricDescriptorsResponse/metricDescriptors/metric_descriptor": metric_descriptor "/monitoring:v3/ListMetricDescriptorsResponse/nextPageToken": next_page_token "/monitoring:v3/MonitoredResourceDescriptor": monitored_resource_descriptor -"/monitoring:v3/MonitoredResourceDescriptor/labels": labels -"/monitoring:v3/MonitoredResourceDescriptor/labels/label": label "/monitoring:v3/MonitoredResourceDescriptor/name": name "/monitoring:v3/MonitoredResourceDescriptor/displayName": display_name "/monitoring:v3/MonitoredResourceDescriptor/description": description "/monitoring:v3/MonitoredResourceDescriptor/type": type +"/monitoring:v3/MonitoredResourceDescriptor/labels": labels +"/monitoring:v3/MonitoredResourceDescriptor/labels/label": label "/monitoring:v3/TypedValue": typed_value -"/monitoring:v3/TypedValue/boolValue": bool_value -"/monitoring:v3/TypedValue/stringValue": string_value "/monitoring:v3/TypedValue/doubleValue": double_value "/monitoring:v3/TypedValue/int64Value": int64_value "/monitoring:v3/TypedValue/distributionValue": distribution_value +"/monitoring:v3/TypedValue/boolValue": bool_value +"/monitoring:v3/TypedValue/stringValue": string_value "/monitoring:v3/CollectdPayload": collectd_payload "/monitoring:v3/CollectdPayload/typeInstance": type_instance "/monitoring:v3/CollectdPayload/type": type @@ -5873,36 +5914,36 @@ "/monitoring:v3/TimeInterval/endTime": end_time "/monitoring:v3/TimeInterval/startTime": start_time "/monitoring:v3/Exponential": exponential -"/monitoring:v3/Exponential/numFiniteBuckets": num_finite_buckets "/monitoring:v3/Exponential/growthFactor": growth_factor "/monitoring:v3/Exponential/scale": scale +"/monitoring:v3/Exponential/numFiniteBuckets": num_finite_buckets "/monitoring:v3/Point": point -"/monitoring:v3/Point/value": value "/monitoring:v3/Point/interval": interval +"/monitoring:v3/Point/value": value "/monitoring:v3/Field": field -"/monitoring:v3/Field/defaultValue": default_value -"/monitoring:v3/Field/name": name -"/monitoring:v3/Field/typeUrl": type_url "/monitoring:v3/Field/number": number -"/monitoring:v3/Field/jsonName": json_name "/monitoring:v3/Field/kind": kind +"/monitoring:v3/Field/jsonName": json_name "/monitoring:v3/Field/options": options "/monitoring:v3/Field/options/option": option "/monitoring:v3/Field/oneofIndex": oneof_index "/monitoring:v3/Field/cardinality": cardinality "/monitoring:v3/Field/packed": packed +"/monitoring:v3/Field/defaultValue": default_value +"/monitoring:v3/Field/name": name +"/monitoring:v3/Field/typeUrl": type_url "/monitoring:v3/Metric": metric -"/monitoring:v3/Metric/type": type "/monitoring:v3/Metric/labels": labels "/monitoring:v3/Metric/labels/label": label +"/monitoring:v3/Metric/type": type "/monitoring:v3/LabelDescriptor": label_descriptor "/monitoring:v3/LabelDescriptor/key": key "/monitoring:v3/LabelDescriptor/description": description "/monitoring:v3/LabelDescriptor/valueType": value_type "/monitoring:v3/ListTimeSeriesResponse": list_time_series_response +"/monitoring:v3/ListTimeSeriesResponse/nextPageToken": next_page_token "/monitoring:v3/ListTimeSeriesResponse/timeSeries": time_series "/monitoring:v3/ListTimeSeriesResponse/timeSeries/time_series": time_series -"/monitoring:v3/ListTimeSeriesResponse/nextPageToken": next_page_token "/monitoring:v3/Group": group "/monitoring:v3/Group/filter": filter "/monitoring:v3/Group/name": name @@ -5910,19 +5951,19 @@ "/monitoring:v3/Group/displayName": display_name "/monitoring:v3/Group/isCluster": is_cluster "/monitoring:v3/Type": type -"/monitoring:v3/Type/oneofs": oneofs -"/monitoring:v3/Type/oneofs/oneof": oneof -"/monitoring:v3/Type/syntax": syntax -"/monitoring:v3/Type/sourceContext": source_context -"/monitoring:v3/Type/options": options -"/monitoring:v3/Type/options/option": option "/monitoring:v3/Type/fields": fields "/monitoring:v3/Type/fields/field": field "/monitoring:v3/Type/name": name +"/monitoring:v3/Type/oneofs": oneofs +"/monitoring:v3/Type/oneofs/oneof": oneof +"/monitoring:v3/Type/sourceContext": source_context +"/monitoring:v3/Type/syntax": syntax +"/monitoring:v3/Type/options": options +"/monitoring:v3/Type/options/option": option "/monitoring:v3/BucketOptions": bucket_options +"/monitoring:v3/BucketOptions/exponentialBuckets": exponential_buckets "/monitoring:v3/BucketOptions/linearBuckets": linear_buckets "/monitoring:v3/BucketOptions/explicitBuckets": explicit_buckets -"/monitoring:v3/BucketOptions/exponentialBuckets": exponential_buckets "/monitoring:v3/CollectdValue": collectd_value "/monitoring:v3/CollectdValue/value": value "/monitoring:v3/CollectdValue/dataSourceType": data_source_type @@ -5930,6 +5971,7 @@ "/monitoring:v3/SourceContext": source_context "/monitoring:v3/SourceContext/fileName": file_name "/monitoring:v3/MetricDescriptor": metric_descriptor +"/monitoring:v3/MetricDescriptor/name": name "/monitoring:v3/MetricDescriptor/type": type "/monitoring:v3/MetricDescriptor/valueType": value_type "/monitoring:v3/MetricDescriptor/metricKind": metric_kind @@ -5938,14 +5980,37 @@ "/monitoring:v3/MetricDescriptor/unit": unit "/monitoring:v3/MetricDescriptor/labels": labels "/monitoring:v3/MetricDescriptor/labels/label": label -"/monitoring:v3/MetricDescriptor/name": name "/monitoring:v3/Range": range "/monitoring:v3/Range/min": min "/monitoring:v3/Range/max": max "/monitoring:v3/ListGroupsResponse": list_groups_response -"/monitoring:v3/ListGroupsResponse/nextPageToken": next_page_token "/monitoring:v3/ListGroupsResponse/group": group "/monitoring:v3/ListGroupsResponse/group/group": group +"/monitoring:v3/ListGroupsResponse/nextPageToken": next_page_token +"/monitoring:v3/CreateCollectdTimeSeriesRequest": create_collectd_time_series_request +"/monitoring:v3/CreateCollectdTimeSeriesRequest/resource": resource +"/monitoring:v3/CreateCollectdTimeSeriesRequest/collectdPayloads": collectd_payloads +"/monitoring:v3/CreateCollectdTimeSeriesRequest/collectdPayloads/collectd_payload": collectd_payload +"/monitoring:v3/CreateCollectdTimeSeriesRequest/collectdVersion": collectd_version +"/monitoring:v3/ListGroupMembersResponse": list_group_members_response +"/monitoring:v3/ListGroupMembersResponse/nextPageToken": next_page_token +"/monitoring:v3/ListGroupMembersResponse/totalSize": total_size +"/monitoring:v3/ListGroupMembersResponse/members": members +"/monitoring:v3/ListGroupMembersResponse/members/member": member +"/monitoring:v3/ListMonitoredResourceDescriptorsResponse": list_monitored_resource_descriptors_response +"/monitoring:v3/ListMonitoredResourceDescriptorsResponse/nextPageToken": next_page_token +"/monitoring:v3/ListMonitoredResourceDescriptorsResponse/resourceDescriptors": resource_descriptors +"/monitoring:v3/ListMonitoredResourceDescriptorsResponse/resourceDescriptors/resource_descriptor": resource_descriptor +"/monitoring:v3/TimeSeries": time_series +"/monitoring:v3/TimeSeries/valueType": value_type +"/monitoring:v3/TimeSeries/resource": resource +"/monitoring:v3/TimeSeries/metricKind": metric_kind +"/monitoring:v3/TimeSeries/metric": metric +"/monitoring:v3/TimeSeries/points": points +"/monitoring:v3/TimeSeries/points/point": point +"/monitoring:v3/CreateTimeSeriesRequest": create_time_series_request +"/monitoring:v3/CreateTimeSeriesRequest/timeSeries": time_series +"/monitoring:v3/CreateTimeSeriesRequest/timeSeries/time_series": time_series "/acceleratedmobilepageurl:v1/fields": fields "/acceleratedmobilepageurl:v1/key": key "/acceleratedmobilepageurl:v1/quotaUser": quota_user @@ -5960,9 +6025,9 @@ "/acceleratedmobilepageurl:v1/AmpUrl/originalUrl": original_url "/acceleratedmobilepageurl:v1/AmpUrl/ampUrl": amp_url "/acceleratedmobilepageurl:v1/AmpUrlError": amp_url_error -"/acceleratedmobilepageurl:v1/AmpUrlError/errorMessage": error_message "/acceleratedmobilepageurl:v1/AmpUrlError/errorCode": error_code "/acceleratedmobilepageurl:v1/AmpUrlError/originalUrl": original_url +"/acceleratedmobilepageurl:v1/AmpUrlError/errorMessage": error_message "/acceleratedmobilepageurl:v1/BatchGetAmpUrlsRequest": batch_get_amp_urls_request "/acceleratedmobilepageurl:v1/BatchGetAmpUrlsRequest/urls": urls "/acceleratedmobilepageurl:v1/BatchGetAmpUrlsRequest/urls/url": url @@ -6603,41 +6668,9 @@ "/adexchangebuyer:v1.4/UpdatePrivateAuctionProposalRequest/note": note "/adexchangebuyer:v1.4/UpdatePrivateAuctionProposalRequest/proposalRevisionNumber": proposal_revision_number "/adexchangebuyer:v1.4/UpdatePrivateAuctionProposalRequest/updateAction": update_action +"/adexchangebuyer2:v2beta1/key": key "/adexchangebuyer2:v2beta1/quotaUser": quota_user "/adexchangebuyer2:v2beta1/fields": fields -"/adexchangebuyer2:v2beta1/key": key -"/adexchangebuyer2:v2beta1/adexchangebuyer2.accounts.creatives.get": get_account_creative -"/adexchangebuyer2:v2beta1/adexchangebuyer2.accounts.creatives.get/accountId": account_id -"/adexchangebuyer2:v2beta1/adexchangebuyer2.accounts.creatives.get/creativeId": creative_id -"/adexchangebuyer2:v2beta1/adexchangebuyer2.accounts.creatives.watch": watch_creative -"/adexchangebuyer2:v2beta1/adexchangebuyer2.accounts.creatives.watch/accountId": account_id -"/adexchangebuyer2:v2beta1/adexchangebuyer2.accounts.creatives.watch/creativeId": creative_id -"/adexchangebuyer2:v2beta1/adexchangebuyer2.accounts.creatives.update": update_account_creative -"/adexchangebuyer2:v2beta1/adexchangebuyer2.accounts.creatives.update/accountId": account_id -"/adexchangebuyer2:v2beta1/adexchangebuyer2.accounts.creatives.update/creativeId": creative_id -"/adexchangebuyer2:v2beta1/adexchangebuyer2.accounts.creatives.list": list_account_creatives -"/adexchangebuyer2:v2beta1/adexchangebuyer2.accounts.creatives.list/pageToken": page_token -"/adexchangebuyer2:v2beta1/adexchangebuyer2.accounts.creatives.list/accountId": account_id -"/adexchangebuyer2:v2beta1/adexchangebuyer2.accounts.creatives.list/pageSize": page_size -"/adexchangebuyer2:v2beta1/adexchangebuyer2.accounts.creatives.list/query": query -"/adexchangebuyer2:v2beta1/adexchangebuyer2.accounts.creatives.create": create_account_creative -"/adexchangebuyer2:v2beta1/adexchangebuyer2.accounts.creatives.create/duplicateIdMode": duplicate_id_mode -"/adexchangebuyer2:v2beta1/adexchangebuyer2.accounts.creatives.create/accountId": account_id -"/adexchangebuyer2:v2beta1/adexchangebuyer2.accounts.creatives.stopWatching": stop_watching_creative -"/adexchangebuyer2:v2beta1/adexchangebuyer2.accounts.creatives.stopWatching/accountId": account_id -"/adexchangebuyer2:v2beta1/adexchangebuyer2.accounts.creatives.stopWatching/creativeId": creative_id -"/adexchangebuyer2:v2beta1/adexchangebuyer2.accounts.creatives.dealAssociations.add": add_deal_association -"/adexchangebuyer2:v2beta1/adexchangebuyer2.accounts.creatives.dealAssociations.add/accountId": account_id -"/adexchangebuyer2:v2beta1/adexchangebuyer2.accounts.creatives.dealAssociations.add/creativeId": creative_id -"/adexchangebuyer2:v2beta1/adexchangebuyer2.accounts.creatives.dealAssociations.remove": remove_deal_association -"/adexchangebuyer2:v2beta1/adexchangebuyer2.accounts.creatives.dealAssociations.remove/creativeId": creative_id -"/adexchangebuyer2:v2beta1/adexchangebuyer2.accounts.creatives.dealAssociations.remove/accountId": account_id -"/adexchangebuyer2:v2beta1/adexchangebuyer2.accounts.creatives.dealAssociations.list": list_account_creative_deal_associations -"/adexchangebuyer2:v2beta1/adexchangebuyer2.accounts.creatives.dealAssociations.list/pageToken": page_token -"/adexchangebuyer2:v2beta1/adexchangebuyer2.accounts.creatives.dealAssociations.list/accountId": account_id -"/adexchangebuyer2:v2beta1/adexchangebuyer2.accounts.creatives.dealAssociations.list/pageSize": page_size -"/adexchangebuyer2:v2beta1/adexchangebuyer2.accounts.creatives.dealAssociations.list/query": query -"/adexchangebuyer2:v2beta1/adexchangebuyer2.accounts.creatives.dealAssociations.list/creativeId": creative_id "/adexchangebuyer2:v2beta1/adexchangebuyer2.accounts.clients.get": get_account_client "/adexchangebuyer2:v2beta1/adexchangebuyer2.accounts.clients.get/accountId": account_id "/adexchangebuyer2:v2beta1/adexchangebuyer2.accounts.clients.get/clientAccountId": client_account_id @@ -6650,6 +6683,18 @@ "/adexchangebuyer2:v2beta1/adexchangebuyer2.accounts.clients.update/clientAccountId": client_account_id "/adexchangebuyer2:v2beta1/adexchangebuyer2.accounts.clients.create": create_account_client "/adexchangebuyer2:v2beta1/adexchangebuyer2.accounts.clients.create/accountId": account_id +"/adexchangebuyer2:v2beta1/adexchangebuyer2.accounts.clients.invitations.get": get_account_client_invitation +"/adexchangebuyer2:v2beta1/adexchangebuyer2.accounts.clients.invitations.get/invitationId": invitation_id +"/adexchangebuyer2:v2beta1/adexchangebuyer2.accounts.clients.invitations.get/accountId": account_id +"/adexchangebuyer2:v2beta1/adexchangebuyer2.accounts.clients.invitations.get/clientAccountId": client_account_id +"/adexchangebuyer2:v2beta1/adexchangebuyer2.accounts.clients.invitations.list": list_account_client_invitations +"/adexchangebuyer2:v2beta1/adexchangebuyer2.accounts.clients.invitations.list/pageToken": page_token +"/adexchangebuyer2:v2beta1/adexchangebuyer2.accounts.clients.invitations.list/accountId": account_id +"/adexchangebuyer2:v2beta1/adexchangebuyer2.accounts.clients.invitations.list/pageSize": page_size +"/adexchangebuyer2:v2beta1/adexchangebuyer2.accounts.clients.invitations.list/clientAccountId": client_account_id +"/adexchangebuyer2:v2beta1/adexchangebuyer2.accounts.clients.invitations.create": create_account_client_invitation +"/adexchangebuyer2:v2beta1/adexchangebuyer2.accounts.clients.invitations.create/clientAccountId": client_account_id +"/adexchangebuyer2:v2beta1/adexchangebuyer2.accounts.clients.invitations.create/accountId": account_id "/adexchangebuyer2:v2beta1/adexchangebuyer2.accounts.clients.users.list": list_account_client_users "/adexchangebuyer2:v2beta1/adexchangebuyer2.accounts.clients.users.list/pageToken": page_token "/adexchangebuyer2:v2beta1/adexchangebuyer2.accounts.clients.users.list/accountId": account_id @@ -6663,151 +6708,38 @@ "/adexchangebuyer2:v2beta1/adexchangebuyer2.accounts.clients.users.update/userId": user_id "/adexchangebuyer2:v2beta1/adexchangebuyer2.accounts.clients.users.update/accountId": account_id "/adexchangebuyer2:v2beta1/adexchangebuyer2.accounts.clients.users.update/clientAccountId": client_account_id -"/adexchangebuyer2:v2beta1/adexchangebuyer2.accounts.clients.invitations.create": create_account_client_invitation -"/adexchangebuyer2:v2beta1/adexchangebuyer2.accounts.clients.invitations.create/accountId": account_id -"/adexchangebuyer2:v2beta1/adexchangebuyer2.accounts.clients.invitations.create/clientAccountId": client_account_id -"/adexchangebuyer2:v2beta1/adexchangebuyer2.accounts.clients.invitations.get": get_account_client_invitation -"/adexchangebuyer2:v2beta1/adexchangebuyer2.accounts.clients.invitations.get/accountId": account_id -"/adexchangebuyer2:v2beta1/adexchangebuyer2.accounts.clients.invitations.get/clientAccountId": client_account_id -"/adexchangebuyer2:v2beta1/adexchangebuyer2.accounts.clients.invitations.get/invitationId": invitation_id -"/adexchangebuyer2:v2beta1/adexchangebuyer2.accounts.clients.invitations.list": list_account_client_invitations -"/adexchangebuyer2:v2beta1/adexchangebuyer2.accounts.clients.invitations.list/clientAccountId": client_account_id -"/adexchangebuyer2:v2beta1/adexchangebuyer2.accounts.clients.invitations.list/pageToken": page_token -"/adexchangebuyer2:v2beta1/adexchangebuyer2.accounts.clients.invitations.list/accountId": account_id -"/adexchangebuyer2:v2beta1/adexchangebuyer2.accounts.clients.invitations.list/pageSize": page_size -"/adexchangebuyer2:v2beta1/CreativeDealAssociation": creative_deal_association -"/adexchangebuyer2:v2beta1/CreativeDealAssociation/dealsId": deals_id -"/adexchangebuyer2:v2beta1/CreativeDealAssociation/accountId": account_id -"/adexchangebuyer2:v2beta1/CreativeDealAssociation/creativeId": creative_id -"/adexchangebuyer2:v2beta1/Creative": creative -"/adexchangebuyer2:v2beta1/Creative/accountId": account_id -"/adexchangebuyer2:v2beta1/Creative/native": native -"/adexchangebuyer2:v2beta1/Creative/servingRestrictions": serving_restrictions -"/adexchangebuyer2:v2beta1/Creative/servingRestrictions/serving_restriction": serving_restriction -"/adexchangebuyer2:v2beta1/Creative/video": video -"/adexchangebuyer2:v2beta1/Creative/agencyId": agency_id -"/adexchangebuyer2:v2beta1/Creative/clickThroughUrls": click_through_urls -"/adexchangebuyer2:v2beta1/Creative/clickThroughUrls/click_through_url": click_through_url -"/adexchangebuyer2:v2beta1/Creative/adChoicesDestinationUrl": ad_choices_destination_url -"/adexchangebuyer2:v2beta1/Creative/detectedSensitiveCategories": detected_sensitive_categories -"/adexchangebuyer2:v2beta1/Creative/detectedSensitiveCategories/detected_sensitive_category": detected_sensitive_category -"/adexchangebuyer2:v2beta1/Creative/restrictedCategories": restricted_categories -"/adexchangebuyer2:v2beta1/Creative/restrictedCategories/restricted_category": restricted_category -"/adexchangebuyer2:v2beta1/Creative/corrections": corrections -"/adexchangebuyer2:v2beta1/Creative/corrections/correction": correction -"/adexchangebuyer2:v2beta1/Creative/version": version -"/adexchangebuyer2:v2beta1/Creative/vendorIds": vendor_ids -"/adexchangebuyer2:v2beta1/Creative/vendorIds/vendor_id": vendor_id -"/adexchangebuyer2:v2beta1/Creative/impressionTrackingUrls": impression_tracking_urls -"/adexchangebuyer2:v2beta1/Creative/impressionTrackingUrls/impression_tracking_url": impression_tracking_url -"/adexchangebuyer2:v2beta1/Creative/html": html -"/adexchangebuyer2:v2beta1/Creative/detectedProductCategories": detected_product_categories -"/adexchangebuyer2:v2beta1/Creative/detectedProductCategories/detected_product_category": detected_product_category -"/adexchangebuyer2:v2beta1/Creative/dealsStatus": deals_status -"/adexchangebuyer2:v2beta1/Creative/openAuctionStatus": open_auction_status -"/adexchangebuyer2:v2beta1/Creative/advertiserName": advertiser_name -"/adexchangebuyer2:v2beta1/Creative/detectedAdvertiserIds": detected_advertiser_ids -"/adexchangebuyer2:v2beta1/Creative/detectedAdvertiserIds/detected_advertiser_id": detected_advertiser_id -"/adexchangebuyer2:v2beta1/Creative/detectedDomains": detected_domains -"/adexchangebuyer2:v2beta1/Creative/detectedDomains/detected_domain": detected_domain -"/adexchangebuyer2:v2beta1/Creative/filteringStats": filtering_stats -"/adexchangebuyer2:v2beta1/Creative/attributes": attributes -"/adexchangebuyer2:v2beta1/Creative/attributes/attribute": attribute -"/adexchangebuyer2:v2beta1/Creative/apiUpdateTime": api_update_time -"/adexchangebuyer2:v2beta1/Creative/detectedLanguages": detected_languages -"/adexchangebuyer2:v2beta1/Creative/detectedLanguages/detected_language": detected_language -"/adexchangebuyer2:v2beta1/Creative/creativeId": creative_id -"/adexchangebuyer2:v2beta1/FilteringStats": filtering_stats -"/adexchangebuyer2:v2beta1/FilteringStats/reasons": reasons -"/adexchangebuyer2:v2beta1/FilteringStats/reasons/reason": reason -"/adexchangebuyer2:v2beta1/FilteringStats/date": date -"/adexchangebuyer2:v2beta1/RemoveDealAssociationRequest": remove_deal_association_request -"/adexchangebuyer2:v2beta1/RemoveDealAssociationRequest/association": association -"/adexchangebuyer2:v2beta1/Client": client -"/adexchangebuyer2:v2beta1/Client/visibleToSeller": visible_to_seller -"/adexchangebuyer2:v2beta1/Client/entityId": entity_id -"/adexchangebuyer2:v2beta1/Client/clientAccountId": client_account_id -"/adexchangebuyer2:v2beta1/Client/entityName": entity_name -"/adexchangebuyer2:v2beta1/Client/status": status -"/adexchangebuyer2:v2beta1/Client/entityType": entity_type -"/adexchangebuyer2:v2beta1/Client/clientName": client_name -"/adexchangebuyer2:v2beta1/Client/role": role -"/adexchangebuyer2:v2beta1/Correction": correction -"/adexchangebuyer2:v2beta1/Correction/details": details -"/adexchangebuyer2:v2beta1/Correction/details/detail": detail -"/adexchangebuyer2:v2beta1/Correction/type": type -"/adexchangebuyer2:v2beta1/Correction/contexts": contexts -"/adexchangebuyer2:v2beta1/Correction/contexts/context": context -"/adexchangebuyer2:v2beta1/AddDealAssociationRequest": add_deal_association_request -"/adexchangebuyer2:v2beta1/AddDealAssociationRequest/association": association -"/adexchangebuyer2:v2beta1/ListDealAssociationsResponse": list_deal_associations_response -"/adexchangebuyer2:v2beta1/ListDealAssociationsResponse/nextPageToken": next_page_token -"/adexchangebuyer2:v2beta1/ListDealAssociationsResponse/associations": associations -"/adexchangebuyer2:v2beta1/ListDealAssociationsResponse/associations/association": association -"/adexchangebuyer2:v2beta1/Disapproval": disapproval -"/adexchangebuyer2:v2beta1/Disapproval/details": details -"/adexchangebuyer2:v2beta1/Disapproval/details/detail": detail -"/adexchangebuyer2:v2beta1/Disapproval/reason": reason -"/adexchangebuyer2:v2beta1/StopWatchingCreativeRequest": stop_watching_creative_request -"/adexchangebuyer2:v2beta1/ServingRestriction": serving_restriction -"/adexchangebuyer2:v2beta1/ServingRestriction/disapprovalReasons": disapproval_reasons -"/adexchangebuyer2:v2beta1/ServingRestriction/disapprovalReasons/disapproval_reason": disapproval_reason -"/adexchangebuyer2:v2beta1/ServingRestriction/contexts": contexts -"/adexchangebuyer2:v2beta1/ServingRestriction/contexts/context": context -"/adexchangebuyer2:v2beta1/ServingRestriction/status": status -"/adexchangebuyer2:v2beta1/Date": date -"/adexchangebuyer2:v2beta1/Date/year": year -"/adexchangebuyer2:v2beta1/Date/day": day -"/adexchangebuyer2:v2beta1/Date/month": month -"/adexchangebuyer2:v2beta1/Empty": empty -"/adexchangebuyer2:v2beta1/WatchCreativeRequest": watch_creative_request -"/adexchangebuyer2:v2beta1/WatchCreativeRequest/topic": topic -"/adexchangebuyer2:v2beta1/AppContext": app_context -"/adexchangebuyer2:v2beta1/AppContext/appTypes": app_types -"/adexchangebuyer2:v2beta1/AppContext/appTypes/app_type": app_type -"/adexchangebuyer2:v2beta1/ListClientsResponse": list_clients_response -"/adexchangebuyer2:v2beta1/ListClientsResponse/nextPageToken": next_page_token -"/adexchangebuyer2:v2beta1/ListClientsResponse/clients": clients -"/adexchangebuyer2:v2beta1/ListClientsResponse/clients/client": client -"/adexchangebuyer2:v2beta1/NativeContent": native_content -"/adexchangebuyer2:v2beta1/NativeContent/body": body -"/adexchangebuyer2:v2beta1/NativeContent/starRating": star_rating -"/adexchangebuyer2:v2beta1/NativeContent/videoUrl": video_url -"/adexchangebuyer2:v2beta1/NativeContent/clickLinkUrl": click_link_url -"/adexchangebuyer2:v2beta1/NativeContent/logo": logo -"/adexchangebuyer2:v2beta1/NativeContent/priceDisplayText": price_display_text -"/adexchangebuyer2:v2beta1/NativeContent/clickTrackingUrl": click_tracking_url -"/adexchangebuyer2:v2beta1/NativeContent/image": image -"/adexchangebuyer2:v2beta1/NativeContent/advertiserName": advertiser_name -"/adexchangebuyer2:v2beta1/NativeContent/storeUrl": store_url -"/adexchangebuyer2:v2beta1/NativeContent/headline": headline -"/adexchangebuyer2:v2beta1/NativeContent/appIcon": app_icon -"/adexchangebuyer2:v2beta1/NativeContent/callToAction": call_to_action -"/adexchangebuyer2:v2beta1/SecurityContext": security_context -"/adexchangebuyer2:v2beta1/SecurityContext/securities": securities -"/adexchangebuyer2:v2beta1/SecurityContext/securities/security": security -"/adexchangebuyer2:v2beta1/ListCreativesResponse": list_creatives_response -"/adexchangebuyer2:v2beta1/ListCreativesResponse/creatives": creatives -"/adexchangebuyer2:v2beta1/ListCreativesResponse/creatives/creative": creative -"/adexchangebuyer2:v2beta1/ListCreativesResponse/nextPageToken": next_page_token -"/adexchangebuyer2:v2beta1/HtmlContent": html_content -"/adexchangebuyer2:v2beta1/HtmlContent/height": height -"/adexchangebuyer2:v2beta1/HtmlContent/width": width -"/adexchangebuyer2:v2beta1/HtmlContent/snippet": snippet -"/adexchangebuyer2:v2beta1/ServingContext": serving_context -"/adexchangebuyer2:v2beta1/ServingContext/appType": app_type -"/adexchangebuyer2:v2beta1/ServingContext/securityType": security_type -"/adexchangebuyer2:v2beta1/ServingContext/platform": platform -"/adexchangebuyer2:v2beta1/ServingContext/location": location -"/adexchangebuyer2:v2beta1/ServingContext/auctionType": auction_type -"/adexchangebuyer2:v2beta1/ServingContext/all": all -"/adexchangebuyer2:v2beta1/Image": image -"/adexchangebuyer2:v2beta1/Image/height": height -"/adexchangebuyer2:v2beta1/Image/width": width -"/adexchangebuyer2:v2beta1/Image/url": url -"/adexchangebuyer2:v2beta1/Reason": reason -"/adexchangebuyer2:v2beta1/Reason/status": status -"/adexchangebuyer2:v2beta1/Reason/count": count +"/adexchangebuyer2:v2beta1/adexchangebuyer2.accounts.creatives.list": list_account_creatives +"/adexchangebuyer2:v2beta1/adexchangebuyer2.accounts.creatives.list/pageToken": page_token +"/adexchangebuyer2:v2beta1/adexchangebuyer2.accounts.creatives.list/accountId": account_id +"/adexchangebuyer2:v2beta1/adexchangebuyer2.accounts.creatives.list/pageSize": page_size +"/adexchangebuyer2:v2beta1/adexchangebuyer2.accounts.creatives.list/query": query +"/adexchangebuyer2:v2beta1/adexchangebuyer2.accounts.creatives.create": create_account_creative +"/adexchangebuyer2:v2beta1/adexchangebuyer2.accounts.creatives.create/accountId": account_id +"/adexchangebuyer2:v2beta1/adexchangebuyer2.accounts.creatives.create/duplicateIdMode": duplicate_id_mode +"/adexchangebuyer2:v2beta1/adexchangebuyer2.accounts.creatives.stopWatching": stop_watching_creative +"/adexchangebuyer2:v2beta1/adexchangebuyer2.accounts.creatives.stopWatching/accountId": account_id +"/adexchangebuyer2:v2beta1/adexchangebuyer2.accounts.creatives.stopWatching/creativeId": creative_id +"/adexchangebuyer2:v2beta1/adexchangebuyer2.accounts.creatives.get": get_account_creative +"/adexchangebuyer2:v2beta1/adexchangebuyer2.accounts.creatives.get/creativeId": creative_id +"/adexchangebuyer2:v2beta1/adexchangebuyer2.accounts.creatives.get/accountId": account_id +"/adexchangebuyer2:v2beta1/adexchangebuyer2.accounts.creatives.watch": watch_creative +"/adexchangebuyer2:v2beta1/adexchangebuyer2.accounts.creatives.watch/creativeId": creative_id +"/adexchangebuyer2:v2beta1/adexchangebuyer2.accounts.creatives.watch/accountId": account_id +"/adexchangebuyer2:v2beta1/adexchangebuyer2.accounts.creatives.update": update_account_creative +"/adexchangebuyer2:v2beta1/adexchangebuyer2.accounts.creatives.update/accountId": account_id +"/adexchangebuyer2:v2beta1/adexchangebuyer2.accounts.creatives.update/creativeId": creative_id +"/adexchangebuyer2:v2beta1/adexchangebuyer2.accounts.creatives.dealAssociations.list": list_account_creative_deal_associations +"/adexchangebuyer2:v2beta1/adexchangebuyer2.accounts.creatives.dealAssociations.list/accountId": account_id +"/adexchangebuyer2:v2beta1/adexchangebuyer2.accounts.creatives.dealAssociations.list/pageSize": page_size +"/adexchangebuyer2:v2beta1/adexchangebuyer2.accounts.creatives.dealAssociations.list/query": query +"/adexchangebuyer2:v2beta1/adexchangebuyer2.accounts.creatives.dealAssociations.list/creativeId": creative_id +"/adexchangebuyer2:v2beta1/adexchangebuyer2.accounts.creatives.dealAssociations.list/pageToken": page_token +"/adexchangebuyer2:v2beta1/adexchangebuyer2.accounts.creatives.dealAssociations.add": add_deal_association +"/adexchangebuyer2:v2beta1/adexchangebuyer2.accounts.creatives.dealAssociations.add/accountId": account_id +"/adexchangebuyer2:v2beta1/adexchangebuyer2.accounts.creatives.dealAssociations.add/creativeId": creative_id +"/adexchangebuyer2:v2beta1/adexchangebuyer2.accounts.creatives.dealAssociations.remove": remove_deal_association +"/adexchangebuyer2:v2beta1/adexchangebuyer2.accounts.creatives.dealAssociations.remove/accountId": account_id +"/adexchangebuyer2:v2beta1/adexchangebuyer2.accounts.creatives.dealAssociations.remove/creativeId": creative_id "/adexchangebuyer2:v2beta1/VideoContent": video_content "/adexchangebuyer2:v2beta1/VideoContent/videoUrl": video_url "/adexchangebuyer2:v2beta1/ClientUserInvitation": client_user_invitation @@ -6832,10 +6764,143 @@ "/adexchangebuyer2:v2beta1/PlatformContext/platforms": platforms "/adexchangebuyer2:v2beta1/PlatformContext/platforms/platform": platform "/adexchangebuyer2:v2beta1/ClientUser": client_user -"/adexchangebuyer2:v2beta1/ClientUser/clientAccountId": client_account_id "/adexchangebuyer2:v2beta1/ClientUser/status": status "/adexchangebuyer2:v2beta1/ClientUser/userId": user_id "/adexchangebuyer2:v2beta1/ClientUser/email": email +"/adexchangebuyer2:v2beta1/ClientUser/clientAccountId": client_account_id +"/adexchangebuyer2:v2beta1/CreativeDealAssociation": creative_deal_association +"/adexchangebuyer2:v2beta1/CreativeDealAssociation/creativeId": creative_id +"/adexchangebuyer2:v2beta1/CreativeDealAssociation/dealsId": deals_id +"/adexchangebuyer2:v2beta1/CreativeDealAssociation/accountId": account_id +"/adexchangebuyer2:v2beta1/FilteringStats": filtering_stats +"/adexchangebuyer2:v2beta1/FilteringStats/reasons": reasons +"/adexchangebuyer2:v2beta1/FilteringStats/reasons/reason": reason +"/adexchangebuyer2:v2beta1/FilteringStats/date": date +"/adexchangebuyer2:v2beta1/Creative": creative +"/adexchangebuyer2:v2beta1/Creative/clickThroughUrls": click_through_urls +"/adexchangebuyer2:v2beta1/Creative/clickThroughUrls/click_through_url": click_through_url +"/adexchangebuyer2:v2beta1/Creative/detectedSensitiveCategories": detected_sensitive_categories +"/adexchangebuyer2:v2beta1/Creative/detectedSensitiveCategories/detected_sensitive_category": detected_sensitive_category +"/adexchangebuyer2:v2beta1/Creative/adChoicesDestinationUrl": ad_choices_destination_url +"/adexchangebuyer2:v2beta1/Creative/restrictedCategories": restricted_categories +"/adexchangebuyer2:v2beta1/Creative/restrictedCategories/restricted_category": restricted_category +"/adexchangebuyer2:v2beta1/Creative/corrections": corrections +"/adexchangebuyer2:v2beta1/Creative/corrections/correction": correction +"/adexchangebuyer2:v2beta1/Creative/version": version +"/adexchangebuyer2:v2beta1/Creative/vendorIds": vendor_ids +"/adexchangebuyer2:v2beta1/Creative/vendorIds/vendor_id": vendor_id +"/adexchangebuyer2:v2beta1/Creative/impressionTrackingUrls": impression_tracking_urls +"/adexchangebuyer2:v2beta1/Creative/impressionTrackingUrls/impression_tracking_url": impression_tracking_url +"/adexchangebuyer2:v2beta1/Creative/html": html +"/adexchangebuyer2:v2beta1/Creative/dealsStatus": deals_status +"/adexchangebuyer2:v2beta1/Creative/detectedProductCategories": detected_product_categories +"/adexchangebuyer2:v2beta1/Creative/detectedProductCategories/detected_product_category": detected_product_category +"/adexchangebuyer2:v2beta1/Creative/openAuctionStatus": open_auction_status +"/adexchangebuyer2:v2beta1/Creative/advertiserName": advertiser_name +"/adexchangebuyer2:v2beta1/Creative/detectedAdvertiserIds": detected_advertiser_ids +"/adexchangebuyer2:v2beta1/Creative/detectedAdvertiserIds/detected_advertiser_id": detected_advertiser_id +"/adexchangebuyer2:v2beta1/Creative/detectedDomains": detected_domains +"/adexchangebuyer2:v2beta1/Creative/detectedDomains/detected_domain": detected_domain +"/adexchangebuyer2:v2beta1/Creative/filteringStats": filtering_stats +"/adexchangebuyer2:v2beta1/Creative/attributes": attributes +"/adexchangebuyer2:v2beta1/Creative/attributes/attribute": attribute +"/adexchangebuyer2:v2beta1/Creative/apiUpdateTime": api_update_time +"/adexchangebuyer2:v2beta1/Creative/detectedLanguages": detected_languages +"/adexchangebuyer2:v2beta1/Creative/detectedLanguages/detected_language": detected_language +"/adexchangebuyer2:v2beta1/Creative/creativeId": creative_id +"/adexchangebuyer2:v2beta1/Creative/accountId": account_id +"/adexchangebuyer2:v2beta1/Creative/native": native +"/adexchangebuyer2:v2beta1/Creative/servingRestrictions": serving_restrictions +"/adexchangebuyer2:v2beta1/Creative/servingRestrictions/serving_restriction": serving_restriction +"/adexchangebuyer2:v2beta1/Creative/video": video +"/adexchangebuyer2:v2beta1/Creative/agencyId": agency_id +"/adexchangebuyer2:v2beta1/RemoveDealAssociationRequest": remove_deal_association_request +"/adexchangebuyer2:v2beta1/RemoveDealAssociationRequest/association": association +"/adexchangebuyer2:v2beta1/Client": client +"/adexchangebuyer2:v2beta1/Client/entityType": entity_type +"/adexchangebuyer2:v2beta1/Client/clientName": client_name +"/adexchangebuyer2:v2beta1/Client/role": role +"/adexchangebuyer2:v2beta1/Client/visibleToSeller": visible_to_seller +"/adexchangebuyer2:v2beta1/Client/entityId": entity_id +"/adexchangebuyer2:v2beta1/Client/clientAccountId": client_account_id +"/adexchangebuyer2:v2beta1/Client/entityName": entity_name +"/adexchangebuyer2:v2beta1/Client/status": status +"/adexchangebuyer2:v2beta1/Correction": correction +"/adexchangebuyer2:v2beta1/Correction/type": type +"/adexchangebuyer2:v2beta1/Correction/contexts": contexts +"/adexchangebuyer2:v2beta1/Correction/contexts/context": context +"/adexchangebuyer2:v2beta1/Correction/details": details +"/adexchangebuyer2:v2beta1/Correction/details/detail": detail +"/adexchangebuyer2:v2beta1/ListDealAssociationsResponse": list_deal_associations_response +"/adexchangebuyer2:v2beta1/ListDealAssociationsResponse/associations": associations +"/adexchangebuyer2:v2beta1/ListDealAssociationsResponse/associations/association": association +"/adexchangebuyer2:v2beta1/ListDealAssociationsResponse/nextPageToken": next_page_token +"/adexchangebuyer2:v2beta1/AddDealAssociationRequest": add_deal_association_request +"/adexchangebuyer2:v2beta1/AddDealAssociationRequest/association": association +"/adexchangebuyer2:v2beta1/Disapproval": disapproval +"/adexchangebuyer2:v2beta1/Disapproval/details": details +"/adexchangebuyer2:v2beta1/Disapproval/details/detail": detail +"/adexchangebuyer2:v2beta1/Disapproval/reason": reason +"/adexchangebuyer2:v2beta1/StopWatchingCreativeRequest": stop_watching_creative_request +"/adexchangebuyer2:v2beta1/ServingRestriction": serving_restriction +"/adexchangebuyer2:v2beta1/ServingRestriction/status": status +"/adexchangebuyer2:v2beta1/ServingRestriction/disapprovalReasons": disapproval_reasons +"/adexchangebuyer2:v2beta1/ServingRestriction/disapprovalReasons/disapproval_reason": disapproval_reason +"/adexchangebuyer2:v2beta1/ServingRestriction/contexts": contexts +"/adexchangebuyer2:v2beta1/ServingRestriction/contexts/context": context +"/adexchangebuyer2:v2beta1/Date": date +"/adexchangebuyer2:v2beta1/Date/year": year +"/adexchangebuyer2:v2beta1/Date/day": day +"/adexchangebuyer2:v2beta1/Date/month": month +"/adexchangebuyer2:v2beta1/Empty": empty +"/adexchangebuyer2:v2beta1/WatchCreativeRequest": watch_creative_request +"/adexchangebuyer2:v2beta1/WatchCreativeRequest/topic": topic +"/adexchangebuyer2:v2beta1/AppContext": app_context +"/adexchangebuyer2:v2beta1/AppContext/appTypes": app_types +"/adexchangebuyer2:v2beta1/AppContext/appTypes/app_type": app_type +"/adexchangebuyer2:v2beta1/NativeContent": native_content +"/adexchangebuyer2:v2beta1/NativeContent/image": image +"/adexchangebuyer2:v2beta1/NativeContent/clickTrackingUrl": click_tracking_url +"/adexchangebuyer2:v2beta1/NativeContent/advertiserName": advertiser_name +"/adexchangebuyer2:v2beta1/NativeContent/storeUrl": store_url +"/adexchangebuyer2:v2beta1/NativeContent/headline": headline +"/adexchangebuyer2:v2beta1/NativeContent/appIcon": app_icon +"/adexchangebuyer2:v2beta1/NativeContent/callToAction": call_to_action +"/adexchangebuyer2:v2beta1/NativeContent/body": body +"/adexchangebuyer2:v2beta1/NativeContent/starRating": star_rating +"/adexchangebuyer2:v2beta1/NativeContent/videoUrl": video_url +"/adexchangebuyer2:v2beta1/NativeContent/clickLinkUrl": click_link_url +"/adexchangebuyer2:v2beta1/NativeContent/logo": logo +"/adexchangebuyer2:v2beta1/NativeContent/priceDisplayText": price_display_text +"/adexchangebuyer2:v2beta1/ListClientsResponse": list_clients_response +"/adexchangebuyer2:v2beta1/ListClientsResponse/nextPageToken": next_page_token +"/adexchangebuyer2:v2beta1/ListClientsResponse/clients": clients +"/adexchangebuyer2:v2beta1/ListClientsResponse/clients/client": client +"/adexchangebuyer2:v2beta1/SecurityContext": security_context +"/adexchangebuyer2:v2beta1/SecurityContext/securities": securities +"/adexchangebuyer2:v2beta1/SecurityContext/securities/security": security +"/adexchangebuyer2:v2beta1/HtmlContent": html_content +"/adexchangebuyer2:v2beta1/HtmlContent/height": height +"/adexchangebuyer2:v2beta1/HtmlContent/width": width +"/adexchangebuyer2:v2beta1/HtmlContent/snippet": snippet +"/adexchangebuyer2:v2beta1/ListCreativesResponse": list_creatives_response +"/adexchangebuyer2:v2beta1/ListCreativesResponse/creatives": creatives +"/adexchangebuyer2:v2beta1/ListCreativesResponse/creatives/creative": creative +"/adexchangebuyer2:v2beta1/ListCreativesResponse/nextPageToken": next_page_token +"/adexchangebuyer2:v2beta1/ServingContext": serving_context +"/adexchangebuyer2:v2beta1/ServingContext/location": location +"/adexchangebuyer2:v2beta1/ServingContext/auctionType": auction_type +"/adexchangebuyer2:v2beta1/ServingContext/all": all +"/adexchangebuyer2:v2beta1/ServingContext/appType": app_type +"/adexchangebuyer2:v2beta1/ServingContext/securityType": security_type +"/adexchangebuyer2:v2beta1/ServingContext/platform": platform +"/adexchangebuyer2:v2beta1/Image": image +"/adexchangebuyer2:v2beta1/Image/width": width +"/adexchangebuyer2:v2beta1/Image/url": url +"/adexchangebuyer2:v2beta1/Image/height": height +"/adexchangebuyer2:v2beta1/Reason": reason +"/adexchangebuyer2:v2beta1/Reason/status": status +"/adexchangebuyer2:v2beta1/Reason/count": count "/adexchangeseller:v2.0/fields": fields "/adexchangeseller:v2.0/key": key "/adexchangeseller:v2.0/quotaUser": quota_user @@ -9491,159 +9556,52 @@ "/analytics:v3/Webproperty/starred": starred "/analytics:v3/Webproperty/updated": updated "/analytics:v3/Webproperty/websiteUrl": website_url -"/analyticsreporting:v4/fields": fields "/analyticsreporting:v4/key": key "/analyticsreporting:v4/quotaUser": quota_user -"/analyticsreporting:v4/ColumnHeader": column_header -"/analyticsreporting:v4/ColumnHeader/dimensions": dimensions -"/analyticsreporting:v4/ColumnHeader/dimensions/dimension": dimension -"/analyticsreporting:v4/ColumnHeader/metricHeader": metric_header -"/analyticsreporting:v4/SegmentFilterClause": segment_filter_clause -"/analyticsreporting:v4/SegmentFilterClause/dimensionFilter": dimension_filter -"/analyticsreporting:v4/SegmentFilterClause/metricFilter": metric_filter -"/analyticsreporting:v4/SegmentFilterClause/not": not -"/analyticsreporting:v4/ReportRow": report_row -"/analyticsreporting:v4/ReportRow/metrics": metrics -"/analyticsreporting:v4/ReportRow/metrics/metric": metric -"/analyticsreporting:v4/ReportRow/dimensions": dimensions -"/analyticsreporting:v4/ReportRow/dimensions/dimension": dimension -"/analyticsreporting:v4/Cohort": cohort -"/analyticsreporting:v4/Cohort/type": type -"/analyticsreporting:v4/Cohort/name": name -"/analyticsreporting:v4/Cohort/dateRange": date_range -"/analyticsreporting:v4/MetricFilterClause": metric_filter_clause -"/analyticsreporting:v4/MetricFilterClause/operator": operator -"/analyticsreporting:v4/MetricFilterClause/filters": filters -"/analyticsreporting:v4/MetricFilterClause/filters/filter": filter -"/analyticsreporting:v4/OrFiltersForSegment": or_filters_for_segment -"/analyticsreporting:v4/OrFiltersForSegment/segmentFilterClauses": segment_filter_clauses -"/analyticsreporting:v4/OrFiltersForSegment/segmentFilterClauses/segment_filter_clause": segment_filter_clause -"/analyticsreporting:v4/MetricHeader": metric_header -"/analyticsreporting:v4/MetricHeader/metricHeaderEntries": metric_header_entries -"/analyticsreporting:v4/MetricHeader/metricHeaderEntries/metric_header_entry": metric_header_entry -"/analyticsreporting:v4/MetricHeader/pivotHeaders": pivot_headers -"/analyticsreporting:v4/MetricHeader/pivotHeaders/pivot_header": pivot_header -"/analyticsreporting:v4/DimensionFilterClause": dimension_filter_clause -"/analyticsreporting:v4/DimensionFilterClause/operator": operator -"/analyticsreporting:v4/DimensionFilterClause/filters": filters -"/analyticsreporting:v4/DimensionFilterClause/filters/filter": filter -"/analyticsreporting:v4/GetReportsResponse": get_reports_response -"/analyticsreporting:v4/GetReportsResponse/reports": reports -"/analyticsreporting:v4/GetReportsResponse/reports/report": report -"/analyticsreporting:v4/SequenceSegment": sequence_segment -"/analyticsreporting:v4/SequenceSegment/firstStepShouldMatchFirstHit": first_step_should_match_first_hit -"/analyticsreporting:v4/SequenceSegment/segmentSequenceSteps": segment_sequence_steps -"/analyticsreporting:v4/SequenceSegment/segmentSequenceSteps/segment_sequence_step": segment_sequence_step -"/analyticsreporting:v4/SegmentMetricFilter": segment_metric_filter -"/analyticsreporting:v4/SegmentMetricFilter/metricName": metric_name -"/analyticsreporting:v4/SegmentMetricFilter/scope": scope -"/analyticsreporting:v4/SegmentMetricFilter/maxComparisonValue": max_comparison_value -"/analyticsreporting:v4/SegmentMetricFilter/comparisonValue": comparison_value -"/analyticsreporting:v4/SegmentMetricFilter/operator": operator -"/analyticsreporting:v4/DateRangeValues": date_range_values -"/analyticsreporting:v4/DateRangeValues/values": values -"/analyticsreporting:v4/DateRangeValues/values/value": value -"/analyticsreporting:v4/DateRangeValues/pivotValueRegions": pivot_value_regions -"/analyticsreporting:v4/DateRangeValues/pivotValueRegions/pivot_value_region": pivot_value_region -"/analyticsreporting:v4/CohortGroup": cohort_group -"/analyticsreporting:v4/CohortGroup/cohorts": cohorts -"/analyticsreporting:v4/CohortGroup/cohorts/cohort": cohort -"/analyticsreporting:v4/CohortGroup/lifetimeValue": lifetime_value -"/analyticsreporting:v4/GetReportsRequest": get_reports_request -"/analyticsreporting:v4/GetReportsRequest/reportRequests": report_requests -"/analyticsreporting:v4/GetReportsRequest/reportRequests/report_request": report_request -"/analyticsreporting:v4/Pivot": pivot -"/analyticsreporting:v4/Pivot/startGroup": start_group -"/analyticsreporting:v4/Pivot/metrics": metrics -"/analyticsreporting:v4/Pivot/metrics/metric": metric -"/analyticsreporting:v4/Pivot/dimensions": dimensions -"/analyticsreporting:v4/Pivot/dimensions/dimension": dimension -"/analyticsreporting:v4/Pivot/dimensionFilterClauses": dimension_filter_clauses -"/analyticsreporting:v4/Pivot/dimensionFilterClauses/dimension_filter_clause": dimension_filter_clause -"/analyticsreporting:v4/Pivot/maxGroupCount": max_group_count -"/analyticsreporting:v4/PivotHeaderEntry": pivot_header_entry -"/analyticsreporting:v4/PivotHeaderEntry/dimensionNames": dimension_names -"/analyticsreporting:v4/PivotHeaderEntry/dimensionNames/dimension_name": dimension_name -"/analyticsreporting:v4/PivotHeaderEntry/metric": metric -"/analyticsreporting:v4/PivotHeaderEntry/dimensionValues": dimension_values -"/analyticsreporting:v4/PivotHeaderEntry/dimensionValues/dimension_value": dimension_value -"/analyticsreporting:v4/SegmentFilter": segment_filter -"/analyticsreporting:v4/SegmentFilter/sequenceSegment": sequence_segment -"/analyticsreporting:v4/SegmentFilter/not": not -"/analyticsreporting:v4/SegmentFilter/simpleSegment": simple_segment -"/analyticsreporting:v4/SegmentDefinition": segment_definition -"/analyticsreporting:v4/SegmentDefinition/segmentFilters": segment_filters -"/analyticsreporting:v4/SegmentDefinition/segmentFilters/segment_filter": segment_filter -"/analyticsreporting:v4/MetricHeaderEntry": metric_header_entry -"/analyticsreporting:v4/MetricHeaderEntry/name": name -"/analyticsreporting:v4/MetricHeaderEntry/type": type -"/analyticsreporting:v4/ReportData": report_data -"/analyticsreporting:v4/ReportData/rowCount": row_count -"/analyticsreporting:v4/ReportData/rows": rows -"/analyticsreporting:v4/ReportData/rows/row": row -"/analyticsreporting:v4/ReportData/isDataGolden": is_data_golden -"/analyticsreporting:v4/ReportData/dataLastRefreshed": data_last_refreshed -"/analyticsreporting:v4/ReportData/maximums": maximums -"/analyticsreporting:v4/ReportData/maximums/maximum": maximum -"/analyticsreporting:v4/ReportData/samplingSpaceSizes": sampling_space_sizes -"/analyticsreporting:v4/ReportData/samplingSpaceSizes/sampling_space_size": sampling_space_size -"/analyticsreporting:v4/ReportData/minimums": minimums -"/analyticsreporting:v4/ReportData/minimums/minimum": minimum -"/analyticsreporting:v4/ReportData/totals": totals -"/analyticsreporting:v4/ReportData/totals/total": total -"/analyticsreporting:v4/ReportData/samplesReadCounts": samples_read_counts -"/analyticsreporting:v4/ReportData/samplesReadCounts/samples_read_count": samples_read_count -"/analyticsreporting:v4/DimensionFilter": dimension_filter -"/analyticsreporting:v4/DimensionFilter/dimensionName": dimension_name -"/analyticsreporting:v4/DimensionFilter/operator": operator -"/analyticsreporting:v4/DimensionFilter/not": not -"/analyticsreporting:v4/DimensionFilter/expressions": expressions -"/analyticsreporting:v4/DimensionFilter/expressions/expression": expression -"/analyticsreporting:v4/DimensionFilter/caseSensitive": case_sensitive +"/analyticsreporting:v4/fields": fields +"/analyticsreporting:v4/Segment": segment +"/analyticsreporting:v4/Segment/dynamicSegment": dynamic_segment +"/analyticsreporting:v4/Segment/segmentId": segment_id +"/analyticsreporting:v4/OrderBy": order_by +"/analyticsreporting:v4/OrderBy/sortOrder": sort_order +"/analyticsreporting:v4/OrderBy/fieldName": field_name +"/analyticsreporting:v4/OrderBy/orderType": order_type "/analyticsreporting:v4/SegmentDimensionFilter": segment_dimension_filter -"/analyticsreporting:v4/SegmentDimensionFilter/minComparisonValue": min_comparison_value "/analyticsreporting:v4/SegmentDimensionFilter/maxComparisonValue": max_comparison_value "/analyticsreporting:v4/SegmentDimensionFilter/dimensionName": dimension_name "/analyticsreporting:v4/SegmentDimensionFilter/operator": operator "/analyticsreporting:v4/SegmentDimensionFilter/expressions": expressions "/analyticsreporting:v4/SegmentDimensionFilter/expressions/expression": expression "/analyticsreporting:v4/SegmentDimensionFilter/caseSensitive": case_sensitive -"/analyticsreporting:v4/OrderBy": order_by -"/analyticsreporting:v4/OrderBy/fieldName": field_name -"/analyticsreporting:v4/OrderBy/orderType": order_type -"/analyticsreporting:v4/OrderBy/sortOrder": sort_order -"/analyticsreporting:v4/Segment": segment -"/analyticsreporting:v4/Segment/dynamicSegment": dynamic_segment -"/analyticsreporting:v4/Segment/segmentId": segment_id +"/analyticsreporting:v4/SegmentDimensionFilter/minComparisonValue": min_comparison_value "/analyticsreporting:v4/SegmentSequenceStep": segment_sequence_step "/analyticsreporting:v4/SegmentSequenceStep/orFiltersForSegment": or_filters_for_segment "/analyticsreporting:v4/SegmentSequenceStep/orFiltersForSegment/or_filters_for_segment": or_filters_for_segment "/analyticsreporting:v4/SegmentSequenceStep/matchType": match_type "/analyticsreporting:v4/Metric": metric +"/analyticsreporting:v4/Metric/expression": expression "/analyticsreporting:v4/Metric/formattingType": formatting_type "/analyticsreporting:v4/Metric/alias": alias -"/analyticsreporting:v4/Metric/expression": expression "/analyticsreporting:v4/PivotValueRegion": pivot_value_region "/analyticsreporting:v4/PivotValueRegion/values": values "/analyticsreporting:v4/PivotValueRegion/values/value": value "/analyticsreporting:v4/Report": report +"/analyticsreporting:v4/Report/columnHeader": column_header "/analyticsreporting:v4/Report/data": data "/analyticsreporting:v4/Report/nextPageToken": next_page_token -"/analyticsreporting:v4/Report/columnHeader": column_header "/analyticsreporting:v4/PivotHeader": pivot_header "/analyticsreporting:v4/PivotHeader/pivotHeaderEntries": pivot_header_entries "/analyticsreporting:v4/PivotHeader/pivotHeaderEntries/pivot_header_entry": pivot_header_entry "/analyticsreporting:v4/PivotHeader/totalPivotGroupsCount": total_pivot_groups_count "/analyticsreporting:v4/DateRange": date_range -"/analyticsreporting:v4/DateRange/endDate": end_date "/analyticsreporting:v4/DateRange/startDate": start_date +"/analyticsreporting:v4/DateRange/endDate": end_date "/analyticsreporting:v4/MetricFilter": metric_filter "/analyticsreporting:v4/MetricFilter/comparisonValue": comparison_value "/analyticsreporting:v4/MetricFilter/operator": operator "/analyticsreporting:v4/MetricFilter/not": not "/analyticsreporting:v4/MetricFilter/metricName": metric_name "/analyticsreporting:v4/ReportRequest": report_request -"/analyticsreporting:v4/ReportRequest/includeEmptyRows": include_empty_rows "/analyticsreporting:v4/ReportRequest/metricFilterClauses": metric_filter_clauses "/analyticsreporting:v4/ReportRequest/metricFilterClauses/metric_filter_clause": metric_filter_clause "/analyticsreporting:v4/ReportRequest/pageSize": page_size @@ -9663,22 +9621,129 @@ "/analyticsreporting:v4/ReportRequest/samplingLevel": sampling_level "/analyticsreporting:v4/ReportRequest/dimensions": dimensions "/analyticsreporting:v4/ReportRequest/dimensions/dimension": dimension -"/analyticsreporting:v4/ReportRequest/pageToken": page_token "/analyticsreporting:v4/ReportRequest/dateRanges": date_ranges "/analyticsreporting:v4/ReportRequest/dateRanges/date_range": date_range +"/analyticsreporting:v4/ReportRequest/pageToken": page_token "/analyticsreporting:v4/ReportRequest/pivots": pivots "/analyticsreporting:v4/ReportRequest/pivots/pivot": pivot +"/analyticsreporting:v4/ReportRequest/includeEmptyRows": include_empty_rows "/analyticsreporting:v4/Dimension": dimension "/analyticsreporting:v4/Dimension/histogramBuckets": histogram_buckets "/analyticsreporting:v4/Dimension/histogramBuckets/histogram_bucket": histogram_bucket "/analyticsreporting:v4/Dimension/name": name "/analyticsreporting:v4/DynamicSegment": dynamic_segment +"/analyticsreporting:v4/DynamicSegment/sessionSegment": session_segment "/analyticsreporting:v4/DynamicSegment/name": name "/analyticsreporting:v4/DynamicSegment/userSegment": user_segment -"/analyticsreporting:v4/DynamicSegment/sessionSegment": session_segment "/analyticsreporting:v4/SimpleSegment": simple_segment "/analyticsreporting:v4/SimpleSegment/orFiltersForSegment": or_filters_for_segment "/analyticsreporting:v4/SimpleSegment/orFiltersForSegment/or_filters_for_segment": or_filters_for_segment +"/analyticsreporting:v4/ColumnHeader": column_header +"/analyticsreporting:v4/ColumnHeader/dimensions": dimensions +"/analyticsreporting:v4/ColumnHeader/dimensions/dimension": dimension +"/analyticsreporting:v4/ColumnHeader/metricHeader": metric_header +"/analyticsreporting:v4/SegmentFilterClause": segment_filter_clause +"/analyticsreporting:v4/SegmentFilterClause/metricFilter": metric_filter +"/analyticsreporting:v4/SegmentFilterClause/not": not +"/analyticsreporting:v4/SegmentFilterClause/dimensionFilter": dimension_filter +"/analyticsreporting:v4/ReportRow": report_row +"/analyticsreporting:v4/ReportRow/metrics": metrics +"/analyticsreporting:v4/ReportRow/metrics/metric": metric +"/analyticsreporting:v4/ReportRow/dimensions": dimensions +"/analyticsreporting:v4/ReportRow/dimensions/dimension": dimension +"/analyticsreporting:v4/Cohort": cohort +"/analyticsreporting:v4/Cohort/name": name +"/analyticsreporting:v4/Cohort/dateRange": date_range +"/analyticsreporting:v4/Cohort/type": type +"/analyticsreporting:v4/MetricFilterClause": metric_filter_clause +"/analyticsreporting:v4/MetricFilterClause/operator": operator +"/analyticsreporting:v4/MetricFilterClause/filters": filters +"/analyticsreporting:v4/MetricFilterClause/filters/filter": filter +"/analyticsreporting:v4/OrFiltersForSegment": or_filters_for_segment +"/analyticsreporting:v4/OrFiltersForSegment/segmentFilterClauses": segment_filter_clauses +"/analyticsreporting:v4/OrFiltersForSegment/segmentFilterClauses/segment_filter_clause": segment_filter_clause +"/analyticsreporting:v4/MetricHeader": metric_header +"/analyticsreporting:v4/MetricHeader/pivotHeaders": pivot_headers +"/analyticsreporting:v4/MetricHeader/pivotHeaders/pivot_header": pivot_header +"/analyticsreporting:v4/MetricHeader/metricHeaderEntries": metric_header_entries +"/analyticsreporting:v4/MetricHeader/metricHeaderEntries/metric_header_entry": metric_header_entry +"/analyticsreporting:v4/DimensionFilterClause": dimension_filter_clause +"/analyticsreporting:v4/DimensionFilterClause/operator": operator +"/analyticsreporting:v4/DimensionFilterClause/filters": filters +"/analyticsreporting:v4/DimensionFilterClause/filters/filter": filter +"/analyticsreporting:v4/GetReportsResponse": get_reports_response +"/analyticsreporting:v4/GetReportsResponse/reports": reports +"/analyticsreporting:v4/GetReportsResponse/reports/report": report +"/analyticsreporting:v4/SequenceSegment": sequence_segment +"/analyticsreporting:v4/SequenceSegment/segmentSequenceSteps": segment_sequence_steps +"/analyticsreporting:v4/SequenceSegment/segmentSequenceSteps/segment_sequence_step": segment_sequence_step +"/analyticsreporting:v4/SequenceSegment/firstStepShouldMatchFirstHit": first_step_should_match_first_hit +"/analyticsreporting:v4/SegmentMetricFilter": segment_metric_filter +"/analyticsreporting:v4/SegmentMetricFilter/comparisonValue": comparison_value +"/analyticsreporting:v4/SegmentMetricFilter/operator": operator +"/analyticsreporting:v4/SegmentMetricFilter/metricName": metric_name +"/analyticsreporting:v4/SegmentMetricFilter/scope": scope +"/analyticsreporting:v4/SegmentMetricFilter/maxComparisonValue": max_comparison_value +"/analyticsreporting:v4/DateRangeValues": date_range_values +"/analyticsreporting:v4/DateRangeValues/values": values +"/analyticsreporting:v4/DateRangeValues/values/value": value +"/analyticsreporting:v4/DateRangeValues/pivotValueRegions": pivot_value_regions +"/analyticsreporting:v4/DateRangeValues/pivotValueRegions/pivot_value_region": pivot_value_region +"/analyticsreporting:v4/CohortGroup": cohort_group +"/analyticsreporting:v4/CohortGroup/cohorts": cohorts +"/analyticsreporting:v4/CohortGroup/cohorts/cohort": cohort +"/analyticsreporting:v4/CohortGroup/lifetimeValue": lifetime_value +"/analyticsreporting:v4/GetReportsRequest": get_reports_request +"/analyticsreporting:v4/GetReportsRequest/reportRequests": report_requests +"/analyticsreporting:v4/GetReportsRequest/reportRequests/report_request": report_request +"/analyticsreporting:v4/Pivot": pivot +"/analyticsreporting:v4/Pivot/maxGroupCount": max_group_count +"/analyticsreporting:v4/Pivot/startGroup": start_group +"/analyticsreporting:v4/Pivot/metrics": metrics +"/analyticsreporting:v4/Pivot/metrics/metric": metric +"/analyticsreporting:v4/Pivot/dimensions": dimensions +"/analyticsreporting:v4/Pivot/dimensions/dimension": dimension +"/analyticsreporting:v4/Pivot/dimensionFilterClauses": dimension_filter_clauses +"/analyticsreporting:v4/Pivot/dimensionFilterClauses/dimension_filter_clause": dimension_filter_clause +"/analyticsreporting:v4/PivotHeaderEntry": pivot_header_entry +"/analyticsreporting:v4/PivotHeaderEntry/dimensionNames": dimension_names +"/analyticsreporting:v4/PivotHeaderEntry/dimensionNames/dimension_name": dimension_name +"/analyticsreporting:v4/PivotHeaderEntry/metric": metric +"/analyticsreporting:v4/PivotHeaderEntry/dimensionValues": dimension_values +"/analyticsreporting:v4/PivotHeaderEntry/dimensionValues/dimension_value": dimension_value +"/analyticsreporting:v4/SegmentFilter": segment_filter +"/analyticsreporting:v4/SegmentFilter/sequenceSegment": sequence_segment +"/analyticsreporting:v4/SegmentFilter/not": not +"/analyticsreporting:v4/SegmentFilter/simpleSegment": simple_segment +"/analyticsreporting:v4/SegmentDefinition": segment_definition +"/analyticsreporting:v4/SegmentDefinition/segmentFilters": segment_filters +"/analyticsreporting:v4/SegmentDefinition/segmentFilters/segment_filter": segment_filter +"/analyticsreporting:v4/MetricHeaderEntry": metric_header_entry +"/analyticsreporting:v4/MetricHeaderEntry/name": name +"/analyticsreporting:v4/MetricHeaderEntry/type": type +"/analyticsreporting:v4/ReportData": report_data +"/analyticsreporting:v4/ReportData/minimums": minimums +"/analyticsreporting:v4/ReportData/minimums/minimum": minimum +"/analyticsreporting:v4/ReportData/samplingSpaceSizes": sampling_space_sizes +"/analyticsreporting:v4/ReportData/samplingSpaceSizes/sampling_space_size": sampling_space_size +"/analyticsreporting:v4/ReportData/totals": totals +"/analyticsreporting:v4/ReportData/totals/total": total +"/analyticsreporting:v4/ReportData/samplesReadCounts": samples_read_counts +"/analyticsreporting:v4/ReportData/samplesReadCounts/samples_read_count": samples_read_count +"/analyticsreporting:v4/ReportData/isDataGolden": is_data_golden +"/analyticsreporting:v4/ReportData/rows": rows +"/analyticsreporting:v4/ReportData/rows/row": row +"/analyticsreporting:v4/ReportData/rowCount": row_count +"/analyticsreporting:v4/ReportData/dataLastRefreshed": data_last_refreshed +"/analyticsreporting:v4/ReportData/maximums": maximums +"/analyticsreporting:v4/ReportData/maximums/maximum": maximum +"/analyticsreporting:v4/DimensionFilter": dimension_filter +"/analyticsreporting:v4/DimensionFilter/dimensionName": dimension_name +"/analyticsreporting:v4/DimensionFilter/operator": operator +"/analyticsreporting:v4/DimensionFilter/not": not +"/analyticsreporting:v4/DimensionFilter/expressions": expressions +"/analyticsreporting:v4/DimensionFilter/expressions/expression": expression +"/analyticsreporting:v4/DimensionFilter/caseSensitive": case_sensitive "/androidenterprise:v1/fields": fields "/androidenterprise:v1/key": key "/androidenterprise:v1/quotaUser": quota_user @@ -13384,19 +13449,9 @@ "/cloudbuild:v1/fields": fields "/cloudbuild:v1/key": key "/cloudbuild:v1/quotaUser": quota_user -"/cloudbuild:v1/cloudbuild.projects.builds.get": get_project_build -"/cloudbuild:v1/cloudbuild.projects.builds.get/projectId": project_id -"/cloudbuild:v1/cloudbuild.projects.builds.get/id": id -"/cloudbuild:v1/cloudbuild.projects.builds.list": list_project_builds -"/cloudbuild:v1/cloudbuild.projects.builds.list/pageSize": page_size -"/cloudbuild:v1/cloudbuild.projects.builds.list/projectId": project_id -"/cloudbuild:v1/cloudbuild.projects.builds.list/filter": filter -"/cloudbuild:v1/cloudbuild.projects.builds.list/pageToken": page_token -"/cloudbuild:v1/cloudbuild.projects.builds.create": create_project_build -"/cloudbuild:v1/cloudbuild.projects.builds.create/projectId": project_id -"/cloudbuild:v1/cloudbuild.projects.builds.cancel": cancel_build -"/cloudbuild:v1/cloudbuild.projects.builds.cancel/projectId": project_id -"/cloudbuild:v1/cloudbuild.projects.builds.cancel/id": id +"/cloudbuild:v1/cloudbuild.projects.triggers.delete": delete_project_trigger +"/cloudbuild:v1/cloudbuild.projects.triggers.delete/triggerId": trigger_id +"/cloudbuild:v1/cloudbuild.projects.triggers.delete/projectId": project_id "/cloudbuild:v1/cloudbuild.projects.triggers.get": get_project_trigger "/cloudbuild:v1/cloudbuild.projects.triggers.get/triggerId": trigger_id "/cloudbuild:v1/cloudbuild.projects.triggers.get/projectId": project_id @@ -13407,35 +13462,107 @@ "/cloudbuild:v1/cloudbuild.projects.triggers.patch/projectId": project_id "/cloudbuild:v1/cloudbuild.projects.triggers.create": create_project_trigger "/cloudbuild:v1/cloudbuild.projects.triggers.create/projectId": project_id -"/cloudbuild:v1/cloudbuild.projects.triggers.delete": delete_project_trigger -"/cloudbuild:v1/cloudbuild.projects.triggers.delete/triggerId": trigger_id -"/cloudbuild:v1/cloudbuild.projects.triggers.delete/projectId": project_id -"/cloudbuild:v1/cloudbuild.operations.list": list_operations -"/cloudbuild:v1/cloudbuild.operations.list/pageSize": page_size -"/cloudbuild:v1/cloudbuild.operations.list/filter": filter -"/cloudbuild:v1/cloudbuild.operations.list/name": name -"/cloudbuild:v1/cloudbuild.operations.list/pageToken": page_token -"/cloudbuild:v1/cloudbuild.operations.get": get_operation -"/cloudbuild:v1/cloudbuild.operations.get/name": name +"/cloudbuild:v1/cloudbuild.projects.builds.cancel": cancel_build +"/cloudbuild:v1/cloudbuild.projects.builds.cancel/projectId": project_id +"/cloudbuild:v1/cloudbuild.projects.builds.cancel/id": id +"/cloudbuild:v1/cloudbuild.projects.builds.get": get_project_build +"/cloudbuild:v1/cloudbuild.projects.builds.get/id": id +"/cloudbuild:v1/cloudbuild.projects.builds.get/projectId": project_id +"/cloudbuild:v1/cloudbuild.projects.builds.list": list_project_builds +"/cloudbuild:v1/cloudbuild.projects.builds.list/pageToken": page_token +"/cloudbuild:v1/cloudbuild.projects.builds.list/pageSize": page_size +"/cloudbuild:v1/cloudbuild.projects.builds.list/projectId": project_id +"/cloudbuild:v1/cloudbuild.projects.builds.list/filter": filter +"/cloudbuild:v1/cloudbuild.projects.builds.create": create_project_build +"/cloudbuild:v1/cloudbuild.projects.builds.create/projectId": project_id "/cloudbuild:v1/cloudbuild.operations.cancel": cancel_operation "/cloudbuild:v1/cloudbuild.operations.cancel/name": name +"/cloudbuild:v1/cloudbuild.operations.list": list_operations +"/cloudbuild:v1/cloudbuild.operations.list/name": name +"/cloudbuild:v1/cloudbuild.operations.list/pageToken": page_token +"/cloudbuild:v1/cloudbuild.operations.list/pageSize": page_size +"/cloudbuild:v1/cloudbuild.operations.list/filter": filter +"/cloudbuild:v1/cloudbuild.operations.get": get_operation +"/cloudbuild:v1/cloudbuild.operations.get/name": name +"/cloudbuild:v1/Source": source +"/cloudbuild:v1/Source/storageSource": storage_source +"/cloudbuild:v1/Source/repoSource": repo_source +"/cloudbuild:v1/BuildOptions": build_options +"/cloudbuild:v1/BuildOptions/requestedVerifyOption": requested_verify_option +"/cloudbuild:v1/BuildOptions/sourceProvenanceHash": source_provenance_hash +"/cloudbuild:v1/BuildOptions/sourceProvenanceHash/source_provenance_hash": source_provenance_hash +"/cloudbuild:v1/StorageSource": storage_source +"/cloudbuild:v1/StorageSource/generation": generation +"/cloudbuild:v1/StorageSource/bucket": bucket +"/cloudbuild:v1/StorageSource/object": object +"/cloudbuild:v1/Results": results +"/cloudbuild:v1/Results/images": images +"/cloudbuild:v1/Results/images/image": image +"/cloudbuild:v1/Results/buildStepImages": build_step_images +"/cloudbuild:v1/Results/buildStepImages/build_step_image": build_step_image +"/cloudbuild:v1/BuildOperationMetadata": build_operation_metadata +"/cloudbuild:v1/BuildOperationMetadata/build": build +"/cloudbuild:v1/SourceProvenance": source_provenance +"/cloudbuild:v1/SourceProvenance/resolvedStorageSource": resolved_storage_source +"/cloudbuild:v1/SourceProvenance/fileHashes": file_hashes +"/cloudbuild:v1/SourceProvenance/fileHashes/file_hash": file_hash +"/cloudbuild:v1/SourceProvenance/resolvedRepoSource": resolved_repo_source +"/cloudbuild:v1/CancelOperationRequest": cancel_operation_request +"/cloudbuild:v1/ListBuildTriggersResponse": list_build_triggers_response +"/cloudbuild:v1/ListBuildTriggersResponse/triggers": triggers +"/cloudbuild:v1/ListBuildTriggersResponse/triggers/trigger": trigger +"/cloudbuild:v1/Operation": operation +"/cloudbuild:v1/Operation/done": done +"/cloudbuild:v1/Operation/response": response +"/cloudbuild:v1/Operation/response/response": response +"/cloudbuild:v1/Operation/name": name +"/cloudbuild:v1/Operation/error": error +"/cloudbuild:v1/Operation/metadata": metadata +"/cloudbuild:v1/Operation/metadata/metadatum": metadatum +"/cloudbuild:v1/BuiltImage": built_image +"/cloudbuild:v1/BuiltImage/name": name +"/cloudbuild:v1/BuiltImage/digest": digest +"/cloudbuild:v1/BuildStep": build_step +"/cloudbuild:v1/BuildStep/entrypoint": entrypoint +"/cloudbuild:v1/BuildStep/id": id +"/cloudbuild:v1/BuildStep/dir": dir +"/cloudbuild:v1/BuildStep/env": env +"/cloudbuild:v1/BuildStep/env/env": env +"/cloudbuild:v1/BuildStep/waitFor": wait_for +"/cloudbuild:v1/BuildStep/waitFor/wait_for": wait_for +"/cloudbuild:v1/BuildStep/args": args +"/cloudbuild:v1/BuildStep/args/arg": arg +"/cloudbuild:v1/BuildStep/name": name +"/cloudbuild:v1/RepoSource": repo_source +"/cloudbuild:v1/RepoSource/tagName": tag_name +"/cloudbuild:v1/RepoSource/commitSha": commit_sha +"/cloudbuild:v1/RepoSource/projectId": project_id +"/cloudbuild:v1/RepoSource/repoName": repo_name +"/cloudbuild:v1/RepoSource/branchName": branch_name +"/cloudbuild:v1/Hash": hash_prop +"/cloudbuild:v1/Hash/type": type +"/cloudbuild:v1/Hash/value": value +"/cloudbuild:v1/FileHashes": file_hashes +"/cloudbuild:v1/FileHashes/fileHash": file_hash +"/cloudbuild:v1/FileHashes/fileHash/file_hash": file_hash +"/cloudbuild:v1/Status": status +"/cloudbuild:v1/Status/message": message +"/cloudbuild:v1/Status/details": details +"/cloudbuild:v1/Status/details/detail": detail +"/cloudbuild:v1/Status/details/detail/detail": detail +"/cloudbuild:v1/Status/code": code "/cloudbuild:v1/Empty": empty "/cloudbuild:v1/BuildTrigger": build_trigger -"/cloudbuild:v1/BuildTrigger/disabled": disabled -"/cloudbuild:v1/BuildTrigger/createTime": create_time -"/cloudbuild:v1/BuildTrigger/triggerTemplate": trigger_template -"/cloudbuild:v1/BuildTrigger/filename": filename "/cloudbuild:v1/BuildTrigger/id": id "/cloudbuild:v1/BuildTrigger/build": build "/cloudbuild:v1/BuildTrigger/substitutions": substitutions "/cloudbuild:v1/BuildTrigger/substitutions/substitution": substitution "/cloudbuild:v1/BuildTrigger/description": description +"/cloudbuild:v1/BuildTrigger/disabled": disabled +"/cloudbuild:v1/BuildTrigger/createTime": create_time +"/cloudbuild:v1/BuildTrigger/triggerTemplate": trigger_template +"/cloudbuild:v1/BuildTrigger/filename": filename "/cloudbuild:v1/Build": build -"/cloudbuild:v1/Build/options": options -"/cloudbuild:v1/Build/source": source -"/cloudbuild:v1/Build/statusDetail": status_detail -"/cloudbuild:v1/Build/status": status -"/cloudbuild:v1/Build/timeout": timeout "/cloudbuild:v1/Build/logsBucket": logs_bucket "/cloudbuild:v1/Build/results": results "/cloudbuild:v1/Build/steps": steps @@ -13452,6 +13579,11 @@ "/cloudbuild:v1/Build/projectId": project_id "/cloudbuild:v1/Build/finishTime": finish_time "/cloudbuild:v1/Build/logUrl": log_url +"/cloudbuild:v1/Build/options": options +"/cloudbuild:v1/Build/source": source +"/cloudbuild:v1/Build/statusDetail": status_detail +"/cloudbuild:v1/Build/status": status +"/cloudbuild:v1/Build/timeout": timeout "/cloudbuild:v1/CancelBuildRequest": cancel_build_request "/cloudbuild:v1/ListBuildsResponse": list_builds_response "/cloudbuild:v1/ListBuildsResponse/nextPageToken": next_page_token @@ -13461,76 +13593,9 @@ "/cloudbuild:v1/ListOperationsResponse/nextPageToken": next_page_token "/cloudbuild:v1/ListOperationsResponse/operations": operations "/cloudbuild:v1/ListOperationsResponse/operations/operation": operation -"/cloudbuild:v1/Source": source -"/cloudbuild:v1/Source/storageSource": storage_source -"/cloudbuild:v1/Source/repoSource": repo_source -"/cloudbuild:v1/BuildOptions": build_options -"/cloudbuild:v1/BuildOptions/requestedVerifyOption": requested_verify_option -"/cloudbuild:v1/BuildOptions/sourceProvenanceHash": source_provenance_hash -"/cloudbuild:v1/BuildOptions/sourceProvenanceHash/source_provenance_hash": source_provenance_hash -"/cloudbuild:v1/StorageSource": storage_source -"/cloudbuild:v1/StorageSource/bucket": bucket -"/cloudbuild:v1/StorageSource/object": object -"/cloudbuild:v1/StorageSource/generation": generation -"/cloudbuild:v1/Results": results -"/cloudbuild:v1/Results/buildStepImages": build_step_images -"/cloudbuild:v1/Results/buildStepImages/build_step_image": build_step_image -"/cloudbuild:v1/Results/images": images -"/cloudbuild:v1/Results/images/image": image -"/cloudbuild:v1/BuildOperationMetadata": build_operation_metadata -"/cloudbuild:v1/BuildOperationMetadata/build": build -"/cloudbuild:v1/SourceProvenance": source_provenance -"/cloudbuild:v1/SourceProvenance/fileHashes": file_hashes -"/cloudbuild:v1/SourceProvenance/fileHashes/file_hash": file_hash -"/cloudbuild:v1/SourceProvenance/resolvedRepoSource": resolved_repo_source -"/cloudbuild:v1/SourceProvenance/resolvedStorageSource": resolved_storage_source -"/cloudbuild:v1/CancelOperationRequest": cancel_operation_request -"/cloudbuild:v1/ListBuildTriggersResponse": list_build_triggers_response -"/cloudbuild:v1/ListBuildTriggersResponse/triggers": triggers -"/cloudbuild:v1/ListBuildTriggersResponse/triggers/trigger": trigger -"/cloudbuild:v1/Operation": operation -"/cloudbuild:v1/Operation/done": done -"/cloudbuild:v1/Operation/response": response -"/cloudbuild:v1/Operation/response/response": response -"/cloudbuild:v1/Operation/name": name -"/cloudbuild:v1/Operation/error": error -"/cloudbuild:v1/Operation/metadata": metadata -"/cloudbuild:v1/Operation/metadata/metadatum": metadatum -"/cloudbuild:v1/BuiltImage": built_image -"/cloudbuild:v1/BuiltImage/name": name -"/cloudbuild:v1/BuiltImage/digest": digest -"/cloudbuild:v1/RepoSource": repo_source -"/cloudbuild:v1/RepoSource/projectId": project_id -"/cloudbuild:v1/RepoSource/repoName": repo_name -"/cloudbuild:v1/RepoSource/branchName": branch_name -"/cloudbuild:v1/RepoSource/tagName": tag_name -"/cloudbuild:v1/RepoSource/commitSha": commit_sha -"/cloudbuild:v1/BuildStep": build_step -"/cloudbuild:v1/BuildStep/dir": dir -"/cloudbuild:v1/BuildStep/env": env -"/cloudbuild:v1/BuildStep/env/env": env -"/cloudbuild:v1/BuildStep/waitFor": wait_for -"/cloudbuild:v1/BuildStep/waitFor/wait_for": wait_for -"/cloudbuild:v1/BuildStep/args": args -"/cloudbuild:v1/BuildStep/args/arg": arg -"/cloudbuild:v1/BuildStep/name": name -"/cloudbuild:v1/BuildStep/entrypoint": entrypoint -"/cloudbuild:v1/BuildStep/id": id -"/cloudbuild:v1/Hash": hash_prop -"/cloudbuild:v1/Hash/type": type -"/cloudbuild:v1/Hash/value": value -"/cloudbuild:v1/FileHashes": file_hashes -"/cloudbuild:v1/FileHashes/fileHash": file_hash -"/cloudbuild:v1/FileHashes/fileHash/file_hash": file_hash -"/cloudbuild:v1/Status": status -"/cloudbuild:v1/Status/code": code -"/cloudbuild:v1/Status/message": message -"/cloudbuild:v1/Status/details": details -"/cloudbuild:v1/Status/details/detail": detail -"/cloudbuild:v1/Status/details/detail/detail": detail +"/clouddebugger:v2/quotaUser": quota_user "/clouddebugger:v2/fields": fields "/clouddebugger:v2/key": key -"/clouddebugger:v2/quotaUser": quota_user "/clouddebugger:v2/clouddebugger.debugger.debuggees.list": list_debugger_debuggees "/clouddebugger:v2/clouddebugger.debugger.debuggees.list/clientVersion": client_version "/clouddebugger:v2/clouddebugger.debugger.debuggees.list/includeInactive": include_inactive @@ -13539,21 +13604,21 @@ "/clouddebugger:v2/clouddebugger.debugger.debuggees.breakpoints.set/debuggeeId": debuggee_id "/clouddebugger:v2/clouddebugger.debugger.debuggees.breakpoints.set/clientVersion": client_version "/clouddebugger:v2/clouddebugger.debugger.debuggees.breakpoints.delete": delete_debugger_debuggee_breakpoint -"/clouddebugger:v2/clouddebugger.debugger.debuggees.breakpoints.delete/clientVersion": client_version "/clouddebugger:v2/clouddebugger.debugger.debuggees.breakpoints.delete/breakpointId": breakpoint_id "/clouddebugger:v2/clouddebugger.debugger.debuggees.breakpoints.delete/debuggeeId": debuggee_id +"/clouddebugger:v2/clouddebugger.debugger.debuggees.breakpoints.delete/clientVersion": client_version "/clouddebugger:v2/clouddebugger.debugger.debuggees.breakpoints.get": get_debugger_debuggee_breakpoint -"/clouddebugger:v2/clouddebugger.debugger.debuggees.breakpoints.get/clientVersion": client_version "/clouddebugger:v2/clouddebugger.debugger.debuggees.breakpoints.get/breakpointId": breakpoint_id "/clouddebugger:v2/clouddebugger.debugger.debuggees.breakpoints.get/debuggeeId": debuggee_id +"/clouddebugger:v2/clouddebugger.debugger.debuggees.breakpoints.get/clientVersion": client_version "/clouddebugger:v2/clouddebugger.debugger.debuggees.breakpoints.list": list_debugger_debuggee_breakpoints -"/clouddebugger:v2/clouddebugger.debugger.debuggees.breakpoints.list/debuggeeId": debuggee_id "/clouddebugger:v2/clouddebugger.debugger.debuggees.breakpoints.list/waitToken": wait_token -"/clouddebugger:v2/clouddebugger.debugger.debuggees.breakpoints.list/action.value": action_value "/clouddebugger:v2/clouddebugger.debugger.debuggees.breakpoints.list/clientVersion": client_version +"/clouddebugger:v2/clouddebugger.debugger.debuggees.breakpoints.list/action.value": action_value "/clouddebugger:v2/clouddebugger.debugger.debuggees.breakpoints.list/includeInactive": include_inactive "/clouddebugger:v2/clouddebugger.debugger.debuggees.breakpoints.list/includeAllUsers": include_all_users "/clouddebugger:v2/clouddebugger.debugger.debuggees.breakpoints.list/stripResults": strip_results +"/clouddebugger:v2/clouddebugger.debugger.debuggees.breakpoints.list/debuggeeId": debuggee_id "/clouddebugger:v2/clouddebugger.controller.debuggees.register": register_debuggee "/clouddebugger:v2/clouddebugger.controller.debuggees.breakpoints.update": update_active_breakpoint "/clouddebugger:v2/clouddebugger.controller.debuggees.breakpoints.update/debuggeeId": debuggee_id @@ -13562,27 +13627,57 @@ "/clouddebugger:v2/clouddebugger.controller.debuggees.breakpoints.list/waitToken": wait_token "/clouddebugger:v2/clouddebugger.controller.debuggees.breakpoints.list/debuggeeId": debuggee_id "/clouddebugger:v2/clouddebugger.controller.debuggees.breakpoints.list/successOnTimeout": success_on_timeout +"/clouddebugger:v2/ListDebuggeesResponse": list_debuggees_response +"/clouddebugger:v2/ListDebuggeesResponse/debuggees": debuggees +"/clouddebugger:v2/ListDebuggeesResponse/debuggees/debuggee": debuggee +"/clouddebugger:v2/AliasContext": alias_context +"/clouddebugger:v2/AliasContext/name": name +"/clouddebugger:v2/AliasContext/kind": kind +"/clouddebugger:v2/Empty": empty +"/clouddebugger:v2/SourceLocation": source_location +"/clouddebugger:v2/SourceLocation/line": line +"/clouddebugger:v2/SourceLocation/path": path +"/clouddebugger:v2/Debuggee": debuggee +"/clouddebugger:v2/Debuggee/extSourceContexts": ext_source_contexts +"/clouddebugger:v2/Debuggee/extSourceContexts/ext_source_context": ext_source_context +"/clouddebugger:v2/Debuggee/labels": labels +"/clouddebugger:v2/Debuggee/labels/label": label +"/clouddebugger:v2/Debuggee/status": status +"/clouddebugger:v2/Debuggee/isInactive": is_inactive +"/clouddebugger:v2/Debuggee/project": project +"/clouddebugger:v2/Debuggee/id": id +"/clouddebugger:v2/Debuggee/agentVersion": agent_version +"/clouddebugger:v2/Debuggee/isDisabled": is_disabled +"/clouddebugger:v2/Debuggee/description": description +"/clouddebugger:v2/Debuggee/uniquifier": uniquifier +"/clouddebugger:v2/Debuggee/sourceContexts": source_contexts +"/clouddebugger:v2/Debuggee/sourceContexts/source_context": source_context +"/clouddebugger:v2/ProjectRepoId": project_repo_id +"/clouddebugger:v2/ProjectRepoId/projectId": project_id +"/clouddebugger:v2/ProjectRepoId/repoName": repo_name +"/clouddebugger:v2/ListActiveBreakpointsResponse": list_active_breakpoints_response +"/clouddebugger:v2/ListActiveBreakpointsResponse/breakpoints": breakpoints +"/clouddebugger:v2/ListActiveBreakpointsResponse/breakpoints/breakpoint": breakpoint +"/clouddebugger:v2/ListActiveBreakpointsResponse/waitExpired": wait_expired +"/clouddebugger:v2/ListActiveBreakpointsResponse/nextWaitToken": next_wait_token "/clouddebugger:v2/CloudWorkspaceSourceContext": cloud_workspace_source_context "/clouddebugger:v2/CloudWorkspaceSourceContext/snapshotId": snapshot_id "/clouddebugger:v2/CloudWorkspaceSourceContext/workspaceId": workspace_id "/clouddebugger:v2/UpdateActiveBreakpointResponse": update_active_breakpoint_response "/clouddebugger:v2/GerritSourceContext": gerrit_source_context -"/clouddebugger:v2/GerritSourceContext/gerritProject": gerrit_project -"/clouddebugger:v2/GerritSourceContext/aliasContext": alias_context "/clouddebugger:v2/GerritSourceContext/hostUri": host_uri "/clouddebugger:v2/GerritSourceContext/revisionId": revision_id "/clouddebugger:v2/GerritSourceContext/aliasName": alias_name +"/clouddebugger:v2/GerritSourceContext/gerritProject": gerrit_project +"/clouddebugger:v2/GerritSourceContext/aliasContext": alias_context "/clouddebugger:v2/CloudWorkspaceId": cloud_workspace_id -"/clouddebugger:v2/CloudWorkspaceId/name": name "/clouddebugger:v2/CloudWorkspaceId/repoId": repo_id +"/clouddebugger:v2/CloudWorkspaceId/name": name "/clouddebugger:v2/ListBreakpointsResponse": list_breakpoints_response "/clouddebugger:v2/ListBreakpointsResponse/breakpoints": breakpoints "/clouddebugger:v2/ListBreakpointsResponse/breakpoints/breakpoint": breakpoint "/clouddebugger:v2/ListBreakpointsResponse/nextWaitToken": next_wait_token "/clouddebugger:v2/Breakpoint": breakpoint -"/clouddebugger:v2/Breakpoint/id": id -"/clouddebugger:v2/Breakpoint/location": location -"/clouddebugger:v2/Breakpoint/finalTime": final_time "/clouddebugger:v2/Breakpoint/variableTable": variable_table "/clouddebugger:v2/Breakpoint/variableTable/variable_table": variable_table "/clouddebugger:v2/Breakpoint/createTime": create_time @@ -13601,20 +13696,23 @@ "/clouddebugger:v2/Breakpoint/userEmail": user_email "/clouddebugger:v2/Breakpoint/action": action "/clouddebugger:v2/Breakpoint/logLevel": log_level +"/clouddebugger:v2/Breakpoint/id": id +"/clouddebugger:v2/Breakpoint/location": location +"/clouddebugger:v2/Breakpoint/finalTime": final_time "/clouddebugger:v2/UpdateActiveBreakpointRequest": update_active_breakpoint_request "/clouddebugger:v2/UpdateActiveBreakpointRequest/breakpoint": breakpoint "/clouddebugger:v2/SetBreakpointResponse": set_breakpoint_response "/clouddebugger:v2/SetBreakpointResponse/breakpoint": breakpoint "/clouddebugger:v2/SourceContext": source_context +"/clouddebugger:v2/SourceContext/git": git "/clouddebugger:v2/SourceContext/gerrit": gerrit "/clouddebugger:v2/SourceContext/cloudRepo": cloud_repo "/clouddebugger:v2/SourceContext/cloudWorkspace": cloud_workspace -"/clouddebugger:v2/SourceContext/git": git "/clouddebugger:v2/CloudRepoSourceContext": cloud_repo_source_context -"/clouddebugger:v2/CloudRepoSourceContext/aliasContext": alias_context "/clouddebugger:v2/CloudRepoSourceContext/revisionId": revision_id "/clouddebugger:v2/CloudRepoSourceContext/aliasName": alias_name "/clouddebugger:v2/CloudRepoSourceContext/repoId": repo_id +"/clouddebugger:v2/CloudRepoSourceContext/aliasContext": alias_context "/clouddebugger:v2/RegisterDebuggeeResponse": register_debuggee_response "/clouddebugger:v2/RegisterDebuggeeResponse/debuggee": debuggee "/clouddebugger:v2/RegisterDebuggeeRequest": register_debuggee_request @@ -13637,12 +13735,12 @@ "/clouddebugger:v2/Variable/name": name "/clouddebugger:v2/Variable/type": type "/clouddebugger:v2/StackFrame": stack_frame -"/clouddebugger:v2/StackFrame/function": function "/clouddebugger:v2/StackFrame/arguments": arguments "/clouddebugger:v2/StackFrame/arguments/argument": argument "/clouddebugger:v2/StackFrame/locals": locals "/clouddebugger:v2/StackFrame/locals/local": local "/clouddebugger:v2/StackFrame/location": location +"/clouddebugger:v2/StackFrame/function": function "/clouddebugger:v2/RepoId": repo_id "/clouddebugger:v2/RepoId/projectRepoId": project_repo_id "/clouddebugger:v2/RepoId/uid": uid @@ -13654,45 +13752,15 @@ "/clouddebugger:v2/ExtendedSourceContext/context": context "/clouddebugger:v2/ExtendedSourceContext/labels": labels "/clouddebugger:v2/ExtendedSourceContext/labels/label": label -"/clouddebugger:v2/ListDebuggeesResponse": list_debuggees_response -"/clouddebugger:v2/ListDebuggeesResponse/debuggees": debuggees -"/clouddebugger:v2/ListDebuggeesResponse/debuggees/debuggee": debuggee -"/clouddebugger:v2/AliasContext": alias_context -"/clouddebugger:v2/AliasContext/name": name -"/clouddebugger:v2/AliasContext/kind": kind -"/clouddebugger:v2/Empty": empty -"/clouddebugger:v2/SourceLocation": source_location -"/clouddebugger:v2/SourceLocation/line": line -"/clouddebugger:v2/SourceLocation/path": path -"/clouddebugger:v2/Debuggee": debuggee -"/clouddebugger:v2/Debuggee/description": description -"/clouddebugger:v2/Debuggee/uniquifier": uniquifier -"/clouddebugger:v2/Debuggee/sourceContexts": source_contexts -"/clouddebugger:v2/Debuggee/sourceContexts/source_context": source_context -"/clouddebugger:v2/Debuggee/extSourceContexts": ext_source_contexts -"/clouddebugger:v2/Debuggee/extSourceContexts/ext_source_context": ext_source_context -"/clouddebugger:v2/Debuggee/labels": labels -"/clouddebugger:v2/Debuggee/labels/label": label -"/clouddebugger:v2/Debuggee/isInactive": is_inactive -"/clouddebugger:v2/Debuggee/status": status -"/clouddebugger:v2/Debuggee/project": project -"/clouddebugger:v2/Debuggee/isDisabled": is_disabled -"/clouddebugger:v2/Debuggee/agentVersion": agent_version -"/clouddebugger:v2/Debuggee/id": id -"/clouddebugger:v2/ProjectRepoId": project_repo_id -"/clouddebugger:v2/ProjectRepoId/projectId": project_id -"/clouddebugger:v2/ProjectRepoId/repoName": repo_name -"/clouddebugger:v2/ListActiveBreakpointsResponse": list_active_breakpoints_response -"/clouddebugger:v2/ListActiveBreakpointsResponse/nextWaitToken": next_wait_token -"/clouddebugger:v2/ListActiveBreakpointsResponse/breakpoints": breakpoints -"/clouddebugger:v2/ListActiveBreakpointsResponse/breakpoints/breakpoint": breakpoint -"/clouddebugger:v2/ListActiveBreakpointsResponse/waitExpired": wait_expired "/clouderrorreporting:v1beta1/fields": fields "/clouderrorreporting:v1beta1/key": key "/clouderrorreporting:v1beta1/quotaUser": quota_user "/clouderrorreporting:v1beta1/clouderrorreporting.projects.deleteEvents": delete_project_events "/clouderrorreporting:v1beta1/clouderrorreporting.projects.deleteEvents/projectName": project_name +"/clouderrorreporting:v1beta1/clouderrorreporting.projects.events.report": report_project_event +"/clouderrorreporting:v1beta1/clouderrorreporting.projects.events.report/projectName": project_name "/clouderrorreporting:v1beta1/clouderrorreporting.projects.events.list": list_project_events +"/clouderrorreporting:v1beta1/clouderrorreporting.projects.events.list/groupId": group_id "/clouderrorreporting:v1beta1/clouderrorreporting.projects.events.list/serviceFilter.service": service_filter_service "/clouderrorreporting:v1beta1/clouderrorreporting.projects.events.list/pageToken": page_token "/clouderrorreporting:v1beta1/clouderrorreporting.projects.events.list/pageSize": page_size @@ -13700,14 +13768,12 @@ "/clouderrorreporting:v1beta1/clouderrorreporting.projects.events.list/serviceFilter.resourceType": service_filter_resource_type "/clouderrorreporting:v1beta1/clouderrorreporting.projects.events.list/timeRange.period": time_range_period "/clouderrorreporting:v1beta1/clouderrorreporting.projects.events.list/projectName": project_name -"/clouderrorreporting:v1beta1/clouderrorreporting.projects.events.list/groupId": group_id -"/clouderrorreporting:v1beta1/clouderrorreporting.projects.events.report": report_project_event -"/clouderrorreporting:v1beta1/clouderrorreporting.projects.events.report/projectName": project_name "/clouderrorreporting:v1beta1/clouderrorreporting.projects.groups.get": get_project_group "/clouderrorreporting:v1beta1/clouderrorreporting.projects.groups.get/groupName": group_name "/clouderrorreporting:v1beta1/clouderrorreporting.projects.groups.update": update_project_group "/clouderrorreporting:v1beta1/clouderrorreporting.projects.groups.update/name": name "/clouderrorreporting:v1beta1/clouderrorreporting.projects.groupStats.list": list_project_group_stats +"/clouderrorreporting:v1beta1/clouderrorreporting.projects.groupStats.list/pageToken": page_token "/clouderrorreporting:v1beta1/clouderrorreporting.projects.groupStats.list/timeRange.period": time_range_period "/clouderrorreporting:v1beta1/clouderrorreporting.projects.groupStats.list/alignment": alignment "/clouderrorreporting:v1beta1/clouderrorreporting.projects.groupStats.list/groupId": group_id @@ -13715,78 +13781,77 @@ "/clouderrorreporting:v1beta1/clouderrorreporting.projects.groupStats.list/pageSize": page_size "/clouderrorreporting:v1beta1/clouderrorreporting.projects.groupStats.list/order": order "/clouderrorreporting:v1beta1/clouderrorreporting.projects.groupStats.list/serviceFilter.version": service_filter_version -"/clouderrorreporting:v1beta1/clouderrorreporting.projects.groupStats.list/serviceFilter.resourceType": service_filter_resource_type "/clouderrorreporting:v1beta1/clouderrorreporting.projects.groupStats.list/alignmentTime": alignment_time +"/clouderrorreporting:v1beta1/clouderrorreporting.projects.groupStats.list/serviceFilter.resourceType": service_filter_resource_type "/clouderrorreporting:v1beta1/clouderrorreporting.projects.groupStats.list/projectName": project_name "/clouderrorreporting:v1beta1/clouderrorreporting.projects.groupStats.list/timedCountDuration": timed_count_duration -"/clouderrorreporting:v1beta1/clouderrorreporting.projects.groupStats.list/pageToken": page_token -"/clouderrorreporting:v1beta1/ErrorGroupStats": error_group_stats -"/clouderrorreporting:v1beta1/ErrorGroupStats/group": group -"/clouderrorreporting:v1beta1/ErrorGroupStats/firstSeenTime": first_seen_time -"/clouderrorreporting:v1beta1/ErrorGroupStats/count": count -"/clouderrorreporting:v1beta1/ErrorGroupStats/affectedUsersCount": affected_users_count -"/clouderrorreporting:v1beta1/ErrorGroupStats/lastSeenTime": last_seen_time -"/clouderrorreporting:v1beta1/ErrorGroupStats/numAffectedServices": num_affected_services -"/clouderrorreporting:v1beta1/ErrorGroupStats/affectedServices": affected_services -"/clouderrorreporting:v1beta1/ErrorGroupStats/affectedServices/affected_service": affected_service -"/clouderrorreporting:v1beta1/ErrorGroupStats/representative": representative -"/clouderrorreporting:v1beta1/ErrorGroupStats/timedCounts": timed_counts -"/clouderrorreporting:v1beta1/ErrorGroupStats/timedCounts/timed_count": timed_count -"/clouderrorreporting:v1beta1/ListEventsResponse": list_events_response -"/clouderrorreporting:v1beta1/ListEventsResponse/timeRangeBegin": time_range_begin -"/clouderrorreporting:v1beta1/ListEventsResponse/errorEvents": error_events -"/clouderrorreporting:v1beta1/ListEventsResponse/errorEvents/error_event": error_event -"/clouderrorreporting:v1beta1/ListEventsResponse/nextPageToken": next_page_token -"/clouderrorreporting:v1beta1/TimedCount": timed_count -"/clouderrorreporting:v1beta1/TimedCount/endTime": end_time -"/clouderrorreporting:v1beta1/TimedCount/count": count -"/clouderrorreporting:v1beta1/TimedCount/startTime": start_time -"/clouderrorreporting:v1beta1/ErrorGroup": error_group -"/clouderrorreporting:v1beta1/ErrorGroup/name": name -"/clouderrorreporting:v1beta1/ErrorGroup/groupId": group_id -"/clouderrorreporting:v1beta1/ErrorGroup/trackingIssues": tracking_issues -"/clouderrorreporting:v1beta1/ErrorGroup/trackingIssues/tracking_issue": tracking_issue -"/clouderrorreporting:v1beta1/ServiceContext": service_context -"/clouderrorreporting:v1beta1/ServiceContext/version": version -"/clouderrorreporting:v1beta1/ServiceContext/service": service -"/clouderrorreporting:v1beta1/ServiceContext/resourceType": resource_type -"/clouderrorreporting:v1beta1/SourceLocation": source_location -"/clouderrorreporting:v1beta1/SourceLocation/functionName": function_name -"/clouderrorreporting:v1beta1/SourceLocation/filePath": file_path -"/clouderrorreporting:v1beta1/SourceLocation/lineNumber": line_number -"/clouderrorreporting:v1beta1/ReportErrorEventResponse": report_error_event_response -"/clouderrorreporting:v1beta1/HttpRequestContext": http_request_context -"/clouderrorreporting:v1beta1/HttpRequestContext/referrer": referrer -"/clouderrorreporting:v1beta1/HttpRequestContext/userAgent": user_agent -"/clouderrorreporting:v1beta1/HttpRequestContext/url": url -"/clouderrorreporting:v1beta1/HttpRequestContext/responseStatusCode": response_status_code -"/clouderrorreporting:v1beta1/HttpRequestContext/method": method_prop -"/clouderrorreporting:v1beta1/HttpRequestContext/remoteIp": remote_ip -"/clouderrorreporting:v1beta1/ListGroupStatsResponse": list_group_stats_response -"/clouderrorreporting:v1beta1/ListGroupStatsResponse/timeRangeBegin": time_range_begin -"/clouderrorreporting:v1beta1/ListGroupStatsResponse/errorGroupStats": error_group_stats -"/clouderrorreporting:v1beta1/ListGroupStatsResponse/errorGroupStats/error_group_stat": error_group_stat -"/clouderrorreporting:v1beta1/ListGroupStatsResponse/nextPageToken": next_page_token -"/clouderrorreporting:v1beta1/DeleteEventsResponse": delete_events_response -"/clouderrorreporting:v1beta1/ErrorEvent": error_event -"/clouderrorreporting:v1beta1/ErrorEvent/context": context -"/clouderrorreporting:v1beta1/ErrorEvent/message": message -"/clouderrorreporting:v1beta1/ErrorEvent/serviceContext": service_context -"/clouderrorreporting:v1beta1/ErrorEvent/eventTime": event_time "/clouderrorreporting:v1beta1/ReportedErrorEvent": reported_error_event "/clouderrorreporting:v1beta1/ReportedErrorEvent/context": context "/clouderrorreporting:v1beta1/ReportedErrorEvent/message": message "/clouderrorreporting:v1beta1/ReportedErrorEvent/serviceContext": service_context "/clouderrorreporting:v1beta1/ReportedErrorEvent/eventTime": event_time "/clouderrorreporting:v1beta1/ErrorContext": error_context +"/clouderrorreporting:v1beta1/ErrorContext/reportLocation": report_location "/clouderrorreporting:v1beta1/ErrorContext/httpRequest": http_request "/clouderrorreporting:v1beta1/ErrorContext/user": user -"/clouderrorreporting:v1beta1/ErrorContext/reportLocation": report_location "/clouderrorreporting:v1beta1/TrackingIssue": tracking_issue "/clouderrorreporting:v1beta1/TrackingIssue/url": url -"/cloudfunctions:v1/fields": fields +"/clouderrorreporting:v1beta1/ErrorGroupStats": error_group_stats +"/clouderrorreporting:v1beta1/ErrorGroupStats/affectedServices": affected_services +"/clouderrorreporting:v1beta1/ErrorGroupStats/affectedServices/affected_service": affected_service +"/clouderrorreporting:v1beta1/ErrorGroupStats/numAffectedServices": num_affected_services +"/clouderrorreporting:v1beta1/ErrorGroupStats/representative": representative +"/clouderrorreporting:v1beta1/ErrorGroupStats/timedCounts": timed_counts +"/clouderrorreporting:v1beta1/ErrorGroupStats/timedCounts/timed_count": timed_count +"/clouderrorreporting:v1beta1/ErrorGroupStats/group": group +"/clouderrorreporting:v1beta1/ErrorGroupStats/firstSeenTime": first_seen_time +"/clouderrorreporting:v1beta1/ErrorGroupStats/count": count +"/clouderrorreporting:v1beta1/ErrorGroupStats/affectedUsersCount": affected_users_count +"/clouderrorreporting:v1beta1/ErrorGroupStats/lastSeenTime": last_seen_time +"/clouderrorreporting:v1beta1/ListEventsResponse": list_events_response +"/clouderrorreporting:v1beta1/ListEventsResponse/errorEvents": error_events +"/clouderrorreporting:v1beta1/ListEventsResponse/errorEvents/error_event": error_event +"/clouderrorreporting:v1beta1/ListEventsResponse/nextPageToken": next_page_token +"/clouderrorreporting:v1beta1/ListEventsResponse/timeRangeBegin": time_range_begin +"/clouderrorreporting:v1beta1/TimedCount": timed_count +"/clouderrorreporting:v1beta1/TimedCount/endTime": end_time +"/clouderrorreporting:v1beta1/TimedCount/count": count +"/clouderrorreporting:v1beta1/TimedCount/startTime": start_time +"/clouderrorreporting:v1beta1/ErrorGroup": error_group +"/clouderrorreporting:v1beta1/ErrorGroup/groupId": group_id +"/clouderrorreporting:v1beta1/ErrorGroup/trackingIssues": tracking_issues +"/clouderrorreporting:v1beta1/ErrorGroup/trackingIssues/tracking_issue": tracking_issue +"/clouderrorreporting:v1beta1/ErrorGroup/name": name +"/clouderrorreporting:v1beta1/ServiceContext": service_context +"/clouderrorreporting:v1beta1/ServiceContext/service": service +"/clouderrorreporting:v1beta1/ServiceContext/resourceType": resource_type +"/clouderrorreporting:v1beta1/ServiceContext/version": version +"/clouderrorreporting:v1beta1/SourceLocation": source_location +"/clouderrorreporting:v1beta1/SourceLocation/filePath": file_path +"/clouderrorreporting:v1beta1/SourceLocation/lineNumber": line_number +"/clouderrorreporting:v1beta1/SourceLocation/functionName": function_name +"/clouderrorreporting:v1beta1/ReportErrorEventResponse": report_error_event_response +"/clouderrorreporting:v1beta1/HttpRequestContext": http_request_context +"/clouderrorreporting:v1beta1/HttpRequestContext/method": method_prop +"/clouderrorreporting:v1beta1/HttpRequestContext/remoteIp": remote_ip +"/clouderrorreporting:v1beta1/HttpRequestContext/referrer": referrer +"/clouderrorreporting:v1beta1/HttpRequestContext/userAgent": user_agent +"/clouderrorreporting:v1beta1/HttpRequestContext/url": url +"/clouderrorreporting:v1beta1/HttpRequestContext/responseStatusCode": response_status_code +"/clouderrorreporting:v1beta1/ListGroupStatsResponse": list_group_stats_response +"/clouderrorreporting:v1beta1/ListGroupStatsResponse/nextPageToken": next_page_token +"/clouderrorreporting:v1beta1/ListGroupStatsResponse/timeRangeBegin": time_range_begin +"/clouderrorreporting:v1beta1/ListGroupStatsResponse/errorGroupStats": error_group_stats +"/clouderrorreporting:v1beta1/ListGroupStatsResponse/errorGroupStats/error_group_stat": error_group_stat +"/clouderrorreporting:v1beta1/DeleteEventsResponse": delete_events_response +"/clouderrorreporting:v1beta1/ErrorEvent": error_event +"/clouderrorreporting:v1beta1/ErrorEvent/context": context +"/clouderrorreporting:v1beta1/ErrorEvent/message": message +"/clouderrorreporting:v1beta1/ErrorEvent/serviceContext": service_context +"/clouderrorreporting:v1beta1/ErrorEvent/eventTime": event_time "/cloudfunctions:v1/key": key "/cloudfunctions:v1/quotaUser": quota_user +"/cloudfunctions:v1/fields": fields "/cloudfunctions:v1/cloudfunctions.projects.locations.get": get_project_location "/cloudfunctions:v1/cloudfunctions.projects.locations.get/name": name "/cloudfunctions:v1/Location": location @@ -13797,20 +13862,26 @@ "/cloudfunctions:v1/Location/name": name "/cloudfunctions:v1/Location/locationId": location_id "/cloudfunctions:v1/OperationMetadataV1Beta2": operation_metadata_v1_beta2 -"/cloudfunctions:v1/OperationMetadataV1Beta2/target": target "/cloudfunctions:v1/OperationMetadataV1Beta2/request": request "/cloudfunctions:v1/OperationMetadataV1Beta2/request/request": request "/cloudfunctions:v1/OperationMetadataV1Beta2/type": type +"/cloudfunctions:v1/OperationMetadataV1Beta2/target": target "/cloudkms:v1/fields": fields "/cloudkms:v1/key": key "/cloudkms:v1/quotaUser": quota_user "/cloudkms:v1/cloudkms.projects.locations.list": list_project_locations +"/cloudkms:v1/cloudkms.projects.locations.list/filter": filter "/cloudkms:v1/cloudkms.projects.locations.list/name": name "/cloudkms:v1/cloudkms.projects.locations.list/pageToken": page_token "/cloudkms:v1/cloudkms.projects.locations.list/pageSize": page_size -"/cloudkms:v1/cloudkms.projects.locations.list/filter": filter "/cloudkms:v1/cloudkms.projects.locations.get": get_project_location "/cloudkms:v1/cloudkms.projects.locations.get/name": name +"/cloudkms:v1/cloudkms.projects.locations.keyRings.getIamPolicy": get_project_location_key_ring_iam_policy +"/cloudkms:v1/cloudkms.projects.locations.keyRings.getIamPolicy/resource": resource +"/cloudkms:v1/cloudkms.projects.locations.keyRings.get": get_project_location_key_ring +"/cloudkms:v1/cloudkms.projects.locations.keyRings.get/name": name +"/cloudkms:v1/cloudkms.projects.locations.keyRings.testIamPermissions": test_key_ring_iam_permissions +"/cloudkms:v1/cloudkms.projects.locations.keyRings.testIamPermissions/resource": resource "/cloudkms:v1/cloudkms.projects.locations.keyRings.list": list_project_location_key_rings "/cloudkms:v1/cloudkms.projects.locations.keyRings.list/pageToken": page_token "/cloudkms:v1/cloudkms.projects.locations.keyRings.list/pageSize": page_size @@ -13820,82 +13891,56 @@ "/cloudkms:v1/cloudkms.projects.locations.keyRings.create/keyRingId": key_ring_id "/cloudkms:v1/cloudkms.projects.locations.keyRings.setIamPolicy": set_key_ring_iam_policy "/cloudkms:v1/cloudkms.projects.locations.keyRings.setIamPolicy/resource": resource -"/cloudkms:v1/cloudkms.projects.locations.keyRings.getIamPolicy": get_project_location_key_ring_iam_policy -"/cloudkms:v1/cloudkms.projects.locations.keyRings.getIamPolicy/resource": resource -"/cloudkms:v1/cloudkms.projects.locations.keyRings.get": get_project_location_key_ring -"/cloudkms:v1/cloudkms.projects.locations.keyRings.get/name": name -"/cloudkms:v1/cloudkms.projects.locations.keyRings.testIamPermissions": test_key_ring_iam_permissions -"/cloudkms:v1/cloudkms.projects.locations.keyRings.testIamPermissions/resource": resource "/cloudkms:v1/cloudkms.projects.locations.keyRings.cryptoKeys.list": list_project_location_key_ring_crypto_keys "/cloudkms:v1/cloudkms.projects.locations.keyRings.cryptoKeys.list/parent": parent "/cloudkms:v1/cloudkms.projects.locations.keyRings.cryptoKeys.list/pageToken": page_token "/cloudkms:v1/cloudkms.projects.locations.keyRings.cryptoKeys.list/pageSize": page_size "/cloudkms:v1/cloudkms.projects.locations.keyRings.cryptoKeys.encrypt": encrypt_crypto_key "/cloudkms:v1/cloudkms.projects.locations.keyRings.cryptoKeys.encrypt/name": name -"/cloudkms:v1/cloudkms.projects.locations.keyRings.cryptoKeys.create": create_project_location_key_ring_crypto_key -"/cloudkms:v1/cloudkms.projects.locations.keyRings.cryptoKeys.create/parent": parent -"/cloudkms:v1/cloudkms.projects.locations.keyRings.cryptoKeys.create/cryptoKeyId": crypto_key_id "/cloudkms:v1/cloudkms.projects.locations.keyRings.cryptoKeys.setIamPolicy": set_crypto_key_iam_policy "/cloudkms:v1/cloudkms.projects.locations.keyRings.cryptoKeys.setIamPolicy/resource": resource +"/cloudkms:v1/cloudkms.projects.locations.keyRings.cryptoKeys.create": create_project_location_key_ring_crypto_key +"/cloudkms:v1/cloudkms.projects.locations.keyRings.cryptoKeys.create/cryptoKeyId": crypto_key_id +"/cloudkms:v1/cloudkms.projects.locations.keyRings.cryptoKeys.create/parent": parent "/cloudkms:v1/cloudkms.projects.locations.keyRings.cryptoKeys.updatePrimaryVersion": update_project_location_key_ring_crypto_key_primary_version "/cloudkms:v1/cloudkms.projects.locations.keyRings.cryptoKeys.updatePrimaryVersion/name": name "/cloudkms:v1/cloudkms.projects.locations.keyRings.cryptoKeys.getIamPolicy": get_project_location_key_ring_crypto_key_iam_policy "/cloudkms:v1/cloudkms.projects.locations.keyRings.cryptoKeys.getIamPolicy/resource": resource -"/cloudkms:v1/cloudkms.projects.locations.keyRings.cryptoKeys.get": get_project_location_key_ring_crypto_key -"/cloudkms:v1/cloudkms.projects.locations.keyRings.cryptoKeys.get/name": name "/cloudkms:v1/cloudkms.projects.locations.keyRings.cryptoKeys.patch": patch_project_location_key_ring_crypto_key "/cloudkms:v1/cloudkms.projects.locations.keyRings.cryptoKeys.patch/updateMask": update_mask "/cloudkms:v1/cloudkms.projects.locations.keyRings.cryptoKeys.patch/name": name +"/cloudkms:v1/cloudkms.projects.locations.keyRings.cryptoKeys.get": get_project_location_key_ring_crypto_key +"/cloudkms:v1/cloudkms.projects.locations.keyRings.cryptoKeys.get/name": name "/cloudkms:v1/cloudkms.projects.locations.keyRings.cryptoKeys.testIamPermissions": test_crypto_key_iam_permissions "/cloudkms:v1/cloudkms.projects.locations.keyRings.cryptoKeys.testIamPermissions/resource": resource "/cloudkms:v1/cloudkms.projects.locations.keyRings.cryptoKeys.decrypt": decrypt_crypto_key "/cloudkms:v1/cloudkms.projects.locations.keyRings.cryptoKeys.decrypt/name": name -"/cloudkms:v1/cloudkms.projects.locations.keyRings.cryptoKeys.cryptoKeyVersions.create": create_project_location_key_ring_crypto_key_crypto_key_version -"/cloudkms:v1/cloudkms.projects.locations.keyRings.cryptoKeys.cryptoKeyVersions.create/parent": parent "/cloudkms:v1/cloudkms.projects.locations.keyRings.cryptoKeys.cryptoKeyVersions.destroy": destroy_crypto_key_version "/cloudkms:v1/cloudkms.projects.locations.keyRings.cryptoKeys.cryptoKeyVersions.destroy/name": name +"/cloudkms:v1/cloudkms.projects.locations.keyRings.cryptoKeys.cryptoKeyVersions.create": create_project_location_key_ring_crypto_key_crypto_key_version +"/cloudkms:v1/cloudkms.projects.locations.keyRings.cryptoKeys.cryptoKeyVersions.create/parent": parent "/cloudkms:v1/cloudkms.projects.locations.keyRings.cryptoKeys.cryptoKeyVersions.restore": restore_crypto_key_version "/cloudkms:v1/cloudkms.projects.locations.keyRings.cryptoKeys.cryptoKeyVersions.restore/name": name "/cloudkms:v1/cloudkms.projects.locations.keyRings.cryptoKeys.cryptoKeyVersions.patch": patch_project_location_key_ring_crypto_key_crypto_key_version -"/cloudkms:v1/cloudkms.projects.locations.keyRings.cryptoKeys.cryptoKeyVersions.patch/updateMask": update_mask "/cloudkms:v1/cloudkms.projects.locations.keyRings.cryptoKeys.cryptoKeyVersions.patch/name": name +"/cloudkms:v1/cloudkms.projects.locations.keyRings.cryptoKeys.cryptoKeyVersions.patch/updateMask": update_mask "/cloudkms:v1/cloudkms.projects.locations.keyRings.cryptoKeys.cryptoKeyVersions.get": get_project_location_key_ring_crypto_key_crypto_key_version "/cloudkms:v1/cloudkms.projects.locations.keyRings.cryptoKeys.cryptoKeyVersions.get/name": name "/cloudkms:v1/cloudkms.projects.locations.keyRings.cryptoKeys.cryptoKeyVersions.list": list_project_location_key_ring_crypto_key_crypto_key_versions +"/cloudkms:v1/cloudkms.projects.locations.keyRings.cryptoKeys.cryptoKeyVersions.list/parent": parent "/cloudkms:v1/cloudkms.projects.locations.keyRings.cryptoKeys.cryptoKeyVersions.list/pageToken": page_token "/cloudkms:v1/cloudkms.projects.locations.keyRings.cryptoKeys.cryptoKeyVersions.list/pageSize": page_size -"/cloudkms:v1/cloudkms.projects.locations.keyRings.cryptoKeys.cryptoKeyVersions.list/parent": parent -"/cloudkms:v1/Condition": condition -"/cloudkms:v1/Condition/op": op -"/cloudkms:v1/Condition/svc": svc -"/cloudkms:v1/Condition/sys": sys -"/cloudkms:v1/Condition/value": value -"/cloudkms:v1/Condition/values": values -"/cloudkms:v1/Condition/values/value": value -"/cloudkms:v1/Condition/iam": iam -"/cloudkms:v1/CounterOptions": counter_options -"/cloudkms:v1/CounterOptions/metric": metric -"/cloudkms:v1/CounterOptions/field": field -"/cloudkms:v1/AuditLogConfig": audit_log_config -"/cloudkms:v1/AuditLogConfig/exemptedMembers": exempted_members -"/cloudkms:v1/AuditLogConfig/exemptedMembers/exempted_member": exempted_member -"/cloudkms:v1/AuditLogConfig/logType": log_type "/cloudkms:v1/DecryptResponse": decrypt_response "/cloudkms:v1/DecryptResponse/plaintext": plaintext "/cloudkms:v1/TestIamPermissionsRequest": test_iam_permissions_request "/cloudkms:v1/TestIamPermissionsRequest/permissions": permissions "/cloudkms:v1/TestIamPermissionsRequest/permissions/permission": permission -"/cloudkms:v1/KeyRing": key_ring -"/cloudkms:v1/KeyRing/name": name -"/cloudkms:v1/KeyRing/createTime": create_time -"/cloudkms:v1/EncryptResponse": encrypt_response -"/cloudkms:v1/EncryptResponse/ciphertext": ciphertext -"/cloudkms:v1/EncryptResponse/name": name "/cloudkms:v1/ListLocationsResponse": list_locations_response "/cloudkms:v1/ListLocationsResponse/locations": locations "/cloudkms:v1/ListLocationsResponse/locations/location": location "/cloudkms:v1/ListLocationsResponse/nextPageToken": next_page_token "/cloudkms:v1/Policy": policy +"/cloudkms:v1/Policy/etag": etag "/cloudkms:v1/Policy/iamOwned": iam_owned "/cloudkms:v1/Policy/rules": rules "/cloudkms:v1/Policy/rules/rule": rule @@ -13904,16 +13949,21 @@ "/cloudkms:v1/Policy/auditConfigs/audit_config": audit_config "/cloudkms:v1/Policy/bindings": bindings "/cloudkms:v1/Policy/bindings/binding": binding -"/cloudkms:v1/Policy/etag": etag +"/cloudkms:v1/EncryptResponse": encrypt_response +"/cloudkms:v1/EncryptResponse/name": name +"/cloudkms:v1/EncryptResponse/ciphertext": ciphertext +"/cloudkms:v1/KeyRing": key_ring +"/cloudkms:v1/KeyRing/createTime": create_time +"/cloudkms:v1/KeyRing/name": name "/cloudkms:v1/RestoreCryptoKeyVersionRequest": restore_crypto_key_version_request "/cloudkms:v1/UpdateCryptoKeyPrimaryVersionRequest": update_crypto_key_primary_version_request "/cloudkms:v1/UpdateCryptoKeyPrimaryVersionRequest/cryptoKeyVersionId": crypto_key_version_id +"/cloudkms:v1/DataAccessOptions": data_access_options "/cloudkms:v1/ListKeyRingsResponse": list_key_rings_response "/cloudkms:v1/ListKeyRingsResponse/nextPageToken": next_page_token "/cloudkms:v1/ListKeyRingsResponse/totalSize": total_size "/cloudkms:v1/ListKeyRingsResponse/keyRings": key_rings "/cloudkms:v1/ListKeyRingsResponse/keyRings/key_ring": key_ring -"/cloudkms:v1/DataAccessOptions": data_access_options "/cloudkms:v1/AuditConfig": audit_config "/cloudkms:v1/AuditConfig/service": service "/cloudkms:v1/AuditConfig/auditLogConfigs": audit_log_configs @@ -13921,11 +13971,11 @@ "/cloudkms:v1/AuditConfig/exemptedMembers": exempted_members "/cloudkms:v1/AuditConfig/exemptedMembers/exempted_member": exempted_member "/cloudkms:v1/CryptoKeyVersion": crypto_key_version +"/cloudkms:v1/CryptoKeyVersion/destroyTime": destroy_time +"/cloudkms:v1/CryptoKeyVersion/createTime": create_time "/cloudkms:v1/CryptoKeyVersion/state": state "/cloudkms:v1/CryptoKeyVersion/name": name "/cloudkms:v1/CryptoKeyVersion/destroyEventTime": destroy_event_time -"/cloudkms:v1/CryptoKeyVersion/destroyTime": destroy_time -"/cloudkms:v1/CryptoKeyVersion/createTime": create_time "/cloudkms:v1/CloudAuditOptions": cloud_audit_options "/cloudkms:v1/Binding": binding "/cloudkms:v1/Binding/members": members @@ -13935,17 +13985,22 @@ "/cloudkms:v1/EncryptRequest/plaintext": plaintext "/cloudkms:v1/EncryptRequest/additionalAuthenticatedData": additional_authenticated_data "/cloudkms:v1/ListCryptoKeyVersionsResponse": list_crypto_key_versions_response -"/cloudkms:v1/ListCryptoKeyVersionsResponse/cryptoKeyVersions": crypto_key_versions -"/cloudkms:v1/ListCryptoKeyVersionsResponse/cryptoKeyVersions/crypto_key_version": crypto_key_version "/cloudkms:v1/ListCryptoKeyVersionsResponse/nextPageToken": next_page_token "/cloudkms:v1/ListCryptoKeyVersionsResponse/totalSize": total_size +"/cloudkms:v1/ListCryptoKeyVersionsResponse/cryptoKeyVersions": crypto_key_versions +"/cloudkms:v1/ListCryptoKeyVersionsResponse/cryptoKeyVersions/crypto_key_version": crypto_key_version "/cloudkms:v1/TestIamPermissionsResponse": test_iam_permissions_response "/cloudkms:v1/TestIamPermissionsResponse/permissions": permissions "/cloudkms:v1/TestIamPermissionsResponse/permissions/permission": permission "/cloudkms:v1/DestroyCryptoKeyVersionRequest": destroy_crypto_key_version_request +"/cloudkms:v1/CryptoKey": crypto_key +"/cloudkms:v1/CryptoKey/primary": primary +"/cloudkms:v1/CryptoKey/name": name +"/cloudkms:v1/CryptoKey/purpose": purpose +"/cloudkms:v1/CryptoKey/nextRotationTime": next_rotation_time +"/cloudkms:v1/CryptoKey/createTime": create_time +"/cloudkms:v1/CryptoKey/rotationPeriod": rotation_period "/cloudkms:v1/Rule": rule -"/cloudkms:v1/Rule/notIn": not_in -"/cloudkms:v1/Rule/notIn/not_in": not_in "/cloudkms:v1/Rule/description": description "/cloudkms:v1/Rule/conditions": conditions "/cloudkms:v1/Rule/conditions/condition": condition @@ -13956,20 +14011,15 @@ "/cloudkms:v1/Rule/permissions": permissions "/cloudkms:v1/Rule/permissions/permission": permission "/cloudkms:v1/Rule/action": action -"/cloudkms:v1/CryptoKey": crypto_key -"/cloudkms:v1/CryptoKey/purpose": purpose -"/cloudkms:v1/CryptoKey/nextRotationTime": next_rotation_time -"/cloudkms:v1/CryptoKey/createTime": create_time -"/cloudkms:v1/CryptoKey/rotationPeriod": rotation_period -"/cloudkms:v1/CryptoKey/primary": primary -"/cloudkms:v1/CryptoKey/name": name +"/cloudkms:v1/Rule/notIn": not_in +"/cloudkms:v1/Rule/notIn/not_in": not_in "/cloudkms:v1/LogConfig": log_config "/cloudkms:v1/LogConfig/cloudAudit": cloud_audit "/cloudkms:v1/LogConfig/counter": counter "/cloudkms:v1/LogConfig/dataAccess": data_access "/cloudkms:v1/SetIamPolicyRequest": set_iam_policy_request -"/cloudkms:v1/SetIamPolicyRequest/policy": policy "/cloudkms:v1/SetIamPolicyRequest/updateMask": update_mask +"/cloudkms:v1/SetIamPolicyRequest/policy": policy "/cloudkms:v1/DecryptRequest": decrypt_request "/cloudkms:v1/DecryptRequest/ciphertext": ciphertext "/cloudkms:v1/DecryptRequest/additionalAuthenticatedData": additional_authenticated_data @@ -13985,6 +14035,21 @@ "/cloudkms:v1/ListCryptoKeysResponse/cryptoKeys": crypto_keys "/cloudkms:v1/ListCryptoKeysResponse/cryptoKeys/crypto_key": crypto_key "/cloudkms:v1/ListCryptoKeysResponse/totalSize": total_size +"/cloudkms:v1/Condition": condition +"/cloudkms:v1/Condition/values": values +"/cloudkms:v1/Condition/values/value": value +"/cloudkms:v1/Condition/iam": iam +"/cloudkms:v1/Condition/op": op +"/cloudkms:v1/Condition/svc": svc +"/cloudkms:v1/Condition/sys": sys +"/cloudkms:v1/Condition/value": value +"/cloudkms:v1/CounterOptions": counter_options +"/cloudkms:v1/CounterOptions/metric": metric +"/cloudkms:v1/CounterOptions/field": field +"/cloudkms:v1/AuditLogConfig": audit_log_config +"/cloudkms:v1/AuditLogConfig/exemptedMembers": exempted_members +"/cloudkms:v1/AuditLogConfig/exemptedMembers/exempted_member": exempted_member +"/cloudkms:v1/AuditLogConfig/logType": log_type "/cloudmonitoring:v2beta2/fields": fields "/cloudmonitoring:v2beta2/key": key "/cloudmonitoring:v2beta2/quotaUser": quota_user @@ -14108,37 +14173,37 @@ "/cloudmonitoring:v2beta2/WriteTimeseriesRequest/timeseries/timeseries": timeseries "/cloudmonitoring:v2beta2/WriteTimeseriesResponse": write_timeseries_response "/cloudmonitoring:v2beta2/WriteTimeseriesResponse/kind": kind -"/cloudresourcemanager:v1/quotaUser": quota_user "/cloudresourcemanager:v1/fields": fields "/cloudresourcemanager:v1/key": key -"/cloudresourcemanager:v1/cloudresourcemanager.organizations.clearOrgPolicy": clear_organization_org_policy -"/cloudresourcemanager:v1/cloudresourcemanager.organizations.clearOrgPolicy/resource": resource -"/cloudresourcemanager:v1/cloudresourcemanager.organizations.setOrgPolicy": set_organization_org_policy -"/cloudresourcemanager:v1/cloudresourcemanager.organizations.setOrgPolicy/resource": resource -"/cloudresourcemanager:v1/cloudresourcemanager.organizations.setIamPolicy": set_organization_iam_policy -"/cloudresourcemanager:v1/cloudresourcemanager.organizations.setIamPolicy/resource": resource +"/cloudresourcemanager:v1/quotaUser": quota_user "/cloudresourcemanager:v1/cloudresourcemanager.organizations.listOrgPolicies": list_organization_org_policies "/cloudresourcemanager:v1/cloudresourcemanager.organizations.listOrgPolicies/resource": resource "/cloudresourcemanager:v1/cloudresourcemanager.organizations.listAvailableOrgPolicyConstraints": list_organization_available_org_policy_constraints "/cloudresourcemanager:v1/cloudresourcemanager.organizations.listAvailableOrgPolicyConstraints/resource": resource "/cloudresourcemanager:v1/cloudresourcemanager.organizations.getIamPolicy": get_organization_iam_policy "/cloudresourcemanager:v1/cloudresourcemanager.organizations.getIamPolicy/resource": resource -"/cloudresourcemanager:v1/cloudresourcemanager.organizations.search": search_organizations "/cloudresourcemanager:v1/cloudresourcemanager.organizations.getOrgPolicy": get_organization_org_policy "/cloudresourcemanager:v1/cloudresourcemanager.organizations.getOrgPolicy/resource": resource +"/cloudresourcemanager:v1/cloudresourcemanager.organizations.search": search_organizations "/cloudresourcemanager:v1/cloudresourcemanager.organizations.getEffectiveOrgPolicy": get_organization_effective_org_policy "/cloudresourcemanager:v1/cloudresourcemanager.organizations.getEffectiveOrgPolicy/resource": resource "/cloudresourcemanager:v1/cloudresourcemanager.organizations.get": get_organization "/cloudresourcemanager:v1/cloudresourcemanager.organizations.get/name": name "/cloudresourcemanager:v1/cloudresourcemanager.organizations.testIamPermissions": test_organization_iam_permissions "/cloudresourcemanager:v1/cloudresourcemanager.organizations.testIamPermissions/resource": resource +"/cloudresourcemanager:v1/cloudresourcemanager.organizations.clearOrgPolicy": clear_organization_org_policy +"/cloudresourcemanager:v1/cloudresourcemanager.organizations.clearOrgPolicy/resource": resource +"/cloudresourcemanager:v1/cloudresourcemanager.organizations.setOrgPolicy": set_organization_org_policy +"/cloudresourcemanager:v1/cloudresourcemanager.organizations.setOrgPolicy/resource": resource +"/cloudresourcemanager:v1/cloudresourcemanager.organizations.setIamPolicy": set_organization_iam_policy +"/cloudresourcemanager:v1/cloudresourcemanager.organizations.setIamPolicy/resource": resource +"/cloudresourcemanager:v1/cloudresourcemanager.liens.create": create_lien "/cloudresourcemanager:v1/cloudresourcemanager.liens.delete": delete_lien "/cloudresourcemanager:v1/cloudresourcemanager.liens.delete/name": name "/cloudresourcemanager:v1/cloudresourcemanager.liens.list": list_liens "/cloudresourcemanager:v1/cloudresourcemanager.liens.list/parent": parent "/cloudresourcemanager:v1/cloudresourcemanager.liens.list/pageToken": page_token "/cloudresourcemanager:v1/cloudresourcemanager.liens.list/pageSize": page_size -"/cloudresourcemanager:v1/cloudresourcemanager.liens.create": create_lien "/cloudresourcemanager:v1/cloudresourcemanager.operations.get": get_operation "/cloudresourcemanager:v1/cloudresourcemanager.operations.get/name": name "/cloudresourcemanager:v1/cloudresourcemanager.folders.clearOrgPolicy": clear_folder_org_policy @@ -14153,14 +14218,6 @@ "/cloudresourcemanager:v1/cloudresourcemanager.folders.getOrgPolicy/resource": resource "/cloudresourcemanager:v1/cloudresourcemanager.folders.getEffectiveOrgPolicy": get_folder_effective_org_policy "/cloudresourcemanager:v1/cloudresourcemanager.folders.getEffectiveOrgPolicy/resource": resource -"/cloudresourcemanager:v1/cloudresourcemanager.projects.getAncestry": get_project_ancestry -"/cloudresourcemanager:v1/cloudresourcemanager.projects.getAncestry/projectId": project_id -"/cloudresourcemanager:v1/cloudresourcemanager.projects.testIamPermissions": test_project_iam_permissions -"/cloudresourcemanager:v1/cloudresourcemanager.projects.testIamPermissions/resource": resource -"/cloudresourcemanager:v1/cloudresourcemanager.projects.delete": delete_project -"/cloudresourcemanager:v1/cloudresourcemanager.projects.delete/projectId": project_id -"/cloudresourcemanager:v1/cloudresourcemanager.projects.clearOrgPolicy": clear_project_org_policy -"/cloudresourcemanager:v1/cloudresourcemanager.projects.clearOrgPolicy/resource": resource "/cloudresourcemanager:v1/cloudresourcemanager.projects.setIamPolicy": set_project_iam_policy "/cloudresourcemanager:v1/cloudresourcemanager.projects.setIamPolicy/resource": resource "/cloudresourcemanager:v1/cloudresourcemanager.projects.listAvailableOrgPolicyConstraints": list_project_available_org_policy_constraints @@ -14186,28 +14243,19 @@ "/cloudresourcemanager:v1/cloudresourcemanager.projects.listOrgPolicies/resource": resource "/cloudresourcemanager:v1/cloudresourcemanager.projects.get": get_project "/cloudresourcemanager:v1/cloudresourcemanager.projects.get/projectId": project_id -"/cloudresourcemanager:v1/GetEffectiveOrgPolicyRequest": get_effective_org_policy_request -"/cloudresourcemanager:v1/GetEffectiveOrgPolicyRequest/constraint": constraint -"/cloudresourcemanager:v1/ListOrgPoliciesRequest": list_org_policies_request -"/cloudresourcemanager:v1/ListOrgPoliciesRequest/pageToken": page_token -"/cloudresourcemanager:v1/ListOrgPoliciesRequest/pageSize": page_size -"/cloudresourcemanager:v1/AuditConfig": audit_config -"/cloudresourcemanager:v1/AuditConfig/service": service -"/cloudresourcemanager:v1/AuditConfig/auditLogConfigs": audit_log_configs -"/cloudresourcemanager:v1/AuditConfig/auditLogConfigs/audit_log_config": audit_log_config -"/cloudresourcemanager:v1/Operation": operation -"/cloudresourcemanager:v1/Operation/response": response -"/cloudresourcemanager:v1/Operation/response/response": response -"/cloudresourcemanager:v1/Operation/name": name -"/cloudresourcemanager:v1/Operation/error": error -"/cloudresourcemanager:v1/Operation/metadata": metadata -"/cloudresourcemanager:v1/Operation/metadata/metadatum": metadatum -"/cloudresourcemanager:v1/Operation/done": done +"/cloudresourcemanager:v1/cloudresourcemanager.projects.getAncestry": get_project_ancestry +"/cloudresourcemanager:v1/cloudresourcemanager.projects.getAncestry/projectId": project_id +"/cloudresourcemanager:v1/cloudresourcemanager.projects.testIamPermissions": test_project_iam_permissions +"/cloudresourcemanager:v1/cloudresourcemanager.projects.testIamPermissions/resource": resource +"/cloudresourcemanager:v1/cloudresourcemanager.projects.delete": delete_project +"/cloudresourcemanager:v1/cloudresourcemanager.projects.delete/projectId": project_id +"/cloudresourcemanager:v1/cloudresourcemanager.projects.clearOrgPolicy": clear_project_org_policy +"/cloudresourcemanager:v1/cloudresourcemanager.projects.clearOrgPolicy/resource": resource "/cloudresourcemanager:v1/Constraint": constraint -"/cloudresourcemanager:v1/Constraint/version": version "/cloudresourcemanager:v1/Constraint/listConstraint": list_constraint -"/cloudresourcemanager:v1/Constraint/displayName": display_name +"/cloudresourcemanager:v1/Constraint/version": version "/cloudresourcemanager:v1/Constraint/description": description +"/cloudresourcemanager:v1/Constraint/displayName": display_name "/cloudresourcemanager:v1/Constraint/booleanConstraint": boolean_constraint "/cloudresourcemanager:v1/Constraint/constraintDefault": constraint_default "/cloudresourcemanager:v1/Constraint/name": name @@ -14248,42 +14296,42 @@ "/cloudresourcemanager:v1/ListProjectsResponse/projects": projects "/cloudresourcemanager:v1/ListProjectsResponse/projects/project": project "/cloudresourcemanager:v1/Project": project -"/cloudresourcemanager:v1/Project/name": name -"/cloudresourcemanager:v1/Project/projectId": project_id "/cloudresourcemanager:v1/Project/lifecycleState": lifecycle_state "/cloudresourcemanager:v1/Project/projectNumber": project_number "/cloudresourcemanager:v1/Project/parent": parent +"/cloudresourcemanager:v1/Project/createTime": create_time "/cloudresourcemanager:v1/Project/labels": labels "/cloudresourcemanager:v1/Project/labels/label": label -"/cloudresourcemanager:v1/Project/createTime": create_time +"/cloudresourcemanager:v1/Project/name": name +"/cloudresourcemanager:v1/Project/projectId": project_id "/cloudresourcemanager:v1/SearchOrganizationsResponse": search_organizations_response "/cloudresourcemanager:v1/SearchOrganizationsResponse/nextPageToken": next_page_token "/cloudresourcemanager:v1/SearchOrganizationsResponse/organizations": organizations "/cloudresourcemanager:v1/SearchOrganizationsResponse/organizations/organization": organization "/cloudresourcemanager:v1/ListOrgPoliciesResponse": list_org_policies_response -"/cloudresourcemanager:v1/ListOrgPoliciesResponse/nextPageToken": next_page_token "/cloudresourcemanager:v1/ListOrgPoliciesResponse/policies": policies "/cloudresourcemanager:v1/ListOrgPoliciesResponse/policies/policy": policy +"/cloudresourcemanager:v1/ListOrgPoliciesResponse/nextPageToken": next_page_token "/cloudresourcemanager:v1/FolderOperationError": folder_operation_error "/cloudresourcemanager:v1/FolderOperationError/errorMessageId": error_message_id "/cloudresourcemanager:v1/BooleanPolicy": boolean_policy "/cloudresourcemanager:v1/BooleanPolicy/enforced": enforced "/cloudresourcemanager:v1/OrgPolicy": org_policy -"/cloudresourcemanager:v1/OrgPolicy/updateTime": update_time -"/cloudresourcemanager:v1/OrgPolicy/version": version -"/cloudresourcemanager:v1/OrgPolicy/restoreDefault": restore_default "/cloudresourcemanager:v1/OrgPolicy/listPolicy": list_policy "/cloudresourcemanager:v1/OrgPolicy/etag": etag "/cloudresourcemanager:v1/OrgPolicy/booleanPolicy": boolean_policy "/cloudresourcemanager:v1/OrgPolicy/constraint": constraint +"/cloudresourcemanager:v1/OrgPolicy/updateTime": update_time +"/cloudresourcemanager:v1/OrgPolicy/version": version +"/cloudresourcemanager:v1/OrgPolicy/restoreDefault": restore_default "/cloudresourcemanager:v1/Lien": lien +"/cloudresourcemanager:v1/Lien/parent": parent +"/cloudresourcemanager:v1/Lien/createTime": create_time "/cloudresourcemanager:v1/Lien/name": name "/cloudresourcemanager:v1/Lien/reason": reason "/cloudresourcemanager:v1/Lien/origin": origin "/cloudresourcemanager:v1/Lien/restrictions": restrictions "/cloudresourcemanager:v1/Lien/restrictions/restriction": restriction -"/cloudresourcemanager:v1/Lien/parent": parent -"/cloudresourcemanager:v1/Lien/createTime": create_time "/cloudresourcemanager:v1/Ancestor": ancestor "/cloudresourcemanager:v1/Ancestor/resourceId": resource_id "/cloudresourcemanager:v1/ListConstraint": list_constraint @@ -14291,15 +14339,15 @@ "/cloudresourcemanager:v1/SetOrgPolicyRequest": set_org_policy_request "/cloudresourcemanager:v1/SetOrgPolicyRequest/policy": policy "/cloudresourcemanager:v1/SetIamPolicyRequest": set_iam_policy_request -"/cloudresourcemanager:v1/SetIamPolicyRequest/policy": policy "/cloudresourcemanager:v1/SetIamPolicyRequest/updateMask": update_mask +"/cloudresourcemanager:v1/SetIamPolicyRequest/policy": policy "/cloudresourcemanager:v1/Empty": empty "/cloudresourcemanager:v1/Organization": organization +"/cloudresourcemanager:v1/Organization/creationTime": creation_time "/cloudresourcemanager:v1/Organization/owner": owner "/cloudresourcemanager:v1/Organization/lifecycleState": lifecycle_state "/cloudresourcemanager:v1/Organization/name": name "/cloudresourcemanager:v1/Organization/displayName": display_name -"/cloudresourcemanager:v1/Organization/creationTime": creation_time "/cloudresourcemanager:v1/ListAvailableOrgPolicyConstraintsResponse": list_available_org_policy_constraints_response "/cloudresourcemanager:v1/ListAvailableOrgPolicyConstraintsResponse/nextPageToken": next_page_token "/cloudresourcemanager:v1/ListAvailableOrgPolicyConstraintsResponse/constraints": constraints @@ -14320,9 +14368,9 @@ "/cloudresourcemanager:v1/AuditLogConfig/exemptedMembers/exempted_member": exempted_member "/cloudresourcemanager:v1/AuditLogConfig/logType": log_type "/cloudresourcemanager:v1/SearchOrganizationsRequest": search_organizations_request -"/cloudresourcemanager:v1/SearchOrganizationsRequest/filter": filter "/cloudresourcemanager:v1/SearchOrganizationsRequest/pageToken": page_token "/cloudresourcemanager:v1/SearchOrganizationsRequest/pageSize": page_size +"/cloudresourcemanager:v1/SearchOrganizationsRequest/filter": filter "/cloudresourcemanager:v1/GetAncestryRequest": get_ancestry_request "/cloudresourcemanager:v1/TestIamPermissionsRequest": test_iam_permissions_request "/cloudresourcemanager:v1/TestIamPermissionsRequest/permissions": permissions @@ -14345,46 +14393,76 @@ "/cloudresourcemanager:v1/ResourceId": resource_id "/cloudresourcemanager:v1/ResourceId/id": id "/cloudresourcemanager:v1/ResourceId/type": type +"/cloudresourcemanager:v1/GetEffectiveOrgPolicyRequest": get_effective_org_policy_request +"/cloudresourcemanager:v1/GetEffectiveOrgPolicyRequest/constraint": constraint +"/cloudresourcemanager:v1/ListOrgPoliciesRequest": list_org_policies_request +"/cloudresourcemanager:v1/ListOrgPoliciesRequest/pageToken": page_token +"/cloudresourcemanager:v1/ListOrgPoliciesRequest/pageSize": page_size +"/cloudresourcemanager:v1/AuditConfig": audit_config +"/cloudresourcemanager:v1/AuditConfig/service": service +"/cloudresourcemanager:v1/AuditConfig/auditLogConfigs": audit_log_configs +"/cloudresourcemanager:v1/AuditConfig/auditLogConfigs/audit_log_config": audit_log_config +"/cloudresourcemanager:v1/Operation": operation +"/cloudresourcemanager:v1/Operation/done": done +"/cloudresourcemanager:v1/Operation/response": response +"/cloudresourcemanager:v1/Operation/response/response": response +"/cloudresourcemanager:v1/Operation/name": name +"/cloudresourcemanager:v1/Operation/error": error +"/cloudresourcemanager:v1/Operation/metadata": metadata +"/cloudresourcemanager:v1/Operation/metadata/metadatum": metadatum "/cloudresourcemanager:v1beta1/fields": fields "/cloudresourcemanager:v1beta1/key": key "/cloudresourcemanager:v1beta1/quotaUser": quota_user -"/cloudresourcemanager:v1beta1/cloudresourcemanager.projects.delete": delete_project -"/cloudresourcemanager:v1beta1/cloudresourcemanager.projects.delete/projectId": project_id -"/cloudresourcemanager:v1beta1/cloudresourcemanager.projects.list": list_projects -"/cloudresourcemanager:v1beta1/cloudresourcemanager.projects.list/pageToken": page_token -"/cloudresourcemanager:v1beta1/cloudresourcemanager.projects.list/pageSize": page_size -"/cloudresourcemanager:v1beta1/cloudresourcemanager.projects.list/filter": filter -"/cloudresourcemanager:v1beta1/cloudresourcemanager.projects.setIamPolicy": set_project_iam_policy -"/cloudresourcemanager:v1beta1/cloudresourcemanager.projects.setIamPolicy/resource": resource -"/cloudresourcemanager:v1beta1/cloudresourcemanager.projects.create": create_project -"/cloudresourcemanager:v1beta1/cloudresourcemanager.projects.create/useLegacyStack": use_legacy_stack "/cloudresourcemanager:v1beta1/cloudresourcemanager.projects.getIamPolicy": get_project_iam_policy "/cloudresourcemanager:v1beta1/cloudresourcemanager.projects.getIamPolicy/resource": resource "/cloudresourcemanager:v1beta1/cloudresourcemanager.projects.undelete": undelete_project "/cloudresourcemanager:v1beta1/cloudresourcemanager.projects.undelete/projectId": project_id "/cloudresourcemanager:v1beta1/cloudresourcemanager.projects.get": get_project "/cloudresourcemanager:v1beta1/cloudresourcemanager.projects.get/projectId": project_id -"/cloudresourcemanager:v1beta1/cloudresourcemanager.projects.update": update_project -"/cloudresourcemanager:v1beta1/cloudresourcemanager.projects.update/projectId": project_id "/cloudresourcemanager:v1beta1/cloudresourcemanager.projects.getAncestry": get_project_ancestry "/cloudresourcemanager:v1beta1/cloudresourcemanager.projects.getAncestry/projectId": project_id +"/cloudresourcemanager:v1beta1/cloudresourcemanager.projects.update": update_project +"/cloudresourcemanager:v1beta1/cloudresourcemanager.projects.update/projectId": project_id "/cloudresourcemanager:v1beta1/cloudresourcemanager.projects.testIamPermissions": test_project_iam_permissions "/cloudresourcemanager:v1beta1/cloudresourcemanager.projects.testIamPermissions/resource": resource +"/cloudresourcemanager:v1beta1/cloudresourcemanager.projects.delete": delete_project +"/cloudresourcemanager:v1beta1/cloudresourcemanager.projects.delete/projectId": project_id +"/cloudresourcemanager:v1beta1/cloudresourcemanager.projects.list": list_projects +"/cloudresourcemanager:v1beta1/cloudresourcemanager.projects.list/pageToken": page_token +"/cloudresourcemanager:v1beta1/cloudresourcemanager.projects.list/pageSize": page_size +"/cloudresourcemanager:v1beta1/cloudresourcemanager.projects.list/filter": filter +"/cloudresourcemanager:v1beta1/cloudresourcemanager.projects.create": create_project +"/cloudresourcemanager:v1beta1/cloudresourcemanager.projects.create/useLegacyStack": use_legacy_stack +"/cloudresourcemanager:v1beta1/cloudresourcemanager.projects.setIamPolicy": set_project_iam_policy +"/cloudresourcemanager:v1beta1/cloudresourcemanager.projects.setIamPolicy/resource": resource +"/cloudresourcemanager:v1beta1/cloudresourcemanager.organizations.list": list_organizations +"/cloudresourcemanager:v1beta1/cloudresourcemanager.organizations.list/pageToken": page_token +"/cloudresourcemanager:v1beta1/cloudresourcemanager.organizations.list/pageSize": page_size +"/cloudresourcemanager:v1beta1/cloudresourcemanager.organizations.list/filter": filter "/cloudresourcemanager:v1beta1/cloudresourcemanager.organizations.setIamPolicy": set_organization_iam_policy "/cloudresourcemanager:v1beta1/cloudresourcemanager.organizations.setIamPolicy/resource": resource "/cloudresourcemanager:v1beta1/cloudresourcemanager.organizations.getIamPolicy": get_organization_iam_policy "/cloudresourcemanager:v1beta1/cloudresourcemanager.organizations.getIamPolicy/resource": resource "/cloudresourcemanager:v1beta1/cloudresourcemanager.organizations.get": get_organization -"/cloudresourcemanager:v1beta1/cloudresourcemanager.organizations.get/organizationId": organization_id "/cloudresourcemanager:v1beta1/cloudresourcemanager.organizations.get/name": name +"/cloudresourcemanager:v1beta1/cloudresourcemanager.organizations.get/organizationId": organization_id "/cloudresourcemanager:v1beta1/cloudresourcemanager.organizations.update": update_organization "/cloudresourcemanager:v1beta1/cloudresourcemanager.organizations.update/name": name "/cloudresourcemanager:v1beta1/cloudresourcemanager.organizations.testIamPermissions": test_organization_iam_permissions "/cloudresourcemanager:v1beta1/cloudresourcemanager.organizations.testIamPermissions/resource": resource -"/cloudresourcemanager:v1beta1/cloudresourcemanager.organizations.list": list_organizations -"/cloudresourcemanager:v1beta1/cloudresourcemanager.organizations.list/filter": filter -"/cloudresourcemanager:v1beta1/cloudresourcemanager.organizations.list/pageToken": page_token -"/cloudresourcemanager:v1beta1/cloudresourcemanager.organizations.list/pageSize": page_size +"/cloudresourcemanager:v1beta1/AuditConfig": audit_config +"/cloudresourcemanager:v1beta1/AuditConfig/auditLogConfigs": audit_log_configs +"/cloudresourcemanager:v1beta1/AuditConfig/auditLogConfigs/audit_log_config": audit_log_config +"/cloudresourcemanager:v1beta1/AuditConfig/service": service +"/cloudresourcemanager:v1beta1/Ancestor": ancestor +"/cloudresourcemanager:v1beta1/Ancestor/resourceId": resource_id +"/cloudresourcemanager:v1beta1/SetIamPolicyRequest": set_iam_policy_request +"/cloudresourcemanager:v1beta1/SetIamPolicyRequest/policy": policy +"/cloudresourcemanager:v1beta1/SetIamPolicyRequest/updateMask": update_mask +"/cloudresourcemanager:v1beta1/ListOrganizationsResponse": list_organizations_response +"/cloudresourcemanager:v1beta1/ListOrganizationsResponse/organizations": organizations +"/cloudresourcemanager:v1beta1/ListOrganizationsResponse/organizations/organization": organization +"/cloudresourcemanager:v1beta1/ListOrganizationsResponse/nextPageToken": next_page_token "/cloudresourcemanager:v1beta1/Binding": binding "/cloudresourcemanager:v1beta1/Binding/members": members "/cloudresourcemanager:v1beta1/Binding/members/member": member @@ -14392,12 +14470,12 @@ "/cloudresourcemanager:v1beta1/Empty": empty "/cloudresourcemanager:v1beta1/UndeleteProjectRequest": undelete_project_request "/cloudresourcemanager:v1beta1/Organization": organization +"/cloudresourcemanager:v1beta1/Organization/lifecycleState": lifecycle_state +"/cloudresourcemanager:v1beta1/Organization/displayName": display_name "/cloudresourcemanager:v1beta1/Organization/creationTime": creation_time "/cloudresourcemanager:v1beta1/Organization/owner": owner "/cloudresourcemanager:v1beta1/Organization/name": name "/cloudresourcemanager:v1beta1/Organization/organizationId": organization_id -"/cloudresourcemanager:v1beta1/Organization/lifecycleState": lifecycle_state -"/cloudresourcemanager:v1beta1/Organization/displayName": display_name "/cloudresourcemanager:v1beta1/ProjectCreationStatus": project_creation_status "/cloudresourcemanager:v1beta1/ProjectCreationStatus/ready": ready "/cloudresourcemanager:v1beta1/ProjectCreationStatus/createTime": create_time @@ -14406,69 +14484,55 @@ "/cloudresourcemanager:v1beta1/TestIamPermissionsResponse": test_iam_permissions_response "/cloudresourcemanager:v1beta1/TestIamPermissionsResponse/permissions": permissions "/cloudresourcemanager:v1beta1/TestIamPermissionsResponse/permissions/permission": permission -"/cloudresourcemanager:v1beta1/OrganizationOwner": organization_owner -"/cloudresourcemanager:v1beta1/OrganizationOwner/directoryCustomerId": directory_customer_id "/cloudresourcemanager:v1beta1/GetAncestryResponse": get_ancestry_response "/cloudresourcemanager:v1beta1/GetAncestryResponse/ancestor": ancestor "/cloudresourcemanager:v1beta1/GetAncestryResponse/ancestor/ancestor": ancestor +"/cloudresourcemanager:v1beta1/OrganizationOwner": organization_owner +"/cloudresourcemanager:v1beta1/OrganizationOwner/directoryCustomerId": directory_customer_id "/cloudresourcemanager:v1beta1/AuditLogConfig": audit_log_config +"/cloudresourcemanager:v1beta1/AuditLogConfig/logType": log_type "/cloudresourcemanager:v1beta1/AuditLogConfig/exemptedMembers": exempted_members "/cloudresourcemanager:v1beta1/AuditLogConfig/exemptedMembers/exempted_member": exempted_member -"/cloudresourcemanager:v1beta1/AuditLogConfig/logType": log_type "/cloudresourcemanager:v1beta1/ListProjectsResponse": list_projects_response -"/cloudresourcemanager:v1beta1/ListProjectsResponse/nextPageToken": next_page_token "/cloudresourcemanager:v1beta1/ListProjectsResponse/projects": projects "/cloudresourcemanager:v1beta1/ListProjectsResponse/projects/project": project +"/cloudresourcemanager:v1beta1/ListProjectsResponse/nextPageToken": next_page_token "/cloudresourcemanager:v1beta1/GetAncestryRequest": get_ancestry_request "/cloudresourcemanager:v1beta1/Project": project +"/cloudresourcemanager:v1beta1/Project/createTime": create_time +"/cloudresourcemanager:v1beta1/Project/labels": labels +"/cloudresourcemanager:v1beta1/Project/labels/label": label +"/cloudresourcemanager:v1beta1/Project/name": name +"/cloudresourcemanager:v1beta1/Project/projectId": project_id "/cloudresourcemanager:v1beta1/Project/lifecycleState": lifecycle_state "/cloudresourcemanager:v1beta1/Project/projectNumber": project_number "/cloudresourcemanager:v1beta1/Project/parent": parent -"/cloudresourcemanager:v1beta1/Project/labels": labels -"/cloudresourcemanager:v1beta1/Project/labels/label": label -"/cloudresourcemanager:v1beta1/Project/createTime": create_time -"/cloudresourcemanager:v1beta1/Project/name": name -"/cloudresourcemanager:v1beta1/Project/projectId": project_id "/cloudresourcemanager:v1beta1/TestIamPermissionsRequest": test_iam_permissions_request "/cloudresourcemanager:v1beta1/TestIamPermissionsRequest/permissions": permissions "/cloudresourcemanager:v1beta1/TestIamPermissionsRequest/permissions/permission": permission +"/cloudresourcemanager:v1beta1/FolderOperationError": folder_operation_error +"/cloudresourcemanager:v1beta1/FolderOperationError/errorMessageId": error_message_id +"/cloudresourcemanager:v1beta1/FolderOperation": folder_operation +"/cloudresourcemanager:v1beta1/FolderOperation/displayName": display_name +"/cloudresourcemanager:v1beta1/FolderOperation/sourceParent": source_parent +"/cloudresourcemanager:v1beta1/FolderOperation/destinationParent": destination_parent +"/cloudresourcemanager:v1beta1/FolderOperation/operationType": operation_type "/cloudresourcemanager:v1beta1/Policy": policy -"/cloudresourcemanager:v1beta1/Policy/etag": etag -"/cloudresourcemanager:v1beta1/Policy/version": version "/cloudresourcemanager:v1beta1/Policy/auditConfigs": audit_configs "/cloudresourcemanager:v1beta1/Policy/auditConfigs/audit_config": audit_config "/cloudresourcemanager:v1beta1/Policy/bindings": bindings "/cloudresourcemanager:v1beta1/Policy/bindings/binding": binding -"/cloudresourcemanager:v1beta1/FolderOperation": folder_operation -"/cloudresourcemanager:v1beta1/FolderOperation/operationType": operation_type -"/cloudresourcemanager:v1beta1/FolderOperation/displayName": display_name -"/cloudresourcemanager:v1beta1/FolderOperation/sourceParent": source_parent -"/cloudresourcemanager:v1beta1/FolderOperation/destinationParent": destination_parent -"/cloudresourcemanager:v1beta1/FolderOperationError": folder_operation_error -"/cloudresourcemanager:v1beta1/FolderOperationError/errorMessageId": error_message_id +"/cloudresourcemanager:v1beta1/Policy/etag": etag +"/cloudresourcemanager:v1beta1/Policy/version": version "/cloudresourcemanager:v1beta1/ResourceId": resource_id "/cloudresourcemanager:v1beta1/ResourceId/type": type "/cloudresourcemanager:v1beta1/ResourceId/id": id -"/cloudresourcemanager:v1beta1/AuditConfig": audit_config -"/cloudresourcemanager:v1beta1/AuditConfig/service": service -"/cloudresourcemanager:v1beta1/AuditConfig/auditLogConfigs": audit_log_configs -"/cloudresourcemanager:v1beta1/AuditConfig/auditLogConfigs/audit_log_config": audit_log_config -"/cloudresourcemanager:v1beta1/Ancestor": ancestor -"/cloudresourcemanager:v1beta1/Ancestor/resourceId": resource_id -"/cloudresourcemanager:v1beta1/SetIamPolicyRequest": set_iam_policy_request -"/cloudresourcemanager:v1beta1/SetIamPolicyRequest/updateMask": update_mask -"/cloudresourcemanager:v1beta1/SetIamPolicyRequest/policy": policy -"/cloudresourcemanager:v1beta1/ListOrganizationsResponse": list_organizations_response -"/cloudresourcemanager:v1beta1/ListOrganizationsResponse/nextPageToken": next_page_token -"/cloudresourcemanager:v1beta1/ListOrganizationsResponse/organizations": organizations -"/cloudresourcemanager:v1beta1/ListOrganizationsResponse/organizations/organization": organization "/cloudtrace:v1/key": key "/cloudtrace:v1/quotaUser": quota_user "/cloudtrace:v1/fields": fields "/cloudtrace:v1/cloudtrace.projects.patchTraces": patch_project_traces "/cloudtrace:v1/cloudtrace.projects.patchTraces/projectId": project_id "/cloudtrace:v1/cloudtrace.projects.traces.list": list_project_traces -"/cloudtrace:v1/cloudtrace.projects.traces.list/orderBy": order_by "/cloudtrace:v1/cloudtrace.projects.traces.list/projectId": project_id "/cloudtrace:v1/cloudtrace.projects.traces.list/filter": filter "/cloudtrace:v1/cloudtrace.projects.traces.list/endTime": end_time @@ -14476,21 +14540,19 @@ "/cloudtrace:v1/cloudtrace.projects.traces.list/startTime": start_time "/cloudtrace:v1/cloudtrace.projects.traces.list/pageSize": page_size "/cloudtrace:v1/cloudtrace.projects.traces.list/view": view +"/cloudtrace:v1/cloudtrace.projects.traces.list/orderBy": order_by "/cloudtrace:v1/cloudtrace.projects.traces.get": get_project_trace "/cloudtrace:v1/cloudtrace.projects.traces.get/projectId": project_id "/cloudtrace:v1/cloudtrace.projects.traces.get/traceId": trace_id -"/cloudtrace:v1/Traces": traces -"/cloudtrace:v1/Traces/traces": traces -"/cloudtrace:v1/Traces/traces/trace": trace "/cloudtrace:v1/TraceSpan": trace_span +"/cloudtrace:v1/TraceSpan/spanId": span_id +"/cloudtrace:v1/TraceSpan/parentSpanId": parent_span_id +"/cloudtrace:v1/TraceSpan/endTime": end_time "/cloudtrace:v1/TraceSpan/startTime": start_time "/cloudtrace:v1/TraceSpan/kind": kind "/cloudtrace:v1/TraceSpan/labels": labels "/cloudtrace:v1/TraceSpan/labels/label": label "/cloudtrace:v1/TraceSpan/name": name -"/cloudtrace:v1/TraceSpan/spanId": span_id -"/cloudtrace:v1/TraceSpan/parentSpanId": parent_span_id -"/cloudtrace:v1/TraceSpan/endTime": end_time "/cloudtrace:v1/ListTracesResponse": list_traces_response "/cloudtrace:v1/ListTracesResponse/traces": traces "/cloudtrace:v1/ListTracesResponse/traces/trace": trace @@ -14501,6 +14563,9 @@ "/cloudtrace:v1/Trace/spans": spans "/cloudtrace:v1/Trace/spans/span": span "/cloudtrace:v1/Trace/traceId": trace_id +"/cloudtrace:v1/Traces": traces +"/cloudtrace:v1/Traces/traces": traces +"/cloudtrace:v1/Traces/traces/trace": trace "/clouduseraccounts:beta/fields": fields "/clouduseraccounts:beta/key": key "/clouduseraccounts:beta/quotaUser": quota_user @@ -17258,18 +17323,6 @@ "/content:v2/content.accounts.update/accountId": account_id "/content:v2/content.accounts.update/dryRun": dry_run "/content:v2/content.accounts.update/merchantId": merchant_id -"/content:v2/content.accountshipping.custombatch/dryRun": dry_run -"/content:v2/content.accountshipping.get/accountId": account_id -"/content:v2/content.accountshipping.get/merchantId": merchant_id -"/content:v2/content.accountshipping.list/maxResults": max_results -"/content:v2/content.accountshipping.list/merchantId": merchant_id -"/content:v2/content.accountshipping.list/pageToken": page_token -"/content:v2/content.accountshipping.patch/accountId": account_id -"/content:v2/content.accountshipping.patch/dryRun": dry_run -"/content:v2/content.accountshipping.patch/merchantId": merchant_id -"/content:v2/content.accountshipping.update/accountId": account_id -"/content:v2/content.accountshipping.update/dryRun": dry_run -"/content:v2/content.accountshipping.update/merchantId": merchant_id "/content:v2/content.accountstatuses.get/accountId": account_id "/content:v2/content.accountstatuses.get/merchantId": merchant_id "/content:v2/content.accountstatuses.list/maxResults": max_results @@ -17419,72 +17472,6 @@ "/content:v2/AccountIdentifier": account_identifier "/content:v2/AccountIdentifier/aggregatorId": aggregator_id "/content:v2/AccountIdentifier/merchantId": merchant_id -"/content:v2/AccountShipping": account_shipping -"/content:v2/AccountShipping/accountId": account_id -"/content:v2/AccountShipping/carrierRates": carrier_rates -"/content:v2/AccountShipping/carrierRates/carrier_rate": carrier_rate -"/content:v2/AccountShipping/kind": kind -"/content:v2/AccountShipping/locationGroups": location_groups -"/content:v2/AccountShipping/locationGroups/location_group": location_group -"/content:v2/AccountShipping/rateTables": rate_tables -"/content:v2/AccountShipping/rateTables/rate_table": rate_table -"/content:v2/AccountShipping/services": services -"/content:v2/AccountShipping/services/service": service -"/content:v2/AccountShippingCarrierRate": account_shipping_carrier_rate -"/content:v2/AccountShippingCarrierRate/carrier": carrier -"/content:v2/AccountShippingCarrierRate/carrierService": carrier_service -"/content:v2/AccountShippingCarrierRate/modifierFlatRate": modifier_flat_rate -"/content:v2/AccountShippingCarrierRate/modifierPercent": modifier_percent -"/content:v2/AccountShippingCarrierRate/name": name -"/content:v2/AccountShippingCarrierRate/saleCountry": sale_country -"/content:v2/AccountShippingCarrierRate/shippingOrigin": shipping_origin -"/content:v2/AccountShippingCondition": account_shipping_condition -"/content:v2/AccountShippingCondition/deliveryLocationGroup": delivery_location_group -"/content:v2/AccountShippingCondition/deliveryLocationId": delivery_location_id -"/content:v2/AccountShippingCondition/deliveryPostalCode": delivery_postal_code -"/content:v2/AccountShippingCondition/deliveryPostalCodeRange": delivery_postal_code_range -"/content:v2/AccountShippingCondition/priceMax": price_max -"/content:v2/AccountShippingCondition/shippingLabel": shipping_label -"/content:v2/AccountShippingCondition/weightMax": weight_max -"/content:v2/AccountShippingLocationGroup": account_shipping_location_group -"/content:v2/AccountShippingLocationGroup/country": country -"/content:v2/AccountShippingLocationGroup/locationIds": location_ids -"/content:v2/AccountShippingLocationGroup/locationIds/location_id": location_id -"/content:v2/AccountShippingLocationGroup/name": name -"/content:v2/AccountShippingLocationGroup/postalCodeRanges": postal_code_ranges -"/content:v2/AccountShippingLocationGroup/postalCodeRanges/postal_code_range": postal_code_range -"/content:v2/AccountShippingLocationGroup/postalCodes": postal_codes -"/content:v2/AccountShippingLocationGroup/postalCodes/postal_code": postal_code -"/content:v2/AccountShippingPostalCodeRange": account_shipping_postal_code_range -"/content:v2/AccountShippingPostalCodeRange/end": end -"/content:v2/AccountShippingPostalCodeRange/start": start -"/content:v2/AccountShippingRateTable": account_shipping_rate_table -"/content:v2/AccountShippingRateTable/content": content -"/content:v2/AccountShippingRateTable/content/content": content -"/content:v2/AccountShippingRateTable/name": name -"/content:v2/AccountShippingRateTable/saleCountry": sale_country -"/content:v2/AccountShippingRateTableCell": account_shipping_rate_table_cell -"/content:v2/AccountShippingRateTableCell/condition": condition -"/content:v2/AccountShippingRateTableCell/rate": rate -"/content:v2/AccountShippingShippingService": account_shipping_shipping_service -"/content:v2/AccountShippingShippingService/active": active -"/content:v2/AccountShippingShippingService/calculationMethod": calculation_method -"/content:v2/AccountShippingShippingService/costRuleTree": cost_rule_tree -"/content:v2/AccountShippingShippingService/maxDaysInTransit": max_days_in_transit -"/content:v2/AccountShippingShippingService/minDaysInTransit": min_days_in_transit -"/content:v2/AccountShippingShippingService/name": name -"/content:v2/AccountShippingShippingService/saleCountry": sale_country -"/content:v2/AccountShippingShippingServiceCalculationMethod": account_shipping_shipping_service_calculation_method -"/content:v2/AccountShippingShippingServiceCalculationMethod/carrierRate": carrier_rate -"/content:v2/AccountShippingShippingServiceCalculationMethod/excluded": excluded -"/content:v2/AccountShippingShippingServiceCalculationMethod/flatRate": flat_rate -"/content:v2/AccountShippingShippingServiceCalculationMethod/percentageRate": percentage_rate -"/content:v2/AccountShippingShippingServiceCalculationMethod/rateTable": rate_table -"/content:v2/AccountShippingShippingServiceCostRule": account_shipping_shipping_service_cost_rule -"/content:v2/AccountShippingShippingServiceCostRule/calculationMethod": calculation_method -"/content:v2/AccountShippingShippingServiceCostRule/children": children -"/content:v2/AccountShippingShippingServiceCostRule/children/child": child -"/content:v2/AccountShippingShippingServiceCostRule/condition": condition "/content:v2/AccountStatus": account_status "/content:v2/AccountStatus/accountId": account_id "/content:v2/AccountStatus/dataQualityIssues": data_quality_issues @@ -17543,23 +17530,6 @@ "/content:v2/AccountsListResponse/nextPageToken": next_page_token "/content:v2/AccountsListResponse/resources": resources "/content:v2/AccountsListResponse/resources/resource": resource -"/content:v2/AccountshippingCustomBatchRequest/entries": entries -"/content:v2/AccountshippingCustomBatchRequest/entries/entry": entry -"/content:v2/AccountshippingCustomBatchRequestEntry/accountId": account_id -"/content:v2/AccountshippingCustomBatchRequestEntry/accountShipping": account_shipping -"/content:v2/AccountshippingCustomBatchRequestEntry/batchId": batch_id -"/content:v2/AccountshippingCustomBatchRequestEntry/merchantId": merchant_id -"/content:v2/AccountshippingCustomBatchResponse/entries": entries -"/content:v2/AccountshippingCustomBatchResponse/entries/entry": entry -"/content:v2/AccountshippingCustomBatchResponse/kind": kind -"/content:v2/AccountshippingCustomBatchResponseEntry/accountShipping": account_shipping -"/content:v2/AccountshippingCustomBatchResponseEntry/batchId": batch_id -"/content:v2/AccountshippingCustomBatchResponseEntry/errors": errors -"/content:v2/AccountshippingCustomBatchResponseEntry/kind": kind -"/content:v2/AccountshippingListResponse/kind": kind -"/content:v2/AccountshippingListResponse/nextPageToken": next_page_token -"/content:v2/AccountshippingListResponse/resources": resources -"/content:v2/AccountshippingListResponse/resources/resource": resource "/content:v2/AccountstatusesCustomBatchRequest/entries": entries "/content:v2/AccountstatusesCustomBatchRequest/entries/entry": entry "/content:v2/AccountstatusesCustomBatchRequestEntry/accountId": account_id @@ -18511,61 +18481,47 @@ "/dataflow:v1b3/dataflow.projects.locations.jobs.get/view": view "/dataflow:v1b3/dataflow.projects.locations.jobs.get/location": location "/dataflow:v1b3/dataflow.projects.locations.jobs.list": list_project_location_jobs -"/dataflow:v1b3/dataflow.projects.locations.jobs.list/projectId": project_id -"/dataflow:v1b3/dataflow.projects.locations.jobs.list/filter": filter "/dataflow:v1b3/dataflow.projects.locations.jobs.list/location": location "/dataflow:v1b3/dataflow.projects.locations.jobs.list/pageToken": page_token "/dataflow:v1b3/dataflow.projects.locations.jobs.list/pageSize": page_size "/dataflow:v1b3/dataflow.projects.locations.jobs.list/view": view +"/dataflow:v1b3/dataflow.projects.locations.jobs.list/projectId": project_id +"/dataflow:v1b3/dataflow.projects.locations.jobs.list/filter": filter "/dataflow:v1b3/dataflow.projects.locations.jobs.update": update_project_location_job "/dataflow:v1b3/dataflow.projects.locations.jobs.update/location": location "/dataflow:v1b3/dataflow.projects.locations.jobs.update/projectId": project_id "/dataflow:v1b3/dataflow.projects.locations.jobs.update/jobId": job_id "/dataflow:v1b3/dataflow.projects.locations.jobs.create": create_project_location_job -"/dataflow:v1b3/dataflow.projects.locations.jobs.create/location": location -"/dataflow:v1b3/dataflow.projects.locations.jobs.create/replaceJobId": replace_job_id "/dataflow:v1b3/dataflow.projects.locations.jobs.create/projectId": project_id "/dataflow:v1b3/dataflow.projects.locations.jobs.create/view": view +"/dataflow:v1b3/dataflow.projects.locations.jobs.create/location": location +"/dataflow:v1b3/dataflow.projects.locations.jobs.create/replaceJobId": replace_job_id "/dataflow:v1b3/dataflow.projects.locations.jobs.workItems.reportStatus": report_project_location_job_work_item_status -"/dataflow:v1b3/dataflow.projects.locations.jobs.workItems.reportStatus/location": location "/dataflow:v1b3/dataflow.projects.locations.jobs.workItems.reportStatus/projectId": project_id "/dataflow:v1b3/dataflow.projects.locations.jobs.workItems.reportStatus/jobId": job_id +"/dataflow:v1b3/dataflow.projects.locations.jobs.workItems.reportStatus/location": location "/dataflow:v1b3/dataflow.projects.locations.jobs.workItems.lease/location": location "/dataflow:v1b3/dataflow.projects.locations.jobs.workItems.lease/projectId": project_id "/dataflow:v1b3/dataflow.projects.locations.jobs.workItems.lease/jobId": job_id "/dataflow:v1b3/dataflow.projects.locations.jobs.messages.list": list_project_location_job_messages -"/dataflow:v1b3/dataflow.projects.locations.jobs.messages.list/jobId": job_id -"/dataflow:v1b3/dataflow.projects.locations.jobs.messages.list/projectId": project_id -"/dataflow:v1b3/dataflow.projects.locations.jobs.messages.list/location": location "/dataflow:v1b3/dataflow.projects.locations.jobs.messages.list/endTime": end_time +"/dataflow:v1b3/dataflow.projects.locations.jobs.messages.list/location": location "/dataflow:v1b3/dataflow.projects.locations.jobs.messages.list/startTime": start_time "/dataflow:v1b3/dataflow.projects.locations.jobs.messages.list/pageToken": page_token "/dataflow:v1b3/dataflow.projects.locations.jobs.messages.list/pageSize": page_size "/dataflow:v1b3/dataflow.projects.locations.jobs.messages.list/minimumImportance": minimum_importance +"/dataflow:v1b3/dataflow.projects.locations.jobs.messages.list/jobId": job_id +"/dataflow:v1b3/dataflow.projects.locations.jobs.messages.list/projectId": project_id "/dataflow:v1b3/dataflow.projects.templates.launch": launch_project_template -"/dataflow:v1b3/dataflow.projects.templates.launch/gcsPath": gcs_path "/dataflow:v1b3/dataflow.projects.templates.launch/dryRun": dry_run "/dataflow:v1b3/dataflow.projects.templates.launch/projectId": project_id +"/dataflow:v1b3/dataflow.projects.templates.launch/gcsPath": gcs_path "/dataflow:v1b3/dataflow.projects.templates.get": get_project_template "/dataflow:v1b3/dataflow.projects.templates.get/projectId": project_id "/dataflow:v1b3/dataflow.projects.templates.get/view": view "/dataflow:v1b3/dataflow.projects.templates.get/gcsPath": gcs_path "/dataflow:v1b3/dataflow.projects.templates.create": create_job_from_template "/dataflow:v1b3/dataflow.projects.templates.create/projectId": project_id -"/dataflow:v1b3/dataflow.projects.jobs.update": update_project_job -"/dataflow:v1b3/dataflow.projects.jobs.update/projectId": project_id -"/dataflow:v1b3/dataflow.projects.jobs.update/jobId": job_id -"/dataflow:v1b3/dataflow.projects.jobs.update/location": location -"/dataflow:v1b3/dataflow.projects.jobs.create": create_project_job -"/dataflow:v1b3/dataflow.projects.jobs.create/replaceJobId": replace_job_id -"/dataflow:v1b3/dataflow.projects.jobs.create/projectId": project_id -"/dataflow:v1b3/dataflow.projects.jobs.create/view": view -"/dataflow:v1b3/dataflow.projects.jobs.create/location": location -"/dataflow:v1b3/dataflow.projects.jobs.getMetrics": get_project_job_metrics -"/dataflow:v1b3/dataflow.projects.jobs.getMetrics/location": location -"/dataflow:v1b3/dataflow.projects.jobs.getMetrics/startTime": start_time -"/dataflow:v1b3/dataflow.projects.jobs.getMetrics/projectId": project_id -"/dataflow:v1b3/dataflow.projects.jobs.getMetrics/jobId": job_id "/dataflow:v1b3/dataflow.projects.jobs.get": get_project_job "/dataflow:v1b3/dataflow.projects.jobs.get/location": location "/dataflow:v1b3/dataflow.projects.jobs.get/projectId": project_id @@ -18578,437 +18534,56 @@ "/dataflow:v1b3/dataflow.projects.jobs.list/pageToken": page_token "/dataflow:v1b3/dataflow.projects.jobs.list/pageSize": page_size "/dataflow:v1b3/dataflow.projects.jobs.list/view": view +"/dataflow:v1b3/dataflow.projects.jobs.update": update_project_job +"/dataflow:v1b3/dataflow.projects.jobs.update/projectId": project_id +"/dataflow:v1b3/dataflow.projects.jobs.update/jobId": job_id +"/dataflow:v1b3/dataflow.projects.jobs.update/location": location +"/dataflow:v1b3/dataflow.projects.jobs.create": create_project_job +"/dataflow:v1b3/dataflow.projects.jobs.create/location": location +"/dataflow:v1b3/dataflow.projects.jobs.create/replaceJobId": replace_job_id +"/dataflow:v1b3/dataflow.projects.jobs.create/projectId": project_id +"/dataflow:v1b3/dataflow.projects.jobs.create/view": view +"/dataflow:v1b3/dataflow.projects.jobs.getMetrics": get_project_job_metrics +"/dataflow:v1b3/dataflow.projects.jobs.getMetrics/location": location +"/dataflow:v1b3/dataflow.projects.jobs.getMetrics/startTime": start_time +"/dataflow:v1b3/dataflow.projects.jobs.getMetrics/projectId": project_id +"/dataflow:v1b3/dataflow.projects.jobs.getMetrics/jobId": job_id "/dataflow:v1b3/dataflow.projects.jobs.debug.getConfig": get_project_job_debug_config "/dataflow:v1b3/dataflow.projects.jobs.debug.getConfig/projectId": project_id "/dataflow:v1b3/dataflow.projects.jobs.debug.getConfig/jobId": job_id "/dataflow:v1b3/dataflow.projects.jobs.debug.sendCapture": send_project_job_debug_capture "/dataflow:v1b3/dataflow.projects.jobs.debug.sendCapture/projectId": project_id "/dataflow:v1b3/dataflow.projects.jobs.debug.sendCapture/jobId": job_id +"/dataflow:v1b3/dataflow.projects.jobs.workItems.lease/projectId": project_id +"/dataflow:v1b3/dataflow.projects.jobs.workItems.lease/jobId": job_id "/dataflow:v1b3/dataflow.projects.jobs.workItems.reportStatus": report_project_job_work_item_status "/dataflow:v1b3/dataflow.projects.jobs.workItems.reportStatus/projectId": project_id "/dataflow:v1b3/dataflow.projects.jobs.workItems.reportStatus/jobId": job_id -"/dataflow:v1b3/dataflow.projects.jobs.workItems.lease/projectId": project_id -"/dataflow:v1b3/dataflow.projects.jobs.workItems.lease/jobId": job_id "/dataflow:v1b3/dataflow.projects.jobs.messages.list": list_project_job_messages -"/dataflow:v1b3/dataflow.projects.jobs.messages.list/jobId": job_id -"/dataflow:v1b3/dataflow.projects.jobs.messages.list/projectId": project_id "/dataflow:v1b3/dataflow.projects.jobs.messages.list/endTime": end_time "/dataflow:v1b3/dataflow.projects.jobs.messages.list/location": location "/dataflow:v1b3/dataflow.projects.jobs.messages.list/startTime": start_time "/dataflow:v1b3/dataflow.projects.jobs.messages.list/pageToken": page_token "/dataflow:v1b3/dataflow.projects.jobs.messages.list/pageSize": page_size "/dataflow:v1b3/dataflow.projects.jobs.messages.list/minimumImportance": minimum_importance -"/dataflow:v1b3/StateFamilyConfig": state_family_config -"/dataflow:v1b3/StateFamilyConfig/stateFamily": state_family -"/dataflow:v1b3/StateFamilyConfig/isRead": is_read -"/dataflow:v1b3/IntegerList": integer_list -"/dataflow:v1b3/IntegerList/elements": elements -"/dataflow:v1b3/IntegerList/elements/element": element -"/dataflow:v1b3/ResourceUtilizationReportResponse": resource_utilization_report_response -"/dataflow:v1b3/SourceSplitResponse": source_split_response -"/dataflow:v1b3/SourceSplitResponse/outcome": outcome -"/dataflow:v1b3/SourceSplitResponse/bundles": bundles -"/dataflow:v1b3/SourceSplitResponse/bundles/bundle": bundle -"/dataflow:v1b3/SourceSplitResponse/shards": shards -"/dataflow:v1b3/SourceSplitResponse/shards/shard": shard -"/dataflow:v1b3/ParallelInstruction": parallel_instruction -"/dataflow:v1b3/ParallelInstruction/outputs": outputs -"/dataflow:v1b3/ParallelInstruction/outputs/output": output -"/dataflow:v1b3/ParallelInstruction/name": name -"/dataflow:v1b3/ParallelInstruction/read": read -"/dataflow:v1b3/ParallelInstruction/parDo": par_do -"/dataflow:v1b3/ParallelInstruction/flatten": flatten -"/dataflow:v1b3/ParallelInstruction/originalName": original_name -"/dataflow:v1b3/ParallelInstruction/systemName": system_name -"/dataflow:v1b3/ParallelInstruction/write": write -"/dataflow:v1b3/ParallelInstruction/partialGroupByKey": partial_group_by_key -"/dataflow:v1b3/KeyRangeDataDiskAssignment": key_range_data_disk_assignment -"/dataflow:v1b3/KeyRangeDataDiskAssignment/start": start -"/dataflow:v1b3/KeyRangeDataDiskAssignment/dataDisk": data_disk -"/dataflow:v1b3/KeyRangeDataDiskAssignment/end": end -"/dataflow:v1b3/Package": package -"/dataflow:v1b3/Package/name": name -"/dataflow:v1b3/Package/location": location -"/dataflow:v1b3/ParDoInstruction": par_do_instruction -"/dataflow:v1b3/ParDoInstruction/input": input -"/dataflow:v1b3/ParDoInstruction/numOutputs": num_outputs -"/dataflow:v1b3/ParDoInstruction/sideInputs": side_inputs -"/dataflow:v1b3/ParDoInstruction/sideInputs/side_input": side_input -"/dataflow:v1b3/ParDoInstruction/multiOutputInfos": multi_output_infos -"/dataflow:v1b3/ParDoInstruction/multiOutputInfos/multi_output_info": multi_output_info -"/dataflow:v1b3/ParDoInstruction/userFn": user_fn -"/dataflow:v1b3/ParDoInstruction/userFn/user_fn": user_fn -"/dataflow:v1b3/CounterStructuredName": counter_structured_name -"/dataflow:v1b3/CounterStructuredName/origin": origin -"/dataflow:v1b3/CounterStructuredName/name": name -"/dataflow:v1b3/CounterStructuredName/executionStepName": execution_step_name -"/dataflow:v1b3/CounterStructuredName/componentStepName": component_step_name -"/dataflow:v1b3/CounterStructuredName/portion": portion -"/dataflow:v1b3/CounterStructuredName/originalStepName": original_step_name -"/dataflow:v1b3/CounterStructuredName/workerId": worker_id -"/dataflow:v1b3/CounterStructuredName/originNamespace": origin_namespace -"/dataflow:v1b3/MetricUpdate": metric_update -"/dataflow:v1b3/MetricUpdate/updateTime": update_time -"/dataflow:v1b3/MetricUpdate/name": name -"/dataflow:v1b3/MetricUpdate/set": set -"/dataflow:v1b3/MetricUpdate/internal": internal -"/dataflow:v1b3/MetricUpdate/cumulative": cumulative -"/dataflow:v1b3/MetricUpdate/kind": kind -"/dataflow:v1b3/MetricUpdate/scalar": scalar -"/dataflow:v1b3/MetricUpdate/meanCount": mean_count -"/dataflow:v1b3/MetricUpdate/meanSum": mean_sum -"/dataflow:v1b3/ApproximateProgress": approximate_progress -"/dataflow:v1b3/ApproximateProgress/percentComplete": percent_complete -"/dataflow:v1b3/ApproximateProgress/remainingTime": remaining_time -"/dataflow:v1b3/ApproximateProgress/position": position -"/dataflow:v1b3/WorkerMessageResponse": worker_message_response -"/dataflow:v1b3/WorkerMessageResponse/workerHealthReportResponse": worker_health_report_response -"/dataflow:v1b3/WorkerMessageResponse/workerMetricsResponse": worker_metrics_response -"/dataflow:v1b3/TemplateMetadata": template_metadata -"/dataflow:v1b3/TemplateMetadata/name": name -"/dataflow:v1b3/TemplateMetadata/parameters": parameters -"/dataflow:v1b3/TemplateMetadata/parameters/parameter": parameter -"/dataflow:v1b3/TemplateMetadata/description": description -"/dataflow:v1b3/TemplateMetadata/bypassTempDirValidation": bypass_temp_dir_validation -"/dataflow:v1b3/WorkerMessage": worker_message -"/dataflow:v1b3/WorkerMessage/time": time -"/dataflow:v1b3/WorkerMessage/workerHealthReport": worker_health_report -"/dataflow:v1b3/WorkerMessage/workerMessageCode": worker_message_code -"/dataflow:v1b3/WorkerMessage/workerMetrics": worker_metrics -"/dataflow:v1b3/WorkerMessage/labels": labels -"/dataflow:v1b3/WorkerMessage/labels/label": label -"/dataflow:v1b3/JobMetrics": job_metrics -"/dataflow:v1b3/JobMetrics/metricTime": metric_time -"/dataflow:v1b3/JobMetrics/metrics": metrics -"/dataflow:v1b3/JobMetrics/metrics/metric": metric -"/dataflow:v1b3/FloatingPointList": floating_point_list -"/dataflow:v1b3/FloatingPointList/elements": elements -"/dataflow:v1b3/FloatingPointList/elements/element": element -"/dataflow:v1b3/CounterUpdate": counter_update -"/dataflow:v1b3/CounterUpdate/structuredNameAndMetadata": structured_name_and_metadata -"/dataflow:v1b3/CounterUpdate/integerList": integer_list -"/dataflow:v1b3/CounterUpdate/floatingPoint": floating_point -"/dataflow:v1b3/CounterUpdate/integerMean": integer_mean -"/dataflow:v1b3/CounterUpdate/cumulative": cumulative -"/dataflow:v1b3/CounterUpdate/internal": internal -"/dataflow:v1b3/CounterUpdate/floatingPointMean": floating_point_mean -"/dataflow:v1b3/CounterUpdate/boolean": boolean -"/dataflow:v1b3/CounterUpdate/nameAndKind": name_and_kind -"/dataflow:v1b3/CounterUpdate/stringList": string_list -"/dataflow:v1b3/CounterUpdate/distribution": distribution -"/dataflow:v1b3/CounterUpdate/shortId": short_id -"/dataflow:v1b3/CounterUpdate/floatingPointList": floating_point_list -"/dataflow:v1b3/CounterUpdate/integer": integer -"/dataflow:v1b3/SourceMetadata": source_metadata -"/dataflow:v1b3/SourceMetadata/producesSortedKeys": produces_sorted_keys -"/dataflow:v1b3/SourceMetadata/infinite": infinite -"/dataflow:v1b3/SourceMetadata/estimatedSizeBytes": estimated_size_bytes -"/dataflow:v1b3/DistributionUpdate": distribution_update -"/dataflow:v1b3/DistributionUpdate/max": max -"/dataflow:v1b3/DistributionUpdate/sum": sum -"/dataflow:v1b3/DistributionUpdate/count": count -"/dataflow:v1b3/DistributionUpdate/min": min -"/dataflow:v1b3/DistributionUpdate/sumOfSquares": sum_of_squares -"/dataflow:v1b3/WorkerHealthReportResponse": worker_health_report_response -"/dataflow:v1b3/WorkerHealthReportResponse/reportInterval": report_interval -"/dataflow:v1b3/SourceFork": source_fork -"/dataflow:v1b3/SourceFork/residual": residual -"/dataflow:v1b3/SourceFork/residualSource": residual_source -"/dataflow:v1b3/SourceFork/primary": primary -"/dataflow:v1b3/SourceFork/primarySource": primary_source -"/dataflow:v1b3/WorkItemStatus": work_item_status -"/dataflow:v1b3/WorkItemStatus/counterUpdates": counter_updates -"/dataflow:v1b3/WorkItemStatus/counterUpdates/counter_update": counter_update -"/dataflow:v1b3/WorkItemStatus/workItemId": work_item_id -"/dataflow:v1b3/WorkItemStatus/errors": errors -"/dataflow:v1b3/WorkItemStatus/errors/error": error -"/dataflow:v1b3/WorkItemStatus/metricUpdates": metric_updates -"/dataflow:v1b3/WorkItemStatus/metricUpdates/metric_update": metric_update -"/dataflow:v1b3/WorkItemStatus/dynamicSourceSplit": dynamic_source_split -"/dataflow:v1b3/WorkItemStatus/sourceOperationResponse": source_operation_response -"/dataflow:v1b3/WorkItemStatus/progress": progress -"/dataflow:v1b3/WorkItemStatus/requestedLeaseDuration": requested_lease_duration -"/dataflow:v1b3/WorkItemStatus/reportIndex": report_index -"/dataflow:v1b3/WorkItemStatus/stopPosition": stop_position -"/dataflow:v1b3/WorkItemStatus/completed": completed -"/dataflow:v1b3/WorkItemStatus/reportedProgress": reported_progress -"/dataflow:v1b3/WorkItemStatus/sourceFork": source_fork -"/dataflow:v1b3/ComponentSource": component_source -"/dataflow:v1b3/ComponentSource/originalTransformOrCollection": original_transform_or_collection -"/dataflow:v1b3/ComponentSource/name": name -"/dataflow:v1b3/ComponentSource/userName": user_name -"/dataflow:v1b3/WorkItemServiceState": work_item_service_state -"/dataflow:v1b3/WorkItemServiceState/splitRequest": split_request -"/dataflow:v1b3/WorkItemServiceState/reportStatusInterval": report_status_interval -"/dataflow:v1b3/WorkItemServiceState/suggestedStopPosition": suggested_stop_position -"/dataflow:v1b3/WorkItemServiceState/harnessData": harness_data -"/dataflow:v1b3/WorkItemServiceState/harnessData/harness_datum": harness_datum -"/dataflow:v1b3/WorkItemServiceState/leaseExpireTime": lease_expire_time -"/dataflow:v1b3/WorkItemServiceState/metricShortId": metric_short_id -"/dataflow:v1b3/WorkItemServiceState/metricShortId/metric_short_id": metric_short_id -"/dataflow:v1b3/WorkItemServiceState/nextReportIndex": next_report_index -"/dataflow:v1b3/WorkItemServiceState/suggestedStopPoint": suggested_stop_point -"/dataflow:v1b3/MetricStructuredName": metric_structured_name -"/dataflow:v1b3/MetricStructuredName/context": context -"/dataflow:v1b3/MetricStructuredName/context/context": context -"/dataflow:v1b3/MetricStructuredName/origin": origin -"/dataflow:v1b3/MetricStructuredName/name": name -"/dataflow:v1b3/SeqMapTaskOutputInfo": seq_map_task_output_info -"/dataflow:v1b3/SeqMapTaskOutputInfo/sink": sink -"/dataflow:v1b3/SeqMapTaskOutputInfo/tag": tag -"/dataflow:v1b3/JobExecutionStageInfo": job_execution_stage_info -"/dataflow:v1b3/JobExecutionStageInfo/stepName": step_name -"/dataflow:v1b3/JobExecutionStageInfo/stepName/step_name": step_name -"/dataflow:v1b3/KeyRangeLocation": key_range_location -"/dataflow:v1b3/KeyRangeLocation/start": start -"/dataflow:v1b3/KeyRangeLocation/dataDisk": data_disk -"/dataflow:v1b3/KeyRangeLocation/end": end -"/dataflow:v1b3/KeyRangeLocation/deprecatedPersistentDirectory": deprecated_persistent_directory -"/dataflow:v1b3/KeyRangeLocation/deliveryEndpoint": delivery_endpoint -"/dataflow:v1b3/SourceGetMetadataRequest": source_get_metadata_request -"/dataflow:v1b3/SourceGetMetadataRequest/source": source -"/dataflow:v1b3/SeqMapTask": seq_map_task -"/dataflow:v1b3/SeqMapTask/name": name -"/dataflow:v1b3/SeqMapTask/outputInfos": output_infos -"/dataflow:v1b3/SeqMapTask/outputInfos/output_info": output_info -"/dataflow:v1b3/SeqMapTask/inputs": inputs -"/dataflow:v1b3/SeqMapTask/inputs/input": input -"/dataflow:v1b3/SeqMapTask/systemName": system_name -"/dataflow:v1b3/SeqMapTask/stageName": stage_name -"/dataflow:v1b3/SeqMapTask/userFn": user_fn -"/dataflow:v1b3/SeqMapTask/userFn/user_fn": user_fn -"/dataflow:v1b3/NameAndKind": name_and_kind -"/dataflow:v1b3/NameAndKind/name": name -"/dataflow:v1b3/NameAndKind/kind": kind -"/dataflow:v1b3/WorkerMessageCode": worker_message_code -"/dataflow:v1b3/WorkerMessageCode/parameters": parameters -"/dataflow:v1b3/WorkerMessageCode/parameters/parameter": parameter -"/dataflow:v1b3/WorkerMessageCode/code": code -"/dataflow:v1b3/CustomSourceLocation": custom_source_location -"/dataflow:v1b3/CustomSourceLocation/stateful": stateful -"/dataflow:v1b3/MapTask": map_task -"/dataflow:v1b3/MapTask/systemName": system_name -"/dataflow:v1b3/MapTask/stageName": stage_name -"/dataflow:v1b3/MapTask/instructions": instructions -"/dataflow:v1b3/MapTask/instructions/instruction": instruction -"/dataflow:v1b3/FloatingPointMean": floating_point_mean -"/dataflow:v1b3/FloatingPointMean/sum": sum -"/dataflow:v1b3/FloatingPointMean/count": count -"/dataflow:v1b3/ReportWorkItemStatusResponse": report_work_item_status_response -"/dataflow:v1b3/ReportWorkItemStatusResponse/workItemServiceStates": work_item_service_states -"/dataflow:v1b3/ReportWorkItemStatusResponse/workItemServiceStates/work_item_service_state": work_item_service_state -"/dataflow:v1b3/InstructionOutput": instruction_output -"/dataflow:v1b3/InstructionOutput/name": name -"/dataflow:v1b3/InstructionOutput/originalName": original_name -"/dataflow:v1b3/InstructionOutput/systemName": system_name -"/dataflow:v1b3/InstructionOutput/onlyCountKeyBytes": only_count_key_bytes -"/dataflow:v1b3/InstructionOutput/onlyCountValueBytes": only_count_value_bytes -"/dataflow:v1b3/InstructionOutput/codec": codec -"/dataflow:v1b3/InstructionOutput/codec/codec": codec -"/dataflow:v1b3/CreateJobFromTemplateRequest": create_job_from_template_request -"/dataflow:v1b3/CreateJobFromTemplateRequest/gcsPath": gcs_path -"/dataflow:v1b3/CreateJobFromTemplateRequest/environment": environment -"/dataflow:v1b3/CreateJobFromTemplateRequest/parameters": parameters -"/dataflow:v1b3/CreateJobFromTemplateRequest/parameters/parameter": parameter -"/dataflow:v1b3/CreateJobFromTemplateRequest/jobName": job_name -"/dataflow:v1b3/IntegerMean": integer_mean -"/dataflow:v1b3/IntegerMean/count": count -"/dataflow:v1b3/IntegerMean/sum": sum -"/dataflow:v1b3/ListJobsResponse": list_jobs_response -"/dataflow:v1b3/ListJobsResponse/jobs": jobs -"/dataflow:v1b3/ListJobsResponse/jobs/job": job -"/dataflow:v1b3/ListJobsResponse/nextPageToken": next_page_token -"/dataflow:v1b3/ListJobsResponse/failedLocation": failed_location -"/dataflow:v1b3/ListJobsResponse/failedLocation/failed_location": failed_location -"/dataflow:v1b3/ComputationTopology": computation_topology -"/dataflow:v1b3/ComputationTopology/systemStageName": system_stage_name -"/dataflow:v1b3/ComputationTopology/inputs": inputs -"/dataflow:v1b3/ComputationTopology/inputs/input": input -"/dataflow:v1b3/ComputationTopology/computationId": computation_id -"/dataflow:v1b3/ComputationTopology/keyRanges": key_ranges -"/dataflow:v1b3/ComputationTopology/keyRanges/key_range": key_range -"/dataflow:v1b3/ComputationTopology/userStageName": user_stage_name -"/dataflow:v1b3/ComputationTopology/outputs": outputs -"/dataflow:v1b3/ComputationTopology/outputs/output": output -"/dataflow:v1b3/ComputationTopology/stateFamilies": state_families -"/dataflow:v1b3/ComputationTopology/stateFamilies/state_family": state_family -"/dataflow:v1b3/RuntimeEnvironment": runtime_environment -"/dataflow:v1b3/RuntimeEnvironment/zone": zone -"/dataflow:v1b3/RuntimeEnvironment/serviceAccountEmail": service_account_email -"/dataflow:v1b3/RuntimeEnvironment/tempLocation": temp_location -"/dataflow:v1b3/RuntimeEnvironment/bypassTempDirValidation": bypass_temp_dir_validation -"/dataflow:v1b3/RuntimeEnvironment/maxWorkers": max_workers -"/dataflow:v1b3/StreamingSideInputLocation": streaming_side_input_location -"/dataflow:v1b3/StreamingSideInputLocation/stateFamily": state_family -"/dataflow:v1b3/StreamingSideInputLocation/tag": tag -"/dataflow:v1b3/MountedDataDisk": mounted_data_disk -"/dataflow:v1b3/MountedDataDisk/dataDisk": data_disk -"/dataflow:v1b3/LaunchTemplateResponse": launch_template_response -"/dataflow:v1b3/LaunchTemplateResponse/job": job -"/dataflow:v1b3/Job": job -"/dataflow:v1b3/Job/type": type -"/dataflow:v1b3/Job/projectId": project_id -"/dataflow:v1b3/Job/pipelineDescription": pipeline_description -"/dataflow:v1b3/Job/replaceJobId": replace_job_id -"/dataflow:v1b3/Job/requestedState": requested_state -"/dataflow:v1b3/Job/tempFiles": temp_files -"/dataflow:v1b3/Job/tempFiles/temp_file": temp_file -"/dataflow:v1b3/Job/clientRequestId": client_request_id -"/dataflow:v1b3/Job/name": name -"/dataflow:v1b3/Job/steps": steps -"/dataflow:v1b3/Job/steps/step": step -"/dataflow:v1b3/Job/replacedByJobId": replaced_by_job_id -"/dataflow:v1b3/Job/executionInfo": execution_info -"/dataflow:v1b3/Job/id": id -"/dataflow:v1b3/Job/currentState": current_state -"/dataflow:v1b3/Job/location": location -"/dataflow:v1b3/Job/currentStateTime": current_state_time -"/dataflow:v1b3/Job/transformNameMapping": transform_name_mapping -"/dataflow:v1b3/Job/transformNameMapping/transform_name_mapping": transform_name_mapping -"/dataflow:v1b3/Job/labels": labels -"/dataflow:v1b3/Job/labels/label": label -"/dataflow:v1b3/Job/environment": environment -"/dataflow:v1b3/Job/createTime": create_time -"/dataflow:v1b3/DerivedSource": derived_source -"/dataflow:v1b3/DerivedSource/derivationMode": derivation_mode -"/dataflow:v1b3/DerivedSource/source": source -"/dataflow:v1b3/DynamicSourceSplit": dynamic_source_split -"/dataflow:v1b3/DynamicSourceSplit/residual": residual -"/dataflow:v1b3/DynamicSourceSplit/primary": primary -"/dataflow:v1b3/SourceOperationResponse": source_operation_response -"/dataflow:v1b3/SourceOperationResponse/getMetadata": get_metadata -"/dataflow:v1b3/SourceOperationResponse/split": split -"/dataflow:v1b3/SendDebugCaptureResponse": send_debug_capture_response -"/dataflow:v1b3/SideInputInfo": side_input_info -"/dataflow:v1b3/SideInputInfo/sources": sources -"/dataflow:v1b3/SideInputInfo/sources/source": source -"/dataflow:v1b3/SideInputInfo/kind": kind -"/dataflow:v1b3/SideInputInfo/kind/kind": kind -"/dataflow:v1b3/SideInputInfo/tag": tag -"/dataflow:v1b3/CounterStructuredNameAndMetadata": counter_structured_name_and_metadata -"/dataflow:v1b3/CounterStructuredNameAndMetadata/name": name -"/dataflow:v1b3/CounterStructuredNameAndMetadata/metadata": metadata -"/dataflow:v1b3/ConcatPosition": concat_position -"/dataflow:v1b3/ConcatPosition/position": position -"/dataflow:v1b3/ConcatPosition/index": index -"/dataflow:v1b3/WriteInstruction": write_instruction -"/dataflow:v1b3/WriteInstruction/input": input -"/dataflow:v1b3/WriteInstruction/sink": sink -"/dataflow:v1b3/StreamingComputationRanges": streaming_computation_ranges -"/dataflow:v1b3/StreamingComputationRanges/computationId": computation_id -"/dataflow:v1b3/StreamingComputationRanges/rangeAssignments": range_assignments -"/dataflow:v1b3/StreamingComputationRanges/rangeAssignments/range_assignment": range_assignment -"/dataflow:v1b3/AutoscalingSettings": autoscaling_settings -"/dataflow:v1b3/AutoscalingSettings/maxNumWorkers": max_num_workers -"/dataflow:v1b3/AutoscalingSettings/algorithm": algorithm -"/dataflow:v1b3/ExecutionStageSummary": execution_stage_summary -"/dataflow:v1b3/ExecutionStageSummary/outputSource": output_source -"/dataflow:v1b3/ExecutionStageSummary/outputSource/output_source": output_source -"/dataflow:v1b3/ExecutionStageSummary/name": name -"/dataflow:v1b3/ExecutionStageSummary/inputSource": input_source -"/dataflow:v1b3/ExecutionStageSummary/inputSource/input_source": input_source -"/dataflow:v1b3/ExecutionStageSummary/id": id -"/dataflow:v1b3/ExecutionStageSummary/componentTransform": component_transform -"/dataflow:v1b3/ExecutionStageSummary/componentTransform/component_transform": component_transform -"/dataflow:v1b3/ExecutionStageSummary/componentSource": component_source -"/dataflow:v1b3/ExecutionStageSummary/componentSource/component_source": component_source -"/dataflow:v1b3/ExecutionStageSummary/kind": kind -"/dataflow:v1b3/SendWorkerMessagesRequest": send_worker_messages_request -"/dataflow:v1b3/SendWorkerMessagesRequest/workerMessages": worker_messages -"/dataflow:v1b3/SendWorkerMessagesRequest/workerMessages/worker_message": worker_message -"/dataflow:v1b3/SourceSplitShard": source_split_shard -"/dataflow:v1b3/SourceSplitShard/derivationMode": derivation_mode -"/dataflow:v1b3/SourceSplitShard/source": source -"/dataflow:v1b3/CPUTime": cpu_time -"/dataflow:v1b3/CPUTime/totalMs": total_ms -"/dataflow:v1b3/CPUTime/rate": rate -"/dataflow:v1b3/CPUTime/timestamp": timestamp -"/dataflow:v1b3/Environment": environment -"/dataflow:v1b3/Environment/experiments": experiments -"/dataflow:v1b3/Environment/experiments/experiment": experiment -"/dataflow:v1b3/Environment/internalExperiments": internal_experiments -"/dataflow:v1b3/Environment/internalExperiments/internal_experiment": internal_experiment -"/dataflow:v1b3/Environment/version": version -"/dataflow:v1b3/Environment/version/version": version -"/dataflow:v1b3/Environment/serviceAccountEmail": service_account_email -"/dataflow:v1b3/Environment/sdkPipelineOptions": sdk_pipeline_options -"/dataflow:v1b3/Environment/sdkPipelineOptions/sdk_pipeline_option": sdk_pipeline_option -"/dataflow:v1b3/Environment/userAgent": user_agent -"/dataflow:v1b3/Environment/userAgent/user_agent": user_agent -"/dataflow:v1b3/Environment/clusterManagerApiService": cluster_manager_api_service -"/dataflow:v1b3/Environment/tempStoragePrefix": temp_storage_prefix -"/dataflow:v1b3/Environment/workerPools": worker_pools -"/dataflow:v1b3/Environment/workerPools/worker_pool": worker_pool -"/dataflow:v1b3/Environment/dataset": dataset -"/dataflow:v1b3/StreamingComputationTask": streaming_computation_task -"/dataflow:v1b3/StreamingComputationTask/computationRanges": computation_ranges -"/dataflow:v1b3/StreamingComputationTask/computationRanges/computation_range": computation_range -"/dataflow:v1b3/StreamingComputationTask/dataDisks": data_disks -"/dataflow:v1b3/StreamingComputationTask/dataDisks/data_disk": data_disk -"/dataflow:v1b3/StreamingComputationTask/taskType": task_type -"/dataflow:v1b3/SendDebugCaptureRequest": send_debug_capture_request -"/dataflow:v1b3/SendDebugCaptureRequest/data": data -"/dataflow:v1b3/SendDebugCaptureRequest/componentId": component_id -"/dataflow:v1b3/SendDebugCaptureRequest/workerId": worker_id -"/dataflow:v1b3/GetDebugConfigResponse": get_debug_config_response -"/dataflow:v1b3/GetDebugConfigResponse/config": config -"/dataflow:v1b3/ComponentTransform": component_transform -"/dataflow:v1b3/ComponentTransform/originalTransform": original_transform -"/dataflow:v1b3/ComponentTransform/name": name -"/dataflow:v1b3/ComponentTransform/userName": user_name -"/dataflow:v1b3/StreamingSetupTask": streaming_setup_task -"/dataflow:v1b3/StreamingSetupTask/workerHarnessPort": worker_harness_port -"/dataflow:v1b3/StreamingSetupTask/drain": drain -"/dataflow:v1b3/StreamingSetupTask/receiveWorkPort": receive_work_port -"/dataflow:v1b3/StreamingSetupTask/streamingComputationTopology": streaming_computation_topology -"/dataflow:v1b3/PubsubLocation": pubsub_location -"/dataflow:v1b3/PubsubLocation/trackingSubscription": tracking_subscription -"/dataflow:v1b3/PubsubLocation/withAttributes": with_attributes -"/dataflow:v1b3/PubsubLocation/idLabel": id_label -"/dataflow:v1b3/PubsubLocation/topic": topic -"/dataflow:v1b3/PubsubLocation/timestampLabel": timestamp_label -"/dataflow:v1b3/PubsubLocation/subscription": subscription -"/dataflow:v1b3/PubsubLocation/dropLateData": drop_late_data -"/dataflow:v1b3/WorkerHealthReport": worker_health_report -"/dataflow:v1b3/WorkerHealthReport/vmStartupTime": vm_startup_time -"/dataflow:v1b3/WorkerHealthReport/vmIsHealthy": vm_is_healthy -"/dataflow:v1b3/WorkerHealthReport/reportInterval": report_interval -"/dataflow:v1b3/WorkerHealthReport/pods": pods -"/dataflow:v1b3/WorkerHealthReport/pods/pod": pod -"/dataflow:v1b3/WorkerHealthReport/pods/pod/pod": pod -"/dataflow:v1b3/JobMessage": job_message -"/dataflow:v1b3/JobMessage/messageText": message_text -"/dataflow:v1b3/JobMessage/messageImportance": message_importance -"/dataflow:v1b3/JobMessage/time": time -"/dataflow:v1b3/JobMessage/id": id -"/dataflow:v1b3/ParameterMetadata": parameter_metadata -"/dataflow:v1b3/ParameterMetadata/isOptional": is_optional -"/dataflow:v1b3/ParameterMetadata/name": name -"/dataflow:v1b3/ParameterMetadata/regexes": regexes -"/dataflow:v1b3/ParameterMetadata/regexes/regex": regex -"/dataflow:v1b3/ParameterMetadata/label": label -"/dataflow:v1b3/ParameterMetadata/helpText": help_text -"/dataflow:v1b3/MultiOutputInfo": multi_output_info -"/dataflow:v1b3/MultiOutputInfo/tag": tag -"/dataflow:v1b3/SourceSplitRequest": source_split_request -"/dataflow:v1b3/SourceSplitRequest/source": source -"/dataflow:v1b3/SourceSplitRequest/options": options -"/dataflow:v1b3/SourceGetMetadataResponse": source_get_metadata_response -"/dataflow:v1b3/SourceGetMetadataResponse/metadata": metadata -"/dataflow:v1b3/ShellTask": shell_task -"/dataflow:v1b3/ShellTask/command": command -"/dataflow:v1b3/ShellTask/exitCode": exit_code +"/dataflow:v1b3/dataflow.projects.jobs.messages.list/jobId": job_id +"/dataflow:v1b3/dataflow.projects.jobs.messages.list/projectId": project_id "/dataflow:v1b3/MetricShortId": metric_short_id "/dataflow:v1b3/MetricShortId/metricIndex": metric_index "/dataflow:v1b3/MetricShortId/shortId": short_id +"/dataflow:v1b3/ShellTask": shell_task +"/dataflow:v1b3/ShellTask/exitCode": exit_code +"/dataflow:v1b3/ShellTask/command": command "/dataflow:v1b3/TaskRunnerSettings": task_runner_settings +"/dataflow:v1b3/TaskRunnerSettings/alsologtostderr": alsologtostderr +"/dataflow:v1b3/TaskRunnerSettings/taskGroup": task_group "/dataflow:v1b3/TaskRunnerSettings/harnessCommand": harness_command "/dataflow:v1b3/TaskRunnerSettings/logDir": log_dir +"/dataflow:v1b3/TaskRunnerSettings/dataflowApiVersion": dataflow_api_version "/dataflow:v1b3/TaskRunnerSettings/oauthScopes": oauth_scopes "/dataflow:v1b3/TaskRunnerSettings/oauthScopes/oauth_scope": oauth_scope -"/dataflow:v1b3/TaskRunnerSettings/dataflowApiVersion": dataflow_api_version -"/dataflow:v1b3/TaskRunnerSettings/logUploadLocation": log_upload_location "/dataflow:v1b3/TaskRunnerSettings/streamingWorkerMainClass": streaming_worker_main_class +"/dataflow:v1b3/TaskRunnerSettings/logUploadLocation": log_upload_location "/dataflow:v1b3/TaskRunnerSettings/workflowFileName": workflow_file_name "/dataflow:v1b3/TaskRunnerSettings/baseTaskDir": base_task_dir "/dataflow:v1b3/TaskRunnerSettings/tempStoragePrefix": temp_storage_prefix @@ -19018,10 +18593,8 @@ "/dataflow:v1b3/TaskRunnerSettings/logToSerialconsole": log_to_serialconsole "/dataflow:v1b3/TaskRunnerSettings/continueOnException": continue_on_exception "/dataflow:v1b3/TaskRunnerSettings/parallelWorkerSettings": parallel_worker_settings -"/dataflow:v1b3/TaskRunnerSettings/vmId": vm_id "/dataflow:v1b3/TaskRunnerSettings/taskUser": task_user -"/dataflow:v1b3/TaskRunnerSettings/alsologtostderr": alsologtostderr -"/dataflow:v1b3/TaskRunnerSettings/taskGroup": task_group +"/dataflow:v1b3/TaskRunnerSettings/vmId": vm_id "/dataflow:v1b3/Position": position "/dataflow:v1b3/Position/recordIndex": record_index "/dataflow:v1b3/Position/shufflePosition": shuffle_position @@ -19030,8 +18603,6 @@ "/dataflow:v1b3/Position/end": end "/dataflow:v1b3/Position/key": key "/dataflow:v1b3/Source": source -"/dataflow:v1b3/Source/spec": spec -"/dataflow:v1b3/Source/spec/spec": spec "/dataflow:v1b3/Source/metadata": metadata "/dataflow:v1b3/Source/baseSpecs": base_specs "/dataflow:v1b3/Source/baseSpecs/base_spec": base_spec @@ -19039,23 +18610,12 @@ "/dataflow:v1b3/Source/codec": codec "/dataflow:v1b3/Source/codec/codec": codec "/dataflow:v1b3/Source/doesNotNeedSplitting": does_not_need_splitting +"/dataflow:v1b3/Source/spec": spec +"/dataflow:v1b3/Source/spec/spec": spec "/dataflow:v1b3/SplitInt64": split_int64 "/dataflow:v1b3/SplitInt64/lowBits": low_bits "/dataflow:v1b3/SplitInt64/highBits": high_bits "/dataflow:v1b3/WorkerPool": worker_pool -"/dataflow:v1b3/WorkerPool/defaultPackageSet": default_package_set -"/dataflow:v1b3/WorkerPool/network": network -"/dataflow:v1b3/WorkerPool/zone": zone -"/dataflow:v1b3/WorkerPool/numWorkers": num_workers -"/dataflow:v1b3/WorkerPool/numThreadsPerWorker": num_threads_per_worker -"/dataflow:v1b3/WorkerPool/diskSourceImage": disk_source_image -"/dataflow:v1b3/WorkerPool/packages": packages -"/dataflow:v1b3/WorkerPool/packages/package": package -"/dataflow:v1b3/WorkerPool/teardownPolicy": teardown_policy -"/dataflow:v1b3/WorkerPool/onHostMaintenance": on_host_maintenance -"/dataflow:v1b3/WorkerPool/poolArgs": pool_args -"/dataflow:v1b3/WorkerPool/poolArgs/pool_arg": pool_arg -"/dataflow:v1b3/WorkerPool/diskSizeGb": disk_size_gb "/dataflow:v1b3/WorkerPool/workerHarnessContainerImage": worker_harness_container_image "/dataflow:v1b3/WorkerPool/diskType": disk_type "/dataflow:v1b3/WorkerPool/machineType": machine_type @@ -19064,23 +18624,27 @@ "/dataflow:v1b3/WorkerPool/dataDisks/data_disk": data_disk "/dataflow:v1b3/WorkerPool/subnetwork": subnetwork "/dataflow:v1b3/WorkerPool/ipConfiguration": ip_configuration -"/dataflow:v1b3/WorkerPool/taskrunnerSettings": taskrunner_settings "/dataflow:v1b3/WorkerPool/autoscalingSettings": autoscaling_settings +"/dataflow:v1b3/WorkerPool/taskrunnerSettings": taskrunner_settings "/dataflow:v1b3/WorkerPool/metadata": metadata "/dataflow:v1b3/WorkerPool/metadata/metadatum": metadatum +"/dataflow:v1b3/WorkerPool/network": network +"/dataflow:v1b3/WorkerPool/defaultPackageSet": default_package_set +"/dataflow:v1b3/WorkerPool/zone": zone +"/dataflow:v1b3/WorkerPool/numThreadsPerWorker": num_threads_per_worker +"/dataflow:v1b3/WorkerPool/numWorkers": num_workers +"/dataflow:v1b3/WorkerPool/diskSourceImage": disk_source_image +"/dataflow:v1b3/WorkerPool/packages": packages +"/dataflow:v1b3/WorkerPool/packages/package": package +"/dataflow:v1b3/WorkerPool/teardownPolicy": teardown_policy +"/dataflow:v1b3/WorkerPool/onHostMaintenance": on_host_maintenance +"/dataflow:v1b3/WorkerPool/poolArgs": pool_args +"/dataflow:v1b3/WorkerPool/poolArgs/pool_arg": pool_arg +"/dataflow:v1b3/WorkerPool/diskSizeGb": disk_size_gb "/dataflow:v1b3/SourceOperationRequest": source_operation_request "/dataflow:v1b3/SourceOperationRequest/getMetadata": get_metadata "/dataflow:v1b3/SourceOperationRequest/split": split "/dataflow:v1b3/WorkItem": work_item -"/dataflow:v1b3/WorkItem/configuration": configuration -"/dataflow:v1b3/WorkItem/mapTask": map_task -"/dataflow:v1b3/WorkItem/seqMapTask": seq_map_task -"/dataflow:v1b3/WorkItem/packages": packages -"/dataflow:v1b3/WorkItem/packages/package": package -"/dataflow:v1b3/WorkItem/projectId": project_id -"/dataflow:v1b3/WorkItem/reportStatusInterval": report_status_interval -"/dataflow:v1b3/WorkItem/streamingSetupTask": streaming_setup_task -"/dataflow:v1b3/WorkItem/sourceOperationTask": source_operation_task "/dataflow:v1b3/WorkItem/leaseExpireTime": lease_expire_time "/dataflow:v1b3/WorkItem/streamingConfigTask": streaming_config_task "/dataflow:v1b3/WorkItem/initialReportIndex": initial_report_index @@ -19088,13 +18652,23 @@ "/dataflow:v1b3/WorkItem/shellTask": shell_task "/dataflow:v1b3/WorkItem/jobId": job_id "/dataflow:v1b3/WorkItem/id": id +"/dataflow:v1b3/WorkItem/configuration": configuration +"/dataflow:v1b3/WorkItem/mapTask": map_task +"/dataflow:v1b3/WorkItem/seqMapTask": seq_map_task +"/dataflow:v1b3/WorkItem/packages": packages +"/dataflow:v1b3/WorkItem/packages/package": package +"/dataflow:v1b3/WorkItem/projectId": project_id +"/dataflow:v1b3/WorkItem/sourceOperationTask": source_operation_task +"/dataflow:v1b3/WorkItem/streamingSetupTask": streaming_setup_task +"/dataflow:v1b3/WorkItem/reportStatusInterval": report_status_interval "/dataflow:v1b3/ReportedParallelism": reported_parallelism -"/dataflow:v1b3/ReportedParallelism/isInfinite": is_infinite "/dataflow:v1b3/ReportedParallelism/value": value +"/dataflow:v1b3/ReportedParallelism/isInfinite": is_infinite "/dataflow:v1b3/ResourceUtilizationReport": resource_utilization_report "/dataflow:v1b3/ResourceUtilizationReport/cpuTime": cpu_time "/dataflow:v1b3/ResourceUtilizationReport/cpuTime/cpu_time": cpu_time "/dataflow:v1b3/TopologyConfig": topology_config +"/dataflow:v1b3/TopologyConfig/forwardingKeyBits": forwarding_key_bits "/dataflow:v1b3/TopologyConfig/userStageToComputationNameMap": user_stage_to_computation_name_map "/dataflow:v1b3/TopologyConfig/userStageToComputationNameMap/user_stage_to_computation_name_map": user_stage_to_computation_name_map "/dataflow:v1b3/TopologyConfig/computations": computations @@ -19102,25 +18676,24 @@ "/dataflow:v1b3/TopologyConfig/dataDiskAssignments": data_disk_assignments "/dataflow:v1b3/TopologyConfig/dataDiskAssignments/data_disk_assignment": data_disk_assignment "/dataflow:v1b3/TopologyConfig/persistentStateVersion": persistent_state_version -"/dataflow:v1b3/TopologyConfig/forwardingKeyBits": forwarding_key_bits "/dataflow:v1b3/SourceSplitOptions": source_split_options "/dataflow:v1b3/SourceSplitOptions/desiredBundleSizeBytes": desired_bundle_size_bytes "/dataflow:v1b3/SourceSplitOptions/desiredShardSizeBytes": desired_shard_size_bytes "/dataflow:v1b3/ReadInstruction": read_instruction "/dataflow:v1b3/ReadInstruction/source": source "/dataflow:v1b3/WorkerSettings": worker_settings -"/dataflow:v1b3/WorkerSettings/servicePath": service_path -"/dataflow:v1b3/WorkerSettings/shuffleServicePath": shuffle_service_path "/dataflow:v1b3/WorkerSettings/workerId": worker_id "/dataflow:v1b3/WorkerSettings/tempStoragePrefix": temp_storage_prefix -"/dataflow:v1b3/WorkerSettings/baseUrl": base_url "/dataflow:v1b3/WorkerSettings/reportingEnabled": reporting_enabled -"/dataflow:v1b3/DataDiskAssignment": data_disk_assignment -"/dataflow:v1b3/DataDiskAssignment/vmInstance": vm_instance -"/dataflow:v1b3/DataDiskAssignment/dataDisks": data_disks -"/dataflow:v1b3/DataDiskAssignment/dataDisks/data_disk": data_disk +"/dataflow:v1b3/WorkerSettings/baseUrl": base_url +"/dataflow:v1b3/WorkerSettings/servicePath": service_path +"/dataflow:v1b3/WorkerSettings/shuffleServicePath": shuffle_service_path "/dataflow:v1b3/StreamingStageLocation": streaming_stage_location "/dataflow:v1b3/StreamingStageLocation/streamId": stream_id +"/dataflow:v1b3/DataDiskAssignment": data_disk_assignment +"/dataflow:v1b3/DataDiskAssignment/dataDisks": data_disks +"/dataflow:v1b3/DataDiskAssignment/dataDisks/data_disk": data_disk +"/dataflow:v1b3/DataDiskAssignment/vmInstance": vm_instance "/dataflow:v1b3/ApproximateSplitRequest": approximate_split_request "/dataflow:v1b3/ApproximateSplitRequest/position": position "/dataflow:v1b3/ApproximateSplitRequest/fractionConsumed": fraction_consumed @@ -19142,7 +18715,6 @@ "/dataflow:v1b3/LeaseWorkItemResponse/workItems": work_items "/dataflow:v1b3/LeaseWorkItemResponse/workItems/work_item": work_item "/dataflow:v1b3/TransformSummary": transform_summary -"/dataflow:v1b3/TransformSummary/name": name "/dataflow:v1b3/TransformSummary/id": id "/dataflow:v1b3/TransformSummary/outputCollectionName": output_collection_name "/dataflow:v1b3/TransformSummary/outputCollectionName/output_collection_name": output_collection_name @@ -19151,47 +18723,52 @@ "/dataflow:v1b3/TransformSummary/kind": kind "/dataflow:v1b3/TransformSummary/inputCollectionName": input_collection_name "/dataflow:v1b3/TransformSummary/inputCollectionName/input_collection_name": input_collection_name +"/dataflow:v1b3/TransformSummary/name": name "/dataflow:v1b3/StreamingComputationConfig": streaming_computation_config +"/dataflow:v1b3/StreamingComputationConfig/computationId": computation_id "/dataflow:v1b3/StreamingComputationConfig/systemName": system_name "/dataflow:v1b3/StreamingComputationConfig/stageName": stage_name "/dataflow:v1b3/StreamingComputationConfig/instructions": instructions "/dataflow:v1b3/StreamingComputationConfig/instructions/instruction": instruction -"/dataflow:v1b3/StreamingComputationConfig/computationId": computation_id -"/dataflow:v1b3/LaunchTemplateParameters": launch_template_parameters -"/dataflow:v1b3/LaunchTemplateParameters/environment": environment -"/dataflow:v1b3/LaunchTemplateParameters/parameters": parameters -"/dataflow:v1b3/LaunchTemplateParameters/parameters/parameter": parameter -"/dataflow:v1b3/LaunchTemplateParameters/jobName": job_name "/dataflow:v1b3/Sink": sink "/dataflow:v1b3/Sink/spec": spec "/dataflow:v1b3/Sink/spec/spec": spec "/dataflow:v1b3/Sink/codec": codec "/dataflow:v1b3/Sink/codec/codec": codec +"/dataflow:v1b3/LaunchTemplateParameters": launch_template_parameters +"/dataflow:v1b3/LaunchTemplateParameters/parameters": parameters +"/dataflow:v1b3/LaunchTemplateParameters/parameters/parameter": parameter +"/dataflow:v1b3/LaunchTemplateParameters/jobName": job_name +"/dataflow:v1b3/LaunchTemplateParameters/environment": environment "/dataflow:v1b3/FlattenInstruction": flatten_instruction "/dataflow:v1b3/FlattenInstruction/inputs": inputs "/dataflow:v1b3/FlattenInstruction/inputs/input": input "/dataflow:v1b3/PartialGroupByKeyInstruction": partial_group_by_key_instruction +"/dataflow:v1b3/PartialGroupByKeyInstruction/valueCombiningFn": value_combining_fn +"/dataflow:v1b3/PartialGroupByKeyInstruction/valueCombiningFn/value_combining_fn": value_combining_fn +"/dataflow:v1b3/PartialGroupByKeyInstruction/inputElementCodec": input_element_codec +"/dataflow:v1b3/PartialGroupByKeyInstruction/inputElementCodec/input_element_codec": input_element_codec +"/dataflow:v1b3/PartialGroupByKeyInstruction/originalCombineValuesInputStoreName": original_combine_values_input_store_name "/dataflow:v1b3/PartialGroupByKeyInstruction/originalCombineValuesStepName": original_combine_values_step_name "/dataflow:v1b3/PartialGroupByKeyInstruction/sideInputs": side_inputs "/dataflow:v1b3/PartialGroupByKeyInstruction/sideInputs/side_input": side_input "/dataflow:v1b3/PartialGroupByKeyInstruction/input": input -"/dataflow:v1b3/PartialGroupByKeyInstruction/inputElementCodec": input_element_codec -"/dataflow:v1b3/PartialGroupByKeyInstruction/inputElementCodec/input_element_codec": input_element_codec -"/dataflow:v1b3/PartialGroupByKeyInstruction/valueCombiningFn": value_combining_fn -"/dataflow:v1b3/PartialGroupByKeyInstruction/valueCombiningFn/value_combining_fn": value_combining_fn -"/dataflow:v1b3/PartialGroupByKeyInstruction/originalCombineValuesInputStoreName": original_combine_values_input_store_name -"/dataflow:v1b3/StageSource": stage_source -"/dataflow:v1b3/StageSource/originalTransformOrCollection": original_transform_or_collection -"/dataflow:v1b3/StageSource/name": name -"/dataflow:v1b3/StageSource/sizeBytes": size_bytes -"/dataflow:v1b3/StageSource/userName": user_name "/dataflow:v1b3/InstructionInput": instruction_input "/dataflow:v1b3/InstructionInput/producerInstructionIndex": producer_instruction_index "/dataflow:v1b3/InstructionInput/outputNum": output_num +"/dataflow:v1b3/StageSource": stage_source +"/dataflow:v1b3/StageSource/userName": user_name +"/dataflow:v1b3/StageSource/originalTransformOrCollection": original_transform_or_collection +"/dataflow:v1b3/StageSource/name": name +"/dataflow:v1b3/StageSource/sizeBytes": size_bytes "/dataflow:v1b3/StringList": string_list "/dataflow:v1b3/StringList/elements": elements "/dataflow:v1b3/StringList/elements/element": element "/dataflow:v1b3/DisplayData": display_data +"/dataflow:v1b3/DisplayData/timestampValue": timestamp_value +"/dataflow:v1b3/DisplayData/javaClassValue": java_class_value +"/dataflow:v1b3/DisplayData/boolValue": bool_value +"/dataflow:v1b3/DisplayData/strValue": str_value "/dataflow:v1b3/DisplayData/durationValue": duration_value "/dataflow:v1b3/DisplayData/int64Value": int64_value "/dataflow:v1b3/DisplayData/namespace": namespace @@ -19200,10 +18777,6 @@ "/dataflow:v1b3/DisplayData/shortStrValue": short_str_value "/dataflow:v1b3/DisplayData/label": label "/dataflow:v1b3/DisplayData/url": url -"/dataflow:v1b3/DisplayData/timestampValue": timestamp_value -"/dataflow:v1b3/DisplayData/boolValue": bool_value -"/dataflow:v1b3/DisplayData/javaClassValue": java_class_value -"/dataflow:v1b3/DisplayData/strValue": str_value "/dataflow:v1b3/LeaseWorkItemRequest": lease_work_item_request "/dataflow:v1b3/LeaseWorkItemRequest/workerCapabilities": worker_capabilities "/dataflow:v1b3/LeaseWorkItemRequest/workerCapabilities/worker_capability": worker_capability @@ -19220,16 +18793,11 @@ "/dataflow:v1b3/GetTemplateResponse/metadata": metadata "/dataflow:v1b3/GetTemplateResponse/status": status "/dataflow:v1b3/ReportWorkItemStatusRequest": report_work_item_status_request -"/dataflow:v1b3/ReportWorkItemStatusRequest/workItemStatuses": work_item_statuses -"/dataflow:v1b3/ReportWorkItemStatusRequest/workItemStatuses/work_item_status": work_item_status "/dataflow:v1b3/ReportWorkItemStatusRequest/workerId": worker_id "/dataflow:v1b3/ReportWorkItemStatusRequest/currentWorkerTime": current_worker_time "/dataflow:v1b3/ReportWorkItemStatusRequest/location": location -"/dataflow:v1b3/StreamingConfigTask": streaming_config_task -"/dataflow:v1b3/StreamingConfigTask/streamingComputationConfigs": streaming_computation_configs -"/dataflow:v1b3/StreamingConfigTask/streamingComputationConfigs/streaming_computation_config": streaming_computation_config -"/dataflow:v1b3/StreamingConfigTask/userStepToStateFamilyNameMap": user_step_to_state_family_name_map -"/dataflow:v1b3/StreamingConfigTask/userStepToStateFamilyNameMap/user_step_to_state_family_name_map": user_step_to_state_family_name_map +"/dataflow:v1b3/ReportWorkItemStatusRequest/workItemStatuses": work_item_statuses +"/dataflow:v1b3/ReportWorkItemStatusRequest/workItemStatuses/work_item_status": work_item_status "/dataflow:v1b3/PipelineDescription": pipeline_description "/dataflow:v1b3/PipelineDescription/originalPipelineTransform": original_pipeline_transform "/dataflow:v1b3/PipelineDescription/originalPipelineTransform/original_pipeline_transform": original_pipeline_transform @@ -19237,11 +18805,16 @@ "/dataflow:v1b3/PipelineDescription/displayData/display_datum": display_datum "/dataflow:v1b3/PipelineDescription/executionPipelineStage": execution_pipeline_stage "/dataflow:v1b3/PipelineDescription/executionPipelineStage/execution_pipeline_stage": execution_pipeline_stage +"/dataflow:v1b3/StreamingConfigTask": streaming_config_task +"/dataflow:v1b3/StreamingConfigTask/streamingComputationConfigs": streaming_computation_configs +"/dataflow:v1b3/StreamingConfigTask/streamingComputationConfigs/streaming_computation_config": streaming_computation_config +"/dataflow:v1b3/StreamingConfigTask/userStepToStateFamilyNameMap": user_step_to_state_family_name_map +"/dataflow:v1b3/StreamingConfigTask/userStepToStateFamilyNameMap/user_step_to_state_family_name_map": user_step_to_state_family_name_map "/dataflow:v1b3/Step": step -"/dataflow:v1b3/Step/name": name -"/dataflow:v1b3/Step/kind": kind "/dataflow:v1b3/Step/properties": properties "/dataflow:v1b3/Step/properties/property": property +"/dataflow:v1b3/Step/name": name +"/dataflow:v1b3/Step/kind": kind "/dataflow:v1b3/JobExecutionInfo": job_execution_info "/dataflow:v1b3/JobExecutionInfo/stages": stages "/dataflow:v1b3/JobExecutionInfo/stages/stage": stage @@ -19251,55 +18824,427 @@ "/dataflow:v1b3/Disk/sizeGb": size_gb "/dataflow:v1b3/Disk/diskType": disk_type "/dataflow:v1b3/Disk/mountPoint": mount_point -"/dataflow:v1b3/ListJobMessagesResponse": list_job_messages_response -"/dataflow:v1b3/ListJobMessagesResponse/nextPageToken": next_page_token -"/dataflow:v1b3/ListJobMessagesResponse/jobMessages": job_messages -"/dataflow:v1b3/ListJobMessagesResponse/jobMessages/job_message": job_message "/dataflow:v1b3/CounterMetadata": counter_metadata -"/dataflow:v1b3/CounterMetadata/standardUnits": standard_units -"/dataflow:v1b3/CounterMetadata/otherUnits": other_units "/dataflow:v1b3/CounterMetadata/kind": kind "/dataflow:v1b3/CounterMetadata/description": description +"/dataflow:v1b3/CounterMetadata/standardUnits": standard_units +"/dataflow:v1b3/CounterMetadata/otherUnits": other_units +"/dataflow:v1b3/ListJobMessagesResponse": list_job_messages_response +"/dataflow:v1b3/ListJobMessagesResponse/jobMessages": job_messages +"/dataflow:v1b3/ListJobMessagesResponse/jobMessages/job_message": job_message +"/dataflow:v1b3/ListJobMessagesResponse/nextPageToken": next_page_token "/dataflow:v1b3/ApproximateReportedProgress": approximate_reported_progress +"/dataflow:v1b3/ApproximateReportedProgress/position": position "/dataflow:v1b3/ApproximateReportedProgress/fractionConsumed": fraction_consumed "/dataflow:v1b3/ApproximateReportedProgress/consumedParallelism": consumed_parallelism "/dataflow:v1b3/ApproximateReportedProgress/remainingParallelism": remaining_parallelism -"/dataflow:v1b3/ApproximateReportedProgress/position": position -"/dataproc:v1/quotaUser": quota_user +"/dataflow:v1b3/IntegerList": integer_list +"/dataflow:v1b3/IntegerList/elements": elements +"/dataflow:v1b3/IntegerList/elements/element": element +"/dataflow:v1b3/StateFamilyConfig": state_family_config +"/dataflow:v1b3/StateFamilyConfig/isRead": is_read +"/dataflow:v1b3/StateFamilyConfig/stateFamily": state_family +"/dataflow:v1b3/ResourceUtilizationReportResponse": resource_utilization_report_response +"/dataflow:v1b3/SourceSplitResponse": source_split_response +"/dataflow:v1b3/SourceSplitResponse/shards": shards +"/dataflow:v1b3/SourceSplitResponse/shards/shard": shard +"/dataflow:v1b3/SourceSplitResponse/outcome": outcome +"/dataflow:v1b3/SourceSplitResponse/bundles": bundles +"/dataflow:v1b3/SourceSplitResponse/bundles/bundle": bundle +"/dataflow:v1b3/ParallelInstruction": parallel_instruction +"/dataflow:v1b3/ParallelInstruction/write": write +"/dataflow:v1b3/ParallelInstruction/systemName": system_name +"/dataflow:v1b3/ParallelInstruction/partialGroupByKey": partial_group_by_key +"/dataflow:v1b3/ParallelInstruction/outputs": outputs +"/dataflow:v1b3/ParallelInstruction/outputs/output": output +"/dataflow:v1b3/ParallelInstruction/name": name +"/dataflow:v1b3/ParallelInstruction/parDo": par_do +"/dataflow:v1b3/ParallelInstruction/read": read +"/dataflow:v1b3/ParallelInstruction/flatten": flatten +"/dataflow:v1b3/ParallelInstruction/originalName": original_name +"/dataflow:v1b3/Package": package +"/dataflow:v1b3/Package/location": location +"/dataflow:v1b3/Package/name": name +"/dataflow:v1b3/KeyRangeDataDiskAssignment": key_range_data_disk_assignment +"/dataflow:v1b3/KeyRangeDataDiskAssignment/start": start +"/dataflow:v1b3/KeyRangeDataDiskAssignment/dataDisk": data_disk +"/dataflow:v1b3/KeyRangeDataDiskAssignment/end": end +"/dataflow:v1b3/ParDoInstruction": par_do_instruction +"/dataflow:v1b3/ParDoInstruction/numOutputs": num_outputs +"/dataflow:v1b3/ParDoInstruction/sideInputs": side_inputs +"/dataflow:v1b3/ParDoInstruction/sideInputs/side_input": side_input +"/dataflow:v1b3/ParDoInstruction/multiOutputInfos": multi_output_infos +"/dataflow:v1b3/ParDoInstruction/multiOutputInfos/multi_output_info": multi_output_info +"/dataflow:v1b3/ParDoInstruction/userFn": user_fn +"/dataflow:v1b3/ParDoInstruction/userFn/user_fn": user_fn +"/dataflow:v1b3/ParDoInstruction/input": input +"/dataflow:v1b3/MetricUpdate": metric_update +"/dataflow:v1b3/MetricUpdate/kind": kind +"/dataflow:v1b3/MetricUpdate/scalar": scalar +"/dataflow:v1b3/MetricUpdate/meanCount": mean_count +"/dataflow:v1b3/MetricUpdate/meanSum": mean_sum +"/dataflow:v1b3/MetricUpdate/updateTime": update_time +"/dataflow:v1b3/MetricUpdate/name": name +"/dataflow:v1b3/MetricUpdate/set": set +"/dataflow:v1b3/MetricUpdate/cumulative": cumulative +"/dataflow:v1b3/MetricUpdate/internal": internal +"/dataflow:v1b3/CounterStructuredName": counter_structured_name +"/dataflow:v1b3/CounterStructuredName/componentStepName": component_step_name +"/dataflow:v1b3/CounterStructuredName/portion": portion +"/dataflow:v1b3/CounterStructuredName/originalStepName": original_step_name +"/dataflow:v1b3/CounterStructuredName/workerId": worker_id +"/dataflow:v1b3/CounterStructuredName/originNamespace": origin_namespace +"/dataflow:v1b3/CounterStructuredName/origin": origin +"/dataflow:v1b3/CounterStructuredName/name": name +"/dataflow:v1b3/CounterStructuredName/executionStepName": execution_step_name +"/dataflow:v1b3/ApproximateProgress": approximate_progress +"/dataflow:v1b3/ApproximateProgress/percentComplete": percent_complete +"/dataflow:v1b3/ApproximateProgress/remainingTime": remaining_time +"/dataflow:v1b3/ApproximateProgress/position": position +"/dataflow:v1b3/WorkerMessageResponse": worker_message_response +"/dataflow:v1b3/WorkerMessageResponse/workerMetricsResponse": worker_metrics_response +"/dataflow:v1b3/WorkerMessageResponse/workerHealthReportResponse": worker_health_report_response +"/dataflow:v1b3/TemplateMetadata": template_metadata +"/dataflow:v1b3/TemplateMetadata/bypassTempDirValidation": bypass_temp_dir_validation +"/dataflow:v1b3/TemplateMetadata/name": name +"/dataflow:v1b3/TemplateMetadata/parameters": parameters +"/dataflow:v1b3/TemplateMetadata/parameters/parameter": parameter +"/dataflow:v1b3/TemplateMetadata/description": description +"/dataflow:v1b3/WorkerMessage": worker_message +"/dataflow:v1b3/WorkerMessage/labels": labels +"/dataflow:v1b3/WorkerMessage/labels/label": label +"/dataflow:v1b3/WorkerMessage/time": time +"/dataflow:v1b3/WorkerMessage/workerHealthReport": worker_health_report +"/dataflow:v1b3/WorkerMessage/workerMessageCode": worker_message_code +"/dataflow:v1b3/WorkerMessage/workerMetrics": worker_metrics +"/dataflow:v1b3/JobMetrics": job_metrics +"/dataflow:v1b3/JobMetrics/metricTime": metric_time +"/dataflow:v1b3/JobMetrics/metrics": metrics +"/dataflow:v1b3/JobMetrics/metrics/metric": metric +"/dataflow:v1b3/FloatingPointList": floating_point_list +"/dataflow:v1b3/FloatingPointList/elements": elements +"/dataflow:v1b3/FloatingPointList/elements/element": element +"/dataflow:v1b3/CounterUpdate": counter_update +"/dataflow:v1b3/CounterUpdate/shortId": short_id +"/dataflow:v1b3/CounterUpdate/floatingPointList": floating_point_list +"/dataflow:v1b3/CounterUpdate/integer": integer +"/dataflow:v1b3/CounterUpdate/structuredNameAndMetadata": structured_name_and_metadata +"/dataflow:v1b3/CounterUpdate/integerList": integer_list +"/dataflow:v1b3/CounterUpdate/floatingPoint": floating_point +"/dataflow:v1b3/CounterUpdate/integerMean": integer_mean +"/dataflow:v1b3/CounterUpdate/internal": internal +"/dataflow:v1b3/CounterUpdate/cumulative": cumulative +"/dataflow:v1b3/CounterUpdate/floatingPointMean": floating_point_mean +"/dataflow:v1b3/CounterUpdate/boolean": boolean +"/dataflow:v1b3/CounterUpdate/nameAndKind": name_and_kind +"/dataflow:v1b3/CounterUpdate/stringList": string_list +"/dataflow:v1b3/CounterUpdate/distribution": distribution +"/dataflow:v1b3/SourceMetadata": source_metadata +"/dataflow:v1b3/SourceMetadata/producesSortedKeys": produces_sorted_keys +"/dataflow:v1b3/SourceMetadata/infinite": infinite +"/dataflow:v1b3/SourceMetadata/estimatedSizeBytes": estimated_size_bytes +"/dataflow:v1b3/DistributionUpdate": distribution_update +"/dataflow:v1b3/DistributionUpdate/count": count +"/dataflow:v1b3/DistributionUpdate/min": min +"/dataflow:v1b3/DistributionUpdate/sumOfSquares": sum_of_squares +"/dataflow:v1b3/DistributionUpdate/max": max +"/dataflow:v1b3/DistributionUpdate/sum": sum +"/dataflow:v1b3/WorkerHealthReportResponse": worker_health_report_response +"/dataflow:v1b3/WorkerHealthReportResponse/reportInterval": report_interval +"/dataflow:v1b3/SourceFork": source_fork +"/dataflow:v1b3/SourceFork/primarySource": primary_source +"/dataflow:v1b3/SourceFork/residual": residual +"/dataflow:v1b3/SourceFork/residualSource": residual_source +"/dataflow:v1b3/SourceFork/primary": primary +"/dataflow:v1b3/WorkItemStatus": work_item_status +"/dataflow:v1b3/WorkItemStatus/progress": progress +"/dataflow:v1b3/WorkItemStatus/requestedLeaseDuration": requested_lease_duration +"/dataflow:v1b3/WorkItemStatus/reportIndex": report_index +"/dataflow:v1b3/WorkItemStatus/stopPosition": stop_position +"/dataflow:v1b3/WorkItemStatus/completed": completed +"/dataflow:v1b3/WorkItemStatus/reportedProgress": reported_progress +"/dataflow:v1b3/WorkItemStatus/sourceFork": source_fork +"/dataflow:v1b3/WorkItemStatus/counterUpdates": counter_updates +"/dataflow:v1b3/WorkItemStatus/counterUpdates/counter_update": counter_update +"/dataflow:v1b3/WorkItemStatus/workItemId": work_item_id +"/dataflow:v1b3/WorkItemStatus/metricUpdates": metric_updates +"/dataflow:v1b3/WorkItemStatus/metricUpdates/metric_update": metric_update +"/dataflow:v1b3/WorkItemStatus/errors": errors +"/dataflow:v1b3/WorkItemStatus/errors/error": error +"/dataflow:v1b3/WorkItemStatus/dynamicSourceSplit": dynamic_source_split +"/dataflow:v1b3/WorkItemStatus/sourceOperationResponse": source_operation_response +"/dataflow:v1b3/ComponentSource": component_source +"/dataflow:v1b3/ComponentSource/name": name +"/dataflow:v1b3/ComponentSource/userName": user_name +"/dataflow:v1b3/ComponentSource/originalTransformOrCollection": original_transform_or_collection +"/dataflow:v1b3/WorkItemServiceState": work_item_service_state +"/dataflow:v1b3/WorkItemServiceState/reportStatusInterval": report_status_interval +"/dataflow:v1b3/WorkItemServiceState/suggestedStopPosition": suggested_stop_position +"/dataflow:v1b3/WorkItemServiceState/harnessData": harness_data +"/dataflow:v1b3/WorkItemServiceState/harnessData/harness_datum": harness_datum +"/dataflow:v1b3/WorkItemServiceState/leaseExpireTime": lease_expire_time +"/dataflow:v1b3/WorkItemServiceState/metricShortId": metric_short_id +"/dataflow:v1b3/WorkItemServiceState/metricShortId/metric_short_id": metric_short_id +"/dataflow:v1b3/WorkItemServiceState/nextReportIndex": next_report_index +"/dataflow:v1b3/WorkItemServiceState/suggestedStopPoint": suggested_stop_point +"/dataflow:v1b3/WorkItemServiceState/splitRequest": split_request +"/dataflow:v1b3/MetricStructuredName": metric_structured_name +"/dataflow:v1b3/MetricStructuredName/origin": origin +"/dataflow:v1b3/MetricStructuredName/name": name +"/dataflow:v1b3/MetricStructuredName/context": context +"/dataflow:v1b3/MetricStructuredName/context/context": context +"/dataflow:v1b3/SeqMapTaskOutputInfo": seq_map_task_output_info +"/dataflow:v1b3/SeqMapTaskOutputInfo/sink": sink +"/dataflow:v1b3/SeqMapTaskOutputInfo/tag": tag +"/dataflow:v1b3/JobExecutionStageInfo": job_execution_stage_info +"/dataflow:v1b3/JobExecutionStageInfo/stepName": step_name +"/dataflow:v1b3/JobExecutionStageInfo/stepName/step_name": step_name +"/dataflow:v1b3/KeyRangeLocation": key_range_location +"/dataflow:v1b3/KeyRangeLocation/start": start +"/dataflow:v1b3/KeyRangeLocation/dataDisk": data_disk +"/dataflow:v1b3/KeyRangeLocation/end": end +"/dataflow:v1b3/KeyRangeLocation/deprecatedPersistentDirectory": deprecated_persistent_directory +"/dataflow:v1b3/KeyRangeLocation/deliveryEndpoint": delivery_endpoint +"/dataflow:v1b3/SourceGetMetadataRequest": source_get_metadata_request +"/dataflow:v1b3/SourceGetMetadataRequest/source": source +"/dataflow:v1b3/NameAndKind": name_and_kind +"/dataflow:v1b3/NameAndKind/kind": kind +"/dataflow:v1b3/NameAndKind/name": name +"/dataflow:v1b3/SeqMapTask": seq_map_task +"/dataflow:v1b3/SeqMapTask/systemName": system_name +"/dataflow:v1b3/SeqMapTask/stageName": stage_name +"/dataflow:v1b3/SeqMapTask/userFn": user_fn +"/dataflow:v1b3/SeqMapTask/userFn/user_fn": user_fn +"/dataflow:v1b3/SeqMapTask/name": name +"/dataflow:v1b3/SeqMapTask/outputInfos": output_infos +"/dataflow:v1b3/SeqMapTask/outputInfos/output_info": output_info +"/dataflow:v1b3/SeqMapTask/inputs": inputs +"/dataflow:v1b3/SeqMapTask/inputs/input": input +"/dataflow:v1b3/WorkerMessageCode": worker_message_code +"/dataflow:v1b3/WorkerMessageCode/code": code +"/dataflow:v1b3/WorkerMessageCode/parameters": parameters +"/dataflow:v1b3/WorkerMessageCode/parameters/parameter": parameter +"/dataflow:v1b3/CustomSourceLocation": custom_source_location +"/dataflow:v1b3/CustomSourceLocation/stateful": stateful +"/dataflow:v1b3/MapTask": map_task +"/dataflow:v1b3/MapTask/systemName": system_name +"/dataflow:v1b3/MapTask/stageName": stage_name +"/dataflow:v1b3/MapTask/instructions": instructions +"/dataflow:v1b3/MapTask/instructions/instruction": instruction +"/dataflow:v1b3/FloatingPointMean": floating_point_mean +"/dataflow:v1b3/FloatingPointMean/count": count +"/dataflow:v1b3/FloatingPointMean/sum": sum +"/dataflow:v1b3/ReportWorkItemStatusResponse": report_work_item_status_response +"/dataflow:v1b3/ReportWorkItemStatusResponse/workItemServiceStates": work_item_service_states +"/dataflow:v1b3/ReportWorkItemStatusResponse/workItemServiceStates/work_item_service_state": work_item_service_state +"/dataflow:v1b3/InstructionOutput": instruction_output +"/dataflow:v1b3/InstructionOutput/codec": codec +"/dataflow:v1b3/InstructionOutput/codec/codec": codec +"/dataflow:v1b3/InstructionOutput/name": name +"/dataflow:v1b3/InstructionOutput/originalName": original_name +"/dataflow:v1b3/InstructionOutput/systemName": system_name +"/dataflow:v1b3/InstructionOutput/onlyCountKeyBytes": only_count_key_bytes +"/dataflow:v1b3/InstructionOutput/onlyCountValueBytes": only_count_value_bytes +"/dataflow:v1b3/CreateJobFromTemplateRequest": create_job_from_template_request +"/dataflow:v1b3/CreateJobFromTemplateRequest/parameters": parameters +"/dataflow:v1b3/CreateJobFromTemplateRequest/parameters/parameter": parameter +"/dataflow:v1b3/CreateJobFromTemplateRequest/jobName": job_name +"/dataflow:v1b3/CreateJobFromTemplateRequest/gcsPath": gcs_path +"/dataflow:v1b3/CreateJobFromTemplateRequest/environment": environment +"/dataflow:v1b3/IntegerMean": integer_mean +"/dataflow:v1b3/IntegerMean/count": count +"/dataflow:v1b3/IntegerMean/sum": sum +"/dataflow:v1b3/ListJobsResponse": list_jobs_response +"/dataflow:v1b3/ListJobsResponse/nextPageToken": next_page_token +"/dataflow:v1b3/ListJobsResponse/failedLocation": failed_location +"/dataflow:v1b3/ListJobsResponse/failedLocation/failed_location": failed_location +"/dataflow:v1b3/ListJobsResponse/jobs": jobs +"/dataflow:v1b3/ListJobsResponse/jobs/job": job +"/dataflow:v1b3/ComputationTopology": computation_topology +"/dataflow:v1b3/ComputationTopology/userStageName": user_stage_name +"/dataflow:v1b3/ComputationTopology/outputs": outputs +"/dataflow:v1b3/ComputationTopology/outputs/output": output +"/dataflow:v1b3/ComputationTopology/stateFamilies": state_families +"/dataflow:v1b3/ComputationTopology/stateFamilies/state_family": state_family +"/dataflow:v1b3/ComputationTopology/systemStageName": system_stage_name +"/dataflow:v1b3/ComputationTopology/inputs": inputs +"/dataflow:v1b3/ComputationTopology/inputs/input": input +"/dataflow:v1b3/ComputationTopology/computationId": computation_id +"/dataflow:v1b3/ComputationTopology/keyRanges": key_ranges +"/dataflow:v1b3/ComputationTopology/keyRanges/key_range": key_range +"/dataflow:v1b3/RuntimeEnvironment": runtime_environment +"/dataflow:v1b3/RuntimeEnvironment/serviceAccountEmail": service_account_email +"/dataflow:v1b3/RuntimeEnvironment/tempLocation": temp_location +"/dataflow:v1b3/RuntimeEnvironment/bypassTempDirValidation": bypass_temp_dir_validation +"/dataflow:v1b3/RuntimeEnvironment/maxWorkers": max_workers +"/dataflow:v1b3/RuntimeEnvironment/zone": zone +"/dataflow:v1b3/StreamingSideInputLocation": streaming_side_input_location +"/dataflow:v1b3/StreamingSideInputLocation/tag": tag +"/dataflow:v1b3/StreamingSideInputLocation/stateFamily": state_family +"/dataflow:v1b3/MountedDataDisk": mounted_data_disk +"/dataflow:v1b3/MountedDataDisk/dataDisk": data_disk +"/dataflow:v1b3/LaunchTemplateResponse": launch_template_response +"/dataflow:v1b3/LaunchTemplateResponse/job": job +"/dataflow:v1b3/DerivedSource": derived_source +"/dataflow:v1b3/DerivedSource/derivationMode": derivation_mode +"/dataflow:v1b3/DerivedSource/source": source +"/dataflow:v1b3/DynamicSourceSplit": dynamic_source_split +"/dataflow:v1b3/DynamicSourceSplit/residual": residual +"/dataflow:v1b3/DynamicSourceSplit/primary": primary +"/dataflow:v1b3/Job": job +"/dataflow:v1b3/Job/replaceJobId": replace_job_id +"/dataflow:v1b3/Job/requestedState": requested_state +"/dataflow:v1b3/Job/tempFiles": temp_files +"/dataflow:v1b3/Job/tempFiles/temp_file": temp_file +"/dataflow:v1b3/Job/clientRequestId": client_request_id +"/dataflow:v1b3/Job/name": name +"/dataflow:v1b3/Job/steps": steps +"/dataflow:v1b3/Job/steps/step": step +"/dataflow:v1b3/Job/replacedByJobId": replaced_by_job_id +"/dataflow:v1b3/Job/executionInfo": execution_info +"/dataflow:v1b3/Job/id": id +"/dataflow:v1b3/Job/currentState": current_state +"/dataflow:v1b3/Job/location": location +"/dataflow:v1b3/Job/currentStateTime": current_state_time +"/dataflow:v1b3/Job/transformNameMapping": transform_name_mapping +"/dataflow:v1b3/Job/transformNameMapping/transform_name_mapping": transform_name_mapping +"/dataflow:v1b3/Job/createTime": create_time +"/dataflow:v1b3/Job/environment": environment +"/dataflow:v1b3/Job/labels": labels +"/dataflow:v1b3/Job/labels/label": label +"/dataflow:v1b3/Job/type": type +"/dataflow:v1b3/Job/projectId": project_id +"/dataflow:v1b3/Job/pipelineDescription": pipeline_description +"/dataflow:v1b3/SourceOperationResponse": source_operation_response +"/dataflow:v1b3/SourceOperationResponse/getMetadata": get_metadata +"/dataflow:v1b3/SourceOperationResponse/split": split +"/dataflow:v1b3/SideInputInfo": side_input_info +"/dataflow:v1b3/SideInputInfo/sources": sources +"/dataflow:v1b3/SideInputInfo/sources/source": source +"/dataflow:v1b3/SideInputInfo/kind": kind +"/dataflow:v1b3/SideInputInfo/kind/kind": kind +"/dataflow:v1b3/SideInputInfo/tag": tag +"/dataflow:v1b3/SendDebugCaptureResponse": send_debug_capture_response +"/dataflow:v1b3/CounterStructuredNameAndMetadata": counter_structured_name_and_metadata +"/dataflow:v1b3/CounterStructuredNameAndMetadata/name": name +"/dataflow:v1b3/CounterStructuredNameAndMetadata/metadata": metadata +"/dataflow:v1b3/ConcatPosition": concat_position +"/dataflow:v1b3/ConcatPosition/position": position +"/dataflow:v1b3/ConcatPosition/index": index +"/dataflow:v1b3/WriteInstruction": write_instruction +"/dataflow:v1b3/WriteInstruction/sink": sink +"/dataflow:v1b3/WriteInstruction/input": input +"/dataflow:v1b3/StreamingComputationRanges": streaming_computation_ranges +"/dataflow:v1b3/StreamingComputationRanges/computationId": computation_id +"/dataflow:v1b3/StreamingComputationRanges/rangeAssignments": range_assignments +"/dataflow:v1b3/StreamingComputationRanges/rangeAssignments/range_assignment": range_assignment +"/dataflow:v1b3/AutoscalingSettings": autoscaling_settings +"/dataflow:v1b3/AutoscalingSettings/algorithm": algorithm +"/dataflow:v1b3/AutoscalingSettings/maxNumWorkers": max_num_workers +"/dataflow:v1b3/ExecutionStageSummary": execution_stage_summary +"/dataflow:v1b3/ExecutionStageSummary/inputSource": input_source +"/dataflow:v1b3/ExecutionStageSummary/inputSource/input_source": input_source +"/dataflow:v1b3/ExecutionStageSummary/id": id +"/dataflow:v1b3/ExecutionStageSummary/componentTransform": component_transform +"/dataflow:v1b3/ExecutionStageSummary/componentTransform/component_transform": component_transform +"/dataflow:v1b3/ExecutionStageSummary/componentSource": component_source +"/dataflow:v1b3/ExecutionStageSummary/componentSource/component_source": component_source +"/dataflow:v1b3/ExecutionStageSummary/kind": kind +"/dataflow:v1b3/ExecutionStageSummary/outputSource": output_source +"/dataflow:v1b3/ExecutionStageSummary/outputSource/output_source": output_source +"/dataflow:v1b3/ExecutionStageSummary/name": name +"/dataflow:v1b3/SendWorkerMessagesRequest": send_worker_messages_request +"/dataflow:v1b3/SendWorkerMessagesRequest/workerMessages": worker_messages +"/dataflow:v1b3/SendWorkerMessagesRequest/workerMessages/worker_message": worker_message +"/dataflow:v1b3/SourceSplitShard": source_split_shard +"/dataflow:v1b3/SourceSplitShard/derivationMode": derivation_mode +"/dataflow:v1b3/SourceSplitShard/source": source +"/dataflow:v1b3/CPUTime": cpu_time +"/dataflow:v1b3/CPUTime/rate": rate +"/dataflow:v1b3/CPUTime/timestamp": timestamp +"/dataflow:v1b3/CPUTime/totalMs": total_ms +"/dataflow:v1b3/Environment": environment +"/dataflow:v1b3/Environment/clusterManagerApiService": cluster_manager_api_service +"/dataflow:v1b3/Environment/tempStoragePrefix": temp_storage_prefix +"/dataflow:v1b3/Environment/workerPools": worker_pools +"/dataflow:v1b3/Environment/workerPools/worker_pool": worker_pool +"/dataflow:v1b3/Environment/dataset": dataset +"/dataflow:v1b3/Environment/experiments": experiments +"/dataflow:v1b3/Environment/experiments/experiment": experiment +"/dataflow:v1b3/Environment/version": version +"/dataflow:v1b3/Environment/version/version": version +"/dataflow:v1b3/Environment/internalExperiments": internal_experiments +"/dataflow:v1b3/Environment/internalExperiments/internal_experiment": internal_experiment +"/dataflow:v1b3/Environment/serviceAccountEmail": service_account_email +"/dataflow:v1b3/Environment/sdkPipelineOptions": sdk_pipeline_options +"/dataflow:v1b3/Environment/sdkPipelineOptions/sdk_pipeline_option": sdk_pipeline_option +"/dataflow:v1b3/Environment/userAgent": user_agent +"/dataflow:v1b3/Environment/userAgent/user_agent": user_agent +"/dataflow:v1b3/StreamingComputationTask": streaming_computation_task +"/dataflow:v1b3/StreamingComputationTask/dataDisks": data_disks +"/dataflow:v1b3/StreamingComputationTask/dataDisks/data_disk": data_disk +"/dataflow:v1b3/StreamingComputationTask/taskType": task_type +"/dataflow:v1b3/StreamingComputationTask/computationRanges": computation_ranges +"/dataflow:v1b3/StreamingComputationTask/computationRanges/computation_range": computation_range +"/dataflow:v1b3/SendDebugCaptureRequest": send_debug_capture_request +"/dataflow:v1b3/SendDebugCaptureRequest/data": data +"/dataflow:v1b3/SendDebugCaptureRequest/componentId": component_id +"/dataflow:v1b3/SendDebugCaptureRequest/workerId": worker_id +"/dataflow:v1b3/GetDebugConfigResponse": get_debug_config_response +"/dataflow:v1b3/GetDebugConfigResponse/config": config +"/dataflow:v1b3/ComponentTransform": component_transform +"/dataflow:v1b3/ComponentTransform/name": name +"/dataflow:v1b3/ComponentTransform/userName": user_name +"/dataflow:v1b3/ComponentTransform/originalTransform": original_transform +"/dataflow:v1b3/StreamingSetupTask": streaming_setup_task +"/dataflow:v1b3/StreamingSetupTask/workerHarnessPort": worker_harness_port +"/dataflow:v1b3/StreamingSetupTask/drain": drain +"/dataflow:v1b3/StreamingSetupTask/receiveWorkPort": receive_work_port +"/dataflow:v1b3/StreamingSetupTask/streamingComputationTopology": streaming_computation_topology +"/dataflow:v1b3/PubsubLocation": pubsub_location +"/dataflow:v1b3/PubsubLocation/withAttributes": with_attributes +"/dataflow:v1b3/PubsubLocation/idLabel": id_label +"/dataflow:v1b3/PubsubLocation/topic": topic +"/dataflow:v1b3/PubsubLocation/timestampLabel": timestamp_label +"/dataflow:v1b3/PubsubLocation/subscription": subscription +"/dataflow:v1b3/PubsubLocation/dropLateData": drop_late_data +"/dataflow:v1b3/PubsubLocation/trackingSubscription": tracking_subscription +"/dataflow:v1b3/WorkerHealthReport": worker_health_report +"/dataflow:v1b3/WorkerHealthReport/pods": pods +"/dataflow:v1b3/WorkerHealthReport/pods/pod": pod +"/dataflow:v1b3/WorkerHealthReport/pods/pod/pod": pod +"/dataflow:v1b3/WorkerHealthReport/vmStartupTime": vm_startup_time +"/dataflow:v1b3/WorkerHealthReport/vmIsHealthy": vm_is_healthy +"/dataflow:v1b3/WorkerHealthReport/reportInterval": report_interval +"/dataflow:v1b3/JobMessage": job_message +"/dataflow:v1b3/JobMessage/messageText": message_text +"/dataflow:v1b3/JobMessage/messageImportance": message_importance +"/dataflow:v1b3/JobMessage/time": time +"/dataflow:v1b3/JobMessage/id": id +"/dataflow:v1b3/ParameterMetadata": parameter_metadata +"/dataflow:v1b3/ParameterMetadata/isOptional": is_optional +"/dataflow:v1b3/ParameterMetadata/name": name +"/dataflow:v1b3/ParameterMetadata/regexes": regexes +"/dataflow:v1b3/ParameterMetadata/regexes/regex": regex +"/dataflow:v1b3/ParameterMetadata/label": label +"/dataflow:v1b3/ParameterMetadata/helpText": help_text +"/dataflow:v1b3/MultiOutputInfo": multi_output_info +"/dataflow:v1b3/MultiOutputInfo/tag": tag +"/dataflow:v1b3/SourceSplitRequest": source_split_request +"/dataflow:v1b3/SourceSplitRequest/source": source +"/dataflow:v1b3/SourceSplitRequest/options": options +"/dataflow:v1b3/SourceGetMetadataResponse": source_get_metadata_response +"/dataflow:v1b3/SourceGetMetadataResponse/metadata": metadata "/dataproc:v1/fields": fields "/dataproc:v1/key": key -"/dataproc:v1/dataproc.projects.regions.operations.cancel/name": name -"/dataproc:v1/dataproc.projects.regions.operations.delete/name": name -"/dataproc:v1/dataproc.projects.regions.operations.list/pageSize": page_size -"/dataproc:v1/dataproc.projects.regions.operations.list/filter": filter -"/dataproc:v1/dataproc.projects.regions.operations.list/name": name -"/dataproc:v1/dataproc.projects.regions.operations.list/pageToken": page_token -"/dataproc:v1/dataproc.projects.regions.operations.get/name": name -"/dataproc:v1/dataproc.projects.regions.jobs.cancel": cancel_job -"/dataproc:v1/dataproc.projects.regions.jobs.cancel/region": region -"/dataproc:v1/dataproc.projects.regions.jobs.cancel/projectId": project_id -"/dataproc:v1/dataproc.projects.regions.jobs.cancel/jobId": job_id -"/dataproc:v1/dataproc.projects.regions.jobs.get/region": region -"/dataproc:v1/dataproc.projects.regions.jobs.get/projectId": project_id -"/dataproc:v1/dataproc.projects.regions.jobs.get/jobId": job_id -"/dataproc:v1/dataproc.projects.regions.jobs.patch": patch_project_region_job -"/dataproc:v1/dataproc.projects.regions.jobs.patch/projectId": project_id -"/dataproc:v1/dataproc.projects.regions.jobs.patch/jobId": job_id -"/dataproc:v1/dataproc.projects.regions.jobs.patch/region": region -"/dataproc:v1/dataproc.projects.regions.jobs.patch/updateMask": update_mask -"/dataproc:v1/dataproc.projects.regions.jobs.submit": submit_job -"/dataproc:v1/dataproc.projects.regions.jobs.submit/projectId": project_id -"/dataproc:v1/dataproc.projects.regions.jobs.submit/region": region -"/dataproc:v1/dataproc.projects.regions.jobs.delete/projectId": project_id -"/dataproc:v1/dataproc.projects.regions.jobs.delete/jobId": job_id -"/dataproc:v1/dataproc.projects.regions.jobs.delete/region": region -"/dataproc:v1/dataproc.projects.regions.jobs.list/filter": filter -"/dataproc:v1/dataproc.projects.regions.jobs.list/jobStateMatcher": job_state_matcher -"/dataproc:v1/dataproc.projects.regions.jobs.list/pageToken": page_token -"/dataproc:v1/dataproc.projects.regions.jobs.list/pageSize": page_size -"/dataproc:v1/dataproc.projects.regions.jobs.list/region": region -"/dataproc:v1/dataproc.projects.regions.jobs.list/clusterName": cluster_name -"/dataproc:v1/dataproc.projects.regions.jobs.list/projectId": project_id +"/dataproc:v1/quotaUser": quota_user +"/dataproc:v1/dataproc.projects.regions.clusters.delete/region": region +"/dataproc:v1/dataproc.projects.regions.clusters.delete/clusterName": cluster_name +"/dataproc:v1/dataproc.projects.regions.clusters.delete/projectId": project_id +"/dataproc:v1/dataproc.projects.regions.clusters.diagnose": diagnose_cluster +"/dataproc:v1/dataproc.projects.regions.clusters.diagnose/region": region +"/dataproc:v1/dataproc.projects.regions.clusters.diagnose/clusterName": cluster_name +"/dataproc:v1/dataproc.projects.regions.clusters.diagnose/projectId": project_id "/dataproc:v1/dataproc.projects.regions.clusters.list/region": region "/dataproc:v1/dataproc.projects.regions.clusters.list/filter": filter "/dataproc:v1/dataproc.projects.regions.clusters.list/pageToken": page_token @@ -19307,20 +19252,50 @@ "/dataproc:v1/dataproc.projects.regions.clusters.list/projectId": project_id "/dataproc:v1/dataproc.projects.regions.clusters.create/region": region "/dataproc:v1/dataproc.projects.regions.clusters.create/projectId": project_id -"/dataproc:v1/dataproc.projects.regions.clusters.get/projectId": project_id -"/dataproc:v1/dataproc.projects.regions.clusters.get/region": region -"/dataproc:v1/dataproc.projects.regions.clusters.get/clusterName": cluster_name +"/dataproc:v1/dataproc.projects.regions.clusters.patch/clusterName": cluster_name "/dataproc:v1/dataproc.projects.regions.clusters.patch/projectId": project_id "/dataproc:v1/dataproc.projects.regions.clusters.patch/region": region "/dataproc:v1/dataproc.projects.regions.clusters.patch/updateMask": update_mask -"/dataproc:v1/dataproc.projects.regions.clusters.patch/clusterName": cluster_name -"/dataproc:v1/dataproc.projects.regions.clusters.delete/projectId": project_id -"/dataproc:v1/dataproc.projects.regions.clusters.delete/region": region -"/dataproc:v1/dataproc.projects.regions.clusters.delete/clusterName": cluster_name -"/dataproc:v1/dataproc.projects.regions.clusters.diagnose": diagnose_cluster -"/dataproc:v1/dataproc.projects.regions.clusters.diagnose/projectId": project_id -"/dataproc:v1/dataproc.projects.regions.clusters.diagnose/region": region -"/dataproc:v1/dataproc.projects.regions.clusters.diagnose/clusterName": cluster_name +"/dataproc:v1/dataproc.projects.regions.clusters.get/region": region +"/dataproc:v1/dataproc.projects.regions.clusters.get/clusterName": cluster_name +"/dataproc:v1/dataproc.projects.regions.clusters.get/projectId": project_id +"/dataproc:v1/dataproc.projects.regions.operations.cancel/name": name +"/dataproc:v1/dataproc.projects.regions.operations.delete/name": name +"/dataproc:v1/dataproc.projects.regions.operations.list/name": name +"/dataproc:v1/dataproc.projects.regions.operations.list/pageToken": page_token +"/dataproc:v1/dataproc.projects.regions.operations.list/pageSize": page_size +"/dataproc:v1/dataproc.projects.regions.operations.list/filter": filter +"/dataproc:v1/dataproc.projects.regions.operations.get/name": name +"/dataproc:v1/dataproc.projects.regions.jobs.cancel": cancel_job +"/dataproc:v1/dataproc.projects.regions.jobs.cancel/region": region +"/dataproc:v1/dataproc.projects.regions.jobs.cancel/projectId": project_id +"/dataproc:v1/dataproc.projects.regions.jobs.cancel/jobId": job_id +"/dataproc:v1/dataproc.projects.regions.jobs.patch": patch_project_region_job +"/dataproc:v1/dataproc.projects.regions.jobs.patch/region": region +"/dataproc:v1/dataproc.projects.regions.jobs.patch/updateMask": update_mask +"/dataproc:v1/dataproc.projects.regions.jobs.patch/projectId": project_id +"/dataproc:v1/dataproc.projects.regions.jobs.patch/jobId": job_id +"/dataproc:v1/dataproc.projects.regions.jobs.get/region": region +"/dataproc:v1/dataproc.projects.regions.jobs.get/projectId": project_id +"/dataproc:v1/dataproc.projects.regions.jobs.get/jobId": job_id +"/dataproc:v1/dataproc.projects.regions.jobs.submit": submit_job +"/dataproc:v1/dataproc.projects.regions.jobs.submit/projectId": project_id +"/dataproc:v1/dataproc.projects.regions.jobs.submit/region": region +"/dataproc:v1/dataproc.projects.regions.jobs.delete/region": region +"/dataproc:v1/dataproc.projects.regions.jobs.delete/projectId": project_id +"/dataproc:v1/dataproc.projects.regions.jobs.delete/jobId": job_id +"/dataproc:v1/dataproc.projects.regions.jobs.list/pageToken": page_token +"/dataproc:v1/dataproc.projects.regions.jobs.list/pageSize": page_size +"/dataproc:v1/dataproc.projects.regions.jobs.list/region": region +"/dataproc:v1/dataproc.projects.regions.jobs.list/clusterName": cluster_name +"/dataproc:v1/dataproc.projects.regions.jobs.list/projectId": project_id +"/dataproc:v1/dataproc.projects.regions.jobs.list/filter": filter +"/dataproc:v1/dataproc.projects.regions.jobs.list/jobStateMatcher": job_state_matcher +"/dataproc:v1/JobReference": job_reference +"/dataproc:v1/JobReference/projectId": project_id +"/dataproc:v1/JobReference/jobId": job_id +"/dataproc:v1/SubmitJobRequest": submit_job_request +"/dataproc:v1/SubmitJobRequest/job": job "/dataproc:v1/Status": status "/dataproc:v1/Status/details": details "/dataproc:v1/Status/details/detail": detail @@ -19328,16 +19303,16 @@ "/dataproc:v1/Status/code": code "/dataproc:v1/Status/message": message "/dataproc:v1/InstanceGroupConfig": instance_group_config +"/dataproc:v1/InstanceGroupConfig/instanceNames": instance_names +"/dataproc:v1/InstanceGroupConfig/instanceNames/instance_name": instance_name "/dataproc:v1/InstanceGroupConfig/accelerators": accelerators "/dataproc:v1/InstanceGroupConfig/accelerators/accelerator": accelerator "/dataproc:v1/InstanceGroupConfig/numInstances": num_instances "/dataproc:v1/InstanceGroupConfig/diskConfig": disk_config "/dataproc:v1/InstanceGroupConfig/isPreemptible": is_preemptible -"/dataproc:v1/InstanceGroupConfig/managedGroupConfig": managed_group_config "/dataproc:v1/InstanceGroupConfig/machineTypeUri": machine_type_uri "/dataproc:v1/InstanceGroupConfig/imageUri": image_uri -"/dataproc:v1/InstanceGroupConfig/instanceNames": instance_names -"/dataproc:v1/InstanceGroupConfig/instanceNames/instance_name": instance_name +"/dataproc:v1/InstanceGroupConfig/managedGroupConfig": managed_group_config "/dataproc:v1/JobScheduling": job_scheduling "/dataproc:v1/JobScheduling/maxFailuresPerHour": max_failures_per_hour "/dataproc:v1/ListJobsResponse": list_jobs_response @@ -19349,8 +19324,8 @@ "/dataproc:v1/NodeInitializationAction/executableFile": executable_file "/dataproc:v1/CancelJobRequest": cancel_job_request "/dataproc:v1/SparkSqlJob": spark_sql_job -"/dataproc:v1/SparkSqlJob/queryFileUri": query_file_uri "/dataproc:v1/SparkSqlJob/queryList": query_list +"/dataproc:v1/SparkSqlJob/queryFileUri": query_file_uri "/dataproc:v1/SparkSqlJob/scriptVariables": script_variables "/dataproc:v1/SparkSqlJob/scriptVariables/script_variable": script_variable "/dataproc:v1/SparkSqlJob/jarFileUris": jar_file_uris @@ -19370,9 +19345,9 @@ "/dataproc:v1/Cluster/clusterUuid": cluster_uuid "/dataproc:v1/Cluster/projectId": project_id "/dataproc:v1/ListOperationsResponse": list_operations_response +"/dataproc:v1/ListOperationsResponse/nextPageToken": next_page_token "/dataproc:v1/ListOperationsResponse/operations": operations "/dataproc:v1/ListOperationsResponse/operations/operation": operation -"/dataproc:v1/ListOperationsResponse/nextPageToken": next_page_token "/dataproc:v1/OperationMetadata": operation_metadata "/dataproc:v1/OperationMetadata/endTime": end_time "/dataproc:v1/OperationMetadata/startTime": start_time @@ -19389,17 +19364,14 @@ "/dataproc:v1/OperationMetadata/clusterUuid": cluster_uuid "/dataproc:v1/OperationMetadata/clusterName": cluster_name "/dataproc:v1/OperationMetadata/innerState": inner_state +"/dataproc:v1/JobPlacement": job_placement +"/dataproc:v1/JobPlacement/clusterName": cluster_name +"/dataproc:v1/JobPlacement/clusterUuid": cluster_uuid "/dataproc:v1/SoftwareConfig": software_config "/dataproc:v1/SoftwareConfig/imageVersion": image_version "/dataproc:v1/SoftwareConfig/properties": properties "/dataproc:v1/SoftwareConfig/properties/property": property -"/dataproc:v1/JobPlacement": job_placement -"/dataproc:v1/JobPlacement/clusterName": cluster_name -"/dataproc:v1/JobPlacement/clusterUuid": cluster_uuid "/dataproc:v1/PigJob": pig_job -"/dataproc:v1/PigJob/continueOnFailure": continue_on_failure -"/dataproc:v1/PigJob/queryList": query_list -"/dataproc:v1/PigJob/queryFileUri": query_file_uri "/dataproc:v1/PigJob/jarFileUris": jar_file_uris "/dataproc:v1/PigJob/jarFileUris/jar_file_uri": jar_file_uri "/dataproc:v1/PigJob/scriptVariables": script_variables @@ -19407,20 +19379,19 @@ "/dataproc:v1/PigJob/loggingConfig": logging_config "/dataproc:v1/PigJob/properties": properties "/dataproc:v1/PigJob/properties/property": property +"/dataproc:v1/PigJob/continueOnFailure": continue_on_failure +"/dataproc:v1/PigJob/queryList": query_list +"/dataproc:v1/PigJob/queryFileUri": query_file_uri "/dataproc:v1/ClusterStatus": cluster_status +"/dataproc:v1/ClusterStatus/state": state "/dataproc:v1/ClusterStatus/stateStartTime": state_start_time "/dataproc:v1/ClusterStatus/substate": substate "/dataproc:v1/ClusterStatus/detail": detail -"/dataproc:v1/ClusterStatus/state": state "/dataproc:v1/ListClustersResponse": list_clusters_response "/dataproc:v1/ListClustersResponse/clusters": clusters "/dataproc:v1/ListClustersResponse/clusters/cluster": cluster "/dataproc:v1/ListClustersResponse/nextPageToken": next_page_token "/dataproc:v1/SparkJob": spark_job -"/dataproc:v1/SparkJob/mainClass": main_class -"/dataproc:v1/SparkJob/archiveUris": archive_uris -"/dataproc:v1/SparkJob/archiveUris/archive_uri": archive_uri -"/dataproc:v1/SparkJob/mainJarFileUri": main_jar_file_uri "/dataproc:v1/SparkJob/jarFileUris": jar_file_uris "/dataproc:v1/SparkJob/jarFileUris/jar_file_uri": jar_file_uri "/dataproc:v1/SparkJob/loggingConfig": logging_config @@ -19430,14 +19401,11 @@ "/dataproc:v1/SparkJob/args/arg": arg "/dataproc:v1/SparkJob/fileUris": file_uris "/dataproc:v1/SparkJob/fileUris/file_uri": file_uri +"/dataproc:v1/SparkJob/mainClass": main_class +"/dataproc:v1/SparkJob/archiveUris": archive_uris +"/dataproc:v1/SparkJob/archiveUris/archive_uri": archive_uri +"/dataproc:v1/SparkJob/mainJarFileUri": main_jar_file_uri "/dataproc:v1/Job": job -"/dataproc:v1/Job/yarnApplications": yarn_applications -"/dataproc:v1/Job/yarnApplications/yarn_application": yarn_application -"/dataproc:v1/Job/pysparkJob": pyspark_job -"/dataproc:v1/Job/reference": reference -"/dataproc:v1/Job/hadoopJob": hadoop_job -"/dataproc:v1/Job/status": status -"/dataproc:v1/Job/placement": placement "/dataproc:v1/Job/driverControlFilesUri": driver_control_files_uri "/dataproc:v1/Job/scheduling": scheduling "/dataproc:v1/Job/pigJob": pig_job @@ -19447,13 +19415,20 @@ "/dataproc:v1/Job/driverOutputResourceUri": driver_output_resource_uri "/dataproc:v1/Job/statusHistory": status_history "/dataproc:v1/Job/statusHistory/status_history": status_history -"/dataproc:v1/Job/sparkJob": spark_job "/dataproc:v1/Job/sparkSqlJob": spark_sql_job +"/dataproc:v1/Job/sparkJob": spark_job +"/dataproc:v1/Job/yarnApplications": yarn_applications +"/dataproc:v1/Job/yarnApplications/yarn_application": yarn_application +"/dataproc:v1/Job/pysparkJob": pyspark_job +"/dataproc:v1/Job/reference": reference +"/dataproc:v1/Job/hadoopJob": hadoop_job +"/dataproc:v1/Job/status": status +"/dataproc:v1/Job/placement": placement "/dataproc:v1/JobStatus": job_status -"/dataproc:v1/JobStatus/state": state -"/dataproc:v1/JobStatus/details": details "/dataproc:v1/JobStatus/stateStartTime": state_start_time "/dataproc:v1/JobStatus/substate": substate +"/dataproc:v1/JobStatus/state": state +"/dataproc:v1/JobStatus/details": details "/dataproc:v1/ManagedGroupConfig": managed_group_config "/dataproc:v1/ManagedGroupConfig/instanceGroupManagerName": instance_group_manager_name "/dataproc:v1/ManagedGroupConfig/instanceTemplateName": instance_template_name @@ -19462,18 +19437,7 @@ "/dataproc:v1/ClusterOperationStatus/details": details "/dataproc:v1/ClusterOperationStatus/innerState": inner_state "/dataproc:v1/ClusterOperationStatus/stateStartTime": state_start_time -"/dataproc:v1/QueryList": query_list -"/dataproc:v1/QueryList/queries": queries -"/dataproc:v1/QueryList/queries/query": query -"/dataproc:v1/YarnApplication": yarn_application -"/dataproc:v1/YarnApplication/state": state -"/dataproc:v1/YarnApplication/name": name -"/dataproc:v1/YarnApplication/trackingUrl": tracking_url -"/dataproc:v1/YarnApplication/progress": progress "/dataproc:v1/HadoopJob": hadoop_job -"/dataproc:v1/HadoopJob/jarFileUris": jar_file_uris -"/dataproc:v1/HadoopJob/jarFileUris/jar_file_uri": jar_file_uri -"/dataproc:v1/HadoopJob/loggingConfig": logging_config "/dataproc:v1/HadoopJob/properties": properties "/dataproc:v1/HadoopJob/properties/property": property "/dataproc:v1/HadoopJob/args": args @@ -19484,11 +19448,24 @@ "/dataproc:v1/HadoopJob/archiveUris": archive_uris "/dataproc:v1/HadoopJob/archiveUris/archive_uri": archive_uri "/dataproc:v1/HadoopJob/mainJarFileUri": main_jar_file_uri +"/dataproc:v1/HadoopJob/jarFileUris": jar_file_uris +"/dataproc:v1/HadoopJob/jarFileUris/jar_file_uri": jar_file_uri +"/dataproc:v1/HadoopJob/loggingConfig": logging_config +"/dataproc:v1/QueryList": query_list +"/dataproc:v1/QueryList/queries": queries +"/dataproc:v1/QueryList/queries/query": query +"/dataproc:v1/YarnApplication": yarn_application +"/dataproc:v1/YarnApplication/state": state +"/dataproc:v1/YarnApplication/name": name +"/dataproc:v1/YarnApplication/trackingUrl": tracking_url +"/dataproc:v1/YarnApplication/progress": progress "/dataproc:v1/DiagnoseClusterRequest": diagnose_cluster_request "/dataproc:v1/DiskConfig": disk_config -"/dataproc:v1/DiskConfig/numLocalSsds": num_local_ssds "/dataproc:v1/DiskConfig/bootDiskSizeGb": boot_disk_size_gb +"/dataproc:v1/DiskConfig/numLocalSsds": num_local_ssds "/dataproc:v1/ClusterOperationMetadata": cluster_operation_metadata +"/dataproc:v1/ClusterOperationMetadata/warnings": warnings +"/dataproc:v1/ClusterOperationMetadata/warnings/warning": warning "/dataproc:v1/ClusterOperationMetadata/labels": labels "/dataproc:v1/ClusterOperationMetadata/labels/label": label "/dataproc:v1/ClusterOperationMetadata/status": status @@ -19498,13 +19475,11 @@ "/dataproc:v1/ClusterOperationMetadata/clusterUuid": cluster_uuid "/dataproc:v1/ClusterOperationMetadata/operationType": operation_type "/dataproc:v1/ClusterOperationMetadata/description": description -"/dataproc:v1/ClusterOperationMetadata/warnings": warnings -"/dataproc:v1/ClusterOperationMetadata/warnings/warning": warning "/dataproc:v1/Empty": empty "/dataproc:v1/HiveJob": hive_job "/dataproc:v1/HiveJob/continueOnFailure": continue_on_failure -"/dataproc:v1/HiveJob/queryList": query_list "/dataproc:v1/HiveJob/queryFileUri": query_file_uri +"/dataproc:v1/HiveJob/queryList": query_list "/dataproc:v1/HiveJob/jarFileUris": jar_file_uris "/dataproc:v1/HiveJob/jarFileUris/jar_file_uri": jar_file_uri "/dataproc:v1/HiveJob/scriptVariables": script_variables @@ -19514,18 +19489,15 @@ "/dataproc:v1/DiagnoseClusterResults": diagnose_cluster_results "/dataproc:v1/DiagnoseClusterResults/outputUri": output_uri "/dataproc:v1/ClusterConfig": cluster_config -"/dataproc:v1/ClusterConfig/initializationActions": initialization_actions -"/dataproc:v1/ClusterConfig/initializationActions/initialization_action": initialization_action -"/dataproc:v1/ClusterConfig/configBucket": config_bucket "/dataproc:v1/ClusterConfig/workerConfig": worker_config "/dataproc:v1/ClusterConfig/gceClusterConfig": gce_cluster_config "/dataproc:v1/ClusterConfig/softwareConfig": software_config "/dataproc:v1/ClusterConfig/masterConfig": master_config "/dataproc:v1/ClusterConfig/secondaryWorkerConfig": secondary_worker_config +"/dataproc:v1/ClusterConfig/initializationActions": initialization_actions +"/dataproc:v1/ClusterConfig/initializationActions/initialization_action": initialization_action +"/dataproc:v1/ClusterConfig/configBucket": config_bucket "/dataproc:v1/PySparkJob": py_spark_job -"/dataproc:v1/PySparkJob/jarFileUris": jar_file_uris -"/dataproc:v1/PySparkJob/jarFileUris/jar_file_uri": jar_file_uri -"/dataproc:v1/PySparkJob/loggingConfig": logging_config "/dataproc:v1/PySparkJob/properties": properties "/dataproc:v1/PySparkJob/properties/property": property "/dataproc:v1/PySparkJob/args": args @@ -19537,10 +19509,13 @@ "/dataproc:v1/PySparkJob/mainPythonFileUri": main_python_file_uri "/dataproc:v1/PySparkJob/archiveUris": archive_uris "/dataproc:v1/PySparkJob/archiveUris/archive_uri": archive_uri +"/dataproc:v1/PySparkJob/jarFileUris": jar_file_uris +"/dataproc:v1/PySparkJob/jarFileUris/jar_file_uri": jar_file_uri +"/dataproc:v1/PySparkJob/loggingConfig": logging_config "/dataproc:v1/GceClusterConfig": gce_cluster_config +"/dataproc:v1/GceClusterConfig/internalIpOnly": internal_ip_only "/dataproc:v1/GceClusterConfig/metadata": metadata "/dataproc:v1/GceClusterConfig/metadata/metadatum": metadatum -"/dataproc:v1/GceClusterConfig/internalIpOnly": internal_ip_only "/dataproc:v1/GceClusterConfig/serviceAccountScopes": service_account_scopes "/dataproc:v1/GceClusterConfig/serviceAccountScopes/service_account_scope": service_account_scope "/dataproc:v1/GceClusterConfig/tags": tags @@ -19550,10 +19525,10 @@ "/dataproc:v1/GceClusterConfig/networkUri": network_uri "/dataproc:v1/GceClusterConfig/zoneUri": zone_uri "/dataproc:v1/ClusterMetrics": cluster_metrics -"/dataproc:v1/ClusterMetrics/hdfsMetrics": hdfs_metrics -"/dataproc:v1/ClusterMetrics/hdfsMetrics/hdfs_metric": hdfs_metric "/dataproc:v1/ClusterMetrics/yarnMetrics": yarn_metrics "/dataproc:v1/ClusterMetrics/yarnMetrics/yarn_metric": yarn_metric +"/dataproc:v1/ClusterMetrics/hdfsMetrics": hdfs_metrics +"/dataproc:v1/ClusterMetrics/hdfsMetrics/hdfs_metric": hdfs_metric "/dataproc:v1/AcceleratorConfig": accelerator_config "/dataproc:v1/AcceleratorConfig/acceleratorCount": accelerator_count "/dataproc:v1/AcceleratorConfig/acceleratorTypeUri": accelerator_type_uri @@ -19563,75 +19538,48 @@ "/dataproc:v1/DiagnoseClusterOutputLocation": diagnose_cluster_output_location "/dataproc:v1/DiagnoseClusterOutputLocation/outputUri": output_uri "/dataproc:v1/Operation": operation -"/dataproc:v1/Operation/error": error -"/dataproc:v1/Operation/metadata": metadata -"/dataproc:v1/Operation/metadata/metadatum": metadatum "/dataproc:v1/Operation/done": done "/dataproc:v1/Operation/response": response "/dataproc:v1/Operation/response/response": response "/dataproc:v1/Operation/name": name +"/dataproc:v1/Operation/error": error +"/dataproc:v1/Operation/metadata": metadata +"/dataproc:v1/Operation/metadata/metadatum": metadatum "/dataproc:v1/OperationStatus": operation_status -"/dataproc:v1/OperationStatus/innerState": inner_state -"/dataproc:v1/OperationStatus/stateStartTime": state_start_time "/dataproc:v1/OperationStatus/state": state "/dataproc:v1/OperationStatus/details": details -"/dataproc:v1/JobReference": job_reference -"/dataproc:v1/JobReference/projectId": project_id -"/dataproc:v1/JobReference/jobId": job_id -"/dataproc:v1/SubmitJobRequest": submit_job_request -"/dataproc:v1/SubmitJobRequest/job": job +"/dataproc:v1/OperationStatus/innerState": inner_state +"/dataproc:v1/OperationStatus/stateStartTime": state_start_time "/datastore:v1/key": key "/datastore:v1/quotaUser": quota_user "/datastore:v1/fields": fields -"/datastore:v1/datastore.projects.allocateIds": allocate_project_ids -"/datastore:v1/datastore.projects.allocateIds/projectId": project_id -"/datastore:v1/datastore.projects.beginTransaction": begin_project_transaction -"/datastore:v1/datastore.projects.beginTransaction/projectId": project_id "/datastore:v1/datastore.projects.commit": commit_project "/datastore:v1/datastore.projects.commit/projectId": project_id +"/datastore:v1/datastore.projects.beginTransaction": begin_project_transaction +"/datastore:v1/datastore.projects.beginTransaction/projectId": project_id "/datastore:v1/datastore.projects.runQuery": run_project_query "/datastore:v1/datastore.projects.runQuery/projectId": project_id "/datastore:v1/datastore.projects.rollback": rollback_project "/datastore:v1/datastore.projects.rollback/projectId": project_id "/datastore:v1/datastore.projects.lookup": lookup_project "/datastore:v1/datastore.projects.lookup/projectId": project_id -"/datastore:v1/RunQueryRequest": run_query_request -"/datastore:v1/RunQueryRequest/readOptions": read_options -"/datastore:v1/RunQueryRequest/query": query -"/datastore:v1/RunQueryRequest/partitionId": partition_id -"/datastore:v1/RunQueryRequest/gqlQuery": gql_query -"/datastore:v1/RollbackRequest": rollback_request -"/datastore:v1/RollbackRequest/transaction": transaction -"/datastore:v1/CompositeFilter": composite_filter -"/datastore:v1/CompositeFilter/filters": filters -"/datastore:v1/CompositeFilter/filters/filter": filter -"/datastore:v1/CompositeFilter/op": op -"/datastore:v1/AllocateIdsResponse": allocate_ids_response -"/datastore:v1/AllocateIdsResponse/keys": keys -"/datastore:v1/AllocateIdsResponse/keys/key": key -"/datastore:v1/Query": query -"/datastore:v1/Query/limit": limit -"/datastore:v1/Query/filter": filter -"/datastore:v1/Query/startCursor": start_cursor -"/datastore:v1/Query/offset": offset -"/datastore:v1/Query/kind": kind -"/datastore:v1/Query/kind/kind": kind -"/datastore:v1/Query/distinctOn": distinct_on -"/datastore:v1/Query/distinctOn/distinct_on": distinct_on -"/datastore:v1/Query/order": order -"/datastore:v1/Query/order/order": order -"/datastore:v1/Query/projection": projection -"/datastore:v1/Query/projection/projection": projection -"/datastore:v1/Query/endCursor": end_cursor +"/datastore:v1/datastore.projects.allocateIds": allocate_project_ids +"/datastore:v1/datastore.projects.allocateIds/projectId": project_id "/datastore:v1/PropertyFilter": property_filter "/datastore:v1/PropertyFilter/value": value "/datastore:v1/PropertyFilter/property": property "/datastore:v1/PropertyFilter/op": op "/datastore:v1/EntityResult": entity_result +"/datastore:v1/EntityResult/cursor": cursor "/datastore:v1/EntityResult/version": version "/datastore:v1/EntityResult/entity": entity -"/datastore:v1/EntityResult/cursor": cursor +"/datastore:v1/CommitResponse": commit_response +"/datastore:v1/CommitResponse/mutationResults": mutation_results +"/datastore:v1/CommitResponse/mutationResults/mutation_result": mutation_result +"/datastore:v1/CommitResponse/indexUpdates": index_updates "/datastore:v1/Value": value +"/datastore:v1/Value/meaning": meaning +"/datastore:v1/Value/arrayValue": array_value "/datastore:v1/Value/entityValue": entity_value "/datastore:v1/Value/geoPointValue": geo_point_value "/datastore:v1/Value/keyValue": key_value @@ -19643,103 +19591,125 @@ "/datastore:v1/Value/booleanValue": boolean_value "/datastore:v1/Value/nullValue": null_value "/datastore:v1/Value/blobValue": blob_value -"/datastore:v1/Value/meaning": meaning -"/datastore:v1/Value/arrayValue": array_value -"/datastore:v1/CommitResponse": commit_response -"/datastore:v1/CommitResponse/mutationResults": mutation_results -"/datastore:v1/CommitResponse/mutationResults/mutation_result": mutation_result -"/datastore:v1/CommitResponse/indexUpdates": index_updates "/datastore:v1/PartitionId": partition_id "/datastore:v1/PartitionId/namespaceId": namespace_id "/datastore:v1/PartitionId/projectId": project_id "/datastore:v1/Entity": entity -"/datastore:v1/Entity/key": key "/datastore:v1/Entity/properties": properties "/datastore:v1/Entity/properties/property": property -"/datastore:v1/LookupRequest": lookup_request -"/datastore:v1/LookupRequest/keys": keys -"/datastore:v1/LookupRequest/keys/key": key -"/datastore:v1/LookupRequest/readOptions": read_options +"/datastore:v1/Entity/key": key "/datastore:v1/QueryResultBatch": query_result_batch -"/datastore:v1/QueryResultBatch/endCursor": end_cursor -"/datastore:v1/QueryResultBatch/moreResults": more_results -"/datastore:v1/QueryResultBatch/snapshotVersion": snapshot_version "/datastore:v1/QueryResultBatch/skippedCursor": skipped_cursor "/datastore:v1/QueryResultBatch/skippedResults": skipped_results "/datastore:v1/QueryResultBatch/entityResultType": entity_result_type "/datastore:v1/QueryResultBatch/entityResults": entity_results "/datastore:v1/QueryResultBatch/entityResults/entity_result": entity_result +"/datastore:v1/QueryResultBatch/endCursor": end_cursor +"/datastore:v1/QueryResultBatch/moreResults": more_results +"/datastore:v1/QueryResultBatch/snapshotVersion": snapshot_version +"/datastore:v1/LookupRequest": lookup_request +"/datastore:v1/LookupRequest/keys": keys +"/datastore:v1/LookupRequest/keys/key": key +"/datastore:v1/LookupRequest/readOptions": read_options "/datastore:v1/PathElement": path_element -"/datastore:v1/PathElement/id": id "/datastore:v1/PathElement/name": name "/datastore:v1/PathElement/kind": kind +"/datastore:v1/PathElement/id": id "/datastore:v1/GqlQueryParameter": gql_query_parameter -"/datastore:v1/GqlQueryParameter/value": value "/datastore:v1/GqlQueryParameter/cursor": cursor +"/datastore:v1/GqlQueryParameter/value": value "/datastore:v1/BeginTransactionResponse": begin_transaction_response "/datastore:v1/BeginTransactionResponse/transaction": transaction -"/datastore:v1/AllocateIdsRequest": allocate_ids_request -"/datastore:v1/AllocateIdsRequest/keys": keys -"/datastore:v1/AllocateIdsRequest/keys/key": key +"/datastore:v1/RunQueryResponse": run_query_response +"/datastore:v1/RunQueryResponse/query": query +"/datastore:v1/RunQueryResponse/batch": batch "/datastore:v1/LookupResponse": lookup_response +"/datastore:v1/LookupResponse/deferred": deferred +"/datastore:v1/LookupResponse/deferred/deferred": deferred "/datastore:v1/LookupResponse/found": found "/datastore:v1/LookupResponse/found/found": found "/datastore:v1/LookupResponse/missing": missing "/datastore:v1/LookupResponse/missing/missing": missing -"/datastore:v1/LookupResponse/deferred": deferred -"/datastore:v1/LookupResponse/deferred/deferred": deferred -"/datastore:v1/RunQueryResponse": run_query_response -"/datastore:v1/RunQueryResponse/batch": batch -"/datastore:v1/RunQueryResponse/query": query -"/datastore:v1/CommitRequest": commit_request -"/datastore:v1/CommitRequest/mode": mode -"/datastore:v1/CommitRequest/mutations": mutations -"/datastore:v1/CommitRequest/mutations/mutation": mutation -"/datastore:v1/CommitRequest/transaction": transaction +"/datastore:v1/AllocateIdsRequest": allocate_ids_request +"/datastore:v1/AllocateIdsRequest/keys": keys +"/datastore:v1/AllocateIdsRequest/keys/key": key +"/datastore:v1/BeginTransactionRequest": begin_transaction_request "/datastore:v1/PropertyOrder": property_order "/datastore:v1/PropertyOrder/property": property "/datastore:v1/PropertyOrder/direction": direction -"/datastore:v1/BeginTransactionRequest": begin_transaction_request +"/datastore:v1/CommitRequest": commit_request +"/datastore:v1/CommitRequest/transaction": transaction +"/datastore:v1/CommitRequest/mode": mode +"/datastore:v1/CommitRequest/mutations": mutations +"/datastore:v1/CommitRequest/mutations/mutation": mutation "/datastore:v1/KindExpression": kind_expression "/datastore:v1/KindExpression/name": name -"/datastore:v1/LatLng": lat_lng -"/datastore:v1/LatLng/latitude": latitude -"/datastore:v1/LatLng/longitude": longitude "/datastore:v1/Key": key "/datastore:v1/Key/path": path "/datastore:v1/Key/path/path": path "/datastore:v1/Key/partitionId": partition_id +"/datastore:v1/LatLng": lat_lng +"/datastore:v1/LatLng/latitude": latitude +"/datastore:v1/LatLng/longitude": longitude "/datastore:v1/PropertyReference": property_reference "/datastore:v1/PropertyReference/name": name -"/datastore:v1/Projection": projection -"/datastore:v1/Projection/property": property "/datastore:v1/ArrayValue": array_value "/datastore:v1/ArrayValue/values": values "/datastore:v1/ArrayValue/values/value": value +"/datastore:v1/Projection": projection +"/datastore:v1/Projection/property": property "/datastore:v1/Mutation": mutation -"/datastore:v1/Mutation/upsert": upsert "/datastore:v1/Mutation/delete": delete "/datastore:v1/Mutation/insert": insert "/datastore:v1/Mutation/baseVersion": base_version "/datastore:v1/Mutation/update": update +"/datastore:v1/Mutation/upsert": upsert "/datastore:v1/ReadOptions": read_options "/datastore:v1/ReadOptions/readConsistency": read_consistency "/datastore:v1/ReadOptions/transaction": transaction "/datastore:v1/RollbackResponse": rollback_response "/datastore:v1/MutationResult": mutation_result +"/datastore:v1/MutationResult/conflictDetected": conflict_detected "/datastore:v1/MutationResult/key": key "/datastore:v1/MutationResult/version": version -"/datastore:v1/MutationResult/conflictDetected": conflict_detected "/datastore:v1/GqlQuery": gql_query -"/datastore:v1/GqlQuery/queryString": query_string "/datastore:v1/GqlQuery/allowLiterals": allow_literals "/datastore:v1/GqlQuery/namedBindings": named_bindings "/datastore:v1/GqlQuery/namedBindings/named_binding": named_binding "/datastore:v1/GqlQuery/positionalBindings": positional_bindings "/datastore:v1/GqlQuery/positionalBindings/positional_binding": positional_binding +"/datastore:v1/GqlQuery/queryString": query_string "/datastore:v1/Filter": filter -"/datastore:v1/Filter/compositeFilter": composite_filter "/datastore:v1/Filter/propertyFilter": property_filter +"/datastore:v1/Filter/compositeFilter": composite_filter +"/datastore:v1/RollbackRequest": rollback_request +"/datastore:v1/RollbackRequest/transaction": transaction +"/datastore:v1/RunQueryRequest": run_query_request +"/datastore:v1/RunQueryRequest/query": query +"/datastore:v1/RunQueryRequest/partitionId": partition_id +"/datastore:v1/RunQueryRequest/gqlQuery": gql_query +"/datastore:v1/RunQueryRequest/readOptions": read_options +"/datastore:v1/CompositeFilter": composite_filter +"/datastore:v1/CompositeFilter/filters": filters +"/datastore:v1/CompositeFilter/filters/filter": filter +"/datastore:v1/CompositeFilter/op": op +"/datastore:v1/AllocateIdsResponse": allocate_ids_response +"/datastore:v1/AllocateIdsResponse/keys": keys +"/datastore:v1/AllocateIdsResponse/keys/key": key +"/datastore:v1/Query": query +"/datastore:v1/Query/projection": projection +"/datastore:v1/Query/projection/projection": projection +"/datastore:v1/Query/endCursor": end_cursor +"/datastore:v1/Query/limit": limit +"/datastore:v1/Query/filter": filter +"/datastore:v1/Query/offset": offset +"/datastore:v1/Query/startCursor": start_cursor +"/datastore:v1/Query/kind": kind +"/datastore:v1/Query/kind/kind": kind +"/datastore:v1/Query/distinctOn": distinct_on +"/datastore:v1/Query/distinctOn/distinct_on": distinct_on +"/datastore:v1/Query/order": order +"/datastore:v1/Query/order/order": order "/deploymentmanager:v2/fields": fields "/deploymentmanager:v2/key": key "/deploymentmanager:v2/quotaUser": quota_user @@ -26966,61 +26936,61 @@ "/firebasedynamiclinks:v1/quotaUser": quota_user "/firebasedynamiclinks:v1/fields": fields "/firebasedynamiclinks:v1/firebasedynamiclinks.shortLinks.create": create_short_link_short_dynamic_link -"/firebasedynamiclinks:v1/SocialMetaTagInfo": social_meta_tag_info -"/firebasedynamiclinks:v1/SocialMetaTagInfo/socialDescription": social_description -"/firebasedynamiclinks:v1/SocialMetaTagInfo/socialTitle": social_title -"/firebasedynamiclinks:v1/SocialMetaTagInfo/socialImageLink": social_image_link "/firebasedynamiclinks:v1/DynamicLinkWarning": dynamic_link_warning "/firebasedynamiclinks:v1/DynamicLinkWarning/warningCode": warning_code "/firebasedynamiclinks:v1/DynamicLinkWarning/warningMessage": warning_message "/firebasedynamiclinks:v1/AndroidInfo": android_info -"/firebasedynamiclinks:v1/AndroidInfo/androidPackageName": android_package_name -"/firebasedynamiclinks:v1/AndroidInfo/androidMinPackageVersionCode": android_min_package_version_code "/firebasedynamiclinks:v1/AndroidInfo/androidLink": android_link "/firebasedynamiclinks:v1/AndroidInfo/androidFallbackLink": android_fallback_link +"/firebasedynamiclinks:v1/AndroidInfo/androidPackageName": android_package_name +"/firebasedynamiclinks:v1/AndroidInfo/androidMinPackageVersionCode": android_min_package_version_code "/firebasedynamiclinks:v1/NavigationInfo": navigation_info "/firebasedynamiclinks:v1/NavigationInfo/enableForcedRedirect": enable_forced_redirect "/firebasedynamiclinks:v1/IosInfo": ios_info +"/firebasedynamiclinks:v1/IosInfo/iosAppStoreId": ios_app_store_id "/firebasedynamiclinks:v1/IosInfo/iosIpadFallbackLink": ios_ipad_fallback_link "/firebasedynamiclinks:v1/IosInfo/iosIpadBundleId": ios_ipad_bundle_id "/firebasedynamiclinks:v1/IosInfo/iosCustomScheme": ios_custom_scheme "/firebasedynamiclinks:v1/IosInfo/iosBundleId": ios_bundle_id "/firebasedynamiclinks:v1/IosInfo/iosFallbackLink": ios_fallback_link -"/firebasedynamiclinks:v1/IosInfo/iosAppStoreId": ios_app_store_id "/firebasedynamiclinks:v1/AnalyticsInfo": analytics_info -"/firebasedynamiclinks:v1/AnalyticsInfo/googlePlayAnalytics": google_play_analytics "/firebasedynamiclinks:v1/AnalyticsInfo/itunesConnectAnalytics": itunes_connect_analytics +"/firebasedynamiclinks:v1/AnalyticsInfo/googlePlayAnalytics": google_play_analytics "/firebasedynamiclinks:v1/CreateShortDynamicLinkRequest": create_short_dynamic_link_request "/firebasedynamiclinks:v1/CreateShortDynamicLinkRequest/dynamicLinkInfo": dynamic_link_info "/firebasedynamiclinks:v1/CreateShortDynamicLinkRequest/longDynamicLink": long_dynamic_link "/firebasedynamiclinks:v1/CreateShortDynamicLinkRequest/suffix": suffix "/firebasedynamiclinks:v1/CreateShortDynamicLinkResponse": create_short_dynamic_link_response -"/firebasedynamiclinks:v1/CreateShortDynamicLinkResponse/shortLink": short_link -"/firebasedynamiclinks:v1/CreateShortDynamicLinkResponse/previewLink": preview_link "/firebasedynamiclinks:v1/CreateShortDynamicLinkResponse/warning": warning "/firebasedynamiclinks:v1/CreateShortDynamicLinkResponse/warning/warning": warning +"/firebasedynamiclinks:v1/CreateShortDynamicLinkResponse/shortLink": short_link +"/firebasedynamiclinks:v1/CreateShortDynamicLinkResponse/previewLink": preview_link "/firebasedynamiclinks:v1/Suffix": suffix "/firebasedynamiclinks:v1/Suffix/option": option "/firebasedynamiclinks:v1/GooglePlayAnalytics": google_play_analytics -"/firebasedynamiclinks:v1/GooglePlayAnalytics/utmContent": utm_content "/firebasedynamiclinks:v1/GooglePlayAnalytics/utmMedium": utm_medium "/firebasedynamiclinks:v1/GooglePlayAnalytics/utmTerm": utm_term "/firebasedynamiclinks:v1/GooglePlayAnalytics/utmSource": utm_source "/firebasedynamiclinks:v1/GooglePlayAnalytics/utmCampaign": utm_campaign "/firebasedynamiclinks:v1/GooglePlayAnalytics/gclid": gclid +"/firebasedynamiclinks:v1/GooglePlayAnalytics/utmContent": utm_content "/firebasedynamiclinks:v1/DynamicLinkInfo": dynamic_link_info -"/firebasedynamiclinks:v1/DynamicLinkInfo/androidInfo": android_info -"/firebasedynamiclinks:v1/DynamicLinkInfo/navigationInfo": navigation_info "/firebasedynamiclinks:v1/DynamicLinkInfo/analyticsInfo": analytics_info "/firebasedynamiclinks:v1/DynamicLinkInfo/dynamicLinkDomain": dynamic_link_domain "/firebasedynamiclinks:v1/DynamicLinkInfo/link": link "/firebasedynamiclinks:v1/DynamicLinkInfo/iosInfo": ios_info "/firebasedynamiclinks:v1/DynamicLinkInfo/socialMetaTagInfo": social_meta_tag_info +"/firebasedynamiclinks:v1/DynamicLinkInfo/androidInfo": android_info +"/firebasedynamiclinks:v1/DynamicLinkInfo/navigationInfo": navigation_info "/firebasedynamiclinks:v1/ITunesConnectAnalytics": i_tunes_connect_analytics "/firebasedynamiclinks:v1/ITunesConnectAnalytics/at": at "/firebasedynamiclinks:v1/ITunesConnectAnalytics/ct": ct "/firebasedynamiclinks:v1/ITunesConnectAnalytics/mt": mt "/firebasedynamiclinks:v1/ITunesConnectAnalytics/pt": pt +"/firebasedynamiclinks:v1/SocialMetaTagInfo": social_meta_tag_info +"/firebasedynamiclinks:v1/SocialMetaTagInfo/socialTitle": social_title +"/firebasedynamiclinks:v1/SocialMetaTagInfo/socialImageLink": social_image_link +"/firebasedynamiclinks:v1/SocialMetaTagInfo/socialDescription": social_description "/firebaserules:v1/fields": fields "/firebaserules:v1/key": key "/firebaserules:v1/quotaUser": quota_user @@ -27050,40 +27020,6 @@ "/firebaserules:v1/firebaserules.projects.releases.list/pageToken": page_token "/firebaserules:v1/firebaserules.projects.releases.list/pageSize": page_size "/firebaserules:v1/firebaserules.projects.releases.list/filter": filter -"/firebaserules:v1/FunctionCall": function_call -"/firebaserules:v1/FunctionCall/function": function -"/firebaserules:v1/FunctionCall/args": args -"/firebaserules:v1/FunctionCall/args/arg": arg -"/firebaserules:v1/File": file -"/firebaserules:v1/File/fingerprint": fingerprint -"/firebaserules:v1/File/name": name -"/firebaserules:v1/File/content": content -"/firebaserules:v1/ListReleasesResponse": list_releases_response -"/firebaserules:v1/ListReleasesResponse/releases": releases -"/firebaserules:v1/ListReleasesResponse/releases/release": release -"/firebaserules:v1/ListReleasesResponse/nextPageToken": next_page_token -"/firebaserules:v1/Release": release -"/firebaserules:v1/Release/updateTime": update_time -"/firebaserules:v1/Release/name": name -"/firebaserules:v1/Release/rulesetName": ruleset_name -"/firebaserules:v1/Release/createTime": create_time -"/firebaserules:v1/TestRulesetResponse": test_ruleset_response -"/firebaserules:v1/TestRulesetResponse/issues": issues -"/firebaserules:v1/TestRulesetResponse/issues/issue": issue -"/firebaserules:v1/TestRulesetResponse/testResults": test_results -"/firebaserules:v1/TestRulesetResponse/testResults/test_result": test_result -"/firebaserules:v1/TestResult": test_result -"/firebaserules:v1/TestResult/functionCalls": function_calls -"/firebaserules:v1/TestResult/functionCalls/function_call": function_call -"/firebaserules:v1/TestResult/state": state -"/firebaserules:v1/TestResult/debugMessages": debug_messages -"/firebaserules:v1/TestResult/debugMessages/debug_message": debug_message -"/firebaserules:v1/TestResult/errorPosition": error_position -"/firebaserules:v1/ListRulesetsResponse": list_rulesets_response -"/firebaserules:v1/ListRulesetsResponse/rulesets": rulesets -"/firebaserules:v1/ListRulesetsResponse/rulesets/ruleset": ruleset -"/firebaserules:v1/ListRulesetsResponse/nextPageToken": next_page_token -"/firebaserules:v1/Empty": empty "/firebaserules:v1/Source": source "/firebaserules:v1/Source/files": files "/firebaserules:v1/Source/files/file": file @@ -27091,16 +27027,50 @@ "/firebaserules:v1/SourcePosition/column": column "/firebaserules:v1/SourcePosition/fileName": file_name "/firebaserules:v1/SourcePosition/line": line +"/firebaserules:v1/TestRulesetRequest": test_ruleset_request +"/firebaserules:v1/TestRulesetRequest/source": source "/firebaserules:v1/Issue": issue "/firebaserules:v1/Issue/sourcePosition": source_position "/firebaserules:v1/Issue/severity": severity "/firebaserules:v1/Issue/description": description -"/firebaserules:v1/TestRulesetRequest": test_ruleset_request -"/firebaserules:v1/TestRulesetRequest/source": source "/firebaserules:v1/Ruleset": ruleset "/firebaserules:v1/Ruleset/name": name "/firebaserules:v1/Ruleset/source": source "/firebaserules:v1/Ruleset/createTime": create_time +"/firebaserules:v1/ListReleasesResponse": list_releases_response +"/firebaserules:v1/ListReleasesResponse/releases": releases +"/firebaserules:v1/ListReleasesResponse/releases/release": release +"/firebaserules:v1/ListReleasesResponse/nextPageToken": next_page_token +"/firebaserules:v1/File": file +"/firebaserules:v1/File/fingerprint": fingerprint +"/firebaserules:v1/File/name": name +"/firebaserules:v1/File/content": content +"/firebaserules:v1/FunctionCall": function_call +"/firebaserules:v1/FunctionCall/function": function +"/firebaserules:v1/FunctionCall/args": args +"/firebaserules:v1/FunctionCall/args/arg": arg +"/firebaserules:v1/Release": release +"/firebaserules:v1/Release/createTime": create_time +"/firebaserules:v1/Release/updateTime": update_time +"/firebaserules:v1/Release/name": name +"/firebaserules:v1/Release/rulesetName": ruleset_name +"/firebaserules:v1/TestRulesetResponse": test_ruleset_response +"/firebaserules:v1/TestRulesetResponse/testResults": test_results +"/firebaserules:v1/TestRulesetResponse/testResults/test_result": test_result +"/firebaserules:v1/TestRulesetResponse/issues": issues +"/firebaserules:v1/TestRulesetResponse/issues/issue": issue +"/firebaserules:v1/ListRulesetsResponse": list_rulesets_response +"/firebaserules:v1/ListRulesetsResponse/nextPageToken": next_page_token +"/firebaserules:v1/ListRulesetsResponse/rulesets": rulesets +"/firebaserules:v1/ListRulesetsResponse/rulesets/ruleset": ruleset +"/firebaserules:v1/TestResult": test_result +"/firebaserules:v1/TestResult/functionCalls": function_calls +"/firebaserules:v1/TestResult/functionCalls/function_call": function_call +"/firebaserules:v1/TestResult/state": state +"/firebaserules:v1/TestResult/debugMessages": debug_messages +"/firebaserules:v1/TestResult/debugMessages/debug_message": debug_message +"/firebaserules:v1/TestResult/errorPosition": error_position +"/firebaserules:v1/Empty": empty "/fitness:v1/fields": fields "/fitness:v1/key": key "/fitness:v1/quotaUser": quota_user @@ -28588,100 +28558,436 @@ "/gamesManagement:v1management/ScoresResetMultipleForAllRequest/kind": kind "/gamesManagement:v1management/ScoresResetMultipleForAllRequest/leaderboard_ids": leaderboard_ids "/gamesManagement:v1management/ScoresResetMultipleForAllRequest/leaderboard_ids/leaderboard_id": leaderboard_id +"/genomics:v1/fields": fields "/genomics:v1/key": key "/genomics:v1/quotaUser": quota_user -"/genomics:v1/fields": fields -"/genomics:v1/genomics.readgroupsets.delete/readGroupSetId": read_group_set_id -"/genomics:v1/genomics.readgroupsets.export/readGroupSetId": read_group_set_id -"/genomics:v1/genomics.readgroupsets.patch/updateMask": update_mask -"/genomics:v1/genomics.readgroupsets.patch/readGroupSetId": read_group_set_id -"/genomics:v1/genomics.readgroupsets.get/readGroupSetId": read_group_set_id -"/genomics:v1/genomics.readgroupsets.coveragebuckets.list/referenceName": reference_name -"/genomics:v1/genomics.readgroupsets.coveragebuckets.list/end": end_ -"/genomics:v1/genomics.readgroupsets.coveragebuckets.list/pageToken": page_token -"/genomics:v1/genomics.readgroupsets.coveragebuckets.list/pageSize": page_size -"/genomics:v1/genomics.readgroupsets.coveragebuckets.list/start": start -"/genomics:v1/genomics.readgroupsets.coveragebuckets.list/readGroupSetId": read_group_set_id -"/genomics:v1/genomics.readgroupsets.coveragebuckets.list/targetBucketWidth": target_bucket_width -"/genomics:v1/genomics.reads.search": search_reads -"/genomics:v1/genomics.callsets.delete/callSetId": call_set_id -"/genomics:v1/genomics.callsets.patch/updateMask": update_mask -"/genomics:v1/genomics.callsets.patch/callSetId": call_set_id -"/genomics:v1/genomics.callsets.get/callSetId": call_set_id +"/genomics:v1/genomics.annotationsets.get/annotationSetId": annotation_set_id +"/genomics:v1/genomics.annotationsets.update": update_annotationset +"/genomics:v1/genomics.annotationsets.update/annotationSetId": annotation_set_id +"/genomics:v1/genomics.annotationsets.update/updateMask": update_mask "/genomics:v1/genomics.annotationsets.delete": delete_annotationset "/genomics:v1/genomics.annotationsets.delete/annotationSetId": annotation_set_id "/genomics:v1/genomics.annotationsets.search": search_annotationset_annotation_sets -"/genomics:v1/genomics.annotationsets.get/annotationSetId": annotation_set_id -"/genomics:v1/genomics.annotationsets.update": update_annotationset -"/genomics:v1/genomics.annotationsets.update/updateMask": update_mask -"/genomics:v1/genomics.annotationsets.update/annotationSetId": annotation_set_id -"/genomics:v1/genomics.variants.delete": delete_variant -"/genomics:v1/genomics.variants.delete/variantId": variant_id -"/genomics:v1/genomics.variants.import": import_variants -"/genomics:v1/genomics.variants.merge": merge_variants -"/genomics:v1/genomics.variants.create": create_variant -"/genomics:v1/genomics.variants.search": search_variants "/genomics:v1/genomics.variants.get": get_variant "/genomics:v1/genomics.variants.get/variantId": variant_id "/genomics:v1/genomics.variants.patch": patch_variant "/genomics:v1/genomics.variants.patch/variantId": variant_id "/genomics:v1/genomics.variants.patch/updateMask": update_mask -"/genomics:v1/genomics.references.search": search_references +"/genomics:v1/genomics.variants.merge": merge_variants +"/genomics:v1/genomics.variants.delete": delete_variant +"/genomics:v1/genomics.variants.delete/variantId": variant_id +"/genomics:v1/genomics.variants.import": import_variants +"/genomics:v1/genomics.variants.create": create_variant +"/genomics:v1/genomics.variants.search": search_variants "/genomics:v1/genomics.references.get": get_reference "/genomics:v1/genomics.references.get/referenceId": reference_id +"/genomics:v1/genomics.references.search": search_references "/genomics:v1/genomics.references.bases.list": list_reference_bases "/genomics:v1/genomics.references.bases.list/pageToken": page_token "/genomics:v1/genomics.references.bases.list/pageSize": page_size "/genomics:v1/genomics.references.bases.list/referenceId": reference_id "/genomics:v1/genomics.datasets.getIamPolicy": get_dataset_iam_policy "/genomics:v1/genomics.datasets.getIamPolicy/resource": resource -"/genomics:v1/genomics.datasets.undelete": undelete_dataset -"/genomics:v1/genomics.datasets.undelete/datasetId": dataset_id +"/genomics:v1/genomics.datasets.patch": patch_dataset +"/genomics:v1/genomics.datasets.patch/datasetId": dataset_id +"/genomics:v1/genomics.datasets.patch/updateMask": update_mask "/genomics:v1/genomics.datasets.get": get_dataset "/genomics:v1/genomics.datasets.get/datasetId": dataset_id -"/genomics:v1/genomics.datasets.patch": patch_dataset -"/genomics:v1/genomics.datasets.patch/updateMask": update_mask -"/genomics:v1/genomics.datasets.patch/datasetId": dataset_id +"/genomics:v1/genomics.datasets.undelete": undelete_dataset +"/genomics:v1/genomics.datasets.undelete/datasetId": dataset_id "/genomics:v1/genomics.datasets.testIamPermissions": test_dataset_iam_permissions "/genomics:v1/genomics.datasets.testIamPermissions/resource": resource "/genomics:v1/genomics.datasets.delete": delete_dataset "/genomics:v1/genomics.datasets.delete/datasetId": dataset_id "/genomics:v1/genomics.datasets.list": list_datasets +"/genomics:v1/genomics.datasets.list/pageToken": page_token "/genomics:v1/genomics.datasets.list/pageSize": page_size "/genomics:v1/genomics.datasets.list/projectId": project_id -"/genomics:v1/genomics.datasets.list/pageToken": page_token -"/genomics:v1/genomics.datasets.create": create_dataset "/genomics:v1/genomics.datasets.setIamPolicy": set_dataset_iam_policy "/genomics:v1/genomics.datasets.setIamPolicy/resource": resource -"/genomics:v1/genomics.variantsets.delete": delete_variantset -"/genomics:v1/genomics.variantsets.delete/variantSetId": variant_set_id -"/genomics:v1/genomics.variantsets.create": create_variantset +"/genomics:v1/genomics.datasets.create": create_dataset "/genomics:v1/genomics.variantsets.export/variantSetId": variant_set_id +"/genomics:v1/genomics.variantsets.get": get_variantset +"/genomics:v1/genomics.variantsets.get/variantSetId": variant_set_id "/genomics:v1/genomics.variantsets.patch": patch_variantset "/genomics:v1/genomics.variantsets.patch/updateMask": update_mask "/genomics:v1/genomics.variantsets.patch/variantSetId": variant_set_id -"/genomics:v1/genomics.variantsets.get": get_variantset -"/genomics:v1/genomics.variantsets.get/variantSetId": variant_set_id +"/genomics:v1/genomics.variantsets.delete": delete_variantset +"/genomics:v1/genomics.variantsets.delete/variantSetId": variant_set_id +"/genomics:v1/genomics.variantsets.create": create_variantset +"/genomics:v1/genomics.annotations.delete": delete_annotation +"/genomics:v1/genomics.annotations.delete/annotationId": annotation_id "/genomics:v1/genomics.annotations.create": create_annotation "/genomics:v1/genomics.annotations.batchCreate": batch_create_annotations "/genomics:v1/genomics.annotations.search": search_annotations "/genomics:v1/genomics.annotations.get": get_annotation "/genomics:v1/genomics.annotations.get/annotationId": annotation_id "/genomics:v1/genomics.annotations.update": update_annotation -"/genomics:v1/genomics.annotations.update/updateMask": update_mask "/genomics:v1/genomics.annotations.update/annotationId": annotation_id -"/genomics:v1/genomics.annotations.delete": delete_annotation -"/genomics:v1/genomics.annotations.delete/annotationId": annotation_id +"/genomics:v1/genomics.annotations.update/updateMask": update_mask "/genomics:v1/genomics.operations.cancel": cancel_operation "/genomics:v1/genomics.operations.cancel/name": name "/genomics:v1/genomics.operations.list": list_operations -"/genomics:v1/genomics.operations.list/pageSize": page_size "/genomics:v1/genomics.operations.list/filter": filter "/genomics:v1/genomics.operations.list/name": name "/genomics:v1/genomics.operations.list/pageToken": page_token +"/genomics:v1/genomics.operations.list/pageSize": page_size "/genomics:v1/genomics.operations.get": get_operation "/genomics:v1/genomics.operations.get/name": name "/genomics:v1/genomics.referencesets.get/referenceSetId": reference_set_id +"/genomics:v1/genomics.readgroupsets.export/readGroupSetId": read_group_set_id +"/genomics:v1/genomics.readgroupsets.get/readGroupSetId": read_group_set_id +"/genomics:v1/genomics.readgroupsets.patch/readGroupSetId": read_group_set_id +"/genomics:v1/genomics.readgroupsets.patch/updateMask": update_mask +"/genomics:v1/genomics.readgroupsets.delete/readGroupSetId": read_group_set_id +"/genomics:v1/genomics.readgroupsets.coveragebuckets.list/end": end_ +"/genomics:v1/genomics.readgroupsets.coveragebuckets.list/pageToken": page_token +"/genomics:v1/genomics.readgroupsets.coveragebuckets.list/pageSize": page_size +"/genomics:v1/genomics.readgroupsets.coveragebuckets.list/start": start +"/genomics:v1/genomics.readgroupsets.coveragebuckets.list/readGroupSetId": read_group_set_id +"/genomics:v1/genomics.readgroupsets.coveragebuckets.list/targetBucketWidth": target_bucket_width +"/genomics:v1/genomics.readgroupsets.coveragebuckets.list/referenceName": reference_name +"/genomics:v1/genomics.reads.search": search_reads +"/genomics:v1/genomics.callsets.delete/callSetId": call_set_id +"/genomics:v1/genomics.callsets.patch/updateMask": update_mask +"/genomics:v1/genomics.callsets.patch/callSetId": call_set_id +"/genomics:v1/genomics.callsets.get/callSetId": call_set_id +"/genomics:v1/Entry": entry +"/genomics:v1/Entry/status": status +"/genomics:v1/Entry/annotation": annotation +"/genomics:v1/Position": position +"/genomics:v1/Position/position": position +"/genomics:v1/Position/referenceName": reference_name +"/genomics:v1/Position/reverseStrand": reverse_strand +"/genomics:v1/SearchReferenceSetsResponse": search_reference_sets_response +"/genomics:v1/SearchReferenceSetsResponse/nextPageToken": next_page_token +"/genomics:v1/SearchReferenceSetsResponse/referenceSets": reference_sets +"/genomics:v1/SearchReferenceSetsResponse/referenceSets/reference_set": reference_set +"/genomics:v1/SearchCallSetsRequest": search_call_sets_request +"/genomics:v1/SearchCallSetsRequest/name": name +"/genomics:v1/SearchCallSetsRequest/pageToken": page_token +"/genomics:v1/SearchCallSetsRequest/pageSize": page_size +"/genomics:v1/SearchCallSetsRequest/variantSetIds": variant_set_ids +"/genomics:v1/SearchCallSetsRequest/variantSetIds/variant_set_id": variant_set_id +"/genomics:v1/ImportReadGroupSetsRequest": import_read_group_sets_request +"/genomics:v1/ImportReadGroupSetsRequest/sourceUris": source_uris +"/genomics:v1/ImportReadGroupSetsRequest/sourceUris/source_uri": source_uri +"/genomics:v1/ImportReadGroupSetsRequest/referenceSetId": reference_set_id +"/genomics:v1/ImportReadGroupSetsRequest/partitionStrategy": partition_strategy +"/genomics:v1/ImportReadGroupSetsRequest/datasetId": dataset_id +"/genomics:v1/Policy": policy +"/genomics:v1/Policy/etag": etag +"/genomics:v1/Policy/version": version +"/genomics:v1/Policy/bindings": bindings +"/genomics:v1/Policy/bindings/binding": binding +"/genomics:v1/Annotation": annotation +"/genomics:v1/Annotation/start": start +"/genomics:v1/Annotation/annotationSetId": annotation_set_id +"/genomics:v1/Annotation/name": name +"/genomics:v1/Annotation/variant": variant +"/genomics:v1/Annotation/id": id +"/genomics:v1/Annotation/referenceId": reference_id +"/genomics:v1/Annotation/reverseStrand": reverse_strand +"/genomics:v1/Annotation/referenceName": reference_name +"/genomics:v1/Annotation/type": type +"/genomics:v1/Annotation/info": info +"/genomics:v1/Annotation/info/info": info +"/genomics:v1/Annotation/info/info/info": info +"/genomics:v1/Annotation/end": end +"/genomics:v1/Annotation/transcript": transcript +"/genomics:v1/CancelOperationRequest": cancel_operation_request +"/genomics:v1/SearchReadsRequest": search_reads_request +"/genomics:v1/SearchReadsRequest/start": start +"/genomics:v1/SearchReadsRequest/referenceName": reference_name +"/genomics:v1/SearchReadsRequest/readGroupSetIds": read_group_set_ids +"/genomics:v1/SearchReadsRequest/readGroupSetIds/read_group_set_id": read_group_set_id +"/genomics:v1/SearchReadsRequest/readGroupIds": read_group_ids +"/genomics:v1/SearchReadsRequest/readGroupIds/read_group_id": read_group_id +"/genomics:v1/SearchReadsRequest/end": end +"/genomics:v1/SearchReadsRequest/pageToken": page_token +"/genomics:v1/SearchReadsRequest/pageSize": page_size +"/genomics:v1/RuntimeMetadata": runtime_metadata +"/genomics:v1/RuntimeMetadata/computeEngine": compute_engine +"/genomics:v1/Operation": operation +"/genomics:v1/Operation/response": response +"/genomics:v1/Operation/response/response": response +"/genomics:v1/Operation/name": name +"/genomics:v1/Operation/error": error +"/genomics:v1/Operation/metadata": metadata +"/genomics:v1/Operation/metadata/metadatum": metadatum +"/genomics:v1/Operation/done": done +"/genomics:v1/ImportReadGroupSetsResponse": import_read_group_sets_response +"/genomics:v1/ImportReadGroupSetsResponse/readGroupSetIds": read_group_set_ids +"/genomics:v1/ImportReadGroupSetsResponse/readGroupSetIds/read_group_set_id": read_group_set_id +"/genomics:v1/VariantCall": variant_call +"/genomics:v1/VariantCall/info": info +"/genomics:v1/VariantCall/info/info": info +"/genomics:v1/VariantCall/info/info/info": info +"/genomics:v1/VariantCall/callSetName": call_set_name +"/genomics:v1/VariantCall/genotypeLikelihood": genotype_likelihood +"/genomics:v1/VariantCall/genotypeLikelihood/genotype_likelihood": genotype_likelihood +"/genomics:v1/VariantCall/callSetId": call_set_id +"/genomics:v1/VariantCall/genotype": genotype +"/genomics:v1/VariantCall/genotype/genotype": genotype +"/genomics:v1/VariantCall/phaseset": phaseset +"/genomics:v1/SearchVariantsResponse": search_variants_response +"/genomics:v1/SearchVariantsResponse/variants": variants +"/genomics:v1/SearchVariantsResponse/variants/variant": variant +"/genomics:v1/SearchVariantsResponse/nextPageToken": next_page_token +"/genomics:v1/ListBasesResponse": list_bases_response +"/genomics:v1/ListBasesResponse/sequence": sequence +"/genomics:v1/ListBasesResponse/offset": offset +"/genomics:v1/ListBasesResponse/nextPageToken": next_page_token +"/genomics:v1/Status": status +"/genomics:v1/Status/details": details +"/genomics:v1/Status/details/detail": detail +"/genomics:v1/Status/details/detail/detail": detail +"/genomics:v1/Status/code": code +"/genomics:v1/Status/message": message +"/genomics:v1/Binding": binding +"/genomics:v1/Binding/members": members +"/genomics:v1/Binding/members/member": member +"/genomics:v1/Binding/role": role +"/genomics:v1/UndeleteDatasetRequest": undelete_dataset_request +"/genomics:v1/Range": range +"/genomics:v1/Range/referenceName": reference_name +"/genomics:v1/Range/start": start +"/genomics:v1/Range/end": end +"/genomics:v1/VariantSet": variant_set +"/genomics:v1/VariantSet/metadata": metadata +"/genomics:v1/VariantSet/metadata/metadatum": metadatum +"/genomics:v1/VariantSet/referenceBounds": reference_bounds +"/genomics:v1/VariantSet/referenceBounds/reference_bound": reference_bound +"/genomics:v1/VariantSet/id": id +"/genomics:v1/VariantSet/description": description +"/genomics:v1/VariantSet/datasetId": dataset_id +"/genomics:v1/VariantSet/name": name +"/genomics:v1/VariantSet/referenceSetId": reference_set_id +"/genomics:v1/ReferenceBound": reference_bound +"/genomics:v1/ReferenceBound/referenceName": reference_name +"/genomics:v1/ReferenceBound/upperBound": upper_bound +"/genomics:v1/BatchCreateAnnotationsResponse": batch_create_annotations_response +"/genomics:v1/BatchCreateAnnotationsResponse/entries": entries +"/genomics:v1/BatchCreateAnnotationsResponse/entries/entry": entry +"/genomics:v1/ListOperationsResponse": list_operations_response +"/genomics:v1/ListOperationsResponse/operations": operations +"/genomics:v1/ListOperationsResponse/operations/operation": operation +"/genomics:v1/ListOperationsResponse/nextPageToken": next_page_token +"/genomics:v1/Variant": variant +"/genomics:v1/Variant/info": info +"/genomics:v1/Variant/info/info": info +"/genomics:v1/Variant/info/info/info": info +"/genomics:v1/Variant/referenceBases": reference_bases +"/genomics:v1/Variant/alternateBases": alternate_bases +"/genomics:v1/Variant/alternateBases/alternate_basis": alternate_basis +"/genomics:v1/Variant/names": names +"/genomics:v1/Variant/names/name": name +"/genomics:v1/Variant/end": end +"/genomics:v1/Variant/filter": filter +"/genomics:v1/Variant/filter/filter": filter +"/genomics:v1/Variant/calls": calls +"/genomics:v1/Variant/calls/call": call +"/genomics:v1/Variant/created": created +"/genomics:v1/Variant/start": start +"/genomics:v1/Variant/quality": quality +"/genomics:v1/Variant/id": id +"/genomics:v1/Variant/variantSetId": variant_set_id +"/genomics:v1/Variant/referenceName": reference_name +"/genomics:v1/SearchCallSetsResponse": search_call_sets_response +"/genomics:v1/SearchCallSetsResponse/nextPageToken": next_page_token +"/genomics:v1/SearchCallSetsResponse/callSets": call_sets +"/genomics:v1/SearchCallSetsResponse/callSets/call_set": call_set +"/genomics:v1/OperationMetadata": operation_metadata +"/genomics:v1/OperationMetadata/projectId": project_id +"/genomics:v1/OperationMetadata/clientId": client_id +"/genomics:v1/OperationMetadata/endTime": end_time +"/genomics:v1/OperationMetadata/events": events +"/genomics:v1/OperationMetadata/events/event": event +"/genomics:v1/OperationMetadata/startTime": start_time +"/genomics:v1/OperationMetadata/request": request +"/genomics:v1/OperationMetadata/request/request": request +"/genomics:v1/OperationMetadata/runtimeMetadata": runtime_metadata +"/genomics:v1/OperationMetadata/runtimeMetadata/runtime_metadatum": runtime_metadatum +"/genomics:v1/OperationMetadata/labels": labels +"/genomics:v1/OperationMetadata/labels/label": label +"/genomics:v1/OperationMetadata/createTime": create_time +"/genomics:v1/SearchVariantsRequest": search_variants_request +"/genomics:v1/SearchVariantsRequest/referenceName": reference_name +"/genomics:v1/SearchVariantsRequest/variantSetIds": variant_set_ids +"/genomics:v1/SearchVariantsRequest/variantSetIds/variant_set_id": variant_set_id +"/genomics:v1/SearchVariantsRequest/end": end +"/genomics:v1/SearchVariantsRequest/pageToken": page_token +"/genomics:v1/SearchVariantsRequest/maxCalls": max_calls +"/genomics:v1/SearchVariantsRequest/pageSize": page_size +"/genomics:v1/SearchVariantsRequest/callSetIds": call_set_ids +"/genomics:v1/SearchVariantsRequest/callSetIds/call_set_id": call_set_id +"/genomics:v1/SearchVariantsRequest/variantName": variant_name +"/genomics:v1/SearchVariantsRequest/start": start +"/genomics:v1/SearchReadGroupSetsRequest": search_read_group_sets_request +"/genomics:v1/SearchReadGroupSetsRequest/name": name +"/genomics:v1/SearchReadGroupSetsRequest/pageToken": page_token +"/genomics:v1/SearchReadGroupSetsRequest/pageSize": page_size +"/genomics:v1/SearchReadGroupSetsRequest/datasetIds": dataset_ids +"/genomics:v1/SearchReadGroupSetsRequest/datasetIds/dataset_id": dataset_id +"/genomics:v1/SearchAnnotationsResponse": search_annotations_response +"/genomics:v1/SearchAnnotationsResponse/nextPageToken": next_page_token +"/genomics:v1/SearchAnnotationsResponse/annotations": annotations +"/genomics:v1/SearchAnnotationsResponse/annotations/annotation": annotation +"/genomics:v1/ClinicalCondition": clinical_condition +"/genomics:v1/ClinicalCondition/omimId": omim_id +"/genomics:v1/ClinicalCondition/externalIds": external_ids +"/genomics:v1/ClinicalCondition/externalIds/external_id": external_id +"/genomics:v1/ClinicalCondition/conceptId": concept_id +"/genomics:v1/ClinicalCondition/names": names +"/genomics:v1/ClinicalCondition/names/name": name +"/genomics:v1/SearchReadsResponse": search_reads_response +"/genomics:v1/SearchReadsResponse/nextPageToken": next_page_token +"/genomics:v1/SearchReadsResponse/alignments": alignments +"/genomics:v1/SearchReadsResponse/alignments/alignment": alignment +"/genomics:v1/Program": program +"/genomics:v1/Program/commandLine": command_line +"/genomics:v1/Program/prevProgramId": prev_program_id +"/genomics:v1/Program/id": id +"/genomics:v1/Program/version": version +"/genomics:v1/Program/name": name +"/genomics:v1/ComputeEngine": compute_engine +"/genomics:v1/ComputeEngine/machineType": machine_type +"/genomics:v1/ComputeEngine/diskNames": disk_names +"/genomics:v1/ComputeEngine/diskNames/disk_name": disk_name +"/genomics:v1/ComputeEngine/instanceName": instance_name +"/genomics:v1/ComputeEngine/zone": zone +"/genomics:v1/CoverageBucket": coverage_bucket +"/genomics:v1/CoverageBucket/range": range +"/genomics:v1/CoverageBucket/meanCoverage": mean_coverage +"/genomics:v1/ExternalId": external_id +"/genomics:v1/ExternalId/id": id +"/genomics:v1/ExternalId/sourceName": source_name +"/genomics:v1/SearchVariantSetsRequest": search_variant_sets_request +"/genomics:v1/SearchVariantSetsRequest/pageToken": page_token +"/genomics:v1/SearchVariantSetsRequest/pageSize": page_size +"/genomics:v1/SearchVariantSetsRequest/datasetIds": dataset_ids +"/genomics:v1/SearchVariantSetsRequest/datasetIds/dataset_id": dataset_id +"/genomics:v1/VariantSetMetadata": variant_set_metadata +"/genomics:v1/VariantSetMetadata/info": info +"/genomics:v1/VariantSetMetadata/info/info": info +"/genomics:v1/VariantSetMetadata/info/info/info": info +"/genomics:v1/VariantSetMetadata/type": type +"/genomics:v1/VariantSetMetadata/value": value +"/genomics:v1/VariantSetMetadata/id": id +"/genomics:v1/VariantSetMetadata/number": number +"/genomics:v1/VariantSetMetadata/key": key +"/genomics:v1/VariantSetMetadata/description": description +"/genomics:v1/Reference": reference +"/genomics:v1/Reference/sourceAccessions": source_accessions +"/genomics:v1/Reference/sourceAccessions/source_accession": source_accession +"/genomics:v1/Reference/ncbiTaxonId": ncbi_taxon_id +"/genomics:v1/Reference/sourceUri": source_uri +"/genomics:v1/Reference/name": name +"/genomics:v1/Reference/md5checksum": md5checksum +"/genomics:v1/Reference/id": id +"/genomics:v1/Reference/length": length +"/genomics:v1/SearchReferenceSetsRequest": search_reference_sets_request +"/genomics:v1/SearchReferenceSetsRequest/assemblyId": assembly_id +"/genomics:v1/SearchReferenceSetsRequest/md5checksums": md5checksums +"/genomics:v1/SearchReferenceSetsRequest/md5checksums/md5checksum": md5checksum +"/genomics:v1/SearchReferenceSetsRequest/accessions": accessions +"/genomics:v1/SearchReferenceSetsRequest/accessions/accession": accession +"/genomics:v1/SearchReferenceSetsRequest/pageToken": page_token +"/genomics:v1/SearchReferenceSetsRequest/pageSize": page_size +"/genomics:v1/SetIamPolicyRequest": set_iam_policy_request +"/genomics:v1/SetIamPolicyRequest/policy": policy +"/genomics:v1/MergeVariantsRequest": merge_variants_request +"/genomics:v1/MergeVariantsRequest/variants": variants +"/genomics:v1/MergeVariantsRequest/variants/variant": variant +"/genomics:v1/MergeVariantsRequest/infoMergeConfig": info_merge_config +"/genomics:v1/MergeVariantsRequest/infoMergeConfig/info_merge_config": info_merge_config +"/genomics:v1/MergeVariantsRequest/variantSetId": variant_set_id +"/genomics:v1/Read": read +"/genomics:v1/Read/duplicateFragment": duplicate_fragment +"/genomics:v1/Read/readNumber": read_number +"/genomics:v1/Read/readGroupId": read_group_id +"/genomics:v1/Read/alignedSequence": aligned_sequence +"/genomics:v1/Read/info": info +"/genomics:v1/Read/info/info": info +"/genomics:v1/Read/info/info/info": info +"/genomics:v1/Read/nextMatePosition": next_mate_position +"/genomics:v1/Read/supplementaryAlignment": supplementary_alignment +"/genomics:v1/Read/properPlacement": proper_placement +"/genomics:v1/Read/fragmentLength": fragment_length +"/genomics:v1/Read/failedVendorQualityChecks": failed_vendor_quality_checks +"/genomics:v1/Read/alignedQuality": aligned_quality +"/genomics:v1/Read/alignedQuality/aligned_quality": aligned_quality +"/genomics:v1/Read/alignment": alignment +"/genomics:v1/Read/id": id +"/genomics:v1/Read/numberReads": number_reads +"/genomics:v1/Read/secondaryAlignment": secondary_alignment +"/genomics:v1/Read/fragmentName": fragment_name +"/genomics:v1/Read/readGroupSetId": read_group_set_id +"/genomics:v1/BatchCreateAnnotationsRequest": batch_create_annotations_request +"/genomics:v1/BatchCreateAnnotationsRequest/annotations": annotations +"/genomics:v1/BatchCreateAnnotationsRequest/annotations/annotation": annotation +"/genomics:v1/BatchCreateAnnotationsRequest/requestId": request_id +"/genomics:v1/CigarUnit": cigar_unit +"/genomics:v1/CigarUnit/referenceSequence": reference_sequence +"/genomics:v1/CigarUnit/operationLength": operation_length +"/genomics:v1/CigarUnit/operation": operation +"/genomics:v1/ReferenceSet": reference_set +"/genomics:v1/ReferenceSet/sourceUri": source_uri +"/genomics:v1/ReferenceSet/ncbiTaxonId": ncbi_taxon_id +"/genomics:v1/ReferenceSet/referenceIds": reference_ids +"/genomics:v1/ReferenceSet/referenceIds/reference_id": reference_id +"/genomics:v1/ReferenceSet/assemblyId": assembly_id +"/genomics:v1/ReferenceSet/md5checksum": md5checksum +"/genomics:v1/ReferenceSet/id": id +"/genomics:v1/ReferenceSet/description": description +"/genomics:v1/ReferenceSet/sourceAccessions": source_accessions +"/genomics:v1/ReferenceSet/sourceAccessions/source_accession": source_accession +"/genomics:v1/Transcript": transcript +"/genomics:v1/Transcript/geneId": gene_id +"/genomics:v1/Transcript/exons": exons +"/genomics:v1/Transcript/exons/exon": exon +"/genomics:v1/Transcript/codingSequence": coding_sequence +"/genomics:v1/AnnotationSet": annotation_set +"/genomics:v1/AnnotationSet/sourceUri": source_uri +"/genomics:v1/AnnotationSet/datasetId": dataset_id +"/genomics:v1/AnnotationSet/name": name +"/genomics:v1/AnnotationSet/referenceSetId": reference_set_id +"/genomics:v1/AnnotationSet/type": type +"/genomics:v1/AnnotationSet/info": info +"/genomics:v1/AnnotationSet/info/info": info +"/genomics:v1/AnnotationSet/info/info/info": info +"/genomics:v1/AnnotationSet/id": id +"/genomics:v1/Experiment": experiment +"/genomics:v1/Experiment/platformUnit": platform_unit +"/genomics:v1/Experiment/libraryId": library_id +"/genomics:v1/Experiment/instrumentModel": instrument_model +"/genomics:v1/Experiment/sequencingCenter": sequencing_center +"/genomics:v1/ListDatasetsResponse": list_datasets_response +"/genomics:v1/ListDatasetsResponse/datasets": datasets +"/genomics:v1/ListDatasetsResponse/datasets/dataset": dataset +"/genomics:v1/ListDatasetsResponse/nextPageToken": next_page_token +"/genomics:v1/TestIamPermissionsRequest": test_iam_permissions_request +"/genomics:v1/TestIamPermissionsRequest/permissions": permissions +"/genomics:v1/TestIamPermissionsRequest/permissions/permission": permission +"/genomics:v1/ExportReadGroupSetRequest": export_read_group_set_request +"/genomics:v1/ExportReadGroupSetRequest/projectId": project_id +"/genomics:v1/ExportReadGroupSetRequest/exportUri": export_uri +"/genomics:v1/ExportReadGroupSetRequest/referenceNames": reference_names +"/genomics:v1/ExportReadGroupSetRequest/referenceNames/reference_name": reference_name +"/genomics:v1/Exon": exon +"/genomics:v1/Exon/start": start +"/genomics:v1/Exon/end": end +"/genomics:v1/Exon/frame": frame +"/genomics:v1/CallSet": call_set +"/genomics:v1/CallSet/name": name +"/genomics:v1/CallSet/info": info +"/genomics:v1/CallSet/info/info": info +"/genomics:v1/CallSet/info/info/info": info +"/genomics:v1/CallSet/variantSetIds": variant_set_ids +"/genomics:v1/CallSet/variantSetIds/variant_set_id": variant_set_id +"/genomics:v1/CallSet/id": id +"/genomics:v1/CallSet/created": created +"/genomics:v1/CallSet/sampleId": sample_id "/genomics:v1/SearchAnnotationSetsResponse": search_annotation_sets_response "/genomics:v1/SearchAnnotationSetsResponse/nextPageToken": next_page_token "/genomics:v1/SearchAnnotationSetsResponse/annotationSets": annotation_sets @@ -28695,40 +29001,40 @@ "/genomics:v1/ImportVariantsRequest/normalizeReferenceNames": normalize_reference_names "/genomics:v1/ImportVariantsRequest/format": format "/genomics:v1/VariantAnnotation": variant_annotation +"/genomics:v1/VariantAnnotation/conditions": conditions +"/genomics:v1/VariantAnnotation/conditions/condition": condition +"/genomics:v1/VariantAnnotation/effect": effect "/genomics:v1/VariantAnnotation/transcriptIds": transcript_ids "/genomics:v1/VariantAnnotation/transcriptIds/transcript_id": transcript_id "/genomics:v1/VariantAnnotation/type": type "/genomics:v1/VariantAnnotation/alternateBases": alternate_bases "/genomics:v1/VariantAnnotation/geneId": gene_id "/genomics:v1/VariantAnnotation/clinicalSignificance": clinical_significance -"/genomics:v1/VariantAnnotation/conditions": conditions -"/genomics:v1/VariantAnnotation/conditions/condition": condition -"/genomics:v1/VariantAnnotation/effect": effect "/genomics:v1/ListCoverageBucketsResponse": list_coverage_buckets_response "/genomics:v1/ListCoverageBucketsResponse/nextPageToken": next_page_token "/genomics:v1/ListCoverageBucketsResponse/bucketWidth": bucket_width "/genomics:v1/ListCoverageBucketsResponse/coverageBuckets": coverage_buckets "/genomics:v1/ListCoverageBucketsResponse/coverageBuckets/coverage_bucket": coverage_bucket "/genomics:v1/ExportVariantSetRequest": export_variant_set_request -"/genomics:v1/ExportVariantSetRequest/format": format -"/genomics:v1/ExportVariantSetRequest/bigqueryDataset": bigquery_dataset -"/genomics:v1/ExportVariantSetRequest/bigqueryTable": bigquery_table "/genomics:v1/ExportVariantSetRequest/callSetIds": call_set_ids "/genomics:v1/ExportVariantSetRequest/callSetIds/call_set_id": call_set_id "/genomics:v1/ExportVariantSetRequest/projectId": project_id +"/genomics:v1/ExportVariantSetRequest/format": format +"/genomics:v1/ExportVariantSetRequest/bigqueryDataset": bigquery_dataset +"/genomics:v1/ExportVariantSetRequest/bigqueryTable": bigquery_table "/genomics:v1/SearchAnnotationsRequest": search_annotations_request +"/genomics:v1/SearchAnnotationsRequest/referenceId": reference_id +"/genomics:v1/SearchAnnotationsRequest/end": end +"/genomics:v1/SearchAnnotationsRequest/pageToken": page_token "/genomics:v1/SearchAnnotationsRequest/pageSize": page_size "/genomics:v1/SearchAnnotationsRequest/start": start "/genomics:v1/SearchAnnotationsRequest/annotationSetIds": annotation_set_ids "/genomics:v1/SearchAnnotationsRequest/annotationSetIds/annotation_set_id": annotation_set_id "/genomics:v1/SearchAnnotationsRequest/referenceName": reference_name -"/genomics:v1/SearchAnnotationsRequest/referenceId": reference_id -"/genomics:v1/SearchAnnotationsRequest/end": end -"/genomics:v1/SearchAnnotationsRequest/pageToken": page_token "/genomics:v1/OperationEvent": operation_event -"/genomics:v1/OperationEvent/description": description "/genomics:v1/OperationEvent/endTime": end_time "/genomics:v1/OperationEvent/startTime": start_time +"/genomics:v1/OperationEvent/description": description "/genomics:v1/CodingSequence": coding_sequence "/genomics:v1/CodingSequence/start": start "/genomics:v1/CodingSequence/end": end @@ -28737,9 +29043,9 @@ "/genomics:v1/TestIamPermissionsResponse/permissions/permission": permission "/genomics:v1/GetIamPolicyRequest": get_iam_policy_request "/genomics:v1/SearchReferencesResponse": search_references_response -"/genomics:v1/SearchReferencesResponse/nextPageToken": next_page_token "/genomics:v1/SearchReferencesResponse/references": references "/genomics:v1/SearchReferencesResponse/references/reference": reference +"/genomics:v1/SearchReferencesResponse/nextPageToken": next_page_token "/genomics:v1/SearchAnnotationSetsRequest": search_annotation_sets_request "/genomics:v1/SearchAnnotationSetsRequest/datasetIds": dataset_ids "/genomics:v1/SearchAnnotationSetsRequest/datasetIds/dataset_id": dataset_id @@ -28754,10 +29060,10 @@ "/genomics:v1/SearchReadGroupSetsResponse/readGroupSets/read_group_set": read_group_set "/genomics:v1/SearchReadGroupSetsResponse/nextPageToken": next_page_token "/genomics:v1/LinearAlignment": linear_alignment +"/genomics:v1/LinearAlignment/mappingQuality": mapping_quality "/genomics:v1/LinearAlignment/position": position "/genomics:v1/LinearAlignment/cigar": cigar "/genomics:v1/LinearAlignment/cigar/cigar": cigar -"/genomics:v1/LinearAlignment/mappingQuality": mapping_quality "/genomics:v1/SearchReferencesRequest": search_references_request "/genomics:v1/SearchReferencesRequest/accessions": accessions "/genomics:v1/SearchReferencesRequest/accessions/accession": accession @@ -28775,10 +29081,9 @@ "/genomics:v1/ImportVariantsResponse/callSetIds": call_set_ids "/genomics:v1/ImportVariantsResponse/callSetIds/call_set_id": call_set_id "/genomics:v1/ReadGroup": read_group -"/genomics:v1/ReadGroup/id": id +"/genomics:v1/ReadGroup/predictedInsertSize": predicted_insert_size "/genomics:v1/ReadGroup/programs": programs "/genomics:v1/ReadGroup/programs/program": program -"/genomics:v1/ReadGroup/predictedInsertSize": predicted_insert_size "/genomics:v1/ReadGroup/description": description "/genomics:v1/ReadGroup/sampleId": sample_id "/genomics:v1/ReadGroup/datasetId": dataset_id @@ -28788,358 +29093,23 @@ "/genomics:v1/ReadGroup/info": info "/genomics:v1/ReadGroup/info/info": info "/genomics:v1/ReadGroup/info/info/info": info +"/genomics:v1/ReadGroup/id": id "/genomics:v1/ReadGroupSet": read_group_set -"/genomics:v1/ReadGroupSet/datasetId": dataset_id -"/genomics:v1/ReadGroupSet/filename": filename "/genomics:v1/ReadGroupSet/readGroups": read_groups "/genomics:v1/ReadGroupSet/readGroups/read_group": read_group +"/genomics:v1/ReadGroupSet/filename": filename "/genomics:v1/ReadGroupSet/name": name "/genomics:v1/ReadGroupSet/referenceSetId": reference_set_id "/genomics:v1/ReadGroupSet/info": info "/genomics:v1/ReadGroupSet/info/info": info "/genomics:v1/ReadGroupSet/info/info/info": info "/genomics:v1/ReadGroupSet/id": id +"/genomics:v1/ReadGroupSet/datasetId": dataset_id "/genomics:v1/SearchVariantSetsResponse": search_variant_sets_response +"/genomics:v1/SearchVariantSetsResponse/nextPageToken": next_page_token "/genomics:v1/SearchVariantSetsResponse/variantSets": variant_sets "/genomics:v1/SearchVariantSetsResponse/variantSets/variant_set": variant_set -"/genomics:v1/SearchVariantSetsResponse/nextPageToken": next_page_token "/genomics:v1/Empty": empty -"/genomics:v1/Entry": entry -"/genomics:v1/Entry/status": status -"/genomics:v1/Entry/annotation": annotation -"/genomics:v1/Position": position -"/genomics:v1/Position/position": position -"/genomics:v1/Position/referenceName": reference_name -"/genomics:v1/Position/reverseStrand": reverse_strand -"/genomics:v1/SearchReferenceSetsResponse": search_reference_sets_response -"/genomics:v1/SearchReferenceSetsResponse/referenceSets": reference_sets -"/genomics:v1/SearchReferenceSetsResponse/referenceSets/reference_set": reference_set -"/genomics:v1/SearchReferenceSetsResponse/nextPageToken": next_page_token -"/genomics:v1/SearchCallSetsRequest": search_call_sets_request -"/genomics:v1/SearchCallSetsRequest/name": name -"/genomics:v1/SearchCallSetsRequest/pageToken": page_token -"/genomics:v1/SearchCallSetsRequest/pageSize": page_size -"/genomics:v1/SearchCallSetsRequest/variantSetIds": variant_set_ids -"/genomics:v1/SearchCallSetsRequest/variantSetIds/variant_set_id": variant_set_id -"/genomics:v1/ImportReadGroupSetsRequest": import_read_group_sets_request -"/genomics:v1/ImportReadGroupSetsRequest/referenceSetId": reference_set_id -"/genomics:v1/ImportReadGroupSetsRequest/partitionStrategy": partition_strategy -"/genomics:v1/ImportReadGroupSetsRequest/datasetId": dataset_id -"/genomics:v1/ImportReadGroupSetsRequest/sourceUris": source_uris -"/genomics:v1/ImportReadGroupSetsRequest/sourceUris/source_uri": source_uri -"/genomics:v1/Policy": policy -"/genomics:v1/Policy/bindings": bindings -"/genomics:v1/Policy/bindings/binding": binding -"/genomics:v1/Policy/etag": etag -"/genomics:v1/Policy/version": version -"/genomics:v1/SearchReadsRequest": search_reads_request -"/genomics:v1/SearchReadsRequest/referenceName": reference_name -"/genomics:v1/SearchReadsRequest/readGroupSetIds": read_group_set_ids -"/genomics:v1/SearchReadsRequest/readGroupSetIds/read_group_set_id": read_group_set_id -"/genomics:v1/SearchReadsRequest/readGroupIds": read_group_ids -"/genomics:v1/SearchReadsRequest/readGroupIds/read_group_id": read_group_id -"/genomics:v1/SearchReadsRequest/end": end -"/genomics:v1/SearchReadsRequest/pageToken": page_token -"/genomics:v1/SearchReadsRequest/pageSize": page_size -"/genomics:v1/SearchReadsRequest/start": start -"/genomics:v1/CancelOperationRequest": cancel_operation_request -"/genomics:v1/Annotation": annotation -"/genomics:v1/Annotation/info": info -"/genomics:v1/Annotation/info/info": info -"/genomics:v1/Annotation/info/info/info": info -"/genomics:v1/Annotation/type": type -"/genomics:v1/Annotation/end": end -"/genomics:v1/Annotation/transcript": transcript -"/genomics:v1/Annotation/start": start -"/genomics:v1/Annotation/annotationSetId": annotation_set_id -"/genomics:v1/Annotation/name": name -"/genomics:v1/Annotation/variant": variant -"/genomics:v1/Annotation/referenceId": reference_id -"/genomics:v1/Annotation/id": id -"/genomics:v1/Annotation/reverseStrand": reverse_strand -"/genomics:v1/Annotation/referenceName": reference_name -"/genomics:v1/RuntimeMetadata": runtime_metadata -"/genomics:v1/RuntimeMetadata/computeEngine": compute_engine -"/genomics:v1/Operation": operation -"/genomics:v1/Operation/error": error -"/genomics:v1/Operation/metadata": metadata -"/genomics:v1/Operation/metadata/metadatum": metadatum -"/genomics:v1/Operation/done": done -"/genomics:v1/Operation/response": response -"/genomics:v1/Operation/response/response": response -"/genomics:v1/Operation/name": name -"/genomics:v1/ImportReadGroupSetsResponse": import_read_group_sets_response -"/genomics:v1/ImportReadGroupSetsResponse/readGroupSetIds": read_group_set_ids -"/genomics:v1/ImportReadGroupSetsResponse/readGroupSetIds/read_group_set_id": read_group_set_id -"/genomics:v1/VariantCall": variant_call -"/genomics:v1/VariantCall/callSetName": call_set_name -"/genomics:v1/VariantCall/genotypeLikelihood": genotype_likelihood -"/genomics:v1/VariantCall/genotypeLikelihood/genotype_likelihood": genotype_likelihood -"/genomics:v1/VariantCall/callSetId": call_set_id -"/genomics:v1/VariantCall/genotype": genotype -"/genomics:v1/VariantCall/genotype/genotype": genotype -"/genomics:v1/VariantCall/phaseset": phaseset -"/genomics:v1/VariantCall/info": info -"/genomics:v1/VariantCall/info/info": info -"/genomics:v1/VariantCall/info/info/info": info -"/genomics:v1/SearchVariantsResponse": search_variants_response -"/genomics:v1/SearchVariantsResponse/variants": variants -"/genomics:v1/SearchVariantsResponse/variants/variant": variant -"/genomics:v1/SearchVariantsResponse/nextPageToken": next_page_token -"/genomics:v1/ListBasesResponse": list_bases_response -"/genomics:v1/ListBasesResponse/sequence": sequence -"/genomics:v1/ListBasesResponse/offset": offset -"/genomics:v1/ListBasesResponse/nextPageToken": next_page_token -"/genomics:v1/Status": status -"/genomics:v1/Status/code": code -"/genomics:v1/Status/message": message -"/genomics:v1/Status/details": details -"/genomics:v1/Status/details/detail": detail -"/genomics:v1/Status/details/detail/detail": detail -"/genomics:v1/Binding": binding -"/genomics:v1/Binding/members": members -"/genomics:v1/Binding/members/member": member -"/genomics:v1/Binding/role": role -"/genomics:v1/UndeleteDatasetRequest": undelete_dataset_request -"/genomics:v1/Range": range -"/genomics:v1/Range/referenceName": reference_name -"/genomics:v1/Range/start": start -"/genomics:v1/Range/end": end -"/genomics:v1/VariantSet": variant_set -"/genomics:v1/VariantSet/name": name -"/genomics:v1/VariantSet/referenceSetId": reference_set_id -"/genomics:v1/VariantSet/metadata": metadata -"/genomics:v1/VariantSet/metadata/metadatum": metadatum -"/genomics:v1/VariantSet/referenceBounds": reference_bounds -"/genomics:v1/VariantSet/referenceBounds/reference_bound": reference_bound -"/genomics:v1/VariantSet/id": id -"/genomics:v1/VariantSet/description": description -"/genomics:v1/VariantSet/datasetId": dataset_id -"/genomics:v1/BatchCreateAnnotationsResponse": batch_create_annotations_response -"/genomics:v1/BatchCreateAnnotationsResponse/entries": entries -"/genomics:v1/BatchCreateAnnotationsResponse/entries/entry": entry -"/genomics:v1/ReferenceBound": reference_bound -"/genomics:v1/ReferenceBound/referenceName": reference_name -"/genomics:v1/ReferenceBound/upperBound": upper_bound -"/genomics:v1/ListOperationsResponse": list_operations_response -"/genomics:v1/ListOperationsResponse/nextPageToken": next_page_token -"/genomics:v1/ListOperationsResponse/operations": operations -"/genomics:v1/ListOperationsResponse/operations/operation": operation -"/genomics:v1/Variant": variant -"/genomics:v1/Variant/variantSetId": variant_set_id -"/genomics:v1/Variant/referenceName": reference_name -"/genomics:v1/Variant/info": info -"/genomics:v1/Variant/info/info": info -"/genomics:v1/Variant/info/info/info": info -"/genomics:v1/Variant/referenceBases": reference_bases -"/genomics:v1/Variant/alternateBases": alternate_bases -"/genomics:v1/Variant/alternateBases/alternate_basis": alternate_basis -"/genomics:v1/Variant/names": names -"/genomics:v1/Variant/names/name": name -"/genomics:v1/Variant/filter": filter -"/genomics:v1/Variant/filter/filter": filter -"/genomics:v1/Variant/end": end -"/genomics:v1/Variant/calls": calls -"/genomics:v1/Variant/calls/call": call -"/genomics:v1/Variant/created": created -"/genomics:v1/Variant/start": start -"/genomics:v1/Variant/quality": quality -"/genomics:v1/Variant/id": id -"/genomics:v1/SearchCallSetsResponse": search_call_sets_response -"/genomics:v1/SearchCallSetsResponse/nextPageToken": next_page_token -"/genomics:v1/SearchCallSetsResponse/callSets": call_sets -"/genomics:v1/SearchCallSetsResponse/callSets/call_set": call_set -"/genomics:v1/SearchVariantsRequest": search_variants_request -"/genomics:v1/SearchVariantsRequest/variantSetIds": variant_set_ids -"/genomics:v1/SearchVariantsRequest/variantSetIds/variant_set_id": variant_set_id -"/genomics:v1/SearchVariantsRequest/end": end -"/genomics:v1/SearchVariantsRequest/maxCalls": max_calls -"/genomics:v1/SearchVariantsRequest/pageToken": page_token -"/genomics:v1/SearchVariantsRequest/pageSize": page_size -"/genomics:v1/SearchVariantsRequest/callSetIds": call_set_ids -"/genomics:v1/SearchVariantsRequest/callSetIds/call_set_id": call_set_id -"/genomics:v1/SearchVariantsRequest/start": start -"/genomics:v1/SearchVariantsRequest/variantName": variant_name -"/genomics:v1/SearchVariantsRequest/referenceName": reference_name -"/genomics:v1/OperationMetadata": operation_metadata -"/genomics:v1/OperationMetadata/projectId": project_id -"/genomics:v1/OperationMetadata/clientId": client_id -"/genomics:v1/OperationMetadata/endTime": end_time -"/genomics:v1/OperationMetadata/events": events -"/genomics:v1/OperationMetadata/events/event": event -"/genomics:v1/OperationMetadata/startTime": start_time -"/genomics:v1/OperationMetadata/request": request -"/genomics:v1/OperationMetadata/request/request": request -"/genomics:v1/OperationMetadata/runtimeMetadata": runtime_metadata -"/genomics:v1/OperationMetadata/runtimeMetadata/runtime_metadatum": runtime_metadatum -"/genomics:v1/OperationMetadata/labels": labels -"/genomics:v1/OperationMetadata/labels/label": label -"/genomics:v1/OperationMetadata/createTime": create_time -"/genomics:v1/SearchReadGroupSetsRequest": search_read_group_sets_request -"/genomics:v1/SearchReadGroupSetsRequest/datasetIds": dataset_ids -"/genomics:v1/SearchReadGroupSetsRequest/datasetIds/dataset_id": dataset_id -"/genomics:v1/SearchReadGroupSetsRequest/name": name -"/genomics:v1/SearchReadGroupSetsRequest/pageToken": page_token -"/genomics:v1/SearchReadGroupSetsRequest/pageSize": page_size -"/genomics:v1/SearchAnnotationsResponse": search_annotations_response -"/genomics:v1/SearchAnnotationsResponse/annotations": annotations -"/genomics:v1/SearchAnnotationsResponse/annotations/annotation": annotation -"/genomics:v1/SearchAnnotationsResponse/nextPageToken": next_page_token -"/genomics:v1/SearchReadsResponse": search_reads_response -"/genomics:v1/SearchReadsResponse/nextPageToken": next_page_token -"/genomics:v1/SearchReadsResponse/alignments": alignments -"/genomics:v1/SearchReadsResponse/alignments/alignment": alignment -"/genomics:v1/ClinicalCondition": clinical_condition -"/genomics:v1/ClinicalCondition/omimId": omim_id -"/genomics:v1/ClinicalCondition/externalIds": external_ids -"/genomics:v1/ClinicalCondition/externalIds/external_id": external_id -"/genomics:v1/ClinicalCondition/conceptId": concept_id -"/genomics:v1/ClinicalCondition/names": names -"/genomics:v1/ClinicalCondition/names/name": name -"/genomics:v1/Program": program -"/genomics:v1/Program/name": name -"/genomics:v1/Program/commandLine": command_line -"/genomics:v1/Program/prevProgramId": prev_program_id -"/genomics:v1/Program/id": id -"/genomics:v1/Program/version": version -"/genomics:v1/CoverageBucket": coverage_bucket -"/genomics:v1/CoverageBucket/range": range -"/genomics:v1/CoverageBucket/meanCoverage": mean_coverage -"/genomics:v1/ComputeEngine": compute_engine -"/genomics:v1/ComputeEngine/machineType": machine_type -"/genomics:v1/ComputeEngine/diskNames": disk_names -"/genomics:v1/ComputeEngine/diskNames/disk_name": disk_name -"/genomics:v1/ComputeEngine/instanceName": instance_name -"/genomics:v1/ComputeEngine/zone": zone -"/genomics:v1/ExternalId": external_id -"/genomics:v1/ExternalId/sourceName": source_name -"/genomics:v1/ExternalId/id": id -"/genomics:v1/Reference": reference -"/genomics:v1/Reference/ncbiTaxonId": ncbi_taxon_id -"/genomics:v1/Reference/sourceUri": source_uri -"/genomics:v1/Reference/name": name -"/genomics:v1/Reference/md5checksum": md5checksum -"/genomics:v1/Reference/id": id -"/genomics:v1/Reference/length": length -"/genomics:v1/Reference/sourceAccessions": source_accessions -"/genomics:v1/Reference/sourceAccessions/source_accession": source_accession -"/genomics:v1/VariantSetMetadata": variant_set_metadata -"/genomics:v1/VariantSetMetadata/number": number -"/genomics:v1/VariantSetMetadata/value": value -"/genomics:v1/VariantSetMetadata/id": id -"/genomics:v1/VariantSetMetadata/key": key -"/genomics:v1/VariantSetMetadata/description": description -"/genomics:v1/VariantSetMetadata/info": info -"/genomics:v1/VariantSetMetadata/info/info": info -"/genomics:v1/VariantSetMetadata/info/info/info": info -"/genomics:v1/VariantSetMetadata/type": type -"/genomics:v1/SearchVariantSetsRequest": search_variant_sets_request -"/genomics:v1/SearchVariantSetsRequest/datasetIds": dataset_ids -"/genomics:v1/SearchVariantSetsRequest/datasetIds/dataset_id": dataset_id -"/genomics:v1/SearchVariantSetsRequest/pageToken": page_token -"/genomics:v1/SearchVariantSetsRequest/pageSize": page_size -"/genomics:v1/SearchReferenceSetsRequest": search_reference_sets_request -"/genomics:v1/SearchReferenceSetsRequest/pageSize": page_size -"/genomics:v1/SearchReferenceSetsRequest/assemblyId": assembly_id -"/genomics:v1/SearchReferenceSetsRequest/md5checksums": md5checksums -"/genomics:v1/SearchReferenceSetsRequest/md5checksums/md5checksum": md5checksum -"/genomics:v1/SearchReferenceSetsRequest/accessions": accessions -"/genomics:v1/SearchReferenceSetsRequest/accessions/accession": accession -"/genomics:v1/SearchReferenceSetsRequest/pageToken": page_token -"/genomics:v1/SetIamPolicyRequest": set_iam_policy_request -"/genomics:v1/SetIamPolicyRequest/policy": policy -"/genomics:v1/MergeVariantsRequest": merge_variants_request -"/genomics:v1/MergeVariantsRequest/variants": variants -"/genomics:v1/MergeVariantsRequest/variants/variant": variant -"/genomics:v1/MergeVariantsRequest/infoMergeConfig": info_merge_config -"/genomics:v1/MergeVariantsRequest/infoMergeConfig/info_merge_config": info_merge_config -"/genomics:v1/MergeVariantsRequest/variantSetId": variant_set_id -"/genomics:v1/Read": read -"/genomics:v1/Read/readGroupSetId": read_group_set_id -"/genomics:v1/Read/duplicateFragment": duplicate_fragment -"/genomics:v1/Read/readNumber": read_number -"/genomics:v1/Read/alignedSequence": aligned_sequence -"/genomics:v1/Read/readGroupId": read_group_id -"/genomics:v1/Read/nextMatePosition": next_mate_position -"/genomics:v1/Read/info": info -"/genomics:v1/Read/info/info": info -"/genomics:v1/Read/info/info/info": info -"/genomics:v1/Read/properPlacement": proper_placement -"/genomics:v1/Read/supplementaryAlignment": supplementary_alignment -"/genomics:v1/Read/fragmentLength": fragment_length -"/genomics:v1/Read/failedVendorQualityChecks": failed_vendor_quality_checks -"/genomics:v1/Read/alignedQuality": aligned_quality -"/genomics:v1/Read/alignedQuality/aligned_quality": aligned_quality -"/genomics:v1/Read/alignment": alignment -"/genomics:v1/Read/numberReads": number_reads -"/genomics:v1/Read/id": id -"/genomics:v1/Read/secondaryAlignment": secondary_alignment -"/genomics:v1/Read/fragmentName": fragment_name -"/genomics:v1/BatchCreateAnnotationsRequest": batch_create_annotations_request -"/genomics:v1/BatchCreateAnnotationsRequest/annotations": annotations -"/genomics:v1/BatchCreateAnnotationsRequest/annotations/annotation": annotation -"/genomics:v1/BatchCreateAnnotationsRequest/requestId": request_id -"/genomics:v1/ReferenceSet": reference_set -"/genomics:v1/ReferenceSet/ncbiTaxonId": ncbi_taxon_id -"/genomics:v1/ReferenceSet/sourceUri": source_uri -"/genomics:v1/ReferenceSet/referenceIds": reference_ids -"/genomics:v1/ReferenceSet/referenceIds/reference_id": reference_id -"/genomics:v1/ReferenceSet/assemblyId": assembly_id -"/genomics:v1/ReferenceSet/md5checksum": md5checksum -"/genomics:v1/ReferenceSet/id": id -"/genomics:v1/ReferenceSet/description": description -"/genomics:v1/ReferenceSet/sourceAccessions": source_accessions -"/genomics:v1/ReferenceSet/sourceAccessions/source_accession": source_accession -"/genomics:v1/CigarUnit": cigar_unit -"/genomics:v1/CigarUnit/referenceSequence": reference_sequence -"/genomics:v1/CigarUnit/operationLength": operation_length -"/genomics:v1/CigarUnit/operation": operation -"/genomics:v1/Transcript": transcript -"/genomics:v1/Transcript/exons": exons -"/genomics:v1/Transcript/exons/exon": exon -"/genomics:v1/Transcript/codingSequence": coding_sequence -"/genomics:v1/Transcript/geneId": gene_id -"/genomics:v1/AnnotationSet": annotation_set -"/genomics:v1/AnnotationSet/name": name -"/genomics:v1/AnnotationSet/referenceSetId": reference_set_id -"/genomics:v1/AnnotationSet/type": type -"/genomics:v1/AnnotationSet/info": info -"/genomics:v1/AnnotationSet/info/info": info -"/genomics:v1/AnnotationSet/info/info/info": info -"/genomics:v1/AnnotationSet/id": id -"/genomics:v1/AnnotationSet/datasetId": dataset_id -"/genomics:v1/AnnotationSet/sourceUri": source_uri -"/genomics:v1/Experiment": experiment -"/genomics:v1/Experiment/sequencingCenter": sequencing_center -"/genomics:v1/Experiment/platformUnit": platform_unit -"/genomics:v1/Experiment/libraryId": library_id -"/genomics:v1/Experiment/instrumentModel": instrument_model -"/genomics:v1/ListDatasetsResponse": list_datasets_response -"/genomics:v1/ListDatasetsResponse/datasets": datasets -"/genomics:v1/ListDatasetsResponse/datasets/dataset": dataset -"/genomics:v1/ListDatasetsResponse/nextPageToken": next_page_token -"/genomics:v1/TestIamPermissionsRequest": test_iam_permissions_request -"/genomics:v1/TestIamPermissionsRequest/permissions": permissions -"/genomics:v1/TestIamPermissionsRequest/permissions/permission": permission -"/genomics:v1/ExportReadGroupSetRequest": export_read_group_set_request -"/genomics:v1/ExportReadGroupSetRequest/exportUri": export_uri -"/genomics:v1/ExportReadGroupSetRequest/referenceNames": reference_names -"/genomics:v1/ExportReadGroupSetRequest/referenceNames/reference_name": reference_name -"/genomics:v1/ExportReadGroupSetRequest/projectId": project_id -"/genomics:v1/Exon": exon -"/genomics:v1/Exon/start": start -"/genomics:v1/Exon/end": end -"/genomics:v1/Exon/frame": frame -"/genomics:v1/CallSet": call_set -"/genomics:v1/CallSet/name": name -"/genomics:v1/CallSet/info": info -"/genomics:v1/CallSet/info/info": info -"/genomics:v1/CallSet/info/info/info": info -"/genomics:v1/CallSet/variantSetIds": variant_set_ids -"/genomics:v1/CallSet/variantSetIds/variant_set_id": variant_set_id -"/genomics:v1/CallSet/id": id -"/genomics:v1/CallSet/created": created -"/genomics:v1/CallSet/sampleId": sample_id "/gmail:v1/fields": fields "/gmail:v1/key": key "/gmail:v1/quotaUser": quota_user @@ -30171,26 +30141,24 @@ "/iam:v1/iam.projects.serviceAccounts.testIamPermissions/resource": resource "/iam:v1/iam.projects.serviceAccounts.delete": delete_project_service_account "/iam:v1/iam.projects.serviceAccounts.delete/name": name -"/iam:v1/iam.projects.serviceAccounts.signBlob": sign_service_account_blob -"/iam:v1/iam.projects.serviceAccounts.signBlob/name": name "/iam:v1/iam.projects.serviceAccounts.list": list_project_service_accounts -"/iam:v1/iam.projects.serviceAccounts.list/pageSize": page_size "/iam:v1/iam.projects.serviceAccounts.list/name": name "/iam:v1/iam.projects.serviceAccounts.list/pageToken": page_token +"/iam:v1/iam.projects.serviceAccounts.list/pageSize": page_size +"/iam:v1/iam.projects.serviceAccounts.signBlob": sign_service_account_blob +"/iam:v1/iam.projects.serviceAccounts.signBlob/name": name +"/iam:v1/iam.projects.serviceAccounts.create": create_service_account +"/iam:v1/iam.projects.serviceAccounts.create/name": name "/iam:v1/iam.projects.serviceAccounts.setIamPolicy": set_service_account_iam_policy "/iam:v1/iam.projects.serviceAccounts.setIamPolicy/resource": resource "/iam:v1/iam.projects.serviceAccounts.signJwt": sign_service_account_jwt "/iam:v1/iam.projects.serviceAccounts.signJwt/name": name -"/iam:v1/iam.projects.serviceAccounts.create": create_service_account -"/iam:v1/iam.projects.serviceAccounts.create/name": name "/iam:v1/iam.projects.serviceAccounts.getIamPolicy": get_project_service_account_iam_policy "/iam:v1/iam.projects.serviceAccounts.getIamPolicy/resource": resource "/iam:v1/iam.projects.serviceAccounts.get": get_project_service_account "/iam:v1/iam.projects.serviceAccounts.get/name": name "/iam:v1/iam.projects.serviceAccounts.update": update_project_service_account "/iam:v1/iam.projects.serviceAccounts.update/name": name -"/iam:v1/iam.projects.serviceAccounts.keys.delete": delete_project_service_account_key -"/iam:v1/iam.projects.serviceAccounts.keys.delete/name": name "/iam:v1/iam.projects.serviceAccounts.keys.list": list_project_service_account_keys "/iam:v1/iam.projects.serviceAccounts.keys.list/name": name "/iam:v1/iam.projects.serviceAccounts.keys.list/keyTypes": key_types @@ -30199,16 +30167,53 @@ "/iam:v1/iam.projects.serviceAccounts.keys.get/name": name "/iam:v1/iam.projects.serviceAccounts.keys.create": create_service_account_key "/iam:v1/iam.projects.serviceAccounts.keys.create/name": name +"/iam:v1/iam.projects.serviceAccounts.keys.delete": delete_project_service_account_key +"/iam:v1/iam.projects.serviceAccounts.keys.delete/name": name "/iam:v1/iam.roles.queryGrantableRoles": query_grantable_roles +"/iam:v1/CreateServiceAccountKeyRequest": create_service_account_key_request +"/iam:v1/CreateServiceAccountKeyRequest/keyAlgorithm": key_algorithm +"/iam:v1/CreateServiceAccountKeyRequest/privateKeyType": private_key_type +"/iam:v1/SignBlobResponse": sign_blob_response +"/iam:v1/SignBlobResponse/keyId": key_id +"/iam:v1/SignBlobResponse/signature": signature +"/iam:v1/TestIamPermissionsRequest": test_iam_permissions_request +"/iam:v1/TestIamPermissionsRequest/permissions": permissions +"/iam:v1/TestIamPermissionsRequest/permissions/permission": permission +"/iam:v1/SignJwtResponse": sign_jwt_response +"/iam:v1/SignJwtResponse/keyId": key_id +"/iam:v1/SignJwtResponse/signedJwt": signed_jwt +"/iam:v1/SignJwtRequest": sign_jwt_request +"/iam:v1/SignJwtRequest/payload": payload +"/iam:v1/Policy": policy +"/iam:v1/Policy/etag": etag +"/iam:v1/Policy/version": version +"/iam:v1/Policy/bindings": bindings +"/iam:v1/Policy/bindings/binding": binding +"/iam:v1/AuditData": audit_data +"/iam:v1/AuditData/policyDelta": policy_delta +"/iam:v1/BindingDelta": binding_delta +"/iam:v1/BindingDelta/role": role +"/iam:v1/BindingDelta/action": action +"/iam:v1/BindingDelta/member": member +"/iam:v1/PolicyDelta": policy_delta +"/iam:v1/PolicyDelta/bindingDeltas": binding_deltas +"/iam:v1/PolicyDelta/bindingDeltas/binding_delta": binding_delta +"/iam:v1/ListServiceAccountsResponse": list_service_accounts_response +"/iam:v1/ListServiceAccountsResponse/nextPageToken": next_page_token +"/iam:v1/ListServiceAccountsResponse/accounts": accounts +"/iam:v1/ListServiceAccountsResponse/accounts/account": account +"/iam:v1/CreateServiceAccountRequest": create_service_account_request +"/iam:v1/CreateServiceAccountRequest/accountId": account_id +"/iam:v1/CreateServiceAccountRequest/serviceAccount": service_account "/iam:v1/QueryGrantableRolesResponse": query_grantable_roles_response "/iam:v1/QueryGrantableRolesResponse/roles": roles "/iam:v1/QueryGrantableRolesResponse/roles/role": role "/iam:v1/SignBlobRequest": sign_blob_request "/iam:v1/SignBlobRequest/bytesToSign": bytes_to_sign "/iam:v1/Role": role -"/iam:v1/Role/title": title "/iam:v1/Role/name": name "/iam:v1/Role/description": description +"/iam:v1/Role/title": title "/iam:v1/SetIamPolicyRequest": set_iam_policy_request "/iam:v1/SetIamPolicyRequest/policy": policy "/iam:v1/Binding": binding @@ -30219,13 +30224,13 @@ "/iam:v1/QueryGrantableRolesRequest/fullResourceName": full_resource_name "/iam:v1/Empty": empty "/iam:v1/ServiceAccount": service_account -"/iam:v1/ServiceAccount/projectId": project_id "/iam:v1/ServiceAccount/oauth2ClientId": oauth2_client_id "/iam:v1/ServiceAccount/uniqueId": unique_id "/iam:v1/ServiceAccount/displayName": display_name "/iam:v1/ServiceAccount/etag": etag "/iam:v1/ServiceAccount/email": email "/iam:v1/ServiceAccount/name": name +"/iam:v1/ServiceAccount/projectId": project_id "/iam:v1/ListServiceAccountKeysResponse": list_service_account_keys_response "/iam:v1/ListServiceAccountKeysResponse/keys": keys "/iam:v1/ListServiceAccountKeysResponse/keys/key": key @@ -30233,48 +30238,13 @@ "/iam:v1/TestIamPermissionsResponse/permissions": permissions "/iam:v1/TestIamPermissionsResponse/permissions/permission": permission "/iam:v1/ServiceAccountKey": service_account_key +"/iam:v1/ServiceAccountKey/keyAlgorithm": key_algorithm +"/iam:v1/ServiceAccountKey/validAfterTime": valid_after_time +"/iam:v1/ServiceAccountKey/privateKeyType": private_key_type "/iam:v1/ServiceAccountKey/privateKeyData": private_key_data "/iam:v1/ServiceAccountKey/publicKeyData": public_key_data "/iam:v1/ServiceAccountKey/name": name "/iam:v1/ServiceAccountKey/validBeforeTime": valid_before_time -"/iam:v1/ServiceAccountKey/keyAlgorithm": key_algorithm -"/iam:v1/ServiceAccountKey/validAfterTime": valid_after_time -"/iam:v1/ServiceAccountKey/privateKeyType": private_key_type -"/iam:v1/CreateServiceAccountKeyRequest": create_service_account_key_request -"/iam:v1/CreateServiceAccountKeyRequest/keyAlgorithm": key_algorithm -"/iam:v1/CreateServiceAccountKeyRequest/privateKeyType": private_key_type -"/iam:v1/TestIamPermissionsRequest": test_iam_permissions_request -"/iam:v1/TestIamPermissionsRequest/permissions": permissions -"/iam:v1/TestIamPermissionsRequest/permissions/permission": permission -"/iam:v1/SignBlobResponse": sign_blob_response -"/iam:v1/SignBlobResponse/signature": signature -"/iam:v1/SignBlobResponse/keyId": key_id -"/iam:v1/SignJwtResponse": sign_jwt_response -"/iam:v1/SignJwtResponse/keyId": key_id -"/iam:v1/SignJwtResponse/signedJwt": signed_jwt -"/iam:v1/Policy": policy -"/iam:v1/Policy/bindings": bindings -"/iam:v1/Policy/bindings/binding": binding -"/iam:v1/Policy/etag": etag -"/iam:v1/Policy/version": version -"/iam:v1/SignJwtRequest": sign_jwt_request -"/iam:v1/SignJwtRequest/payload": payload -"/iam:v1/AuditData": audit_data -"/iam:v1/AuditData/policyDelta": policy_delta -"/iam:v1/BindingDelta": binding_delta -"/iam:v1/BindingDelta/role": role -"/iam:v1/BindingDelta/action": action -"/iam:v1/BindingDelta/member": member -"/iam:v1/PolicyDelta": policy_delta -"/iam:v1/PolicyDelta/bindingDeltas": binding_deltas -"/iam:v1/PolicyDelta/bindingDeltas/binding_delta": binding_delta -"/iam:v1/CreateServiceAccountRequest": create_service_account_request -"/iam:v1/CreateServiceAccountRequest/serviceAccount": service_account -"/iam:v1/CreateServiceAccountRequest/accountId": account_id -"/iam:v1/ListServiceAccountsResponse": list_service_accounts_response -"/iam:v1/ListServiceAccountsResponse/nextPageToken": next_page_token -"/iam:v1/ListServiceAccountsResponse/accounts": accounts -"/iam:v1/ListServiceAccountsResponse/accounts/account": account "/identitytoolkit:v3/fields": fields "/identitytoolkit:v3/key": key "/identitytoolkit:v3/quotaUser": quota_user @@ -30603,13 +30573,13 @@ "/kgsearch:v1/quotaUser": quota_user "/kgsearch:v1/fields": fields "/kgsearch:v1/kgsearch.entities.search": search_entities -"/kgsearch:v1/kgsearch.entities.search/indent": indent -"/kgsearch:v1/kgsearch.entities.search/languages": languages "/kgsearch:v1/kgsearch.entities.search/ids": ids "/kgsearch:v1/kgsearch.entities.search/limit": limit "/kgsearch:v1/kgsearch.entities.search/prefix": prefix "/kgsearch:v1/kgsearch.entities.search/query": query "/kgsearch:v1/kgsearch.entities.search/types": types +"/kgsearch:v1/kgsearch.entities.search/indent": indent +"/kgsearch:v1/kgsearch.entities.search/languages": languages "/kgsearch:v1/SearchResponse": search_response "/kgsearch:v1/SearchResponse/@type": _type "/kgsearch:v1/SearchResponse/@context": _context @@ -30622,87 +30592,8 @@ "/language:v1/language.documents.analyzeEntities": analyze_document_entities "/language:v1/language.documents.analyzeSyntax": analyze_document_syntax "/language:v1/language.documents.analyzeSentiment": analyze_document_sentiment -"/language:v1/AnalyzeSyntaxRequest": analyze_syntax_request -"/language:v1/AnalyzeSyntaxRequest/encodingType": encoding_type -"/language:v1/AnalyzeSyntaxRequest/document": document -"/language:v1/AnalyzeSentimentResponse": analyze_sentiment_response -"/language:v1/AnalyzeSentimentResponse/documentSentiment": document_sentiment -"/language:v1/AnalyzeSentimentResponse/language": language -"/language:v1/AnalyzeSentimentResponse/sentences": sentences -"/language:v1/AnalyzeSentimentResponse/sentences/sentence": sentence -"/language:v1/AnalyzeEntitiesResponse": analyze_entities_response -"/language:v1/AnalyzeEntitiesResponse/entities": entities -"/language:v1/AnalyzeEntitiesResponse/entities/entity": entity -"/language:v1/AnalyzeEntitiesResponse/language": language -"/language:v1/Entity": entity -"/language:v1/Entity/type": type -"/language:v1/Entity/metadata": metadata -"/language:v1/Entity/metadata/metadatum": metadatum -"/language:v1/Entity/salience": salience -"/language:v1/Entity/mentions": mentions -"/language:v1/Entity/mentions/mention": mention -"/language:v1/Entity/name": name -"/language:v1/AnalyzeSyntaxResponse": analyze_syntax_response -"/language:v1/AnalyzeSyntaxResponse/sentences": sentences -"/language:v1/AnalyzeSyntaxResponse/sentences/sentence": sentence -"/language:v1/AnalyzeSyntaxResponse/tokens": tokens -"/language:v1/AnalyzeSyntaxResponse/tokens/token": token -"/language:v1/AnalyzeSyntaxResponse/language": language -"/language:v1/AnnotateTextRequest": annotate_text_request -"/language:v1/AnnotateTextRequest/encodingType": encoding_type -"/language:v1/AnnotateTextRequest/document": document -"/language:v1/AnnotateTextRequest/features": features -"/language:v1/AnnotateTextResponse": annotate_text_response -"/language:v1/AnnotateTextResponse/documentSentiment": document_sentiment -"/language:v1/AnnotateTextResponse/language": language -"/language:v1/AnnotateTextResponse/sentences": sentences -"/language:v1/AnnotateTextResponse/sentences/sentence": sentence -"/language:v1/AnnotateTextResponse/tokens": tokens -"/language:v1/AnnotateTextResponse/tokens/token": token -"/language:v1/AnnotateTextResponse/entities": entities -"/language:v1/AnnotateTextResponse/entities/entity": entity -"/language:v1/AnalyzeSentimentRequest": analyze_sentiment_request -"/language:v1/AnalyzeSentimentRequest/encodingType": encoding_type -"/language:v1/AnalyzeSentimentRequest/document": document -"/language:v1/DependencyEdge": dependency_edge -"/language:v1/DependencyEdge/headTokenIndex": head_token_index -"/language:v1/DependencyEdge/label": label -"/language:v1/Token": token -"/language:v1/Token/text": text -"/language:v1/Token/dependencyEdge": dependency_edge -"/language:v1/Token/lemma": lemma -"/language:v1/Token/partOfSpeech": part_of_speech -"/language:v1/TextSpan": text_span -"/language:v1/TextSpan/beginOffset": begin_offset -"/language:v1/TextSpan/content": content -"/language:v1/Status": status -"/language:v1/Status/code": code -"/language:v1/Status/message": message -"/language:v1/Status/details": details -"/language:v1/Status/details/detail": detail -"/language:v1/Status/details/detail/detail": detail -"/language:v1/EntityMention": entity_mention -"/language:v1/EntityMention/text": text -"/language:v1/EntityMention/type": type -"/language:v1/Features": features -"/language:v1/Features/extractSyntax": extract_syntax -"/language:v1/Features/extractDocumentSentiment": extract_document_sentiment -"/language:v1/Features/extractEntities": extract_entities -"/language:v1/Document": document -"/language:v1/Document/type": type -"/language:v1/Document/content": content -"/language:v1/Document/gcsContentUri": gcs_content_uri -"/language:v1/Document/language": language -"/language:v1/Sentence": sentence -"/language:v1/Sentence/text": text -"/language:v1/Sentence/sentiment": sentiment -"/language:v1/AnalyzeEntitiesRequest": analyze_entities_request -"/language:v1/AnalyzeEntitiesRequest/document": document -"/language:v1/AnalyzeEntitiesRequest/encodingType": encoding_type -"/language:v1/Sentiment": sentiment -"/language:v1/Sentiment/score": score -"/language:v1/Sentiment/magnitude": magnitude "/language:v1/PartOfSpeech": part_of_speech +"/language:v1/PartOfSpeech/reciprocity": reciprocity "/language:v1/PartOfSpeech/form": form "/language:v1/PartOfSpeech/number": number "/language:v1/PartOfSpeech/voice": voice @@ -30714,14 +30605,108 @@ "/language:v1/PartOfSpeech/proper": proper "/language:v1/PartOfSpeech/case": case "/language:v1/PartOfSpeech/tense": tense -"/language:v1/PartOfSpeech/reciprocity": reciprocity +"/language:v1/AnalyzeSyntaxRequest": analyze_syntax_request +"/language:v1/AnalyzeSyntaxRequest/document": document +"/language:v1/AnalyzeSyntaxRequest/encodingType": encoding_type +"/language:v1/AnalyzeSentimentResponse": analyze_sentiment_response +"/language:v1/AnalyzeSentimentResponse/sentences": sentences +"/language:v1/AnalyzeSentimentResponse/sentences/sentence": sentence +"/language:v1/AnalyzeSentimentResponse/documentSentiment": document_sentiment +"/language:v1/AnalyzeSentimentResponse/language": language +"/language:v1/AnalyzeEntitiesResponse": analyze_entities_response +"/language:v1/AnalyzeEntitiesResponse/language": language +"/language:v1/AnalyzeEntitiesResponse/entities": entities +"/language:v1/AnalyzeEntitiesResponse/entities/entity": entity +"/language:v1/Entity": entity +"/language:v1/Entity/mentions": mentions +"/language:v1/Entity/mentions/mention": mention +"/language:v1/Entity/name": name +"/language:v1/Entity/type": type +"/language:v1/Entity/metadata": metadata +"/language:v1/Entity/metadata/metadatum": metadatum +"/language:v1/Entity/salience": salience +"/language:v1/AnalyzeSyntaxResponse": analyze_syntax_response +"/language:v1/AnalyzeSyntaxResponse/language": language +"/language:v1/AnalyzeSyntaxResponse/sentences": sentences +"/language:v1/AnalyzeSyntaxResponse/sentences/sentence": sentence +"/language:v1/AnalyzeSyntaxResponse/tokens": tokens +"/language:v1/AnalyzeSyntaxResponse/tokens/token": token +"/language:v1/AnnotateTextRequest": annotate_text_request +"/language:v1/AnnotateTextRequest/document": document +"/language:v1/AnnotateTextRequest/features": features +"/language:v1/AnnotateTextRequest/encodingType": encoding_type +"/language:v1/AnalyzeSentimentRequest": analyze_sentiment_request +"/language:v1/AnalyzeSentimentRequest/document": document +"/language:v1/AnalyzeSentimentRequest/encodingType": encoding_type +"/language:v1/AnnotateTextResponse": annotate_text_response +"/language:v1/AnnotateTextResponse/sentences": sentences +"/language:v1/AnnotateTextResponse/sentences/sentence": sentence +"/language:v1/AnnotateTextResponse/tokens": tokens +"/language:v1/AnnotateTextResponse/tokens/token": token +"/language:v1/AnnotateTextResponse/entities": entities +"/language:v1/AnnotateTextResponse/entities/entity": entity +"/language:v1/AnnotateTextResponse/documentSentiment": document_sentiment +"/language:v1/AnnotateTextResponse/language": language +"/language:v1/DependencyEdge": dependency_edge +"/language:v1/DependencyEdge/headTokenIndex": head_token_index +"/language:v1/DependencyEdge/label": label +"/language:v1/TextSpan": text_span +"/language:v1/TextSpan/beginOffset": begin_offset +"/language:v1/TextSpan/content": content +"/language:v1/Token": token +"/language:v1/Token/partOfSpeech": part_of_speech +"/language:v1/Token/text": text +"/language:v1/Token/dependencyEdge": dependency_edge +"/language:v1/Token/lemma": lemma +"/language:v1/Status": status +"/language:v1/Status/code": code +"/language:v1/Status/message": message +"/language:v1/Status/details": details +"/language:v1/Status/details/detail": detail +"/language:v1/Status/details/detail/detail": detail +"/language:v1/Features": features +"/language:v1/Features/extractEntities": extract_entities +"/language:v1/Features/extractSyntax": extract_syntax +"/language:v1/Features/extractDocumentSentiment": extract_document_sentiment +"/language:v1/EntityMention": entity_mention +"/language:v1/EntityMention/text": text +"/language:v1/EntityMention/type": type +"/language:v1/Document": document +"/language:v1/Document/type": type +"/language:v1/Document/content": content +"/language:v1/Document/gcsContentUri": gcs_content_uri +"/language:v1/Document/language": language +"/language:v1/Sentence": sentence +"/language:v1/Sentence/text": text +"/language:v1/Sentence/sentiment": sentiment +"/language:v1/AnalyzeEntitiesRequest": analyze_entities_request +"/language:v1/AnalyzeEntitiesRequest/encodingType": encoding_type +"/language:v1/AnalyzeEntitiesRequest/document": document +"/language:v1/Sentiment": sentiment +"/language:v1/Sentiment/score": score +"/language:v1/Sentiment/magnitude": magnitude "/language:v1beta1/fields": fields "/language:v1beta1/key": key "/language:v1beta1/quotaUser": quota_user +"/language:v1beta1/language.documents.analyzeSentiment": analyze_document_sentiment "/language:v1beta1/language.documents.annotateText": annotate_document_text "/language:v1beta1/language.documents.analyzeEntities": analyze_document_entities "/language:v1beta1/language.documents.analyzeSyntax": analyze_document_syntax -"/language:v1beta1/language.documents.analyzeSentiment": analyze_document_sentiment +"/language:v1beta1/EntityMention": entity_mention +"/language:v1beta1/EntityMention/text": text +"/language:v1beta1/EntityMention/type": type +"/language:v1beta1/Features": features +"/language:v1beta1/Features/extractSyntax": extract_syntax +"/language:v1beta1/Features/extractDocumentSentiment": extract_document_sentiment +"/language:v1beta1/Features/extractEntities": extract_entities +"/language:v1beta1/Document": document +"/language:v1beta1/Document/language": language +"/language:v1beta1/Document/type": type +"/language:v1beta1/Document/content": content +"/language:v1beta1/Document/gcsContentUri": gcs_content_uri +"/language:v1beta1/Sentence": sentence +"/language:v1beta1/Sentence/sentiment": sentiment +"/language:v1beta1/Sentence/text": text "/language:v1beta1/AnalyzeEntitiesRequest": analyze_entities_request "/language:v1beta1/AnalyzeEntitiesRequest/encodingType": encoding_type "/language:v1beta1/AnalyzeEntitiesRequest/document": document @@ -30730,6 +30715,9 @@ "/language:v1beta1/Sentiment/score": score "/language:v1beta1/Sentiment/magnitude": magnitude "/language:v1beta1/PartOfSpeech": part_of_speech +"/language:v1beta1/PartOfSpeech/case": case +"/language:v1beta1/PartOfSpeech/tense": tense +"/language:v1beta1/PartOfSpeech/reciprocity": reciprocity "/language:v1beta1/PartOfSpeech/form": form "/language:v1beta1/PartOfSpeech/number": number "/language:v1beta1/PartOfSpeech/voice": voice @@ -30739,21 +30727,24 @@ "/language:v1beta1/PartOfSpeech/gender": gender "/language:v1beta1/PartOfSpeech/person": person "/language:v1beta1/PartOfSpeech/proper": proper -"/language:v1beta1/PartOfSpeech/case": case -"/language:v1beta1/PartOfSpeech/tense": tense -"/language:v1beta1/PartOfSpeech/reciprocity": reciprocity "/language:v1beta1/AnalyzeSyntaxRequest": analyze_syntax_request -"/language:v1beta1/AnalyzeSyntaxRequest/document": document "/language:v1beta1/AnalyzeSyntaxRequest/encodingType": encoding_type +"/language:v1beta1/AnalyzeSyntaxRequest/document": document "/language:v1beta1/AnalyzeSentimentResponse": analyze_sentiment_response +"/language:v1beta1/AnalyzeSentimentResponse/language": language "/language:v1beta1/AnalyzeSentimentResponse/sentences": sentences "/language:v1beta1/AnalyzeSentimentResponse/sentences/sentence": sentence "/language:v1beta1/AnalyzeSentimentResponse/documentSentiment": document_sentiment -"/language:v1beta1/AnalyzeSentimentResponse/language": language "/language:v1beta1/AnalyzeEntitiesResponse": analyze_entities_response +"/language:v1beta1/AnalyzeEntitiesResponse/language": language "/language:v1beta1/AnalyzeEntitiesResponse/entities": entities "/language:v1beta1/AnalyzeEntitiesResponse/entities/entity": entity -"/language:v1beta1/AnalyzeEntitiesResponse/language": language +"/language:v1beta1/AnalyzeSyntaxResponse": analyze_syntax_response +"/language:v1beta1/AnalyzeSyntaxResponse/language": language +"/language:v1beta1/AnalyzeSyntaxResponse/sentences": sentences +"/language:v1beta1/AnalyzeSyntaxResponse/sentences/sentence": sentence +"/language:v1beta1/AnalyzeSyntaxResponse/tokens": tokens +"/language:v1beta1/AnalyzeSyntaxResponse/tokens/token": token "/language:v1beta1/Entity": entity "/language:v1beta1/Entity/mentions": mentions "/language:v1beta1/Entity/mentions/mention": mention @@ -30762,60 +30753,39 @@ "/language:v1beta1/Entity/metadata": metadata "/language:v1beta1/Entity/metadata/metadatum": metadatum "/language:v1beta1/Entity/salience": salience -"/language:v1beta1/AnalyzeSyntaxResponse": analyze_syntax_response -"/language:v1beta1/AnalyzeSyntaxResponse/language": language -"/language:v1beta1/AnalyzeSyntaxResponse/sentences": sentences -"/language:v1beta1/AnalyzeSyntaxResponse/sentences/sentence": sentence -"/language:v1beta1/AnalyzeSyntaxResponse/tokens": tokens -"/language:v1beta1/AnalyzeSyntaxResponse/tokens/token": token "/language:v1beta1/AnnotateTextRequest": annotate_text_request "/language:v1beta1/AnnotateTextRequest/encodingType": encoding_type "/language:v1beta1/AnnotateTextRequest/document": document "/language:v1beta1/AnnotateTextRequest/features": features "/language:v1beta1/AnnotateTextResponse": annotate_text_response -"/language:v1beta1/AnnotateTextResponse/sentences": sentences -"/language:v1beta1/AnnotateTextResponse/sentences/sentence": sentence -"/language:v1beta1/AnnotateTextResponse/tokens": tokens -"/language:v1beta1/AnnotateTextResponse/tokens/token": token "/language:v1beta1/AnnotateTextResponse/entities": entities "/language:v1beta1/AnnotateTextResponse/entities/entity": entity "/language:v1beta1/AnnotateTextResponse/documentSentiment": document_sentiment "/language:v1beta1/AnnotateTextResponse/language": language +"/language:v1beta1/AnnotateTextResponse/sentences": sentences +"/language:v1beta1/AnnotateTextResponse/sentences/sentence": sentence +"/language:v1beta1/AnnotateTextResponse/tokens": tokens +"/language:v1beta1/AnnotateTextResponse/tokens/token": token "/language:v1beta1/AnalyzeSentimentRequest": analyze_sentiment_request -"/language:v1beta1/AnalyzeSentimentRequest/document": document "/language:v1beta1/AnalyzeSentimentRequest/encodingType": encoding_type +"/language:v1beta1/AnalyzeSentimentRequest/document": document "/language:v1beta1/DependencyEdge": dependency_edge -"/language:v1beta1/DependencyEdge/headTokenIndex": head_token_index "/language:v1beta1/DependencyEdge/label": label -"/language:v1beta1/Token": token -"/language:v1beta1/Token/text": text -"/language:v1beta1/Token/dependencyEdge": dependency_edge -"/language:v1beta1/Token/lemma": lemma -"/language:v1beta1/Token/partOfSpeech": part_of_speech +"/language:v1beta1/DependencyEdge/headTokenIndex": head_token_index "/language:v1beta1/TextSpan": text_span "/language:v1beta1/TextSpan/beginOffset": begin_offset "/language:v1beta1/TextSpan/content": content +"/language:v1beta1/Token": token +"/language:v1beta1/Token/partOfSpeech": part_of_speech +"/language:v1beta1/Token/text": text +"/language:v1beta1/Token/dependencyEdge": dependency_edge +"/language:v1beta1/Token/lemma": lemma "/language:v1beta1/Status": status -"/language:v1beta1/Status/code": code "/language:v1beta1/Status/message": message "/language:v1beta1/Status/details": details "/language:v1beta1/Status/details/detail": detail "/language:v1beta1/Status/details/detail/detail": detail -"/language:v1beta1/EntityMention": entity_mention -"/language:v1beta1/EntityMention/text": text -"/language:v1beta1/EntityMention/type": type -"/language:v1beta1/Features": features -"/language:v1beta1/Features/extractEntities": extract_entities -"/language:v1beta1/Features/extractSyntax": extract_syntax -"/language:v1beta1/Features/extractDocumentSentiment": extract_document_sentiment -"/language:v1beta1/Sentence": sentence -"/language:v1beta1/Sentence/text": text -"/language:v1beta1/Sentence/sentiment": sentiment -"/language:v1beta1/Document": document -"/language:v1beta1/Document/type": type -"/language:v1beta1/Document/content": content -"/language:v1beta1/Document/gcsContentUri": gcs_content_uri -"/language:v1beta1/Document/language": language +"/language:v1beta1/Status/code": code "/licensing:v1/fields": fields "/licensing:v1/key": key "/licensing:v1/quotaUser": quota_user @@ -30868,6 +30838,73 @@ "/logging:v2/fields": fields "/logging:v2/key": key "/logging:v2/quotaUser": quota_user +"/logging:v2/logging.folders.logs.delete": delete_folder_log +"/logging:v2/logging.folders.logs.delete/logName": log_name +"/logging:v2/logging.folders.logs.list": list_folder_logs +"/logging:v2/logging.folders.logs.list/pageToken": page_token +"/logging:v2/logging.folders.logs.list/pageSize": page_size +"/logging:v2/logging.folders.logs.list/parent": parent +"/logging:v2/logging.folders.sinks.delete": delete_folder_sink +"/logging:v2/logging.folders.sinks.delete/sinkName": sink_name +"/logging:v2/logging.folders.sinks.list": list_folder_sinks +"/logging:v2/logging.folders.sinks.list/pageToken": page_token +"/logging:v2/logging.folders.sinks.list/pageSize": page_size +"/logging:v2/logging.folders.sinks.list/parent": parent +"/logging:v2/logging.folders.sinks.get": get_folder_sink +"/logging:v2/logging.folders.sinks.get/sinkName": sink_name +"/logging:v2/logging.folders.sinks.update": update_folder_sink +"/logging:v2/logging.folders.sinks.update/sinkName": sink_name +"/logging:v2/logging.folders.sinks.update/uniqueWriterIdentity": unique_writer_identity +"/logging:v2/logging.folders.sinks.create": create_folder_sink +"/logging:v2/logging.folders.sinks.create/parent": parent +"/logging:v2/logging.folders.sinks.create/uniqueWriterIdentity": unique_writer_identity +"/logging:v2/logging.monitoredResourceDescriptors.list": list_monitored_resource_descriptors +"/logging:v2/logging.monitoredResourceDescriptors.list/pageToken": page_token +"/logging:v2/logging.monitoredResourceDescriptors.list/pageSize": page_size +"/logging:v2/logging.organizations.logs.delete": delete_organization_log +"/logging:v2/logging.organizations.logs.delete/logName": log_name +"/logging:v2/logging.organizations.logs.list": list_organization_logs +"/logging:v2/logging.organizations.logs.list/pageToken": page_token +"/logging:v2/logging.organizations.logs.list/pageSize": page_size +"/logging:v2/logging.organizations.logs.list/parent": parent +"/logging:v2/logging.organizations.sinks.update": update_organization_sink +"/logging:v2/logging.organizations.sinks.update/sinkName": sink_name +"/logging:v2/logging.organizations.sinks.update/uniqueWriterIdentity": unique_writer_identity +"/logging:v2/logging.organizations.sinks.create": create_organization_sink +"/logging:v2/logging.organizations.sinks.create/parent": parent +"/logging:v2/logging.organizations.sinks.create/uniqueWriterIdentity": unique_writer_identity +"/logging:v2/logging.organizations.sinks.delete": delete_organization_sink +"/logging:v2/logging.organizations.sinks.delete/sinkName": sink_name +"/logging:v2/logging.organizations.sinks.list": list_organization_sinks +"/logging:v2/logging.organizations.sinks.list/pageSize": page_size +"/logging:v2/logging.organizations.sinks.list/parent": parent +"/logging:v2/logging.organizations.sinks.list/pageToken": page_token +"/logging:v2/logging.organizations.sinks.get": get_organization_sink +"/logging:v2/logging.organizations.sinks.get/sinkName": sink_name +"/logging:v2/logging.entries.list": list_entry_log_entries +"/logging:v2/logging.entries.write": write_entry_log_entries +"/logging:v2/logging.projects.logs.delete": delete_project_log +"/logging:v2/logging.projects.logs.delete/logName": log_name +"/logging:v2/logging.projects.logs.list": list_project_logs +"/logging:v2/logging.projects.logs.list/pageToken": page_token +"/logging:v2/logging.projects.logs.list/pageSize": page_size +"/logging:v2/logging.projects.logs.list/parent": parent +"/logging:v2/logging.projects.sinks.delete": delete_project_sink +"/logging:v2/logging.projects.sinks.delete/sinkName": sink_name +"/logging:v2/logging.projects.sinks.list": list_project_sinks +"/logging:v2/logging.projects.sinks.list/parent": parent +"/logging:v2/logging.projects.sinks.list/pageToken": page_token +"/logging:v2/logging.projects.sinks.list/pageSize": page_size +"/logging:v2/logging.projects.sinks.get": get_project_sink +"/logging:v2/logging.projects.sinks.get/sinkName": sink_name +"/logging:v2/logging.projects.sinks.update": update_project_sink +"/logging:v2/logging.projects.sinks.update/sinkName": sink_name +"/logging:v2/logging.projects.sinks.update/uniqueWriterIdentity": unique_writer_identity +"/logging:v2/logging.projects.sinks.create": create_project_sink +"/logging:v2/logging.projects.sinks.create/parent": parent +"/logging:v2/logging.projects.sinks.create/uniqueWriterIdentity": unique_writer_identity +"/logging:v2/logging.projects.metrics.delete": delete_project_metric +"/logging:v2/logging.projects.metrics.delete/metricName": metric_name "/logging:v2/logging.projects.metrics.list": list_project_metrics "/logging:v2/logging.projects.metrics.list/parent": parent "/logging:v2/logging.projects.metrics.list/pageToken": page_token @@ -30878,40 +30915,18 @@ "/logging:v2/logging.projects.metrics.update/metricName": metric_name "/logging:v2/logging.projects.metrics.create": create_project_metric "/logging:v2/logging.projects.metrics.create/parent": parent -"/logging:v2/logging.projects.metrics.delete": delete_project_metric -"/logging:v2/logging.projects.metrics.delete/metricName": metric_name -"/logging:v2/logging.projects.logs.delete": delete_project_log -"/logging:v2/logging.projects.logs.delete/logName": log_name -"/logging:v2/logging.projects.logs.list": list_project_logs -"/logging:v2/logging.projects.logs.list/parent": parent -"/logging:v2/logging.projects.logs.list/pageToken": page_token -"/logging:v2/logging.projects.logs.list/pageSize": page_size -"/logging:v2/logging.projects.sinks.delete": delete_project_sink -"/logging:v2/logging.projects.sinks.delete/sinkName": sink_name -"/logging:v2/logging.projects.sinks.list": list_project_sinks -"/logging:v2/logging.projects.sinks.list/pageToken": page_token -"/logging:v2/logging.projects.sinks.list/pageSize": page_size -"/logging:v2/logging.projects.sinks.list/parent": parent -"/logging:v2/logging.projects.sinks.get": get_project_sink -"/logging:v2/logging.projects.sinks.get/sinkName": sink_name -"/logging:v2/logging.projects.sinks.update": update_project_sink -"/logging:v2/logging.projects.sinks.update/sinkName": sink_name -"/logging:v2/logging.projects.sinks.update/uniqueWriterIdentity": unique_writer_identity -"/logging:v2/logging.projects.sinks.create": create_project_sink -"/logging:v2/logging.projects.sinks.create/parent": parent -"/logging:v2/logging.projects.sinks.create/uniqueWriterIdentity": unique_writer_identity "/logging:v2/logging.billingAccounts.logs.delete": delete_billing_account_log "/logging:v2/logging.billingAccounts.logs.delete/logName": log_name "/logging:v2/logging.billingAccounts.logs.list": list_billing_account_logs -"/logging:v2/logging.billingAccounts.logs.list/pageToken": page_token "/logging:v2/logging.billingAccounts.logs.list/pageSize": page_size "/logging:v2/logging.billingAccounts.logs.list/parent": parent +"/logging:v2/logging.billingAccounts.logs.list/pageToken": page_token "/logging:v2/logging.billingAccounts.sinks.delete": delete_billing_account_sink "/logging:v2/logging.billingAccounts.sinks.delete/sinkName": sink_name "/logging:v2/logging.billingAccounts.sinks.list": list_billing_account_sinks -"/logging:v2/logging.billingAccounts.sinks.list/parent": parent "/logging:v2/logging.billingAccounts.sinks.list/pageToken": page_token "/logging:v2/logging.billingAccounts.sinks.list/pageSize": page_size +"/logging:v2/logging.billingAccounts.sinks.list/parent": parent "/logging:v2/logging.billingAccounts.sinks.get": get_billing_account_sink "/logging:v2/logging.billingAccounts.sinks.get/sinkName": sink_name "/logging:v2/logging.billingAccounts.sinks.update": update_billing_account_sink @@ -30920,63 +30935,31 @@ "/logging:v2/logging.billingAccounts.sinks.create": create_billing_account_sink "/logging:v2/logging.billingAccounts.sinks.create/parent": parent "/logging:v2/logging.billingAccounts.sinks.create/uniqueWriterIdentity": unique_writer_identity -"/logging:v2/logging.folders.logs.delete": delete_folder_log -"/logging:v2/logging.folders.logs.delete/logName": log_name -"/logging:v2/logging.folders.logs.list": list_folder_logs -"/logging:v2/logging.folders.logs.list/pageToken": page_token -"/logging:v2/logging.folders.logs.list/pageSize": page_size -"/logging:v2/logging.folders.logs.list/parent": parent -"/logging:v2/logging.folders.sinks.update": update_folder_sink -"/logging:v2/logging.folders.sinks.update/sinkName": sink_name -"/logging:v2/logging.folders.sinks.update/uniqueWriterIdentity": unique_writer_identity -"/logging:v2/logging.folders.sinks.create": create_folder_sink -"/logging:v2/logging.folders.sinks.create/parent": parent -"/logging:v2/logging.folders.sinks.create/uniqueWriterIdentity": unique_writer_identity -"/logging:v2/logging.folders.sinks.delete": delete_folder_sink -"/logging:v2/logging.folders.sinks.delete/sinkName": sink_name -"/logging:v2/logging.folders.sinks.list": list_folder_sinks -"/logging:v2/logging.folders.sinks.list/parent": parent -"/logging:v2/logging.folders.sinks.list/pageToken": page_token -"/logging:v2/logging.folders.sinks.list/pageSize": page_size -"/logging:v2/logging.folders.sinks.get": get_folder_sink -"/logging:v2/logging.folders.sinks.get/sinkName": sink_name -"/logging:v2/logging.monitoredResourceDescriptors.list": list_monitored_resource_descriptors -"/logging:v2/logging.monitoredResourceDescriptors.list/pageToken": page_token -"/logging:v2/logging.monitoredResourceDescriptors.list/pageSize": page_size -"/logging:v2/logging.organizations.logs.delete": delete_organization_log -"/logging:v2/logging.organizations.logs.delete/logName": log_name -"/logging:v2/logging.organizations.logs.list": list_organization_logs -"/logging:v2/logging.organizations.logs.list/pageToken": page_token -"/logging:v2/logging.organizations.logs.list/pageSize": page_size -"/logging:v2/logging.organizations.logs.list/parent": parent -"/logging:v2/logging.organizations.sinks.delete": delete_organization_sink -"/logging:v2/logging.organizations.sinks.delete/sinkName": sink_name -"/logging:v2/logging.organizations.sinks.list": list_organization_sinks -"/logging:v2/logging.organizations.sinks.list/parent": parent -"/logging:v2/logging.organizations.sinks.list/pageToken": page_token -"/logging:v2/logging.organizations.sinks.list/pageSize": page_size -"/logging:v2/logging.organizations.sinks.get": get_organization_sink -"/logging:v2/logging.organizations.sinks.get/sinkName": sink_name -"/logging:v2/logging.organizations.sinks.update": update_organization_sink -"/logging:v2/logging.organizations.sinks.update/sinkName": sink_name -"/logging:v2/logging.organizations.sinks.update/uniqueWriterIdentity": unique_writer_identity -"/logging:v2/logging.organizations.sinks.create": create_organization_sink -"/logging:v2/logging.organizations.sinks.create/parent": parent -"/logging:v2/logging.organizations.sinks.create/uniqueWriterIdentity": unique_writer_identity -"/logging:v2/logging.entries.list": list_entry_log_entries -"/logging:v2/logging.entries.write": write_entry_log_entries +"/logging:v2/MonitoredResource": monitored_resource +"/logging:v2/MonitoredResource/type": type +"/logging:v2/MonitoredResource/labels": labels +"/logging:v2/MonitoredResource/labels/label": label +"/logging:v2/WriteLogEntriesRequest": write_log_entries_request +"/logging:v2/WriteLogEntriesRequest/labels": labels +"/logging:v2/WriteLogEntriesRequest/labels/label": label +"/logging:v2/WriteLogEntriesRequest/resource": resource +"/logging:v2/WriteLogEntriesRequest/logName": log_name +"/logging:v2/WriteLogEntriesRequest/entries": entries +"/logging:v2/WriteLogEntriesRequest/entries/entry": entry +"/logging:v2/WriteLogEntriesRequest/partialSuccess": partial_success +"/logging:v2/LogSink": log_sink +"/logging:v2/LogSink/name": name +"/logging:v2/LogSink/filter": filter +"/logging:v2/LogSink/destination": destination +"/logging:v2/LogSink/endTime": end_time +"/logging:v2/LogSink/startTime": start_time +"/logging:v2/LogSink/writerIdentity": writer_identity +"/logging:v2/LogSink/outputVersionFormat": output_version_format "/logging:v2/ListLogsResponse": list_logs_response +"/logging:v2/ListLogsResponse/nextPageToken": next_page_token "/logging:v2/ListLogsResponse/logNames": log_names "/logging:v2/ListLogsResponse/logNames/log_name": log_name -"/logging:v2/ListLogsResponse/nextPageToken": next_page_token -"/logging:v2/ListSinksResponse": list_sinks_response -"/logging:v2/ListSinksResponse/sinks": sinks -"/logging:v2/ListSinksResponse/sinks/sink": sink -"/logging:v2/ListSinksResponse/nextPageToken": next_page_token "/logging:v2/HttpRequest": http_request -"/logging:v2/HttpRequest/cacheValidatedWithOriginServer": cache_validated_with_origin_server -"/logging:v2/HttpRequest/status": status -"/logging:v2/HttpRequest/referer": referer "/logging:v2/HttpRequest/userAgent": user_agent "/logging:v2/HttpRequest/latency": latency "/logging:v2/HttpRequest/cacheFillBytes": cache_fill_bytes @@ -30984,10 +30967,17 @@ "/logging:v2/HttpRequest/responseSize": response_size "/logging:v2/HttpRequest/requestSize": request_size "/logging:v2/HttpRequest/requestUrl": request_url -"/logging:v2/HttpRequest/remoteIp": remote_ip "/logging:v2/HttpRequest/serverIp": server_ip +"/logging:v2/HttpRequest/remoteIp": remote_ip "/logging:v2/HttpRequest/cacheLookup": cache_lookup "/logging:v2/HttpRequest/cacheHit": cache_hit +"/logging:v2/HttpRequest/cacheValidatedWithOriginServer": cache_validated_with_origin_server +"/logging:v2/HttpRequest/status": status +"/logging:v2/HttpRequest/referer": referer +"/logging:v2/ListSinksResponse": list_sinks_response +"/logging:v2/ListSinksResponse/sinks": sinks +"/logging:v2/ListSinksResponse/sinks/sink": sink +"/logging:v2/ListSinksResponse/nextPageToken": next_page_token "/logging:v2/LabelDescriptor": label_descriptor "/logging:v2/LabelDescriptor/key": key "/logging:v2/LabelDescriptor/description": description @@ -31000,54 +30990,55 @@ "/logging:v2/MonitoredResourceDescriptor/description": description "/logging:v2/MonitoredResourceDescriptor/type": type "/logging:v2/LogEntrySourceLocation": log_entry_source_location -"/logging:v2/LogEntrySourceLocation/file": file "/logging:v2/LogEntrySourceLocation/function": function "/logging:v2/LogEntrySourceLocation/line": line +"/logging:v2/LogEntrySourceLocation/file": file "/logging:v2/ListLogEntriesResponse": list_log_entries_response "/logging:v2/ListLogEntriesResponse/entries": entries "/logging:v2/ListLogEntriesResponse/entries/entry": entry "/logging:v2/ListLogEntriesResponse/nextPageToken": next_page_token "/logging:v2/LogLine": log_line +"/logging:v2/LogLine/time": time "/logging:v2/LogLine/severity": severity "/logging:v2/LogLine/logMessage": log_message "/logging:v2/LogLine/sourceLocation": source_location -"/logging:v2/LogLine/time": time "/logging:v2/ListLogMetricsResponse": list_log_metrics_response "/logging:v2/ListLogMetricsResponse/metrics": metrics "/logging:v2/ListLogMetricsResponse/metrics/metric": metric "/logging:v2/ListLogMetricsResponse/nextPageToken": next_page_token "/logging:v2/Empty": empty "/logging:v2/LogEntry": log_entry +"/logging:v2/LogEntry/timestamp": timestamp +"/logging:v2/LogEntry/logName": log_name +"/logging:v2/LogEntry/resource": resource +"/logging:v2/LogEntry/httpRequest": http_request +"/logging:v2/LogEntry/jsonPayload": json_payload +"/logging:v2/LogEntry/jsonPayload/json_payload": json_payload +"/logging:v2/LogEntry/operation": operation +"/logging:v2/LogEntry/insertId": insert_id "/logging:v2/LogEntry/textPayload": text_payload "/logging:v2/LogEntry/protoPayload": proto_payload "/logging:v2/LogEntry/protoPayload/proto_payload": proto_payload -"/logging:v2/LogEntry/trace": trace "/logging:v2/LogEntry/labels": labels "/logging:v2/LogEntry/labels/label": label +"/logging:v2/LogEntry/trace": trace "/logging:v2/LogEntry/severity": severity "/logging:v2/LogEntry/sourceLocation": source_location -"/logging:v2/LogEntry/timestamp": timestamp -"/logging:v2/LogEntry/logName": log_name -"/logging:v2/LogEntry/httpRequest": http_request -"/logging:v2/LogEntry/resource": resource -"/logging:v2/LogEntry/jsonPayload": json_payload -"/logging:v2/LogEntry/jsonPayload/json_payload": json_payload -"/logging:v2/LogEntry/insertId": insert_id -"/logging:v2/LogEntry/operation": operation "/logging:v2/SourceLocation": source_location -"/logging:v2/SourceLocation/file": file "/logging:v2/SourceLocation/functionName": function_name "/logging:v2/SourceLocation/line": line +"/logging:v2/SourceLocation/file": file "/logging:v2/ListLogEntriesRequest": list_log_entries_request -"/logging:v2/ListLogEntriesRequest/projectIds": project_ids -"/logging:v2/ListLogEntriesRequest/projectIds/project_id": project_id -"/logging:v2/ListLogEntriesRequest/filter": filter "/logging:v2/ListLogEntriesRequest/pageToken": page_token "/logging:v2/ListLogEntriesRequest/pageSize": page_size "/logging:v2/ListLogEntriesRequest/orderBy": order_by "/logging:v2/ListLogEntriesRequest/resourceNames": resource_names "/logging:v2/ListLogEntriesRequest/resourceNames/resource_name": resource_name +"/logging:v2/ListLogEntriesRequest/projectIds": project_ids +"/logging:v2/ListLogEntriesRequest/projectIds/project_id": project_id +"/logging:v2/ListLogEntriesRequest/filter": filter "/logging:v2/RequestLog": request_log +"/logging:v2/RequestLog/versionId": version_id "/logging:v2/RequestLog/moduleId": module_id "/logging:v2/RequestLog/endTime": end_time "/logging:v2/RequestLog/userAgent": user_agent @@ -31068,8 +31059,8 @@ "/logging:v2/RequestLog/taskName": task_name "/logging:v2/RequestLog/urlMapEntry": url_map_entry "/logging:v2/RequestLog/instanceIndex": instance_index -"/logging:v2/RequestLog/host": host "/logging:v2/RequestLog/finished": finished +"/logging:v2/RequestLog/host": host "/logging:v2/RequestLog/httpVersion": http_version "/logging:v2/RequestLog/startTime": start_time "/logging:v2/RequestLog/latency": latency @@ -31081,63 +31072,42 @@ "/logging:v2/RequestLog/instanceId": instance_id "/logging:v2/RequestLog/megaCycles": mega_cycles "/logging:v2/RequestLog/first": first -"/logging:v2/RequestLog/versionId": version_id "/logging:v2/ListMonitoredResourceDescriptorsResponse": list_monitored_resource_descriptors_response "/logging:v2/ListMonitoredResourceDescriptorsResponse/resourceDescriptors": resource_descriptors "/logging:v2/ListMonitoredResourceDescriptorsResponse/resourceDescriptors/resource_descriptor": resource_descriptor "/logging:v2/ListMonitoredResourceDescriptorsResponse/nextPageToken": next_page_token "/logging:v2/SourceReference": source_reference -"/logging:v2/SourceReference/repository": repository "/logging:v2/SourceReference/revisionId": revision_id +"/logging:v2/SourceReference/repository": repository +"/logging:v2/WriteLogEntriesResponse": write_log_entries_response "/logging:v2/LogMetric": log_metric -"/logging:v2/LogMetric/version": version -"/logging:v2/LogMetric/filter": filter "/logging:v2/LogMetric/name": name "/logging:v2/LogMetric/description": description +"/logging:v2/LogMetric/version": version +"/logging:v2/LogMetric/filter": filter "/logging:v2/LogEntryOperation": log_entry_operation "/logging:v2/LogEntryOperation/last": last "/logging:v2/LogEntryOperation/id": id "/logging:v2/LogEntryOperation/producer": producer "/logging:v2/LogEntryOperation/first": first -"/logging:v2/WriteLogEntriesResponse": write_log_entries_response -"/logging:v2/MonitoredResource": monitored_resource -"/logging:v2/MonitoredResource/type": type -"/logging:v2/MonitoredResource/labels": labels -"/logging:v2/MonitoredResource/labels/label": label -"/logging:v2/LogSink": log_sink -"/logging:v2/LogSink/name": name -"/logging:v2/LogSink/filter": filter -"/logging:v2/LogSink/destination": destination -"/logging:v2/LogSink/endTime": end_time -"/logging:v2/LogSink/writerIdentity": writer_identity -"/logging:v2/LogSink/startTime": start_time -"/logging:v2/LogSink/outputVersionFormat": output_version_format -"/logging:v2/WriteLogEntriesRequest": write_log_entries_request -"/logging:v2/WriteLogEntriesRequest/logName": log_name -"/logging:v2/WriteLogEntriesRequest/entries": entries -"/logging:v2/WriteLogEntriesRequest/entries/entry": entry -"/logging:v2/WriteLogEntriesRequest/partialSuccess": partial_success -"/logging:v2/WriteLogEntriesRequest/labels": labels -"/logging:v2/WriteLogEntriesRequest/labels/label": label -"/logging:v2/WriteLogEntriesRequest/resource": resource -"/logging:v2beta1/key": key "/logging:v2beta1/quotaUser": quota_user "/logging:v2beta1/fields": fields +"/logging:v2beta1/key": key "/logging:v2beta1/logging.monitoredResourceDescriptors.list": list_monitored_resource_descriptors "/logging:v2beta1/logging.monitoredResourceDescriptors.list/pageToken": page_token "/logging:v2beta1/logging.monitoredResourceDescriptors.list/pageSize": page_size -"/logging:v2beta1/logging.organizations.logs.list": list_organization_logs -"/logging:v2beta1/logging.organizations.logs.list/parent": parent -"/logging:v2beta1/logging.organizations.logs.list/pageToken": page_token -"/logging:v2beta1/logging.organizations.logs.list/pageSize": page_size "/logging:v2beta1/logging.organizations.logs.delete": delete_organization_log "/logging:v2beta1/logging.organizations.logs.delete/logName": log_name +"/logging:v2beta1/logging.organizations.logs.list": list_organization_logs +"/logging:v2beta1/logging.organizations.logs.list/pageToken": page_token +"/logging:v2beta1/logging.organizations.logs.list/pageSize": page_size +"/logging:v2beta1/logging.organizations.logs.list/parent": parent "/logging:v2beta1/logging.entries.list": list_entry_log_entries "/logging:v2beta1/logging.entries.write": write_entry_log_entries "/logging:v2beta1/logging.projects.logs.delete/logName": log_name +"/logging:v2beta1/logging.projects.logs.list/parent": parent "/logging:v2beta1/logging.projects.logs.list/pageToken": page_token "/logging:v2beta1/logging.projects.logs.list/pageSize": page_size -"/logging:v2beta1/logging.projects.logs.list/parent": parent "/logging:v2beta1/logging.projects.sinks.delete": delete_project_sink "/logging:v2beta1/logging.projects.sinks.delete/sinkName": sink_name "/logging:v2beta1/logging.projects.sinks.list": list_project_sinks @@ -31152,6 +31122,8 @@ "/logging:v2beta1/logging.projects.sinks.create": create_project_sink "/logging:v2beta1/logging.projects.sinks.create/parent": parent "/logging:v2beta1/logging.projects.sinks.create/uniqueWriterIdentity": unique_writer_identity +"/logging:v2beta1/logging.projects.metrics.update": update_project_metric +"/logging:v2beta1/logging.projects.metrics.update/metricName": metric_name "/logging:v2beta1/logging.projects.metrics.create": create_project_metric "/logging:v2beta1/logging.projects.metrics.create/parent": parent "/logging:v2beta1/logging.projects.metrics.delete": delete_project_metric @@ -31162,59 +31134,13 @@ "/logging:v2beta1/logging.projects.metrics.list/pageSize": page_size "/logging:v2beta1/logging.projects.metrics.get": get_project_metric "/logging:v2beta1/logging.projects.metrics.get/metricName": metric_name -"/logging:v2beta1/logging.projects.metrics.update": update_project_metric -"/logging:v2beta1/logging.projects.metrics.update/metricName": metric_name "/logging:v2beta1/logging.billingAccounts.logs.delete": delete_billing_account_log "/logging:v2beta1/logging.billingAccounts.logs.delete/logName": log_name "/logging:v2beta1/logging.billingAccounts.logs.list": list_billing_account_logs -"/logging:v2beta1/logging.billingAccounts.logs.list/pageSize": page_size "/logging:v2beta1/logging.billingAccounts.logs.list/parent": parent "/logging:v2beta1/logging.billingAccounts.logs.list/pageToken": page_token -"/logging:v2beta1/LogLine": log_line -"/logging:v2beta1/LogLine/severity": severity -"/logging:v2beta1/LogLine/logMessage": log_message -"/logging:v2beta1/LogLine/sourceLocation": source_location -"/logging:v2beta1/LogLine/time": time -"/logging:v2beta1/ListLogMetricsResponse": list_log_metrics_response -"/logging:v2beta1/ListLogMetricsResponse/metrics": metrics -"/logging:v2beta1/ListLogMetricsResponse/metrics/metric": metric -"/logging:v2beta1/ListLogMetricsResponse/nextPageToken": next_page_token -"/logging:v2beta1/LogEntry": log_entry -"/logging:v2beta1/LogEntry/logName": log_name -"/logging:v2beta1/LogEntry/resource": resource -"/logging:v2beta1/LogEntry/httpRequest": http_request -"/logging:v2beta1/LogEntry/jsonPayload": json_payload -"/logging:v2beta1/LogEntry/jsonPayload/json_payload": json_payload -"/logging:v2beta1/LogEntry/operation": operation -"/logging:v2beta1/LogEntry/insertId": insert_id -"/logging:v2beta1/LogEntry/textPayload": text_payload -"/logging:v2beta1/LogEntry/protoPayload": proto_payload -"/logging:v2beta1/LogEntry/protoPayload/proto_payload": proto_payload -"/logging:v2beta1/LogEntry/labels": labels -"/logging:v2beta1/LogEntry/labels/label": label -"/logging:v2beta1/LogEntry/trace": trace -"/logging:v2beta1/LogEntry/severity": severity -"/logging:v2beta1/LogEntry/sourceLocation": source_location -"/logging:v2beta1/LogEntry/timestamp": timestamp -"/logging:v2beta1/Empty": empty -"/logging:v2beta1/SourceLocation": source_location -"/logging:v2beta1/SourceLocation/line": line -"/logging:v2beta1/SourceLocation/file": file -"/logging:v2beta1/SourceLocation/functionName": function_name -"/logging:v2beta1/ListLogEntriesRequest": list_log_entries_request -"/logging:v2beta1/ListLogEntriesRequest/pageToken": page_token -"/logging:v2beta1/ListLogEntriesRequest/pageSize": page_size -"/logging:v2beta1/ListLogEntriesRequest/orderBy": order_by -"/logging:v2beta1/ListLogEntriesRequest/resourceNames": resource_names -"/logging:v2beta1/ListLogEntriesRequest/resourceNames/resource_name": resource_name -"/logging:v2beta1/ListLogEntriesRequest/filter": filter -"/logging:v2beta1/ListLogEntriesRequest/projectIds": project_ids -"/logging:v2beta1/ListLogEntriesRequest/projectIds/project_id": project_id +"/logging:v2beta1/logging.billingAccounts.logs.list/pageSize": page_size "/logging:v2beta1/RequestLog": request_log -"/logging:v2beta1/RequestLog/line": line -"/logging:v2beta1/RequestLog/line/line": line -"/logging:v2beta1/RequestLog/referrer": referrer -"/logging:v2beta1/RequestLog/taskQueueName": task_queue_name "/logging:v2beta1/RequestLog/requestId": request_id "/logging:v2beta1/RequestLog/nickname": nickname "/logging:v2beta1/RequestLog/status": status @@ -31223,8 +31149,8 @@ "/logging:v2beta1/RequestLog/taskName": task_name "/logging:v2beta1/RequestLog/urlMapEntry": url_map_entry "/logging:v2beta1/RequestLog/instanceIndex": instance_index -"/logging:v2beta1/RequestLog/host": host "/logging:v2beta1/RequestLog/finished": finished +"/logging:v2beta1/RequestLog/host": host "/logging:v2beta1/RequestLog/httpVersion": http_version "/logging:v2beta1/RequestLog/startTime": start_time "/logging:v2beta1/RequestLog/latency": latency @@ -31245,115 +31171,140 @@ "/logging:v2beta1/RequestLog/sourceReference/source_reference": source_reference "/logging:v2beta1/RequestLog/responseSize": response_size "/logging:v2beta1/RequestLog/traceId": trace_id +"/logging:v2beta1/RequestLog/line": line +"/logging:v2beta1/RequestLog/line/line": line +"/logging:v2beta1/RequestLog/referrer": referrer +"/logging:v2beta1/RequestLog/taskQueueName": task_queue_name "/logging:v2beta1/ListMonitoredResourceDescriptorsResponse": list_monitored_resource_descriptors_response +"/logging:v2beta1/ListMonitoredResourceDescriptorsResponse/nextPageToken": next_page_token "/logging:v2beta1/ListMonitoredResourceDescriptorsResponse/resourceDescriptors": resource_descriptors "/logging:v2beta1/ListMonitoredResourceDescriptorsResponse/resourceDescriptors/resource_descriptor": resource_descriptor -"/logging:v2beta1/ListMonitoredResourceDescriptorsResponse/nextPageToken": next_page_token "/logging:v2beta1/SourceReference": source_reference -"/logging:v2beta1/SourceReference/repository": repository "/logging:v2beta1/SourceReference/revisionId": revision_id -"/logging:v2beta1/LogEntryOperation": log_entry_operation -"/logging:v2beta1/LogEntryOperation/producer": producer -"/logging:v2beta1/LogEntryOperation/first": first -"/logging:v2beta1/LogEntryOperation/last": last -"/logging:v2beta1/LogEntryOperation/id": id +"/logging:v2beta1/SourceReference/repository": repository "/logging:v2beta1/LogMetric": log_metric -"/logging:v2beta1/LogMetric/name": name -"/logging:v2beta1/LogMetric/description": description "/logging:v2beta1/LogMetric/version": version "/logging:v2beta1/LogMetric/filter": filter +"/logging:v2beta1/LogMetric/name": name +"/logging:v2beta1/LogMetric/description": description +"/logging:v2beta1/LogEntryOperation": log_entry_operation +"/logging:v2beta1/LogEntryOperation/last": last +"/logging:v2beta1/LogEntryOperation/id": id +"/logging:v2beta1/LogEntryOperation/producer": producer +"/logging:v2beta1/LogEntryOperation/first": first "/logging:v2beta1/WriteLogEntriesResponse": write_log_entries_response "/logging:v2beta1/MonitoredResource": monitored_resource "/logging:v2beta1/MonitoredResource/labels": labels "/logging:v2beta1/MonitoredResource/labels/label": label "/logging:v2beta1/MonitoredResource/type": type "/logging:v2beta1/WriteLogEntriesRequest": write_log_entries_request -"/logging:v2beta1/WriteLogEntriesRequest/labels": labels -"/logging:v2beta1/WriteLogEntriesRequest/labels/label": label -"/logging:v2beta1/WriteLogEntriesRequest/resource": resource "/logging:v2beta1/WriteLogEntriesRequest/logName": log_name "/logging:v2beta1/WriteLogEntriesRequest/entries": entries "/logging:v2beta1/WriteLogEntriesRequest/entries/entry": entry "/logging:v2beta1/WriteLogEntriesRequest/partialSuccess": partial_success +"/logging:v2beta1/WriteLogEntriesRequest/labels": labels +"/logging:v2beta1/WriteLogEntriesRequest/labels/label": label +"/logging:v2beta1/WriteLogEntriesRequest/resource": resource "/logging:v2beta1/LogSink": log_sink -"/logging:v2beta1/LogSink/writerIdentity": writer_identity "/logging:v2beta1/LogSink/startTime": start_time +"/logging:v2beta1/LogSink/writerIdentity": writer_identity "/logging:v2beta1/LogSink/outputVersionFormat": output_version_format "/logging:v2beta1/LogSink/name": name -"/logging:v2beta1/LogSink/filter": filter "/logging:v2beta1/LogSink/destination": destination +"/logging:v2beta1/LogSink/filter": filter "/logging:v2beta1/LogSink/endTime": end_time "/logging:v2beta1/ListLogsResponse": list_logs_response +"/logging:v2beta1/ListLogsResponse/nextPageToken": next_page_token "/logging:v2beta1/ListLogsResponse/logNames": log_names "/logging:v2beta1/ListLogsResponse/logNames/log_name": log_name -"/logging:v2beta1/ListLogsResponse/nextPageToken": next_page_token "/logging:v2beta1/HttpRequest": http_request -"/logging:v2beta1/HttpRequest/cacheHit": cache_hit -"/logging:v2beta1/HttpRequest/cacheValidatedWithOriginServer": cache_validated_with_origin_server -"/logging:v2beta1/HttpRequest/status": status -"/logging:v2beta1/HttpRequest/referer": referer -"/logging:v2beta1/HttpRequest/latency": latency "/logging:v2beta1/HttpRequest/userAgent": user_agent +"/logging:v2beta1/HttpRequest/latency": latency "/logging:v2beta1/HttpRequest/cacheFillBytes": cache_fill_bytes "/logging:v2beta1/HttpRequest/requestMethod": request_method "/logging:v2beta1/HttpRequest/requestSize": request_size "/logging:v2beta1/HttpRequest/responseSize": response_size "/logging:v2beta1/HttpRequest/requestUrl": request_url -"/logging:v2beta1/HttpRequest/remoteIp": remote_ip "/logging:v2beta1/HttpRequest/serverIp": server_ip +"/logging:v2beta1/HttpRequest/remoteIp": remote_ip "/logging:v2beta1/HttpRequest/cacheLookup": cache_lookup +"/logging:v2beta1/HttpRequest/cacheHit": cache_hit +"/logging:v2beta1/HttpRequest/cacheValidatedWithOriginServer": cache_validated_with_origin_server +"/logging:v2beta1/HttpRequest/status": status +"/logging:v2beta1/HttpRequest/referer": referer "/logging:v2beta1/ListSinksResponse": list_sinks_response "/logging:v2beta1/ListSinksResponse/sinks": sinks "/logging:v2beta1/ListSinksResponse/sinks/sink": sink "/logging:v2beta1/ListSinksResponse/nextPageToken": next_page_token "/logging:v2beta1/LabelDescriptor": label_descriptor +"/logging:v2beta1/LabelDescriptor/key": key "/logging:v2beta1/LabelDescriptor/description": description "/logging:v2beta1/LabelDescriptor/valueType": value_type -"/logging:v2beta1/LabelDescriptor/key": key "/logging:v2beta1/MonitoredResourceDescriptor": monitored_resource_descriptor -"/logging:v2beta1/MonitoredResourceDescriptor/displayName": display_name -"/logging:v2beta1/MonitoredResourceDescriptor/description": description -"/logging:v2beta1/MonitoredResourceDescriptor/type": type "/logging:v2beta1/MonitoredResourceDescriptor/labels": labels "/logging:v2beta1/MonitoredResourceDescriptor/labels/label": label "/logging:v2beta1/MonitoredResourceDescriptor/name": name +"/logging:v2beta1/MonitoredResourceDescriptor/displayName": display_name +"/logging:v2beta1/MonitoredResourceDescriptor/description": description +"/logging:v2beta1/MonitoredResourceDescriptor/type": type "/logging:v2beta1/LogEntrySourceLocation": log_entry_source_location "/logging:v2beta1/LogEntrySourceLocation/file": file "/logging:v2beta1/LogEntrySourceLocation/function": function "/logging:v2beta1/LogEntrySourceLocation/line": line "/logging:v2beta1/ListLogEntriesResponse": list_log_entries_response +"/logging:v2beta1/ListLogEntriesResponse/nextPageToken": next_page_token "/logging:v2beta1/ListLogEntriesResponse/entries": entries "/logging:v2beta1/ListLogEntriesResponse/entries/entry": entry -"/logging:v2beta1/ListLogEntriesResponse/nextPageToken": next_page_token +"/logging:v2beta1/LogLine": log_line +"/logging:v2beta1/LogLine/severity": severity +"/logging:v2beta1/LogLine/logMessage": log_message +"/logging:v2beta1/LogLine/sourceLocation": source_location +"/logging:v2beta1/LogLine/time": time +"/logging:v2beta1/ListLogMetricsResponse": list_log_metrics_response +"/logging:v2beta1/ListLogMetricsResponse/nextPageToken": next_page_token +"/logging:v2beta1/ListLogMetricsResponse/metrics": metrics +"/logging:v2beta1/ListLogMetricsResponse/metrics/metric": metric +"/logging:v2beta1/Empty": empty +"/logging:v2beta1/LogEntry": log_entry +"/logging:v2beta1/LogEntry/logName": log_name +"/logging:v2beta1/LogEntry/httpRequest": http_request +"/logging:v2beta1/LogEntry/resource": resource +"/logging:v2beta1/LogEntry/jsonPayload": json_payload +"/logging:v2beta1/LogEntry/jsonPayload/json_payload": json_payload +"/logging:v2beta1/LogEntry/insertId": insert_id +"/logging:v2beta1/LogEntry/operation": operation +"/logging:v2beta1/LogEntry/textPayload": text_payload +"/logging:v2beta1/LogEntry/protoPayload": proto_payload +"/logging:v2beta1/LogEntry/protoPayload/proto_payload": proto_payload +"/logging:v2beta1/LogEntry/trace": trace +"/logging:v2beta1/LogEntry/labels": labels +"/logging:v2beta1/LogEntry/labels/label": label +"/logging:v2beta1/LogEntry/severity": severity +"/logging:v2beta1/LogEntry/sourceLocation": source_location +"/logging:v2beta1/LogEntry/timestamp": timestamp +"/logging:v2beta1/SourceLocation": source_location +"/logging:v2beta1/SourceLocation/file": file +"/logging:v2beta1/SourceLocation/functionName": function_name +"/logging:v2beta1/SourceLocation/line": line +"/logging:v2beta1/ListLogEntriesRequest": list_log_entries_request +"/logging:v2beta1/ListLogEntriesRequest/orderBy": order_by +"/logging:v2beta1/ListLogEntriesRequest/resourceNames": resource_names +"/logging:v2beta1/ListLogEntriesRequest/resourceNames/resource_name": resource_name +"/logging:v2beta1/ListLogEntriesRequest/filter": filter +"/logging:v2beta1/ListLogEntriesRequest/projectIds": project_ids +"/logging:v2beta1/ListLogEntriesRequest/projectIds/project_id": project_id +"/logging:v2beta1/ListLogEntriesRequest/pageToken": page_token +"/logging:v2beta1/ListLogEntriesRequest/pageSize": page_size "/manufacturers:v1/fields": fields "/manufacturers:v1/key": key "/manufacturers:v1/quotaUser": quota_user "/manufacturers:v1/manufacturers.accounts.products.list": list_account_products -"/manufacturers:v1/manufacturers.accounts.products.list/parent": parent "/manufacturers:v1/manufacturers.accounts.products.list/pageToken": page_token "/manufacturers:v1/manufacturers.accounts.products.list/pageSize": page_size +"/manufacturers:v1/manufacturers.accounts.products.list/parent": parent "/manufacturers:v1/manufacturers.accounts.products.get": get_account_product "/manufacturers:v1/manufacturers.accounts.products.get/parent": parent "/manufacturers:v1/manufacturers.accounts.products.get/name": name -"/manufacturers:v1/Count": count -"/manufacturers:v1/Count/value": value -"/manufacturers:v1/Count/unit": unit -"/manufacturers:v1/Product": product -"/manufacturers:v1/Product/manuallyDeletedAttributes": manually_deleted_attributes -"/manufacturers:v1/Product/manuallyDeletedAttributes/manually_deleted_attribute": manually_deleted_attribute -"/manufacturers:v1/Product/issues": issues -"/manufacturers:v1/Product/issues/issue": issue -"/manufacturers:v1/Product/finalAttributes": final_attributes -"/manufacturers:v1/Product/productId": product_id -"/manufacturers:v1/Product/uploadedAttributes": uploaded_attributes -"/manufacturers:v1/Product/parent": parent -"/manufacturers:v1/Product/manuallyProvidedAttributes": manually_provided_attributes -"/manufacturers:v1/Product/contentLanguage": content_language -"/manufacturers:v1/Product/targetCountry": target_country -"/manufacturers:v1/Product/name": name -"/manufacturers:v1/Capacity": capacity -"/manufacturers:v1/Capacity/value": value -"/manufacturers:v1/Capacity/unit": unit "/manufacturers:v1/ListProductsResponse": list_products_response "/manufacturers:v1/ListProductsResponse/products": products "/manufacturers:v1/ListProductsResponse/products/product": product @@ -31369,33 +31320,17 @@ "/manufacturers:v1/Issue/type": type "/manufacturers:v1/Issue/attribute": attribute "/manufacturers:v1/FeatureDescription": feature_description -"/manufacturers:v1/FeatureDescription/headline": headline "/manufacturers:v1/FeatureDescription/text": text "/manufacturers:v1/FeatureDescription/image": image +"/manufacturers:v1/FeatureDescription/headline": headline "/manufacturers:v1/Price": price -"/manufacturers:v1/Price/amount": amount "/manufacturers:v1/Price/currency": currency +"/manufacturers:v1/Price/amount": amount "/manufacturers:v1/Image": image +"/manufacturers:v1/Image/status": status "/manufacturers:v1/Image/type": type "/manufacturers:v1/Image/imageUrl": image_url -"/manufacturers:v1/Image/status": status "/manufacturers:v1/Attributes": attributes -"/manufacturers:v1/Attributes/flavor": flavor -"/manufacturers:v1/Attributes/productDetail": product_detail -"/manufacturers:v1/Attributes/productDetail/product_detail": product_detail -"/manufacturers:v1/Attributes/ageGroup": age_group -"/manufacturers:v1/Attributes/mpn": mpn -"/manufacturers:v1/Attributes/productPageUrl": product_page_url -"/manufacturers:v1/Attributes/releaseDate": release_date -"/manufacturers:v1/Attributes/itemGroupId": item_group_id -"/manufacturers:v1/Attributes/gtin": gtin -"/manufacturers:v1/Attributes/gtin/gtin": gtin -"/manufacturers:v1/Attributes/productLine": product_line -"/manufacturers:v1/Attributes/capacity": capacity -"/manufacturers:v1/Attributes/description": description -"/manufacturers:v1/Attributes/gender": gender -"/manufacturers:v1/Attributes/sizeSystem": size_system -"/manufacturers:v1/Attributes/theme": theme "/manufacturers:v1/Attributes/pattern": pattern "/manufacturers:v1/Attributes/imageLink": image_link "/manufacturers:v1/Attributes/productType": product_type @@ -31415,9 +31350,44 @@ "/manufacturers:v1/Attributes/title": title "/manufacturers:v1/Attributes/count": count "/manufacturers:v1/Attributes/brand": brand -"/manufacturers:v1/Attributes/disclosureDate": disclosure_date "/manufacturers:v1/Attributes/material": material +"/manufacturers:v1/Attributes/disclosureDate": disclosure_date "/manufacturers:v1/Attributes/scent": scent +"/manufacturers:v1/Attributes/ageGroup": age_group +"/manufacturers:v1/Attributes/flavor": flavor +"/manufacturers:v1/Attributes/productDetail": product_detail +"/manufacturers:v1/Attributes/productDetail/product_detail": product_detail +"/manufacturers:v1/Attributes/mpn": mpn +"/manufacturers:v1/Attributes/productPageUrl": product_page_url +"/manufacturers:v1/Attributes/releaseDate": release_date +"/manufacturers:v1/Attributes/gtin": gtin +"/manufacturers:v1/Attributes/gtin/gtin": gtin +"/manufacturers:v1/Attributes/itemGroupId": item_group_id +"/manufacturers:v1/Attributes/productLine": product_line +"/manufacturers:v1/Attributes/capacity": capacity +"/manufacturers:v1/Attributes/description": description +"/manufacturers:v1/Attributes/gender": gender +"/manufacturers:v1/Attributes/sizeSystem": size_system +"/manufacturers:v1/Attributes/theme": theme +"/manufacturers:v1/Count": count +"/manufacturers:v1/Count/value": value +"/manufacturers:v1/Count/unit": unit +"/manufacturers:v1/Product": product +"/manufacturers:v1/Product/issues": issues +"/manufacturers:v1/Product/issues/issue": issue +"/manufacturers:v1/Product/manuallyDeletedAttributes": manually_deleted_attributes +"/manufacturers:v1/Product/manuallyDeletedAttributes/manually_deleted_attribute": manually_deleted_attribute +"/manufacturers:v1/Product/finalAttributes": final_attributes +"/manufacturers:v1/Product/productId": product_id +"/manufacturers:v1/Product/uploadedAttributes": uploaded_attributes +"/manufacturers:v1/Product/parent": parent +"/manufacturers:v1/Product/manuallyProvidedAttributes": manually_provided_attributes +"/manufacturers:v1/Product/contentLanguage": content_language +"/manufacturers:v1/Product/targetCountry": target_country +"/manufacturers:v1/Product/name": name +"/manufacturers:v1/Capacity": capacity +"/manufacturers:v1/Capacity/value": value +"/manufacturers:v1/Capacity/unit": unit "/mirror:v1/fields": fields "/mirror:v1/key": key "/mirror:v1/quotaUser": quota_user @@ -31608,47 +31578,34 @@ "/mirror:v1/UserData": user_data "/mirror:v1/UserData/key": key "/mirror:v1/UserData/value": value +"/ml:v1/quotaUser": quota_user "/ml:v1/fields": fields "/ml:v1/key": key -"/ml:v1/quotaUser": quota_user -"/ml:v1/ml.projects.getConfig": get_project_config -"/ml:v1/ml.projects.getConfig/name": name "/ml:v1/ml.projects.predict": predict_project "/ml:v1/ml.projects.predict/name": name -"/ml:v1/ml.projects.jobs.cancel": cancel_project_job -"/ml:v1/ml.projects.jobs.cancel/name": name -"/ml:v1/ml.projects.jobs.list": list_project_jobs -"/ml:v1/ml.projects.jobs.list/pageToken": page_token -"/ml:v1/ml.projects.jobs.list/pageSize": page_size -"/ml:v1/ml.projects.jobs.list/parent": parent -"/ml:v1/ml.projects.jobs.list/filter": filter -"/ml:v1/ml.projects.jobs.get": get_project_job -"/ml:v1/ml.projects.jobs.get/name": name -"/ml:v1/ml.projects.jobs.create": create_project_job -"/ml:v1/ml.projects.jobs.create/parent": parent +"/ml:v1/ml.projects.getConfig": get_project_config +"/ml:v1/ml.projects.getConfig/name": name +"/ml:v1/ml.projects.operations.list": list_project_operations +"/ml:v1/ml.projects.operations.list/filter": filter +"/ml:v1/ml.projects.operations.list/name": name +"/ml:v1/ml.projects.operations.list/pageToken": page_token +"/ml:v1/ml.projects.operations.list/pageSize": page_size +"/ml:v1/ml.projects.operations.get": get_project_operation +"/ml:v1/ml.projects.operations.get/name": name "/ml:v1/ml.projects.operations.cancel": cancel_project_operation "/ml:v1/ml.projects.operations.cancel/name": name "/ml:v1/ml.projects.operations.delete": delete_project_operation "/ml:v1/ml.projects.operations.delete/name": name -"/ml:v1/ml.projects.operations.list": list_project_operations -"/ml:v1/ml.projects.operations.list/name": name -"/ml:v1/ml.projects.operations.list/pageToken": page_token -"/ml:v1/ml.projects.operations.list/pageSize": page_size -"/ml:v1/ml.projects.operations.list/filter": filter -"/ml:v1/ml.projects.operations.get": get_project_operation -"/ml:v1/ml.projects.operations.get/name": name "/ml:v1/ml.projects.models.delete": delete_project_model "/ml:v1/ml.projects.models.delete/name": name "/ml:v1/ml.projects.models.list": list_project_models -"/ml:v1/ml.projects.models.list/pageToken": page_token "/ml:v1/ml.projects.models.list/pageSize": page_size "/ml:v1/ml.projects.models.list/parent": parent +"/ml:v1/ml.projects.models.list/pageToken": page_token "/ml:v1/ml.projects.models.get": get_project_model "/ml:v1/ml.projects.models.get/name": name "/ml:v1/ml.projects.models.create": create_project_model "/ml:v1/ml.projects.models.create/parent": parent -"/ml:v1/ml.projects.models.versions.delete": delete_project_model_version -"/ml:v1/ml.projects.models.versions.delete/name": name "/ml:v1/ml.projects.models.versions.list": list_project_model_versions "/ml:v1/ml.projects.models.versions.list/pageToken": page_token "/ml:v1/ml.projects.models.versions.list/pageSize": page_size @@ -31659,6 +31616,137 @@ "/ml:v1/ml.projects.models.versions.create/parent": parent "/ml:v1/ml.projects.models.versions.setDefault": set_project_model_version_default "/ml:v1/ml.projects.models.versions.setDefault/name": name +"/ml:v1/ml.projects.models.versions.delete": delete_project_model_version +"/ml:v1/ml.projects.models.versions.delete/name": name +"/ml:v1/ml.projects.jobs.list": list_project_jobs +"/ml:v1/ml.projects.jobs.list/pageSize": page_size +"/ml:v1/ml.projects.jobs.list/parent": parent +"/ml:v1/ml.projects.jobs.list/filter": filter +"/ml:v1/ml.projects.jobs.list/pageToken": page_token +"/ml:v1/ml.projects.jobs.get": get_project_job +"/ml:v1/ml.projects.jobs.get/name": name +"/ml:v1/ml.projects.jobs.create": create_project_job +"/ml:v1/ml.projects.jobs.create/parent": parent +"/ml:v1/ml.projects.jobs.cancel": cancel_project_job +"/ml:v1/ml.projects.jobs.cancel/name": name +"/ml:v1/GoogleCloudMlV1__Version": google_cloud_ml_v1__version +"/ml:v1/GoogleCloudMlV1__Version/runtimeVersion": runtime_version +"/ml:v1/GoogleCloudMlV1__Version/lastUseTime": last_use_time +"/ml:v1/GoogleCloudMlV1__Version/description": description +"/ml:v1/GoogleCloudMlV1__Version/deploymentUri": deployment_uri +"/ml:v1/GoogleCloudMlV1__Version/isDefault": is_default +"/ml:v1/GoogleCloudMlV1__Version/createTime": create_time +"/ml:v1/GoogleCloudMlV1__Version/manualScaling": manual_scaling +"/ml:v1/GoogleCloudMlV1__Version/name": name +"/ml:v1/GoogleCloudMlV1__ParameterSpec": google_cloud_ml_v1__parameter_spec +"/ml:v1/GoogleCloudMlV1__ParameterSpec/minValue": min_value +"/ml:v1/GoogleCloudMlV1__ParameterSpec/discreteValues": discrete_values +"/ml:v1/GoogleCloudMlV1__ParameterSpec/discreteValues/discrete_value": discrete_value +"/ml:v1/GoogleCloudMlV1__ParameterSpec/scaleType": scale_type +"/ml:v1/GoogleCloudMlV1__ParameterSpec/maxValue": max_value +"/ml:v1/GoogleCloudMlV1__ParameterSpec/type": type +"/ml:v1/GoogleCloudMlV1__ParameterSpec/parameterName": parameter_name +"/ml:v1/GoogleCloudMlV1__ParameterSpec/categoricalValues": categorical_values +"/ml:v1/GoogleCloudMlV1__ParameterSpec/categoricalValues/categorical_value": categorical_value +"/ml:v1/GoogleCloudMlV1__PredictionInput": google_cloud_ml_v1__prediction_input +"/ml:v1/GoogleCloudMlV1__PredictionInput/dataFormat": data_format +"/ml:v1/GoogleCloudMlV1__PredictionInput/runtimeVersion": runtime_version +"/ml:v1/GoogleCloudMlV1__PredictionInput/inputPaths": input_paths +"/ml:v1/GoogleCloudMlV1__PredictionInput/inputPaths/input_path": input_path +"/ml:v1/GoogleCloudMlV1__PredictionInput/region": region +"/ml:v1/GoogleCloudMlV1__PredictionInput/versionName": version_name +"/ml:v1/GoogleCloudMlV1__PredictionInput/modelName": model_name +"/ml:v1/GoogleCloudMlV1__PredictionInput/outputPath": output_path +"/ml:v1/GoogleCloudMlV1__PredictionInput/uri": uri +"/ml:v1/GoogleCloudMlV1__PredictionInput/maxWorkerCount": max_worker_count +"/ml:v1/GoogleCloudMlV1beta1__OperationMetadata": google_cloud_ml_v1beta1__operation_metadata +"/ml:v1/GoogleCloudMlV1beta1__OperationMetadata/isCancellationRequested": is_cancellation_requested +"/ml:v1/GoogleCloudMlV1beta1__OperationMetadata/createTime": create_time +"/ml:v1/GoogleCloudMlV1beta1__OperationMetadata/modelName": model_name +"/ml:v1/GoogleCloudMlV1beta1__OperationMetadata/version": version +"/ml:v1/GoogleCloudMlV1beta1__OperationMetadata/endTime": end_time +"/ml:v1/GoogleCloudMlV1beta1__OperationMetadata/operationType": operation_type +"/ml:v1/GoogleCloudMlV1beta1__OperationMetadata/startTime": start_time +"/ml:v1/GoogleCloudMlV1__OperationMetadata": google_cloud_ml_v1__operation_metadata +"/ml:v1/GoogleCloudMlV1__OperationMetadata/createTime": create_time +"/ml:v1/GoogleCloudMlV1__OperationMetadata/modelName": model_name +"/ml:v1/GoogleCloudMlV1__OperationMetadata/version": version +"/ml:v1/GoogleCloudMlV1__OperationMetadata/endTime": end_time +"/ml:v1/GoogleCloudMlV1__OperationMetadata/operationType": operation_type +"/ml:v1/GoogleCloudMlV1__OperationMetadata/startTime": start_time +"/ml:v1/GoogleCloudMlV1__OperationMetadata/isCancellationRequested": is_cancellation_requested +"/ml:v1/GoogleCloudMlV1__HyperparameterSpec": google_cloud_ml_v1__hyperparameter_spec +"/ml:v1/GoogleCloudMlV1__HyperparameterSpec/goal": goal +"/ml:v1/GoogleCloudMlV1__HyperparameterSpec/hyperparameterMetricTag": hyperparameter_metric_tag +"/ml:v1/GoogleCloudMlV1__HyperparameterSpec/params": params +"/ml:v1/GoogleCloudMlV1__HyperparameterSpec/params/param": param +"/ml:v1/GoogleCloudMlV1__HyperparameterSpec/maxTrials": max_trials +"/ml:v1/GoogleCloudMlV1__HyperparameterSpec/maxParallelTrials": max_parallel_trials +"/ml:v1/GoogleCloudMlV1__ListJobsResponse": google_cloud_ml_v1__list_jobs_response +"/ml:v1/GoogleCloudMlV1__ListJobsResponse/jobs": jobs +"/ml:v1/GoogleCloudMlV1__ListJobsResponse/jobs/job": job +"/ml:v1/GoogleCloudMlV1__ListJobsResponse/nextPageToken": next_page_token +"/ml:v1/GoogleCloudMlV1__SetDefaultVersionRequest": google_cloud_ml_v1__set_default_version_request +"/ml:v1/GoogleLongrunning__Operation": google_longrunning__operation +"/ml:v1/GoogleLongrunning__Operation/error": error +"/ml:v1/GoogleLongrunning__Operation/metadata": metadata +"/ml:v1/GoogleLongrunning__Operation/metadata/metadatum": metadatum +"/ml:v1/GoogleLongrunning__Operation/done": done +"/ml:v1/GoogleLongrunning__Operation/response": response +"/ml:v1/GoogleLongrunning__Operation/response/response": response +"/ml:v1/GoogleLongrunning__Operation/name": name +"/ml:v1/GoogleCloudMlV1__Model": google_cloud_ml_v1__model +"/ml:v1/GoogleCloudMlV1__Model/description": description +"/ml:v1/GoogleCloudMlV1__Model/onlinePredictionLogging": online_prediction_logging +"/ml:v1/GoogleCloudMlV1__Model/defaultVersion": default_version +"/ml:v1/GoogleCloudMlV1__Model/regions": regions +"/ml:v1/GoogleCloudMlV1__Model/regions/region": region +"/ml:v1/GoogleCloudMlV1__Model/name": name +"/ml:v1/GoogleProtobuf__Empty": google_protobuf__empty +"/ml:v1/GoogleCloudMlV1__ListVersionsResponse": google_cloud_ml_v1__list_versions_response +"/ml:v1/GoogleCloudMlV1__ListVersionsResponse/versions": versions +"/ml:v1/GoogleCloudMlV1__ListVersionsResponse/versions/version": version +"/ml:v1/GoogleCloudMlV1__ListVersionsResponse/nextPageToken": next_page_token +"/ml:v1/GoogleCloudMlV1__CancelJobRequest": google_cloud_ml_v1__cancel_job_request +"/ml:v1/GoogleCloudMlV1beta1__ManualScaling": google_cloud_ml_v1beta1__manual_scaling +"/ml:v1/GoogleCloudMlV1beta1__ManualScaling/nodes": nodes +"/ml:v1/GoogleRpc__Status": google_rpc__status +"/ml:v1/GoogleRpc__Status/code": code +"/ml:v1/GoogleRpc__Status/message": message +"/ml:v1/GoogleRpc__Status/details": details +"/ml:v1/GoogleRpc__Status/details/detail": detail +"/ml:v1/GoogleRpc__Status/details/detail/detail": detail +"/ml:v1/GoogleCloudMlV1__ListModelsResponse": google_cloud_ml_v1__list_models_response +"/ml:v1/GoogleCloudMlV1__ListModelsResponse/nextPageToken": next_page_token +"/ml:v1/GoogleCloudMlV1__ListModelsResponse/models": models +"/ml:v1/GoogleCloudMlV1__ListModelsResponse/models/model": model +"/ml:v1/GoogleCloudMlV1__TrainingInput": google_cloud_ml_v1__training_input +"/ml:v1/GoogleCloudMlV1__TrainingInput/hyperparameters": hyperparameters +"/ml:v1/GoogleCloudMlV1__TrainingInput/parameterServerCount": parameter_server_count +"/ml:v1/GoogleCloudMlV1__TrainingInput/packageUris": package_uris +"/ml:v1/GoogleCloudMlV1__TrainingInput/packageUris/package_uri": package_uri +"/ml:v1/GoogleCloudMlV1__TrainingInput/workerCount": worker_count +"/ml:v1/GoogleCloudMlV1__TrainingInput/masterType": master_type +"/ml:v1/GoogleCloudMlV1__TrainingInput/runtimeVersion": runtime_version +"/ml:v1/GoogleCloudMlV1__TrainingInput/pythonModule": python_module +"/ml:v1/GoogleCloudMlV1__TrainingInput/workerType": worker_type +"/ml:v1/GoogleCloudMlV1__TrainingInput/args": args +"/ml:v1/GoogleCloudMlV1__TrainingInput/args/arg": arg +"/ml:v1/GoogleCloudMlV1__TrainingInput/region": region +"/ml:v1/GoogleCloudMlV1__TrainingInput/parameterServerType": parameter_server_type +"/ml:v1/GoogleCloudMlV1__TrainingInput/scaleTier": scale_tier +"/ml:v1/GoogleCloudMlV1__TrainingInput/jobDir": job_dir +"/ml:v1/GoogleCloudMlV1__Job": google_cloud_ml_v1__job +"/ml:v1/GoogleCloudMlV1__Job/predictionOutput": prediction_output +"/ml:v1/GoogleCloudMlV1__Job/trainingOutput": training_output +"/ml:v1/GoogleCloudMlV1__Job/createTime": create_time +"/ml:v1/GoogleCloudMlV1__Job/trainingInput": training_input +"/ml:v1/GoogleCloudMlV1__Job/predictionInput": prediction_input +"/ml:v1/GoogleCloudMlV1__Job/state": state +"/ml:v1/GoogleCloudMlV1__Job/errorMessage": error_message +"/ml:v1/GoogleCloudMlV1__Job/jobId": job_id +"/ml:v1/GoogleCloudMlV1__Job/endTime": end_time +"/ml:v1/GoogleCloudMlV1__Job/startTime": start_time "/ml:v1/GoogleApi__HttpBody": google_api__http_body "/ml:v1/GoogleApi__HttpBody/data": data "/ml:v1/GoogleApi__HttpBody/contentType": content_type @@ -31675,17 +31763,17 @@ "/ml:v1/GoogleCloudMlV1__GetConfigResponse/serviceAccountProject": service_account_project "/ml:v1/GoogleCloudMlV1__GetConfigResponse/serviceAccount": service_account "/ml:v1/GoogleCloudMlV1__HyperparameterOutput": google_cloud_ml_v1__hyperparameter_output -"/ml:v1/GoogleCloudMlV1__HyperparameterOutput/finalMetric": final_metric "/ml:v1/GoogleCloudMlV1__HyperparameterOutput/hyperparameters": hyperparameters "/ml:v1/GoogleCloudMlV1__HyperparameterOutput/hyperparameters/hyperparameter": hyperparameter "/ml:v1/GoogleCloudMlV1__HyperparameterOutput/trialId": trial_id "/ml:v1/GoogleCloudMlV1__HyperparameterOutput/allMetrics": all_metrics "/ml:v1/GoogleCloudMlV1__HyperparameterOutput/allMetrics/all_metric": all_metric +"/ml:v1/GoogleCloudMlV1__HyperparameterOutput/finalMetric": final_metric "/ml:v1/GoogleCloudMlV1__PredictionOutput": google_cloud_ml_v1__prediction_output -"/ml:v1/GoogleCloudMlV1__PredictionOutput/predictionCount": prediction_count -"/ml:v1/GoogleCloudMlV1__PredictionOutput/errorCount": error_count "/ml:v1/GoogleCloudMlV1__PredictionOutput/outputPath": output_path "/ml:v1/GoogleCloudMlV1__PredictionOutput/nodeHours": node_hours +"/ml:v1/GoogleCloudMlV1__PredictionOutput/predictionCount": prediction_count +"/ml:v1/GoogleCloudMlV1__PredictionOutput/errorCount": error_count "/ml:v1/GoogleLongrunning__ListOperationsResponse": google_longrunning__list_operations_response "/ml:v1/GoogleLongrunning__ListOperationsResponse/nextPageToken": next_page_token "/ml:v1/GoogleLongrunning__ListOperationsResponse/operations": operations @@ -31693,134 +31781,16 @@ "/ml:v1/GoogleCloudMlV1__ManualScaling": google_cloud_ml_v1__manual_scaling "/ml:v1/GoogleCloudMlV1__ManualScaling/nodes": nodes "/ml:v1/GoogleCloudMlV1__TrainingOutput": google_cloud_ml_v1__training_output +"/ml:v1/GoogleCloudMlV1__TrainingOutput/trials": trials +"/ml:v1/GoogleCloudMlV1__TrainingOutput/trials/trial": trial "/ml:v1/GoogleCloudMlV1__TrainingOutput/completedTrialCount": completed_trial_count "/ml:v1/GoogleCloudMlV1__TrainingOutput/isHyperparameterTuningJob": is_hyperparameter_tuning_job "/ml:v1/GoogleCloudMlV1__TrainingOutput/consumedMLUnits": consumed_ml_units -"/ml:v1/GoogleCloudMlV1__TrainingOutput/trials": trials -"/ml:v1/GoogleCloudMlV1__TrainingOutput/trials/trial": trial "/ml:v1/GoogleCloudMlV1__PredictRequest": google_cloud_ml_v1__predict_request "/ml:v1/GoogleCloudMlV1__PredictRequest/httpBody": http_body "/ml:v1/GoogleCloudMlV1_HyperparameterOutput_HyperparameterMetric": google_cloud_ml_v1_hyperparameter_output_hyperparameter_metric "/ml:v1/GoogleCloudMlV1_HyperparameterOutput_HyperparameterMetric/trainingStep": training_step "/ml:v1/GoogleCloudMlV1_HyperparameterOutput_HyperparameterMetric/objectiveValue": objective_value -"/ml:v1/GoogleCloudMlV1__Version": google_cloud_ml_v1__version -"/ml:v1/GoogleCloudMlV1__Version/runtimeVersion": runtime_version -"/ml:v1/GoogleCloudMlV1__Version/lastUseTime": last_use_time -"/ml:v1/GoogleCloudMlV1__Version/description": description -"/ml:v1/GoogleCloudMlV1__Version/deploymentUri": deployment_uri -"/ml:v1/GoogleCloudMlV1__Version/isDefault": is_default -"/ml:v1/GoogleCloudMlV1__Version/createTime": create_time -"/ml:v1/GoogleCloudMlV1__Version/manualScaling": manual_scaling -"/ml:v1/GoogleCloudMlV1__Version/name": name -"/ml:v1/GoogleCloudMlV1__ParameterSpec": google_cloud_ml_v1__parameter_spec -"/ml:v1/GoogleCloudMlV1__ParameterSpec/categoricalValues": categorical_values -"/ml:v1/GoogleCloudMlV1__ParameterSpec/categoricalValues/categorical_value": categorical_value -"/ml:v1/GoogleCloudMlV1__ParameterSpec/parameterName": parameter_name -"/ml:v1/GoogleCloudMlV1__ParameterSpec/minValue": min_value -"/ml:v1/GoogleCloudMlV1__ParameterSpec/discreteValues": discrete_values -"/ml:v1/GoogleCloudMlV1__ParameterSpec/discreteValues/discrete_value": discrete_value -"/ml:v1/GoogleCloudMlV1__ParameterSpec/scaleType": scale_type -"/ml:v1/GoogleCloudMlV1__ParameterSpec/maxValue": max_value -"/ml:v1/GoogleCloudMlV1__ParameterSpec/type": type -"/ml:v1/GoogleCloudMlV1__PredictionInput": google_cloud_ml_v1__prediction_input -"/ml:v1/GoogleCloudMlV1__PredictionInput/versionName": version_name -"/ml:v1/GoogleCloudMlV1__PredictionInput/modelName": model_name -"/ml:v1/GoogleCloudMlV1__PredictionInput/outputPath": output_path -"/ml:v1/GoogleCloudMlV1__PredictionInput/uri": uri -"/ml:v1/GoogleCloudMlV1__PredictionInput/maxWorkerCount": max_worker_count -"/ml:v1/GoogleCloudMlV1__PredictionInput/dataFormat": data_format -"/ml:v1/GoogleCloudMlV1__PredictionInput/runtimeVersion": runtime_version -"/ml:v1/GoogleCloudMlV1__PredictionInput/inputPaths": input_paths -"/ml:v1/GoogleCloudMlV1__PredictionInput/inputPaths/input_path": input_path -"/ml:v1/GoogleCloudMlV1__PredictionInput/region": region -"/ml:v1/GoogleCloudMlV1__OperationMetadata": google_cloud_ml_v1__operation_metadata -"/ml:v1/GoogleCloudMlV1__OperationMetadata/modelName": model_name -"/ml:v1/GoogleCloudMlV1__OperationMetadata/version": version -"/ml:v1/GoogleCloudMlV1__OperationMetadata/endTime": end_time -"/ml:v1/GoogleCloudMlV1__OperationMetadata/operationType": operation_type -"/ml:v1/GoogleCloudMlV1__OperationMetadata/startTime": start_time -"/ml:v1/GoogleCloudMlV1__OperationMetadata/isCancellationRequested": is_cancellation_requested -"/ml:v1/GoogleCloudMlV1__OperationMetadata/createTime": create_time -"/ml:v1/GoogleCloudMlV1beta1__OperationMetadata": google_cloud_ml_v1beta1__operation_metadata -"/ml:v1/GoogleCloudMlV1beta1__OperationMetadata/operationType": operation_type -"/ml:v1/GoogleCloudMlV1beta1__OperationMetadata/startTime": start_time -"/ml:v1/GoogleCloudMlV1beta1__OperationMetadata/isCancellationRequested": is_cancellation_requested -"/ml:v1/GoogleCloudMlV1beta1__OperationMetadata/createTime": create_time -"/ml:v1/GoogleCloudMlV1beta1__OperationMetadata/modelName": model_name -"/ml:v1/GoogleCloudMlV1beta1__OperationMetadata/version": version -"/ml:v1/GoogleCloudMlV1beta1__OperationMetadata/endTime": end_time -"/ml:v1/GoogleCloudMlV1__HyperparameterSpec": google_cloud_ml_v1__hyperparameter_spec -"/ml:v1/GoogleCloudMlV1__HyperparameterSpec/params": params -"/ml:v1/GoogleCloudMlV1__HyperparameterSpec/params/param": param -"/ml:v1/GoogleCloudMlV1__HyperparameterSpec/maxTrials": max_trials -"/ml:v1/GoogleCloudMlV1__HyperparameterSpec/maxParallelTrials": max_parallel_trials -"/ml:v1/GoogleCloudMlV1__HyperparameterSpec/goal": goal -"/ml:v1/GoogleCloudMlV1__HyperparameterSpec/hyperparameterMetricTag": hyperparameter_metric_tag -"/ml:v1/GoogleCloudMlV1__ListJobsResponse": google_cloud_ml_v1__list_jobs_response -"/ml:v1/GoogleCloudMlV1__ListJobsResponse/jobs": jobs -"/ml:v1/GoogleCloudMlV1__ListJobsResponse/jobs/job": job -"/ml:v1/GoogleCloudMlV1__ListJobsResponse/nextPageToken": next_page_token -"/ml:v1/GoogleCloudMlV1__SetDefaultVersionRequest": google_cloud_ml_v1__set_default_version_request -"/ml:v1/GoogleLongrunning__Operation": google_longrunning__operation -"/ml:v1/GoogleLongrunning__Operation/done": done -"/ml:v1/GoogleLongrunning__Operation/response": response -"/ml:v1/GoogleLongrunning__Operation/response/response": response -"/ml:v1/GoogleLongrunning__Operation/name": name -"/ml:v1/GoogleLongrunning__Operation/error": error -"/ml:v1/GoogleLongrunning__Operation/metadata": metadata -"/ml:v1/GoogleLongrunning__Operation/metadata/metadatum": metadatum -"/ml:v1/GoogleCloudMlV1__Model": google_cloud_ml_v1__model -"/ml:v1/GoogleCloudMlV1__Model/defaultVersion": default_version -"/ml:v1/GoogleCloudMlV1__Model/regions": regions -"/ml:v1/GoogleCloudMlV1__Model/regions/region": region -"/ml:v1/GoogleCloudMlV1__Model/name": name -"/ml:v1/GoogleCloudMlV1__Model/description": description -"/ml:v1/GoogleCloudMlV1__Model/onlinePredictionLogging": online_prediction_logging -"/ml:v1/GoogleProtobuf__Empty": google_protobuf__empty -"/ml:v1/GoogleCloudMlV1__CancelJobRequest": google_cloud_ml_v1__cancel_job_request -"/ml:v1/GoogleCloudMlV1__ListVersionsResponse": google_cloud_ml_v1__list_versions_response -"/ml:v1/GoogleCloudMlV1__ListVersionsResponse/nextPageToken": next_page_token -"/ml:v1/GoogleCloudMlV1__ListVersionsResponse/versions": versions -"/ml:v1/GoogleCloudMlV1__ListVersionsResponse/versions/version": version -"/ml:v1/GoogleCloudMlV1beta1__ManualScaling": google_cloud_ml_v1beta1__manual_scaling -"/ml:v1/GoogleCloudMlV1beta1__ManualScaling/nodes": nodes -"/ml:v1/GoogleRpc__Status": google_rpc__status -"/ml:v1/GoogleRpc__Status/details": details -"/ml:v1/GoogleRpc__Status/details/detail": detail -"/ml:v1/GoogleRpc__Status/details/detail/detail": detail -"/ml:v1/GoogleRpc__Status/code": code -"/ml:v1/GoogleRpc__Status/message": message -"/ml:v1/GoogleCloudMlV1__TrainingInput": google_cloud_ml_v1__training_input -"/ml:v1/GoogleCloudMlV1__TrainingInput/scaleTier": scale_tier -"/ml:v1/GoogleCloudMlV1__TrainingInput/jobDir": job_dir -"/ml:v1/GoogleCloudMlV1__TrainingInput/hyperparameters": hyperparameters -"/ml:v1/GoogleCloudMlV1__TrainingInput/parameterServerCount": parameter_server_count -"/ml:v1/GoogleCloudMlV1__TrainingInput/packageUris": package_uris -"/ml:v1/GoogleCloudMlV1__TrainingInput/packageUris/package_uri": package_uri -"/ml:v1/GoogleCloudMlV1__TrainingInput/workerCount": worker_count -"/ml:v1/GoogleCloudMlV1__TrainingInput/masterType": master_type -"/ml:v1/GoogleCloudMlV1__TrainingInput/runtimeVersion": runtime_version -"/ml:v1/GoogleCloudMlV1__TrainingInput/pythonModule": python_module -"/ml:v1/GoogleCloudMlV1__TrainingInput/region": region -"/ml:v1/GoogleCloudMlV1__TrainingInput/args": args -"/ml:v1/GoogleCloudMlV1__TrainingInput/args/arg": arg -"/ml:v1/GoogleCloudMlV1__TrainingInput/workerType": worker_type -"/ml:v1/GoogleCloudMlV1__TrainingInput/parameterServerType": parameter_server_type -"/ml:v1/GoogleCloudMlV1__ListModelsResponse": google_cloud_ml_v1__list_models_response -"/ml:v1/GoogleCloudMlV1__ListModelsResponse/nextPageToken": next_page_token -"/ml:v1/GoogleCloudMlV1__ListModelsResponse/models": models -"/ml:v1/GoogleCloudMlV1__ListModelsResponse/models/model": model -"/ml:v1/GoogleCloudMlV1__Job": google_cloud_ml_v1__job -"/ml:v1/GoogleCloudMlV1__Job/endTime": end_time -"/ml:v1/GoogleCloudMlV1__Job/startTime": start_time -"/ml:v1/GoogleCloudMlV1__Job/predictionOutput": prediction_output -"/ml:v1/GoogleCloudMlV1__Job/trainingOutput": training_output -"/ml:v1/GoogleCloudMlV1__Job/createTime": create_time -"/ml:v1/GoogleCloudMlV1__Job/trainingInput": training_input -"/ml:v1/GoogleCloudMlV1__Job/state": state -"/ml:v1/GoogleCloudMlV1__Job/predictionInput": prediction_input -"/ml:v1/GoogleCloudMlV1__Job/errorMessage": error_message -"/ml:v1/GoogleCloudMlV1__Job/jobId": job_id "/oauth2:v2/fields": fields "/oauth2:v2/key": key "/oauth2:v2/quotaUser": quota_user @@ -31945,115 +31915,59 @@ "/pagespeedonline:v2/Result/version": version "/pagespeedonline:v2/Result/version/major": major "/pagespeedonline:v2/Result/version/minor": minor +"/partners:v2/fields": fields "/partners:v2/key": key "/partners:v2/quotaUser": quota_user -"/partners:v2/fields": fields -"/partners:v2/partners.exams.getToken": get_exam_token -"/partners:v2/partners.exams.getToken/requestMetadata.trafficSource.trafficSourceId": request_metadata_traffic_source_traffic_source_id -"/partners:v2/partners.exams.getToken/requestMetadata.locale": request_metadata_locale -"/partners:v2/partners.exams.getToken/requestMetadata.userOverrides.ipAddress": request_metadata_user_overrides_ip_address -"/partners:v2/partners.exams.getToken/requestMetadata.experimentIds": request_metadata_experiment_ids -"/partners:v2/partners.exams.getToken/requestMetadata.trafficSource.trafficSubId": request_metadata_traffic_source_traffic_sub_id -"/partners:v2/partners.exams.getToken/examType": exam_type -"/partners:v2/partners.exams.getToken/requestMetadata.partnersSessionId": request_metadata_partners_session_id -"/partners:v2/partners.exams.getToken/requestMetadata.userOverrides.userId": request_metadata_user_overrides_user_id -"/partners:v2/partners.leads.list": list_leads -"/partners:v2/partners.leads.list/pageSize": page_size -"/partners:v2/partners.leads.list/requestMetadata.trafficSource.trafficSourceId": request_metadata_traffic_source_traffic_source_id -"/partners:v2/partners.leads.list/requestMetadata.locale": request_metadata_locale -"/partners:v2/partners.leads.list/requestMetadata.userOverrides.ipAddress": request_metadata_user_overrides_ip_address -"/partners:v2/partners.leads.list/requestMetadata.experimentIds": request_metadata_experiment_ids -"/partners:v2/partners.leads.list/requestMetadata.trafficSource.trafficSubId": request_metadata_traffic_source_traffic_sub_id -"/partners:v2/partners.leads.list/orderBy": order_by -"/partners:v2/partners.leads.list/requestMetadata.userOverrides.userId": request_metadata_user_overrides_user_id -"/partners:v2/partners.leads.list/requestMetadata.partnersSessionId": request_metadata_partners_session_id -"/partners:v2/partners.leads.list/pageToken": page_token -"/partners:v2/partners.offers.list": list_offers -"/partners:v2/partners.offers.list/requestMetadata.userOverrides.userId": request_metadata_user_overrides_user_id -"/partners:v2/partners.offers.list/requestMetadata.partnersSessionId": request_metadata_partners_session_id -"/partners:v2/partners.offers.list/requestMetadata.trafficSource.trafficSourceId": request_metadata_traffic_source_traffic_source_id -"/partners:v2/partners.offers.list/requestMetadata.locale": request_metadata_locale -"/partners:v2/partners.offers.list/requestMetadata.userOverrides.ipAddress": request_metadata_user_overrides_ip_address -"/partners:v2/partners.offers.list/requestMetadata.experimentIds": request_metadata_experiment_ids -"/partners:v2/partners.offers.list/requestMetadata.trafficSource.trafficSubId": request_metadata_traffic_source_traffic_sub_id -"/partners:v2/partners.offers.history.list": list_offer_histories -"/partners:v2/partners.offers.history.list/pageSize": page_size -"/partners:v2/partners.offers.history.list/requestMetadata.trafficSource.trafficSourceId": request_metadata_traffic_source_traffic_source_id -"/partners:v2/partners.offers.history.list/requestMetadata.locale": request_metadata_locale -"/partners:v2/partners.offers.history.list/requestMetadata.userOverrides.ipAddress": request_metadata_user_overrides_ip_address -"/partners:v2/partners.offers.history.list/requestMetadata.experimentIds": request_metadata_experiment_ids -"/partners:v2/partners.offers.history.list/entireCompany": entire_company -"/partners:v2/partners.offers.history.list/orderBy": order_by -"/partners:v2/partners.offers.history.list/requestMetadata.trafficSource.trafficSubId": request_metadata_traffic_source_traffic_sub_id -"/partners:v2/partners.offers.history.list/requestMetadata.userOverrides.userId": request_metadata_user_overrides_user_id -"/partners:v2/partners.offers.history.list/requestMetadata.partnersSessionId": request_metadata_partners_session_id -"/partners:v2/partners.offers.history.list/pageToken": page_token -"/partners:v2/partners.userStates.list": list_user_states -"/partners:v2/partners.userStates.list/requestMetadata.userOverrides.userId": request_metadata_user_overrides_user_id -"/partners:v2/partners.userStates.list/requestMetadata.partnersSessionId": request_metadata_partners_session_id -"/partners:v2/partners.userStates.list/requestMetadata.trafficSource.trafficSourceId": request_metadata_traffic_source_traffic_source_id -"/partners:v2/partners.userStates.list/requestMetadata.locale": request_metadata_locale -"/partners:v2/partners.userStates.list/requestMetadata.userOverrides.ipAddress": request_metadata_user_overrides_ip_address -"/partners:v2/partners.userStates.list/requestMetadata.experimentIds": request_metadata_experiment_ids -"/partners:v2/partners.userStates.list/requestMetadata.trafficSource.trafficSubId": request_metadata_traffic_source_traffic_sub_id -"/partners:v2/partners.analytics.list": list_analytics -"/partners:v2/partners.analytics.list/pageSize": page_size -"/partners:v2/partners.analytics.list/requestMetadata.trafficSource.trafficSourceId": request_metadata_traffic_source_traffic_source_id -"/partners:v2/partners.analytics.list/requestMetadata.locale": request_metadata_locale -"/partners:v2/partners.analytics.list/requestMetadata.userOverrides.ipAddress": request_metadata_user_overrides_ip_address -"/partners:v2/partners.analytics.list/requestMetadata.experimentIds": request_metadata_experiment_ids -"/partners:v2/partners.analytics.list/requestMetadata.trafficSource.trafficSubId": request_metadata_traffic_source_traffic_sub_id -"/partners:v2/partners.analytics.list/requestMetadata.userOverrides.userId": request_metadata_user_overrides_user_id -"/partners:v2/partners.analytics.list/requestMetadata.partnersSessionId": request_metadata_partners_session_id -"/partners:v2/partners.analytics.list/pageToken": page_token -"/partners:v2/partners.getPartnersstatus": get_partnersstatus -"/partners:v2/partners.getPartnersstatus/requestMetadata.experimentIds": request_metadata_experiment_ids -"/partners:v2/partners.getPartnersstatus/requestMetadata.trafficSource.trafficSubId": request_metadata_traffic_source_traffic_sub_id -"/partners:v2/partners.getPartnersstatus/requestMetadata.userOverrides.userId": request_metadata_user_overrides_user_id -"/partners:v2/partners.getPartnersstatus/requestMetadata.partnersSessionId": request_metadata_partners_session_id -"/partners:v2/partners.getPartnersstatus/requestMetadata.trafficSource.trafficSourceId": request_metadata_traffic_source_traffic_source_id -"/partners:v2/partners.getPartnersstatus/requestMetadata.locale": request_metadata_locale -"/partners:v2/partners.getPartnersstatus/requestMetadata.userOverrides.ipAddress": request_metadata_user_overrides_ip_address -"/partners:v2/partners.updateLeads": update_leads -"/partners:v2/partners.updateLeads/requestMetadata.partnersSessionId": request_metadata_partners_session_id -"/partners:v2/partners.updateLeads/requestMetadata.userOverrides.userId": request_metadata_user_overrides_user_id -"/partners:v2/partners.updateLeads/requestMetadata.trafficSource.trafficSourceId": request_metadata_traffic_source_traffic_source_id -"/partners:v2/partners.updateLeads/requestMetadata.locale": request_metadata_locale -"/partners:v2/partners.updateLeads/requestMetadata.userOverrides.ipAddress": request_metadata_user_overrides_ip_address -"/partners:v2/partners.updateLeads/updateMask": update_mask -"/partners:v2/partners.updateLeads/requestMetadata.experimentIds": request_metadata_experiment_ids -"/partners:v2/partners.updateLeads/requestMetadata.trafficSource.trafficSubId": request_metadata_traffic_source_traffic_sub_id -"/partners:v2/partners.updateCompanies": update_companies -"/partners:v2/partners.updateCompanies/requestMetadata.trafficSource.trafficSourceId": request_metadata_traffic_source_traffic_source_id -"/partners:v2/partners.updateCompanies/requestMetadata.locale": request_metadata_locale -"/partners:v2/partners.updateCompanies/requestMetadata.userOverrides.ipAddress": request_metadata_user_overrides_ip_address -"/partners:v2/partners.updateCompanies/updateMask": update_mask -"/partners:v2/partners.updateCompanies/requestMetadata.experimentIds": request_metadata_experiment_ids -"/partners:v2/partners.updateCompanies/requestMetadata.trafficSource.trafficSubId": request_metadata_traffic_source_traffic_sub_id -"/partners:v2/partners.updateCompanies/requestMetadata.partnersSessionId": request_metadata_partners_session_id -"/partners:v2/partners.updateCompanies/requestMetadata.userOverrides.userId": request_metadata_user_overrides_user_id +"/partners:v2/partners.users.get": get_user +"/partners:v2/partners.users.get/requestMetadata.userOverrides.userId": request_metadata_user_overrides_user_id +"/partners:v2/partners.users.get/requestMetadata.partnersSessionId": request_metadata_partners_session_id +"/partners:v2/partners.users.get/userView": user_view +"/partners:v2/partners.users.get/requestMetadata.trafficSource.trafficSourceId": request_metadata_traffic_source_traffic_source_id +"/partners:v2/partners.users.get/requestMetadata.locale": request_metadata_locale +"/partners:v2/partners.users.get/requestMetadata.userOverrides.ipAddress": request_metadata_user_overrides_ip_address +"/partners:v2/partners.users.get/requestMetadata.experimentIds": request_metadata_experiment_ids +"/partners:v2/partners.users.get/requestMetadata.trafficSource.trafficSubId": request_metadata_traffic_source_traffic_sub_id +"/partners:v2/partners.users.get/userId": user_id +"/partners:v2/partners.users.updateProfile": update_user_profile +"/partners:v2/partners.users.updateProfile/requestMetadata.userOverrides.userId": request_metadata_user_overrides_user_id +"/partners:v2/partners.users.updateProfile/requestMetadata.partnersSessionId": request_metadata_partners_session_id +"/partners:v2/partners.users.updateProfile/requestMetadata.trafficSource.trafficSourceId": request_metadata_traffic_source_traffic_source_id +"/partners:v2/partners.users.updateProfile/requestMetadata.locale": request_metadata_locale +"/partners:v2/partners.users.updateProfile/requestMetadata.userOverrides.ipAddress": request_metadata_user_overrides_ip_address +"/partners:v2/partners.users.updateProfile/requestMetadata.experimentIds": request_metadata_experiment_ids +"/partners:v2/partners.users.updateProfile/requestMetadata.trafficSource.trafficSubId": request_metadata_traffic_source_traffic_sub_id +"/partners:v2/partners.users.createCompanyRelation": create_user_company_relation +"/partners:v2/partners.users.createCompanyRelation/requestMetadata.locale": request_metadata_locale +"/partners:v2/partners.users.createCompanyRelation/requestMetadata.userOverrides.ipAddress": request_metadata_user_overrides_ip_address +"/partners:v2/partners.users.createCompanyRelation/requestMetadata.experimentIds": request_metadata_experiment_ids +"/partners:v2/partners.users.createCompanyRelation/userId": user_id +"/partners:v2/partners.users.createCompanyRelation/requestMetadata.trafficSource.trafficSubId": request_metadata_traffic_source_traffic_sub_id +"/partners:v2/partners.users.createCompanyRelation/requestMetadata.userOverrides.userId": request_metadata_user_overrides_user_id +"/partners:v2/partners.users.createCompanyRelation/requestMetadata.partnersSessionId": request_metadata_partners_session_id +"/partners:v2/partners.users.createCompanyRelation/requestMetadata.trafficSource.trafficSourceId": request_metadata_traffic_source_traffic_source_id +"/partners:v2/partners.users.deleteCompanyRelation": delete_user_company_relation +"/partners:v2/partners.users.deleteCompanyRelation/requestMetadata.partnersSessionId": request_metadata_partners_session_id +"/partners:v2/partners.users.deleteCompanyRelation/requestMetadata.userOverrides.userId": request_metadata_user_overrides_user_id +"/partners:v2/partners.users.deleteCompanyRelation/requestMetadata.trafficSource.trafficSourceId": request_metadata_traffic_source_traffic_source_id +"/partners:v2/partners.users.deleteCompanyRelation/requestMetadata.locale": request_metadata_locale +"/partners:v2/partners.users.deleteCompanyRelation/requestMetadata.userOverrides.ipAddress": request_metadata_user_overrides_ip_address +"/partners:v2/partners.users.deleteCompanyRelation/requestMetadata.experimentIds": request_metadata_experiment_ids +"/partners:v2/partners.users.deleteCompanyRelation/userId": user_id +"/partners:v2/partners.users.deleteCompanyRelation/requestMetadata.trafficSource.trafficSubId": request_metadata_traffic_source_traffic_sub_id "/partners:v2/partners.companies.get": get_company +"/partners:v2/partners.companies.get/requestMetadata.partnersSessionId": request_metadata_partners_session_id +"/partners:v2/partners.companies.get/requestMetadata.userOverrides.userId": request_metadata_user_overrides_user_id +"/partners:v2/partners.companies.get/view": view +"/partners:v2/partners.companies.get/address": address +"/partners:v2/partners.companies.get/requestMetadata.locale": request_metadata_locale "/partners:v2/partners.companies.get/requestMetadata.trafficSource.trafficSourceId": request_metadata_traffic_source_traffic_source_id "/partners:v2/partners.companies.get/requestMetadata.userOverrides.ipAddress": request_metadata_user_overrides_ip_address "/partners:v2/partners.companies.get/companyId": company_id "/partners:v2/partners.companies.get/requestMetadata.experimentIds": request_metadata_experiment_ids "/partners:v2/partners.companies.get/currencyCode": currency_code -"/partners:v2/partners.companies.get/orderBy": order_by "/partners:v2/partners.companies.get/requestMetadata.trafficSource.trafficSubId": request_metadata_traffic_source_traffic_sub_id -"/partners:v2/partners.companies.get/requestMetadata.userOverrides.userId": request_metadata_user_overrides_user_id -"/partners:v2/partners.companies.get/requestMetadata.partnersSessionId": request_metadata_partners_session_id -"/partners:v2/partners.companies.get/view": view -"/partners:v2/partners.companies.get/address": address -"/partners:v2/partners.companies.get/requestMetadata.locale": request_metadata_locale +"/partners:v2/partners.companies.get/orderBy": order_by "/partners:v2/partners.companies.list": list_companies -"/partners:v2/partners.companies.list/maxMonthlyBudget.currencyCode": max_monthly_budget_currency_code -"/partners:v2/partners.companies.list/minMonthlyBudget.currencyCode": min_monthly_budget_currency_code -"/partners:v2/partners.companies.list/requestMetadata.userOverrides.userId": request_metadata_user_overrides_user_id -"/partners:v2/partners.companies.list/view": view -"/partners:v2/partners.companies.list/requestMetadata.locale": request_metadata_locale -"/partners:v2/partners.companies.list/address": address -"/partners:v2/partners.companies.list/minMonthlyBudget.units": min_monthly_budget_units -"/partners:v2/partners.companies.list/maxMonthlyBudget.nanos": max_monthly_budget_nanos "/partners:v2/partners.companies.list/services": services "/partners:v2/partners.companies.list/maxMonthlyBudget.units": max_monthly_budget_units "/partners:v2/partners.companies.list/requestMetadata.trafficSource.trafficSourceId": request_metadata_traffic_source_traffic_source_id @@ -32071,291 +31985,162 @@ "/partners:v2/partners.companies.list/requestMetadata.experimentIds": request_metadata_experiment_ids "/partners:v2/partners.companies.list/orderBy": order_by "/partners:v2/partners.companies.list/specializations": specializations +"/partners:v2/partners.companies.list/maxMonthlyBudget.currencyCode": max_monthly_budget_currency_code +"/partners:v2/partners.companies.list/minMonthlyBudget.currencyCode": min_monthly_budget_currency_code +"/partners:v2/partners.companies.list/requestMetadata.userOverrides.userId": request_metadata_user_overrides_user_id +"/partners:v2/partners.companies.list/view": view +"/partners:v2/partners.companies.list/requestMetadata.locale": request_metadata_locale +"/partners:v2/partners.companies.list/address": address +"/partners:v2/partners.companies.list/minMonthlyBudget.units": min_monthly_budget_units +"/partners:v2/partners.companies.list/maxMonthlyBudget.nanos": max_monthly_budget_nanos "/partners:v2/partners.companies.leads.create": create_lead "/partners:v2/partners.companies.leads.create/companyId": company_id -"/partners:v2/partners.users.createCompanyRelation": create_user_company_relation -"/partners:v2/partners.users.createCompanyRelation/requestMetadata.experimentIds": request_metadata_experiment_ids -"/partners:v2/partners.users.createCompanyRelation/userId": user_id -"/partners:v2/partners.users.createCompanyRelation/requestMetadata.trafficSource.trafficSubId": request_metadata_traffic_source_traffic_sub_id -"/partners:v2/partners.users.createCompanyRelation/requestMetadata.partnersSessionId": request_metadata_partners_session_id -"/partners:v2/partners.users.createCompanyRelation/requestMetadata.userOverrides.userId": request_metadata_user_overrides_user_id -"/partners:v2/partners.users.createCompanyRelation/requestMetadata.trafficSource.trafficSourceId": request_metadata_traffic_source_traffic_source_id -"/partners:v2/partners.users.createCompanyRelation/requestMetadata.locale": request_metadata_locale -"/partners:v2/partners.users.createCompanyRelation/requestMetadata.userOverrides.ipAddress": request_metadata_user_overrides_ip_address -"/partners:v2/partners.users.deleteCompanyRelation": delete_user_company_relation -"/partners:v2/partners.users.deleteCompanyRelation/requestMetadata.userOverrides.userId": request_metadata_user_overrides_user_id -"/partners:v2/partners.users.deleteCompanyRelation/requestMetadata.partnersSessionId": request_metadata_partners_session_id -"/partners:v2/partners.users.deleteCompanyRelation/requestMetadata.trafficSource.trafficSourceId": request_metadata_traffic_source_traffic_source_id -"/partners:v2/partners.users.deleteCompanyRelation/requestMetadata.locale": request_metadata_locale -"/partners:v2/partners.users.deleteCompanyRelation/requestMetadata.userOverrides.ipAddress": request_metadata_user_overrides_ip_address -"/partners:v2/partners.users.deleteCompanyRelation/requestMetadata.experimentIds": request_metadata_experiment_ids -"/partners:v2/partners.users.deleteCompanyRelation/requestMetadata.trafficSource.trafficSubId": request_metadata_traffic_source_traffic_sub_id -"/partners:v2/partners.users.deleteCompanyRelation/userId": user_id -"/partners:v2/partners.users.get": get_user -"/partners:v2/partners.users.get/requestMetadata.partnersSessionId": request_metadata_partners_session_id -"/partners:v2/partners.users.get/requestMetadata.userOverrides.userId": request_metadata_user_overrides_user_id -"/partners:v2/partners.users.get/userView": user_view -"/partners:v2/partners.users.get/requestMetadata.trafficSource.trafficSourceId": request_metadata_traffic_source_traffic_source_id -"/partners:v2/partners.users.get/requestMetadata.locale": request_metadata_locale -"/partners:v2/partners.users.get/requestMetadata.userOverrides.ipAddress": request_metadata_user_overrides_ip_address -"/partners:v2/partners.users.get/requestMetadata.experimentIds": request_metadata_experiment_ids -"/partners:v2/partners.users.get/userId": user_id -"/partners:v2/partners.users.get/requestMetadata.trafficSource.trafficSubId": request_metadata_traffic_source_traffic_sub_id -"/partners:v2/partners.users.updateProfile": update_user_profile -"/partners:v2/partners.users.updateProfile/requestMetadata.userOverrides.userId": request_metadata_user_overrides_user_id -"/partners:v2/partners.users.updateProfile/requestMetadata.partnersSessionId": request_metadata_partners_session_id -"/partners:v2/partners.users.updateProfile/requestMetadata.trafficSource.trafficSourceId": request_metadata_traffic_source_traffic_source_id -"/partners:v2/partners.users.updateProfile/requestMetadata.locale": request_metadata_locale -"/partners:v2/partners.users.updateProfile/requestMetadata.userOverrides.ipAddress": request_metadata_user_overrides_ip_address -"/partners:v2/partners.users.updateProfile/requestMetadata.experimentIds": request_metadata_experiment_ids -"/partners:v2/partners.users.updateProfile/requestMetadata.trafficSource.trafficSubId": request_metadata_traffic_source_traffic_sub_id "/partners:v2/partners.userEvents.log": log_user_event "/partners:v2/partners.clientMessages.log": log_client_message_message -"/partners:v2/Certification": certification -"/partners:v2/Certification/lastAchieved": last_achieved -"/partners:v2/Certification/achieved": achieved -"/partners:v2/Certification/expiration": expiration -"/partners:v2/Certification/warning": warning -"/partners:v2/Certification/certificationType": certification_type -"/partners:v2/User": user -"/partners:v2/User/examStatus": exam_status -"/partners:v2/User/examStatus/exam_status": exam_status -"/partners:v2/User/id": id -"/partners:v2/User/publicProfile": public_profile -"/partners:v2/User/certificationStatus": certification_status -"/partners:v2/User/certificationStatus/certification_status": certification_status -"/partners:v2/User/companyVerificationEmail": company_verification_email -"/partners:v2/User/company": company -"/partners:v2/User/profile": profile -"/partners:v2/User/lastAccessTime": last_access_time -"/partners:v2/User/primaryEmails": primary_emails -"/partners:v2/User/primaryEmails/primary_email": primary_email -"/partners:v2/User/availableAdwordsManagerAccounts": available_adwords_manager_accounts -"/partners:v2/User/availableAdwordsManagerAccounts/available_adwords_manager_account": available_adwords_manager_account -"/partners:v2/ListAnalyticsResponse": list_analytics_response -"/partners:v2/ListAnalyticsResponse/nextPageToken": next_page_token -"/partners:v2/ListAnalyticsResponse/responseMetadata": response_metadata -"/partners:v2/ListAnalyticsResponse/analyticsSummary": analytics_summary -"/partners:v2/ListAnalyticsResponse/analytics": analytics -"/partners:v2/ListAnalyticsResponse/analytics/analytic": analytic -"/partners:v2/ListLeadsResponse": list_leads_response -"/partners:v2/ListLeadsResponse/nextPageToken": next_page_token -"/partners:v2/ListLeadsResponse/responseMetadata": response_metadata -"/partners:v2/ListLeadsResponse/totalSize": total_size -"/partners:v2/ListLeadsResponse/leads": leads -"/partners:v2/ListLeadsResponse/leads/lead": lead -"/partners:v2/Company": company -"/partners:v2/Company/convertedMinMonthlyBudget": converted_min_monthly_budget -"/partners:v2/Company/industries": industries -"/partners:v2/Company/industries/industry": industry -"/partners:v2/Company/websiteUrl": website_url -"/partners:v2/Company/additionalWebsites": additional_websites -"/partners:v2/Company/additionalWebsites/additional_website": additional_website -"/partners:v2/Company/primaryAdwordsManagerAccountId": primary_adwords_manager_account_id -"/partners:v2/Company/name": name -"/partners:v2/Company/localizedInfos": localized_infos -"/partners:v2/Company/localizedInfos/localized_info": localized_info -"/partners:v2/Company/certificationStatuses": certification_statuses -"/partners:v2/Company/certificationStatuses/certification_status": certification_status -"/partners:v2/Company/id": id -"/partners:v2/Company/originalMinMonthlyBudget": original_min_monthly_budget -"/partners:v2/Company/publicProfile": public_profile -"/partners:v2/Company/primaryLocation": primary_location -"/partners:v2/Company/services": services -"/partners:v2/Company/services/service": service -"/partners:v2/Company/ranks": ranks -"/partners:v2/Company/ranks/rank": rank -"/partners:v2/Company/specializationStatus": specialization_status -"/partners:v2/Company/specializationStatus/specialization_status": specialization_status -"/partners:v2/Company/badgeTier": badge_tier -"/partners:v2/Company/companyTypes": company_types -"/partners:v2/Company/companyTypes/company_type": company_type -"/partners:v2/Company/autoApprovalEmailDomains": auto_approval_email_domains -"/partners:v2/Company/autoApprovalEmailDomains/auto_approval_email_domain": auto_approval_email_domain -"/partners:v2/Company/primaryLanguageCode": primary_language_code -"/partners:v2/Company/profileStatus": profile_status -"/partners:v2/Company/locations": locations -"/partners:v2/Company/locations/location": location -"/partners:v2/CreateLeadResponse": create_lead_response -"/partners:v2/CreateLeadResponse/lead": lead -"/partners:v2/CreateLeadResponse/recaptchaStatus": recaptcha_status -"/partners:v2/CreateLeadResponse/responseMetadata": response_metadata -"/partners:v2/GetCompanyResponse": get_company_response -"/partners:v2/GetCompanyResponse/company": company -"/partners:v2/GetCompanyResponse/responseMetadata": response_metadata -"/partners:v2/Location": location -"/partners:v2/Location/languageCode": language_code -"/partners:v2/Location/sortingCode": sorting_code -"/partners:v2/Location/addressLine": address_line -"/partners:v2/Location/addressLine/address_line": address_line -"/partners:v2/Location/administrativeArea": administrative_area -"/partners:v2/Location/locality": locality -"/partners:v2/Location/latLng": lat_lng -"/partners:v2/Location/dependentLocality": dependent_locality -"/partners:v2/Location/regionCode": region_code -"/partners:v2/Location/address": address -"/partners:v2/Location/postalCode": postal_code -"/partners:v2/ExamToken": exam_token -"/partners:v2/ExamToken/token": token -"/partners:v2/ExamToken/examType": exam_type -"/partners:v2/ExamToken/examId": exam_id -"/partners:v2/CertificationExamStatus": certification_exam_status -"/partners:v2/CertificationExamStatus/numberUsersPass": number_users_pass -"/partners:v2/CertificationExamStatus/type": type -"/partners:v2/OptIns": opt_ins -"/partners:v2/OptIns/marketComm": market_comm -"/partners:v2/OptIns/specialOffers": special_offers -"/partners:v2/OptIns/performanceSuggestions": performance_suggestions -"/partners:v2/OptIns/physicalMail": physical_mail -"/partners:v2/OptIns/phoneContact": phone_contact -"/partners:v2/Rank": rank -"/partners:v2/Rank/type": type -"/partners:v2/Rank/value": value -"/partners:v2/UserProfile": user_profile -"/partners:v2/UserProfile/familyName": family_name -"/partners:v2/UserProfile/languages": languages -"/partners:v2/UserProfile/languages/language": language -"/partners:v2/UserProfile/emailOptIns": email_opt_ins -"/partners:v2/UserProfile/markets": markets -"/partners:v2/UserProfile/markets/market": market -"/partners:v2/UserProfile/adwordsManagerAccount": adwords_manager_account -"/partners:v2/UserProfile/phoneNumber": phone_number -"/partners:v2/UserProfile/primaryCountryCode": primary_country_code -"/partners:v2/UserProfile/emailAddress": email_address -"/partners:v2/UserProfile/profilePublic": profile_public -"/partners:v2/UserProfile/channels": channels -"/partners:v2/UserProfile/channels/channel": channel -"/partners:v2/UserProfile/jobFunctions": job_functions -"/partners:v2/UserProfile/jobFunctions/job_function": job_function -"/partners:v2/UserProfile/givenName": given_name -"/partners:v2/UserProfile/address": address -"/partners:v2/UserProfile/industries": industries -"/partners:v2/UserProfile/industries/industry": industry -"/partners:v2/GetPartnersStatusResponse": get_partners_status_response -"/partners:v2/GetPartnersStatusResponse/responseMetadata": response_metadata -"/partners:v2/HistoricalOffer": historical_offer -"/partners:v2/HistoricalOffer/clientName": client_name -"/partners:v2/HistoricalOffer/lastModifiedTime": last_modified_time -"/partners:v2/HistoricalOffer/adwordsUrl": adwords_url -"/partners:v2/HistoricalOffer/offerType": offer_type -"/partners:v2/HistoricalOffer/senderName": sender_name -"/partners:v2/HistoricalOffer/offerCountryCode": offer_country_code -"/partners:v2/HistoricalOffer/expirationTime": expiration_time -"/partners:v2/HistoricalOffer/offerCode": offer_code -"/partners:v2/HistoricalOffer/creationTime": creation_time -"/partners:v2/HistoricalOffer/status": status -"/partners:v2/HistoricalOffer/clientEmail": client_email -"/partners:v2/HistoricalOffer/clientId": client_id -"/partners:v2/UserOverrides": user_overrides -"/partners:v2/UserOverrides/ipAddress": ip_address -"/partners:v2/UserOverrides/userId": user_id -"/partners:v2/LogUserEventRequest": log_user_event_request -"/partners:v2/LogUserEventRequest/url": url -"/partners:v2/LogUserEventRequest/requestMetadata": request_metadata -"/partners:v2/LogUserEventRequest/eventScope": event_scope -"/partners:v2/LogUserEventRequest/eventDatas": event_datas -"/partners:v2/LogUserEventRequest/eventDatas/event_data": event_data -"/partners:v2/LogUserEventRequest/eventCategory": event_category -"/partners:v2/LogUserEventRequest/lead": lead -"/partners:v2/LogUserEventRequest/eventAction": event_action -"/partners:v2/AnalyticsDataPoint": analytics_data_point -"/partners:v2/AnalyticsDataPoint/eventCount": event_count -"/partners:v2/AnalyticsDataPoint/eventLocations": event_locations -"/partners:v2/AnalyticsDataPoint/eventLocations/event_location": event_location -"/partners:v2/Analytics": analytics -"/partners:v2/Analytics/eventDate": event_date -"/partners:v2/Analytics/profileViews": profile_views -"/partners:v2/Analytics/searchViews": search_views -"/partners:v2/Analytics/contacts": contacts -"/partners:v2/PublicProfile": public_profile -"/partners:v2/PublicProfile/displayName": display_name -"/partners:v2/PublicProfile/displayImageUrl": display_image_url -"/partners:v2/PublicProfile/id": id -"/partners:v2/PublicProfile/url": url -"/partners:v2/PublicProfile/profileImage": profile_image -"/partners:v2/AdWordsManagerAccountInfo": ad_words_manager_account_info -"/partners:v2/AdWordsManagerAccountInfo/id": id -"/partners:v2/AdWordsManagerAccountInfo/customerName": customer_name -"/partners:v2/ResponseMetadata": response_metadata -"/partners:v2/ResponseMetadata/debugInfo": debug_info -"/partners:v2/RecaptchaChallenge": recaptcha_challenge -"/partners:v2/RecaptchaChallenge/id": id -"/partners:v2/RecaptchaChallenge/response": response -"/partners:v2/AvailableOffer": available_offer -"/partners:v2/AvailableOffer/offerType": offer_type -"/partners:v2/AvailableOffer/maxAccountAge": max_account_age -"/partners:v2/AvailableOffer/qualifiedCustomer": qualified_customer -"/partners:v2/AvailableOffer/qualifiedCustomer/qualified_customer": qualified_customer -"/partners:v2/AvailableOffer/terms": terms -"/partners:v2/AvailableOffer/showSpecialOfferCopy": show_special_offer_copy -"/partners:v2/AvailableOffer/available": available -"/partners:v2/AvailableOffer/description": description -"/partners:v2/AvailableOffer/offerLevel": offer_level -"/partners:v2/AvailableOffer/name": name -"/partners:v2/AvailableOffer/qualifiedCustomersComplete": qualified_customers_complete -"/partners:v2/AvailableOffer/id": id -"/partners:v2/AvailableOffer/countryOfferInfos": country_offer_infos -"/partners:v2/AvailableOffer/countryOfferInfos/country_offer_info": country_offer_info +"/partners:v2/partners.exams.getToken": get_exam_token +"/partners:v2/partners.exams.getToken/requestMetadata.userOverrides.userId": request_metadata_user_overrides_user_id +"/partners:v2/partners.exams.getToken/requestMetadata.partnersSessionId": request_metadata_partners_session_id +"/partners:v2/partners.exams.getToken/requestMetadata.trafficSource.trafficSourceId": request_metadata_traffic_source_traffic_source_id +"/partners:v2/partners.exams.getToken/requestMetadata.locale": request_metadata_locale +"/partners:v2/partners.exams.getToken/requestMetadata.userOverrides.ipAddress": request_metadata_user_overrides_ip_address +"/partners:v2/partners.exams.getToken/requestMetadata.experimentIds": request_metadata_experiment_ids +"/partners:v2/partners.exams.getToken/requestMetadata.trafficSource.trafficSubId": request_metadata_traffic_source_traffic_sub_id +"/partners:v2/partners.exams.getToken/examType": exam_type +"/partners:v2/partners.leads.list": list_leads +"/partners:v2/partners.leads.list/requestMetadata.locale": request_metadata_locale +"/partners:v2/partners.leads.list/requestMetadata.userOverrides.ipAddress": request_metadata_user_overrides_ip_address +"/partners:v2/partners.leads.list/requestMetadata.experimentIds": request_metadata_experiment_ids +"/partners:v2/partners.leads.list/requestMetadata.trafficSource.trafficSubId": request_metadata_traffic_source_traffic_sub_id +"/partners:v2/partners.leads.list/orderBy": order_by +"/partners:v2/partners.leads.list/requestMetadata.partnersSessionId": request_metadata_partners_session_id +"/partners:v2/partners.leads.list/requestMetadata.userOverrides.userId": request_metadata_user_overrides_user_id +"/partners:v2/partners.leads.list/pageToken": page_token +"/partners:v2/partners.leads.list/pageSize": page_size +"/partners:v2/partners.leads.list/requestMetadata.trafficSource.trafficSourceId": request_metadata_traffic_source_traffic_source_id +"/partners:v2/partners.offers.list": list_offers +"/partners:v2/partners.offers.list/requestMetadata.userOverrides.ipAddress": request_metadata_user_overrides_ip_address +"/partners:v2/partners.offers.list/requestMetadata.experimentIds": request_metadata_experiment_ids +"/partners:v2/partners.offers.list/requestMetadata.trafficSource.trafficSubId": request_metadata_traffic_source_traffic_sub_id +"/partners:v2/partners.offers.list/requestMetadata.userOverrides.userId": request_metadata_user_overrides_user_id +"/partners:v2/partners.offers.list/requestMetadata.partnersSessionId": request_metadata_partners_session_id +"/partners:v2/partners.offers.list/requestMetadata.trafficSource.trafficSourceId": request_metadata_traffic_source_traffic_source_id +"/partners:v2/partners.offers.list/requestMetadata.locale": request_metadata_locale +"/partners:v2/partners.offers.history.list": list_offer_histories +"/partners:v2/partners.offers.history.list/requestMetadata.partnersSessionId": request_metadata_partners_session_id +"/partners:v2/partners.offers.history.list/requestMetadata.userOverrides.userId": request_metadata_user_overrides_user_id +"/partners:v2/partners.offers.history.list/pageToken": page_token +"/partners:v2/partners.offers.history.list/pageSize": page_size +"/partners:v2/partners.offers.history.list/requestMetadata.trafficSource.trafficSourceId": request_metadata_traffic_source_traffic_source_id +"/partners:v2/partners.offers.history.list/requestMetadata.locale": request_metadata_locale +"/partners:v2/partners.offers.history.list/requestMetadata.userOverrides.ipAddress": request_metadata_user_overrides_ip_address +"/partners:v2/partners.offers.history.list/entireCompany": entire_company +"/partners:v2/partners.offers.history.list/requestMetadata.experimentIds": request_metadata_experiment_ids +"/partners:v2/partners.offers.history.list/orderBy": order_by +"/partners:v2/partners.offers.history.list/requestMetadata.trafficSource.trafficSubId": request_metadata_traffic_source_traffic_sub_id +"/partners:v2/partners.userStates.list": list_user_states +"/partners:v2/partners.userStates.list/requestMetadata.userOverrides.userId": request_metadata_user_overrides_user_id +"/partners:v2/partners.userStates.list/requestMetadata.partnersSessionId": request_metadata_partners_session_id +"/partners:v2/partners.userStates.list/requestMetadata.trafficSource.trafficSourceId": request_metadata_traffic_source_traffic_source_id +"/partners:v2/partners.userStates.list/requestMetadata.locale": request_metadata_locale +"/partners:v2/partners.userStates.list/requestMetadata.userOverrides.ipAddress": request_metadata_user_overrides_ip_address +"/partners:v2/partners.userStates.list/requestMetadata.experimentIds": request_metadata_experiment_ids +"/partners:v2/partners.userStates.list/requestMetadata.trafficSource.trafficSubId": request_metadata_traffic_source_traffic_sub_id +"/partners:v2/partners.analytics.list": list_analytics +"/partners:v2/partners.analytics.list/requestMetadata.userOverrides.ipAddress": request_metadata_user_overrides_ip_address +"/partners:v2/partners.analytics.list/requestMetadata.experimentIds": request_metadata_experiment_ids +"/partners:v2/partners.analytics.list/requestMetadata.trafficSource.trafficSubId": request_metadata_traffic_source_traffic_sub_id +"/partners:v2/partners.analytics.list/requestMetadata.userOverrides.userId": request_metadata_user_overrides_user_id +"/partners:v2/partners.analytics.list/requestMetadata.partnersSessionId": request_metadata_partners_session_id +"/partners:v2/partners.analytics.list/pageToken": page_token +"/partners:v2/partners.analytics.list/pageSize": page_size +"/partners:v2/partners.analytics.list/requestMetadata.trafficSource.trafficSourceId": request_metadata_traffic_source_traffic_source_id +"/partners:v2/partners.analytics.list/requestMetadata.locale": request_metadata_locale +"/partners:v2/partners.getPartnersstatus": get_partnersstatus +"/partners:v2/partners.getPartnersstatus/requestMetadata.userOverrides.ipAddress": request_metadata_user_overrides_ip_address +"/partners:v2/partners.getPartnersstatus/requestMetadata.experimentIds": request_metadata_experiment_ids +"/partners:v2/partners.getPartnersstatus/requestMetadata.trafficSource.trafficSubId": request_metadata_traffic_source_traffic_sub_id +"/partners:v2/partners.getPartnersstatus/requestMetadata.userOverrides.userId": request_metadata_user_overrides_user_id +"/partners:v2/partners.getPartnersstatus/requestMetadata.partnersSessionId": request_metadata_partners_session_id +"/partners:v2/partners.getPartnersstatus/requestMetadata.trafficSource.trafficSourceId": request_metadata_traffic_source_traffic_source_id +"/partners:v2/partners.getPartnersstatus/requestMetadata.locale": request_metadata_locale +"/partners:v2/partners.updateLeads": update_leads +"/partners:v2/partners.updateLeads/requestMetadata.partnersSessionId": request_metadata_partners_session_id +"/partners:v2/partners.updateLeads/requestMetadata.userOverrides.userId": request_metadata_user_overrides_user_id +"/partners:v2/partners.updateLeads/requestMetadata.trafficSource.trafficSourceId": request_metadata_traffic_source_traffic_source_id +"/partners:v2/partners.updateLeads/requestMetadata.locale": request_metadata_locale +"/partners:v2/partners.updateLeads/requestMetadata.userOverrides.ipAddress": request_metadata_user_overrides_ip_address +"/partners:v2/partners.updateLeads/updateMask": update_mask +"/partners:v2/partners.updateLeads/requestMetadata.experimentIds": request_metadata_experiment_ids +"/partners:v2/partners.updateLeads/requestMetadata.trafficSource.trafficSubId": request_metadata_traffic_source_traffic_sub_id +"/partners:v2/partners.updateCompanies": update_companies +"/partners:v2/partners.updateCompanies/requestMetadata.partnersSessionId": request_metadata_partners_session_id +"/partners:v2/partners.updateCompanies/requestMetadata.userOverrides.userId": request_metadata_user_overrides_user_id +"/partners:v2/partners.updateCompanies/requestMetadata.trafficSource.trafficSourceId": request_metadata_traffic_source_traffic_source_id +"/partners:v2/partners.updateCompanies/requestMetadata.locale": request_metadata_locale +"/partners:v2/partners.updateCompanies/requestMetadata.userOverrides.ipAddress": request_metadata_user_overrides_ip_address +"/partners:v2/partners.updateCompanies/updateMask": update_mask +"/partners:v2/partners.updateCompanies/requestMetadata.experimentIds": request_metadata_experiment_ids +"/partners:v2/partners.updateCompanies/requestMetadata.trafficSource.trafficSubId": request_metadata_traffic_source_traffic_sub_id "/partners:v2/LatLng": lat_lng "/partners:v2/LatLng/latitude": latitude "/partners:v2/LatLng/longitude": longitude "/partners:v2/Money": money -"/partners:v2/Money/nanos": nanos "/partners:v2/Money/units": units "/partners:v2/Money/currencyCode": currency_code +"/partners:v2/Money/nanos": nanos "/partners:v2/AnalyticsSummary": analytics_summary +"/partners:v2/AnalyticsSummary/searchViewsCount": search_views_count "/partners:v2/AnalyticsSummary/contactsCount": contacts_count "/partners:v2/AnalyticsSummary/profileViewsCount": profile_views_count -"/partners:v2/AnalyticsSummary/searchViewsCount": search_views_count "/partners:v2/LogMessageRequest": log_message_request +"/partners:v2/LogMessageRequest/level": level +"/partners:v2/LogMessageRequest/details": details "/partners:v2/LogMessageRequest/clientInfo": client_info "/partners:v2/LogMessageRequest/clientInfo/client_info": client_info "/partners:v2/LogMessageRequest/requestMetadata": request_metadata -"/partners:v2/LogMessageRequest/level": level -"/partners:v2/LogMessageRequest/details": details +"/partners:v2/DebugInfo": debug_info +"/partners:v2/DebugInfo/serverInfo": server_info +"/partners:v2/DebugInfo/serverTraceInfo": server_trace_info +"/partners:v2/DebugInfo/serviceUrl": service_url "/partners:v2/Lead": lead -"/partners:v2/Lead/createTime": create_time "/partners:v2/Lead/marketingOptIn": marketing_opt_in "/partners:v2/Lead/type": type "/partners:v2/Lead/minMonthlyBudget": min_monthly_budget "/partners:v2/Lead/givenName": given_name "/partners:v2/Lead/languageCode": language_code "/partners:v2/Lead/websiteUrl": website_url -"/partners:v2/Lead/state": state "/partners:v2/Lead/gpsMotivations": gps_motivations "/partners:v2/Lead/gpsMotivations/gps_motivation": gps_motivation +"/partners:v2/Lead/state": state "/partners:v2/Lead/email": email "/partners:v2/Lead/familyName": family_name "/partners:v2/Lead/id": id "/partners:v2/Lead/comments": comments -"/partners:v2/Lead/phoneNumber": phone_number "/partners:v2/Lead/adwordsCustomerId": adwords_customer_id -"/partners:v2/DebugInfo": debug_info -"/partners:v2/DebugInfo/serverInfo": server_info -"/partners:v2/DebugInfo/serverTraceInfo": server_trace_info -"/partners:v2/DebugInfo/serviceUrl": service_url +"/partners:v2/Lead/phoneNumber": phone_number +"/partners:v2/Lead/createTime": create_time "/partners:v2/ListUserStatesResponse": list_user_states_response "/partners:v2/ListUserStatesResponse/userStates": user_states "/partners:v2/ListUserStatesResponse/userStates/user_state": user_state "/partners:v2/ListUserStatesResponse/responseMetadata": response_metadata "/partners:v2/CompanyRelation": company_relation -"/partners:v2/CompanyRelation/state": state -"/partners:v2/CompanyRelation/name": name -"/partners:v2/CompanyRelation/managerAccount": manager_account -"/partners:v2/CompanyRelation/segment": segment -"/partners:v2/CompanyRelation/segment/segment": segment -"/partners:v2/CompanyRelation/specializationStatus": specialization_status -"/partners:v2/CompanyRelation/specializationStatus/specialization_status": specialization_status -"/partners:v2/CompanyRelation/badgeTier": badge_tier -"/partners:v2/CompanyRelation/website": website -"/partners:v2/CompanyRelation/phoneNumber": phone_number -"/partners:v2/CompanyRelation/companyId": company_id -"/partners:v2/CompanyRelation/logoUrl": logo_url "/partners:v2/CompanyRelation/resolvedTimestamp": resolved_timestamp "/partners:v2/CompanyRelation/companyAdmin": company_admin "/partners:v2/CompanyRelation/address": address "/partners:v2/CompanyRelation/isPending": is_pending "/partners:v2/CompanyRelation/creationTime": creation_time +"/partners:v2/CompanyRelation/state": state +"/partners:v2/CompanyRelation/name": name +"/partners:v2/CompanyRelation/managerAccount": manager_account +"/partners:v2/CompanyRelation/segment": segment +"/partners:v2/CompanyRelation/segment/segment": segment +"/partners:v2/CompanyRelation/badgeTier": badge_tier +"/partners:v2/CompanyRelation/specializationStatus": specialization_status +"/partners:v2/CompanyRelation/specializationStatus/specialization_status": specialization_status +"/partners:v2/CompanyRelation/phoneNumber": phone_number +"/partners:v2/CompanyRelation/website": website +"/partners:v2/CompanyRelation/companyId": company_id +"/partners:v2/CompanyRelation/logoUrl": logo_url "/partners:v2/Date": date "/partners:v2/Date/year": year "/partners:v2/Date/day": day @@ -32365,64 +32150,64 @@ "/partners:v2/TrafficSource/trafficSourceId": traffic_source_id "/partners:v2/TrafficSource/trafficSubId": traffic_sub_id "/partners:v2/RequestMetadata": request_metadata -"/partners:v2/RequestMetadata/locale": locale -"/partners:v2/RequestMetadata/userOverrides": user_overrides -"/partners:v2/RequestMetadata/partnersSessionId": partners_session_id "/partners:v2/RequestMetadata/experimentIds": experiment_ids "/partners:v2/RequestMetadata/experimentIds/experiment_id": experiment_id "/partners:v2/RequestMetadata/trafficSource": traffic_source +"/partners:v2/RequestMetadata/locale": locale +"/partners:v2/RequestMetadata/userOverrides": user_overrides +"/partners:v2/RequestMetadata/partnersSessionId": partners_session_id "/partners:v2/CreateLeadRequest": create_lead_request +"/partners:v2/CreateLeadRequest/requestMetadata": request_metadata "/partners:v2/CreateLeadRequest/lead": lead "/partners:v2/CreateLeadRequest/recaptchaChallenge": recaptcha_challenge -"/partners:v2/CreateLeadRequest/requestMetadata": request_metadata "/partners:v2/EventData": event_data +"/partners:v2/EventData/key": key "/partners:v2/EventData/values": values "/partners:v2/EventData/values/value": value -"/partners:v2/EventData/key": key "/partners:v2/ExamStatus": exam_status -"/partners:v2/ExamStatus/warning": warning +"/partners:v2/ExamStatus/taken": taken +"/partners:v2/ExamStatus/passed": passed "/partners:v2/ExamStatus/expiration": expiration +"/partners:v2/ExamStatus/warning": warning "/partners:v2/ExamStatus/lastPassed": last_passed "/partners:v2/ExamStatus/examType": exam_type -"/partners:v2/ExamStatus/passed": passed -"/partners:v2/ExamStatus/taken": taken "/partners:v2/ListOffersResponse": list_offers_response "/partners:v2/ListOffersResponse/responseMetadata": response_metadata "/partners:v2/ListOffersResponse/noOfferReason": no_offer_reason "/partners:v2/ListOffersResponse/availableOffers": available_offers "/partners:v2/ListOffersResponse/availableOffers/available_offer": available_offer "/partners:v2/CountryOfferInfo": country_offer_info -"/partners:v2/CountryOfferInfo/getYAmount": get_y_amount "/partners:v2/CountryOfferInfo/offerCountryCode": offer_country_code "/partners:v2/CountryOfferInfo/spendXAmount": spend_x_amount "/partners:v2/CountryOfferInfo/offerType": offer_type +"/partners:v2/CountryOfferInfo/getYAmount": get_y_amount "/partners:v2/ListCompaniesResponse": list_companies_response -"/partners:v2/ListCompaniesResponse/nextPageToken": next_page_token "/partners:v2/ListCompaniesResponse/responseMetadata": response_metadata "/partners:v2/ListCompaniesResponse/companies": companies "/partners:v2/ListCompaniesResponse/companies/company": company +"/partners:v2/ListCompaniesResponse/nextPageToken": next_page_token "/partners:v2/OfferCustomer": offer_customer -"/partners:v2/OfferCustomer/spendXAmount": spend_x_amount -"/partners:v2/OfferCustomer/adwordsUrl": adwords_url -"/partners:v2/OfferCustomer/countryCode": country_code -"/partners:v2/OfferCustomer/externalCid": external_cid -"/partners:v2/OfferCustomer/creationTime": creation_time -"/partners:v2/OfferCustomer/eligibilityDaysLeft": eligibility_days_left -"/partners:v2/OfferCustomer/offerType": offer_type "/partners:v2/OfferCustomer/getYAmount": get_y_amount "/partners:v2/OfferCustomer/name": name +"/partners:v2/OfferCustomer/spendXAmount": spend_x_amount +"/partners:v2/OfferCustomer/adwordsUrl": adwords_url +"/partners:v2/OfferCustomer/offerType": offer_type +"/partners:v2/OfferCustomer/countryCode": country_code +"/partners:v2/OfferCustomer/externalCid": external_cid +"/partners:v2/OfferCustomer/eligibilityDaysLeft": eligibility_days_left +"/partners:v2/OfferCustomer/creationTime": creation_time "/partners:v2/CertificationStatus": certification_status +"/partners:v2/CertificationStatus/examStatuses": exam_statuses +"/partners:v2/CertificationStatus/examStatuses/exam_status": exam_status "/partners:v2/CertificationStatus/type": type "/partners:v2/CertificationStatus/userCount": user_count "/partners:v2/CertificationStatus/isCertified": is_certified -"/partners:v2/CertificationStatus/examStatuses": exam_statuses -"/partners:v2/CertificationStatus/examStatuses/exam_status": exam_status "/partners:v2/LocalizedCompanyInfo": localized_company_info -"/partners:v2/LocalizedCompanyInfo/displayName": display_name -"/partners:v2/LocalizedCompanyInfo/languageCode": language_code "/partners:v2/LocalizedCompanyInfo/countryCodes": country_codes "/partners:v2/LocalizedCompanyInfo/countryCodes/country_code": country_code "/partners:v2/LocalizedCompanyInfo/overview": overview +"/partners:v2/LocalizedCompanyInfo/displayName": display_name +"/partners:v2/LocalizedCompanyInfo/languageCode": language_code "/partners:v2/LogUserEventResponse": log_user_event_response "/partners:v2/LogUserEventResponse/responseMetadata": response_metadata "/partners:v2/ListOffersHistoryResponse": list_offers_history_response @@ -32438,31 +32223,314 @@ "/partners:v2/SpecializationStatus": specialization_status "/partners:v2/SpecializationStatus/badgeSpecialization": badge_specialization "/partners:v2/SpecializationStatus/badgeSpecializationState": badge_specialization_state +"/partners:v2/Certification": certification +"/partners:v2/Certification/lastAchieved": last_achieved +"/partners:v2/Certification/achieved": achieved +"/partners:v2/Certification/expiration": expiration +"/partners:v2/Certification/warning": warning +"/partners:v2/Certification/certificationType": certification_type +"/partners:v2/User": user +"/partners:v2/User/availableAdwordsManagerAccounts": available_adwords_manager_accounts +"/partners:v2/User/availableAdwordsManagerAccounts/available_adwords_manager_account": available_adwords_manager_account +"/partners:v2/User/primaryEmails": primary_emails +"/partners:v2/User/primaryEmails/primary_email": primary_email +"/partners:v2/User/examStatus": exam_status +"/partners:v2/User/examStatus/exam_status": exam_status +"/partners:v2/User/id": id +"/partners:v2/User/publicProfile": public_profile +"/partners:v2/User/companyVerificationEmail": company_verification_email +"/partners:v2/User/certificationStatus": certification_status +"/partners:v2/User/certificationStatus/certification_status": certification_status +"/partners:v2/User/company": company +"/partners:v2/User/profile": profile +"/partners:v2/User/lastAccessTime": last_access_time +"/partners:v2/ListAnalyticsResponse": list_analytics_response +"/partners:v2/ListAnalyticsResponse/nextPageToken": next_page_token +"/partners:v2/ListAnalyticsResponse/responseMetadata": response_metadata +"/partners:v2/ListAnalyticsResponse/analyticsSummary": analytics_summary +"/partners:v2/ListAnalyticsResponse/analytics": analytics +"/partners:v2/ListAnalyticsResponse/analytics/analytic": analytic +"/partners:v2/ListLeadsResponse": list_leads_response +"/partners:v2/ListLeadsResponse/responseMetadata": response_metadata +"/partners:v2/ListLeadsResponse/totalSize": total_size +"/partners:v2/ListLeadsResponse/leads": leads +"/partners:v2/ListLeadsResponse/leads/lead": lead +"/partners:v2/ListLeadsResponse/nextPageToken": next_page_token +"/partners:v2/Company": company +"/partners:v2/Company/locations": locations +"/partners:v2/Company/locations/location": location +"/partners:v2/Company/convertedMinMonthlyBudget": converted_min_monthly_budget +"/partners:v2/Company/industries": industries +"/partners:v2/Company/industries/industry": industry +"/partners:v2/Company/websiteUrl": website_url +"/partners:v2/Company/additionalWebsites": additional_websites +"/partners:v2/Company/additionalWebsites/additional_website": additional_website +"/partners:v2/Company/primaryAdwordsManagerAccountId": primary_adwords_manager_account_id +"/partners:v2/Company/name": name +"/partners:v2/Company/localizedInfos": localized_infos +"/partners:v2/Company/localizedInfos/localized_info": localized_info +"/partners:v2/Company/id": id +"/partners:v2/Company/certificationStatuses": certification_statuses +"/partners:v2/Company/certificationStatuses/certification_status": certification_status +"/partners:v2/Company/publicProfile": public_profile +"/partners:v2/Company/primaryLocation": primary_location +"/partners:v2/Company/services": services +"/partners:v2/Company/services/service": service +"/partners:v2/Company/originalMinMonthlyBudget": original_min_monthly_budget +"/partners:v2/Company/ranks": ranks +"/partners:v2/Company/ranks/rank": rank +"/partners:v2/Company/badgeTier": badge_tier +"/partners:v2/Company/specializationStatus": specialization_status +"/partners:v2/Company/specializationStatus/specialization_status": specialization_status +"/partners:v2/Company/companyTypes": company_types +"/partners:v2/Company/companyTypes/company_type": company_type +"/partners:v2/Company/autoApprovalEmailDomains": auto_approval_email_domains +"/partners:v2/Company/autoApprovalEmailDomains/auto_approval_email_domain": auto_approval_email_domain +"/partners:v2/Company/primaryLanguageCode": primary_language_code +"/partners:v2/Company/profileStatus": profile_status +"/partners:v2/CreateLeadResponse": create_lead_response +"/partners:v2/CreateLeadResponse/lead": lead +"/partners:v2/CreateLeadResponse/recaptchaStatus": recaptcha_status +"/partners:v2/CreateLeadResponse/responseMetadata": response_metadata +"/partners:v2/GetCompanyResponse": get_company_response +"/partners:v2/GetCompanyResponse/company": company +"/partners:v2/GetCompanyResponse/responseMetadata": response_metadata +"/partners:v2/Location": location +"/partners:v2/Location/addressLine": address_line +"/partners:v2/Location/addressLine/address_line": address_line +"/partners:v2/Location/locality": locality +"/partners:v2/Location/administrativeArea": administrative_area +"/partners:v2/Location/latLng": lat_lng +"/partners:v2/Location/address": address +"/partners:v2/Location/regionCode": region_code +"/partners:v2/Location/dependentLocality": dependent_locality +"/partners:v2/Location/postalCode": postal_code +"/partners:v2/Location/sortingCode": sorting_code +"/partners:v2/Location/languageCode": language_code +"/partners:v2/CertificationExamStatus": certification_exam_status +"/partners:v2/CertificationExamStatus/numberUsersPass": number_users_pass +"/partners:v2/CertificationExamStatus/type": type +"/partners:v2/ExamToken": exam_token +"/partners:v2/ExamToken/examId": exam_id +"/partners:v2/ExamToken/token": token +"/partners:v2/ExamToken/examType": exam_type +"/partners:v2/OptIns": opt_ins +"/partners:v2/OptIns/physicalMail": physical_mail +"/partners:v2/OptIns/phoneContact": phone_contact +"/partners:v2/OptIns/marketComm": market_comm +"/partners:v2/OptIns/specialOffers": special_offers +"/partners:v2/OptIns/performanceSuggestions": performance_suggestions +"/partners:v2/Rank": rank +"/partners:v2/Rank/value": value +"/partners:v2/Rank/type": type +"/partners:v2/UserProfile": user_profile +"/partners:v2/UserProfile/address": address +"/partners:v2/UserProfile/industries": industries +"/partners:v2/UserProfile/industries/industry": industry +"/partners:v2/UserProfile/languages": languages +"/partners:v2/UserProfile/languages/language": language +"/partners:v2/UserProfile/familyName": family_name +"/partners:v2/UserProfile/emailOptIns": email_opt_ins +"/partners:v2/UserProfile/markets": markets +"/partners:v2/UserProfile/markets/market": market +"/partners:v2/UserProfile/adwordsManagerAccount": adwords_manager_account +"/partners:v2/UserProfile/phoneNumber": phone_number +"/partners:v2/UserProfile/primaryCountryCode": primary_country_code +"/partners:v2/UserProfile/emailAddress": email_address +"/partners:v2/UserProfile/profilePublic": profile_public +"/partners:v2/UserProfile/channels": channels +"/partners:v2/UserProfile/channels/channel": channel +"/partners:v2/UserProfile/jobFunctions": job_functions +"/partners:v2/UserProfile/jobFunctions/job_function": job_function +"/partners:v2/UserProfile/givenName": given_name +"/partners:v2/GetPartnersStatusResponse": get_partners_status_response +"/partners:v2/GetPartnersStatusResponse/responseMetadata": response_metadata +"/partners:v2/HistoricalOffer": historical_offer +"/partners:v2/HistoricalOffer/senderName": sender_name +"/partners:v2/HistoricalOffer/offerCountryCode": offer_country_code +"/partners:v2/HistoricalOffer/expirationTime": expiration_time +"/partners:v2/HistoricalOffer/offerCode": offer_code +"/partners:v2/HistoricalOffer/creationTime": creation_time +"/partners:v2/HistoricalOffer/clientEmail": client_email +"/partners:v2/HistoricalOffer/status": status +"/partners:v2/HistoricalOffer/clientId": client_id +"/partners:v2/HistoricalOffer/clientName": client_name +"/partners:v2/HistoricalOffer/lastModifiedTime": last_modified_time +"/partners:v2/HistoricalOffer/adwordsUrl": adwords_url +"/partners:v2/HistoricalOffer/offerType": offer_type +"/partners:v2/UserOverrides": user_overrides +"/partners:v2/UserOverrides/userId": user_id +"/partners:v2/UserOverrides/ipAddress": ip_address +"/partners:v2/LogUserEventRequest": log_user_event_request +"/partners:v2/LogUserEventRequest/eventCategory": event_category +"/partners:v2/LogUserEventRequest/lead": lead +"/partners:v2/LogUserEventRequest/eventAction": event_action +"/partners:v2/LogUserEventRequest/url": url +"/partners:v2/LogUserEventRequest/requestMetadata": request_metadata +"/partners:v2/LogUserEventRequest/eventDatas": event_datas +"/partners:v2/LogUserEventRequest/eventDatas/event_data": event_data +"/partners:v2/LogUserEventRequest/eventScope": event_scope +"/partners:v2/AnalyticsDataPoint": analytics_data_point +"/partners:v2/AnalyticsDataPoint/eventCount": event_count +"/partners:v2/AnalyticsDataPoint/eventLocations": event_locations +"/partners:v2/AnalyticsDataPoint/eventLocations/event_location": event_location +"/partners:v2/Analytics": analytics +"/partners:v2/Analytics/contacts": contacts +"/partners:v2/Analytics/eventDate": event_date +"/partners:v2/Analytics/profileViews": profile_views +"/partners:v2/Analytics/searchViews": search_views +"/partners:v2/PublicProfile": public_profile +"/partners:v2/PublicProfile/id": id +"/partners:v2/PublicProfile/url": url +"/partners:v2/PublicProfile/profileImage": profile_image +"/partners:v2/PublicProfile/displayName": display_name +"/partners:v2/PublicProfile/displayImageUrl": display_image_url +"/partners:v2/AdWordsManagerAccountInfo": ad_words_manager_account_info +"/partners:v2/AdWordsManagerAccountInfo/id": id +"/partners:v2/AdWordsManagerAccountInfo/customerName": customer_name +"/partners:v2/ResponseMetadata": response_metadata +"/partners:v2/ResponseMetadata/debugInfo": debug_info +"/partners:v2/RecaptchaChallenge": recaptcha_challenge +"/partners:v2/RecaptchaChallenge/id": id +"/partners:v2/RecaptchaChallenge/response": response +"/partners:v2/AvailableOffer": available_offer +"/partners:v2/AvailableOffer/offerLevel": offer_level +"/partners:v2/AvailableOffer/name": name +"/partners:v2/AvailableOffer/id": id +"/partners:v2/AvailableOffer/qualifiedCustomersComplete": qualified_customers_complete +"/partners:v2/AvailableOffer/countryOfferInfos": country_offer_infos +"/partners:v2/AvailableOffer/countryOfferInfos/country_offer_info": country_offer_info +"/partners:v2/AvailableOffer/offerType": offer_type +"/partners:v2/AvailableOffer/maxAccountAge": max_account_age +"/partners:v2/AvailableOffer/qualifiedCustomer": qualified_customer +"/partners:v2/AvailableOffer/qualifiedCustomer/qualified_customer": qualified_customer +"/partners:v2/AvailableOffer/terms": terms +"/partners:v2/AvailableOffer/showSpecialOfferCopy": show_special_offer_copy +"/partners:v2/AvailableOffer/available": available +"/partners:v2/AvailableOffer/description": description "/people:v1/fields": fields "/people:v1/key": key "/people:v1/quotaUser": quota_user -"/people:v1/people.people.getBatchGet/resourceNames": resource_names "/people:v1/people.people.getBatchGet/requestMask.includeField": request_mask_include_field +"/people:v1/people.people.getBatchGet/resourceNames": resource_names "/people:v1/people.people.get": get_person "/people:v1/people.people.get/resourceName": resource_name "/people:v1/people.people.get/requestMask.includeField": request_mask_include_field "/people:v1/people.people.connections.list": list_person_connections +"/people:v1/people.people.connections.list/sortOrder": sort_order "/people:v1/people.people.connections.list/requestSyncToken": request_sync_token -"/people:v1/people.people.connections.list/resourceName": resource_name "/people:v1/people.people.connections.list/pageToken": page_token +"/people:v1/people.people.connections.list/resourceName": resource_name "/people:v1/people.people.connections.list/requestMask.includeField": request_mask_include_field "/people:v1/people.people.connections.list/pageSize": page_size "/people:v1/people.people.connections.list/syncToken": sync_token -"/people:v1/people.people.connections.list/sortOrder": sort_order +"/people:v1/ProfileMetadata": profile_metadata +"/people:v1/ProfileMetadata/objectType": object_type +"/people:v1/Url": url +"/people:v1/Url/metadata": metadata +"/people:v1/Url/type": type +"/people:v1/Url/value": value +"/people:v1/Url/formattedType": formatted_type +"/people:v1/Gender": gender +"/people:v1/Gender/value": value +"/people:v1/Gender/formattedValue": formatted_value +"/people:v1/Gender/metadata": metadata +"/people:v1/CoverPhoto": cover_photo +"/people:v1/CoverPhoto/metadata": metadata +"/people:v1/CoverPhoto/default": default +"/people:v1/CoverPhoto/url": url +"/people:v1/Interest": interest +"/people:v1/Interest/metadata": metadata +"/people:v1/Interest/value": value +"/people:v1/ImClient": im_client +"/people:v1/ImClient/formattedProtocol": formatted_protocol +"/people:v1/ImClient/formattedType": formatted_type +"/people:v1/ImClient/protocol": protocol +"/people:v1/ImClient/metadata": metadata +"/people:v1/ImClient/type": type +"/people:v1/ImClient/username": username +"/people:v1/EmailAddress": email_address +"/people:v1/EmailAddress/value": value +"/people:v1/EmailAddress/formattedType": formatted_type +"/people:v1/EmailAddress/displayName": display_name +"/people:v1/EmailAddress/metadata": metadata +"/people:v1/EmailAddress/type": type +"/people:v1/Nickname": nickname +"/people:v1/Nickname/metadata": metadata +"/people:v1/Nickname/type": type +"/people:v1/Nickname/value": value +"/people:v1/Skill": skill +"/people:v1/Skill/value": value +"/people:v1/Skill/metadata": metadata +"/people:v1/DomainMembership": domain_membership +"/people:v1/DomainMembership/inViewerDomain": in_viewer_domain +"/people:v1/Membership": membership +"/people:v1/Membership/metadata": metadata +"/people:v1/Membership/contactGroupMembership": contact_group_membership +"/people:v1/Membership/domainMembership": domain_membership +"/people:v1/RelationshipStatus": relationship_status +"/people:v1/RelationshipStatus/formattedValue": formatted_value +"/people:v1/RelationshipStatus/metadata": metadata +"/people:v1/RelationshipStatus/value": value +"/people:v1/Tagline": tagline +"/people:v1/Tagline/value": value +"/people:v1/Tagline/metadata": metadata +"/people:v1/Date": date +"/people:v1/Date/year": year +"/people:v1/Date/day": day +"/people:v1/Date/month": month +"/people:v1/Name": name +"/people:v1/Name/displayName": display_name +"/people:v1/Name/honorificSuffix": honorific_suffix +"/people:v1/Name/honorificPrefix": honorific_prefix +"/people:v1/Name/phoneticHonorificSuffix": phonetic_honorific_suffix +"/people:v1/Name/givenName": given_name +"/people:v1/Name/middleName": middle_name +"/people:v1/Name/phoneticHonorificPrefix": phonetic_honorific_prefix +"/people:v1/Name/phoneticGivenName": phonetic_given_name +"/people:v1/Name/phoneticFamilyName": phonetic_family_name +"/people:v1/Name/familyName": family_name +"/people:v1/Name/metadata": metadata +"/people:v1/Name/phoneticMiddleName": phonetic_middle_name +"/people:v1/Name/phoneticFullName": phonetic_full_name +"/people:v1/Name/displayNameLastFirst": display_name_last_first +"/people:v1/BraggingRights": bragging_rights +"/people:v1/BraggingRights/metadata": metadata +"/people:v1/BraggingRights/value": value +"/people:v1/Locale": locale +"/people:v1/Locale/metadata": metadata +"/people:v1/Locale/value": value +"/people:v1/Organization": organization +"/people:v1/Organization/domain": domain +"/people:v1/Organization/department": department +"/people:v1/Organization/phoneticName": phonetic_name +"/people:v1/Organization/type": type +"/people:v1/Organization/jobDescription": job_description +"/people:v1/Organization/endDate": end_date +"/people:v1/Organization/symbol": symbol +"/people:v1/Organization/name": name +"/people:v1/Organization/metadata": metadata +"/people:v1/Organization/location": location +"/people:v1/Organization/title": title +"/people:v1/Organization/current": current +"/people:v1/Organization/startDate": start_date +"/people:v1/Organization/formattedType": formatted_type +"/people:v1/Biography": biography +"/people:v1/Biography/contentType": content_type +"/people:v1/Biography/metadata": metadata +"/people:v1/Biography/value": value +"/people:v1/AgeRangeType": age_range_type +"/people:v1/AgeRangeType/ageRange": age_range +"/people:v1/AgeRangeType/metadata": metadata "/people:v1/FieldMetadata": field_metadata -"/people:v1/FieldMetadata/source": source "/people:v1/FieldMetadata/verified": verified "/people:v1/FieldMetadata/primary": primary +"/people:v1/FieldMetadata/source": source "/people:v1/Source": source -"/people:v1/Source/profileMetadata": profile_metadata "/people:v1/Source/type": type "/people:v1/Source/etag": etag "/people:v1/Source/id": id +"/people:v1/Source/profileMetadata": profile_metadata "/people:v1/PersonResponse": person_response "/people:v1/PersonResponse/person": person "/people:v1/PersonResponse/httpStatusCode": http_status_code @@ -32480,8 +32548,6 @@ "/people:v1/Occupation/metadata": metadata "/people:v1/Occupation/value": value "/people:v1/Person": person -"/people:v1/Person/coverPhotos": cover_photos -"/people:v1/Person/coverPhotos/cover_photo": cover_photo "/people:v1/Person/imClients": im_clients "/people:v1/Person/imClients/im_client": im_client "/people:v1/Person/birthdays": birthdays @@ -32494,10 +32560,10 @@ "/people:v1/Person/urls/url": url "/people:v1/Person/nicknames": nicknames "/people:v1/Person/nicknames/nickname": nickname -"/people:v1/Person/relations": relations -"/people:v1/Person/relations/relation": relation "/people:v1/Person/names": names "/people:v1/Person/names/name": name +"/people:v1/Person/relations": relations +"/people:v1/Person/relations/relation": relation "/people:v1/Person/occupations": occupations "/people:v1/Person/occupations/occupation": occupation "/people:v1/Person/emailAddresses": email_addresses @@ -32512,9 +32578,9 @@ "/people:v1/Person/residences/residence": residence "/people:v1/Person/genders": genders "/people:v1/Person/genders/gender": gender -"/people:v1/Person/resourceName": resource_name "/people:v1/Person/interests": interests "/people:v1/Person/interests/interest": interest +"/people:v1/Person/resourceName": resource_name "/people:v1/Person/biographies": biographies "/people:v1/Person/biographies/biography": biography "/people:v1/Person/skills": skills @@ -32536,12 +32602,14 @@ "/people:v1/Person/memberships/membership": membership "/people:v1/Person/phoneNumbers": phone_numbers "/people:v1/Person/phoneNumbers/phone_number": phone_number +"/people:v1/Person/coverPhotos": cover_photos +"/people:v1/Person/coverPhotos/cover_photo": cover_photo "/people:v1/GetPeopleResponse": get_people_response "/people:v1/GetPeopleResponse/responses": responses "/people:v1/GetPeopleResponse/responses/response": response "/people:v1/Photo": photo -"/people:v1/Photo/url": url "/people:v1/Photo/metadata": metadata +"/people:v1/Photo/url": url "/people:v1/PhoneNumber": phone_number "/people:v1/PhoneNumber/metadata": metadata "/people:v1/PhoneNumber/type": type @@ -32558,7 +32626,14 @@ "/people:v1/Birthday/metadata": metadata "/people:v1/Birthday/text": text "/people:v1/Birthday/date": date +"/people:v1/Residence": residence +"/people:v1/Residence/metadata": metadata +"/people:v1/Residence/current": current +"/people:v1/Residence/value": value "/people:v1/Address": address +"/people:v1/Address/countryCode": country_code +"/people:v1/Address/formattedType": formatted_type +"/people:v1/Address/city": city "/people:v1/Address/formattedValue": formatted_value "/people:v1/Address/country": country "/people:v1/Address/type": type @@ -32568,16 +32643,10 @@ "/people:v1/Address/region": region "/people:v1/Address/streetAddress": street_address "/people:v1/Address/metadata": metadata -"/people:v1/Address/countryCode": country_code -"/people:v1/Address/formattedType": formatted_type -"/people:v1/Address/city": city -"/people:v1/Residence": residence -"/people:v1/Residence/value": value -"/people:v1/Residence/metadata": metadata -"/people:v1/Residence/current": current "/people:v1/ContactGroupMembership": contact_group_membership "/people:v1/ContactGroupMembership/contactGroupId": contact_group_id "/people:v1/PersonMetadata": person_metadata +"/people:v1/PersonMetadata/deleted": deleted "/people:v1/PersonMetadata/objectType": object_type "/people:v1/PersonMetadata/linkedPeopleResourceNames": linked_people_resource_names "/people:v1/PersonMetadata/linkedPeopleResourceNames/linked_people_resource_name": linked_people_resource_name @@ -32585,110 +32654,11 @@ "/people:v1/PersonMetadata/sources/source": source "/people:v1/PersonMetadata/previousResourceNames": previous_resource_names "/people:v1/PersonMetadata/previousResourceNames/previous_resource_name": previous_resource_name -"/people:v1/PersonMetadata/deleted": deleted "/people:v1/Event": event "/people:v1/Event/metadata": metadata "/people:v1/Event/type": type "/people:v1/Event/date": date "/people:v1/Event/formattedType": formatted_type -"/people:v1/ProfileMetadata": profile_metadata -"/people:v1/ProfileMetadata/objectType": object_type -"/people:v1/Url": url -"/people:v1/Url/metadata": metadata -"/people:v1/Url/type": type -"/people:v1/Url/value": value -"/people:v1/Url/formattedType": formatted_type -"/people:v1/Gender": gender -"/people:v1/Gender/formattedValue": formatted_value -"/people:v1/Gender/metadata": metadata -"/people:v1/Gender/value": value -"/people:v1/CoverPhoto": cover_photo -"/people:v1/CoverPhoto/url": url -"/people:v1/CoverPhoto/metadata": metadata -"/people:v1/CoverPhoto/default": default -"/people:v1/Interest": interest -"/people:v1/Interest/metadata": metadata -"/people:v1/Interest/value": value -"/people:v1/ImClient": im_client -"/people:v1/ImClient/formattedProtocol": formatted_protocol -"/people:v1/ImClient/formattedType": formatted_type -"/people:v1/ImClient/metadata": metadata -"/people:v1/ImClient/type": type -"/people:v1/ImClient/protocol": protocol -"/people:v1/ImClient/username": username -"/people:v1/EmailAddress": email_address -"/people:v1/EmailAddress/displayName": display_name -"/people:v1/EmailAddress/metadata": metadata -"/people:v1/EmailAddress/type": type -"/people:v1/EmailAddress/value": value -"/people:v1/EmailAddress/formattedType": formatted_type -"/people:v1/Nickname": nickname -"/people:v1/Nickname/metadata": metadata -"/people:v1/Nickname/type": type -"/people:v1/Nickname/value": value -"/people:v1/Skill": skill -"/people:v1/Skill/metadata": metadata -"/people:v1/Skill/value": value -"/people:v1/DomainMembership": domain_membership -"/people:v1/DomainMembership/inViewerDomain": in_viewer_domain -"/people:v1/Membership": membership -"/people:v1/Membership/contactGroupMembership": contact_group_membership -"/people:v1/Membership/domainMembership": domain_membership -"/people:v1/Membership/metadata": metadata -"/people:v1/RelationshipStatus": relationship_status -"/people:v1/RelationshipStatus/formattedValue": formatted_value -"/people:v1/RelationshipStatus/metadata": metadata -"/people:v1/RelationshipStatus/value": value -"/people:v1/Tagline": tagline -"/people:v1/Tagline/metadata": metadata -"/people:v1/Tagline/value": value -"/people:v1/Date": date -"/people:v1/Date/year": year -"/people:v1/Date/day": day -"/people:v1/Date/month": month -"/people:v1/Name": name -"/people:v1/Name/phoneticFamilyName": phonetic_family_name -"/people:v1/Name/familyName": family_name -"/people:v1/Name/phoneticMiddleName": phonetic_middle_name -"/people:v1/Name/metadata": metadata -"/people:v1/Name/phoneticFullName": phonetic_full_name -"/people:v1/Name/displayNameLastFirst": display_name_last_first -"/people:v1/Name/displayName": display_name -"/people:v1/Name/honorificSuffix": honorific_suffix -"/people:v1/Name/honorificPrefix": honorific_prefix -"/people:v1/Name/phoneticHonorificSuffix": phonetic_honorific_suffix -"/people:v1/Name/givenName": given_name -"/people:v1/Name/middleName": middle_name -"/people:v1/Name/phoneticHonorificPrefix": phonetic_honorific_prefix -"/people:v1/Name/phoneticGivenName": phonetic_given_name -"/people:v1/BraggingRights": bragging_rights -"/people:v1/BraggingRights/metadata": metadata -"/people:v1/BraggingRights/value": value -"/people:v1/Locale": locale -"/people:v1/Locale/metadata": metadata -"/people:v1/Locale/value": value -"/people:v1/Organization": organization -"/people:v1/Organization/current": current -"/people:v1/Organization/formattedType": formatted_type -"/people:v1/Organization/startDate": start_date -"/people:v1/Organization/domain": domain -"/people:v1/Organization/department": department -"/people:v1/Organization/phoneticName": phonetic_name -"/people:v1/Organization/type": type -"/people:v1/Organization/jobDescription": job_description -"/people:v1/Organization/endDate": end_date -"/people:v1/Organization/symbol": symbol -"/people:v1/Organization/name": name -"/people:v1/Organization/metadata": metadata -"/people:v1/Organization/location": location -"/people:v1/Organization/title": title -"/people:v1/Biography": biography -"/people:v1/Biography/contentType": content_type -"/people:v1/Biography/metadata": metadata -"/people:v1/Biography/value": value -"/people:v1/AgeRangeType": age_range_type -"/people:v1/AgeRangeType/ageRange": age_range -"/people:v1/AgeRangeType/metadata": metadata "/plus:v1/fields": fields "/plus:v1/key": key "/plus:v1/quotaUser": quota_user @@ -33450,26 +33420,10 @@ "/prediction:v1.6/Update/csvInstance": csv_instance "/prediction:v1.6/Update/csvInstance/csv_instance": csv_instance "/prediction:v1.6/Update/output": output -"/proximitybeacon:v1beta1/key": key "/proximitybeacon:v1beta1/quotaUser": quota_user "/proximitybeacon:v1beta1/fields": fields -"/proximitybeacon:v1beta1/proximitybeacon.beaconinfo.getforobserved": getforobserved_beaconinfo -"/proximitybeacon:v1beta1/proximitybeacon.namespaces.list": list_namespaces -"/proximitybeacon:v1beta1/proximitybeacon.namespaces.list/projectId": project_id -"/proximitybeacon:v1beta1/proximitybeacon.namespaces.update": update_namespace -"/proximitybeacon:v1beta1/proximitybeacon.namespaces.update/namespaceName": namespace_name -"/proximitybeacon:v1beta1/proximitybeacon.namespaces.update/projectId": project_id +"/proximitybeacon:v1beta1/key": key "/proximitybeacon:v1beta1/proximitybeacon.getEidparams": get_eidparams -"/proximitybeacon:v1beta1/proximitybeacon.beacons.list": list_beacons -"/proximitybeacon:v1beta1/proximitybeacon.beacons.list/q": q -"/proximitybeacon:v1beta1/proximitybeacon.beacons.list/pageSize": page_size -"/proximitybeacon:v1beta1/proximitybeacon.beacons.list/projectId": project_id -"/proximitybeacon:v1beta1/proximitybeacon.beacons.list/pageToken": page_token -"/proximitybeacon:v1beta1/proximitybeacon.beacons.register": register_beacon -"/proximitybeacon:v1beta1/proximitybeacon.beacons.register/projectId": project_id -"/proximitybeacon:v1beta1/proximitybeacon.beacons.activate": activate_beacon -"/proximitybeacon:v1beta1/proximitybeacon.beacons.activate/projectId": project_id -"/proximitybeacon:v1beta1/proximitybeacon.beacons.activate/beaconName": beacon_name "/proximitybeacon:v1beta1/proximitybeacon.beacons.get": get_beacon "/proximitybeacon:v1beta1/proximitybeacon.beacons.get/beaconName": beacon_name "/proximitybeacon:v1beta1/proximitybeacon.beacons.get/projectId": project_id @@ -33477,50 +33431,63 @@ "/proximitybeacon:v1beta1/proximitybeacon.beacons.update/beaconName": beacon_name "/proximitybeacon:v1beta1/proximitybeacon.beacons.update/projectId": project_id "/proximitybeacon:v1beta1/proximitybeacon.beacons.decommission": decommission_beacon -"/proximitybeacon:v1beta1/proximitybeacon.beacons.decommission/projectId": project_id "/proximitybeacon:v1beta1/proximitybeacon.beacons.decommission/beaconName": beacon_name -"/proximitybeacon:v1beta1/proximitybeacon.beacons.deactivate": deactivate_beacon -"/proximitybeacon:v1beta1/proximitybeacon.beacons.deactivate/projectId": project_id -"/proximitybeacon:v1beta1/proximitybeacon.beacons.deactivate/beaconName": beacon_name +"/proximitybeacon:v1beta1/proximitybeacon.beacons.decommission/projectId": project_id "/proximitybeacon:v1beta1/proximitybeacon.beacons.delete": delete_beacon "/proximitybeacon:v1beta1/proximitybeacon.beacons.delete/beaconName": beacon_name "/proximitybeacon:v1beta1/proximitybeacon.beacons.delete/projectId": project_id -"/proximitybeacon:v1beta1/proximitybeacon.beacons.diagnostics.list": list_beacon_diagnostics -"/proximitybeacon:v1beta1/proximitybeacon.beacons.diagnostics.list/pageSize": page_size -"/proximitybeacon:v1beta1/proximitybeacon.beacons.diagnostics.list/alertFilter": alert_filter -"/proximitybeacon:v1beta1/proximitybeacon.beacons.diagnostics.list/projectId": project_id -"/proximitybeacon:v1beta1/proximitybeacon.beacons.diagnostics.list/beaconName": beacon_name -"/proximitybeacon:v1beta1/proximitybeacon.beacons.diagnostics.list/pageToken": page_token +"/proximitybeacon:v1beta1/proximitybeacon.beacons.deactivate": deactivate_beacon +"/proximitybeacon:v1beta1/proximitybeacon.beacons.deactivate/beaconName": beacon_name +"/proximitybeacon:v1beta1/proximitybeacon.beacons.deactivate/projectId": project_id +"/proximitybeacon:v1beta1/proximitybeacon.beacons.list": list_beacons +"/proximitybeacon:v1beta1/proximitybeacon.beacons.list/pageToken": page_token +"/proximitybeacon:v1beta1/proximitybeacon.beacons.list/q": q +"/proximitybeacon:v1beta1/proximitybeacon.beacons.list/pageSize": page_size +"/proximitybeacon:v1beta1/proximitybeacon.beacons.list/projectId": project_id +"/proximitybeacon:v1beta1/proximitybeacon.beacons.register": register_beacon +"/proximitybeacon:v1beta1/proximitybeacon.beacons.register/projectId": project_id +"/proximitybeacon:v1beta1/proximitybeacon.beacons.activate": activate_beacon +"/proximitybeacon:v1beta1/proximitybeacon.beacons.activate/beaconName": beacon_name +"/proximitybeacon:v1beta1/proximitybeacon.beacons.activate/projectId": project_id "/proximitybeacon:v1beta1/proximitybeacon.beacons.attachments.delete": delete_beacon_attachment -"/proximitybeacon:v1beta1/proximitybeacon.beacons.attachments.delete/attachmentName": attachment_name "/proximitybeacon:v1beta1/proximitybeacon.beacons.attachments.delete/projectId": project_id +"/proximitybeacon:v1beta1/proximitybeacon.beacons.attachments.delete/attachmentName": attachment_name "/proximitybeacon:v1beta1/proximitybeacon.beacons.attachments.list": list_beacon_attachments -"/proximitybeacon:v1beta1/proximitybeacon.beacons.attachments.list/namespacedType": namespaced_type "/proximitybeacon:v1beta1/proximitybeacon.beacons.attachments.list/beaconName": beacon_name "/proximitybeacon:v1beta1/proximitybeacon.beacons.attachments.list/projectId": project_id +"/proximitybeacon:v1beta1/proximitybeacon.beacons.attachments.list/namespacedType": namespaced_type "/proximitybeacon:v1beta1/proximitybeacon.beacons.attachments.create": create_beacon_attachment "/proximitybeacon:v1beta1/proximitybeacon.beacons.attachments.create/beaconName": beacon_name "/proximitybeacon:v1beta1/proximitybeacon.beacons.attachments.create/projectId": project_id "/proximitybeacon:v1beta1/proximitybeacon.beacons.attachments.batchDelete": batch_beacon_attachment_delete -"/proximitybeacon:v1beta1/proximitybeacon.beacons.attachments.batchDelete/namespacedType": namespaced_type "/proximitybeacon:v1beta1/proximitybeacon.beacons.attachments.batchDelete/beaconName": beacon_name "/proximitybeacon:v1beta1/proximitybeacon.beacons.attachments.batchDelete/projectId": project_id -"/proximitybeacon:v1beta1/GetInfoForObservedBeaconsResponse": get_info_for_observed_beacons_response -"/proximitybeacon:v1beta1/GetInfoForObservedBeaconsResponse/beacons": beacons -"/proximitybeacon:v1beta1/GetInfoForObservedBeaconsResponse/beacons/beacon": beacon +"/proximitybeacon:v1beta1/proximitybeacon.beacons.attachments.batchDelete/namespacedType": namespaced_type +"/proximitybeacon:v1beta1/proximitybeacon.beacons.diagnostics.list": list_beacon_diagnostics +"/proximitybeacon:v1beta1/proximitybeacon.beacons.diagnostics.list/beaconName": beacon_name +"/proximitybeacon:v1beta1/proximitybeacon.beacons.diagnostics.list/pageToken": page_token +"/proximitybeacon:v1beta1/proximitybeacon.beacons.diagnostics.list/pageSize": page_size +"/proximitybeacon:v1beta1/proximitybeacon.beacons.diagnostics.list/alertFilter": alert_filter +"/proximitybeacon:v1beta1/proximitybeacon.beacons.diagnostics.list/projectId": project_id +"/proximitybeacon:v1beta1/proximitybeacon.beaconinfo.getforobserved": getforobserved_beaconinfo +"/proximitybeacon:v1beta1/proximitybeacon.namespaces.update": update_namespace +"/proximitybeacon:v1beta1/proximitybeacon.namespaces.update/namespaceName": namespace_name +"/proximitybeacon:v1beta1/proximitybeacon.namespaces.update/projectId": project_id +"/proximitybeacon:v1beta1/proximitybeacon.namespaces.list": list_namespaces +"/proximitybeacon:v1beta1/proximitybeacon.namespaces.list/projectId": project_id "/proximitybeacon:v1beta1/Beacon": beacon +"/proximitybeacon:v1beta1/Beacon/beaconName": beacon_name +"/proximitybeacon:v1beta1/Beacon/expectedStability": expected_stability "/proximitybeacon:v1beta1/Beacon/advertisedId": advertised_id -"/proximitybeacon:v1beta1/Beacon/provisioningKey": provisioning_key "/proximitybeacon:v1beta1/Beacon/ephemeralIdRegistration": ephemeral_id_registration -"/proximitybeacon:v1beta1/Beacon/latLng": lat_lng +"/proximitybeacon:v1beta1/Beacon/provisioningKey": provisioning_key "/proximitybeacon:v1beta1/Beacon/description": description "/proximitybeacon:v1beta1/Beacon/placeId": place_id +"/proximitybeacon:v1beta1/Beacon/latLng": lat_lng "/proximitybeacon:v1beta1/Beacon/properties": properties "/proximitybeacon:v1beta1/Beacon/properties/property": property "/proximitybeacon:v1beta1/Beacon/status": status "/proximitybeacon:v1beta1/Beacon/indoorLevel": indoor_level -"/proximitybeacon:v1beta1/Beacon/beaconName": beacon_name -"/proximitybeacon:v1beta1/Beacon/expectedStability": expected_stability "/proximitybeacon:v1beta1/AdvertisedId": advertised_id "/proximitybeacon:v1beta1/AdvertisedId/type": type "/proximitybeacon:v1beta1/AdvertisedId/id": id @@ -33533,94 +33500,100 @@ "/proximitybeacon:v1beta1/ListNamespacesResponse": list_namespaces_response "/proximitybeacon:v1beta1/ListNamespacesResponse/namespaces": namespaces "/proximitybeacon:v1beta1/ListNamespacesResponse/namespaces/namespace": namespace +"/proximitybeacon:v1beta1/Diagnostics": diagnostics +"/proximitybeacon:v1beta1/Diagnostics/beaconName": beacon_name +"/proximitybeacon:v1beta1/Diagnostics/alerts": alerts +"/proximitybeacon:v1beta1/Diagnostics/alerts/alert": alert +"/proximitybeacon:v1beta1/Diagnostics/estimatedLowBatteryDate": estimated_low_battery_date "/proximitybeacon:v1beta1/ListBeaconsResponse": list_beacons_response "/proximitybeacon:v1beta1/ListBeaconsResponse/nextPageToken": next_page_token "/proximitybeacon:v1beta1/ListBeaconsResponse/beacons": beacons "/proximitybeacon:v1beta1/ListBeaconsResponse/beacons/beacon": beacon "/proximitybeacon:v1beta1/ListBeaconsResponse/totalCount": total_count -"/proximitybeacon:v1beta1/Diagnostics": diagnostics -"/proximitybeacon:v1beta1/Diagnostics/alerts": alerts -"/proximitybeacon:v1beta1/Diagnostics/alerts/alert": alert -"/proximitybeacon:v1beta1/Diagnostics/estimatedLowBatteryDate": estimated_low_battery_date -"/proximitybeacon:v1beta1/Diagnostics/beaconName": beacon_name -"/proximitybeacon:v1beta1/Empty": empty "/proximitybeacon:v1beta1/GetInfoForObservedBeaconsRequest": get_info_for_observed_beacons_request "/proximitybeacon:v1beta1/GetInfoForObservedBeaconsRequest/observations": observations "/proximitybeacon:v1beta1/GetInfoForObservedBeaconsRequest/observations/observation": observation "/proximitybeacon:v1beta1/GetInfoForObservedBeaconsRequest/namespacedTypes": namespaced_types "/proximitybeacon:v1beta1/GetInfoForObservedBeaconsRequest/namespacedTypes/namespaced_type": namespaced_type +"/proximitybeacon:v1beta1/Empty": empty "/proximitybeacon:v1beta1/BeaconAttachment": beacon_attachment "/proximitybeacon:v1beta1/BeaconAttachment/attachmentName": attachment_name "/proximitybeacon:v1beta1/BeaconAttachment/namespacedType": namespaced_type "/proximitybeacon:v1beta1/BeaconAttachment/data": data "/proximitybeacon:v1beta1/BeaconAttachment/creationTimeMs": creation_time_ms "/proximitybeacon:v1beta1/EphemeralIdRegistration": ephemeral_id_registration -"/proximitybeacon:v1beta1/EphemeralIdRegistration/serviceEcdhPublicKey": service_ecdh_public_key -"/proximitybeacon:v1beta1/EphemeralIdRegistration/beaconIdentityKey": beacon_identity_key -"/proximitybeacon:v1beta1/EphemeralIdRegistration/initialEid": initial_eid "/proximitybeacon:v1beta1/EphemeralIdRegistration/beaconEcdhPublicKey": beacon_ecdh_public_key "/proximitybeacon:v1beta1/EphemeralIdRegistration/initialClockValue": initial_clock_value "/proximitybeacon:v1beta1/EphemeralIdRegistration/rotationPeriodExponent": rotation_period_exponent +"/proximitybeacon:v1beta1/EphemeralIdRegistration/serviceEcdhPublicKey": service_ecdh_public_key +"/proximitybeacon:v1beta1/EphemeralIdRegistration/beaconIdentityKey": beacon_identity_key +"/proximitybeacon:v1beta1/EphemeralIdRegistration/initialEid": initial_eid "/proximitybeacon:v1beta1/LatLng": lat_lng -"/proximitybeacon:v1beta1/LatLng/latitude": latitude "/proximitybeacon:v1beta1/LatLng/longitude": longitude +"/proximitybeacon:v1beta1/LatLng/latitude": latitude "/proximitybeacon:v1beta1/ListBeaconAttachmentsResponse": list_beacon_attachments_response "/proximitybeacon:v1beta1/ListBeaconAttachmentsResponse/attachments": attachments "/proximitybeacon:v1beta1/ListBeaconAttachmentsResponse/attachments/attachment": attachment "/proximitybeacon:v1beta1/Namespace": namespace "/proximitybeacon:v1beta1/Namespace/namespaceName": namespace_name "/proximitybeacon:v1beta1/Namespace/servingVisibility": serving_visibility -"/proximitybeacon:v1beta1/AttachmentInfo": attachment_info -"/proximitybeacon:v1beta1/AttachmentInfo/namespacedType": namespaced_type -"/proximitybeacon:v1beta1/AttachmentInfo/data": data "/proximitybeacon:v1beta1/BeaconInfo": beacon_info +"/proximitybeacon:v1beta1/BeaconInfo/beaconName": beacon_name "/proximitybeacon:v1beta1/BeaconInfo/advertisedId": advertised_id "/proximitybeacon:v1beta1/BeaconInfo/attachments": attachments "/proximitybeacon:v1beta1/BeaconInfo/attachments/attachment": attachment -"/proximitybeacon:v1beta1/BeaconInfo/beaconName": beacon_name -"/proximitybeacon:v1beta1/EphemeralIdRegistrationParams": ephemeral_id_registration_params -"/proximitybeacon:v1beta1/EphemeralIdRegistrationParams/serviceEcdhPublicKey": service_ecdh_public_key -"/proximitybeacon:v1beta1/EphemeralIdRegistrationParams/minRotationPeriodExponent": min_rotation_period_exponent -"/proximitybeacon:v1beta1/EphemeralIdRegistrationParams/maxRotationPeriodExponent": max_rotation_period_exponent +"/proximitybeacon:v1beta1/AttachmentInfo": attachment_info +"/proximitybeacon:v1beta1/AttachmentInfo/data": data +"/proximitybeacon:v1beta1/AttachmentInfo/namespacedType": namespaced_type "/proximitybeacon:v1beta1/DeleteAttachmentsResponse": delete_attachments_response "/proximitybeacon:v1beta1/DeleteAttachmentsResponse/numDeleted": num_deleted +"/proximitybeacon:v1beta1/EphemeralIdRegistrationParams": ephemeral_id_registration_params +"/proximitybeacon:v1beta1/EphemeralIdRegistrationParams/minRotationPeriodExponent": min_rotation_period_exponent +"/proximitybeacon:v1beta1/EphemeralIdRegistrationParams/maxRotationPeriodExponent": max_rotation_period_exponent +"/proximitybeacon:v1beta1/EphemeralIdRegistrationParams/serviceEcdhPublicKey": service_ecdh_public_key "/proximitybeacon:v1beta1/Observation": observation -"/proximitybeacon:v1beta1/Observation/advertisedId": advertised_id "/proximitybeacon:v1beta1/Observation/telemetry": telemetry "/proximitybeacon:v1beta1/Observation/timestampMs": timestamp_ms +"/proximitybeacon:v1beta1/Observation/advertisedId": advertised_id "/proximitybeacon:v1beta1/ListDiagnosticsResponse": list_diagnostics_response +"/proximitybeacon:v1beta1/ListDiagnosticsResponse/nextPageToken": next_page_token "/proximitybeacon:v1beta1/ListDiagnosticsResponse/diagnostics": diagnostics "/proximitybeacon:v1beta1/ListDiagnosticsResponse/diagnostics/diagnostic": diagnostic -"/proximitybeacon:v1beta1/ListDiagnosticsResponse/nextPageToken": next_page_token +"/proximitybeacon:v1beta1/GetInfoForObservedBeaconsResponse": get_info_for_observed_beacons_response +"/proximitybeacon:v1beta1/GetInfoForObservedBeaconsResponse/beacons": beacons +"/proximitybeacon:v1beta1/GetInfoForObservedBeaconsResponse/beacons/beacon": beacon "/pubsub:v1/fields": fields "/pubsub:v1/key": key "/pubsub:v1/quotaUser": quota_user -"/pubsub:v1/pubsub.projects.subscriptions.acknowledge": acknowledge_subscription -"/pubsub:v1/pubsub.projects.subscriptions.acknowledge/subscription": subscription -"/pubsub:v1/pubsub.projects.subscriptions.modifyAckDeadline": modify_subscription_ack_deadline -"/pubsub:v1/pubsub.projects.subscriptions.modifyAckDeadline/subscription": subscription -"/pubsub:v1/pubsub.projects.subscriptions.getIamPolicy": get_project_subscription_iam_policy -"/pubsub:v1/pubsub.projects.subscriptions.getIamPolicy/resource": resource -"/pubsub:v1/pubsub.projects.subscriptions.get/subscription": subscription -"/pubsub:v1/pubsub.projects.subscriptions.testIamPermissions": test_subscription_iam_permissions -"/pubsub:v1/pubsub.projects.subscriptions.testIamPermissions/resource": resource "/pubsub:v1/pubsub.projects.subscriptions.modifyPushConfig": modify_subscription_push_config "/pubsub:v1/pubsub.projects.subscriptions.modifyPushConfig/subscription": subscription "/pubsub:v1/pubsub.projects.subscriptions.delete/subscription": subscription "/pubsub:v1/pubsub.projects.subscriptions.pull": pull_subscription "/pubsub:v1/pubsub.projects.subscriptions.pull/subscription": subscription -"/pubsub:v1/pubsub.projects.subscriptions.list/pageToken": page_token "/pubsub:v1/pubsub.projects.subscriptions.list/pageSize": page_size "/pubsub:v1/pubsub.projects.subscriptions.list/project": project -"/pubsub:v1/pubsub.projects.subscriptions.create/name": name +"/pubsub:v1/pubsub.projects.subscriptions.list/pageToken": page_token "/pubsub:v1/pubsub.projects.subscriptions.setIamPolicy": set_subscription_iam_policy "/pubsub:v1/pubsub.projects.subscriptions.setIamPolicy/resource": resource +"/pubsub:v1/pubsub.projects.subscriptions.create/name": name +"/pubsub:v1/pubsub.projects.subscriptions.getIamPolicy": get_project_subscription_iam_policy +"/pubsub:v1/pubsub.projects.subscriptions.getIamPolicy/resource": resource +"/pubsub:v1/pubsub.projects.subscriptions.acknowledge": acknowledge_subscription +"/pubsub:v1/pubsub.projects.subscriptions.acknowledge/subscription": subscription +"/pubsub:v1/pubsub.projects.subscriptions.modifyAckDeadline": modify_subscription_ack_deadline +"/pubsub:v1/pubsub.projects.subscriptions.modifyAckDeadline/subscription": subscription +"/pubsub:v1/pubsub.projects.subscriptions.get/subscription": subscription +"/pubsub:v1/pubsub.projects.subscriptions.testIamPermissions": test_subscription_iam_permissions +"/pubsub:v1/pubsub.projects.subscriptions.testIamPermissions/resource": resource +"/pubsub:v1/pubsub.projects.snapshots.getIamPolicy": get_project_snapshot_iam_policy +"/pubsub:v1/pubsub.projects.snapshots.getIamPolicy/resource": resource "/pubsub:v1/pubsub.projects.snapshots.setIamPolicy": set_snapshot_iam_policy "/pubsub:v1/pubsub.projects.snapshots.setIamPolicy/resource": resource "/pubsub:v1/pubsub.projects.snapshots.testIamPermissions": test_snapshot_iam_permissions "/pubsub:v1/pubsub.projects.snapshots.testIamPermissions/resource": resource -"/pubsub:v1/pubsub.projects.snapshots.getIamPolicy": get_project_snapshot_iam_policy -"/pubsub:v1/pubsub.projects.snapshots.getIamPolicy/resource": resource +"/pubsub:v1/pubsub.projects.topics.getIamPolicy": get_project_topic_iam_policy +"/pubsub:v1/pubsub.projects.topics.getIamPolicy/resource": resource +"/pubsub:v1/pubsub.projects.topics.get/topic": topic "/pubsub:v1/pubsub.projects.topics.publish": publish_topic "/pubsub:v1/pubsub.projects.topics.publish/topic": topic "/pubsub:v1/pubsub.projects.topics.testIamPermissions": test_topic_iam_permissions @@ -33629,15 +33602,19 @@ "/pubsub:v1/pubsub.projects.topics.list/pageToken": page_token "/pubsub:v1/pubsub.projects.topics.list/pageSize": page_size "/pubsub:v1/pubsub.projects.topics.list/project": project -"/pubsub:v1/pubsub.projects.topics.create/name": name "/pubsub:v1/pubsub.projects.topics.setIamPolicy": set_topic_iam_policy "/pubsub:v1/pubsub.projects.topics.setIamPolicy/resource": resource -"/pubsub:v1/pubsub.projects.topics.getIamPolicy": get_project_topic_iam_policy -"/pubsub:v1/pubsub.projects.topics.getIamPolicy/resource": resource -"/pubsub:v1/pubsub.projects.topics.get/topic": topic +"/pubsub:v1/pubsub.projects.topics.create/name": name "/pubsub:v1/pubsub.projects.topics.subscriptions.list/pageToken": page_token "/pubsub:v1/pubsub.projects.topics.subscriptions.list/pageSize": page_size "/pubsub:v1/pubsub.projects.topics.subscriptions.list/topic": topic +"/pubsub:v1/Topic": topic +"/pubsub:v1/Topic/name": name +"/pubsub:v1/Policy": policy +"/pubsub:v1/Policy/version": version +"/pubsub:v1/Policy/bindings": bindings +"/pubsub:v1/Policy/bindings/binding": binding +"/pubsub:v1/Policy/etag": etag "/pubsub:v1/ModifyAckDeadlineRequest": modify_ack_deadline_request "/pubsub:v1/ModifyAckDeadlineRequest/ackDeadlineSeconds": ack_deadline_seconds "/pubsub:v1/ModifyAckDeadlineRequest/ackIds": ack_ids @@ -33646,11 +33623,11 @@ "/pubsub:v1/SetIamPolicyRequest/policy": policy "/pubsub:v1/ModifyPushConfigRequest": modify_push_config_request "/pubsub:v1/ModifyPushConfigRequest/pushConfig": push_config +"/pubsub:v1/PubsubMessage/publishTime": publish_time "/pubsub:v1/PubsubMessage/data": data "/pubsub:v1/PubsubMessage/attributes": attributes "/pubsub:v1/PubsubMessage/attributes/attribute": attribute "/pubsub:v1/PubsubMessage/messageId": message_id -"/pubsub:v1/PubsubMessage/publishTime": publish_time "/pubsub:v1/Binding": binding "/pubsub:v1/Binding/members": members "/pubsub:v1/Binding/members/member": member @@ -33701,13 +33678,6 @@ "/pubsub:v1/TestIamPermissionsRequest": test_iam_permissions_request "/pubsub:v1/TestIamPermissionsRequest/permissions": permissions "/pubsub:v1/TestIamPermissionsRequest/permissions/permission": permission -"/pubsub:v1/Policy": policy -"/pubsub:v1/Policy/etag": etag -"/pubsub:v1/Policy/version": version -"/pubsub:v1/Policy/bindings": bindings -"/pubsub:v1/Policy/bindings/binding": binding -"/pubsub:v1/Topic": topic -"/pubsub:v1/Topic/name": name "/qpxExpress:v1/fields": fields "/qpxExpress:v1/key": key "/qpxExpress:v1/quotaUser": quota_user @@ -34430,51 +34400,59 @@ "/resourceviews:v1beta2/ZoneViewsSetServiceRequest/endpoints/endpoint": endpoint "/resourceviews:v1beta2/ZoneViewsSetServiceRequest/fingerprint": fingerprint "/resourceviews:v1beta2/ZoneViewsSetServiceRequest/resourceName": resource_name -"/runtimeconfig:v1/fields": fields "/runtimeconfig:v1/key": key "/runtimeconfig:v1/quotaUser": quota_user -"/runtimeconfig:v1/runtimeconfig.operations.cancel": cancel_operation -"/runtimeconfig:v1/runtimeconfig.operations.cancel/name": name +"/runtimeconfig:v1/fields": fields "/runtimeconfig:v1/runtimeconfig.operations.delete": delete_operation "/runtimeconfig:v1/runtimeconfig.operations.delete/name": name "/runtimeconfig:v1/runtimeconfig.operations.list": list_operations -"/runtimeconfig:v1/runtimeconfig.operations.list/filter": filter "/runtimeconfig:v1/runtimeconfig.operations.list/name": name "/runtimeconfig:v1/runtimeconfig.operations.list/pageToken": page_token "/runtimeconfig:v1/runtimeconfig.operations.list/pageSize": page_size +"/runtimeconfig:v1/runtimeconfig.operations.list/filter": filter +"/runtimeconfig:v1/runtimeconfig.operations.cancel": cancel_operation +"/runtimeconfig:v1/runtimeconfig.operations.cancel/name": name "/runtimeconfig:v1/CancelOperationRequest": cancel_operation_request "/runtimeconfig:v1/Status": status +"/runtimeconfig:v1/Status/code": code "/runtimeconfig:v1/Status/message": message "/runtimeconfig:v1/Status/details": details "/runtimeconfig:v1/Status/details/detail": detail "/runtimeconfig:v1/Status/details/detail/detail": detail -"/runtimeconfig:v1/Status/code": code "/runtimeconfig:v1/ListOperationsResponse": list_operations_response "/runtimeconfig:v1/ListOperationsResponse/nextPageToken": next_page_token "/runtimeconfig:v1/ListOperationsResponse/operations": operations "/runtimeconfig:v1/ListOperationsResponse/operations/operation": operation "/runtimeconfig:v1/Operation": operation -"/runtimeconfig:v1/Operation/done": done -"/runtimeconfig:v1/Operation/response": response -"/runtimeconfig:v1/Operation/response/response": response "/runtimeconfig:v1/Operation/name": name "/runtimeconfig:v1/Operation/error": error "/runtimeconfig:v1/Operation/metadata": metadata "/runtimeconfig:v1/Operation/metadata/metadatum": metadatum +"/runtimeconfig:v1/Operation/done": done +"/runtimeconfig:v1/Operation/response": response +"/runtimeconfig:v1/Operation/response/response": response "/runtimeconfig:v1/Empty": empty +"/script:v1/quotaUser": quota_user "/script:v1/fields": fields "/script:v1/key": key -"/script:v1/quotaUser": quota_user "/script:v1/script.scripts.run": run_script "/script:v1/script.scripts.run/scriptId": script_id +"/script:v1/Operation": operation +"/script:v1/Operation/response": response +"/script:v1/Operation/response/response": response +"/script:v1/Operation/name": name +"/script:v1/Operation/error": error +"/script:v1/Operation/metadata": metadata +"/script:v1/Operation/metadata/metadatum": metadatum +"/script:v1/Operation/done": done "/script:v1/ScriptStackTraceElement": script_stack_trace_element "/script:v1/ScriptStackTraceElement/lineNumber": line_number "/script:v1/ScriptStackTraceElement/function": function "/script:v1/ExecutionError": execution_error -"/script:v1/ExecutionError/errorType": error_type -"/script:v1/ExecutionError/errorMessage": error_message "/script:v1/ExecutionError/scriptStackTraceElements": script_stack_trace_elements "/script:v1/ExecutionError/scriptStackTraceElements/script_stack_trace_element": script_stack_trace_element +"/script:v1/ExecutionError/errorType": error_type +"/script:v1/ExecutionError/errorMessage": error_message "/script:v1/Status": status "/script:v1/Status/details": details "/script:v1/Status/details/detail": detail @@ -34482,35 +34460,17 @@ "/script:v1/Status/code": code "/script:v1/Status/message": message "/script:v1/ExecutionRequest": execution_request -"/script:v1/ExecutionRequest/function": function -"/script:v1/ExecutionRequest/devMode": dev_mode "/script:v1/ExecutionRequest/parameters": parameters "/script:v1/ExecutionRequest/parameters/parameter": parameter "/script:v1/ExecutionRequest/sessionState": session_state +"/script:v1/ExecutionRequest/function": function +"/script:v1/ExecutionRequest/devMode": dev_mode "/script:v1/ExecutionResponse": execution_response "/script:v1/ExecutionResponse/result": result -"/script:v1/Operation": operation -"/script:v1/Operation/done": done -"/script:v1/Operation/response": response -"/script:v1/Operation/response/response": response -"/script:v1/Operation/name": name -"/script:v1/Operation/error": error -"/script:v1/Operation/metadata": metadata -"/script:v1/Operation/metadata/metadatum": metadatum +"/searchconsole:v1/quotaUser": quota_user "/searchconsole:v1/fields": fields "/searchconsole:v1/key": key -"/searchconsole:v1/quotaUser": quota_user "/searchconsole:v1/searchconsole.urlTestingTools.mobileFriendlyTest.run": run_mobile_friendly_test -"/searchconsole:v1/MobileFriendlyIssue": mobile_friendly_issue -"/searchconsole:v1/MobileFriendlyIssue/rule": rule -"/searchconsole:v1/RunMobileFriendlyTestResponse": run_mobile_friendly_test_response -"/searchconsole:v1/RunMobileFriendlyTestResponse/mobileFriendliness": mobile_friendliness -"/searchconsole:v1/RunMobileFriendlyTestResponse/mobileFriendlyIssues": mobile_friendly_issues -"/searchconsole:v1/RunMobileFriendlyTestResponse/mobileFriendlyIssues/mobile_friendly_issue": mobile_friendly_issue -"/searchconsole:v1/RunMobileFriendlyTestResponse/screenshot": screenshot -"/searchconsole:v1/RunMobileFriendlyTestResponse/testStatus": test_status -"/searchconsole:v1/RunMobileFriendlyTestResponse/resourceIssues": resource_issues -"/searchconsole:v1/RunMobileFriendlyTestResponse/resourceIssues/resource_issue": resource_issue "/searchconsole:v1/ResourceIssue": resource_issue "/searchconsole:v1/ResourceIssue/blockedResource": blocked_resource "/searchconsole:v1/BlockedResource": blocked_resource @@ -34518,15 +34478,27 @@ "/searchconsole:v1/TestStatus": test_status "/searchconsole:v1/TestStatus/status": status "/searchconsole:v1/TestStatus/details": details -"/searchconsole:v1/Image": image -"/searchconsole:v1/Image/mimeType": mime_type -"/searchconsole:v1/Image/data": data "/searchconsole:v1/RunMobileFriendlyTestRequest": run_mobile_friendly_test_request "/searchconsole:v1/RunMobileFriendlyTestRequest/url": url "/searchconsole:v1/RunMobileFriendlyTestRequest/requestScreenshot": request_screenshot -"/servicecontrol:v1/quotaUser": quota_user +"/searchconsole:v1/Image": image +"/searchconsole:v1/Image/mimeType": mime_type +"/searchconsole:v1/Image/data": data +"/searchconsole:v1/MobileFriendlyIssue": mobile_friendly_issue +"/searchconsole:v1/MobileFriendlyIssue/rule": rule +"/searchconsole:v1/RunMobileFriendlyTestResponse": run_mobile_friendly_test_response +"/searchconsole:v1/RunMobileFriendlyTestResponse/mobileFriendlyIssues": mobile_friendly_issues +"/searchconsole:v1/RunMobileFriendlyTestResponse/mobileFriendlyIssues/mobile_friendly_issue": mobile_friendly_issue +"/searchconsole:v1/RunMobileFriendlyTestResponse/screenshot": screenshot +"/searchconsole:v1/RunMobileFriendlyTestResponse/testStatus": test_status +"/searchconsole:v1/RunMobileFriendlyTestResponse/resourceIssues": resource_issues +"/searchconsole:v1/RunMobileFriendlyTestResponse/resourceIssues/resource_issue": resource_issue +"/searchconsole:v1/RunMobileFriendlyTestResponse/mobileFriendliness": mobile_friendliness "/servicecontrol:v1/fields": fields "/servicecontrol:v1/key": key +"/servicecontrol:v1/quotaUser": quota_user +"/servicecontrol:v1/servicecontrol.services.report": report_service +"/servicecontrol:v1/servicecontrol.services.report/serviceName": service_name "/servicecontrol:v1/servicecontrol.services.allocateQuota": allocate_service_quota "/servicecontrol:v1/servicecontrol.services.allocateQuota/serviceName": service_name "/servicecontrol:v1/servicecontrol.services.startReconciliation": start_service_reconciliation @@ -34537,44 +34509,6 @@ "/servicecontrol:v1/servicecontrol.services.releaseQuota/serviceName": service_name "/servicecontrol:v1/servicecontrol.services.endReconciliation": end_service_reconciliation "/servicecontrol:v1/servicecontrol.services.endReconciliation/serviceName": service_name -"/servicecontrol:v1/servicecontrol.services.report": report_service -"/servicecontrol:v1/servicecontrol.services.report/serviceName": service_name -"/servicecontrol:v1/MetricValue": metric_value -"/servicecontrol:v1/MetricValue/stringValue": string_value -"/servicecontrol:v1/MetricValue/labels": labels -"/servicecontrol:v1/MetricValue/labels/label": label -"/servicecontrol:v1/MetricValue/doubleValue": double_value -"/servicecontrol:v1/MetricValue/int64Value": int64_value -"/servicecontrol:v1/MetricValue/distributionValue": distribution_value -"/servicecontrol:v1/MetricValue/boolValue": bool_value -"/servicecontrol:v1/MetricValue/endTime": end_time -"/servicecontrol:v1/MetricValue/startTime": start_time -"/servicecontrol:v1/MetricValue/moneyValue": money_value -"/servicecontrol:v1/Money": money -"/servicecontrol:v1/Money/currencyCode": currency_code -"/servicecontrol:v1/Money/nanos": nanos -"/servicecontrol:v1/Money/units": units -"/servicecontrol:v1/EndReconciliationResponse": end_reconciliation_response -"/servicecontrol:v1/EndReconciliationResponse/quotaMetrics": quota_metrics -"/servicecontrol:v1/EndReconciliationResponse/quotaMetrics/quota_metric": quota_metric -"/servicecontrol:v1/EndReconciliationResponse/operationId": operation_id -"/servicecontrol:v1/EndReconciliationResponse/reconciliationErrors": reconciliation_errors -"/servicecontrol:v1/EndReconciliationResponse/reconciliationErrors/reconciliation_error": reconciliation_error -"/servicecontrol:v1/EndReconciliationResponse/serviceConfigId": service_config_id -"/servicecontrol:v1/ExplicitBuckets": explicit_buckets -"/servicecontrol:v1/ExplicitBuckets/bounds": bounds -"/servicecontrol:v1/ExplicitBuckets/bounds/bound": bound -"/servicecontrol:v1/Distribution": distribution -"/servicecontrol:v1/Distribution/exponentialBuckets": exponential_buckets -"/servicecontrol:v1/Distribution/minimum": minimum -"/servicecontrol:v1/Distribution/linearBuckets": linear_buckets -"/servicecontrol:v1/Distribution/count": count -"/servicecontrol:v1/Distribution/mean": mean -"/servicecontrol:v1/Distribution/bucketCounts": bucket_counts -"/servicecontrol:v1/Distribution/bucketCounts/bucket_count": bucket_count -"/servicecontrol:v1/Distribution/explicitBuckets": explicit_buckets -"/servicecontrol:v1/Distribution/maximum": maximum -"/servicecontrol:v1/Distribution/sumOfSquaredDeviation": sum_of_squared_deviation "/servicecontrol:v1/ExponentialBuckets": exponential_buckets "/servicecontrol:v1/ExponentialBuckets/growthFactor": growth_factor "/servicecontrol:v1/ExponentialBuckets/scale": scale @@ -34584,67 +34518,67 @@ "/servicecontrol:v1/AuthorizationInfo/granted": granted "/servicecontrol:v1/AuthorizationInfo/permission": permission "/servicecontrol:v1/StartReconciliationResponse": start_reconciliation_response +"/servicecontrol:v1/StartReconciliationResponse/quotaMetrics": quota_metrics +"/servicecontrol:v1/StartReconciliationResponse/quotaMetrics/quota_metric": quota_metric "/servicecontrol:v1/StartReconciliationResponse/operationId": operation_id "/servicecontrol:v1/StartReconciliationResponse/reconciliationErrors": reconciliation_errors "/servicecontrol:v1/StartReconciliationResponse/reconciliationErrors/reconciliation_error": reconciliation_error "/servicecontrol:v1/StartReconciliationResponse/serviceConfigId": service_config_id -"/servicecontrol:v1/StartReconciliationResponse/quotaMetrics": quota_metrics -"/servicecontrol:v1/StartReconciliationResponse/quotaMetrics/quota_metric": quota_metric "/servicecontrol:v1/QuotaProperties": quota_properties +"/servicecontrol:v1/QuotaProperties/quotaMode": quota_mode "/servicecontrol:v1/QuotaProperties/limitByIds": limit_by_ids "/servicecontrol:v1/QuotaProperties/limitByIds/limit_by_id": limit_by_id -"/servicecontrol:v1/QuotaProperties/quotaMode": quota_mode "/servicecontrol:v1/LinearBuckets": linear_buckets +"/servicecontrol:v1/LinearBuckets/width": width "/servicecontrol:v1/LinearBuckets/offset": offset "/servicecontrol:v1/LinearBuckets/numFiniteBuckets": num_finite_buckets -"/servicecontrol:v1/LinearBuckets/width": width "/servicecontrol:v1/AuthenticationInfo": authentication_info "/servicecontrol:v1/AuthenticationInfo/principalEmail": principal_email "/servicecontrol:v1/AuthenticationInfo/authoritySelector": authority_selector "/servicecontrol:v1/AllocateQuotaResponse": allocate_quota_response +"/servicecontrol:v1/AllocateQuotaResponse/operationId": operation_id "/servicecontrol:v1/AllocateQuotaResponse/serviceConfigId": service_config_id "/servicecontrol:v1/AllocateQuotaResponse/allocateErrors": allocate_errors "/servicecontrol:v1/AllocateQuotaResponse/allocateErrors/allocate_error": allocate_error "/servicecontrol:v1/AllocateQuotaResponse/quotaMetrics": quota_metrics "/servicecontrol:v1/AllocateQuotaResponse/quotaMetrics/quota_metric": quota_metric -"/servicecontrol:v1/AllocateQuotaResponse/operationId": operation_id "/servicecontrol:v1/ReleaseQuotaRequest": release_quota_request "/servicecontrol:v1/ReleaseQuotaRequest/serviceConfigId": service_config_id "/servicecontrol:v1/ReleaseQuotaRequest/releaseOperation": release_operation -"/servicecontrol:v1/RequestMetadata": request_metadata -"/servicecontrol:v1/RequestMetadata/callerIp": caller_ip -"/servicecontrol:v1/RequestMetadata/callerSuppliedUserAgent": caller_supplied_user_agent "/servicecontrol:v1/QuotaError": quota_error "/servicecontrol:v1/QuotaError/subject": subject "/servicecontrol:v1/QuotaError/description": description "/servicecontrol:v1/QuotaError/code": code +"/servicecontrol:v1/RequestMetadata": request_metadata +"/servicecontrol:v1/RequestMetadata/callerIp": caller_ip +"/servicecontrol:v1/RequestMetadata/callerSuppliedUserAgent": caller_supplied_user_agent "/servicecontrol:v1/CheckInfo": check_info "/servicecontrol:v1/CheckInfo/unusedArguments": unused_arguments "/servicecontrol:v1/CheckInfo/unusedArguments/unused_argument": unused_argument "/servicecontrol:v1/ReleaseQuotaResponse": release_quota_response -"/servicecontrol:v1/ReleaseQuotaResponse/quotaMetrics": quota_metrics -"/servicecontrol:v1/ReleaseQuotaResponse/quotaMetrics/quota_metric": quota_metric "/servicecontrol:v1/ReleaseQuotaResponse/operationId": operation_id "/servicecontrol:v1/ReleaseQuotaResponse/serviceConfigId": service_config_id "/servicecontrol:v1/ReleaseQuotaResponse/releaseErrors": release_errors "/servicecontrol:v1/ReleaseQuotaResponse/releaseErrors/release_error": release_error +"/servicecontrol:v1/ReleaseQuotaResponse/quotaMetrics": quota_metrics +"/servicecontrol:v1/ReleaseQuotaResponse/quotaMetrics/quota_metric": quota_metric "/servicecontrol:v1/AllocateQuotaRequest": allocate_quota_request +"/servicecontrol:v1/AllocateQuotaRequest/allocationMode": allocation_mode "/servicecontrol:v1/AllocateQuotaRequest/serviceConfigId": service_config_id "/servicecontrol:v1/AllocateQuotaRequest/allocateOperation": allocate_operation -"/servicecontrol:v1/AllocateQuotaRequest/allocationMode": allocation_mode "/servicecontrol:v1/MetricValueSet": metric_value_set "/servicecontrol:v1/MetricValueSet/metricName": metric_name "/servicecontrol:v1/MetricValueSet/metricValues": metric_values "/servicecontrol:v1/MetricValueSet/metricValues/metric_value": metric_value "/servicecontrol:v1/ReportError": report_error -"/servicecontrol:v1/ReportError/operationId": operation_id "/servicecontrol:v1/ReportError/status": status +"/servicecontrol:v1/ReportError/operationId": operation_id "/servicecontrol:v1/StartReconciliationRequest": start_reconciliation_request -"/servicecontrol:v1/StartReconciliationRequest/serviceConfigId": service_config_id "/servicecontrol:v1/StartReconciliationRequest/reconciliationOperation": reconciliation_operation +"/servicecontrol:v1/StartReconciliationRequest/serviceConfigId": service_config_id "/servicecontrol:v1/CheckError": check_error -"/servicecontrol:v1/CheckError/detail": detail "/servicecontrol:v1/CheckError/code": code +"/servicecontrol:v1/CheckError/detail": detail "/servicecontrol:v1/QuotaInfo": quota_info "/servicecontrol:v1/QuotaInfo/quotaConsumed": quota_consumed "/servicecontrol:v1/QuotaInfo/quotaConsumed/quota_consumed": quota_consumed @@ -34658,14 +34592,14 @@ "/servicecontrol:v1/CheckRequest/requestProjectSettings": request_project_settings "/servicecontrol:v1/CheckRequest/serviceConfigId": service_config_id "/servicecontrol:v1/QuotaOperation": quota_operation +"/servicecontrol:v1/QuotaOperation/labels": labels +"/servicecontrol:v1/QuotaOperation/labels/label": label "/servicecontrol:v1/QuotaOperation/consumerId": consumer_id "/servicecontrol:v1/QuotaOperation/operationId": operation_id "/servicecontrol:v1/QuotaOperation/quotaMode": quota_mode "/servicecontrol:v1/QuotaOperation/methodName": method_name "/servicecontrol:v1/QuotaOperation/quotaMetrics": quota_metrics "/servicecontrol:v1/QuotaOperation/quotaMetrics/quota_metric": quota_metric -"/servicecontrol:v1/QuotaOperation/labels": labels -"/servicecontrol:v1/QuotaOperation/labels/label": label "/servicecontrol:v1/EndReconciliationRequest": end_reconciliation_request "/servicecontrol:v1/EndReconciliationRequest/reconciliationOperation": reconciliation_operation "/servicecontrol:v1/EndReconciliationRequest/serviceConfigId": service_config_id @@ -34673,8 +34607,11 @@ "/servicecontrol:v1/ReportInfo/operationId": operation_id "/servicecontrol:v1/ReportInfo/quotaInfo": quota_info "/servicecontrol:v1/Operation": operation -"/servicecontrol:v1/Operation/operationName": operation_name +"/servicecontrol:v1/Operation/quotaProperties": quota_properties +"/servicecontrol:v1/Operation/consumerId": consumer_id +"/servicecontrol:v1/Operation/operationId": operation_id "/servicecontrol:v1/Operation/endTime": end_time +"/servicecontrol:v1/Operation/operationName": operation_name "/servicecontrol:v1/Operation/startTime": start_time "/servicecontrol:v1/Operation/importance": importance "/servicecontrol:v1/Operation/resourceContainer": resource_container @@ -34686,15 +34623,12 @@ "/servicecontrol:v1/Operation/userLabels/user_label": user_label "/servicecontrol:v1/Operation/metricValueSets": metric_value_sets "/servicecontrol:v1/Operation/metricValueSets/metric_value_set": metric_value_set -"/servicecontrol:v1/Operation/quotaProperties": quota_properties -"/servicecontrol:v1/Operation/consumerId": consumer_id -"/servicecontrol:v1/Operation/operationId": operation_id "/servicecontrol:v1/ReportResponse": report_response +"/servicecontrol:v1/ReportResponse/reportErrors": report_errors +"/servicecontrol:v1/ReportResponse/reportErrors/report_error": report_error "/servicecontrol:v1/ReportResponse/reportInfos": report_infos "/servicecontrol:v1/ReportResponse/reportInfos/report_info": report_info "/servicecontrol:v1/ReportResponse/serviceConfigId": service_config_id -"/servicecontrol:v1/ReportResponse/reportErrors": report_errors -"/servicecontrol:v1/ReportResponse/reportErrors/report_error": report_error "/servicecontrol:v1/CheckResponse": check_response "/servicecontrol:v1/CheckResponse/operationId": operation_id "/servicecontrol:v1/CheckResponse/checkErrors": check_errors @@ -34703,48 +34637,89 @@ "/servicecontrol:v1/CheckResponse/quotaInfo": quota_info "/servicecontrol:v1/CheckResponse/serviceConfigId": service_config_id "/servicecontrol:v1/Status": status -"/servicecontrol:v1/Status/code": code -"/servicecontrol:v1/Status/message": message "/servicecontrol:v1/Status/details": details "/servicecontrol:v1/Status/details/detail": detail "/servicecontrol:v1/Status/details/detail/detail": detail +"/servicecontrol:v1/Status/code": code +"/servicecontrol:v1/Status/message": message "/servicecontrol:v1/ReportRequest": report_request "/servicecontrol:v1/ReportRequest/operations": operations "/servicecontrol:v1/ReportRequest/operations/operation": operation "/servicecontrol:v1/ReportRequest/serviceConfigId": service_config_id "/servicecontrol:v1/AuditLog": audit_log -"/servicecontrol:v1/AuditLog/serviceData": service_data -"/servicecontrol:v1/AuditLog/serviceData/service_datum": service_datum -"/servicecontrol:v1/AuditLog/requestMetadata": request_metadata "/servicecontrol:v1/AuditLog/numResponseItems": num_response_items -"/servicecontrol:v1/AuditLog/status": status "/servicecontrol:v1/AuditLog/authenticationInfo": authentication_info +"/servicecontrol:v1/AuditLog/status": status "/servicecontrol:v1/AuditLog/serviceName": service_name "/servicecontrol:v1/AuditLog/response": response "/servicecontrol:v1/AuditLog/response/response": response "/servicecontrol:v1/AuditLog/methodName": method_name +"/servicecontrol:v1/AuditLog/resourceName": resource_name "/servicecontrol:v1/AuditLog/authorizationInfo": authorization_info "/servicecontrol:v1/AuditLog/authorizationInfo/authorization_info": authorization_info -"/servicecontrol:v1/AuditLog/resourceName": resource_name "/servicecontrol:v1/AuditLog/request": request "/servicecontrol:v1/AuditLog/request/request": request +"/servicecontrol:v1/AuditLog/serviceData": service_data +"/servicecontrol:v1/AuditLog/serviceData/service_datum": service_datum +"/servicecontrol:v1/AuditLog/requestMetadata": request_metadata "/servicecontrol:v1/LogEntry": log_entry -"/servicecontrol:v1/LogEntry/labels": labels -"/servicecontrol:v1/LogEntry/labels/label": label "/servicecontrol:v1/LogEntry/severity": severity -"/servicecontrol:v1/LogEntry/insertId": insert_id "/servicecontrol:v1/LogEntry/name": name +"/servicecontrol:v1/LogEntry/insertId": insert_id "/servicecontrol:v1/LogEntry/structPayload": struct_payload "/servicecontrol:v1/LogEntry/structPayload/struct_payload": struct_payload "/servicecontrol:v1/LogEntry/textPayload": text_payload "/servicecontrol:v1/LogEntry/protoPayload": proto_payload "/servicecontrol:v1/LogEntry/protoPayload/proto_payload": proto_payload "/servicecontrol:v1/LogEntry/timestamp": timestamp +"/servicecontrol:v1/LogEntry/labels": labels +"/servicecontrol:v1/LogEntry/labels/label": label +"/servicecontrol:v1/MetricValue": metric_value +"/servicecontrol:v1/MetricValue/endTime": end_time +"/servicecontrol:v1/MetricValue/startTime": start_time +"/servicecontrol:v1/MetricValue/moneyValue": money_value +"/servicecontrol:v1/MetricValue/stringValue": string_value +"/servicecontrol:v1/MetricValue/labels": labels +"/servicecontrol:v1/MetricValue/labels/label": label +"/servicecontrol:v1/MetricValue/doubleValue": double_value +"/servicecontrol:v1/MetricValue/int64Value": int64_value +"/servicecontrol:v1/MetricValue/distributionValue": distribution_value +"/servicecontrol:v1/MetricValue/boolValue": bool_value +"/servicecontrol:v1/Money": money +"/servicecontrol:v1/Money/nanos": nanos +"/servicecontrol:v1/Money/units": units +"/servicecontrol:v1/Money/currencyCode": currency_code +"/servicecontrol:v1/EndReconciliationResponse": end_reconciliation_response +"/servicecontrol:v1/EndReconciliationResponse/operationId": operation_id +"/servicecontrol:v1/EndReconciliationResponse/reconciliationErrors": reconciliation_errors +"/servicecontrol:v1/EndReconciliationResponse/reconciliationErrors/reconciliation_error": reconciliation_error +"/servicecontrol:v1/EndReconciliationResponse/serviceConfigId": service_config_id +"/servicecontrol:v1/EndReconciliationResponse/quotaMetrics": quota_metrics +"/servicecontrol:v1/EndReconciliationResponse/quotaMetrics/quota_metric": quota_metric +"/servicecontrol:v1/Distribution": distribution +"/servicecontrol:v1/Distribution/maximum": maximum +"/servicecontrol:v1/Distribution/sumOfSquaredDeviation": sum_of_squared_deviation +"/servicecontrol:v1/Distribution/exponentialBuckets": exponential_buckets +"/servicecontrol:v1/Distribution/minimum": minimum +"/servicecontrol:v1/Distribution/linearBuckets": linear_buckets +"/servicecontrol:v1/Distribution/count": count +"/servicecontrol:v1/Distribution/mean": mean +"/servicecontrol:v1/Distribution/bucketCounts": bucket_counts +"/servicecontrol:v1/Distribution/bucketCounts/bucket_count": bucket_count +"/servicecontrol:v1/Distribution/explicitBuckets": explicit_buckets +"/servicecontrol:v1/ExplicitBuckets": explicit_buckets +"/servicecontrol:v1/ExplicitBuckets/bounds": bounds +"/servicecontrol:v1/ExplicitBuckets/bounds/bound": bound "/servicemanagement:v1/key": key "/servicemanagement:v1/quotaUser": quota_user "/servicemanagement:v1/fields": fields -"/servicemanagement:v1/servicemanagement.services.create": create_service -"/servicemanagement:v1/servicemanagement.services.generateConfigReport": generate_service_config_report +"/servicemanagement:v1/servicemanagement.operations.list": list_operations +"/servicemanagement:v1/servicemanagement.operations.list/filter": filter +"/servicemanagement:v1/servicemanagement.operations.list/name": name +"/servicemanagement:v1/servicemanagement.operations.list/pageToken": page_token +"/servicemanagement:v1/servicemanagement.operations.list/pageSize": page_size +"/servicemanagement:v1/servicemanagement.operations.get": get_operation +"/servicemanagement:v1/servicemanagement.operations.get/name": name "/servicemanagement:v1/servicemanagement.services.get": get_service "/servicemanagement:v1/servicemanagement.services.get/serviceName": service_name "/servicemanagement:v1/servicemanagement.services.testIamPermissions": test_service_iam_permissions @@ -34769,17 +34744,8 @@ "/servicemanagement:v1/servicemanagement.services.list/pageToken": page_token "/servicemanagement:v1/servicemanagement.services.list/pageSize": page_size "/servicemanagement:v1/servicemanagement.services.list/producerProjectId": producer_project_id -"/servicemanagement:v1/servicemanagement.services.rollouts.create": create_service_rollout -"/servicemanagement:v1/servicemanagement.services.rollouts.create/serviceName": service_name -"/servicemanagement:v1/servicemanagement.services.rollouts.list": list_service_rollouts -"/servicemanagement:v1/servicemanagement.services.rollouts.list/serviceName": service_name -"/servicemanagement:v1/servicemanagement.services.rollouts.list/pageToken": page_token -"/servicemanagement:v1/servicemanagement.services.rollouts.list/pageSize": page_size -"/servicemanagement:v1/servicemanagement.services.rollouts.get": get_service_rollout -"/servicemanagement:v1/servicemanagement.services.rollouts.get/serviceName": service_name -"/servicemanagement:v1/servicemanagement.services.rollouts.get/rolloutId": rollout_id -"/servicemanagement:v1/servicemanagement.services.configs.submit": submit_config_source -"/servicemanagement:v1/servicemanagement.services.configs.submit/serviceName": service_name +"/servicemanagement:v1/servicemanagement.services.create": create_service +"/servicemanagement:v1/servicemanagement.services.generateConfigReport": generate_service_config_report "/servicemanagement:v1/servicemanagement.services.configs.list": list_service_configs "/servicemanagement:v1/servicemanagement.services.configs.list/serviceName": service_name "/servicemanagement:v1/servicemanagement.services.configs.list/pageToken": page_token @@ -34790,21 +34756,58 @@ "/servicemanagement:v1/servicemanagement.services.configs.get/view": view "/servicemanagement:v1/servicemanagement.services.configs.create": create_service_config "/servicemanagement:v1/servicemanagement.services.configs.create/serviceName": service_name -"/servicemanagement:v1/servicemanagement.operations.list": list_operations -"/servicemanagement:v1/servicemanagement.operations.list/name": name -"/servicemanagement:v1/servicemanagement.operations.list/pageToken": page_token -"/servicemanagement:v1/servicemanagement.operations.list/pageSize": page_size -"/servicemanagement:v1/servicemanagement.operations.list/filter": filter -"/servicemanagement:v1/servicemanagement.operations.get": get_operation -"/servicemanagement:v1/servicemanagement.operations.get/name": name +"/servicemanagement:v1/servicemanagement.services.configs.submit": submit_config_source +"/servicemanagement:v1/servicemanagement.services.configs.submit/serviceName": service_name +"/servicemanagement:v1/servicemanagement.services.rollouts.list": list_service_rollouts +"/servicemanagement:v1/servicemanagement.services.rollouts.list/pageToken": page_token +"/servicemanagement:v1/servicemanagement.services.rollouts.list/pageSize": page_size +"/servicemanagement:v1/servicemanagement.services.rollouts.list/serviceName": service_name +"/servicemanagement:v1/servicemanagement.services.rollouts.get": get_service_rollout +"/servicemanagement:v1/servicemanagement.services.rollouts.get/serviceName": service_name +"/servicemanagement:v1/servicemanagement.services.rollouts.get/rolloutId": rollout_id +"/servicemanagement:v1/servicemanagement.services.rollouts.create": create_service_rollout +"/servicemanagement:v1/servicemanagement.services.rollouts.create/serviceName": service_name +"/servicemanagement:v1/LogDescriptor": log_descriptor +"/servicemanagement:v1/LogDescriptor/labels": labels +"/servicemanagement:v1/LogDescriptor/labels/label": label +"/servicemanagement:v1/LogDescriptor/name": name +"/servicemanagement:v1/LogDescriptor/description": description +"/servicemanagement:v1/LogDescriptor/displayName": display_name +"/servicemanagement:v1/ConfigFile": config_file +"/servicemanagement:v1/ConfigFile/fileType": file_type +"/servicemanagement:v1/ConfigFile/fileContents": file_contents +"/servicemanagement:v1/ConfigFile/filePath": file_path +"/servicemanagement:v1/MonitoredResourceDescriptor": monitored_resource_descriptor +"/servicemanagement:v1/MonitoredResourceDescriptor/displayName": display_name +"/servicemanagement:v1/MonitoredResourceDescriptor/description": description +"/servicemanagement:v1/MonitoredResourceDescriptor/type": type +"/servicemanagement:v1/MonitoredResourceDescriptor/labels": labels +"/servicemanagement:v1/MonitoredResourceDescriptor/labels/label": label +"/servicemanagement:v1/MonitoredResourceDescriptor/name": name +"/servicemanagement:v1/CustomErrorRule": custom_error_rule +"/servicemanagement:v1/CustomErrorRule/selector": selector +"/servicemanagement:v1/CustomErrorRule/isErrorType": is_error_type +"/servicemanagement:v1/MediaDownload": media_download +"/servicemanagement:v1/MediaDownload/enabled": enabled +"/servicemanagement:v1/MediaDownload/downloadService": download_service +"/servicemanagement:v1/ChangeReport": change_report +"/servicemanagement:v1/ChangeReport/configChanges": config_changes +"/servicemanagement:v1/ChangeReport/configChanges/config_change": config_change +"/servicemanagement:v1/DisableServiceRequest": disable_service_request +"/servicemanagement:v1/DisableServiceRequest/consumerId": consumer_id +"/servicemanagement:v1/SubmitConfigSourceResponse": submit_config_source_response +"/servicemanagement:v1/SubmitConfigSourceResponse/serviceConfig": service_config +"/servicemanagement:v1/MediaUpload": media_upload +"/servicemanagement:v1/MediaUpload/uploadService": upload_service +"/servicemanagement:v1/MediaUpload/enabled": enabled "/servicemanagement:v1/Advice": advice "/servicemanagement:v1/Advice/description": description "/servicemanagement:v1/ManagedService": managed_service -"/servicemanagement:v1/ManagedService/serviceName": service_name "/servicemanagement:v1/ManagedService/producerProjectId": producer_project_id +"/servicemanagement:v1/ManagedService/serviceName": service_name "/servicemanagement:v1/UsageRule": usage_rule -"/servicemanagement:v1/UsageRule/selector": selector "/servicemanagement:v1/UsageRule/allowUnregisteredCalls": allow_unregistered_calls +"/servicemanagement:v1/UsageRule/selector": selector "/servicemanagement:v1/AuthRequirement": auth_requirement "/servicemanagement:v1/AuthRequirement/audiences": audiences "/servicemanagement:v1/AuthRequirement/providerId": provider_id @@ -34820,13 +34823,13 @@ "/servicemanagement:v1/Documentation/pages": pages "/servicemanagement:v1/Documentation/pages/page": page "/servicemanagement:v1/Condition": condition -"/servicemanagement:v1/Condition/sys": sys -"/servicemanagement:v1/Condition/value": value -"/servicemanagement:v1/Condition/iam": iam "/servicemanagement:v1/Condition/values": values "/servicemanagement:v1/Condition/values/value": value +"/servicemanagement:v1/Condition/iam": iam "/servicemanagement:v1/Condition/op": op "/servicemanagement:v1/Condition/svc": svc +"/servicemanagement:v1/Condition/sys": sys +"/servicemanagement:v1/Condition/value": value "/servicemanagement:v1/AuditLogConfig": audit_log_config "/servicemanagement:v1/AuditLogConfig/exemptedMembers": exempted_members "/servicemanagement:v1/AuditLogConfig/exemptedMembers/exempted_member": exempted_member @@ -34835,21 +34838,17 @@ "/servicemanagement:v1/ConfigSource/files": files "/servicemanagement:v1/ConfigSource/files/file": file "/servicemanagement:v1/ConfigSource/id": id -"/servicemanagement:v1/BackendRule": backend_rule -"/servicemanagement:v1/BackendRule/address": address -"/servicemanagement:v1/BackendRule/selector": selector -"/servicemanagement:v1/BackendRule/deadline": deadline "/servicemanagement:v1/AuthenticationRule": authentication_rule +"/servicemanagement:v1/AuthenticationRule/oauth": oauth "/servicemanagement:v1/AuthenticationRule/requirements": requirements "/servicemanagement:v1/AuthenticationRule/requirements/requirement": requirement "/servicemanagement:v1/AuthenticationRule/selector": selector "/servicemanagement:v1/AuthenticationRule/allowWithoutCredential": allow_without_credential -"/servicemanagement:v1/AuthenticationRule/oauth": oauth -"/servicemanagement:v1/UndeleteServiceResponse": undelete_service_response -"/servicemanagement:v1/UndeleteServiceResponse/service": service +"/servicemanagement:v1/BackendRule": backend_rule +"/servicemanagement:v1/BackendRule/address": address +"/servicemanagement:v1/BackendRule/selector": selector +"/servicemanagement:v1/BackendRule/deadline": deadline "/servicemanagement:v1/Policy": policy -"/servicemanagement:v1/Policy/etag": etag -"/servicemanagement:v1/Policy/iamOwned": iam_owned "/servicemanagement:v1/Policy/rules": rules "/servicemanagement:v1/Policy/rules/rule": rule "/servicemanagement:v1/Policy/version": version @@ -34857,6 +34856,10 @@ "/servicemanagement:v1/Policy/auditConfigs/audit_config": audit_config "/servicemanagement:v1/Policy/bindings": bindings "/servicemanagement:v1/Policy/bindings/binding": binding +"/servicemanagement:v1/Policy/etag": etag +"/servicemanagement:v1/Policy/iamOwned": iam_owned +"/servicemanagement:v1/UndeleteServiceResponse": undelete_service_response +"/servicemanagement:v1/UndeleteServiceResponse/service": service "/servicemanagement:v1/Api": api "/servicemanagement:v1/Api/options": options "/servicemanagement:v1/Api/options/option": option @@ -34874,10 +34877,10 @@ "/servicemanagement:v1/MetricRule/metricCosts": metric_costs "/servicemanagement:v1/MetricRule/metricCosts/metric_cost": metric_cost "/servicemanagement:v1/Authentication": authentication -"/servicemanagement:v1/Authentication/rules": rules -"/servicemanagement:v1/Authentication/rules/rule": rule "/servicemanagement:v1/Authentication/providers": providers "/servicemanagement:v1/Authentication/providers/provider": provider +"/servicemanagement:v1/Authentication/rules": rules +"/servicemanagement:v1/Authentication/rules/rule": rule "/servicemanagement:v1/Operation": operation "/servicemanagement:v1/Operation/response": response "/servicemanagement:v1/Operation/response/response": response @@ -34892,21 +34895,40 @@ "/servicemanagement:v1/Page/subpages": subpages "/servicemanagement:v1/Page/subpages/subpage": subpage "/servicemanagement:v1/Status": status +"/servicemanagement:v1/Status/message": message "/servicemanagement:v1/Status/details": details "/servicemanagement:v1/Status/details/detail": detail "/servicemanagement:v1/Status/details/detail/detail": detail "/servicemanagement:v1/Status/code": code -"/servicemanagement:v1/Status/message": message "/servicemanagement:v1/Binding": binding "/servicemanagement:v1/Binding/members": members "/servicemanagement:v1/Binding/members/member": member "/servicemanagement:v1/Binding/role": role "/servicemanagement:v1/AuthProvider": auth_provider +"/servicemanagement:v1/AuthProvider/audiences": audiences "/servicemanagement:v1/AuthProvider/id": id "/servicemanagement:v1/AuthProvider/issuer": issuer "/servicemanagement:v1/AuthProvider/jwksUri": jwks_uri -"/servicemanagement:v1/AuthProvider/audiences": audiences "/servicemanagement:v1/Service": service +"/servicemanagement:v1/Service/documentation": documentation +"/servicemanagement:v1/Service/logging": logging +"/servicemanagement:v1/Service/monitoredResources": monitored_resources +"/servicemanagement:v1/Service/monitoredResources/monitored_resource": monitored_resource +"/servicemanagement:v1/Service/enums": enums +"/servicemanagement:v1/Service/enums/enum": enum +"/servicemanagement:v1/Service/context": context +"/servicemanagement:v1/Service/id": id +"/servicemanagement:v1/Service/usage": usage +"/servicemanagement:v1/Service/metrics": metrics +"/servicemanagement:v1/Service/metrics/metric": metric +"/servicemanagement:v1/Service/authentication": authentication +"/servicemanagement:v1/Service/experimental": experimental +"/servicemanagement:v1/Service/control": control +"/servicemanagement:v1/Service/configVersion": config_version +"/servicemanagement:v1/Service/monitoring": monitoring +"/servicemanagement:v1/Service/systemTypes": system_types +"/servicemanagement:v1/Service/systemTypes/system_type": system_type +"/servicemanagement:v1/Service/producerProjectId": producer_project_id "/servicemanagement:v1/Service/visibility": visibility "/servicemanagement:v1/Service/quota": quota "/servicemanagement:v1/Service/name": name @@ -34922,55 +34944,36 @@ "/servicemanagement:v1/Service/types/type": type "/servicemanagement:v1/Service/sourceInfo": source_info "/servicemanagement:v1/Service/http": http -"/servicemanagement:v1/Service/backend": backend "/servicemanagement:v1/Service/systemParameters": system_parameters -"/servicemanagement:v1/Service/documentation": documentation -"/servicemanagement:v1/Service/monitoredResources": monitored_resources -"/servicemanagement:v1/Service/monitoredResources/monitored_resource": monitored_resource -"/servicemanagement:v1/Service/logging": logging -"/servicemanagement:v1/Service/enums": enums -"/servicemanagement:v1/Service/enums/enum": enum -"/servicemanagement:v1/Service/context": context -"/servicemanagement:v1/Service/id": id -"/servicemanagement:v1/Service/usage": usage -"/servicemanagement:v1/Service/metrics": metrics -"/servicemanagement:v1/Service/metrics/metric": metric -"/servicemanagement:v1/Service/authentication": authentication -"/servicemanagement:v1/Service/experimental": experimental -"/servicemanagement:v1/Service/control": control -"/servicemanagement:v1/Service/configVersion": config_version -"/servicemanagement:v1/Service/monitoring": monitoring -"/servicemanagement:v1/Service/producerProjectId": producer_project_id -"/servicemanagement:v1/Service/systemTypes": system_types -"/servicemanagement:v1/Service/systemTypes/system_type": system_type +"/servicemanagement:v1/Service/backend": backend "/servicemanagement:v1/EnumValue": enum_value "/servicemanagement:v1/EnumValue/name": name "/servicemanagement:v1/EnumValue/options": options "/servicemanagement:v1/EnumValue/options/option": option "/servicemanagement:v1/EnumValue/number": number "/servicemanagement:v1/ListOperationsResponse": list_operations_response -"/servicemanagement:v1/ListOperationsResponse/nextPageToken": next_page_token "/servicemanagement:v1/ListOperationsResponse/operations": operations "/servicemanagement:v1/ListOperationsResponse/operations/operation": operation +"/servicemanagement:v1/ListOperationsResponse/nextPageToken": next_page_token +"/servicemanagement:v1/CustomHttpPattern": custom_http_pattern +"/servicemanagement:v1/CustomHttpPattern/kind": kind +"/servicemanagement:v1/CustomHttpPattern/path": path "/servicemanagement:v1/OperationMetadata": operation_metadata -"/servicemanagement:v1/OperationMetadata/startTime": start_time "/servicemanagement:v1/OperationMetadata/resourceNames": resource_names "/servicemanagement:v1/OperationMetadata/resourceNames/resource_name": resource_name "/servicemanagement:v1/OperationMetadata/steps": steps "/servicemanagement:v1/OperationMetadata/steps/step": step "/servicemanagement:v1/OperationMetadata/progressPercentage": progress_percentage -"/servicemanagement:v1/CustomHttpPattern": custom_http_pattern -"/servicemanagement:v1/CustomHttpPattern/kind": kind -"/servicemanagement:v1/CustomHttpPattern/path": path +"/servicemanagement:v1/OperationMetadata/startTime": start_time "/servicemanagement:v1/SystemParameterRule": system_parameter_rule -"/servicemanagement:v1/SystemParameterRule/selector": selector "/servicemanagement:v1/SystemParameterRule/parameters": parameters "/servicemanagement:v1/SystemParameterRule/parameters/parameter": parameter +"/servicemanagement:v1/SystemParameterRule/selector": selector "/servicemanagement:v1/HttpRule": http_rule "/servicemanagement:v1/HttpRule/selector": selector "/servicemanagement:v1/HttpRule/custom": custom -"/servicemanagement:v1/HttpRule/get": get "/servicemanagement:v1/HttpRule/patch": patch +"/servicemanagement:v1/HttpRule/get": get "/servicemanagement:v1/HttpRule/put": put "/servicemanagement:v1/HttpRule/delete": delete "/servicemanagement:v1/HttpRule/body": body @@ -35006,8 +35009,8 @@ "/servicemanagement:v1/Quota/metricRules": metric_rules "/servicemanagement:v1/Quota/metricRules/metric_rule": metric_rule "/servicemanagement:v1/Rollout": rollout -"/servicemanagement:v1/Rollout/createdBy": created_by "/servicemanagement:v1/Rollout/trafficPercentStrategy": traffic_percent_strategy +"/servicemanagement:v1/Rollout/createdBy": created_by "/servicemanagement:v1/Rollout/rolloutId": rollout_id "/servicemanagement:v1/Rollout/deleteServiceStrategy": delete_service_strategy "/servicemanagement:v1/Rollout/createTime": create_time @@ -35039,47 +35042,47 @@ "/servicemanagement:v1/Logging/producerDestinations": producer_destinations "/servicemanagement:v1/Logging/producerDestinations/producer_destination": producer_destination "/servicemanagement:v1/Method": method_prop -"/servicemanagement:v1/Method/requestStreaming": request_streaming -"/servicemanagement:v1/Method/syntax": syntax "/servicemanagement:v1/Method/responseTypeUrl": response_type_url "/servicemanagement:v1/Method/options": options "/servicemanagement:v1/Method/options/option": option "/servicemanagement:v1/Method/responseStreaming": response_streaming "/servicemanagement:v1/Method/name": name "/servicemanagement:v1/Method/requestTypeUrl": request_type_url +"/servicemanagement:v1/Method/requestStreaming": request_streaming +"/servicemanagement:v1/Method/syntax": syntax "/servicemanagement:v1/QuotaLimit": quota_limit +"/servicemanagement:v1/QuotaLimit/duration": duration +"/servicemanagement:v1/QuotaLimit/freeTier": free_tier +"/servicemanagement:v1/QuotaLimit/defaultLimit": default_limit +"/servicemanagement:v1/QuotaLimit/metric": metric +"/servicemanagement:v1/QuotaLimit/description": description +"/servicemanagement:v1/QuotaLimit/displayName": display_name +"/servicemanagement:v1/QuotaLimit/values": values +"/servicemanagement:v1/QuotaLimit/values/value": value "/servicemanagement:v1/QuotaLimit/unit": unit "/servicemanagement:v1/QuotaLimit/maxLimit": max_limit "/servicemanagement:v1/QuotaLimit/name": name -"/servicemanagement:v1/QuotaLimit/freeTier": free_tier -"/servicemanagement:v1/QuotaLimit/duration": duration -"/servicemanagement:v1/QuotaLimit/defaultLimit": default_limit -"/servicemanagement:v1/QuotaLimit/displayName": display_name -"/servicemanagement:v1/QuotaLimit/description": description -"/servicemanagement:v1/QuotaLimit/metric": metric -"/servicemanagement:v1/QuotaLimit/values": values -"/servicemanagement:v1/QuotaLimit/values/value": value -"/servicemanagement:v1/ConfigRef": config_ref -"/servicemanagement:v1/ConfigRef/name": name "/servicemanagement:v1/ListServiceRolloutsResponse": list_service_rollouts_response "/servicemanagement:v1/ListServiceRolloutsResponse/nextPageToken": next_page_token "/servicemanagement:v1/ListServiceRolloutsResponse/rollouts": rollouts "/servicemanagement:v1/ListServiceRolloutsResponse/rollouts/rollout": rollout +"/servicemanagement:v1/ConfigRef": config_ref +"/servicemanagement:v1/ConfigRef/name": name "/servicemanagement:v1/Mixin": mixin "/servicemanagement:v1/Mixin/name": name "/servicemanagement:v1/Mixin/root": root "/servicemanagement:v1/FlowOperationMetadata": flow_operation_metadata -"/servicemanagement:v1/FlowOperationMetadata/flowName": flow_name -"/servicemanagement:v1/FlowOperationMetadata/resourceNames": resource_names -"/servicemanagement:v1/FlowOperationMetadata/resourceNames/resource_name": resource_name "/servicemanagement:v1/FlowOperationMetadata/cancelState": cancel_state "/servicemanagement:v1/FlowOperationMetadata/deadline": deadline "/servicemanagement:v1/FlowOperationMetadata/startTime": start_time +"/servicemanagement:v1/FlowOperationMetadata/flowName": flow_name +"/servicemanagement:v1/FlowOperationMetadata/resourceNames": resource_names +"/servicemanagement:v1/FlowOperationMetadata/resourceNames/resource_name": resource_name "/servicemanagement:v1/CustomError": custom_error -"/servicemanagement:v1/CustomError/rules": rules -"/servicemanagement:v1/CustomError/rules/rule": rule "/servicemanagement:v1/CustomError/types": types "/servicemanagement:v1/CustomError/types/type": type +"/servicemanagement:v1/CustomError/rules": rules +"/servicemanagement:v1/CustomError/rules/rule": rule "/servicemanagement:v1/CounterOptions": counter_options "/servicemanagement:v1/CounterOptions/metric": metric "/servicemanagement:v1/CounterOptions/field": field @@ -35097,67 +35100,67 @@ "/servicemanagement:v1/SystemParameter/urlQueryParameter": url_query_parameter "/servicemanagement:v1/SystemParameter/httpHeader": http_header "/servicemanagement:v1/SystemParameter/name": name +"/servicemanagement:v1/Field": field +"/servicemanagement:v1/Field/name": name +"/servicemanagement:v1/Field/typeUrl": type_url +"/servicemanagement:v1/Field/number": number +"/servicemanagement:v1/Field/jsonName": json_name +"/servicemanagement:v1/Field/kind": kind +"/servicemanagement:v1/Field/options": options +"/servicemanagement:v1/Field/options/option": option +"/servicemanagement:v1/Field/oneofIndex": oneof_index +"/servicemanagement:v1/Field/cardinality": cardinality +"/servicemanagement:v1/Field/packed": packed +"/servicemanagement:v1/Field/defaultValue": default_value "/servicemanagement:v1/Monitoring": monitoring "/servicemanagement:v1/Monitoring/consumerDestinations": consumer_destinations "/servicemanagement:v1/Monitoring/consumerDestinations/consumer_destination": consumer_destination "/servicemanagement:v1/Monitoring/producerDestinations": producer_destinations "/servicemanagement:v1/Monitoring/producerDestinations/producer_destination": producer_destination -"/servicemanagement:v1/Field": field -"/servicemanagement:v1/Field/kind": kind -"/servicemanagement:v1/Field/jsonName": json_name -"/servicemanagement:v1/Field/options": options -"/servicemanagement:v1/Field/options/option": option -"/servicemanagement:v1/Field/oneofIndex": oneof_index -"/servicemanagement:v1/Field/packed": packed -"/servicemanagement:v1/Field/cardinality": cardinality -"/servicemanagement:v1/Field/defaultValue": default_value -"/servicemanagement:v1/Field/name": name -"/servicemanagement:v1/Field/typeUrl": type_url -"/servicemanagement:v1/Field/number": number "/servicemanagement:v1/TestIamPermissionsRequest": test_iam_permissions_request "/servicemanagement:v1/TestIamPermissionsRequest/permissions": permissions "/servicemanagement:v1/TestIamPermissionsRequest/permissions/permission": permission "/servicemanagement:v1/Enum": enum +"/servicemanagement:v1/Enum/name": name +"/servicemanagement:v1/Enum/enumvalue": enumvalue +"/servicemanagement:v1/Enum/enumvalue/enumvalue": enumvalue "/servicemanagement:v1/Enum/options": options "/servicemanagement:v1/Enum/options/option": option "/servicemanagement:v1/Enum/sourceContext": source_context "/servicemanagement:v1/Enum/syntax": syntax -"/servicemanagement:v1/Enum/name": name -"/servicemanagement:v1/Enum/enumvalue": enumvalue -"/servicemanagement:v1/Enum/enumvalue/enumvalue": enumvalue -"/servicemanagement:v1/Diagnostic": diagnostic -"/servicemanagement:v1/Diagnostic/location": location -"/servicemanagement:v1/Diagnostic/kind": kind -"/servicemanagement:v1/Diagnostic/message": message "/servicemanagement:v1/EnableServiceRequest": enable_service_request "/servicemanagement:v1/EnableServiceRequest/consumerId": consumer_id +"/servicemanagement:v1/Diagnostic": diagnostic +"/servicemanagement:v1/Diagnostic/message": message +"/servicemanagement:v1/Diagnostic/location": location +"/servicemanagement:v1/Diagnostic/kind": kind "/servicemanagement:v1/LabelDescriptor": label_descriptor "/servicemanagement:v1/LabelDescriptor/key": key "/servicemanagement:v1/LabelDescriptor/description": description "/servicemanagement:v1/LabelDescriptor/valueType": value_type "/servicemanagement:v1/GenerateConfigReportResponse": generate_config_report_response -"/servicemanagement:v1/GenerateConfigReportResponse/serviceName": service_name -"/servicemanagement:v1/GenerateConfigReportResponse/changeReports": change_reports -"/servicemanagement:v1/GenerateConfigReportResponse/changeReports/change_report": change_report "/servicemanagement:v1/GenerateConfigReportResponse/id": id "/servicemanagement:v1/GenerateConfigReportResponse/diagnostics": diagnostics "/servicemanagement:v1/GenerateConfigReportResponse/diagnostics/diagnostic": diagnostic +"/servicemanagement:v1/GenerateConfigReportResponse/serviceName": service_name +"/servicemanagement:v1/GenerateConfigReportResponse/changeReports": change_reports +"/servicemanagement:v1/GenerateConfigReportResponse/changeReports/change_report": change_report "/servicemanagement:v1/Type": type -"/servicemanagement:v1/Type/oneofs": oneofs -"/servicemanagement:v1/Type/oneofs/oneof": oneof -"/servicemanagement:v1/Type/sourceContext": source_context -"/servicemanagement:v1/Type/syntax": syntax -"/servicemanagement:v1/Type/options": options -"/servicemanagement:v1/Type/options/option": option "/servicemanagement:v1/Type/fields": fields "/servicemanagement:v1/Type/fields/field": field "/servicemanagement:v1/Type/name": name -"/servicemanagement:v1/Experimental": experimental -"/servicemanagement:v1/Experimental/authorization": authorization +"/servicemanagement:v1/Type/oneofs": oneofs +"/servicemanagement:v1/Type/oneofs/oneof": oneof +"/servicemanagement:v1/Type/syntax": syntax +"/servicemanagement:v1/Type/sourceContext": source_context +"/servicemanagement:v1/Type/options": options +"/servicemanagement:v1/Type/options/option": option "/servicemanagement:v1/ListServiceConfigsResponse": list_service_configs_response -"/servicemanagement:v1/ListServiceConfigsResponse/nextPageToken": next_page_token "/servicemanagement:v1/ListServiceConfigsResponse/serviceConfigs": service_configs "/servicemanagement:v1/ListServiceConfigsResponse/serviceConfigs/service_config": service_config +"/servicemanagement:v1/ListServiceConfigsResponse/nextPageToken": next_page_token +"/servicemanagement:v1/Experimental": experimental +"/servicemanagement:v1/Experimental/authorization": authorization "/servicemanagement:v1/Backend": backend "/servicemanagement:v1/Backend/rules": rules "/servicemanagement:v1/Backend/rules/rule": rule @@ -35168,31 +35171,31 @@ "/servicemanagement:v1/AuditConfig/auditLogConfigs": audit_log_configs "/servicemanagement:v1/AuditConfig/auditLogConfigs/audit_log_config": audit_log_config "/servicemanagement:v1/SubmitConfigSourceRequest": submit_config_source_request -"/servicemanagement:v1/SubmitConfigSourceRequest/configSource": config_source "/servicemanagement:v1/SubmitConfigSourceRequest/validateOnly": validate_only +"/servicemanagement:v1/SubmitConfigSourceRequest/configSource": config_source "/servicemanagement:v1/DocumentationRule": documentation_rule +"/servicemanagement:v1/DocumentationRule/selector": selector "/servicemanagement:v1/DocumentationRule/description": description "/servicemanagement:v1/DocumentationRule/deprecationDescription": deprecation_description -"/servicemanagement:v1/DocumentationRule/selector": selector "/servicemanagement:v1/AuthorizationConfig": authorization_config "/servicemanagement:v1/AuthorizationConfig/provider": provider "/servicemanagement:v1/ContextRule": context_rule -"/servicemanagement:v1/ContextRule/requested": requested -"/servicemanagement:v1/ContextRule/requested/requested": requested "/servicemanagement:v1/ContextRule/selector": selector "/servicemanagement:v1/ContextRule/provided": provided "/servicemanagement:v1/ContextRule/provided/provided": provided +"/servicemanagement:v1/ContextRule/requested": requested +"/servicemanagement:v1/ContextRule/requested/requested": requested "/servicemanagement:v1/CloudAuditOptions": cloud_audit_options "/servicemanagement:v1/MetricDescriptor": metric_descriptor +"/servicemanagement:v1/MetricDescriptor/type": type +"/servicemanagement:v1/MetricDescriptor/valueType": value_type "/servicemanagement:v1/MetricDescriptor/metricKind": metric_kind -"/servicemanagement:v1/MetricDescriptor/description": description "/servicemanagement:v1/MetricDescriptor/displayName": display_name +"/servicemanagement:v1/MetricDescriptor/description": description "/servicemanagement:v1/MetricDescriptor/unit": unit "/servicemanagement:v1/MetricDescriptor/labels": labels "/servicemanagement:v1/MetricDescriptor/labels/label": label "/servicemanagement:v1/MetricDescriptor/name": name -"/servicemanagement:v1/MetricDescriptor/type": type -"/servicemanagement:v1/MetricDescriptor/valueType": value_type "/servicemanagement:v1/SourceContext": source_context "/servicemanagement:v1/SourceContext/fileName": file_name "/servicemanagement:v1/ListServicesResponse": list_services_response @@ -35200,34 +35203,31 @@ "/servicemanagement:v1/ListServicesResponse/services/service": service "/servicemanagement:v1/ListServicesResponse/nextPageToken": next_page_token "/servicemanagement:v1/Endpoint": endpoint -"/servicemanagement:v1/Endpoint/apis": apis -"/servicemanagement:v1/Endpoint/apis/api": api "/servicemanagement:v1/Endpoint/aliases": aliases "/servicemanagement:v1/Endpoint/aliases/alias": alias "/servicemanagement:v1/Endpoint/allowCors": allow_cors -"/servicemanagement:v1/Endpoint/target": target "/servicemanagement:v1/Endpoint/name": name +"/servicemanagement:v1/Endpoint/target": target "/servicemanagement:v1/Endpoint/features": features "/servicemanagement:v1/Endpoint/features/feature": feature +"/servicemanagement:v1/Endpoint/apis": apis +"/servicemanagement:v1/Endpoint/apis/api": api "/servicemanagement:v1/OAuthRequirements": o_auth_requirements "/servicemanagement:v1/OAuthRequirements/canonicalScopes": canonical_scopes +"/servicemanagement:v1/TestIamPermissionsResponse": test_iam_permissions_response +"/servicemanagement:v1/TestIamPermissionsResponse/permissions": permissions +"/servicemanagement:v1/TestIamPermissionsResponse/permissions/permission": permission +"/servicemanagement:v1/GetIamPolicyRequest": get_iam_policy_request "/servicemanagement:v1/Usage": usage "/servicemanagement:v1/Usage/producerNotificationChannel": producer_notification_channel "/servicemanagement:v1/Usage/rules": rules "/servicemanagement:v1/Usage/rules/rule": rule "/servicemanagement:v1/Usage/requirements": requirements "/servicemanagement:v1/Usage/requirements/requirement": requirement -"/servicemanagement:v1/GetIamPolicyRequest": get_iam_policy_request -"/servicemanagement:v1/TestIamPermissionsResponse": test_iam_permissions_response -"/servicemanagement:v1/TestIamPermissionsResponse/permissions": permissions -"/servicemanagement:v1/TestIamPermissionsResponse/permissions/permission": permission "/servicemanagement:v1/Context": context "/servicemanagement:v1/Context/rules": rules "/servicemanagement:v1/Context/rules/rule": rule "/servicemanagement:v1/Rule": rule -"/servicemanagement:v1/Rule/permissions": permissions -"/servicemanagement:v1/Rule/permissions/permission": permission -"/servicemanagement:v1/Rule/action": action "/servicemanagement:v1/Rule/notIn": not_in "/servicemanagement:v1/Rule/notIn/not_in": not_in "/servicemanagement:v1/Rule/description": description @@ -35237,63 +35237,85 @@ "/servicemanagement:v1/Rule/logConfig/log_config": log_config "/servicemanagement:v1/Rule/in": in "/servicemanagement:v1/Rule/in/in": in +"/servicemanagement:v1/Rule/permissions": permissions +"/servicemanagement:v1/Rule/permissions/permission": permission +"/servicemanagement:v1/Rule/action": action "/servicemanagement:v1/LogConfig": log_config -"/servicemanagement:v1/LogConfig/counter": counter "/servicemanagement:v1/LogConfig/dataAccess": data_access "/servicemanagement:v1/LogConfig/cloudAudit": cloud_audit -"/servicemanagement:v1/LogDescriptor": log_descriptor -"/servicemanagement:v1/LogDescriptor/name": name -"/servicemanagement:v1/LogDescriptor/description": description -"/servicemanagement:v1/LogDescriptor/displayName": display_name -"/servicemanagement:v1/LogDescriptor/labels": labels -"/servicemanagement:v1/LogDescriptor/labels/label": label -"/servicemanagement:v1/ConfigFile": config_file -"/servicemanagement:v1/ConfigFile/fileType": file_type -"/servicemanagement:v1/ConfigFile/fileContents": file_contents -"/servicemanagement:v1/ConfigFile/filePath": file_path -"/servicemanagement:v1/MonitoredResourceDescriptor": monitored_resource_descriptor -"/servicemanagement:v1/MonitoredResourceDescriptor/displayName": display_name -"/servicemanagement:v1/MonitoredResourceDescriptor/description": description -"/servicemanagement:v1/MonitoredResourceDescriptor/type": type -"/servicemanagement:v1/MonitoredResourceDescriptor/labels": labels -"/servicemanagement:v1/MonitoredResourceDescriptor/labels/label": label -"/servicemanagement:v1/MonitoredResourceDescriptor/name": name -"/servicemanagement:v1/CustomErrorRule": custom_error_rule -"/servicemanagement:v1/CustomErrorRule/isErrorType": is_error_type -"/servicemanagement:v1/CustomErrorRule/selector": selector -"/servicemanagement:v1/MediaDownload": media_download -"/servicemanagement:v1/MediaDownload/enabled": enabled -"/servicemanagement:v1/MediaDownload/downloadService": download_service -"/servicemanagement:v1/ChangeReport": change_report -"/servicemanagement:v1/ChangeReport/configChanges": config_changes -"/servicemanagement:v1/ChangeReport/configChanges/config_change": config_change -"/servicemanagement:v1/DisableServiceRequest": disable_service_request -"/servicemanagement:v1/DisableServiceRequest/consumerId": consumer_id -"/servicemanagement:v1/SubmitConfigSourceResponse": submit_config_source_response -"/servicemanagement:v1/SubmitConfigSourceResponse/serviceConfig": service_config -"/servicemanagement:v1/MediaUpload": media_upload -"/servicemanagement:v1/MediaUpload/uploadService": upload_service -"/servicemanagement:v1/MediaUpload/enabled": enabled +"/servicemanagement:v1/LogConfig/counter": counter +"/serviceuser:v1/key": key "/serviceuser:v1/quotaUser": quota_user "/serviceuser:v1/fields": fields -"/serviceuser:v1/key": key -"/serviceuser:v1/serviceuser.services.search": search_services -"/serviceuser:v1/serviceuser.services.search/pageToken": page_token -"/serviceuser:v1/serviceuser.services.search/pageSize": page_size "/serviceuser:v1/serviceuser.projects.services.disable": disable_service "/serviceuser:v1/serviceuser.projects.services.disable/name": name "/serviceuser:v1/serviceuser.projects.services.enable": enable_service "/serviceuser:v1/serviceuser.projects.services.enable/name": name "/serviceuser:v1/serviceuser.projects.services.list": list_project_services +"/serviceuser:v1/serviceuser.projects.services.list/pageSize": page_size "/serviceuser:v1/serviceuser.projects.services.list/parent": parent "/serviceuser:v1/serviceuser.projects.services.list/pageToken": page_token -"/serviceuser:v1/serviceuser.projects.services.list/pageSize": page_size +"/serviceuser:v1/serviceuser.services.search": search_services +"/serviceuser:v1/serviceuser.services.search/pageToken": page_token +"/serviceuser:v1/serviceuser.services.search/pageSize": page_size +"/serviceuser:v1/DocumentationRule": documentation_rule +"/serviceuser:v1/DocumentationRule/description": description +"/serviceuser:v1/DocumentationRule/deprecationDescription": deprecation_description +"/serviceuser:v1/DocumentationRule/selector": selector +"/serviceuser:v1/AuthorizationConfig": authorization_config +"/serviceuser:v1/AuthorizationConfig/provider": provider +"/serviceuser:v1/ContextRule": context_rule +"/serviceuser:v1/ContextRule/requested": requested +"/serviceuser:v1/ContextRule/requested/requested": requested +"/serviceuser:v1/ContextRule/selector": selector +"/serviceuser:v1/ContextRule/provided": provided +"/serviceuser:v1/ContextRule/provided/provided": provided +"/serviceuser:v1/MetricDescriptor": metric_descriptor +"/serviceuser:v1/MetricDescriptor/name": name +"/serviceuser:v1/MetricDescriptor/type": type +"/serviceuser:v1/MetricDescriptor/valueType": value_type +"/serviceuser:v1/MetricDescriptor/metricKind": metric_kind +"/serviceuser:v1/MetricDescriptor/description": description +"/serviceuser:v1/MetricDescriptor/displayName": display_name +"/serviceuser:v1/MetricDescriptor/unit": unit +"/serviceuser:v1/MetricDescriptor/labels": labels +"/serviceuser:v1/MetricDescriptor/labels/label": label +"/serviceuser:v1/SourceContext": source_context +"/serviceuser:v1/SourceContext/fileName": file_name +"/serviceuser:v1/Endpoint": endpoint +"/serviceuser:v1/Endpoint/features": features +"/serviceuser:v1/Endpoint/features/feature": feature +"/serviceuser:v1/Endpoint/apis": apis +"/serviceuser:v1/Endpoint/apis/api": api +"/serviceuser:v1/Endpoint/allowCors": allow_cors +"/serviceuser:v1/Endpoint/aliases": aliases +"/serviceuser:v1/Endpoint/aliases/alias": alias +"/serviceuser:v1/Endpoint/name": name +"/serviceuser:v1/Endpoint/target": target +"/serviceuser:v1/ListEnabledServicesResponse": list_enabled_services_response +"/serviceuser:v1/ListEnabledServicesResponse/services": services +"/serviceuser:v1/ListEnabledServicesResponse/services/service": service +"/serviceuser:v1/ListEnabledServicesResponse/nextPageToken": next_page_token +"/serviceuser:v1/OAuthRequirements": o_auth_requirements +"/serviceuser:v1/OAuthRequirements/canonicalScopes": canonical_scopes +"/serviceuser:v1/Usage": usage +"/serviceuser:v1/Usage/requirements": requirements +"/serviceuser:v1/Usage/requirements/requirement": requirement +"/serviceuser:v1/Usage/producerNotificationChannel": producer_notification_channel +"/serviceuser:v1/Usage/rules": rules +"/serviceuser:v1/Usage/rules/rule": rule +"/serviceuser:v1/Context": context +"/serviceuser:v1/Context/rules": rules +"/serviceuser:v1/Context/rules/rule": rule "/serviceuser:v1/LogDescriptor": log_descriptor +"/serviceuser:v1/LogDescriptor/labels": labels +"/serviceuser:v1/LogDescriptor/labels/label": label "/serviceuser:v1/LogDescriptor/name": name "/serviceuser:v1/LogDescriptor/description": description "/serviceuser:v1/LogDescriptor/displayName": display_name -"/serviceuser:v1/LogDescriptor/labels": labels -"/serviceuser:v1/LogDescriptor/labels/label": label +"/serviceuser:v1/CustomErrorRule": custom_error_rule +"/serviceuser:v1/CustomErrorRule/isErrorType": is_error_type +"/serviceuser:v1/CustomErrorRule/selector": selector "/serviceuser:v1/MonitoredResourceDescriptor": monitored_resource_descriptor "/serviceuser:v1/MonitoredResourceDescriptor/name": name "/serviceuser:v1/MonitoredResourceDescriptor/displayName": display_name @@ -35301,9 +35323,6 @@ "/serviceuser:v1/MonitoredResourceDescriptor/type": type "/serviceuser:v1/MonitoredResourceDescriptor/labels": labels "/serviceuser:v1/MonitoredResourceDescriptor/labels/label": label -"/serviceuser:v1/CustomErrorRule": custom_error_rule -"/serviceuser:v1/CustomErrorRule/isErrorType": is_error_type -"/serviceuser:v1/CustomErrorRule/selector": selector "/serviceuser:v1/MediaDownload": media_download "/serviceuser:v1/MediaDownload/enabled": enabled "/serviceuser:v1/MediaDownload/downloadService": download_service @@ -35316,11 +35335,11 @@ "/serviceuser:v1/MediaUpload/uploadService": upload_service "/serviceuser:v1/MediaUpload/enabled": enabled "/serviceuser:v1/UsageRule": usage_rule -"/serviceuser:v1/UsageRule/selector": selector "/serviceuser:v1/UsageRule/allowUnregisteredCalls": allow_unregistered_calls +"/serviceuser:v1/UsageRule/selector": selector "/serviceuser:v1/AuthRequirement": auth_requirement -"/serviceuser:v1/AuthRequirement/audiences": audiences "/serviceuser:v1/AuthRequirement/providerId": provider_id +"/serviceuser:v1/AuthRequirement/audiences": audiences "/serviceuser:v1/Documentation": documentation "/serviceuser:v1/Documentation/documentationRootUrl": documentation_root_url "/serviceuser:v1/Documentation/rules": rules @@ -35329,20 +35348,19 @@ "/serviceuser:v1/Documentation/pages": pages "/serviceuser:v1/Documentation/pages/page": page "/serviceuser:v1/Documentation/summary": summary -"/serviceuser:v1/BackendRule": backend_rule -"/serviceuser:v1/BackendRule/address": address -"/serviceuser:v1/BackendRule/selector": selector -"/serviceuser:v1/BackendRule/deadline": deadline "/serviceuser:v1/AuthenticationRule": authentication_rule "/serviceuser:v1/AuthenticationRule/selector": selector "/serviceuser:v1/AuthenticationRule/allowWithoutCredential": allow_without_credential "/serviceuser:v1/AuthenticationRule/oauth": oauth "/serviceuser:v1/AuthenticationRule/requirements": requirements "/serviceuser:v1/AuthenticationRule/requirements/requirement": requirement +"/serviceuser:v1/BackendRule": backend_rule +"/serviceuser:v1/BackendRule/address": address +"/serviceuser:v1/BackendRule/selector": selector +"/serviceuser:v1/BackendRule/deadline": deadline "/serviceuser:v1/Api": api -"/serviceuser:v1/Api/name": name -"/serviceuser:v1/Api/sourceContext": source_context "/serviceuser:v1/Api/syntax": syntax +"/serviceuser:v1/Api/sourceContext": source_context "/serviceuser:v1/Api/version": version "/serviceuser:v1/Api/mixins": mixins "/serviceuser:v1/Api/mixins/mixin": mixin @@ -35350,6 +35368,7 @@ "/serviceuser:v1/Api/options/option": option "/serviceuser:v1/Api/methods": methods_prop "/serviceuser:v1/Api/methods/methods_prop": methods_prop +"/serviceuser:v1/Api/name": name "/serviceuser:v1/MetricRule": metric_rule "/serviceuser:v1/MetricRule/selector": selector "/serviceuser:v1/MetricRule/metricCosts": metric_costs @@ -35360,33 +35379,38 @@ "/serviceuser:v1/Authentication/providers": providers "/serviceuser:v1/Authentication/providers/provider": provider "/serviceuser:v1/Operation": operation -"/serviceuser:v1/Operation/done": done "/serviceuser:v1/Operation/response": response "/serviceuser:v1/Operation/response/response": response "/serviceuser:v1/Operation/name": name "/serviceuser:v1/Operation/error": error "/serviceuser:v1/Operation/metadata": metadata "/serviceuser:v1/Operation/metadata/metadatum": metadatum +"/serviceuser:v1/Operation/done": done "/serviceuser:v1/Page": page "/serviceuser:v1/Page/name": name "/serviceuser:v1/Page/content": content "/serviceuser:v1/Page/subpages": subpages "/serviceuser:v1/Page/subpages/subpage": subpage "/serviceuser:v1/Status": status +"/serviceuser:v1/Status/code": code "/serviceuser:v1/Status/message": message "/serviceuser:v1/Status/details": details "/serviceuser:v1/Status/details/detail": detail "/serviceuser:v1/Status/details/detail/detail": detail -"/serviceuser:v1/Status/code": code "/serviceuser:v1/AuthProvider": auth_provider -"/serviceuser:v1/AuthProvider/id": id -"/serviceuser:v1/AuthProvider/issuer": issuer "/serviceuser:v1/AuthProvider/jwksUri": jwks_uri "/serviceuser:v1/AuthProvider/audiences": audiences +"/serviceuser:v1/AuthProvider/id": id +"/serviceuser:v1/AuthProvider/issuer": issuer +"/serviceuser:v1/EnumValue": enum_value +"/serviceuser:v1/EnumValue/options": options +"/serviceuser:v1/EnumValue/options/option": option +"/serviceuser:v1/EnumValue/number": number +"/serviceuser:v1/EnumValue/name": name "/serviceuser:v1/Service": service +"/serviceuser:v1/Service/context": context "/serviceuser:v1/Service/enums": enums "/serviceuser:v1/Service/enums/enum": enum -"/serviceuser:v1/Service/context": context "/serviceuser:v1/Service/id": id "/serviceuser:v1/Service/usage": usage "/serviceuser:v1/Service/metrics": metrics @@ -35406,49 +35430,38 @@ "/serviceuser:v1/Service/title": title "/serviceuser:v1/Service/endpoints": endpoints "/serviceuser:v1/Service/endpoints/endpoint": endpoint -"/serviceuser:v1/Service/apis": apis -"/serviceuser:v1/Service/apis/api": api "/serviceuser:v1/Service/logs": logs "/serviceuser:v1/Service/logs/log": log +"/serviceuser:v1/Service/apis": apis +"/serviceuser:v1/Service/apis/api": api "/serviceuser:v1/Service/types": types "/serviceuser:v1/Service/types/type": type "/serviceuser:v1/Service/sourceInfo": source_info "/serviceuser:v1/Service/http": http -"/serviceuser:v1/Service/backend": backend "/serviceuser:v1/Service/systemParameters": system_parameters +"/serviceuser:v1/Service/backend": backend "/serviceuser:v1/Service/documentation": documentation "/serviceuser:v1/Service/monitoredResources": monitored_resources "/serviceuser:v1/Service/monitoredResources/monitored_resource": monitored_resource "/serviceuser:v1/Service/logging": logging -"/serviceuser:v1/EnumValue": enum_value -"/serviceuser:v1/EnumValue/name": name -"/serviceuser:v1/EnumValue/options": options -"/serviceuser:v1/EnumValue/options/option": option -"/serviceuser:v1/EnumValue/number": number "/serviceuser:v1/CustomHttpPattern": custom_http_pattern "/serviceuser:v1/CustomHttpPattern/path": path "/serviceuser:v1/CustomHttpPattern/kind": kind "/serviceuser:v1/OperationMetadata": operation_metadata -"/serviceuser:v1/OperationMetadata/progressPercentage": progress_percentage "/serviceuser:v1/OperationMetadata/startTime": start_time "/serviceuser:v1/OperationMetadata/resourceNames": resource_names "/serviceuser:v1/OperationMetadata/resourceNames/resource_name": resource_name "/serviceuser:v1/OperationMetadata/steps": steps "/serviceuser:v1/OperationMetadata/steps/step": step +"/serviceuser:v1/OperationMetadata/progressPercentage": progress_percentage +"/serviceuser:v1/SystemParameterRule": system_parameter_rule +"/serviceuser:v1/SystemParameterRule/parameters": parameters +"/serviceuser:v1/SystemParameterRule/parameters/parameter": parameter +"/serviceuser:v1/SystemParameterRule/selector": selector "/serviceuser:v1/PublishedService": published_service "/serviceuser:v1/PublishedService/service": service "/serviceuser:v1/PublishedService/name": name -"/serviceuser:v1/SystemParameterRule": system_parameter_rule -"/serviceuser:v1/SystemParameterRule/selector": selector -"/serviceuser:v1/SystemParameterRule/parameters": parameters -"/serviceuser:v1/SystemParameterRule/parameters/parameter": parameter -"/serviceuser:v1/VisibilityRule": visibility_rule -"/serviceuser:v1/VisibilityRule/restriction": restriction -"/serviceuser:v1/VisibilityRule/selector": selector "/serviceuser:v1/HttpRule": http_rule -"/serviceuser:v1/HttpRule/additionalBindings": additional_bindings -"/serviceuser:v1/HttpRule/additionalBindings/additional_binding": additional_binding -"/serviceuser:v1/HttpRule/responseBody": response_body "/serviceuser:v1/HttpRule/mediaUpload": media_upload "/serviceuser:v1/HttpRule/selector": selector "/serviceuser:v1/HttpRule/custom": custom @@ -35459,6 +35472,12 @@ "/serviceuser:v1/HttpRule/body": body "/serviceuser:v1/HttpRule/mediaDownload": media_download "/serviceuser:v1/HttpRule/post": post +"/serviceuser:v1/HttpRule/additionalBindings": additional_bindings +"/serviceuser:v1/HttpRule/additionalBindings/additional_binding": additional_binding +"/serviceuser:v1/HttpRule/responseBody": response_body +"/serviceuser:v1/VisibilityRule": visibility_rule +"/serviceuser:v1/VisibilityRule/selector": selector +"/serviceuser:v1/VisibilityRule/restriction": restriction "/serviceuser:v1/MonitoringDestination": monitoring_destination "/serviceuser:v1/MonitoringDestination/monitoredResource": monitored_resource "/serviceuser:v1/MonitoringDestination/metrics": metrics @@ -35486,14 +35505,20 @@ "/serviceuser:v1/Option/value": value "/serviceuser:v1/Option/value/value": value "/serviceuser:v1/Logging": logging -"/serviceuser:v1/Logging/consumerDestinations": consumer_destinations -"/serviceuser:v1/Logging/consumerDestinations/consumer_destination": consumer_destination "/serviceuser:v1/Logging/producerDestinations": producer_destinations "/serviceuser:v1/Logging/producerDestinations/producer_destination": producer_destination +"/serviceuser:v1/Logging/consumerDestinations": consumer_destinations +"/serviceuser:v1/Logging/consumerDestinations/consumer_destination": consumer_destination +"/serviceuser:v1/Method": method_prop +"/serviceuser:v1/Method/responseTypeUrl": response_type_url +"/serviceuser:v1/Method/options": options +"/serviceuser:v1/Method/options/option": option +"/serviceuser:v1/Method/responseStreaming": response_streaming +"/serviceuser:v1/Method/name": name +"/serviceuser:v1/Method/requestTypeUrl": request_type_url +"/serviceuser:v1/Method/requestStreaming": request_streaming +"/serviceuser:v1/Method/syntax": syntax "/serviceuser:v1/QuotaLimit": quota_limit -"/serviceuser:v1/QuotaLimit/unit": unit -"/serviceuser:v1/QuotaLimit/maxLimit": max_limit -"/serviceuser:v1/QuotaLimit/name": name "/serviceuser:v1/QuotaLimit/duration": duration "/serviceuser:v1/QuotaLimit/freeTier": free_tier "/serviceuser:v1/QuotaLimit/defaultLimit": default_limit @@ -35502,15 +35527,9 @@ "/serviceuser:v1/QuotaLimit/displayName": display_name "/serviceuser:v1/QuotaLimit/values": values "/serviceuser:v1/QuotaLimit/values/value": value -"/serviceuser:v1/Method": method_prop -"/serviceuser:v1/Method/syntax": syntax -"/serviceuser:v1/Method/responseTypeUrl": response_type_url -"/serviceuser:v1/Method/options": options -"/serviceuser:v1/Method/options/option": option -"/serviceuser:v1/Method/responseStreaming": response_streaming -"/serviceuser:v1/Method/name": name -"/serviceuser:v1/Method/requestTypeUrl": request_type_url -"/serviceuser:v1/Method/requestStreaming": request_streaming +"/serviceuser:v1/QuotaLimit/unit": unit +"/serviceuser:v1/QuotaLimit/maxLimit": max_limit +"/serviceuser:v1/QuotaLimit/name": name "/serviceuser:v1/Mixin": mixin "/serviceuser:v1/Mixin/name": name "/serviceuser:v1/Mixin/root": root @@ -35520,9 +35539,9 @@ "/serviceuser:v1/CustomError/types": types "/serviceuser:v1/CustomError/types/type": type "/serviceuser:v1/Http": http -"/serviceuser:v1/Http/fullyDecodeReservedExpansion": fully_decode_reserved_expansion "/serviceuser:v1/Http/rules": rules "/serviceuser:v1/Http/rules/rule": rule +"/serviceuser:v1/Http/fullyDecodeReservedExpansion": fully_decode_reserved_expansion "/serviceuser:v1/SourceInfo": source_info "/serviceuser:v1/SourceInfo/sourceFiles": source_files "/serviceuser:v1/SourceInfo/sourceFiles/source_file": source_file @@ -35530,106 +35549,57 @@ "/serviceuser:v1/Control": control "/serviceuser:v1/Control/environment": environment "/serviceuser:v1/SystemParameter": system_parameter +"/serviceuser:v1/SystemParameter/httpHeader": http_header "/serviceuser:v1/SystemParameter/name": name "/serviceuser:v1/SystemParameter/urlQueryParameter": url_query_parameter -"/serviceuser:v1/SystemParameter/httpHeader": http_header "/serviceuser:v1/Monitoring": monitoring "/serviceuser:v1/Monitoring/consumerDestinations": consumer_destinations "/serviceuser:v1/Monitoring/consumerDestinations/consumer_destination": consumer_destination "/serviceuser:v1/Monitoring/producerDestinations": producer_destinations "/serviceuser:v1/Monitoring/producerDestinations/producer_destination": producer_destination "/serviceuser:v1/Field": field -"/serviceuser:v1/Field/name": name -"/serviceuser:v1/Field/typeUrl": type_url -"/serviceuser:v1/Field/number": number -"/serviceuser:v1/Field/jsonName": json_name "/serviceuser:v1/Field/kind": kind +"/serviceuser:v1/Field/jsonName": json_name "/serviceuser:v1/Field/options": options "/serviceuser:v1/Field/options/option": option "/serviceuser:v1/Field/oneofIndex": oneof_index -"/serviceuser:v1/Field/cardinality": cardinality "/serviceuser:v1/Field/packed": packed +"/serviceuser:v1/Field/cardinality": cardinality "/serviceuser:v1/Field/defaultValue": default_value +"/serviceuser:v1/Field/name": name +"/serviceuser:v1/Field/typeUrl": type_url +"/serviceuser:v1/Field/number": number "/serviceuser:v1/Enum": enum -"/serviceuser:v1/Enum/sourceContext": source_context -"/serviceuser:v1/Enum/syntax": syntax "/serviceuser:v1/Enum/name": name "/serviceuser:v1/Enum/enumvalue": enumvalue "/serviceuser:v1/Enum/enumvalue/enumvalue": enumvalue "/serviceuser:v1/Enum/options": options "/serviceuser:v1/Enum/options/option": option -"/serviceuser:v1/EnableServiceRequest": enable_service_request +"/serviceuser:v1/Enum/sourceContext": source_context +"/serviceuser:v1/Enum/syntax": syntax "/serviceuser:v1/LabelDescriptor": label_descriptor -"/serviceuser:v1/LabelDescriptor/valueType": value_type "/serviceuser:v1/LabelDescriptor/key": key "/serviceuser:v1/LabelDescriptor/description": description +"/serviceuser:v1/LabelDescriptor/valueType": value_type +"/serviceuser:v1/EnableServiceRequest": enable_service_request "/serviceuser:v1/Type": type +"/serviceuser:v1/Type/options": options +"/serviceuser:v1/Type/options/option": option "/serviceuser:v1/Type/fields": fields "/serviceuser:v1/Type/fields/field": field "/serviceuser:v1/Type/name": name "/serviceuser:v1/Type/oneofs": oneofs "/serviceuser:v1/Type/oneofs/oneof": oneof -"/serviceuser:v1/Type/syntax": syntax "/serviceuser:v1/Type/sourceContext": source_context -"/serviceuser:v1/Type/options": options -"/serviceuser:v1/Type/options/option": option +"/serviceuser:v1/Type/syntax": syntax "/serviceuser:v1/Experimental": experimental "/serviceuser:v1/Experimental/authorization": authorization "/serviceuser:v1/Backend": backend "/serviceuser:v1/Backend/rules": rules "/serviceuser:v1/Backend/rules/rule": rule -"/serviceuser:v1/DocumentationRule": documentation_rule -"/serviceuser:v1/DocumentationRule/description": description -"/serviceuser:v1/DocumentationRule/deprecationDescription": deprecation_description -"/serviceuser:v1/DocumentationRule/selector": selector -"/serviceuser:v1/AuthorizationConfig": authorization_config -"/serviceuser:v1/AuthorizationConfig/provider": provider -"/serviceuser:v1/ContextRule": context_rule -"/serviceuser:v1/ContextRule/selector": selector -"/serviceuser:v1/ContextRule/provided": provided -"/serviceuser:v1/ContextRule/provided/provided": provided -"/serviceuser:v1/ContextRule/requested": requested -"/serviceuser:v1/ContextRule/requested/requested": requested -"/serviceuser:v1/MetricDescriptor": metric_descriptor -"/serviceuser:v1/MetricDescriptor/unit": unit -"/serviceuser:v1/MetricDescriptor/labels": labels -"/serviceuser:v1/MetricDescriptor/labels/label": label -"/serviceuser:v1/MetricDescriptor/name": name -"/serviceuser:v1/MetricDescriptor/type": type -"/serviceuser:v1/MetricDescriptor/valueType": value_type -"/serviceuser:v1/MetricDescriptor/metricKind": metric_kind -"/serviceuser:v1/MetricDescriptor/displayName": display_name -"/serviceuser:v1/MetricDescriptor/description": description -"/serviceuser:v1/SourceContext": source_context -"/serviceuser:v1/SourceContext/fileName": file_name -"/serviceuser:v1/Endpoint": endpoint -"/serviceuser:v1/Endpoint/features": features -"/serviceuser:v1/Endpoint/features/feature": feature -"/serviceuser:v1/Endpoint/apis": apis -"/serviceuser:v1/Endpoint/apis/api": api -"/serviceuser:v1/Endpoint/allowCors": allow_cors -"/serviceuser:v1/Endpoint/aliases": aliases -"/serviceuser:v1/Endpoint/aliases/alias": alias -"/serviceuser:v1/Endpoint/target": target -"/serviceuser:v1/Endpoint/name": name -"/serviceuser:v1/ListEnabledServicesResponse": list_enabled_services_response -"/serviceuser:v1/ListEnabledServicesResponse/services": services -"/serviceuser:v1/ListEnabledServicesResponse/services/service": service -"/serviceuser:v1/ListEnabledServicesResponse/nextPageToken": next_page_token -"/serviceuser:v1/OAuthRequirements": o_auth_requirements -"/serviceuser:v1/OAuthRequirements/canonicalScopes": canonical_scopes -"/serviceuser:v1/Usage": usage -"/serviceuser:v1/Usage/producerNotificationChannel": producer_notification_channel -"/serviceuser:v1/Usage/rules": rules -"/serviceuser:v1/Usage/rules/rule": rule -"/serviceuser:v1/Usage/requirements": requirements -"/serviceuser:v1/Usage/requirements/requirement": requirement -"/serviceuser:v1/Context": context -"/serviceuser:v1/Context/rules": rules -"/serviceuser:v1/Context/rules/rule": rule +"/sheets:v4/quotaUser": quota_user "/sheets:v4/fields": fields "/sheets:v4/key": key -"/sheets:v4/quotaUser": quota_user "/sheets:v4/sheets.spreadsheets.get": get_spreadsheet "/sheets:v4/sheets.spreadsheets.get/ranges": ranges "/sheets:v4/sheets.spreadsheets.get/includeGridData": include_grid_data @@ -35637,102 +35607,310 @@ "/sheets:v4/sheets.spreadsheets.create": create_spreadsheet "/sheets:v4/sheets.spreadsheets.batchUpdate": batch_update_spreadsheet "/sheets:v4/sheets.spreadsheets.batchUpdate/spreadsheetId": spreadsheet_id +"/sheets:v4/sheets.spreadsheets.values.clear": clear_values +"/sheets:v4/sheets.spreadsheets.values.clear/range": range +"/sheets:v4/sheets.spreadsheets.values.clear/spreadsheetId": spreadsheet_id +"/sheets:v4/sheets.spreadsheets.values.batchGet/valueRenderOption": value_render_option +"/sheets:v4/sheets.spreadsheets.values.batchGet/dateTimeRenderOption": date_time_render_option +"/sheets:v4/sheets.spreadsheets.values.batchGet/ranges": ranges +"/sheets:v4/sheets.spreadsheets.values.batchGet/majorDimension": major_dimension +"/sheets:v4/sheets.spreadsheets.values.batchGet/spreadsheetId": spreadsheet_id +"/sheets:v4/sheets.spreadsheets.values.append": append_spreadsheet_value +"/sheets:v4/sheets.spreadsheets.values.append/valueInputOption": value_input_option +"/sheets:v4/sheets.spreadsheets.values.append/responseDateTimeRenderOption": response_date_time_render_option +"/sheets:v4/sheets.spreadsheets.values.append/range": range +"/sheets:v4/sheets.spreadsheets.values.append/includeValuesInResponse": include_values_in_response +"/sheets:v4/sheets.spreadsheets.values.append/spreadsheetId": spreadsheet_id +"/sheets:v4/sheets.spreadsheets.values.append/responseValueRenderOption": response_value_render_option +"/sheets:v4/sheets.spreadsheets.values.append/insertDataOption": insert_data_option +"/sheets:v4/sheets.spreadsheets.values.batchClear": batch_clear_values +"/sheets:v4/sheets.spreadsheets.values.batchClear/spreadsheetId": spreadsheet_id +"/sheets:v4/sheets.spreadsheets.values.get/valueRenderOption": value_render_option +"/sheets:v4/sheets.spreadsheets.values.get/dateTimeRenderOption": date_time_render_option "/sheets:v4/sheets.spreadsheets.values.get/majorDimension": major_dimension "/sheets:v4/sheets.spreadsheets.values.get/spreadsheetId": spreadsheet_id "/sheets:v4/sheets.spreadsheets.values.get/range": range -"/sheets:v4/sheets.spreadsheets.values.get/valueRenderOption": value_render_option -"/sheets:v4/sheets.spreadsheets.values.get/dateTimeRenderOption": date_time_render_option "/sheets:v4/sheets.spreadsheets.values.update": update_spreadsheet_value +"/sheets:v4/sheets.spreadsheets.values.update/includeValuesInResponse": include_values_in_response +"/sheets:v4/sheets.spreadsheets.values.update/range": range "/sheets:v4/sheets.spreadsheets.values.update/spreadsheetId": spreadsheet_id "/sheets:v4/sheets.spreadsheets.values.update/responseValueRenderOption": response_value_render_option "/sheets:v4/sheets.spreadsheets.values.update/valueInputOption": value_input_option "/sheets:v4/sheets.spreadsheets.values.update/responseDateTimeRenderOption": response_date_time_render_option -"/sheets:v4/sheets.spreadsheets.values.update/range": range -"/sheets:v4/sheets.spreadsheets.values.update/includeValuesInResponse": include_values_in_response "/sheets:v4/sheets.spreadsheets.values.batchUpdate": batch_update_values "/sheets:v4/sheets.spreadsheets.values.batchUpdate/spreadsheetId": spreadsheet_id -"/sheets:v4/sheets.spreadsheets.values.clear": clear_values -"/sheets:v4/sheets.spreadsheets.values.clear/range": range -"/sheets:v4/sheets.spreadsheets.values.clear/spreadsheetId": spreadsheet_id -"/sheets:v4/sheets.spreadsheets.values.batchGet/ranges": ranges -"/sheets:v4/sheets.spreadsheets.values.batchGet/majorDimension": major_dimension -"/sheets:v4/sheets.spreadsheets.values.batchGet/spreadsheetId": spreadsheet_id -"/sheets:v4/sheets.spreadsheets.values.batchGet/valueRenderOption": value_render_option -"/sheets:v4/sheets.spreadsheets.values.batchGet/dateTimeRenderOption": date_time_render_option -"/sheets:v4/sheets.spreadsheets.values.append": append_spreadsheet_value -"/sheets:v4/sheets.spreadsheets.values.append/includeValuesInResponse": include_values_in_response -"/sheets:v4/sheets.spreadsheets.values.append/range": range -"/sheets:v4/sheets.spreadsheets.values.append/spreadsheetId": spreadsheet_id -"/sheets:v4/sheets.spreadsheets.values.append/responseValueRenderOption": response_value_render_option -"/sheets:v4/sheets.spreadsheets.values.append/insertDataOption": insert_data_option -"/sheets:v4/sheets.spreadsheets.values.append/valueInputOption": value_input_option -"/sheets:v4/sheets.spreadsheets.values.append/responseDateTimeRenderOption": response_date_time_render_option -"/sheets:v4/sheets.spreadsheets.values.batchClear": batch_clear_values -"/sheets:v4/sheets.spreadsheets.values.batchClear/spreadsheetId": spreadsheet_id "/sheets:v4/sheets.spreadsheets.sheets.copyTo/sheetId": sheet_id "/sheets:v4/sheets.spreadsheets.sheets.copyTo/spreadsheetId": spreadsheet_id +"/sheets:v4/DeleteSheetRequest": delete_sheet_request +"/sheets:v4/DeleteSheetRequest/sheetId": sheet_id +"/sheets:v4/DuplicateFilterViewRequest": duplicate_filter_view_request +"/sheets:v4/DuplicateFilterViewRequest/filterId": filter_id +"/sheets:v4/UpdateConditionalFormatRuleResponse": update_conditional_format_rule_response +"/sheets:v4/UpdateConditionalFormatRuleResponse/oldIndex": old_index +"/sheets:v4/UpdateConditionalFormatRuleResponse/newRule": new_rule +"/sheets:v4/UpdateConditionalFormatRuleResponse/oldRule": old_rule +"/sheets:v4/UpdateConditionalFormatRuleResponse/newIndex": new_index +"/sheets:v4/ConditionValue": condition_value +"/sheets:v4/ConditionValue/relativeDate": relative_date +"/sheets:v4/ConditionValue/userEnteredValue": user_entered_value +"/sheets:v4/DuplicateSheetRequest": duplicate_sheet_request +"/sheets:v4/DuplicateSheetRequest/insertSheetIndex": insert_sheet_index +"/sheets:v4/DuplicateSheetRequest/newSheetName": new_sheet_name +"/sheets:v4/DuplicateSheetRequest/sourceSheetId": source_sheet_id +"/sheets:v4/DuplicateSheetRequest/newSheetId": new_sheet_id +"/sheets:v4/ExtendedValue": extended_value +"/sheets:v4/ExtendedValue/errorValue": error_value +"/sheets:v4/ExtendedValue/stringValue": string_value +"/sheets:v4/ExtendedValue/boolValue": bool_value +"/sheets:v4/ExtendedValue/formulaValue": formula_value +"/sheets:v4/ExtendedValue/numberValue": number_value +"/sheets:v4/AddChartRequest": add_chart_request +"/sheets:v4/AddChartRequest/chart": chart +"/sheets:v4/Spreadsheet": spreadsheet +"/sheets:v4/Spreadsheet/properties": properties +"/sheets:v4/Spreadsheet/spreadsheetId": spreadsheet_id +"/sheets:v4/Spreadsheet/sheets": sheets +"/sheets:v4/Spreadsheet/sheets/sheet": sheet +"/sheets:v4/Spreadsheet/namedRanges": named_ranges +"/sheets:v4/Spreadsheet/namedRanges/named_range": named_range +"/sheets:v4/Spreadsheet/spreadsheetUrl": spreadsheet_url +"/sheets:v4/BatchClearValuesResponse": batch_clear_values_response +"/sheets:v4/BatchClearValuesResponse/clearedRanges": cleared_ranges +"/sheets:v4/BatchClearValuesResponse/clearedRanges/cleared_range": cleared_range +"/sheets:v4/BatchClearValuesResponse/spreadsheetId": spreadsheet_id +"/sheets:v4/BandedRange": banded_range +"/sheets:v4/BandedRange/range": range +"/sheets:v4/BandedRange/bandedRangeId": banded_range_id +"/sheets:v4/BandedRange/rowProperties": row_properties +"/sheets:v4/BandedRange/columnProperties": column_properties +"/sheets:v4/UpdateProtectedRangeRequest": update_protected_range_request +"/sheets:v4/UpdateProtectedRangeRequest/protectedRange": protected_range +"/sheets:v4/UpdateProtectedRangeRequest/fields": fields +"/sheets:v4/TextFormat": text_format +"/sheets:v4/TextFormat/foregroundColor": foreground_color +"/sheets:v4/TextFormat/bold": bold +"/sheets:v4/TextFormat/fontFamily": font_family +"/sheets:v4/TextFormat/italic": italic +"/sheets:v4/TextFormat/strikethrough": strikethrough +"/sheets:v4/TextFormat/fontSize": font_size +"/sheets:v4/TextFormat/underline": underline +"/sheets:v4/AddSheetResponse": add_sheet_response +"/sheets:v4/AddSheetResponse/properties": properties +"/sheets:v4/AddFilterViewResponse": add_filter_view_response +"/sheets:v4/AddFilterViewResponse/filter": filter +"/sheets:v4/IterativeCalculationSettings": iterative_calculation_settings +"/sheets:v4/IterativeCalculationSettings/convergenceThreshold": convergence_threshold +"/sheets:v4/IterativeCalculationSettings/maxIterations": max_iterations +"/sheets:v4/SpreadsheetProperties": spreadsheet_properties +"/sheets:v4/SpreadsheetProperties/iterativeCalculationSettings": iterative_calculation_settings +"/sheets:v4/SpreadsheetProperties/autoRecalc": auto_recalc +"/sheets:v4/SpreadsheetProperties/defaultFormat": default_format +"/sheets:v4/SpreadsheetProperties/timeZone": time_zone +"/sheets:v4/SpreadsheetProperties/title": title +"/sheets:v4/SpreadsheetProperties/locale": locale +"/sheets:v4/OverlayPosition": overlay_position +"/sheets:v4/OverlayPosition/offsetXPixels": offset_x_pixels +"/sheets:v4/OverlayPosition/anchorCell": anchor_cell +"/sheets:v4/OverlayPosition/offsetYPixels": offset_y_pixels +"/sheets:v4/OverlayPosition/heightPixels": height_pixels +"/sheets:v4/OverlayPosition/widthPixels": width_pixels +"/sheets:v4/RepeatCellRequest": repeat_cell_request +"/sheets:v4/RepeatCellRequest/cell": cell +"/sheets:v4/RepeatCellRequest/range": range +"/sheets:v4/RepeatCellRequest/fields": fields +"/sheets:v4/AddChartResponse": add_chart_response +"/sheets:v4/AddChartResponse/chart": chart +"/sheets:v4/InsertDimensionRequest": insert_dimension_request +"/sheets:v4/InsertDimensionRequest/inheritFromBefore": inherit_from_before +"/sheets:v4/InsertDimensionRequest/range": range +"/sheets:v4/UpdateSpreadsheetPropertiesRequest": update_spreadsheet_properties_request +"/sheets:v4/UpdateSpreadsheetPropertiesRequest/properties": properties +"/sheets:v4/UpdateSpreadsheetPropertiesRequest/fields": fields +"/sheets:v4/ProtectedRange": protected_range +"/sheets:v4/ProtectedRange/requestingUserCanEdit": requesting_user_can_edit +"/sheets:v4/ProtectedRange/editors": editors +"/sheets:v4/ProtectedRange/range": range +"/sheets:v4/ProtectedRange/description": description +"/sheets:v4/ProtectedRange/unprotectedRanges": unprotected_ranges +"/sheets:v4/ProtectedRange/unprotectedRanges/unprotected_range": unprotected_range +"/sheets:v4/ProtectedRange/namedRangeId": named_range_id +"/sheets:v4/ProtectedRange/protectedRangeId": protected_range_id +"/sheets:v4/ProtectedRange/warningOnly": warning_only +"/sheets:v4/BatchUpdateValuesRequest": batch_update_values_request +"/sheets:v4/BatchUpdateValuesRequest/responseValueRenderOption": response_value_render_option +"/sheets:v4/BatchUpdateValuesRequest/includeValuesInResponse": include_values_in_response +"/sheets:v4/BatchUpdateValuesRequest/valueInputOption": value_input_option +"/sheets:v4/BatchUpdateValuesRequest/data": data +"/sheets:v4/BatchUpdateValuesRequest/data/datum": datum +"/sheets:v4/BatchUpdateValuesRequest/responseDateTimeRenderOption": response_date_time_render_option +"/sheets:v4/DimensionProperties": dimension_properties +"/sheets:v4/DimensionProperties/pixelSize": pixel_size +"/sheets:v4/DimensionProperties/hiddenByFilter": hidden_by_filter +"/sheets:v4/DimensionProperties/hiddenByUser": hidden_by_user +"/sheets:v4/DimensionRange": dimension_range +"/sheets:v4/DimensionRange/sheetId": sheet_id +"/sheets:v4/DimensionRange/dimension": dimension +"/sheets:v4/DimensionRange/startIndex": start_index +"/sheets:v4/DimensionRange/endIndex": end_index +"/sheets:v4/NamedRange": named_range +"/sheets:v4/NamedRange/namedRangeId": named_range_id +"/sheets:v4/NamedRange/range": range +"/sheets:v4/NamedRange/name": name +"/sheets:v4/CutPasteRequest": cut_paste_request +"/sheets:v4/CutPasteRequest/source": source +"/sheets:v4/CutPasteRequest/pasteType": paste_type +"/sheets:v4/CutPasteRequest/destination": destination +"/sheets:v4/BasicChartSeries": basic_chart_series +"/sheets:v4/BasicChartSeries/series": series +"/sheets:v4/BasicChartSeries/type": type +"/sheets:v4/BasicChartSeries/targetAxis": target_axis +"/sheets:v4/Borders": borders +"/sheets:v4/Borders/right": right +"/sheets:v4/Borders/bottom": bottom +"/sheets:v4/Borders/top": top +"/sheets:v4/Borders/left": left +"/sheets:v4/AutoResizeDimensionsRequest": auto_resize_dimensions_request +"/sheets:v4/AutoResizeDimensionsRequest/dimensions": dimensions +"/sheets:v4/UpdateBordersRequest": update_borders_request +"/sheets:v4/UpdateBordersRequest/bottom": bottom +"/sheets:v4/UpdateBordersRequest/innerVertical": inner_vertical +"/sheets:v4/UpdateBordersRequest/right": right +"/sheets:v4/UpdateBordersRequest/range": range +"/sheets:v4/UpdateBordersRequest/innerHorizontal": inner_horizontal +"/sheets:v4/UpdateBordersRequest/top": top +"/sheets:v4/UpdateBordersRequest/left": left +"/sheets:v4/CellFormat": cell_format +"/sheets:v4/CellFormat/textDirection": text_direction +"/sheets:v4/CellFormat/borders": borders +"/sheets:v4/CellFormat/textRotation": text_rotation +"/sheets:v4/CellFormat/wrapStrategy": wrap_strategy +"/sheets:v4/CellFormat/numberFormat": number_format +"/sheets:v4/CellFormat/horizontalAlignment": horizontal_alignment +"/sheets:v4/CellFormat/hyperlinkDisplayType": hyperlink_display_type +"/sheets:v4/CellFormat/textFormat": text_format +"/sheets:v4/CellFormat/backgroundColor": background_color +"/sheets:v4/CellFormat/verticalAlignment": vertical_alignment +"/sheets:v4/CellFormat/padding": padding +"/sheets:v4/ClearValuesResponse": clear_values_response +"/sheets:v4/ClearValuesResponse/spreadsheetId": spreadsheet_id +"/sheets:v4/ClearValuesResponse/clearedRange": cleared_range +"/sheets:v4/DeleteConditionalFormatRuleRequest": delete_conditional_format_rule_request +"/sheets:v4/DeleteConditionalFormatRuleRequest/index": index +"/sheets:v4/DeleteConditionalFormatRuleRequest/sheetId": sheet_id +"/sheets:v4/AddBandingResponse": add_banding_response +"/sheets:v4/AddBandingResponse/bandedRange": banded_range +"/sheets:v4/DeleteNamedRangeRequest": delete_named_range_request +"/sheets:v4/DeleteNamedRangeRequest/namedRangeId": named_range_id +"/sheets:v4/ChartData": chart_data +"/sheets:v4/ChartData/sourceRange": source_range +"/sheets:v4/BatchGetValuesResponse": batch_get_values_response +"/sheets:v4/BatchGetValuesResponse/valueRanges": value_ranges +"/sheets:v4/BatchGetValuesResponse/valueRanges/value_range": value_range +"/sheets:v4/BatchGetValuesResponse/spreadsheetId": spreadsheet_id +"/sheets:v4/UpdateBandingRequest": update_banding_request +"/sheets:v4/UpdateBandingRequest/bandedRange": banded_range +"/sheets:v4/UpdateBandingRequest/fields": fields +"/sheets:v4/Color": color +"/sheets:v4/Color/red": red +"/sheets:v4/Color/green": green +"/sheets:v4/Color/blue": blue +"/sheets:v4/Color/alpha": alpha +"/sheets:v4/PivotGroup": pivot_group +"/sheets:v4/PivotGroup/sourceColumnOffset": source_column_offset +"/sheets:v4/PivotGroup/showTotals": show_totals +"/sheets:v4/PivotGroup/valueMetadata": value_metadata +"/sheets:v4/PivotGroup/valueMetadata/value_metadatum": value_metadatum +"/sheets:v4/PivotGroup/sortOrder": sort_order +"/sheets:v4/PivotGroup/valueBucket": value_bucket +"/sheets:v4/PivotTable": pivot_table +"/sheets:v4/PivotTable/criteria": criteria +"/sheets:v4/PivotTable/criteria/criterium": criterium +"/sheets:v4/PivotTable/rows": rows +"/sheets:v4/PivotTable/rows/row": row +"/sheets:v4/PivotTable/valueLayout": value_layout +"/sheets:v4/PivotTable/source": source +"/sheets:v4/PivotTable/columns": columns +"/sheets:v4/PivotTable/columns/column": column +"/sheets:v4/PivotTable/values": values +"/sheets:v4/PivotTable/values/value": value +"/sheets:v4/ChartSourceRange": chart_source_range +"/sheets:v4/ChartSourceRange/sources": sources +"/sheets:v4/ChartSourceRange/sources/source": source +"/sheets:v4/AppendCellsRequest": append_cells_request +"/sheets:v4/AppendCellsRequest/rows": rows +"/sheets:v4/AppendCellsRequest/rows/row": row +"/sheets:v4/AppendCellsRequest/fields": fields +"/sheets:v4/AppendCellsRequest/sheetId": sheet_id +"/sheets:v4/ValueRange": value_range +"/sheets:v4/ValueRange/range": range +"/sheets:v4/ValueRange/majorDimension": major_dimension +"/sheets:v4/ValueRange/values": values +"/sheets:v4/ValueRange/values/value": value +"/sheets:v4/ValueRange/values/value/value": value +"/sheets:v4/AddBandingRequest": add_banding_request +"/sheets:v4/AddBandingRequest/bandedRange": banded_range "/sheets:v4/Response": response -"/sheets:v4/Response/addSheet": add_sheet -"/sheets:v4/Response/updateConditionalFormatRule": update_conditional_format_rule -"/sheets:v4/Response/addNamedRange": add_named_range "/sheets:v4/Response/addFilterView": add_filter_view "/sheets:v4/Response/addBanding": add_banding "/sheets:v4/Response/addProtectedRange": add_protected_range "/sheets:v4/Response/duplicateSheet": duplicate_sheet -"/sheets:v4/Response/updateEmbeddedObjectPosition": update_embedded_object_position "/sheets:v4/Response/deleteConditionalFormatRule": delete_conditional_format_rule +"/sheets:v4/Response/updateEmbeddedObjectPosition": update_embedded_object_position "/sheets:v4/Response/duplicateFilterView": duplicate_filter_view "/sheets:v4/Response/addChart": add_chart "/sheets:v4/Response/findReplace": find_replace -"/sheets:v4/InsertRangeRequest": insert_range_request -"/sheets:v4/InsertRangeRequest/shiftDimension": shift_dimension -"/sheets:v4/InsertRangeRequest/range": range -"/sheets:v4/TextFormatRun": text_format_run -"/sheets:v4/TextFormatRun/format": format -"/sheets:v4/TextFormatRun/startIndex": start_index +"/sheets:v4/Response/addSheet": add_sheet +"/sheets:v4/Response/updateConditionalFormatRule": update_conditional_format_rule +"/sheets:v4/Response/addNamedRange": add_named_range "/sheets:v4/EmbeddedChart": embedded_chart "/sheets:v4/EmbeddedChart/chartId": chart_id "/sheets:v4/EmbeddedChart/position": position "/sheets:v4/EmbeddedChart/spec": spec +"/sheets:v4/TextFormatRun": text_format_run +"/sheets:v4/TextFormatRun/startIndex": start_index +"/sheets:v4/TextFormatRun/format": format +"/sheets:v4/InsertRangeRequest": insert_range_request +"/sheets:v4/InsertRangeRequest/shiftDimension": shift_dimension +"/sheets:v4/InsertRangeRequest/range": range "/sheets:v4/AddNamedRangeResponse": add_named_range_response "/sheets:v4/AddNamedRangeResponse/namedRange": named_range "/sheets:v4/RowData": row_data "/sheets:v4/RowData/values": values "/sheets:v4/RowData/values/value": value +"/sheets:v4/Border": border +"/sheets:v4/Border/width": width +"/sheets:v4/Border/style": style +"/sheets:v4/Border/color": color "/sheets:v4/GridData": grid_data +"/sheets:v4/GridData/columnMetadata": column_metadata +"/sheets:v4/GridData/columnMetadata/column_metadatum": column_metadatum "/sheets:v4/GridData/startColumn": start_column "/sheets:v4/GridData/rowMetadata": row_metadata "/sheets:v4/GridData/rowMetadata/row_metadatum": row_metadatum "/sheets:v4/GridData/rowData": row_data "/sheets:v4/GridData/rowData/row_datum": row_datum "/sheets:v4/GridData/startRow": start_row -"/sheets:v4/GridData/columnMetadata": column_metadata -"/sheets:v4/GridData/columnMetadata/column_metadatum": column_metadatum -"/sheets:v4/Border": border -"/sheets:v4/Border/width": width -"/sheets:v4/Border/style": style -"/sheets:v4/Border/color": color +"/sheets:v4/FindReplaceRequest": find_replace_request +"/sheets:v4/FindReplaceRequest/replacement": replacement +"/sheets:v4/FindReplaceRequest/range": range +"/sheets:v4/FindReplaceRequest/sheetId": sheet_id +"/sheets:v4/FindReplaceRequest/allSheets": all_sheets +"/sheets:v4/FindReplaceRequest/matchCase": match_case +"/sheets:v4/FindReplaceRequest/includeFormulas": include_formulas +"/sheets:v4/FindReplaceRequest/matchEntireCell": match_entire_cell +"/sheets:v4/FindReplaceRequest/searchByRegex": search_by_regex +"/sheets:v4/FindReplaceRequest/find": find "/sheets:v4/UpdateNamedRangeRequest": update_named_range_request "/sheets:v4/UpdateNamedRangeRequest/namedRange": named_range "/sheets:v4/UpdateNamedRangeRequest/fields": fields -"/sheets:v4/FindReplaceRequest": find_replace_request -"/sheets:v4/FindReplaceRequest/range": range -"/sheets:v4/FindReplaceRequest/sheetId": sheet_id -"/sheets:v4/FindReplaceRequest/matchCase": match_case -"/sheets:v4/FindReplaceRequest/allSheets": all_sheets -"/sheets:v4/FindReplaceRequest/includeFormulas": include_formulas -"/sheets:v4/FindReplaceRequest/matchEntireCell": match_entire_cell -"/sheets:v4/FindReplaceRequest/find": find -"/sheets:v4/FindReplaceRequest/searchByRegex": search_by_regex -"/sheets:v4/FindReplaceRequest/replacement": replacement "/sheets:v4/AddSheetRequest": add_sheet_request "/sheets:v4/AddSheetRequest/properties": properties "/sheets:v4/UpdateCellsRequest": update_cells_request -"/sheets:v4/UpdateCellsRequest/start": start -"/sheets:v4/UpdateCellsRequest/range": range "/sheets:v4/UpdateCellsRequest/rows": rows "/sheets:v4/UpdateCellsRequest/rows/row": row "/sheets:v4/UpdateCellsRequest/fields": fields +"/sheets:v4/UpdateCellsRequest/start": start +"/sheets:v4/UpdateCellsRequest/range": range "/sheets:v4/DeleteConditionalFormatRuleResponse": delete_conditional_format_rule_response "/sheets:v4/DeleteConditionalFormatRuleResponse/rule": rule "/sheets:v4/DeleteRangeRequest": delete_range_request @@ -35746,11 +35924,11 @@ "/sheets:v4/UpdateSheetPropertiesRequest/properties": properties "/sheets:v4/UpdateSheetPropertiesRequest/fields": fields "/sheets:v4/GridProperties": grid_properties -"/sheets:v4/GridProperties/frozenRowCount": frozen_row_count -"/sheets:v4/GridProperties/hideGridlines": hide_gridlines "/sheets:v4/GridProperties/columnCount": column_count "/sheets:v4/GridProperties/frozenColumnCount": frozen_column_count "/sheets:v4/GridProperties/rowCount": row_count +"/sheets:v4/GridProperties/frozenRowCount": frozen_row_count +"/sheets:v4/GridProperties/hideGridlines": hide_gridlines "/sheets:v4/UnmergeCellsRequest": unmerge_cells_request "/sheets:v4/UnmergeCellsRequest/range": range "/sheets:v4/Sheet": sheet @@ -35765,10 +35943,10 @@ "/sheets:v4/Sheet/charts/chart": chart "/sheets:v4/Sheet/filterViews": filter_views "/sheets:v4/Sheet/filterViews/filter_view": filter_view -"/sheets:v4/Sheet/conditionalFormats": conditional_formats -"/sheets:v4/Sheet/conditionalFormats/conditional_format": conditional_format "/sheets:v4/Sheet/protectedRanges": protected_ranges "/sheets:v4/Sheet/protectedRanges/protected_range": protected_range +"/sheets:v4/Sheet/conditionalFormats": conditional_formats +"/sheets:v4/Sheet/conditionalFormats/conditional_format": conditional_format "/sheets:v4/Sheet/basicFilter": basic_filter "/sheets:v4/SortSpec": sort_spec "/sheets:v4/SortSpec/dimensionIndex": dimension_index @@ -35778,13 +35956,13 @@ "/sheets:v4/BooleanRule": boolean_rule "/sheets:v4/BooleanRule/format": format "/sheets:v4/BooleanRule/condition": condition +"/sheets:v4/PivotGroupValueMetadata": pivot_group_value_metadata +"/sheets:v4/PivotGroupValueMetadata/value": value +"/sheets:v4/PivotGroupValueMetadata/collapsed": collapsed "/sheets:v4/FilterCriteria": filter_criteria "/sheets:v4/FilterCriteria/hiddenValues": hidden_values "/sheets:v4/FilterCriteria/hiddenValues/hidden_value": hidden_value "/sheets:v4/FilterCriteria/condition": condition -"/sheets:v4/PivotGroupValueMetadata": pivot_group_value_metadata -"/sheets:v4/PivotGroupValueMetadata/collapsed": collapsed -"/sheets:v4/PivotGroupValueMetadata/value": value "/sheets:v4/Editors": editors "/sheets:v4/Editors/users": users "/sheets:v4/Editors/users/user": user @@ -35792,23 +35970,23 @@ "/sheets:v4/Editors/groups/group": group "/sheets:v4/Editors/domainUsersCanEdit": domain_users_can_edit "/sheets:v4/UpdateConditionalFormatRuleRequest": update_conditional_format_rule_request -"/sheets:v4/UpdateConditionalFormatRuleRequest/newIndex": new_index -"/sheets:v4/UpdateConditionalFormatRuleRequest/rule": rule "/sheets:v4/UpdateConditionalFormatRuleRequest/index": index "/sheets:v4/UpdateConditionalFormatRuleRequest/sheetId": sheet_id +"/sheets:v4/UpdateConditionalFormatRuleRequest/newIndex": new_index +"/sheets:v4/UpdateConditionalFormatRuleRequest/rule": rule "/sheets:v4/DataValidationRule": data_validation_rule +"/sheets:v4/DataValidationRule/condition": condition "/sheets:v4/DataValidationRule/showCustomUi": show_custom_ui "/sheets:v4/DataValidationRule/strict": strict "/sheets:v4/DataValidationRule/inputMessage": input_message -"/sheets:v4/DataValidationRule/condition": condition "/sheets:v4/BasicChartDomain": basic_chart_domain "/sheets:v4/BasicChartDomain/domain": domain "/sheets:v4/PasteDataRequest": paste_data_request +"/sheets:v4/PasteDataRequest/type": type +"/sheets:v4/PasteDataRequest/html": html "/sheets:v4/PasteDataRequest/coordinate": coordinate "/sheets:v4/PasteDataRequest/data": data "/sheets:v4/PasteDataRequest/delimiter": delimiter -"/sheets:v4/PasteDataRequest/type": type -"/sheets:v4/PasteDataRequest/html": html "/sheets:v4/AppendDimensionRequest": append_dimension_request "/sheets:v4/AppendDimensionRequest/dimension": dimension "/sheets:v4/AppendDimensionRequest/length": length @@ -35816,52 +35994,41 @@ "/sheets:v4/AddNamedRangeRequest": add_named_range_request "/sheets:v4/AddNamedRangeRequest/namedRange": named_range "/sheets:v4/UpdateEmbeddedObjectPositionRequest": update_embedded_object_position_request -"/sheets:v4/UpdateEmbeddedObjectPositionRequest/newPosition": new_position "/sheets:v4/UpdateEmbeddedObjectPositionRequest/fields": fields "/sheets:v4/UpdateEmbeddedObjectPositionRequest/objectId": object_id_prop +"/sheets:v4/UpdateEmbeddedObjectPositionRequest/newPosition": new_position "/sheets:v4/TextRotation": text_rotation -"/sheets:v4/TextRotation/angle": angle "/sheets:v4/TextRotation/vertical": vertical +"/sheets:v4/TextRotation/angle": angle "/sheets:v4/PieChartSpec": pie_chart_spec +"/sheets:v4/PieChartSpec/legendPosition": legend_position +"/sheets:v4/PieChartSpec/pieHole": pie_hole "/sheets:v4/PieChartSpec/domain": domain "/sheets:v4/PieChartSpec/threeDimensional": three_dimensional "/sheets:v4/PieChartSpec/series": series -"/sheets:v4/PieChartSpec/legendPosition": legend_position -"/sheets:v4/PieChartSpec/pieHole": pie_hole "/sheets:v4/UpdateFilterViewRequest": update_filter_view_request "/sheets:v4/UpdateFilterViewRequest/filter": filter "/sheets:v4/UpdateFilterViewRequest/fields": fields "/sheets:v4/ConditionalFormatRule": conditional_format_rule +"/sheets:v4/ConditionalFormatRule/gradientRule": gradient_rule "/sheets:v4/ConditionalFormatRule/booleanRule": boolean_rule "/sheets:v4/ConditionalFormatRule/ranges": ranges "/sheets:v4/ConditionalFormatRule/ranges/range": range -"/sheets:v4/ConditionalFormatRule/gradientRule": gradient_rule "/sheets:v4/CopyPasteRequest": copy_paste_request "/sheets:v4/CopyPasteRequest/destination": destination "/sheets:v4/CopyPasteRequest/pasteOrientation": paste_orientation "/sheets:v4/CopyPasteRequest/source": source "/sheets:v4/CopyPasteRequest/pasteType": paste_type +"/sheets:v4/BooleanCondition": boolean_condition +"/sheets:v4/BooleanCondition/type": type +"/sheets:v4/BooleanCondition/values": values +"/sheets:v4/BooleanCondition/values/value": value "/sheets:v4/Request": request -"/sheets:v4/Request/moveDimension": move_dimension -"/sheets:v4/Request/updateBanding": update_banding -"/sheets:v4/Request/addProtectedRange": add_protected_range -"/sheets:v4/Request/deleteNamedRange": delete_named_range -"/sheets:v4/Request/duplicateSheet": duplicate_sheet -"/sheets:v4/Request/unmergeCells": unmerge_cells -"/sheets:v4/Request/deleteSheet": delete_sheet -"/sheets:v4/Request/updateEmbeddedObjectPosition": update_embedded_object_position -"/sheets:v4/Request/updateDimensionProperties": update_dimension_properties -"/sheets:v4/Request/pasteData": paste_data -"/sheets:v4/Request/setBasicFilter": set_basic_filter -"/sheets:v4/Request/addConditionalFormatRule": add_conditional_format_rule -"/sheets:v4/Request/addNamedRange": add_named_range -"/sheets:v4/Request/updateCells": update_cells -"/sheets:v4/Request/updateSpreadsheetProperties": update_spreadsheet_properties "/sheets:v4/Request/deleteEmbeddedObject": delete_embedded_object "/sheets:v4/Request/updateFilterView": update_filter_view "/sheets:v4/Request/addBanding": add_banding -"/sheets:v4/Request/autoResizeDimensions": auto_resize_dimensions "/sheets:v4/Request/appendCells": append_cells +"/sheets:v4/Request/autoResizeDimensions": auto_resize_dimensions "/sheets:v4/Request/cutPaste": cut_paste "/sheets:v4/Request/mergeCells": merge_cells "/sheets:v4/Request/updateNamedRange": update_named_range @@ -35875,8 +36042,8 @@ "/sheets:v4/Request/findReplace": find_replace "/sheets:v4/Request/textToColumns": text_to_columns "/sheets:v4/Request/updateChartSpec": update_chart_spec -"/sheets:v4/Request/addSheet": add_sheet "/sheets:v4/Request/updateProtectedRange": update_protected_range +"/sheets:v4/Request/addSheet": add_sheet "/sheets:v4/Request/deleteFilterView": delete_filter_view "/sheets:v4/Request/copyPaste": copy_paste "/sheets:v4/Request/insertDimension": insert_dimension @@ -35886,15 +36053,26 @@ "/sheets:v4/Request/setDataValidation": set_data_validation "/sheets:v4/Request/updateBorders": update_borders "/sheets:v4/Request/deleteConditionalFormatRule": delete_conditional_format_rule -"/sheets:v4/Request/clearBasicFilter": clear_basic_filter "/sheets:v4/Request/repeatCell": repeat_cell +"/sheets:v4/Request/clearBasicFilter": clear_basic_filter "/sheets:v4/Request/appendDimension": append_dimension "/sheets:v4/Request/updateConditionalFormatRule": update_conditional_format_rule "/sheets:v4/Request/insertRange": insert_range -"/sheets:v4/BooleanCondition": boolean_condition -"/sheets:v4/BooleanCondition/type": type -"/sheets:v4/BooleanCondition/values": values -"/sheets:v4/BooleanCondition/values/value": value +"/sheets:v4/Request/moveDimension": move_dimension +"/sheets:v4/Request/updateBanding": update_banding +"/sheets:v4/Request/addProtectedRange": add_protected_range +"/sheets:v4/Request/deleteNamedRange": delete_named_range +"/sheets:v4/Request/duplicateSheet": duplicate_sheet +"/sheets:v4/Request/deleteSheet": delete_sheet +"/sheets:v4/Request/unmergeCells": unmerge_cells +"/sheets:v4/Request/updateEmbeddedObjectPosition": update_embedded_object_position +"/sheets:v4/Request/updateDimensionProperties": update_dimension_properties +"/sheets:v4/Request/pasteData": paste_data +"/sheets:v4/Request/setBasicFilter": set_basic_filter +"/sheets:v4/Request/addConditionalFormatRule": add_conditional_format_rule +"/sheets:v4/Request/updateCells": update_cells +"/sheets:v4/Request/addNamedRange": add_named_range +"/sheets:v4/Request/updateSpreadsheetProperties": update_spreadsheet_properties "/sheets:v4/GridRange": grid_range "/sheets:v4/GridRange/endRowIndex": end_row_index "/sheets:v4/GridRange/endColumnIndex": end_column_index @@ -35902,30 +36080,30 @@ "/sheets:v4/GridRange/startColumnIndex": start_column_index "/sheets:v4/GridRange/sheetId": sheet_id "/sheets:v4/BasicChartSpec": basic_chart_spec +"/sheets:v4/BasicChartSpec/headerCount": header_count +"/sheets:v4/BasicChartSpec/axis": axis +"/sheets:v4/BasicChartSpec/axis/axis": axis "/sheets:v4/BasicChartSpec/chartType": chart_type "/sheets:v4/BasicChartSpec/series": series "/sheets:v4/BasicChartSpec/series/series": series "/sheets:v4/BasicChartSpec/legendPosition": legend_position "/sheets:v4/BasicChartSpec/domains": domains "/sheets:v4/BasicChartSpec/domains/domain": domain -"/sheets:v4/BasicChartSpec/headerCount": header_count -"/sheets:v4/BasicChartSpec/axis": axis -"/sheets:v4/BasicChartSpec/axis/axis": axis "/sheets:v4/SetDataValidationRequest": set_data_validation_request "/sheets:v4/SetDataValidationRequest/rule": rule "/sheets:v4/SetDataValidationRequest/range": range "/sheets:v4/CellData": cell_data -"/sheets:v4/CellData/dataValidation": data_validation -"/sheets:v4/CellData/userEnteredValue": user_entered_value "/sheets:v4/CellData/effectiveValue": effective_value +"/sheets:v4/CellData/formattedValue": formatted_value "/sheets:v4/CellData/textFormatRuns": text_format_runs "/sheets:v4/CellData/textFormatRuns/text_format_run": text_format_run -"/sheets:v4/CellData/formattedValue": formatted_value "/sheets:v4/CellData/hyperlink": hyperlink "/sheets:v4/CellData/pivotTable": pivot_table "/sheets:v4/CellData/userEnteredFormat": user_entered_format -"/sheets:v4/CellData/effectiveFormat": effective_format "/sheets:v4/CellData/note": note +"/sheets:v4/CellData/effectiveFormat": effective_format +"/sheets:v4/CellData/userEnteredValue": user_entered_value +"/sheets:v4/CellData/dataValidation": data_validation "/sheets:v4/BatchUpdateSpreadsheetRequest": batch_update_spreadsheet_request "/sheets:v4/BatchUpdateSpreadsheetRequest/includeSpreadsheetInResponse": include_spreadsheet_in_response "/sheets:v4/BatchUpdateSpreadsheetRequest/responseRanges": response_ranges @@ -35933,15 +36111,15 @@ "/sheets:v4/BatchUpdateSpreadsheetRequest/responseIncludeGridData": response_include_grid_data "/sheets:v4/BatchUpdateSpreadsheetRequest/requests": requests "/sheets:v4/BatchUpdateSpreadsheetRequest/requests/request": request -"/sheets:v4/BasicChartAxis": basic_chart_axis -"/sheets:v4/BasicChartAxis/format": format -"/sheets:v4/BasicChartAxis/position": position -"/sheets:v4/BasicChartAxis/title": title "/sheets:v4/Padding": padding "/sheets:v4/Padding/right": right "/sheets:v4/Padding/bottom": bottom "/sheets:v4/Padding/top": top "/sheets:v4/Padding/left": left +"/sheets:v4/BasicChartAxis": basic_chart_axis +"/sheets:v4/BasicChartAxis/position": position +"/sheets:v4/BasicChartAxis/title": title +"/sheets:v4/BasicChartAxis/format": format "/sheets:v4/DeleteDimensionRequest": delete_dimension_request "/sheets:v4/DeleteDimensionRequest/range": range "/sheets:v4/UpdateChartSpecRequest": update_chart_spec_request @@ -35950,20 +36128,20 @@ "/sheets:v4/DeleteFilterViewRequest": delete_filter_view_request "/sheets:v4/DeleteFilterViewRequest/filterId": filter_id "/sheets:v4/BatchUpdateValuesResponse": batch_update_values_response -"/sheets:v4/BatchUpdateValuesResponse/totalUpdatedSheets": total_updated_sheets -"/sheets:v4/BatchUpdateValuesResponse/totalUpdatedCells": total_updated_cells "/sheets:v4/BatchUpdateValuesResponse/totalUpdatedColumns": total_updated_columns "/sheets:v4/BatchUpdateValuesResponse/spreadsheetId": spreadsheet_id "/sheets:v4/BatchUpdateValuesResponse/totalUpdatedRows": total_updated_rows "/sheets:v4/BatchUpdateValuesResponse/responses": responses "/sheets:v4/BatchUpdateValuesResponse/responses/response": response +"/sheets:v4/BatchUpdateValuesResponse/totalUpdatedSheets": total_updated_sheets +"/sheets:v4/BatchUpdateValuesResponse/totalUpdatedCells": total_updated_cells "/sheets:v4/SortRangeRequest": sort_range_request "/sheets:v4/SortRangeRequest/range": range "/sheets:v4/SortRangeRequest/sortSpecs": sort_specs "/sheets:v4/SortRangeRequest/sortSpecs/sort_spec": sort_spec "/sheets:v4/MergeCellsRequest": merge_cells_request -"/sheets:v4/MergeCellsRequest/mergeType": merge_type "/sheets:v4/MergeCellsRequest/range": range +"/sheets:v4/MergeCellsRequest/mergeType": merge_type "/sheets:v4/AddProtectedRangeRequest": add_protected_range_request "/sheets:v4/AddProtectedRangeRequest/protectedRange": protected_range "/sheets:v4/BatchClearValuesRequest": batch_clear_values_request @@ -35973,23 +36151,23 @@ "/sheets:v4/DuplicateFilterViewResponse/filter": filter "/sheets:v4/DuplicateSheetResponse": duplicate_sheet_response "/sheets:v4/DuplicateSheetResponse/properties": properties -"/sheets:v4/TextToColumnsRequest": text_to_columns_request -"/sheets:v4/TextToColumnsRequest/source": source -"/sheets:v4/TextToColumnsRequest/delimiterType": delimiter_type -"/sheets:v4/TextToColumnsRequest/delimiter": delimiter "/sheets:v4/ClearBasicFilterRequest": clear_basic_filter_request "/sheets:v4/ClearBasicFilterRequest/sheetId": sheet_id +"/sheets:v4/TextToColumnsRequest": text_to_columns_request +"/sheets:v4/TextToColumnsRequest/delimiter": delimiter +"/sheets:v4/TextToColumnsRequest/source": source +"/sheets:v4/TextToColumnsRequest/delimiterType": delimiter_type +"/sheets:v4/DeleteBandingRequest": delete_banding_request +"/sheets:v4/DeleteBandingRequest/bandedRangeId": banded_range_id "/sheets:v4/BatchUpdateSpreadsheetResponse": batch_update_spreadsheet_response "/sheets:v4/BatchUpdateSpreadsheetResponse/replies": replies "/sheets:v4/BatchUpdateSpreadsheetResponse/replies/reply": reply "/sheets:v4/BatchUpdateSpreadsheetResponse/updatedSpreadsheet": updated_spreadsheet "/sheets:v4/BatchUpdateSpreadsheetResponse/spreadsheetId": spreadsheet_id -"/sheets:v4/DeleteBandingRequest": delete_banding_request -"/sheets:v4/DeleteBandingRequest/bandedRangeId": banded_range_id "/sheets:v4/AppendValuesResponse": append_values_response -"/sheets:v4/AppendValuesResponse/updates": updates "/sheets:v4/AppendValuesResponse/tableRange": table_range "/sheets:v4/AppendValuesResponse/spreadsheetId": spreadsheet_id +"/sheets:v4/AppendValuesResponse/updates": updates "/sheets:v4/MoveDimensionRequest": move_dimension_request "/sheets:v4/MoveDimensionRequest/destinationIndex": destination_index "/sheets:v4/MoveDimensionRequest/source": source @@ -36010,65 +36188,65 @@ "/sheets:v4/NumberFormat/type": type "/sheets:v4/NumberFormat/pattern": pattern "/sheets:v4/SheetProperties": sheet_properties -"/sheets:v4/SheetProperties/rightToLeft": right_to_left -"/sheets:v4/SheetProperties/hidden": hidden -"/sheets:v4/SheetProperties/gridProperties": grid_properties -"/sheets:v4/SheetProperties/sheetType": sheet_type "/sheets:v4/SheetProperties/title": title "/sheets:v4/SheetProperties/tabColor": tab_color "/sheets:v4/SheetProperties/index": index "/sheets:v4/SheetProperties/sheetId": sheet_id +"/sheets:v4/SheetProperties/rightToLeft": right_to_left +"/sheets:v4/SheetProperties/hidden": hidden +"/sheets:v4/SheetProperties/gridProperties": grid_properties +"/sheets:v4/SheetProperties/sheetType": sheet_type "/sheets:v4/UpdateDimensionPropertiesRequest": update_dimension_properties_request -"/sheets:v4/UpdateDimensionPropertiesRequest/properties": properties "/sheets:v4/UpdateDimensionPropertiesRequest/range": range "/sheets:v4/UpdateDimensionPropertiesRequest/fields": fields +"/sheets:v4/UpdateDimensionPropertiesRequest/properties": properties "/sheets:v4/SourceAndDestination": source_and_destination +"/sheets:v4/SourceAndDestination/dimension": dimension "/sheets:v4/SourceAndDestination/fillLength": fill_length "/sheets:v4/SourceAndDestination/source": source -"/sheets:v4/SourceAndDestination/dimension": dimension "/sheets:v4/FilterView": filter_view -"/sheets:v4/FilterView/range": range +"/sheets:v4/FilterView/namedRangeId": named_range_id +"/sheets:v4/FilterView/filterViewId": filter_view_id "/sheets:v4/FilterView/criteria": criteria "/sheets:v4/FilterView/criteria/criterium": criterium "/sheets:v4/FilterView/title": title +"/sheets:v4/FilterView/range": range "/sheets:v4/FilterView/sortSpecs": sort_specs "/sheets:v4/FilterView/sortSpecs/sort_spec": sort_spec -"/sheets:v4/FilterView/namedRangeId": named_range_id -"/sheets:v4/FilterView/filterViewId": filter_view_id "/sheets:v4/BandingProperties": banding_properties -"/sheets:v4/BandingProperties/firstBandColor": first_band_color "/sheets:v4/BandingProperties/secondBandColor": second_band_color "/sheets:v4/BandingProperties/footerColor": footer_color "/sheets:v4/BandingProperties/headerColor": header_color -"/sheets:v4/AddProtectedRangeResponse": add_protected_range_response -"/sheets:v4/AddProtectedRangeResponse/protectedRange": protected_range +"/sheets:v4/BandingProperties/firstBandColor": first_band_color "/sheets:v4/BasicFilter": basic_filter "/sheets:v4/BasicFilter/range": range "/sheets:v4/BasicFilter/criteria": criteria "/sheets:v4/BasicFilter/criteria/criterium": criterium "/sheets:v4/BasicFilter/sortSpecs": sort_specs "/sheets:v4/BasicFilter/sortSpecs/sort_spec": sort_spec +"/sheets:v4/AddProtectedRangeResponse": add_protected_range_response +"/sheets:v4/AddProtectedRangeResponse/protectedRange": protected_range "/sheets:v4/UpdateValuesResponse": update_values_response +"/sheets:v4/UpdateValuesResponse/updatedColumns": updated_columns +"/sheets:v4/UpdateValuesResponse/spreadsheetId": spreadsheet_id "/sheets:v4/UpdateValuesResponse/updatedRange": updated_range "/sheets:v4/UpdateValuesResponse/updatedCells": updated_cells "/sheets:v4/UpdateValuesResponse/updatedData": updated_data "/sheets:v4/UpdateValuesResponse/updatedRows": updated_rows -"/sheets:v4/UpdateValuesResponse/updatedColumns": updated_columns -"/sheets:v4/UpdateValuesResponse/spreadsheetId": spreadsheet_id +"/sheets:v4/ErrorValue": error_value +"/sheets:v4/ErrorValue/message": message +"/sheets:v4/ErrorValue/type": type "/sheets:v4/PivotValue": pivot_value "/sheets:v4/PivotValue/formula": formula "/sheets:v4/PivotValue/summarizeFunction": summarize_function "/sheets:v4/PivotValue/sourceColumnOffset": source_column_offset "/sheets:v4/PivotValue/name": name -"/sheets:v4/ErrorValue": error_value -"/sheets:v4/ErrorValue/type": type -"/sheets:v4/ErrorValue/message": message "/sheets:v4/CopySheetToAnotherSpreadsheetRequest": copy_sheet_to_another_spreadsheet_request "/sheets:v4/CopySheetToAnotherSpreadsheetRequest/destinationSpreadsheetId": destination_spreadsheet_id "/sheets:v4/PivotGroupSortValueBucket": pivot_group_sort_value_bucket -"/sheets:v4/PivotGroupSortValueBucket/valuesIndex": values_index "/sheets:v4/PivotGroupSortValueBucket/buckets": buckets "/sheets:v4/PivotGroupSortValueBucket/buckets/bucket": bucket +"/sheets:v4/PivotGroupSortValueBucket/valuesIndex": values_index "/sheets:v4/EmbeddedObjectPosition": embedded_object_position "/sheets:v4/EmbeddedObjectPosition/newSheet": new_sheet "/sheets:v4/EmbeddedObjectPosition/sheetId": sheet_id @@ -36076,236 +36254,28 @@ "/sheets:v4/DeleteProtectedRangeRequest": delete_protected_range_request "/sheets:v4/DeleteProtectedRangeRequest/protectedRangeId": protected_range_id "/sheets:v4/AutoFillRequest": auto_fill_request +"/sheets:v4/AutoFillRequest/range": range "/sheets:v4/AutoFillRequest/useAlternateSeries": use_alternate_series "/sheets:v4/AutoFillRequest/sourceAndDestination": source_and_destination -"/sheets:v4/AutoFillRequest/range": range "/sheets:v4/GradientRule": gradient_rule -"/sheets:v4/GradientRule/midpoint": midpoint "/sheets:v4/GradientRule/minpoint": minpoint "/sheets:v4/GradientRule/maxpoint": maxpoint +"/sheets:v4/GradientRule/midpoint": midpoint "/sheets:v4/SetBasicFilterRequest": set_basic_filter_request "/sheets:v4/SetBasicFilterRequest/filter": filter "/sheets:v4/ClearValuesRequest": clear_values_request "/sheets:v4/InterpolationPoint": interpolation_point +"/sheets:v4/InterpolationPoint/color": color "/sheets:v4/InterpolationPoint/type": type "/sheets:v4/InterpolationPoint/value": value -"/sheets:v4/InterpolationPoint/color": color "/sheets:v4/FindReplaceResponse": find_replace_response -"/sheets:v4/FindReplaceResponse/occurrencesChanged": occurrences_changed -"/sheets:v4/FindReplaceResponse/rowsChanged": rows_changed "/sheets:v4/FindReplaceResponse/sheetsChanged": sheets_changed "/sheets:v4/FindReplaceResponse/formulasChanged": formulas_changed "/sheets:v4/FindReplaceResponse/valuesChanged": values_changed +"/sheets:v4/FindReplaceResponse/occurrencesChanged": occurrences_changed +"/sheets:v4/FindReplaceResponse/rowsChanged": rows_changed "/sheets:v4/DeleteEmbeddedObjectRequest": delete_embedded_object_request "/sheets:v4/DeleteEmbeddedObjectRequest/objectId": object_id_prop -"/sheets:v4/DuplicateFilterViewRequest": duplicate_filter_view_request -"/sheets:v4/DuplicateFilterViewRequest/filterId": filter_id -"/sheets:v4/DeleteSheetRequest": delete_sheet_request -"/sheets:v4/DeleteSheetRequest/sheetId": sheet_id -"/sheets:v4/UpdateConditionalFormatRuleResponse": update_conditional_format_rule_response -"/sheets:v4/UpdateConditionalFormatRuleResponse/oldRule": old_rule -"/sheets:v4/UpdateConditionalFormatRuleResponse/newIndex": new_index -"/sheets:v4/UpdateConditionalFormatRuleResponse/oldIndex": old_index -"/sheets:v4/UpdateConditionalFormatRuleResponse/newRule": new_rule -"/sheets:v4/DuplicateSheetRequest": duplicate_sheet_request -"/sheets:v4/DuplicateSheetRequest/insertSheetIndex": insert_sheet_index -"/sheets:v4/DuplicateSheetRequest/newSheetName": new_sheet_name -"/sheets:v4/DuplicateSheetRequest/sourceSheetId": source_sheet_id -"/sheets:v4/DuplicateSheetRequest/newSheetId": new_sheet_id -"/sheets:v4/ConditionValue": condition_value -"/sheets:v4/ConditionValue/relativeDate": relative_date -"/sheets:v4/ConditionValue/userEnteredValue": user_entered_value -"/sheets:v4/ExtendedValue": extended_value -"/sheets:v4/ExtendedValue/stringValue": string_value -"/sheets:v4/ExtendedValue/boolValue": bool_value -"/sheets:v4/ExtendedValue/formulaValue": formula_value -"/sheets:v4/ExtendedValue/numberValue": number_value -"/sheets:v4/ExtendedValue/errorValue": error_value -"/sheets:v4/AddChartRequest": add_chart_request -"/sheets:v4/AddChartRequest/chart": chart -"/sheets:v4/Spreadsheet": spreadsheet -"/sheets:v4/Spreadsheet/spreadsheetUrl": spreadsheet_url -"/sheets:v4/Spreadsheet/properties": properties -"/sheets:v4/Spreadsheet/spreadsheetId": spreadsheet_id -"/sheets:v4/Spreadsheet/sheets": sheets -"/sheets:v4/Spreadsheet/sheets/sheet": sheet -"/sheets:v4/Spreadsheet/namedRanges": named_ranges -"/sheets:v4/Spreadsheet/namedRanges/named_range": named_range -"/sheets:v4/BatchClearValuesResponse": batch_clear_values_response -"/sheets:v4/BatchClearValuesResponse/clearedRanges": cleared_ranges -"/sheets:v4/BatchClearValuesResponse/clearedRanges/cleared_range": cleared_range -"/sheets:v4/BatchClearValuesResponse/spreadsheetId": spreadsheet_id -"/sheets:v4/BandedRange": banded_range -"/sheets:v4/BandedRange/rowProperties": row_properties -"/sheets:v4/BandedRange/columnProperties": column_properties -"/sheets:v4/BandedRange/range": range -"/sheets:v4/BandedRange/bandedRangeId": banded_range_id -"/sheets:v4/UpdateProtectedRangeRequest": update_protected_range_request -"/sheets:v4/UpdateProtectedRangeRequest/protectedRange": protected_range -"/sheets:v4/UpdateProtectedRangeRequest/fields": fields -"/sheets:v4/TextFormat": text_format -"/sheets:v4/TextFormat/underline": underline -"/sheets:v4/TextFormat/bold": bold -"/sheets:v4/TextFormat/foregroundColor": foreground_color -"/sheets:v4/TextFormat/fontFamily": font_family -"/sheets:v4/TextFormat/italic": italic -"/sheets:v4/TextFormat/strikethrough": strikethrough -"/sheets:v4/TextFormat/fontSize": font_size -"/sheets:v4/AddSheetResponse": add_sheet_response -"/sheets:v4/AddSheetResponse/properties": properties -"/sheets:v4/AddFilterViewResponse": add_filter_view_response -"/sheets:v4/AddFilterViewResponse/filter": filter -"/sheets:v4/IterativeCalculationSettings": iterative_calculation_settings -"/sheets:v4/IterativeCalculationSettings/convergenceThreshold": convergence_threshold -"/sheets:v4/IterativeCalculationSettings/maxIterations": max_iterations -"/sheets:v4/OverlayPosition": overlay_position -"/sheets:v4/OverlayPosition/anchorCell": anchor_cell -"/sheets:v4/OverlayPosition/offsetYPixels": offset_y_pixels -"/sheets:v4/OverlayPosition/heightPixels": height_pixels -"/sheets:v4/OverlayPosition/widthPixels": width_pixels -"/sheets:v4/OverlayPosition/offsetXPixels": offset_x_pixels -"/sheets:v4/SpreadsheetProperties": spreadsheet_properties -"/sheets:v4/SpreadsheetProperties/title": title -"/sheets:v4/SpreadsheetProperties/timeZone": time_zone -"/sheets:v4/SpreadsheetProperties/locale": locale -"/sheets:v4/SpreadsheetProperties/iterativeCalculationSettings": iterative_calculation_settings -"/sheets:v4/SpreadsheetProperties/autoRecalc": auto_recalc -"/sheets:v4/SpreadsheetProperties/defaultFormat": default_format -"/sheets:v4/RepeatCellRequest": repeat_cell_request -"/sheets:v4/RepeatCellRequest/range": range -"/sheets:v4/RepeatCellRequest/fields": fields -"/sheets:v4/RepeatCellRequest/cell": cell -"/sheets:v4/AddChartResponse": add_chart_response -"/sheets:v4/AddChartResponse/chart": chart -"/sheets:v4/InsertDimensionRequest": insert_dimension_request -"/sheets:v4/InsertDimensionRequest/range": range -"/sheets:v4/InsertDimensionRequest/inheritFromBefore": inherit_from_before -"/sheets:v4/UpdateSpreadsheetPropertiesRequest": update_spreadsheet_properties_request -"/sheets:v4/UpdateSpreadsheetPropertiesRequest/fields": fields -"/sheets:v4/UpdateSpreadsheetPropertiesRequest/properties": properties -"/sheets:v4/ProtectedRange": protected_range -"/sheets:v4/ProtectedRange/range": range -"/sheets:v4/ProtectedRange/editors": editors -"/sheets:v4/ProtectedRange/description": description -"/sheets:v4/ProtectedRange/unprotectedRanges": unprotected_ranges -"/sheets:v4/ProtectedRange/unprotectedRanges/unprotected_range": unprotected_range -"/sheets:v4/ProtectedRange/namedRangeId": named_range_id -"/sheets:v4/ProtectedRange/protectedRangeId": protected_range_id -"/sheets:v4/ProtectedRange/warningOnly": warning_only -"/sheets:v4/ProtectedRange/requestingUserCanEdit": requesting_user_can_edit -"/sheets:v4/BatchUpdateValuesRequest": batch_update_values_request -"/sheets:v4/BatchUpdateValuesRequest/responseValueRenderOption": response_value_render_option -"/sheets:v4/BatchUpdateValuesRequest/includeValuesInResponse": include_values_in_response -"/sheets:v4/BatchUpdateValuesRequest/valueInputOption": value_input_option -"/sheets:v4/BatchUpdateValuesRequest/data": data -"/sheets:v4/BatchUpdateValuesRequest/data/datum": datum -"/sheets:v4/BatchUpdateValuesRequest/responseDateTimeRenderOption": response_date_time_render_option -"/sheets:v4/DimensionProperties": dimension_properties -"/sheets:v4/DimensionProperties/pixelSize": pixel_size -"/sheets:v4/DimensionProperties/hiddenByFilter": hidden_by_filter -"/sheets:v4/DimensionProperties/hiddenByUser": hidden_by_user -"/sheets:v4/NamedRange": named_range -"/sheets:v4/NamedRange/namedRangeId": named_range_id -"/sheets:v4/NamedRange/range": range -"/sheets:v4/NamedRange/name": name -"/sheets:v4/DimensionRange": dimension_range -"/sheets:v4/DimensionRange/startIndex": start_index -"/sheets:v4/DimensionRange/endIndex": end_index -"/sheets:v4/DimensionRange/sheetId": sheet_id -"/sheets:v4/DimensionRange/dimension": dimension -"/sheets:v4/CutPasteRequest": cut_paste_request -"/sheets:v4/CutPasteRequest/destination": destination -"/sheets:v4/CutPasteRequest/source": source -"/sheets:v4/CutPasteRequest/pasteType": paste_type -"/sheets:v4/Borders": borders -"/sheets:v4/Borders/top": top -"/sheets:v4/Borders/left": left -"/sheets:v4/Borders/right": right -"/sheets:v4/Borders/bottom": bottom -"/sheets:v4/BasicChartSeries": basic_chart_series -"/sheets:v4/BasicChartSeries/series": series -"/sheets:v4/BasicChartSeries/type": type -"/sheets:v4/BasicChartSeries/targetAxis": target_axis -"/sheets:v4/AutoResizeDimensionsRequest": auto_resize_dimensions_request -"/sheets:v4/AutoResizeDimensionsRequest/dimensions": dimensions -"/sheets:v4/UpdateBordersRequest": update_borders_request -"/sheets:v4/UpdateBordersRequest/top": top -"/sheets:v4/UpdateBordersRequest/left": left -"/sheets:v4/UpdateBordersRequest/bottom": bottom -"/sheets:v4/UpdateBordersRequest/innerVertical": inner_vertical -"/sheets:v4/UpdateBordersRequest/right": right -"/sheets:v4/UpdateBordersRequest/range": range -"/sheets:v4/UpdateBordersRequest/innerHorizontal": inner_horizontal -"/sheets:v4/CellFormat": cell_format -"/sheets:v4/CellFormat/wrapStrategy": wrap_strategy -"/sheets:v4/CellFormat/textRotation": text_rotation -"/sheets:v4/CellFormat/numberFormat": number_format -"/sheets:v4/CellFormat/horizontalAlignment": horizontal_alignment -"/sheets:v4/CellFormat/hyperlinkDisplayType": hyperlink_display_type -"/sheets:v4/CellFormat/textFormat": text_format -"/sheets:v4/CellFormat/backgroundColor": background_color -"/sheets:v4/CellFormat/verticalAlignment": vertical_alignment -"/sheets:v4/CellFormat/padding": padding -"/sheets:v4/CellFormat/textDirection": text_direction -"/sheets:v4/CellFormat/borders": borders -"/sheets:v4/ClearValuesResponse": clear_values_response -"/sheets:v4/ClearValuesResponse/clearedRange": cleared_range -"/sheets:v4/ClearValuesResponse/spreadsheetId": spreadsheet_id -"/sheets:v4/DeleteConditionalFormatRuleRequest": delete_conditional_format_rule_request -"/sheets:v4/DeleteConditionalFormatRuleRequest/index": index -"/sheets:v4/DeleteConditionalFormatRuleRequest/sheetId": sheet_id -"/sheets:v4/DeleteNamedRangeRequest": delete_named_range_request -"/sheets:v4/DeleteNamedRangeRequest/namedRangeId": named_range_id -"/sheets:v4/AddBandingResponse": add_banding_response -"/sheets:v4/AddBandingResponse/bandedRange": banded_range -"/sheets:v4/ChartData": chart_data -"/sheets:v4/ChartData/sourceRange": source_range -"/sheets:v4/BatchGetValuesResponse": batch_get_values_response -"/sheets:v4/BatchGetValuesResponse/valueRanges": value_ranges -"/sheets:v4/BatchGetValuesResponse/valueRanges/value_range": value_range -"/sheets:v4/BatchGetValuesResponse/spreadsheetId": spreadsheet_id -"/sheets:v4/UpdateBandingRequest": update_banding_request -"/sheets:v4/UpdateBandingRequest/fields": fields -"/sheets:v4/UpdateBandingRequest/bandedRange": banded_range -"/sheets:v4/Color": color -"/sheets:v4/Color/red": red -"/sheets:v4/Color/green": green -"/sheets:v4/Color/blue": blue -"/sheets:v4/Color/alpha": alpha -"/sheets:v4/PivotGroup": pivot_group -"/sheets:v4/PivotGroup/sortOrder": sort_order -"/sheets:v4/PivotGroup/valueBucket": value_bucket -"/sheets:v4/PivotGroup/sourceColumnOffset": source_column_offset -"/sheets:v4/PivotGroup/showTotals": show_totals -"/sheets:v4/PivotGroup/valueMetadata": value_metadata -"/sheets:v4/PivotGroup/valueMetadata/value_metadatum": value_metadatum -"/sheets:v4/PivotTable": pivot_table -"/sheets:v4/PivotTable/criteria": criteria -"/sheets:v4/PivotTable/criteria/criterium": criterium -"/sheets:v4/PivotTable/rows": rows -"/sheets:v4/PivotTable/rows/row": row -"/sheets:v4/PivotTable/valueLayout": value_layout -"/sheets:v4/PivotTable/columns": columns -"/sheets:v4/PivotTable/columns/column": column -"/sheets:v4/PivotTable/values": values -"/sheets:v4/PivotTable/values/value": value -"/sheets:v4/PivotTable/source": source -"/sheets:v4/ChartSourceRange": chart_source_range -"/sheets:v4/ChartSourceRange/sources": sources -"/sheets:v4/ChartSourceRange/sources/source": source -"/sheets:v4/AppendCellsRequest": append_cells_request -"/sheets:v4/AppendCellsRequest/rows": rows -"/sheets:v4/AppendCellsRequest/rows/row": row -"/sheets:v4/AppendCellsRequest/fields": fields -"/sheets:v4/AppendCellsRequest/sheetId": sheet_id -"/sheets:v4/ValueRange": value_range -"/sheets:v4/ValueRange/range": range -"/sheets:v4/ValueRange/majorDimension": major_dimension -"/sheets:v4/ValueRange/values": values -"/sheets:v4/ValueRange/values/value": value -"/sheets:v4/ValueRange/values/value/value": value -"/sheets:v4/AddBandingRequest": add_banding_request -"/sheets:v4/AddBandingRequest/bandedRange": banded_range "/siteVerification:v1/fields": fields "/siteVerification:v1/key": key "/siteVerification:v1/quotaUser": quota_user @@ -36336,277 +36306,75 @@ "/siteVerification:v1/SiteVerificationWebResourceResource/site": site "/siteVerification:v1/SiteVerificationWebResourceResource/site/identifier": identifier "/siteVerification:v1/SiteVerificationWebResourceResource/site/type": type +"/slides:v1/quotaUser": quota_user "/slides:v1/fields": fields "/slides:v1/key": key -"/slides:v1/quotaUser": quota_user "/slides:v1/slides.presentations.create": create_presentation "/slides:v1/slides.presentations.batchUpdate": batch_update_presentation "/slides:v1/slides.presentations.batchUpdate/presentationId": presentation_id "/slides:v1/slides.presentations.get": get_presentation "/slides:v1/slides.presentations.get/presentationId": presentation_id "/slides:v1/slides.presentations.pages.getThumbnail": get_presentation_page_thumbnail -"/slides:v1/slides.presentations.pages.getThumbnail/thumbnailProperties.mimeType": thumbnail_properties_mime_type -"/slides:v1/slides.presentations.pages.getThumbnail/thumbnailProperties.thumbnailSize": thumbnail_properties_thumbnail_size "/slides:v1/slides.presentations.pages.getThumbnail/presentationId": presentation_id "/slides:v1/slides.presentations.pages.getThumbnail/pageObjectId": page_object_id +"/slides:v1/slides.presentations.pages.getThumbnail/thumbnailProperties.mimeType": thumbnail_properties_mime_type +"/slides:v1/slides.presentations.pages.getThumbnail/thumbnailProperties.thumbnailSize": thumbnail_properties_thumbnail_size "/slides:v1/slides.presentations.pages.get": get_presentation_page -"/slides:v1/slides.presentations.pages.get/presentationId": presentation_id "/slides:v1/slides.presentations.pages.get/pageObjectId": page_object_id -"/slides:v1/Shape": shape -"/slides:v1/Shape/shapeType": shape_type -"/slides:v1/Shape/text": text -"/slides:v1/Shape/placeholder": placeholder -"/slides:v1/Shape/shapeProperties": shape_properties -"/slides:v1/Image": image -"/slides:v1/Image/imageProperties": image_properties -"/slides:v1/Image/contentUrl": content_url -"/slides:v1/InsertTextRequest": insert_text_request -"/slides:v1/InsertTextRequest/objectId": object_id_prop -"/slides:v1/InsertTextRequest/text": text -"/slides:v1/InsertTextRequest/insertionIndex": insertion_index -"/slides:v1/InsertTextRequest/cellLocation": cell_location -"/slides:v1/AffineTransform": affine_transform -"/slides:v1/AffineTransform/shearX": shear_x -"/slides:v1/AffineTransform/scaleY": scale_y -"/slides:v1/AffineTransform/translateY": translate_y -"/slides:v1/AffineTransform/translateX": translate_x -"/slides:v1/AffineTransform/shearY": shear_y -"/slides:v1/AffineTransform/unit": unit -"/slides:v1/AffineTransform/scaleX": scale_x -"/slides:v1/AutoText": auto_text -"/slides:v1/AutoText/type": type -"/slides:v1/AutoText/content": content -"/slides:v1/AutoText/style": style -"/slides:v1/CreateVideoResponse": create_video_response -"/slides:v1/CreateVideoResponse/objectId": object_id_prop -"/slides:v1/DeleteTextRequest": delete_text_request -"/slides:v1/DeleteTextRequest/objectId": object_id_prop -"/slides:v1/DeleteTextRequest/textRange": text_range -"/slides:v1/DeleteTextRequest/cellLocation": cell_location -"/slides:v1/UpdatePageElementTransformRequest": update_page_element_transform_request -"/slides:v1/UpdatePageElementTransformRequest/applyMode": apply_mode -"/slides:v1/UpdatePageElementTransformRequest/objectId": object_id_prop -"/slides:v1/UpdatePageElementTransformRequest/transform": transform -"/slides:v1/DeleteObjectRequest": delete_object_request -"/slides:v1/DeleteObjectRequest/objectId": object_id_prop -"/slides:v1/Dimension": dimension -"/slides:v1/Dimension/magnitude": magnitude -"/slides:v1/Dimension/unit": unit -"/slides:v1/TextElement": text_element -"/slides:v1/TextElement/paragraphMarker": paragraph_marker -"/slides:v1/TextElement/startIndex": start_index -"/slides:v1/TextElement/endIndex": end_index -"/slides:v1/TextElement/textRun": text_run -"/slides:v1/TextElement/autoText": auto_text -"/slides:v1/LineFill": line_fill -"/slides:v1/LineFill/solidFill": solid_fill -"/slides:v1/VideoProperties": video_properties -"/slides:v1/VideoProperties/outline": outline -"/slides:v1/InsertTableRowsRequest": insert_table_rows_request -"/slides:v1/InsertTableRowsRequest/tableObjectId": table_object_id -"/slides:v1/InsertTableRowsRequest/insertBelow": insert_below -"/slides:v1/InsertTableRowsRequest/number": number -"/slides:v1/InsertTableRowsRequest/cellLocation": cell_location -"/slides:v1/LayoutProperties": layout_properties -"/slides:v1/LayoutProperties/masterObjectId": master_object_id -"/slides:v1/LayoutProperties/name": name -"/slides:v1/LayoutProperties/displayName": display_name -"/slides:v1/LineProperties": line_properties -"/slides:v1/LineProperties/link": link -"/slides:v1/LineProperties/dashStyle": dash_style -"/slides:v1/LineProperties/endArrow": end_arrow -"/slides:v1/LineProperties/startArrow": start_arrow -"/slides:v1/LineProperties/weight": weight -"/slides:v1/LineProperties/lineFill": line_fill -"/slides:v1/Presentation": presentation -"/slides:v1/Presentation/notesMaster": notes_master -"/slides:v1/Presentation/layouts": layouts -"/slides:v1/Presentation/layouts/layout": layout -"/slides:v1/Presentation/title": title -"/slides:v1/Presentation/masters": masters -"/slides:v1/Presentation/masters/master": master -"/slides:v1/Presentation/locale": locale -"/slides:v1/Presentation/pageSize": page_size -"/slides:v1/Presentation/presentationId": presentation_id -"/slides:v1/Presentation/slides": slides -"/slides:v1/Presentation/slides/slide": slide -"/slides:v1/Presentation/revisionId": revision_id -"/slides:v1/OpaqueColor": opaque_color -"/slides:v1/OpaqueColor/rgbColor": rgb_color -"/slides:v1/OpaqueColor/themeColor": theme_color -"/slides:v1/ImageProperties": image_properties -"/slides:v1/ImageProperties/brightness": brightness -"/slides:v1/ImageProperties/transparency": transparency -"/slides:v1/ImageProperties/shadow": shadow -"/slides:v1/ImageProperties/contrast": contrast -"/slides:v1/ImageProperties/link": link -"/slides:v1/ImageProperties/recolor": recolor -"/slides:v1/ImageProperties/cropProperties": crop_properties -"/slides:v1/ImageProperties/outline": outline -"/slides:v1/ReplaceAllShapesWithImageResponse": replace_all_shapes_with_image_response -"/slides:v1/ReplaceAllShapesWithImageResponse/occurrencesChanged": occurrences_changed -"/slides:v1/Line": line -"/slides:v1/Line/lineType": line_type -"/slides:v1/Line/lineProperties": line_properties -"/slides:v1/CreateSheetsChartRequest": create_sheets_chart_request -"/slides:v1/CreateSheetsChartRequest/objectId": object_id_prop -"/slides:v1/CreateSheetsChartRequest/elementProperties": element_properties -"/slides:v1/CreateSheetsChartRequest/spreadsheetId": spreadsheet_id -"/slides:v1/CreateSheetsChartRequest/linkingMode": linking_mode -"/slides:v1/CreateSheetsChartRequest/chartId": chart_id -"/slides:v1/BatchUpdatePresentationResponse": batch_update_presentation_response -"/slides:v1/BatchUpdatePresentationResponse/replies": replies -"/slides:v1/BatchUpdatePresentationResponse/replies/reply": reply -"/slides:v1/BatchUpdatePresentationResponse/presentationId": presentation_id -"/slides:v1/CreateImageResponse": create_image_response -"/slides:v1/CreateImageResponse/objectId": object_id_prop -"/slides:v1/SlideProperties": slide_properties -"/slides:v1/SlideProperties/layoutObjectId": layout_object_id -"/slides:v1/SlideProperties/masterObjectId": master_object_id -"/slides:v1/SlideProperties/notesPage": notes_page -"/slides:v1/Response": response -"/slides:v1/Response/createSheetsChart": create_sheets_chart -"/slides:v1/Response/replaceAllShapesWithSheetsChart": replace_all_shapes_with_sheets_chart -"/slides:v1/Response/replaceAllShapesWithImage": replace_all_shapes_with_image -"/slides:v1/Response/createTable": create_table -"/slides:v1/Response/replaceAllText": replace_all_text -"/slides:v1/Response/createSlide": create_slide -"/slides:v1/Response/duplicateObject": duplicate_object -"/slides:v1/Response/createShape": create_shape -"/slides:v1/Response/createLine": create_line -"/slides:v1/Response/createImage": create_image -"/slides:v1/Response/createVideo": create_video -"/slides:v1/SubstringMatchCriteria": substring_match_criteria -"/slides:v1/SubstringMatchCriteria/text": text -"/slides:v1/SubstringMatchCriteria/matchCase": match_case -"/slides:v1/LayoutReference": layout_reference -"/slides:v1/LayoutReference/predefinedLayout": predefined_layout -"/slides:v1/LayoutReference/layoutId": layout_id -"/slides:v1/TextRun": text_run -"/slides:v1/TextRun/content": content -"/slides:v1/TextRun/style": style -"/slides:v1/TableRange": table_range -"/slides:v1/TableRange/location": location -"/slides:v1/TableRange/rowSpan": row_span -"/slides:v1/TableRange/columnSpan": column_span -"/slides:v1/CreateTableRequest": create_table_request -"/slides:v1/CreateTableRequest/elementProperties": element_properties -"/slides:v1/CreateTableRequest/rows": rows -"/slides:v1/CreateTableRequest/objectId": object_id_prop -"/slides:v1/CreateTableRequest/columns": columns -"/slides:v1/CreateTableResponse": create_table_response -"/slides:v1/CreateTableResponse/objectId": object_id_prop -"/slides:v1/Table": table -"/slides:v1/Table/tableColumns": table_columns -"/slides:v1/Table/tableColumns/table_column": table_column -"/slides:v1/Table/columns": columns -"/slides:v1/Table/tableRows": table_rows -"/slides:v1/Table/tableRows/table_row": table_row -"/slides:v1/Table/rows": rows -"/slides:v1/PageBackgroundFill": page_background_fill -"/slides:v1/PageBackgroundFill/propertyState": property_state -"/slides:v1/PageBackgroundFill/stretchedPictureFill": stretched_picture_fill -"/slides:v1/PageBackgroundFill/solidFill": solid_fill -"/slides:v1/SheetsChart": sheets_chart -"/slides:v1/SheetsChart/contentUrl": content_url -"/slides:v1/SheetsChart/spreadsheetId": spreadsheet_id -"/slides:v1/SheetsChart/chartId": chart_id -"/slides:v1/SheetsChart/sheetsChartProperties": sheets_chart_properties -"/slides:v1/SolidFill": solid_fill -"/slides:v1/SolidFill/color": color -"/slides:v1/SolidFill/alpha": alpha -"/slides:v1/ThemeColorPair": theme_color_pair -"/slides:v1/ThemeColorPair/color": color -"/slides:v1/ThemeColorPair/type": type -"/slides:v1/OptionalColor": optional_color -"/slides:v1/OptionalColor/opaqueColor": opaque_color -"/slides:v1/PageElementProperties": page_element_properties -"/slides:v1/PageElementProperties/transform": transform -"/slides:v1/PageElementProperties/pageObjectId": page_object_id -"/slides:v1/PageElementProperties/size": size -"/slides:v1/SheetsChartProperties": sheets_chart_properties -"/slides:v1/SheetsChartProperties/chartImageProperties": chart_image_properties -"/slides:v1/StretchedPictureFill": stretched_picture_fill -"/slides:v1/StretchedPictureFill/contentUrl": content_url -"/slides:v1/StretchedPictureFill/size": size -"/slides:v1/UpdateTextStyleRequest": update_text_style_request -"/slides:v1/UpdateTextStyleRequest/fields": fields -"/slides:v1/UpdateTextStyleRequest/objectId": object_id_prop -"/slides:v1/UpdateTextStyleRequest/textRange": text_range -"/slides:v1/UpdateTextStyleRequest/cellLocation": cell_location -"/slides:v1/UpdateTextStyleRequest/style": style -"/slides:v1/DeleteTableColumnRequest": delete_table_column_request -"/slides:v1/DeleteTableColumnRequest/tableObjectId": table_object_id -"/slides:v1/DeleteTableColumnRequest/cellLocation": cell_location -"/slides:v1/List": list -"/slides:v1/List/nestingLevel": nesting_level -"/slides:v1/List/nestingLevel/nesting_level": nesting_level -"/slides:v1/List/listId": list_id +"/slides:v1/slides.presentations.pages.get/presentationId": presentation_id "/slides:v1/WeightedFontFamily": weighted_font_family "/slides:v1/WeightedFontFamily/fontFamily": font_family "/slides:v1/WeightedFontFamily/weight": weight "/slides:v1/PageElement": page_element -"/slides:v1/PageElement/size": size -"/slides:v1/PageElement/title": title -"/slides:v1/PageElement/sheetsChart": sheets_chart -"/slides:v1/PageElement/video": video -"/slides:v1/PageElement/wordArt": word_art -"/slides:v1/PageElement/table": table -"/slides:v1/PageElement/transform": transform -"/slides:v1/PageElement/objectId": object_id_prop -"/slides:v1/PageElement/shape": shape "/slides:v1/PageElement/line": line "/slides:v1/PageElement/description": description "/slides:v1/PageElement/elementGroup": element_group "/slides:v1/PageElement/image": image +"/slides:v1/PageElement/size": size +"/slides:v1/PageElement/sheetsChart": sheets_chart +"/slides:v1/PageElement/title": title +"/slides:v1/PageElement/video": video +"/slides:v1/PageElement/wordArt": word_art +"/slides:v1/PageElement/table": table +"/slides:v1/PageElement/objectId": object_id_prop +"/slides:v1/PageElement/transform": transform +"/slides:v1/PageElement/shape": shape "/slides:v1/CreateImageRequest": create_image_request "/slides:v1/CreateImageRequest/elementProperties": element_properties "/slides:v1/CreateImageRequest/url": url "/slides:v1/CreateImageRequest/objectId": object_id_prop "/slides:v1/CreateParagraphBulletsRequest": create_paragraph_bullets_request -"/slides:v1/CreateParagraphBulletsRequest/bulletPreset": bullet_preset -"/slides:v1/CreateParagraphBulletsRequest/cellLocation": cell_location "/slides:v1/CreateParagraphBulletsRequest/objectId": object_id_prop "/slides:v1/CreateParagraphBulletsRequest/textRange": text_range +"/slides:v1/CreateParagraphBulletsRequest/bulletPreset": bullet_preset +"/slides:v1/CreateParagraphBulletsRequest/cellLocation": cell_location "/slides:v1/TextStyle": text_style +"/slides:v1/TextStyle/smallCaps": small_caps +"/slides:v1/TextStyle/backgroundColor": background_color +"/slides:v1/TextStyle/link": link +"/slides:v1/TextStyle/underline": underline +"/slides:v1/TextStyle/bold": bold +"/slides:v1/TextStyle/foregroundColor": foreground_color "/slides:v1/TextStyle/fontFamily": font_family "/slides:v1/TextStyle/italic": italic "/slides:v1/TextStyle/strikethrough": strikethrough "/slides:v1/TextStyle/fontSize": font_size "/slides:v1/TextStyle/baselineOffset": baseline_offset "/slides:v1/TextStyle/weightedFontFamily": weighted_font_family -"/slides:v1/TextStyle/smallCaps": small_caps -"/slides:v1/TextStyle/backgroundColor": background_color -"/slides:v1/TextStyle/link": link -"/slides:v1/TextStyle/underline": underline -"/slides:v1/TextStyle/foregroundColor": foreground_color -"/slides:v1/TextStyle/bold": bold "/slides:v1/Size": size -"/slides:v1/Size/height": height "/slides:v1/Size/width": width +"/slides:v1/Size/height": height "/slides:v1/UpdateVideoPropertiesRequest": update_video_properties_request "/slides:v1/UpdateVideoPropertiesRequest/videoProperties": video_properties "/slides:v1/UpdateVideoPropertiesRequest/fields": fields "/slides:v1/UpdateVideoPropertiesRequest/objectId": object_id_prop "/slides:v1/Request": request -"/slides:v1/Request/replaceAllShapesWithImage": replace_all_shapes_with_image -"/slides:v1/Request/replaceAllText": replace_all_text -"/slides:v1/Request/updateImageProperties": update_image_properties -"/slides:v1/Request/createSlide": create_slide -"/slides:v1/Request/insertTableRows": insert_table_rows -"/slides:v1/Request/updateLineProperties": update_line_properties -"/slides:v1/Request/updateSlidesPosition": update_slides_position -"/slides:v1/Request/deleteTableRow": delete_table_row -"/slides:v1/Request/updateShapeProperties": update_shape_properties -"/slides:v1/Request/insertText": insert_text -"/slides:v1/Request/deleteText": delete_text -"/slides:v1/Request/updatePageProperties": update_page_properties "/slides:v1/Request/createShape": create_shape "/slides:v1/Request/deleteParagraphBullets": delete_paragraph_bullets "/slides:v1/Request/insertTableColumns": insert_table_columns "/slides:v1/Request/refreshSheetsChart": refresh_sheets_chart -"/slides:v1/Request/updateTableCellProperties": update_table_cell_properties "/slides:v1/Request/createTable": create_table +"/slides:v1/Request/updateTableCellProperties": update_table_cell_properties "/slides:v1/Request/deleteObject": delete_object "/slides:v1/Request/updateParagraphStyle": update_paragraph_style "/slides:v1/Request/deleteTableColumn": delete_table_column @@ -36616,42 +36384,54 @@ "/slides:v1/Request/createImage": create_image "/slides:v1/Request/createParagraphBullets": create_paragraph_bullets "/slides:v1/Request/createVideo": create_video -"/slides:v1/Request/replaceAllShapesWithSheetsChart": replace_all_shapes_with_sheets_chart "/slides:v1/Request/createSheetsChart": create_sheets_chart +"/slides:v1/Request/replaceAllShapesWithSheetsChart": replace_all_shapes_with_sheets_chart "/slides:v1/Request/updatePageElementTransform": update_page_element_transform "/slides:v1/Request/updateTextStyle": update_text_style +"/slides:v1/Request/replaceAllShapesWithImage": replace_all_shapes_with_image +"/slides:v1/Request/replaceAllText": replace_all_text +"/slides:v1/Request/updateImageProperties": update_image_properties +"/slides:v1/Request/insertTableRows": insert_table_rows +"/slides:v1/Request/createSlide": create_slide +"/slides:v1/Request/updateLineProperties": update_line_properties +"/slides:v1/Request/updateSlidesPosition": update_slides_position +"/slides:v1/Request/deleteTableRow": delete_table_row +"/slides:v1/Request/updateShapeProperties": update_shape_properties +"/slides:v1/Request/insertText": insert_text +"/slides:v1/Request/deleteText": delete_text +"/slides:v1/Request/updatePageProperties": update_page_properties "/slides:v1/UpdateImagePropertiesRequest": update_image_properties_request "/slides:v1/UpdateImagePropertiesRequest/fields": fields "/slides:v1/UpdateImagePropertiesRequest/imageProperties": image_properties "/slides:v1/UpdateImagePropertiesRequest/objectId": object_id_prop "/slides:v1/ParagraphStyle": paragraph_style -"/slides:v1/ParagraphStyle/spaceBelow": space_below -"/slides:v1/ParagraphStyle/direction": direction -"/slides:v1/ParagraphStyle/spacingMode": spacing_mode -"/slides:v1/ParagraphStyle/indentEnd": indent_end "/slides:v1/ParagraphStyle/indentStart": indent_start "/slides:v1/ParagraphStyle/spaceAbove": space_above -"/slides:v1/ParagraphStyle/alignment": alignment -"/slides:v1/ParagraphStyle/lineSpacing": line_spacing "/slides:v1/ParagraphStyle/indentFirstLine": indent_first_line +"/slides:v1/ParagraphStyle/lineSpacing": line_spacing +"/slides:v1/ParagraphStyle/alignment": alignment +"/slides:v1/ParagraphStyle/spaceBelow": space_below +"/slides:v1/ParagraphStyle/direction": direction +"/slides:v1/ParagraphStyle/indentEnd": indent_end +"/slides:v1/ParagraphStyle/spacingMode": spacing_mode "/slides:v1/ReplaceAllShapesWithSheetsChartResponse": replace_all_shapes_with_sheets_chart_response "/slides:v1/ReplaceAllShapesWithSheetsChartResponse/occurrencesChanged": occurrences_changed "/slides:v1/TableCellProperties": table_cell_properties "/slides:v1/TableCellProperties/tableCellBackgroundFill": table_cell_background_fill "/slides:v1/Outline": outline -"/slides:v1/Outline/outlineFill": outline_fill "/slides:v1/Outline/weight": weight "/slides:v1/Outline/dashStyle": dash_style "/slides:v1/Outline/propertyState": property_state +"/slides:v1/Outline/outlineFill": outline_fill "/slides:v1/RefreshSheetsChartRequest": refresh_sheets_chart_request "/slides:v1/RefreshSheetsChartRequest/objectId": object_id_prop "/slides:v1/NotesProperties": notes_properties "/slides:v1/NotesProperties/speakerNotesObjectId": speaker_notes_object_id "/slides:v1/ShapeProperties": shape_properties -"/slides:v1/ShapeProperties/shapeBackgroundFill": shape_background_fill -"/slides:v1/ShapeProperties/shadow": shadow "/slides:v1/ShapeProperties/link": link "/slides:v1/ShapeProperties/outline": outline +"/slides:v1/ShapeProperties/shapeBackgroundFill": shape_background_fill +"/slides:v1/ShapeProperties/shadow": shadow "/slides:v1/TableColumnProperties": table_column_properties "/slides:v1/TableColumnProperties/columnWidth": column_width "/slides:v1/TableRow": table_row @@ -36659,10 +36439,10 @@ "/slides:v1/TableRow/tableCells": table_cells "/slides:v1/TableRow/tableCells/table_cell": table_cell "/slides:v1/UpdateTableCellPropertiesRequest": update_table_cell_properties_request +"/slides:v1/UpdateTableCellPropertiesRequest/tableCellProperties": table_cell_properties "/slides:v1/UpdateTableCellPropertiesRequest/fields": fields "/slides:v1/UpdateTableCellPropertiesRequest/objectId": object_id_prop "/slides:v1/UpdateTableCellPropertiesRequest/tableRange": table_range -"/slides:v1/UpdateTableCellPropertiesRequest/tableCellProperties": table_cell_properties "/slides:v1/CreateSlideRequest": create_slide_request "/slides:v1/CreateSlideRequest/slideLayoutReference": slide_layout_reference "/slides:v1/CreateSlideRequest/objectId": object_id_prop @@ -36674,10 +36454,10 @@ "/slides:v1/BatchUpdatePresentationRequest/requests/request": request "/slides:v1/BatchUpdatePresentationRequest/writeControl": write_control "/slides:v1/TextContent": text_content -"/slides:v1/TextContent/textElements": text_elements -"/slides:v1/TextContent/textElements/text_element": text_element "/slides:v1/TextContent/lists": lists "/slides:v1/TextContent/lists/list": list +"/slides:v1/TextContent/textElements": text_elements +"/slides:v1/TextContent/textElements/text_element": text_element "/slides:v1/CreateSheetsChartResponse": create_sheets_chart_response "/slides:v1/CreateSheetsChartResponse/objectId": object_id_prop "/slides:v1/WriteControl": write_control @@ -36690,33 +36470,33 @@ "/slides:v1/ParagraphMarker/style": style "/slides:v1/ParagraphMarker/bullet": bullet "/slides:v1/InsertTableColumnsRequest": insert_table_columns_request +"/slides:v1/InsertTableColumnsRequest/tableObjectId": table_object_id "/slides:v1/InsertTableColumnsRequest/number": number "/slides:v1/InsertTableColumnsRequest/cellLocation": cell_location "/slides:v1/InsertTableColumnsRequest/insertRight": insert_right -"/slides:v1/InsertTableColumnsRequest/tableObjectId": table_object_id "/slides:v1/Thumbnail": thumbnail +"/slides:v1/Thumbnail/width": width "/slides:v1/Thumbnail/height": height "/slides:v1/Thumbnail/contentUrl": content_url -"/slides:v1/Thumbnail/width": width "/slides:v1/LayoutPlaceholderIdMapping": layout_placeholder_id_mapping "/slides:v1/LayoutPlaceholderIdMapping/layoutPlaceholder": layout_placeholder "/slides:v1/LayoutPlaceholderIdMapping/layoutPlaceholderObjectId": layout_placeholder_object_id "/slides:v1/LayoutPlaceholderIdMapping/objectId": object_id_prop "/slides:v1/UpdateShapePropertiesRequest": update_shape_properties_request +"/slides:v1/UpdateShapePropertiesRequest/shapeProperties": shape_properties "/slides:v1/UpdateShapePropertiesRequest/fields": fields "/slides:v1/UpdateShapePropertiesRequest/objectId": object_id_prop -"/slides:v1/UpdateShapePropertiesRequest/shapeProperties": shape_properties "/slides:v1/WordArt": word_art "/slides:v1/WordArt/renderedText": rendered_text "/slides:v1/Recolor": recolor -"/slides:v1/Recolor/name": name "/slides:v1/Recolor/recolorStops": recolor_stops "/slides:v1/Recolor/recolorStops/recolor_stop": recolor_stop +"/slides:v1/Recolor/name": name "/slides:v1/Link": link +"/slides:v1/Link/pageObjectId": page_object_id "/slides:v1/Link/url": url "/slides:v1/Link/relativeLink": relative_link "/slides:v1/Link/slideIndex": slide_index -"/slides:v1/Link/pageObjectId": page_object_id "/slides:v1/CreateShapeResponse": create_shape_response "/slides:v1/CreateShapeResponse/objectId": object_id_prop "/slides:v1/RgbColor": rgb_color @@ -36739,20 +36519,20 @@ "/slides:v1/Video/id": id "/slides:v1/Video/videoProperties": video_properties "/slides:v1/PageProperties": page_properties -"/slides:v1/PageProperties/pageBackgroundFill": page_background_fill "/slides:v1/PageProperties/colorScheme": color_scheme +"/slides:v1/PageProperties/pageBackgroundFill": page_background_fill +"/slides:v1/NestingLevel": nesting_level +"/slides:v1/NestingLevel/bulletStyle": bullet_style "/slides:v1/TableCell": table_cell -"/slides:v1/TableCell/text": text "/slides:v1/TableCell/tableCellProperties": table_cell_properties "/slides:v1/TableCell/location": location "/slides:v1/TableCell/rowSpan": row_span "/slides:v1/TableCell/columnSpan": column_span -"/slides:v1/NestingLevel": nesting_level -"/slides:v1/NestingLevel/bulletStyle": bullet_style +"/slides:v1/TableCell/text": text "/slides:v1/UpdateLinePropertiesRequest": update_line_properties_request -"/slides:v1/UpdateLinePropertiesRequest/objectId": object_id_prop "/slides:v1/UpdateLinePropertiesRequest/lineProperties": line_properties "/slides:v1/UpdateLinePropertiesRequest/fields": fields +"/slides:v1/UpdateLinePropertiesRequest/objectId": object_id_prop "/slides:v1/TableCellBackgroundFill": table_cell_background_fill "/slides:v1/TableCellBackgroundFill/solidFill": solid_fill "/slides:v1/TableCellBackgroundFill/propertyState": property_state @@ -36768,9 +36548,9 @@ "/slides:v1/Group/children": children "/slides:v1/Group/children/child": child "/slides:v1/Placeholder": placeholder -"/slides:v1/Placeholder/parentObjectId": parent_object_id "/slides:v1/Placeholder/index": index "/slides:v1/Placeholder/type": type +"/slides:v1/Placeholder/parentObjectId": parent_object_id "/slides:v1/DuplicateObjectRequest": duplicate_object_request "/slides:v1/DuplicateObjectRequest/objectIds": object_ids "/slides:v1/DuplicateObjectRequest/objectIds/object_id": object_id_prop @@ -36779,24 +36559,24 @@ "/slides:v1/ReplaceAllTextRequest/replaceText": replace_text "/slides:v1/ReplaceAllTextRequest/containsText": contains_text "/slides:v1/Page": page -"/slides:v1/Page/pageType": page_type +"/slides:v1/Page/revisionId": revision_id +"/slides:v1/Page/layoutProperties": layout_properties "/slides:v1/Page/pageElements": page_elements "/slides:v1/Page/pageElements/page_element": page_element "/slides:v1/Page/notesProperties": notes_properties -"/slides:v1/Page/slideProperties": slide_properties +"/slides:v1/Page/pageType": page_type "/slides:v1/Page/pageProperties": page_properties +"/slides:v1/Page/slideProperties": slide_properties "/slides:v1/Page/objectId": object_id_prop -"/slides:v1/Page/revisionId": revision_id -"/slides:v1/Page/layoutProperties": layout_properties "/slides:v1/ShapeBackgroundFill": shape_background_fill -"/slides:v1/ShapeBackgroundFill/solidFill": solid_fill "/slides:v1/ShapeBackgroundFill/propertyState": property_state +"/slides:v1/ShapeBackgroundFill/solidFill": solid_fill "/slides:v1/CropProperties": crop_properties +"/slides:v1/CropProperties/topOffset": top_offset +"/slides:v1/CropProperties/leftOffset": left_offset "/slides:v1/CropProperties/rightOffset": right_offset "/slides:v1/CropProperties/bottomOffset": bottom_offset "/slides:v1/CropProperties/angle": angle -"/slides:v1/CropProperties/topOffset": top_offset -"/slides:v1/CropProperties/leftOffset": left_offset "/slides:v1/ReplaceAllShapesWithSheetsChartRequest": replace_all_shapes_with_sheets_chart_request "/slides:v1/ReplaceAllShapesWithSheetsChartRequest/spreadsheetId": spreadsheet_id "/slides:v1/ReplaceAllShapesWithSheetsChartRequest/linkingMode": linking_mode @@ -36807,9 +36587,9 @@ "/slides:v1/ColorStop/position": position "/slides:v1/ColorStop/color": color "/slides:v1/Range": range +"/slides:v1/Range/type": type "/slides:v1/Range/startIndex": start_index "/slides:v1/Range/endIndex": end_index -"/slides:v1/Range/type": type "/slides:v1/CreateVideoRequest": create_video_request "/slides:v1/CreateVideoRequest/objectId": object_id_prop "/slides:v1/CreateVideoRequest/source": source @@ -36822,43 +36602,239 @@ "/slides:v1/ReplaceAllShapesWithImageRequest/replaceMethod": replace_method "/slides:v1/ReplaceAllShapesWithImageRequest/containsText": contains_text "/slides:v1/Shadow": shadow +"/slides:v1/Shadow/color": color +"/slides:v1/Shadow/rotateWithShape": rotate_with_shape +"/slides:v1/Shadow/propertyState": property_state "/slides:v1/Shadow/blurRadius": blur_radius "/slides:v1/Shadow/transform": transform "/slides:v1/Shadow/type": type "/slides:v1/Shadow/alignment": alignment "/slides:v1/Shadow/alpha": alpha -"/slides:v1/Shadow/color": color -"/slides:v1/Shadow/rotateWithShape": rotate_with_shape -"/slides:v1/Shadow/propertyState": property_state "/slides:v1/DeleteTableRowRequest": delete_table_row_request "/slides:v1/DeleteTableRowRequest/cellLocation": cell_location "/slides:v1/DeleteTableRowRequest/tableObjectId": table_object_id "/slides:v1/Bullet": bullet +"/slides:v1/Bullet/nestingLevel": nesting_level "/slides:v1/Bullet/bulletStyle": bullet_style "/slides:v1/Bullet/listId": list_id "/slides:v1/Bullet/glyph": glyph -"/slides:v1/Bullet/nestingLevel": nesting_level "/slides:v1/OutlineFill": outline_fill "/slides:v1/OutlineFill/solidFill": solid_fill +"/slides:v1/CreateLineResponse": create_line_response +"/slides:v1/CreateLineResponse/objectId": object_id_prop "/slides:v1/TableCellLocation": table_cell_location "/slides:v1/TableCellLocation/rowIndex": row_index "/slides:v1/TableCellLocation/columnIndex": column_index -"/slides:v1/CreateLineResponse": create_line_response -"/slides:v1/CreateLineResponse/objectId": object_id_prop "/slides:v1/ReplaceAllTextResponse": replace_all_text_response "/slides:v1/ReplaceAllTextResponse/occurrencesChanged": occurrences_changed "/slides:v1/UpdateParagraphStyleRequest": update_paragraph_style_request -"/slides:v1/UpdateParagraphStyleRequest/cellLocation": cell_location -"/slides:v1/UpdateParagraphStyleRequest/style": style "/slides:v1/UpdateParagraphStyleRequest/fields": fields "/slides:v1/UpdateParagraphStyleRequest/objectId": object_id_prop "/slides:v1/UpdateParagraphStyleRequest/textRange": text_range +"/slides:v1/UpdateParagraphStyleRequest/cellLocation": cell_location +"/slides:v1/UpdateParagraphStyleRequest/style": style "/slides:v1/ColorScheme": color_scheme "/slides:v1/ColorScheme/colors": colors "/slides:v1/ColorScheme/colors/color": color -"/sourcerepo:v1/quotaUser": quota_user +"/slides:v1/Shape": shape +"/slides:v1/Shape/shapeType": shape_type +"/slides:v1/Shape/text": text +"/slides:v1/Shape/placeholder": placeholder +"/slides:v1/Shape/shapeProperties": shape_properties +"/slides:v1/Image": image +"/slides:v1/Image/imageProperties": image_properties +"/slides:v1/Image/contentUrl": content_url +"/slides:v1/AffineTransform": affine_transform +"/slides:v1/AffineTransform/shearY": shear_y +"/slides:v1/AffineTransform/unit": unit +"/slides:v1/AffineTransform/scaleX": scale_x +"/slides:v1/AffineTransform/shearX": shear_x +"/slides:v1/AffineTransform/scaleY": scale_y +"/slides:v1/AffineTransform/translateY": translate_y +"/slides:v1/AffineTransform/translateX": translate_x +"/slides:v1/InsertTextRequest": insert_text_request +"/slides:v1/InsertTextRequest/insertionIndex": insertion_index +"/slides:v1/InsertTextRequest/cellLocation": cell_location +"/slides:v1/InsertTextRequest/objectId": object_id_prop +"/slides:v1/InsertTextRequest/text": text +"/slides:v1/AutoText": auto_text +"/slides:v1/AutoText/type": type +"/slides:v1/AutoText/content": content +"/slides:v1/AutoText/style": style +"/slides:v1/CreateVideoResponse": create_video_response +"/slides:v1/CreateVideoResponse/objectId": object_id_prop +"/slides:v1/DeleteTextRequest": delete_text_request +"/slides:v1/DeleteTextRequest/cellLocation": cell_location +"/slides:v1/DeleteTextRequest/objectId": object_id_prop +"/slides:v1/DeleteTextRequest/textRange": text_range +"/slides:v1/UpdatePageElementTransformRequest": update_page_element_transform_request +"/slides:v1/UpdatePageElementTransformRequest/objectId": object_id_prop +"/slides:v1/UpdatePageElementTransformRequest/transform": transform +"/slides:v1/UpdatePageElementTransformRequest/applyMode": apply_mode +"/slides:v1/DeleteObjectRequest": delete_object_request +"/slides:v1/DeleteObjectRequest/objectId": object_id_prop +"/slides:v1/Dimension": dimension +"/slides:v1/Dimension/magnitude": magnitude +"/slides:v1/Dimension/unit": unit +"/slides:v1/TextElement": text_element +"/slides:v1/TextElement/textRun": text_run +"/slides:v1/TextElement/autoText": auto_text +"/slides:v1/TextElement/paragraphMarker": paragraph_marker +"/slides:v1/TextElement/startIndex": start_index +"/slides:v1/TextElement/endIndex": end_index +"/slides:v1/LineFill": line_fill +"/slides:v1/LineFill/solidFill": solid_fill +"/slides:v1/VideoProperties": video_properties +"/slides:v1/VideoProperties/outline": outline +"/slides:v1/InsertTableRowsRequest": insert_table_rows_request +"/slides:v1/InsertTableRowsRequest/number": number +"/slides:v1/InsertTableRowsRequest/cellLocation": cell_location +"/slides:v1/InsertTableRowsRequest/tableObjectId": table_object_id +"/slides:v1/InsertTableRowsRequest/insertBelow": insert_below +"/slides:v1/LayoutProperties": layout_properties +"/slides:v1/LayoutProperties/name": name +"/slides:v1/LayoutProperties/displayName": display_name +"/slides:v1/LayoutProperties/masterObjectId": master_object_id +"/slides:v1/LineProperties": line_properties +"/slides:v1/LineProperties/link": link +"/slides:v1/LineProperties/dashStyle": dash_style +"/slides:v1/LineProperties/startArrow": start_arrow +"/slides:v1/LineProperties/endArrow": end_arrow +"/slides:v1/LineProperties/weight": weight +"/slides:v1/LineProperties/lineFill": line_fill +"/slides:v1/Presentation": presentation +"/slides:v1/Presentation/revisionId": revision_id +"/slides:v1/Presentation/notesMaster": notes_master +"/slides:v1/Presentation/title": title +"/slides:v1/Presentation/layouts": layouts +"/slides:v1/Presentation/layouts/layout": layout +"/slides:v1/Presentation/masters": masters +"/slides:v1/Presentation/masters/master": master +"/slides:v1/Presentation/locale": locale +"/slides:v1/Presentation/pageSize": page_size +"/slides:v1/Presentation/presentationId": presentation_id +"/slides:v1/Presentation/slides": slides +"/slides:v1/Presentation/slides/slide": slide +"/slides:v1/OpaqueColor": opaque_color +"/slides:v1/OpaqueColor/rgbColor": rgb_color +"/slides:v1/OpaqueColor/themeColor": theme_color +"/slides:v1/ImageProperties": image_properties +"/slides:v1/ImageProperties/shadow": shadow +"/slides:v1/ImageProperties/link": link +"/slides:v1/ImageProperties/contrast": contrast +"/slides:v1/ImageProperties/recolor": recolor +"/slides:v1/ImageProperties/cropProperties": crop_properties +"/slides:v1/ImageProperties/outline": outline +"/slides:v1/ImageProperties/brightness": brightness +"/slides:v1/ImageProperties/transparency": transparency +"/slides:v1/ReplaceAllShapesWithImageResponse": replace_all_shapes_with_image_response +"/slides:v1/ReplaceAllShapesWithImageResponse/occurrencesChanged": occurrences_changed +"/slides:v1/Line": line +"/slides:v1/Line/lineType": line_type +"/slides:v1/Line/lineProperties": line_properties +"/slides:v1/BatchUpdatePresentationResponse": batch_update_presentation_response +"/slides:v1/BatchUpdatePresentationResponse/replies": replies +"/slides:v1/BatchUpdatePresentationResponse/replies/reply": reply +"/slides:v1/BatchUpdatePresentationResponse/presentationId": presentation_id +"/slides:v1/CreateSheetsChartRequest": create_sheets_chart_request +"/slides:v1/CreateSheetsChartRequest/elementProperties": element_properties +"/slides:v1/CreateSheetsChartRequest/spreadsheetId": spreadsheet_id +"/slides:v1/CreateSheetsChartRequest/linkingMode": linking_mode +"/slides:v1/CreateSheetsChartRequest/chartId": chart_id +"/slides:v1/CreateSheetsChartRequest/objectId": object_id_prop +"/slides:v1/CreateImageResponse": create_image_response +"/slides:v1/CreateImageResponse/objectId": object_id_prop +"/slides:v1/SlideProperties": slide_properties +"/slides:v1/SlideProperties/layoutObjectId": layout_object_id +"/slides:v1/SlideProperties/masterObjectId": master_object_id +"/slides:v1/SlideProperties/notesPage": notes_page +"/slides:v1/Response": response +"/slides:v1/Response/createVideo": create_video +"/slides:v1/Response/replaceAllShapesWithSheetsChart": replace_all_shapes_with_sheets_chart +"/slides:v1/Response/createSheetsChart": create_sheets_chart +"/slides:v1/Response/replaceAllShapesWithImage": replace_all_shapes_with_image +"/slides:v1/Response/createTable": create_table +"/slides:v1/Response/replaceAllText": replace_all_text +"/slides:v1/Response/createSlide": create_slide +"/slides:v1/Response/createShape": create_shape +"/slides:v1/Response/duplicateObject": duplicate_object +"/slides:v1/Response/createLine": create_line +"/slides:v1/Response/createImage": create_image +"/slides:v1/TextRun": text_run +"/slides:v1/TextRun/style": style +"/slides:v1/TextRun/content": content +"/slides:v1/LayoutReference": layout_reference +"/slides:v1/LayoutReference/predefinedLayout": predefined_layout +"/slides:v1/LayoutReference/layoutId": layout_id +"/slides:v1/SubstringMatchCriteria": substring_match_criteria +"/slides:v1/SubstringMatchCriteria/text": text +"/slides:v1/SubstringMatchCriteria/matchCase": match_case +"/slides:v1/TableRange": table_range +"/slides:v1/TableRange/location": location +"/slides:v1/TableRange/rowSpan": row_span +"/slides:v1/TableRange/columnSpan": column_span +"/slides:v1/CreateTableResponse": create_table_response +"/slides:v1/CreateTableResponse/objectId": object_id_prop +"/slides:v1/CreateTableRequest": create_table_request +"/slides:v1/CreateTableRequest/rows": rows +"/slides:v1/CreateTableRequest/objectId": object_id_prop +"/slides:v1/CreateTableRequest/columns": columns +"/slides:v1/CreateTableRequest/elementProperties": element_properties +"/slides:v1/Table": table +"/slides:v1/Table/rows": rows +"/slides:v1/Table/tableColumns": table_columns +"/slides:v1/Table/tableColumns/table_column": table_column +"/slides:v1/Table/columns": columns +"/slides:v1/Table/tableRows": table_rows +"/slides:v1/Table/tableRows/table_row": table_row +"/slides:v1/PageBackgroundFill": page_background_fill +"/slides:v1/PageBackgroundFill/solidFill": solid_fill +"/slides:v1/PageBackgroundFill/propertyState": property_state +"/slides:v1/PageBackgroundFill/stretchedPictureFill": stretched_picture_fill +"/slides:v1/SheetsChart": sheets_chart +"/slides:v1/SheetsChart/sheetsChartProperties": sheets_chart_properties +"/slides:v1/SheetsChart/contentUrl": content_url +"/slides:v1/SheetsChart/spreadsheetId": spreadsheet_id +"/slides:v1/SheetsChart/chartId": chart_id +"/slides:v1/SolidFill": solid_fill +"/slides:v1/SolidFill/alpha": alpha +"/slides:v1/SolidFill/color": color +"/slides:v1/ThemeColorPair": theme_color_pair +"/slides:v1/ThemeColorPair/color": color +"/slides:v1/ThemeColorPair/type": type +"/slides:v1/OptionalColor": optional_color +"/slides:v1/OptionalColor/opaqueColor": opaque_color +"/slides:v1/PageElementProperties": page_element_properties +"/slides:v1/PageElementProperties/transform": transform +"/slides:v1/PageElementProperties/pageObjectId": page_object_id +"/slides:v1/PageElementProperties/size": size +"/slides:v1/SheetsChartProperties": sheets_chart_properties +"/slides:v1/SheetsChartProperties/chartImageProperties": chart_image_properties +"/slides:v1/StretchedPictureFill": stretched_picture_fill +"/slides:v1/StretchedPictureFill/size": size +"/slides:v1/StretchedPictureFill/contentUrl": content_url +"/slides:v1/UpdateTextStyleRequest": update_text_style_request +"/slides:v1/UpdateTextStyleRequest/fields": fields +"/slides:v1/UpdateTextStyleRequest/objectId": object_id_prop +"/slides:v1/UpdateTextStyleRequest/textRange": text_range +"/slides:v1/UpdateTextStyleRequest/cellLocation": cell_location +"/slides:v1/UpdateTextStyleRequest/style": style +"/slides:v1/DeleteTableColumnRequest": delete_table_column_request +"/slides:v1/DeleteTableColumnRequest/cellLocation": cell_location +"/slides:v1/DeleteTableColumnRequest/tableObjectId": table_object_id +"/slides:v1/List": list +"/slides:v1/List/nestingLevel": nesting_level +"/slides:v1/List/nestingLevel/nesting_level": nesting_level +"/slides:v1/List/listId": list_id "/sourcerepo:v1/fields": fields "/sourcerepo:v1/key": key +"/sourcerepo:v1/quotaUser": quota_user +"/sourcerepo:v1/sourcerepo.projects.repos.testIamPermissions": test_repo_iam_permissions +"/sourcerepo:v1/sourcerepo.projects.repos.testIamPermissions/resource": resource +"/sourcerepo:v1/sourcerepo.projects.repos.delete": delete_project_repo +"/sourcerepo:v1/sourcerepo.projects.repos.delete/name": name +"/sourcerepo:v1/sourcerepo.projects.repos.list": list_project_repos +"/sourcerepo:v1/sourcerepo.projects.repos.list/name": name "/sourcerepo:v1/sourcerepo.projects.repos.create": create_project_repo "/sourcerepo:v1/sourcerepo.projects.repos.create/parent": parent "/sourcerepo:v1/sourcerepo.projects.repos.setIamPolicy": set_repo_iam_policy @@ -36867,34 +36843,51 @@ "/sourcerepo:v1/sourcerepo.projects.repos.getIamPolicy/resource": resource "/sourcerepo:v1/sourcerepo.projects.repos.get": get_project_repo "/sourcerepo:v1/sourcerepo.projects.repos.get/name": name -"/sourcerepo:v1/sourcerepo.projects.repos.testIamPermissions": test_repo_iam_permissions -"/sourcerepo:v1/sourcerepo.projects.repos.testIamPermissions/resource": resource -"/sourcerepo:v1/sourcerepo.projects.repos.delete": delete_project_repo -"/sourcerepo:v1/sourcerepo.projects.repos.delete/name": name -"/sourcerepo:v1/sourcerepo.projects.repos.list": list_project_repos -"/sourcerepo:v1/sourcerepo.projects.repos.list/name": name -"/sourcerepo:v1/TestIamPermissionsResponse": test_iam_permissions_response -"/sourcerepo:v1/TestIamPermissionsResponse/permissions": permissions -"/sourcerepo:v1/TestIamPermissionsResponse/permissions/permission": permission +"/sourcerepo:v1/SetIamPolicyRequest": set_iam_policy_request +"/sourcerepo:v1/SetIamPolicyRequest/policy": policy +"/sourcerepo:v1/SetIamPolicyRequest/updateMask": update_mask +"/sourcerepo:v1/CloudAuditOptions": cloud_audit_options +"/sourcerepo:v1/Binding": binding +"/sourcerepo:v1/Binding/members": members +"/sourcerepo:v1/Binding/members/member": member +"/sourcerepo:v1/Binding/role": role +"/sourcerepo:v1/Empty": empty +"/sourcerepo:v1/MirrorConfig": mirror_config +"/sourcerepo:v1/MirrorConfig/webhookId": webhook_id +"/sourcerepo:v1/MirrorConfig/deployKeyId": deploy_key_id +"/sourcerepo:v1/MirrorConfig/url": url +"/sourcerepo:v1/Repo": repo +"/sourcerepo:v1/Repo/mirrorConfig": mirror_config +"/sourcerepo:v1/Repo/url": url +"/sourcerepo:v1/Repo/size": size +"/sourcerepo:v1/Repo/name": name "/sourcerepo:v1/ListReposResponse": list_repos_response "/sourcerepo:v1/ListReposResponse/repos": repos "/sourcerepo:v1/ListReposResponse/repos/repo": repo "/sourcerepo:v1/Condition": condition -"/sourcerepo:v1/Condition/sys": sys -"/sourcerepo:v1/Condition/value": value -"/sourcerepo:v1/Condition/iam": iam "/sourcerepo:v1/Condition/values": values "/sourcerepo:v1/Condition/values/value": value +"/sourcerepo:v1/Condition/iam": iam "/sourcerepo:v1/Condition/op": op "/sourcerepo:v1/Condition/svc": svc +"/sourcerepo:v1/Condition/value": value +"/sourcerepo:v1/Condition/sys": sys +"/sourcerepo:v1/TestIamPermissionsResponse": test_iam_permissions_response +"/sourcerepo:v1/TestIamPermissionsResponse/permissions": permissions +"/sourcerepo:v1/TestIamPermissionsResponse/permissions/permission": permission "/sourcerepo:v1/CounterOptions": counter_options "/sourcerepo:v1/CounterOptions/metric": metric "/sourcerepo:v1/CounterOptions/field": field "/sourcerepo:v1/AuditLogConfig": audit_log_config +"/sourcerepo:v1/AuditLogConfig/logType": log_type "/sourcerepo:v1/AuditLogConfig/exemptedMembers": exempted_members "/sourcerepo:v1/AuditLogConfig/exemptedMembers/exempted_member": exempted_member -"/sourcerepo:v1/AuditLogConfig/logType": log_type "/sourcerepo:v1/Rule": rule +"/sourcerepo:v1/Rule/notIn": not_in +"/sourcerepo:v1/Rule/notIn/not_in": not_in +"/sourcerepo:v1/Rule/description": description +"/sourcerepo:v1/Rule/conditions": conditions +"/sourcerepo:v1/Rule/conditions/condition": condition "/sourcerepo:v1/Rule/logConfig": log_config "/sourcerepo:v1/Rule/logConfig/log_config": log_config "/sourcerepo:v1/Rule/in": in @@ -36902,20 +36895,14 @@ "/sourcerepo:v1/Rule/permissions": permissions "/sourcerepo:v1/Rule/permissions/permission": permission "/sourcerepo:v1/Rule/action": action -"/sourcerepo:v1/Rule/notIn": not_in -"/sourcerepo:v1/Rule/notIn/not_in": not_in -"/sourcerepo:v1/Rule/description": description -"/sourcerepo:v1/Rule/conditions": conditions -"/sourcerepo:v1/Rule/conditions/condition": condition "/sourcerepo:v1/LogConfig": log_config +"/sourcerepo:v1/LogConfig/counter": counter "/sourcerepo:v1/LogConfig/dataAccess": data_access "/sourcerepo:v1/LogConfig/cloudAudit": cloud_audit -"/sourcerepo:v1/LogConfig/counter": counter "/sourcerepo:v1/TestIamPermissionsRequest": test_iam_permissions_request "/sourcerepo:v1/TestIamPermissionsRequest/permissions": permissions "/sourcerepo:v1/TestIamPermissionsRequest/permissions/permission": permission "/sourcerepo:v1/Policy": policy -"/sourcerepo:v1/Policy/etag": etag "/sourcerepo:v1/Policy/iamOwned": iam_owned "/sourcerepo:v1/Policy/rules": rules "/sourcerepo:v1/Policy/rules/rule": rule @@ -36924,6 +36911,7 @@ "/sourcerepo:v1/Policy/auditConfigs/audit_config": audit_config "/sourcerepo:v1/Policy/bindings": bindings "/sourcerepo:v1/Policy/bindings/binding": binding +"/sourcerepo:v1/Policy/etag": etag "/sourcerepo:v1/DataAccessOptions": data_access_options "/sourcerepo:v1/AuditConfig": audit_config "/sourcerepo:v1/AuditConfig/auditLogConfigs": audit_log_configs @@ -36931,27 +36919,17 @@ "/sourcerepo:v1/AuditConfig/exemptedMembers": exempted_members "/sourcerepo:v1/AuditConfig/exemptedMembers/exempted_member": exempted_member "/sourcerepo:v1/AuditConfig/service": service -"/sourcerepo:v1/SetIamPolicyRequest": set_iam_policy_request -"/sourcerepo:v1/SetIamPolicyRequest/updateMask": update_mask -"/sourcerepo:v1/SetIamPolicyRequest/policy": policy -"/sourcerepo:v1/CloudAuditOptions": cloud_audit_options -"/sourcerepo:v1/Binding": binding -"/sourcerepo:v1/Binding/members": members -"/sourcerepo:v1/Binding/members/member": member -"/sourcerepo:v1/Binding/role": role -"/sourcerepo:v1/Empty": empty -"/sourcerepo:v1/MirrorConfig": mirror_config -"/sourcerepo:v1/MirrorConfig/url": url -"/sourcerepo:v1/MirrorConfig/webhookId": webhook_id -"/sourcerepo:v1/MirrorConfig/deployKeyId": deploy_key_id -"/sourcerepo:v1/Repo": repo -"/sourcerepo:v1/Repo/url": url -"/sourcerepo:v1/Repo/size": size -"/sourcerepo:v1/Repo/name": name -"/sourcerepo:v1/Repo/mirrorConfig": mirror_config "/spanner:v1/fields": fields "/spanner:v1/key": key "/spanner:v1/quotaUser": quota_user +"/spanner:v1/spanner.projects.instances.getIamPolicy": get_instance_iam_policy +"/spanner:v1/spanner.projects.instances.getIamPolicy/resource": resource +"/spanner:v1/spanner.projects.instances.get": get_project_instance +"/spanner:v1/spanner.projects.instances.get/name": name +"/spanner:v1/spanner.projects.instances.patch": patch_project_instance +"/spanner:v1/spanner.projects.instances.patch/name": name +"/spanner:v1/spanner.projects.instances.testIamPermissions": test_instance_iam_permissions +"/spanner:v1/spanner.projects.instances.testIamPermissions/resource": resource "/spanner:v1/spanner.projects.instances.delete": delete_project_instance "/spanner:v1/spanner.projects.instances.delete/name": name "/spanner:v1/spanner.projects.instances.list": list_project_instances @@ -36963,24 +36941,6 @@ "/spanner:v1/spanner.projects.instances.create/parent": parent "/spanner:v1/spanner.projects.instances.setIamPolicy": set_instance_iam_policy "/spanner:v1/spanner.projects.instances.setIamPolicy/resource": resource -"/spanner:v1/spanner.projects.instances.getIamPolicy": get_instance_iam_policy -"/spanner:v1/spanner.projects.instances.getIamPolicy/resource": resource -"/spanner:v1/spanner.projects.instances.get": get_project_instance -"/spanner:v1/spanner.projects.instances.get/name": name -"/spanner:v1/spanner.projects.instances.patch": patch_project_instance -"/spanner:v1/spanner.projects.instances.patch/name": name -"/spanner:v1/spanner.projects.instances.testIamPermissions": test_instance_iam_permissions -"/spanner:v1/spanner.projects.instances.testIamPermissions/resource": resource -"/spanner:v1/spanner.projects.instances.databases.getDdl": get_project_instance_database_ddl -"/spanner:v1/spanner.projects.instances.databases.getDdl/database": database -"/spanner:v1/spanner.projects.instances.databases.list": list_project_instance_databases -"/spanner:v1/spanner.projects.instances.databases.list/parent": parent -"/spanner:v1/spanner.projects.instances.databases.list/pageToken": page_token -"/spanner:v1/spanner.projects.instances.databases.list/pageSize": page_size -"/spanner:v1/spanner.projects.instances.databases.setIamPolicy": set_database_iam_policy -"/spanner:v1/spanner.projects.instances.databases.setIamPolicy/resource": resource -"/spanner:v1/spanner.projects.instances.databases.create": create_database -"/spanner:v1/spanner.projects.instances.databases.create/parent": parent "/spanner:v1/spanner.projects.instances.databases.getIamPolicy": get_database_iam_policy "/spanner:v1/spanner.projects.instances.databases.getIamPolicy/resource": resource "/spanner:v1/spanner.projects.instances.databases.get": get_project_instance_database @@ -36991,6 +36951,16 @@ "/spanner:v1/spanner.projects.instances.databases.updateDdl/database": database "/spanner:v1/spanner.projects.instances.databases.testIamPermissions": test_database_iam_permissions "/spanner:v1/spanner.projects.instances.databases.testIamPermissions/resource": resource +"/spanner:v1/spanner.projects.instances.databases.getDdl": get_project_instance_database_ddl +"/spanner:v1/spanner.projects.instances.databases.getDdl/database": database +"/spanner:v1/spanner.projects.instances.databases.list": list_project_instance_databases +"/spanner:v1/spanner.projects.instances.databases.list/parent": parent +"/spanner:v1/spanner.projects.instances.databases.list/pageToken": page_token +"/spanner:v1/spanner.projects.instances.databases.list/pageSize": page_size +"/spanner:v1/spanner.projects.instances.databases.setIamPolicy": set_database_iam_policy +"/spanner:v1/spanner.projects.instances.databases.setIamPolicy/resource": resource +"/spanner:v1/spanner.projects.instances.databases.create": create_database +"/spanner:v1/spanner.projects.instances.databases.create/parent": parent "/spanner:v1/spanner.projects.instances.databases.operations.cancel": cancel_project_instance_database_operation "/spanner:v1/spanner.projects.instances.databases.operations.cancel/name": name "/spanner:v1/spanner.projects.instances.databases.operations.delete": delete_project_instance_database_operation @@ -37002,24 +36972,24 @@ "/spanner:v1/spanner.projects.instances.databases.operations.list/pageSize": page_size "/spanner:v1/spanner.projects.instances.databases.operations.get": get_project_instance_database_operation "/spanner:v1/spanner.projects.instances.databases.operations.get/name": name -"/spanner:v1/spanner.projects.instances.databases.sessions.streamingRead": streaming_project_instance_database_session_read -"/spanner:v1/spanner.projects.instances.databases.sessions.streamingRead/session": session "/spanner:v1/spanner.projects.instances.databases.sessions.rollback": rollback_session "/spanner:v1/spanner.projects.instances.databases.sessions.rollback/session": session +"/spanner:v1/spanner.projects.instances.databases.sessions.streamingRead": streaming_project_instance_database_session_read +"/spanner:v1/spanner.projects.instances.databases.sessions.streamingRead/session": session "/spanner:v1/spanner.projects.instances.databases.sessions.create": create_project_instance_database_session "/spanner:v1/spanner.projects.instances.databases.sessions.create/database": database "/spanner:v1/spanner.projects.instances.databases.sessions.read": read_session "/spanner:v1/spanner.projects.instances.databases.sessions.read/session": session "/spanner:v1/spanner.projects.instances.databases.sessions.get": get_project_instance_database_session "/spanner:v1/spanner.projects.instances.databases.sessions.get/name": name -"/spanner:v1/spanner.projects.instances.databases.sessions.delete": delete_project_instance_database_session -"/spanner:v1/spanner.projects.instances.databases.sessions.delete/name": name "/spanner:v1/spanner.projects.instances.databases.sessions.executeStreamingSql": execute_project_instance_database_session_streaming_sql "/spanner:v1/spanner.projects.instances.databases.sessions.executeStreamingSql/session": session -"/spanner:v1/spanner.projects.instances.databases.sessions.commit": commit_session -"/spanner:v1/spanner.projects.instances.databases.sessions.commit/session": session +"/spanner:v1/spanner.projects.instances.databases.sessions.delete": delete_project_instance_database_session +"/spanner:v1/spanner.projects.instances.databases.sessions.delete/name": name "/spanner:v1/spanner.projects.instances.databases.sessions.beginTransaction": begin_session_transaction "/spanner:v1/spanner.projects.instances.databases.sessions.beginTransaction/session": session +"/spanner:v1/spanner.projects.instances.databases.sessions.commit": commit_session +"/spanner:v1/spanner.projects.instances.databases.sessions.commit/session": session "/spanner:v1/spanner.projects.instances.databases.sessions.executeSql": execute_session_sql "/spanner:v1/spanner.projects.instances.databases.sessions.executeSql/session": session "/spanner:v1/spanner.projects.instances.operations.cancel": cancel_project_instance_operation @@ -37027,201 +36997,25 @@ "/spanner:v1/spanner.projects.instances.operations.delete": delete_project_instance_operation "/spanner:v1/spanner.projects.instances.operations.delete/name": name "/spanner:v1/spanner.projects.instances.operations.list": list_project_instance_operations +"/spanner:v1/spanner.projects.instances.operations.list/filter": filter "/spanner:v1/spanner.projects.instances.operations.list/name": name "/spanner:v1/spanner.projects.instances.operations.list/pageToken": page_token "/spanner:v1/spanner.projects.instances.operations.list/pageSize": page_size -"/spanner:v1/spanner.projects.instances.operations.list/filter": filter "/spanner:v1/spanner.projects.instances.operations.get": get_project_instance_operation "/spanner:v1/spanner.projects.instances.operations.get/name": name "/spanner:v1/spanner.projects.instanceConfigs.list": list_project_instance_configs -"/spanner:v1/spanner.projects.instanceConfigs.list/parent": parent "/spanner:v1/spanner.projects.instanceConfigs.list/pageToken": page_token "/spanner:v1/spanner.projects.instanceConfigs.list/pageSize": page_size +"/spanner:v1/spanner.projects.instanceConfigs.list/parent": parent "/spanner:v1/spanner.projects.instanceConfigs.get": get_project_instance_config "/spanner:v1/spanner.projects.instanceConfigs.get/name": name -"/spanner:v1/ListInstanceConfigsResponse": list_instance_configs_response -"/spanner:v1/ListInstanceConfigsResponse/nextPageToken": next_page_token -"/spanner:v1/ListInstanceConfigsResponse/instanceConfigs": instance_configs -"/spanner:v1/ListInstanceConfigsResponse/instanceConfigs/instance_config": instance_config -"/spanner:v1/BeginTransactionRequest": begin_transaction_request -"/spanner:v1/BeginTransactionRequest/options": options -"/spanner:v1/CommitRequest": commit_request -"/spanner:v1/CommitRequest/singleUseTransaction": single_use_transaction -"/spanner:v1/CommitRequest/mutations": mutations -"/spanner:v1/CommitRequest/mutations/mutation": mutation -"/spanner:v1/CommitRequest/transactionId": transaction_id -"/spanner:v1/GetIamPolicyRequest": get_iam_policy_request -"/spanner:v1/TestIamPermissionsResponse": test_iam_permissions_response -"/spanner:v1/TestIamPermissionsResponse/permissions": permissions -"/spanner:v1/TestIamPermissionsResponse/permissions/permission": permission -"/spanner:v1/CreateDatabaseMetadata": create_database_metadata -"/spanner:v1/CreateDatabaseMetadata/database": database -"/spanner:v1/Rule": rule -"/spanner:v1/Rule/description": description -"/spanner:v1/Rule/conditions": conditions -"/spanner:v1/Rule/conditions/condition": condition -"/spanner:v1/Rule/logConfig": log_config -"/spanner:v1/Rule/logConfig/log_config": log_config -"/spanner:v1/Rule/in": in -"/spanner:v1/Rule/in/in": in -"/spanner:v1/Rule/permissions": permissions -"/spanner:v1/Rule/permissions/permission": permission -"/spanner:v1/Rule/action": action -"/spanner:v1/Rule/notIn": not_in -"/spanner:v1/Rule/notIn/not_in": not_in -"/spanner:v1/LogConfig": log_config -"/spanner:v1/LogConfig/counter": counter -"/spanner:v1/LogConfig/dataAccess": data_access -"/spanner:v1/LogConfig/cloudAudit": cloud_audit -"/spanner:v1/Session": session -"/spanner:v1/Session/name": name -"/spanner:v1/ListInstancesResponse": list_instances_response -"/spanner:v1/ListInstancesResponse/nextPageToken": next_page_token -"/spanner:v1/ListInstancesResponse/instances": instances -"/spanner:v1/ListInstancesResponse/instances/instance": instance -"/spanner:v1/KeyRange": key_range -"/spanner:v1/KeyRange/endClosed": end_closed -"/spanner:v1/KeyRange/endClosed/end_closed": end_closed -"/spanner:v1/KeyRange/startClosed": start_closed -"/spanner:v1/KeyRange/startClosed/start_closed": start_closed -"/spanner:v1/KeyRange/startOpen": start_open -"/spanner:v1/KeyRange/startOpen/start_open": start_open -"/spanner:v1/KeyRange/endOpen": end_open -"/spanner:v1/KeyRange/endOpen/end_open": end_open -"/spanner:v1/ShortRepresentation": short_representation -"/spanner:v1/ShortRepresentation/description": description -"/spanner:v1/ShortRepresentation/subqueries": subqueries -"/spanner:v1/ShortRepresentation/subqueries/subquery": subquery -"/spanner:v1/InstanceConfig": instance_config -"/spanner:v1/InstanceConfig/name": name -"/spanner:v1/InstanceConfig/displayName": display_name -"/spanner:v1/UpdateInstanceRequest": update_instance_request -"/spanner:v1/UpdateInstanceRequest/instance": instance -"/spanner:v1/UpdateInstanceRequest/fieldMask": field_mask -"/spanner:v1/Empty": empty -"/spanner:v1/TransactionOptions": transaction_options -"/spanner:v1/TransactionOptions/readWrite": read_write -"/spanner:v1/TransactionOptions/readOnly": read_only -"/spanner:v1/CreateDatabaseRequest": create_database_request -"/spanner:v1/CreateDatabaseRequest/extraStatements": extra_statements -"/spanner:v1/CreateDatabaseRequest/extraStatements/extra_statement": extra_statement -"/spanner:v1/CreateDatabaseRequest/createStatement": create_statement -"/spanner:v1/CreateInstanceRequest": create_instance_request -"/spanner:v1/CreateInstanceRequest/instance": instance -"/spanner:v1/CreateInstanceRequest/instanceId": instance_id -"/spanner:v1/Condition": condition -"/spanner:v1/Condition/svc": svc -"/spanner:v1/Condition/value": value -"/spanner:v1/Condition/sys": sys -"/spanner:v1/Condition/values": values -"/spanner:v1/Condition/values/value": value -"/spanner:v1/Condition/iam": iam -"/spanner:v1/Condition/op": op -"/spanner:v1/AuditLogConfig": audit_log_config -"/spanner:v1/AuditLogConfig/exemptedMembers": exempted_members -"/spanner:v1/AuditLogConfig/exemptedMembers/exempted_member": exempted_member -"/spanner:v1/AuditLogConfig/logType": log_type -"/spanner:v1/ReadOnly": read_only -"/spanner:v1/ReadOnly/minReadTimestamp": min_read_timestamp -"/spanner:v1/ReadOnly/maxStaleness": max_staleness -"/spanner:v1/ReadOnly/readTimestamp": read_timestamp -"/spanner:v1/ReadOnly/returnReadTimestamp": return_read_timestamp -"/spanner:v1/ReadOnly/exactStaleness": exact_staleness -"/spanner:v1/ReadOnly/strong": strong -"/spanner:v1/ExecuteSqlRequest": execute_sql_request -"/spanner:v1/ExecuteSqlRequest/queryMode": query_mode -"/spanner:v1/ExecuteSqlRequest/transaction": transaction -"/spanner:v1/ExecuteSqlRequest/resumeToken": resume_token -"/spanner:v1/ExecuteSqlRequest/paramTypes": param_types -"/spanner:v1/ExecuteSqlRequest/paramTypes/param_type": param_type -"/spanner:v1/ExecuteSqlRequest/sql": sql -"/spanner:v1/ExecuteSqlRequest/params": params -"/spanner:v1/ExecuteSqlRequest/params/param": param -"/spanner:v1/Policy": policy -"/spanner:v1/Policy/version": version -"/spanner:v1/Policy/auditConfigs": audit_configs -"/spanner:v1/Policy/auditConfigs/audit_config": audit_config -"/spanner:v1/Policy/bindings": bindings -"/spanner:v1/Policy/bindings/binding": binding -"/spanner:v1/Policy/etag": etag -"/spanner:v1/Policy/iamOwned": iam_owned -"/spanner:v1/Policy/rules": rules -"/spanner:v1/Policy/rules/rule": rule -"/spanner:v1/ReadRequest": read_request -"/spanner:v1/ReadRequest/transaction": transaction -"/spanner:v1/ReadRequest/resumeToken": resume_token -"/spanner:v1/ReadRequest/table": table -"/spanner:v1/ReadRequest/limit": limit -"/spanner:v1/ReadRequest/index": index -"/spanner:v1/ReadRequest/keySet": key_set -"/spanner:v1/ReadRequest/columns": columns -"/spanner:v1/ReadRequest/columns/column": column -"/spanner:v1/Write": write -"/spanner:v1/Write/table": table -"/spanner:v1/Write/columns": columns -"/spanner:v1/Write/columns/column": column -"/spanner:v1/Write/values": values -"/spanner:v1/Write/values/value": value -"/spanner:v1/Write/values/value/value": value -"/spanner:v1/ReadWrite": read_write -"/spanner:v1/DataAccessOptions": data_access_options -"/spanner:v1/Operation": operation -"/spanner:v1/Operation/response": response -"/spanner:v1/Operation/response/response": response -"/spanner:v1/Operation/name": name -"/spanner:v1/Operation/error": error -"/spanner:v1/Operation/metadata": metadata -"/spanner:v1/Operation/metadata/metadatum": metadatum -"/spanner:v1/Operation/done": done -"/spanner:v1/ResultSet": result_set -"/spanner:v1/ResultSet/rows": rows -"/spanner:v1/ResultSet/rows/row": row -"/spanner:v1/ResultSet/rows/row/row": row -"/spanner:v1/ResultSet/metadata": metadata -"/spanner:v1/ResultSet/stats": stats -"/spanner:v1/Status": status -"/spanner:v1/Status/details": details -"/spanner:v1/Status/details/detail": detail -"/spanner:v1/Status/details/detail/detail": detail -"/spanner:v1/Status/code": code -"/spanner:v1/Status/message": message -"/spanner:v1/Binding": binding -"/spanner:v1/Binding/members": members -"/spanner:v1/Binding/members/member": member -"/spanner:v1/Binding/role": role -"/spanner:v1/UpdateDatabaseDdlRequest": update_database_ddl_request -"/spanner:v1/UpdateDatabaseDdlRequest/statements": statements -"/spanner:v1/UpdateDatabaseDdlRequest/statements/statement": statement -"/spanner:v1/UpdateDatabaseDdlRequest/operationId": operation_id -"/spanner:v1/PartialResultSet": partial_result_set -"/spanner:v1/PartialResultSet/resumeToken": resume_token -"/spanner:v1/PartialResultSet/stats": stats -"/spanner:v1/PartialResultSet/chunkedValue": chunked_value -"/spanner:v1/PartialResultSet/metadata": metadata -"/spanner:v1/PartialResultSet/values": values -"/spanner:v1/PartialResultSet/values/value": value -"/spanner:v1/UpdateInstanceMetadata": update_instance_metadata -"/spanner:v1/UpdateInstanceMetadata/instance": instance -"/spanner:v1/UpdateInstanceMetadata/startTime": start_time -"/spanner:v1/UpdateInstanceMetadata/cancelTime": cancel_time -"/spanner:v1/UpdateInstanceMetadata/endTime": end_time -"/spanner:v1/ListOperationsResponse": list_operations_response -"/spanner:v1/ListOperationsResponse/nextPageToken": next_page_token -"/spanner:v1/ListOperationsResponse/operations": operations -"/spanner:v1/ListOperationsResponse/operations/operation": operation "/spanner:v1/ResultSetMetadata": result_set_metadata -"/spanner:v1/ResultSetMetadata/transaction": transaction "/spanner:v1/ResultSetMetadata/rowType": row_type +"/spanner:v1/ResultSetMetadata/transaction": transaction "/spanner:v1/TransactionSelector": transaction_selector -"/spanner:v1/TransactionSelector/id": id "/spanner:v1/TransactionSelector/singleUse": single_use "/spanner:v1/TransactionSelector/begin": begin -"/spanner:v1/Mutation": mutation -"/spanner:v1/Mutation/delete": delete -"/spanner:v1/Mutation/insert": insert -"/spanner:v1/Mutation/insertOrUpdate": insert_or_update -"/spanner:v1/Mutation/update": update -"/spanner:v1/Mutation/replace": replace +"/spanner:v1/TransactionSelector/id": id "/spanner:v1/KeySet": key_set "/spanner:v1/KeySet/ranges": ranges "/spanner:v1/KeySet/ranges/range": range @@ -37229,57 +37023,63 @@ "/spanner:v1/KeySet/keys/key": key "/spanner:v1/KeySet/keys/key/key": key "/spanner:v1/KeySet/all": all +"/spanner:v1/Mutation": mutation +"/spanner:v1/Mutation/update": update +"/spanner:v1/Mutation/replace": replace +"/spanner:v1/Mutation/delete": delete +"/spanner:v1/Mutation/insert": insert +"/spanner:v1/Mutation/insertOrUpdate": insert_or_update "/spanner:v1/GetDatabaseDdlResponse": get_database_ddl_response "/spanner:v1/GetDatabaseDdlResponse/statements": statements "/spanner:v1/GetDatabaseDdlResponse/statements/statement": statement "/spanner:v1/Database": database "/spanner:v1/Database/state": state "/spanner:v1/Database/name": name -"/spanner:v1/ListDatabasesResponse": list_databases_response -"/spanner:v1/ListDatabasesResponse/nextPageToken": next_page_token -"/spanner:v1/ListDatabasesResponse/databases": databases -"/spanner:v1/ListDatabasesResponse/databases/database": database -"/spanner:v1/SetIamPolicyRequest": set_iam_policy_request -"/spanner:v1/SetIamPolicyRequest/policy": policy -"/spanner:v1/SetIamPolicyRequest/updateMask": update_mask "/spanner:v1/Instance": instance -"/spanner:v1/Instance/nodeCount": node_count -"/spanner:v1/Instance/labels": labels -"/spanner:v1/Instance/labels/label": label "/spanner:v1/Instance/config": config "/spanner:v1/Instance/state": state "/spanner:v1/Instance/name": name "/spanner:v1/Instance/displayName": display_name +"/spanner:v1/Instance/nodeCount": node_count +"/spanner:v1/Instance/labels": labels +"/spanner:v1/Instance/labels/label": label +"/spanner:v1/SetIamPolicyRequest": set_iam_policy_request +"/spanner:v1/SetIamPolicyRequest/policy": policy +"/spanner:v1/SetIamPolicyRequest/updateMask": update_mask +"/spanner:v1/ListDatabasesResponse": list_databases_response +"/spanner:v1/ListDatabasesResponse/nextPageToken": next_page_token +"/spanner:v1/ListDatabasesResponse/databases": databases +"/spanner:v1/ListDatabasesResponse/databases/database": database "/spanner:v1/RollbackRequest": rollback_request "/spanner:v1/RollbackRequest/transactionId": transaction_id "/spanner:v1/Transaction": transaction "/spanner:v1/Transaction/readTimestamp": read_timestamp "/spanner:v1/Transaction/id": id "/spanner:v1/UpdateDatabaseDdlMetadata": update_database_ddl_metadata -"/spanner:v1/UpdateDatabaseDdlMetadata/database": database "/spanner:v1/UpdateDatabaseDdlMetadata/statements": statements "/spanner:v1/UpdateDatabaseDdlMetadata/statements/statement": statement "/spanner:v1/UpdateDatabaseDdlMetadata/commitTimestamps": commit_timestamps "/spanner:v1/UpdateDatabaseDdlMetadata/commitTimestamps/commit_timestamp": commit_timestamp +"/spanner:v1/UpdateDatabaseDdlMetadata/database": database "/spanner:v1/CounterOptions": counter_options "/spanner:v1/CounterOptions/metric": metric "/spanner:v1/CounterOptions/field": field -"/spanner:v1/QueryPlan": query_plan -"/spanner:v1/QueryPlan/planNodes": plan_nodes -"/spanner:v1/QueryPlan/planNodes/plan_node": plan_node "/spanner:v1/StructType": struct_type "/spanner:v1/StructType/fields": fields "/spanner:v1/StructType/fields/field": field +"/spanner:v1/QueryPlan": query_plan +"/spanner:v1/QueryPlan/planNodes": plan_nodes +"/spanner:v1/QueryPlan/planNodes/plan_node": plan_node "/spanner:v1/Field": field "/spanner:v1/Field/name": name "/spanner:v1/Field/type": type -"/spanner:v1/TestIamPermissionsRequest": test_iam_permissions_request -"/spanner:v1/TestIamPermissionsRequest/permissions": permissions -"/spanner:v1/TestIamPermissionsRequest/permissions/permission": permission "/spanner:v1/ResultSetStats": result_set_stats "/spanner:v1/ResultSetStats/queryPlan": query_plan "/spanner:v1/ResultSetStats/queryStats": query_stats "/spanner:v1/ResultSetStats/queryStats/query_stat": query_stat +"/spanner:v1/TestIamPermissionsRequest": test_iam_permissions_request +"/spanner:v1/TestIamPermissionsRequest/permissions": permissions +"/spanner:v1/TestIamPermissionsRequest/permissions/permission": permission "/spanner:v1/CommitResponse": commit_response "/spanner:v1/CommitResponse/commitTimestamp": commit_timestamp "/spanner:v1/Type": type @@ -37297,25 +37097,195 @@ "/spanner:v1/PlanNode/kind": kind "/spanner:v1/PlanNode/childLinks": child_links "/spanner:v1/PlanNode/childLinks/child_link": child_link +"/spanner:v1/CreateInstanceMetadata": create_instance_metadata +"/spanner:v1/CreateInstanceMetadata/cancelTime": cancel_time +"/spanner:v1/CreateInstanceMetadata/endTime": end_time +"/spanner:v1/CreateInstanceMetadata/instance": instance +"/spanner:v1/CreateInstanceMetadata/startTime": start_time "/spanner:v1/AuditConfig": audit_config "/spanner:v1/AuditConfig/exemptedMembers": exempted_members "/spanner:v1/AuditConfig/exemptedMembers/exempted_member": exempted_member "/spanner:v1/AuditConfig/service": service "/spanner:v1/AuditConfig/auditLogConfigs": audit_log_configs "/spanner:v1/AuditConfig/auditLogConfigs/audit_log_config": audit_log_config -"/spanner:v1/CreateInstanceMetadata": create_instance_metadata -"/spanner:v1/CreateInstanceMetadata/cancelTime": cancel_time -"/spanner:v1/CreateInstanceMetadata/endTime": end_time -"/spanner:v1/CreateInstanceMetadata/instance": instance -"/spanner:v1/CreateInstanceMetadata/startTime": start_time "/spanner:v1/ChildLink": child_link +"/spanner:v1/ChildLink/type": type "/spanner:v1/ChildLink/childIndex": child_index "/spanner:v1/ChildLink/variable": variable -"/spanner:v1/ChildLink/type": type "/spanner:v1/CloudAuditOptions": cloud_audit_options "/spanner:v1/Delete": delete "/spanner:v1/Delete/table": table "/spanner:v1/Delete/keySet": key_set +"/spanner:v1/CommitRequest": commit_request +"/spanner:v1/CommitRequest/singleUseTransaction": single_use_transaction +"/spanner:v1/CommitRequest/mutations": mutations +"/spanner:v1/CommitRequest/mutations/mutation": mutation +"/spanner:v1/CommitRequest/transactionId": transaction_id +"/spanner:v1/BeginTransactionRequest": begin_transaction_request +"/spanner:v1/BeginTransactionRequest/options": options +"/spanner:v1/ListInstanceConfigsResponse": list_instance_configs_response +"/spanner:v1/ListInstanceConfigsResponse/nextPageToken": next_page_token +"/spanner:v1/ListInstanceConfigsResponse/instanceConfigs": instance_configs +"/spanner:v1/ListInstanceConfigsResponse/instanceConfigs/instance_config": instance_config +"/spanner:v1/GetIamPolicyRequest": get_iam_policy_request +"/spanner:v1/TestIamPermissionsResponse": test_iam_permissions_response +"/spanner:v1/TestIamPermissionsResponse/permissions": permissions +"/spanner:v1/TestIamPermissionsResponse/permissions/permission": permission +"/spanner:v1/Rule": rule +"/spanner:v1/Rule/logConfig": log_config +"/spanner:v1/Rule/logConfig/log_config": log_config +"/spanner:v1/Rule/in": in +"/spanner:v1/Rule/in/in": in +"/spanner:v1/Rule/permissions": permissions +"/spanner:v1/Rule/permissions/permission": permission +"/spanner:v1/Rule/action": action +"/spanner:v1/Rule/notIn": not_in +"/spanner:v1/Rule/notIn/not_in": not_in +"/spanner:v1/Rule/description": description +"/spanner:v1/Rule/conditions": conditions +"/spanner:v1/Rule/conditions/condition": condition +"/spanner:v1/CreateDatabaseMetadata": create_database_metadata +"/spanner:v1/CreateDatabaseMetadata/database": database +"/spanner:v1/LogConfig": log_config +"/spanner:v1/LogConfig/cloudAudit": cloud_audit +"/spanner:v1/LogConfig/counter": counter +"/spanner:v1/LogConfig/dataAccess": data_access +"/spanner:v1/Session": session +"/spanner:v1/Session/name": name +"/spanner:v1/KeyRange": key_range +"/spanner:v1/KeyRange/startClosed": start_closed +"/spanner:v1/KeyRange/startClosed/start_closed": start_closed +"/spanner:v1/KeyRange/startOpen": start_open +"/spanner:v1/KeyRange/startOpen/start_open": start_open +"/spanner:v1/KeyRange/endOpen": end_open +"/spanner:v1/KeyRange/endOpen/end_open": end_open +"/spanner:v1/KeyRange/endClosed": end_closed +"/spanner:v1/KeyRange/endClosed/end_closed": end_closed +"/spanner:v1/ListInstancesResponse": list_instances_response +"/spanner:v1/ListInstancesResponse/nextPageToken": next_page_token +"/spanner:v1/ListInstancesResponse/instances": instances +"/spanner:v1/ListInstancesResponse/instances/instance": instance +"/spanner:v1/ShortRepresentation": short_representation +"/spanner:v1/ShortRepresentation/description": description +"/spanner:v1/ShortRepresentation/subqueries": subqueries +"/spanner:v1/ShortRepresentation/subqueries/subquery": subquery +"/spanner:v1/InstanceConfig": instance_config +"/spanner:v1/InstanceConfig/name": name +"/spanner:v1/InstanceConfig/displayName": display_name +"/spanner:v1/UpdateInstanceRequest": update_instance_request +"/spanner:v1/UpdateInstanceRequest/instance": instance +"/spanner:v1/UpdateInstanceRequest/fieldMask": field_mask +"/spanner:v1/Empty": empty +"/spanner:v1/TransactionOptions": transaction_options +"/spanner:v1/TransactionOptions/readWrite": read_write +"/spanner:v1/TransactionOptions/readOnly": read_only +"/spanner:v1/CreateDatabaseRequest": create_database_request +"/spanner:v1/CreateDatabaseRequest/createStatement": create_statement +"/spanner:v1/CreateDatabaseRequest/extraStatements": extra_statements +"/spanner:v1/CreateDatabaseRequest/extraStatements/extra_statement": extra_statement +"/spanner:v1/CreateInstanceRequest": create_instance_request +"/spanner:v1/CreateInstanceRequest/instanceId": instance_id +"/spanner:v1/CreateInstanceRequest/instance": instance +"/spanner:v1/Condition": condition +"/spanner:v1/Condition/values": values +"/spanner:v1/Condition/values/value": value +"/spanner:v1/Condition/iam": iam +"/spanner:v1/Condition/op": op +"/spanner:v1/Condition/svc": svc +"/spanner:v1/Condition/sys": sys +"/spanner:v1/Condition/value": value +"/spanner:v1/AuditLogConfig": audit_log_config +"/spanner:v1/AuditLogConfig/exemptedMembers": exempted_members +"/spanner:v1/AuditLogConfig/exemptedMembers/exempted_member": exempted_member +"/spanner:v1/AuditLogConfig/logType": log_type +"/spanner:v1/ReadOnly": read_only +"/spanner:v1/ReadOnly/maxStaleness": max_staleness +"/spanner:v1/ReadOnly/readTimestamp": read_timestamp +"/spanner:v1/ReadOnly/returnReadTimestamp": return_read_timestamp +"/spanner:v1/ReadOnly/exactStaleness": exact_staleness +"/spanner:v1/ReadOnly/strong": strong +"/spanner:v1/ReadOnly/minReadTimestamp": min_read_timestamp +"/spanner:v1/ExecuteSqlRequest": execute_sql_request +"/spanner:v1/ExecuteSqlRequest/queryMode": query_mode +"/spanner:v1/ExecuteSqlRequest/transaction": transaction +"/spanner:v1/ExecuteSqlRequest/resumeToken": resume_token +"/spanner:v1/ExecuteSqlRequest/paramTypes": param_types +"/spanner:v1/ExecuteSqlRequest/paramTypes/param_type": param_type +"/spanner:v1/ExecuteSqlRequest/sql": sql +"/spanner:v1/ExecuteSqlRequest/params": params +"/spanner:v1/ExecuteSqlRequest/params/param": param +"/spanner:v1/Policy": policy +"/spanner:v1/Policy/iamOwned": iam_owned +"/spanner:v1/Policy/rules": rules +"/spanner:v1/Policy/rules/rule": rule +"/spanner:v1/Policy/version": version +"/spanner:v1/Policy/auditConfigs": audit_configs +"/spanner:v1/Policy/auditConfigs/audit_config": audit_config +"/spanner:v1/Policy/bindings": bindings +"/spanner:v1/Policy/bindings/binding": binding +"/spanner:v1/Policy/etag": etag +"/spanner:v1/ReadRequest": read_request +"/spanner:v1/ReadRequest/index": index +"/spanner:v1/ReadRequest/keySet": key_set +"/spanner:v1/ReadRequest/columns": columns +"/spanner:v1/ReadRequest/columns/column": column +"/spanner:v1/ReadRequest/transaction": transaction +"/spanner:v1/ReadRequest/resumeToken": resume_token +"/spanner:v1/ReadRequest/table": table +"/spanner:v1/ReadRequest/limit": limit +"/spanner:v1/Write": write +"/spanner:v1/Write/columns": columns +"/spanner:v1/Write/columns/column": column +"/spanner:v1/Write/values": values +"/spanner:v1/Write/values/value": value +"/spanner:v1/Write/values/value/value": value +"/spanner:v1/Write/table": table +"/spanner:v1/DataAccessOptions": data_access_options +"/spanner:v1/ReadWrite": read_write +"/spanner:v1/Operation": operation +"/spanner:v1/Operation/response": response +"/spanner:v1/Operation/response/response": response +"/spanner:v1/Operation/name": name +"/spanner:v1/Operation/error": error +"/spanner:v1/Operation/metadata": metadata +"/spanner:v1/Operation/metadata/metadatum": metadatum +"/spanner:v1/Operation/done": done +"/spanner:v1/Status": status +"/spanner:v1/Status/message": message +"/spanner:v1/Status/details": details +"/spanner:v1/Status/details/detail": detail +"/spanner:v1/Status/details/detail/detail": detail +"/spanner:v1/Status/code": code +"/spanner:v1/ResultSet": result_set +"/spanner:v1/ResultSet/stats": stats +"/spanner:v1/ResultSet/rows": rows +"/spanner:v1/ResultSet/rows/row": row +"/spanner:v1/ResultSet/rows/row/row": row +"/spanner:v1/ResultSet/metadata": metadata +"/spanner:v1/UpdateDatabaseDdlRequest": update_database_ddl_request +"/spanner:v1/UpdateDatabaseDdlRequest/statements": statements +"/spanner:v1/UpdateDatabaseDdlRequest/statements/statement": statement +"/spanner:v1/UpdateDatabaseDdlRequest/operationId": operation_id +"/spanner:v1/Binding": binding +"/spanner:v1/Binding/members": members +"/spanner:v1/Binding/members/member": member +"/spanner:v1/Binding/role": role +"/spanner:v1/PartialResultSet": partial_result_set +"/spanner:v1/PartialResultSet/chunkedValue": chunked_value +"/spanner:v1/PartialResultSet/metadata": metadata +"/spanner:v1/PartialResultSet/values": values +"/spanner:v1/PartialResultSet/values/value": value +"/spanner:v1/PartialResultSet/resumeToken": resume_token +"/spanner:v1/PartialResultSet/stats": stats +"/spanner:v1/UpdateInstanceMetadata": update_instance_metadata +"/spanner:v1/UpdateInstanceMetadata/cancelTime": cancel_time +"/spanner:v1/UpdateInstanceMetadata/endTime": end_time +"/spanner:v1/UpdateInstanceMetadata/instance": instance +"/spanner:v1/UpdateInstanceMetadata/startTime": start_time +"/spanner:v1/ListOperationsResponse": list_operations_response +"/spanner:v1/ListOperationsResponse/nextPageToken": next_page_token +"/spanner:v1/ListOperationsResponse/operations": operations +"/spanner:v1/ListOperationsResponse/operations/operation": operation "/speech:v1beta1/fields": fields "/speech:v1beta1/key": key "/speech:v1beta1/quotaUser": quota_user @@ -37330,6 +37300,21 @@ "/speech:v1beta1/speech.operations.list/filter": filter "/speech:v1beta1/speech.operations.get": get_operation "/speech:v1beta1/speech.operations.get/name": name +"/speech:v1beta1/Operation": operation +"/speech:v1beta1/Operation/response": response +"/speech:v1beta1/Operation/response/response": response +"/speech:v1beta1/Operation/name": name +"/speech:v1beta1/Operation/error": error +"/speech:v1beta1/Operation/metadata": metadata +"/speech:v1beta1/Operation/metadata/metadatum": metadatum +"/speech:v1beta1/Operation/done": done +"/speech:v1beta1/RecognitionConfig": recognition_config +"/speech:v1beta1/RecognitionConfig/maxAlternatives": max_alternatives +"/speech:v1beta1/RecognitionConfig/sampleRate": sample_rate +"/speech:v1beta1/RecognitionConfig/languageCode": language_code +"/speech:v1beta1/RecognitionConfig/speechContext": speech_context +"/speech:v1beta1/RecognitionConfig/encoding": encoding +"/speech:v1beta1/RecognitionConfig/profanityFilter": profanity_filter "/speech:v1beta1/SyncRecognizeRequest": sync_recognize_request "/speech:v1beta1/SyncRecognizeRequest/config": config "/speech:v1beta1/SyncRecognizeRequest/audio": audio @@ -37337,11 +37322,11 @@ "/speech:v1beta1/SyncRecognizeResponse/results": results "/speech:v1beta1/SyncRecognizeResponse/results/result": result "/speech:v1beta1/Status": status +"/speech:v1beta1/Status/message": message "/speech:v1beta1/Status/details": details "/speech:v1beta1/Status/details/detail": detail "/speech:v1beta1/Status/details/detail/detail": detail "/speech:v1beta1/Status/code": code -"/speech:v1beta1/Status/message": message "/speech:v1beta1/Empty": empty "/speech:v1beta1/ListOperationsResponse": list_operations_response "/speech:v1beta1/ListOperationsResponse/nextPageToken": next_page_token @@ -37356,27 +37341,12 @@ "/speech:v1beta1/SpeechRecognitionResult": speech_recognition_result "/speech:v1beta1/SpeechRecognitionResult/alternatives": alternatives "/speech:v1beta1/SpeechRecognitionResult/alternatives/alternative": alternative +"/speech:v1beta1/RecognitionAudio": recognition_audio +"/speech:v1beta1/RecognitionAudio/uri": uri +"/speech:v1beta1/RecognitionAudio/content": content "/speech:v1beta1/AsyncRecognizeRequest": async_recognize_request "/speech:v1beta1/AsyncRecognizeRequest/config": config "/speech:v1beta1/AsyncRecognizeRequest/audio": audio -"/speech:v1beta1/RecognitionAudio": recognition_audio -"/speech:v1beta1/RecognitionAudio/content": content -"/speech:v1beta1/RecognitionAudio/uri": uri -"/speech:v1beta1/Operation": operation -"/speech:v1beta1/Operation/metadata": metadata -"/speech:v1beta1/Operation/metadata/metadatum": metadatum -"/speech:v1beta1/Operation/done": done -"/speech:v1beta1/Operation/response": response -"/speech:v1beta1/Operation/response/response": response -"/speech:v1beta1/Operation/name": name -"/speech:v1beta1/Operation/error": error -"/speech:v1beta1/RecognitionConfig": recognition_config -"/speech:v1beta1/RecognitionConfig/maxAlternatives": max_alternatives -"/speech:v1beta1/RecognitionConfig/languageCode": language_code -"/speech:v1beta1/RecognitionConfig/sampleRate": sample_rate -"/speech:v1beta1/RecognitionConfig/encoding": encoding -"/speech:v1beta1/RecognitionConfig/profanityFilter": profanity_filter -"/speech:v1beta1/RecognitionConfig/speechContext": speech_context "/sqladmin:v1beta4/fields": fields "/sqladmin:v1beta4/key": key "/sqladmin:v1beta4/quotaUser": quota_user @@ -38218,9 +38188,11 @@ "/storage:v1/TestIamPermissionsResponse/kind": kind "/storage:v1/TestIamPermissionsResponse/permissions": permissions "/storage:v1/TestIamPermissionsResponse/permissions/permission": permission +"/storagetransfer:v1/fields": fields "/storagetransfer:v1/key": key "/storagetransfer:v1/quotaUser": quota_user -"/storagetransfer:v1/fields": fields +"/storagetransfer:v1/storagetransfer.googleServiceAccounts.get": get_google_service_account +"/storagetransfer:v1/storagetransfer.googleServiceAccounts.get/projectId": project_id "/storagetransfer:v1/storagetransfer.transferJobs.patch": patch_transfer_job "/storagetransfer:v1/storagetransfer.transferJobs.patch/jobName": job_name "/storagetransfer:v1/storagetransfer.transferJobs.get": get_transfer_job @@ -38231,6 +38203,13 @@ "/storagetransfer:v1/storagetransfer.transferJobs.list/pageToken": page_token "/storagetransfer:v1/storagetransfer.transferJobs.list/pageSize": page_size "/storagetransfer:v1/storagetransfer.transferJobs.create": create_transfer_job +"/storagetransfer:v1/storagetransfer.transferOperations.delete": delete_transfer_operation +"/storagetransfer:v1/storagetransfer.transferOperations.delete/name": name +"/storagetransfer:v1/storagetransfer.transferOperations.list": list_transfer_operations +"/storagetransfer:v1/storagetransfer.transferOperations.list/filter": filter +"/storagetransfer:v1/storagetransfer.transferOperations.list/name": name +"/storagetransfer:v1/storagetransfer.transferOperations.list/pageToken": page_token +"/storagetransfer:v1/storagetransfer.transferOperations.list/pageSize": page_size "/storagetransfer:v1/storagetransfer.transferOperations.resume": resume_transfer_operation "/storagetransfer:v1/storagetransfer.transferOperations.resume/name": name "/storagetransfer:v1/storagetransfer.transferOperations.cancel": cancel_transfer_operation @@ -38239,20 +38218,24 @@ "/storagetransfer:v1/storagetransfer.transferOperations.get/name": name "/storagetransfer:v1/storagetransfer.transferOperations.pause": pause_transfer_operation "/storagetransfer:v1/storagetransfer.transferOperations.pause/name": name -"/storagetransfer:v1/storagetransfer.transferOperations.delete": delete_transfer_operation -"/storagetransfer:v1/storagetransfer.transferOperations.delete/name": name -"/storagetransfer:v1/storagetransfer.transferOperations.list": list_transfer_operations -"/storagetransfer:v1/storagetransfer.transferOperations.list/filter": filter -"/storagetransfer:v1/storagetransfer.transferOperations.list/name": name -"/storagetransfer:v1/storagetransfer.transferOperations.list/pageToken": page_token -"/storagetransfer:v1/storagetransfer.transferOperations.list/pageSize": page_size -"/storagetransfer:v1/storagetransfer.googleServiceAccounts.get": get_google_service_account -"/storagetransfer:v1/storagetransfer.googleServiceAccounts.get/projectId": project_id +"/storagetransfer:v1/ListOperationsResponse": list_operations_response +"/storagetransfer:v1/ListOperationsResponse/nextPageToken": next_page_token +"/storagetransfer:v1/ListOperationsResponse/operations": operations +"/storagetransfer:v1/ListOperationsResponse/operations/operation": operation +"/storagetransfer:v1/GoogleServiceAccount": google_service_account +"/storagetransfer:v1/GoogleServiceAccount/accountEmail": account_email +"/storagetransfer:v1/TimeOfDay": time_of_day +"/storagetransfer:v1/TimeOfDay/minutes": minutes +"/storagetransfer:v1/TimeOfDay/hours": hours +"/storagetransfer:v1/TimeOfDay/nanos": nanos +"/storagetransfer:v1/TimeOfDay/seconds": seconds "/storagetransfer:v1/ErrorLogEntry": error_log_entry "/storagetransfer:v1/ErrorLogEntry/url": url "/storagetransfer:v1/ErrorLogEntry/errorDetails": error_details "/storagetransfer:v1/ErrorLogEntry/errorDetails/error_detail": error_detail "/storagetransfer:v1/TransferJob": transfer_job +"/storagetransfer:v1/TransferJob/creationTime": creation_time +"/storagetransfer:v1/TransferJob/transferSpec": transfer_spec "/storagetransfer:v1/TransferJob/status": status "/storagetransfer:v1/TransferJob/schedule": schedule "/storagetransfer:v1/TransferJob/name": name @@ -38260,8 +38243,6 @@ "/storagetransfer:v1/TransferJob/projectId": project_id "/storagetransfer:v1/TransferJob/lastModificationTime": last_modification_time "/storagetransfer:v1/TransferJob/description": description -"/storagetransfer:v1/TransferJob/creationTime": creation_time -"/storagetransfer:v1/TransferJob/transferSpec": transfer_spec "/storagetransfer:v1/Schedule": schedule "/storagetransfer:v1/Schedule/scheduleEndDate": schedule_end_date "/storagetransfer:v1/Schedule/startTimeOfDay": start_time_of_day @@ -38271,30 +38252,32 @@ "/storagetransfer:v1/Date/day": day "/storagetransfer:v1/Date/month": month "/storagetransfer:v1/TransferOperation": transfer_operation +"/storagetransfer:v1/TransferOperation/startTime": start_time "/storagetransfer:v1/TransferOperation/transferJobName": transfer_job_name "/storagetransfer:v1/TransferOperation/transferSpec": transfer_spec -"/storagetransfer:v1/TransferOperation/status": status "/storagetransfer:v1/TransferOperation/counters": counters +"/storagetransfer:v1/TransferOperation/status": status "/storagetransfer:v1/TransferOperation/errorBreakdowns": error_breakdowns "/storagetransfer:v1/TransferOperation/errorBreakdowns/error_breakdown": error_breakdown "/storagetransfer:v1/TransferOperation/name": name "/storagetransfer:v1/TransferOperation/projectId": project_id "/storagetransfer:v1/TransferOperation/endTime": end_time -"/storagetransfer:v1/TransferOperation/startTime": start_time "/storagetransfer:v1/AwsS3Data": aws_s3_data -"/storagetransfer:v1/AwsS3Data/awsAccessKey": aws_access_key "/storagetransfer:v1/AwsS3Data/bucketName": bucket_name +"/storagetransfer:v1/AwsS3Data/awsAccessKey": aws_access_key +"/storagetransfer:v1/Empty": empty "/storagetransfer:v1/AwsAccessKey": aws_access_key "/storagetransfer:v1/AwsAccessKey/accessKeyId": access_key_id "/storagetransfer:v1/AwsAccessKey/secretAccessKey": secret_access_key -"/storagetransfer:v1/Empty": empty "/storagetransfer:v1/PauseTransferOperationRequest": pause_transfer_operation_request "/storagetransfer:v1/TransferCounters": transfer_counters -"/storagetransfer:v1/TransferCounters/bytesDeletedFromSource": bytes_deleted_from_source +"/storagetransfer:v1/TransferCounters/objectsFromSourceSkippedBySync": objects_from_source_skipped_by_sync +"/storagetransfer:v1/TransferCounters/bytesFoundFromSource": bytes_found_from_source "/storagetransfer:v1/TransferCounters/objectsFoundFromSource": objects_found_from_source +"/storagetransfer:v1/TransferCounters/bytesDeletedFromSource": bytes_deleted_from_source "/storagetransfer:v1/TransferCounters/objectsFailedToDeleteFromSink": objects_failed_to_delete_from_sink -"/storagetransfer:v1/TransferCounters/objectsDeletedFromSink": objects_deleted_from_sink "/storagetransfer:v1/TransferCounters/objectsFoundOnlyFromSink": objects_found_only_from_sink +"/storagetransfer:v1/TransferCounters/objectsDeletedFromSink": objects_deleted_from_sink "/storagetransfer:v1/TransferCounters/bytesFromSourceSkippedBySync": bytes_from_source_skipped_by_sync "/storagetransfer:v1/TransferCounters/bytesDeletedFromSink": bytes_deleted_from_sink "/storagetransfer:v1/TransferCounters/bytesFailedToDeleteFromSink": bytes_failed_to_delete_from_sink @@ -38304,8 +38287,6 @@ "/storagetransfer:v1/TransferCounters/bytesFoundOnlyFromSink": bytes_found_only_from_sink "/storagetransfer:v1/TransferCounters/objectsDeletedFromSource": objects_deleted_from_source "/storagetransfer:v1/TransferCounters/bytesCopiedToSink": bytes_copied_to_sink -"/storagetransfer:v1/TransferCounters/bytesFoundFromSource": bytes_found_from_source -"/storagetransfer:v1/TransferCounters/objectsFromSourceSkippedBySync": objects_from_source_skipped_by_sync "/storagetransfer:v1/ErrorSummary": error_summary "/storagetransfer:v1/ErrorSummary/errorCode": error_code "/storagetransfer:v1/ErrorSummary/errorCount": error_count @@ -38324,49 +38305,38 @@ "/storagetransfer:v1/UpdateTransferJobRequest/projectId": project_id "/storagetransfer:v1/UpdateTransferJobRequest/updateTransferJobFieldMask": update_transfer_job_field_mask "/storagetransfer:v1/ObjectConditions": object_conditions -"/storagetransfer:v1/ObjectConditions/maxTimeElapsedSinceLastModification": max_time_elapsed_since_last_modification "/storagetransfer:v1/ObjectConditions/includePrefixes": include_prefixes "/storagetransfer:v1/ObjectConditions/includePrefixes/include_prefix": include_prefix "/storagetransfer:v1/ObjectConditions/minTimeElapsedSinceLastModification": min_time_elapsed_since_last_modification "/storagetransfer:v1/ObjectConditions/excludePrefixes": exclude_prefixes "/storagetransfer:v1/ObjectConditions/excludePrefixes/exclude_prefix": exclude_prefix +"/storagetransfer:v1/ObjectConditions/maxTimeElapsedSinceLastModification": max_time_elapsed_since_last_modification "/storagetransfer:v1/Operation": operation -"/storagetransfer:v1/Operation/done": done "/storagetransfer:v1/Operation/response": response "/storagetransfer:v1/Operation/response/response": response "/storagetransfer:v1/Operation/name": name "/storagetransfer:v1/Operation/error": error "/storagetransfer:v1/Operation/metadata": metadata "/storagetransfer:v1/Operation/metadata/metadatum": metadatum -"/storagetransfer:v1/TransferOptions": transfer_options -"/storagetransfer:v1/TransferOptions/overwriteObjectsAlreadyExistingInSink": overwrite_objects_already_existing_in_sink -"/storagetransfer:v1/TransferOptions/deleteObjectsFromSourceAfterTransfer": delete_objects_from_source_after_transfer -"/storagetransfer:v1/TransferOptions/deleteObjectsUniqueInSink": delete_objects_unique_in_sink +"/storagetransfer:v1/Operation/done": done "/storagetransfer:v1/TransferSpec": transfer_spec -"/storagetransfer:v1/TransferSpec/gcsDataSource": gcs_data_source -"/storagetransfer:v1/TransferSpec/transferOptions": transfer_options "/storagetransfer:v1/TransferSpec/awsS3DataSource": aws_s3_data_source "/storagetransfer:v1/TransferSpec/httpDataSource": http_data_source "/storagetransfer:v1/TransferSpec/objectConditions": object_conditions "/storagetransfer:v1/TransferSpec/gcsDataSink": gcs_data_sink -"/storagetransfer:v1/ResumeTransferOperationRequest": resume_transfer_operation_request +"/storagetransfer:v1/TransferSpec/gcsDataSource": gcs_data_source +"/storagetransfer:v1/TransferSpec/transferOptions": transfer_options +"/storagetransfer:v1/TransferOptions": transfer_options +"/storagetransfer:v1/TransferOptions/deleteObjectsUniqueInSink": delete_objects_unique_in_sink +"/storagetransfer:v1/TransferOptions/overwriteObjectsAlreadyExistingInSink": overwrite_objects_already_existing_in_sink +"/storagetransfer:v1/TransferOptions/deleteObjectsFromSourceAfterTransfer": delete_objects_from_source_after_transfer "/storagetransfer:v1/Status": status -"/storagetransfer:v1/Status/code": code "/storagetransfer:v1/Status/message": message "/storagetransfer:v1/Status/details": details "/storagetransfer:v1/Status/details/detail": detail "/storagetransfer:v1/Status/details/detail/detail": detail -"/storagetransfer:v1/ListOperationsResponse": list_operations_response -"/storagetransfer:v1/ListOperationsResponse/nextPageToken": next_page_token -"/storagetransfer:v1/ListOperationsResponse/operations": operations -"/storagetransfer:v1/ListOperationsResponse/operations/operation": operation -"/storagetransfer:v1/GoogleServiceAccount": google_service_account -"/storagetransfer:v1/GoogleServiceAccount/accountEmail": account_email -"/storagetransfer:v1/TimeOfDay": time_of_day -"/storagetransfer:v1/TimeOfDay/hours": hours -"/storagetransfer:v1/TimeOfDay/nanos": nanos -"/storagetransfer:v1/TimeOfDay/seconds": seconds -"/storagetransfer:v1/TimeOfDay/minutes": minutes +"/storagetransfer:v1/Status/code": code +"/storagetransfer:v1/ResumeTransferOperationRequest": resume_transfer_operation_request "/surveys:v2/fields": fields "/surveys:v2/key": key "/surveys:v2/quotaUser": quota_user @@ -39898,62 +39868,24 @@ "/toolresults:v1beta3/ToolOutputReference/creationTime": creation_time "/toolresults:v1beta3/ToolOutputReference/output": output "/toolresults:v1beta3/ToolOutputReference/testCase": test_case -"/tracing:v1/fields": fields "/tracing:v1/key": key "/tracing:v1/quotaUser": quota_user -"/tracing:v1/tracing.projects.traces.listSpans": list_project_trace_spans -"/tracing:v1/tracing.projects.traces.listSpans/name": name -"/tracing:v1/tracing.projects.traces.listSpans/pageToken": page_token +"/tracing:v1/fields": fields "/tracing:v1/tracing.projects.traces.list": list_project_traces -"/tracing:v1/tracing.projects.traces.list/filter": filter -"/tracing:v1/tracing.projects.traces.list/endTime": end_time -"/tracing:v1/tracing.projects.traces.list/pageToken": page_token "/tracing:v1/tracing.projects.traces.list/startTime": start_time +"/tracing:v1/tracing.projects.traces.list/pageToken": page_token "/tracing:v1/tracing.projects.traces.list/pageSize": page_size "/tracing:v1/tracing.projects.traces.list/parent": parent "/tracing:v1/tracing.projects.traces.list/orderBy": order_by +"/tracing:v1/tracing.projects.traces.list/filter": filter +"/tracing:v1/tracing.projects.traces.list/endTime": end_time "/tracing:v1/tracing.projects.traces.get": get_project_trace "/tracing:v1/tracing.projects.traces.get/name": name "/tracing:v1/tracing.projects.traces.batchUpdate": batch_trace_update_spans "/tracing:v1/tracing.projects.traces.batchUpdate/parent": parent -"/tracing:v1/Trace": trace -"/tracing:v1/Trace/name": name -"/tracing:v1/Module": module -"/tracing:v1/Module/buildId": build_id -"/tracing:v1/Module/module": module -"/tracing:v1/Status": status -"/tracing:v1/Status/code": code -"/tracing:v1/Status/message": message -"/tracing:v1/Status/details": details -"/tracing:v1/Status/details/detail": detail -"/tracing:v1/Status/details/detail/detail": detail -"/tracing:v1/Empty": empty -"/tracing:v1/ListTracesResponse": list_traces_response -"/tracing:v1/ListTracesResponse/traces": traces -"/tracing:v1/ListTracesResponse/traces/trace": trace -"/tracing:v1/ListTracesResponse/nextPageToken": next_page_token -"/tracing:v1/Span": span -"/tracing:v1/Span/localEndTime": local_end_time -"/tracing:v1/Span/parentId": parent_id -"/tracing:v1/Span/timeEvents": time_events -"/tracing:v1/Span/timeEvents/time_event": time_event -"/tracing:v1/Span/status": status -"/tracing:v1/Span/name": name -"/tracing:v1/Span/stackTrace": stack_trace -"/tracing:v1/Span/links": links -"/tracing:v1/Span/links/link": link -"/tracing:v1/Span/attributes": attributes -"/tracing:v1/Span/attributes/attribute": attribute -"/tracing:v1/Span/id": id -"/tracing:v1/Span/localStartTime": local_start_time -"/tracing:v1/Span/hasRemoteParent": has_remote_parent -"/tracing:v1/AttributeValue": attribute_value -"/tracing:v1/AttributeValue/stringValue": string_value -"/tracing:v1/AttributeValue/boolValue": bool_value -"/tracing:v1/AttributeValue/intValue": int_value -"/tracing:v1/BatchUpdateSpansRequest": batch_update_spans_request -"/tracing:v1/BatchUpdateSpansRequest/spanUpdates": span_updates -"/tracing:v1/BatchUpdateSpansRequest/spanUpdates/span_update": span_update +"/tracing:v1/tracing.projects.traces.listSpans": list_project_trace_spans +"/tracing:v1/tracing.projects.traces.listSpans/name": name +"/tracing:v1/tracing.projects.traces.listSpans/pageToken": page_token "/tracing:v1/StackTrace": stack_trace "/tracing:v1/StackTrace/stackFrame": stack_frame "/tracing:v1/StackTrace/stackFrame/stack_frame": stack_frame @@ -39963,25 +39895,25 @@ "/tracing:v1/TimeEvent/annotation": annotation "/tracing:v1/TimeEvent/localTime": local_time "/tracing:v1/NetworkEvent": network_event +"/tracing:v1/NetworkEvent/messageId": message_id "/tracing:v1/NetworkEvent/messageSize": message_size "/tracing:v1/NetworkEvent/kernelTime": kernel_time "/tracing:v1/NetworkEvent/type": type -"/tracing:v1/NetworkEvent/messageId": message_id -"/tracing:v1/ListSpansResponse": list_spans_response -"/tracing:v1/ListSpansResponse/spans": spans -"/tracing:v1/ListSpansResponse/spans/span": span -"/tracing:v1/ListSpansResponse/nextPageToken": next_page_token "/tracing:v1/SpanUpdates": span_updates "/tracing:v1/SpanUpdates/spans": spans "/tracing:v1/SpanUpdates/spans/span": span +"/tracing:v1/ListSpansResponse": list_spans_response +"/tracing:v1/ListSpansResponse/nextPageToken": next_page_token +"/tracing:v1/ListSpansResponse/spans": spans +"/tracing:v1/ListSpansResponse/spans/span": span "/tracing:v1/StackFrame": stack_frame +"/tracing:v1/StackFrame/columnNumber": column_number "/tracing:v1/StackFrame/fileName": file_name "/tracing:v1/StackFrame/sourceVersion": source_version "/tracing:v1/StackFrame/originalFunctionName": original_function_name "/tracing:v1/StackFrame/functionName": function_name "/tracing:v1/StackFrame/lineNumber": line_number "/tracing:v1/StackFrame/loadModule": load_module -"/tracing:v1/StackFrame/columnNumber": column_number "/tracing:v1/Link": link "/tracing:v1/Link/type": type "/tracing:v1/Link/traceId": trace_id @@ -39990,6 +39922,44 @@ "/tracing:v1/Annotation/description": description "/tracing:v1/Annotation/attributes": attributes "/tracing:v1/Annotation/attributes/attribute": attribute +"/tracing:v1/Trace": trace +"/tracing:v1/Trace/name": name +"/tracing:v1/Module": module +"/tracing:v1/Module/module": module +"/tracing:v1/Module/buildId": build_id +"/tracing:v1/Status": status +"/tracing:v1/Status/message": message +"/tracing:v1/Status/details": details +"/tracing:v1/Status/details/detail": detail +"/tracing:v1/Status/details/detail/detail": detail +"/tracing:v1/Status/code": code +"/tracing:v1/ListTracesResponse": list_traces_response +"/tracing:v1/ListTracesResponse/traces": traces +"/tracing:v1/ListTracesResponse/traces/trace": trace +"/tracing:v1/ListTracesResponse/nextPageToken": next_page_token +"/tracing:v1/Span": span +"/tracing:v1/Span/attributes": attributes +"/tracing:v1/Span/attributes/attribute": attribute +"/tracing:v1/Span/id": id +"/tracing:v1/Span/localStartTime": local_start_time +"/tracing:v1/Span/hasRemoteParent": has_remote_parent +"/tracing:v1/Span/localEndTime": local_end_time +"/tracing:v1/Span/parentId": parent_id +"/tracing:v1/Span/timeEvents": time_events +"/tracing:v1/Span/timeEvents/time_event": time_event +"/tracing:v1/Span/status": status +"/tracing:v1/Span/name": name +"/tracing:v1/Span/stackTrace": stack_trace +"/tracing:v1/Span/links": links +"/tracing:v1/Span/links/link": link +"/tracing:v1/Empty": empty +"/tracing:v1/AttributeValue": attribute_value +"/tracing:v1/AttributeValue/intValue": int_value +"/tracing:v1/AttributeValue/stringValue": string_value +"/tracing:v1/AttributeValue/boolValue": bool_value +"/tracing:v1/BatchUpdateSpansRequest": batch_update_spans_request +"/tracing:v1/BatchUpdateSpansRequest/spanUpdates": span_updates +"/tracing:v1/BatchUpdateSpansRequest/spanUpdates/span_update": span_update "/translate:v2/fields": fields "/translate:v2/key": key "/translate:v2/quotaUser": quota_user @@ -40066,10 +40036,147 @@ "/urlshortener:v1/UrlHistory/kind": kind "/urlshortener:v1/UrlHistory/nextPageToken": next_page_token "/urlshortener:v1/UrlHistory/totalItems": total_items -"/vision:v1/quotaUser": quota_user "/vision:v1/fields": fields "/vision:v1/key": key +"/vision:v1/quotaUser": quota_user "/vision:v1/vision.images.annotate": annotate_image +"/vision:v1/CropHint": crop_hint +"/vision:v1/CropHint/confidence": confidence +"/vision:v1/CropHint/importanceFraction": importance_fraction +"/vision:v1/CropHint/boundingPoly": bounding_poly +"/vision:v1/Landmark": landmark +"/vision:v1/Landmark/type": type +"/vision:v1/Landmark/position": position +"/vision:v1/WebImage": web_image +"/vision:v1/WebImage/score": score +"/vision:v1/WebImage/url": url +"/vision:v1/Word": word +"/vision:v1/Word/property": property +"/vision:v1/Word/boundingBox": bounding_box +"/vision:v1/Word/symbols": symbols +"/vision:v1/Word/symbols/symbol": symbol +"/vision:v1/Image": image +"/vision:v1/Image/content": content +"/vision:v1/Image/source": source +"/vision:v1/Paragraph": paragraph +"/vision:v1/Paragraph/property": property +"/vision:v1/Paragraph/boundingBox": bounding_box +"/vision:v1/Paragraph/words": words +"/vision:v1/Paragraph/words/word": word +"/vision:v1/FaceAnnotation": face_annotation +"/vision:v1/FaceAnnotation/sorrowLikelihood": sorrow_likelihood +"/vision:v1/FaceAnnotation/tiltAngle": tilt_angle +"/vision:v1/FaceAnnotation/fdBoundingPoly": fd_bounding_poly +"/vision:v1/FaceAnnotation/surpriseLikelihood": surprise_likelihood +"/vision:v1/FaceAnnotation/landmarks": landmarks +"/vision:v1/FaceAnnotation/landmarks/landmark": landmark +"/vision:v1/FaceAnnotation/angerLikelihood": anger_likelihood +"/vision:v1/FaceAnnotation/joyLikelihood": joy_likelihood +"/vision:v1/FaceAnnotation/landmarkingConfidence": landmarking_confidence +"/vision:v1/FaceAnnotation/detectionConfidence": detection_confidence +"/vision:v1/FaceAnnotation/panAngle": pan_angle +"/vision:v1/FaceAnnotation/underExposedLikelihood": under_exposed_likelihood +"/vision:v1/FaceAnnotation/blurredLikelihood": blurred_likelihood +"/vision:v1/FaceAnnotation/headwearLikelihood": headwear_likelihood +"/vision:v1/FaceAnnotation/boundingPoly": bounding_poly +"/vision:v1/FaceAnnotation/rollAngle": roll_angle +"/vision:v1/BatchAnnotateImagesRequest": batch_annotate_images_request +"/vision:v1/BatchAnnotateImagesRequest/requests": requests +"/vision:v1/BatchAnnotateImagesRequest/requests/request": request +"/vision:v1/DetectedBreak": detected_break +"/vision:v1/DetectedBreak/isPrefix": is_prefix +"/vision:v1/DetectedBreak/type": type +"/vision:v1/ImageContext": image_context +"/vision:v1/ImageContext/languageHints": language_hints +"/vision:v1/ImageContext/languageHints/language_hint": language_hint +"/vision:v1/ImageContext/latLongRect": lat_long_rect +"/vision:v1/ImageContext/cropHintsParams": crop_hints_params +"/vision:v1/Page": page +"/vision:v1/Page/blocks": blocks +"/vision:v1/Page/blocks/block": block +"/vision:v1/Page/property": property +"/vision:v1/Page/height": height +"/vision:v1/Page/width": width +"/vision:v1/AnnotateImageRequest": annotate_image_request +"/vision:v1/AnnotateImageRequest/image": image +"/vision:v1/AnnotateImageRequest/features": features +"/vision:v1/AnnotateImageRequest/features/feature": feature +"/vision:v1/AnnotateImageRequest/imageContext": image_context +"/vision:v1/Status": status +"/vision:v1/Status/details": details +"/vision:v1/Status/details/detail": detail +"/vision:v1/Status/details/detail/detail": detail +"/vision:v1/Status/code": code +"/vision:v1/Status/message": message +"/vision:v1/LatLongRect": lat_long_rect +"/vision:v1/LatLongRect/minLatLng": min_lat_lng +"/vision:v1/LatLongRect/maxLatLng": max_lat_lng +"/vision:v1/Symbol": symbol +"/vision:v1/Symbol/property": property +"/vision:v1/Symbol/boundingBox": bounding_box +"/vision:v1/Symbol/text": text +"/vision:v1/CropHintsAnnotation": crop_hints_annotation +"/vision:v1/CropHintsAnnotation/cropHints": crop_hints +"/vision:v1/CropHintsAnnotation/cropHints/crop_hint": crop_hint +"/vision:v1/LatLng": lat_lng +"/vision:v1/LatLng/latitude": latitude +"/vision:v1/LatLng/longitude": longitude +"/vision:v1/Color": color +"/vision:v1/Color/red": red +"/vision:v1/Color/green": green +"/vision:v1/Color/blue": blue +"/vision:v1/Color/alpha": alpha +"/vision:v1/ImageProperties": image_properties +"/vision:v1/ImageProperties/dominantColors": dominant_colors +"/vision:v1/Feature": feature +"/vision:v1/Feature/type": type +"/vision:v1/Feature/maxResults": max_results +"/vision:v1/SafeSearchAnnotation": safe_search_annotation +"/vision:v1/SafeSearchAnnotation/adult": adult +"/vision:v1/SafeSearchAnnotation/spoof": spoof +"/vision:v1/SafeSearchAnnotation/medical": medical +"/vision:v1/SafeSearchAnnotation/violence": violence +"/vision:v1/DominantColorsAnnotation": dominant_colors_annotation +"/vision:v1/DominantColorsAnnotation/colors": colors +"/vision:v1/DominantColorsAnnotation/colors/color": color +"/vision:v1/TextAnnotation": text_annotation +"/vision:v1/TextAnnotation/pages": pages +"/vision:v1/TextAnnotation/pages/page": page +"/vision:v1/TextAnnotation/text": text +"/vision:v1/Vertex": vertex +"/vision:v1/Vertex/y": y +"/vision:v1/Vertex/x": x +"/vision:v1/DetectedLanguage": detected_language +"/vision:v1/DetectedLanguage/languageCode": language_code +"/vision:v1/DetectedLanguage/confidence": confidence +"/vision:v1/TextProperty": text_property +"/vision:v1/TextProperty/detectedBreak": detected_break +"/vision:v1/TextProperty/detectedLanguages": detected_languages +"/vision:v1/TextProperty/detectedLanguages/detected_language": detected_language +"/vision:v1/BoundingPoly": bounding_poly +"/vision:v1/BoundingPoly/vertices": vertices +"/vision:v1/BoundingPoly/vertices/vertex": vertex +"/vision:v1/WebEntity": web_entity +"/vision:v1/WebEntity/entityId": entity_id +"/vision:v1/WebEntity/description": description +"/vision:v1/WebEntity/score": score +"/vision:v1/AnnotateImageResponse": annotate_image_response +"/vision:v1/AnnotateImageResponse/textAnnotations": text_annotations +"/vision:v1/AnnotateImageResponse/textAnnotations/text_annotation": text_annotation +"/vision:v1/AnnotateImageResponse/imagePropertiesAnnotation": image_properties_annotation +"/vision:v1/AnnotateImageResponse/faceAnnotations": face_annotations +"/vision:v1/AnnotateImageResponse/faceAnnotations/face_annotation": face_annotation +"/vision:v1/AnnotateImageResponse/logoAnnotations": logo_annotations +"/vision:v1/AnnotateImageResponse/logoAnnotations/logo_annotation": logo_annotation +"/vision:v1/AnnotateImageResponse/cropHintsAnnotation": crop_hints_annotation +"/vision:v1/AnnotateImageResponse/webDetection": web_detection +"/vision:v1/AnnotateImageResponse/labelAnnotations": label_annotations +"/vision:v1/AnnotateImageResponse/labelAnnotations/label_annotation": label_annotation +"/vision:v1/AnnotateImageResponse/safeSearchAnnotation": safe_search_annotation +"/vision:v1/AnnotateImageResponse/error": error +"/vision:v1/AnnotateImageResponse/fullTextAnnotation": full_text_annotation +"/vision:v1/AnnotateImageResponse/landmarkAnnotations": landmark_annotations +"/vision:v1/AnnotateImageResponse/landmarkAnnotations/landmark_annotation": landmark_annotation "/vision:v1/CropHintsParams": crop_hints_params "/vision:v1/CropHintsParams/aspectRatios": aspect_ratios "/vision:v1/CropHintsParams/aspectRatios/aspect_ratio": aspect_ratio @@ -40106,162 +40213,25 @@ "/vision:v1/Position/y": y "/vision:v1/Position/x": x "/vision:v1/Position/z": z +"/vision:v1/WebPage": web_page +"/vision:v1/WebPage/score": score +"/vision:v1/WebPage/url": url "/vision:v1/ColorInfo": color_info +"/vision:v1/ColorInfo/score": score "/vision:v1/ColorInfo/pixelFraction": pixel_fraction "/vision:v1/ColorInfo/color": color -"/vision:v1/ColorInfo/score": score -"/vision:v1/WebPage": web_page -"/vision:v1/WebPage/url": url -"/vision:v1/WebPage/score": score "/vision:v1/EntityAnnotation": entity_annotation +"/vision:v1/EntityAnnotation/boundingPoly": bounding_poly +"/vision:v1/EntityAnnotation/locale": locale +"/vision:v1/EntityAnnotation/topicality": topicality +"/vision:v1/EntityAnnotation/description": description +"/vision:v1/EntityAnnotation/properties": properties +"/vision:v1/EntityAnnotation/properties/property": property +"/vision:v1/EntityAnnotation/score": score "/vision:v1/EntityAnnotation/locations": locations "/vision:v1/EntityAnnotation/locations/location": location "/vision:v1/EntityAnnotation/mid": mid "/vision:v1/EntityAnnotation/confidence": confidence -"/vision:v1/EntityAnnotation/boundingPoly": bounding_poly -"/vision:v1/EntityAnnotation/locale": locale -"/vision:v1/EntityAnnotation/description": description -"/vision:v1/EntityAnnotation/topicality": topicality -"/vision:v1/EntityAnnotation/properties": properties -"/vision:v1/EntityAnnotation/properties/property": property -"/vision:v1/EntityAnnotation/score": score -"/vision:v1/CropHint": crop_hint -"/vision:v1/CropHint/confidence": confidence -"/vision:v1/CropHint/importanceFraction": importance_fraction -"/vision:v1/CropHint/boundingPoly": bounding_poly -"/vision:v1/Landmark": landmark -"/vision:v1/Landmark/type": type -"/vision:v1/Landmark/position": position -"/vision:v1/WebImage": web_image -"/vision:v1/WebImage/score": score -"/vision:v1/WebImage/url": url -"/vision:v1/Word": word -"/vision:v1/Word/boundingBox": bounding_box -"/vision:v1/Word/symbols": symbols -"/vision:v1/Word/symbols/symbol": symbol -"/vision:v1/Word/property": property -"/vision:v1/Image": image -"/vision:v1/Image/content": content -"/vision:v1/Image/source": source -"/vision:v1/Paragraph": paragraph -"/vision:v1/Paragraph/boundingBox": bounding_box -"/vision:v1/Paragraph/words": words -"/vision:v1/Paragraph/words/word": word -"/vision:v1/Paragraph/property": property -"/vision:v1/FaceAnnotation": face_annotation -"/vision:v1/FaceAnnotation/fdBoundingPoly": fd_bounding_poly -"/vision:v1/FaceAnnotation/angerLikelihood": anger_likelihood -"/vision:v1/FaceAnnotation/landmarks": landmarks -"/vision:v1/FaceAnnotation/landmarks/landmark": landmark -"/vision:v1/FaceAnnotation/surpriseLikelihood": surprise_likelihood -"/vision:v1/FaceAnnotation/landmarkingConfidence": landmarking_confidence -"/vision:v1/FaceAnnotation/joyLikelihood": joy_likelihood -"/vision:v1/FaceAnnotation/detectionConfidence": detection_confidence -"/vision:v1/FaceAnnotation/panAngle": pan_angle -"/vision:v1/FaceAnnotation/underExposedLikelihood": under_exposed_likelihood -"/vision:v1/FaceAnnotation/blurredLikelihood": blurred_likelihood -"/vision:v1/FaceAnnotation/headwearLikelihood": headwear_likelihood -"/vision:v1/FaceAnnotation/boundingPoly": bounding_poly -"/vision:v1/FaceAnnotation/rollAngle": roll_angle -"/vision:v1/FaceAnnotation/sorrowLikelihood": sorrow_likelihood -"/vision:v1/FaceAnnotation/tiltAngle": tilt_angle -"/vision:v1/BatchAnnotateImagesRequest": batch_annotate_images_request -"/vision:v1/BatchAnnotateImagesRequest/requests": requests -"/vision:v1/BatchAnnotateImagesRequest/requests/request": request -"/vision:v1/DetectedBreak": detected_break -"/vision:v1/DetectedBreak/type": type -"/vision:v1/DetectedBreak/isPrefix": is_prefix -"/vision:v1/ImageContext": image_context -"/vision:v1/ImageContext/latLongRect": lat_long_rect -"/vision:v1/ImageContext/cropHintsParams": crop_hints_params -"/vision:v1/ImageContext/languageHints": language_hints -"/vision:v1/ImageContext/languageHints/language_hint": language_hint -"/vision:v1/Page": page -"/vision:v1/Page/height": height -"/vision:v1/Page/width": width -"/vision:v1/Page/blocks": blocks -"/vision:v1/Page/blocks/block": block -"/vision:v1/Page/property": property -"/vision:v1/AnnotateImageRequest": annotate_image_request -"/vision:v1/AnnotateImageRequest/imageContext": image_context -"/vision:v1/AnnotateImageRequest/image": image -"/vision:v1/AnnotateImageRequest/features": features -"/vision:v1/AnnotateImageRequest/features/feature": feature -"/vision:v1/Status": status -"/vision:v1/Status/details": details -"/vision:v1/Status/details/detail": detail -"/vision:v1/Status/details/detail/detail": detail -"/vision:v1/Status/code": code -"/vision:v1/Status/message": message -"/vision:v1/Symbol": symbol -"/vision:v1/Symbol/property": property -"/vision:v1/Symbol/boundingBox": bounding_box -"/vision:v1/Symbol/text": text -"/vision:v1/LatLongRect": lat_long_rect -"/vision:v1/LatLongRect/minLatLng": min_lat_lng -"/vision:v1/LatLongRect/maxLatLng": max_lat_lng -"/vision:v1/CropHintsAnnotation": crop_hints_annotation -"/vision:v1/CropHintsAnnotation/cropHints": crop_hints -"/vision:v1/CropHintsAnnotation/cropHints/crop_hint": crop_hint -"/vision:v1/LatLng": lat_lng -"/vision:v1/LatLng/latitude": latitude -"/vision:v1/LatLng/longitude": longitude -"/vision:v1/Color": color -"/vision:v1/Color/red": red -"/vision:v1/Color/green": green -"/vision:v1/Color/blue": blue -"/vision:v1/Color/alpha": alpha -"/vision:v1/ImageProperties": image_properties -"/vision:v1/ImageProperties/dominantColors": dominant_colors -"/vision:v1/Feature": feature -"/vision:v1/Feature/type": type -"/vision:v1/Feature/maxResults": max_results -"/vision:v1/SafeSearchAnnotation": safe_search_annotation -"/vision:v1/SafeSearchAnnotation/violence": violence -"/vision:v1/SafeSearchAnnotation/adult": adult -"/vision:v1/SafeSearchAnnotation/spoof": spoof -"/vision:v1/SafeSearchAnnotation/medical": medical -"/vision:v1/DominantColorsAnnotation": dominant_colors_annotation -"/vision:v1/DominantColorsAnnotation/colors": colors -"/vision:v1/DominantColorsAnnotation/colors/color": color -"/vision:v1/TextAnnotation": text_annotation -"/vision:v1/TextAnnotation/pages": pages -"/vision:v1/TextAnnotation/pages/page": page -"/vision:v1/TextAnnotation/text": text -"/vision:v1/DetectedLanguage": detected_language -"/vision:v1/DetectedLanguage/languageCode": language_code -"/vision:v1/DetectedLanguage/confidence": confidence -"/vision:v1/Vertex": vertex -"/vision:v1/Vertex/y": y -"/vision:v1/Vertex/x": x -"/vision:v1/TextProperty": text_property -"/vision:v1/TextProperty/detectedLanguages": detected_languages -"/vision:v1/TextProperty/detectedLanguages/detected_language": detected_language -"/vision:v1/TextProperty/detectedBreak": detected_break -"/vision:v1/BoundingPoly": bounding_poly -"/vision:v1/BoundingPoly/vertices": vertices -"/vision:v1/BoundingPoly/vertices/vertex": vertex -"/vision:v1/WebEntity": web_entity -"/vision:v1/WebEntity/entityId": entity_id -"/vision:v1/WebEntity/description": description -"/vision:v1/WebEntity/score": score -"/vision:v1/AnnotateImageResponse": annotate_image_response -"/vision:v1/AnnotateImageResponse/error": error -"/vision:v1/AnnotateImageResponse/fullTextAnnotation": full_text_annotation -"/vision:v1/AnnotateImageResponse/landmarkAnnotations": landmark_annotations -"/vision:v1/AnnotateImageResponse/landmarkAnnotations/landmark_annotation": landmark_annotation -"/vision:v1/AnnotateImageResponse/textAnnotations": text_annotations -"/vision:v1/AnnotateImageResponse/textAnnotations/text_annotation": text_annotation -"/vision:v1/AnnotateImageResponse/imagePropertiesAnnotation": image_properties_annotation -"/vision:v1/AnnotateImageResponse/faceAnnotations": face_annotations -"/vision:v1/AnnotateImageResponse/faceAnnotations/face_annotation": face_annotation -"/vision:v1/AnnotateImageResponse/logoAnnotations": logo_annotations -"/vision:v1/AnnotateImageResponse/logoAnnotations/logo_annotation": logo_annotation -"/vision:v1/AnnotateImageResponse/cropHintsAnnotation": crop_hints_annotation -"/vision:v1/AnnotateImageResponse/webDetection": web_detection -"/vision:v1/AnnotateImageResponse/labelAnnotations": label_annotations -"/vision:v1/AnnotateImageResponse/labelAnnotations/label_annotation": label_annotation -"/vision:v1/AnnotateImageResponse/safeSearchAnnotation": safe_search_annotation "/webfonts:v1/fields": fields "/webfonts:v1/key": key "/webfonts:v1/quotaUser": quota_user @@ -41993,73 +41963,73 @@ "/youtubeAnalytics:v1/ResultTable/rows": rows "/youtubeAnalytics:v1/ResultTable/rows/row": row "/youtubeAnalytics:v1/ResultTable/rows/row/row": row +"/youtubereporting:v1/fields": fields "/youtubereporting:v1/key": key "/youtubereporting:v1/quotaUser": quota_user -"/youtubereporting:v1/fields": fields "/youtubereporting:v1/youtubereporting.media.download": download_medium "/youtubereporting:v1/youtubereporting.media.download/resourceName": resource_name +"/youtubereporting:v1/youtubereporting.jobs.delete": delete_job +"/youtubereporting:v1/youtubereporting.jobs.delete/jobId": job_id +"/youtubereporting:v1/youtubereporting.jobs.delete/onBehalfOfContentOwner": on_behalf_of_content_owner "/youtubereporting:v1/youtubereporting.jobs.list": list_jobs +"/youtubereporting:v1/youtubereporting.jobs.list/onBehalfOfContentOwner": on_behalf_of_content_owner "/youtubereporting:v1/youtubereporting.jobs.list/pageToken": page_token "/youtubereporting:v1/youtubereporting.jobs.list/includeSystemManaged": include_system_managed "/youtubereporting:v1/youtubereporting.jobs.list/pageSize": page_size -"/youtubereporting:v1/youtubereporting.jobs.list/onBehalfOfContentOwner": on_behalf_of_content_owner "/youtubereporting:v1/youtubereporting.jobs.get": get_job "/youtubereporting:v1/youtubereporting.jobs.get/jobId": job_id "/youtubereporting:v1/youtubereporting.jobs.get/onBehalfOfContentOwner": on_behalf_of_content_owner "/youtubereporting:v1/youtubereporting.jobs.create": create_job "/youtubereporting:v1/youtubereporting.jobs.create/onBehalfOfContentOwner": on_behalf_of_content_owner -"/youtubereporting:v1/youtubereporting.jobs.delete": delete_job -"/youtubereporting:v1/youtubereporting.jobs.delete/jobId": job_id -"/youtubereporting:v1/youtubereporting.jobs.delete/onBehalfOfContentOwner": on_behalf_of_content_owner "/youtubereporting:v1/youtubereporting.jobs.reports.list": list_job_reports +"/youtubereporting:v1/youtubereporting.jobs.reports.list/onBehalfOfContentOwner": on_behalf_of_content_owner +"/youtubereporting:v1/youtubereporting.jobs.reports.list/startTimeBefore": start_time_before "/youtubereporting:v1/youtubereporting.jobs.reports.list/jobId": job_id "/youtubereporting:v1/youtubereporting.jobs.reports.list/createdAfter": created_after "/youtubereporting:v1/youtubereporting.jobs.reports.list/startTimeAtOrAfter": start_time_at_or_after "/youtubereporting:v1/youtubereporting.jobs.reports.list/pageToken": page_token "/youtubereporting:v1/youtubereporting.jobs.reports.list/pageSize": page_size -"/youtubereporting:v1/youtubereporting.jobs.reports.list/onBehalfOfContentOwner": on_behalf_of_content_owner -"/youtubereporting:v1/youtubereporting.jobs.reports.list/startTimeBefore": start_time_before "/youtubereporting:v1/youtubereporting.jobs.reports.get": get_job_report "/youtubereporting:v1/youtubereporting.jobs.reports.get/jobId": job_id "/youtubereporting:v1/youtubereporting.jobs.reports.get/onBehalfOfContentOwner": on_behalf_of_content_owner "/youtubereporting:v1/youtubereporting.jobs.reports.get/reportId": report_id "/youtubereporting:v1/youtubereporting.reportTypes.list": list_report_types -"/youtubereporting:v1/youtubereporting.reportTypes.list/onBehalfOfContentOwner": on_behalf_of_content_owner "/youtubereporting:v1/youtubereporting.reportTypes.list/pageToken": page_token "/youtubereporting:v1/youtubereporting.reportTypes.list/includeSystemManaged": include_system_managed "/youtubereporting:v1/youtubereporting.reportTypes.list/pageSize": page_size +"/youtubereporting:v1/youtubereporting.reportTypes.list/onBehalfOfContentOwner": on_behalf_of_content_owner "/youtubereporting:v1/Report": report +"/youtubereporting:v1/Report/createTime": create_time "/youtubereporting:v1/Report/jobId": job_id "/youtubereporting:v1/Report/id": id -"/youtubereporting:v1/Report/endTime": end_time "/youtubereporting:v1/Report/jobExpireTime": job_expire_time +"/youtubereporting:v1/Report/endTime": end_time "/youtubereporting:v1/Report/downloadUrl": download_url "/youtubereporting:v1/Report/startTime": start_time -"/youtubereporting:v1/Report/createTime": create_time "/youtubereporting:v1/Empty": empty +"/youtubereporting:v1/ListReportTypesResponse": list_report_types_response +"/youtubereporting:v1/ListReportTypesResponse/reportTypes": report_types +"/youtubereporting:v1/ListReportTypesResponse/reportTypes/report_type": report_type +"/youtubereporting:v1/ListReportTypesResponse/nextPageToken": next_page_token "/youtubereporting:v1/ReportType": report_type "/youtubereporting:v1/ReportType/deprecateTime": deprecate_time "/youtubereporting:v1/ReportType/name": name "/youtubereporting:v1/ReportType/id": id "/youtubereporting:v1/ReportType/systemManaged": system_managed -"/youtubereporting:v1/ListReportTypesResponse": list_report_types_response -"/youtubereporting:v1/ListReportTypesResponse/nextPageToken": next_page_token -"/youtubereporting:v1/ListReportTypesResponse/reportTypes": report_types -"/youtubereporting:v1/ListReportTypesResponse/reportTypes/report_type": report_type "/youtubereporting:v1/ListJobsResponse": list_jobs_response -"/youtubereporting:v1/ListJobsResponse/nextPageToken": next_page_token "/youtubereporting:v1/ListJobsResponse/jobs": jobs "/youtubereporting:v1/ListJobsResponse/jobs/job": job +"/youtubereporting:v1/ListJobsResponse/nextPageToken": next_page_token "/youtubereporting:v1/Job": job -"/youtubereporting:v1/Job/expireTime": expire_time -"/youtubereporting:v1/Job/reportTypeId": report_type_id -"/youtubereporting:v1/Job/name": name "/youtubereporting:v1/Job/systemManaged": system_managed "/youtubereporting:v1/Job/id": id "/youtubereporting:v1/Job/createTime": create_time +"/youtubereporting:v1/Job/reportTypeId": report_type_id +"/youtubereporting:v1/Job/expireTime": expire_time +"/youtubereporting:v1/Job/name": name "/youtubereporting:v1/ListReportsResponse": list_reports_response -"/youtubereporting:v1/ListReportsResponse/nextPageToken": next_page_token "/youtubereporting:v1/ListReportsResponse/reports": reports "/youtubereporting:v1/ListReportsResponse/reports/report": report +"/youtubereporting:v1/ListReportsResponse/nextPageToken": next_page_token "/youtubereporting:v1/Media": media "/youtubereporting:v1/Media/resourceName": resource_name diff --git a/generated/google/apis/acceleratedmobilepageurl_v1/classes.rb b/generated/google/apis/acceleratedmobilepageurl_v1/classes.rb index 0d5284311..00e808668 100644 --- a/generated/google/apis/acceleratedmobilepageurl_v1/classes.rb +++ b/generated/google/apis/acceleratedmobilepageurl_v1/classes.rb @@ -86,11 +86,6 @@ module Google class AmpUrlError include Google::Apis::Core::Hashable - # An optional descriptive error message. - # Corresponds to the JSON property `errorMessage` - # @return [String] - attr_accessor :error_message - # The error code of an API call. # Corresponds to the JSON property `errorCode` # @return [String] @@ -101,15 +96,20 @@ module Google # @return [String] attr_accessor :original_url + # An optional descriptive error message. + # Corresponds to the JSON property `errorMessage` + # @return [String] + attr_accessor :error_message + def initialize(**args) update!(**args) end # Update properties of this object def update!(**args) - @error_message = args[:error_message] if args.key?(:error_message) @error_code = args[:error_code] if args.key?(:error_code) @original_url = args[:original_url] if args.key?(:original_url) + @error_message = args[:error_message] if args.key?(:error_message) end end diff --git a/generated/google/apis/acceleratedmobilepageurl_v1/representations.rb b/generated/google/apis/acceleratedmobilepageurl_v1/representations.rb index f56df38d9..36babcd2e 100644 --- a/generated/google/apis/acceleratedmobilepageurl_v1/representations.rb +++ b/generated/google/apis/acceleratedmobilepageurl_v1/representations.rb @@ -68,9 +68,9 @@ module Google class AmpUrlError # @private class Representation < Google::Apis::Core::JsonRepresentation - property :error_message, as: 'errorMessage' property :error_code, as: 'errorCode' property :original_url, as: 'originalUrl' + property :error_message, as: 'errorMessage' end end diff --git a/generated/google/apis/acceleratedmobilepageurl_v1/service.rb b/generated/google/apis/acceleratedmobilepageurl_v1/service.rb index 8adb92ca9..7d57fcfa5 100644 --- a/generated/google/apis/acceleratedmobilepageurl_v1/service.rb +++ b/generated/google/apis/acceleratedmobilepageurl_v1/service.rb @@ -45,6 +45,7 @@ module Google def initialize super('https://acceleratedmobilepageurl.googleapis.com/', '') + @batch_path = 'batch' end # Returns AMP URL(s) and equivalent diff --git a/generated/google/apis/adexchangebuyer2_v2beta1.rb b/generated/google/apis/adexchangebuyer2_v2beta1.rb index 85d1eddcb..4c8cf957e 100644 --- a/generated/google/apis/adexchangebuyer2_v2beta1.rb +++ b/generated/google/apis/adexchangebuyer2_v2beta1.rb @@ -26,7 +26,7 @@ module Google # @see https://developers.google.com/ad-exchange/buyer-rest/guides/client-access/ module Adexchangebuyer2V2beta1 VERSION = 'V2beta1' - REVISION = '20170330' + REVISION = '20170331' # Manage your Ad Exchange buyer account configuration AUTH_ADEXCHANGE_BUYER = 'https://www.googleapis.com/auth/adexchange.buyer' diff --git a/generated/google/apis/adexchangebuyer2_v2beta1/classes.rb b/generated/google/apis/adexchangebuyer2_v2beta1/classes.rb index 050c0d99e..c539eb0cf 100644 --- a/generated/google/apis/adexchangebuyer2_v2beta1/classes.rb +++ b/generated/google/apis/adexchangebuyer2_v2beta1/classes.rb @@ -22,948 +22,6 @@ module Google module Apis module Adexchangebuyer2V2beta1 - # The association between a creative and a deal. - class CreativeDealAssociation - include Google::Apis::Core::Hashable - - # The externalDealId for the deal associated with the creative. - # Corresponds to the JSON property `dealsId` - # @return [String] - attr_accessor :deals_id - - # The account the creative belongs to. - # Corresponds to the JSON property `accountId` - # @return [String] - attr_accessor :account_id - - # The ID of the creative associated with the deal. - # Corresponds to the JSON property `creativeId` - # @return [String] - attr_accessor :creative_id - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @deals_id = args[:deals_id] if args.key?(:deals_id) - @account_id = args[:account_id] if args.key?(:account_id) - @creative_id = args[:creative_id] if args.key?(:creative_id) - end - end - - # A creative and its classification data. - class Creative - include Google::Apis::Core::Hashable - - # The account that this creative belongs to. - # Can be used to filter the response of the - # creatives.list - # method. - # Corresponds to the JSON property `accountId` - # @return [String] - attr_accessor :account_id - - # Native content for a creative. - # Corresponds to the JSON property `native` - # @return [Google::Apis::Adexchangebuyer2V2beta1::NativeContent] - attr_accessor :native - - # @OutputOnly The granular status of this ad in specific contexts. - # A context here relates to where something ultimately serves (for example, - # a physical location, a platform, an HTTPS vs HTTP request, or the type - # of auction). - # Corresponds to the JSON property `servingRestrictions` - # @return [Array] - attr_accessor :serving_restrictions - - # Video content for a creative. - # Corresponds to the JSON property `video` - # @return [Google::Apis::Adexchangebuyer2V2beta1::VideoContent] - attr_accessor :video - - # The agency ID for this creative. - # Corresponds to the JSON property `agencyId` - # @return [String] - attr_accessor :agency_id - - # The set of destination URLs for the creative. - # Corresponds to the JSON property `clickThroughUrls` - # @return [Array] - attr_accessor :click_through_urls - - # The link to AdChoices destination page. - # Corresponds to the JSON property `adChoicesDestinationUrl` - # @return [String] - attr_accessor :ad_choices_destination_url - - # @OutputOnly Detected sensitive categories, if any. - # See the ad-sensitive-categories.txt file in the technical documentation for - # a list of IDs. You should use these IDs along with the - # excluded-sensitive-category field in the bid request to filter your bids. - # Corresponds to the JSON property `detectedSensitiveCategories` - # @return [Array] - attr_accessor :detected_sensitive_categories - - # All restricted categories for the ads that may be shown from this creative. - # Corresponds to the JSON property `restrictedCategories` - # @return [Array] - attr_accessor :restricted_categories - - # @OutputOnly Shows any corrections that were applied to this creative. - # Corresponds to the JSON property `corrections` - # @return [Array] - attr_accessor :corrections - - # @OutputOnly The version of this creative. - # Corresponds to the JSON property `version` - # @return [Fixnum] - attr_accessor :version - - # All vendor IDs for the ads that may be shown from this creative. - # See https://storage.googleapis.com/adx-rtb-dictionaries/vendors.txt - # for possible values. - # Corresponds to the JSON property `vendorIds` - # @return [Array] - attr_accessor :vendor_ids - - # The set of URLs to be called to record an impression. - # Corresponds to the JSON property `impressionTrackingUrls` - # @return [Array] - attr_accessor :impression_tracking_urls - - # HTML content for a creative. - # Corresponds to the JSON property `html` - # @return [Google::Apis::Adexchangebuyer2V2beta1::HtmlContent] - attr_accessor :html - - # @OutputOnly Detected product categories, if any. - # See the ad-product-categories.txt file in the technical documentation - # for a list of IDs. - # Corresponds to the JSON property `detectedProductCategories` - # @return [Array] - attr_accessor :detected_product_categories - - # @OutputOnly The top-level deals status of this creative. - # If disapproved, an entry for 'auctionType=DIRECT_DEALS' (or 'ALL') in - # serving_restrictions will also exist. Note - # that this may be nuanced with other contextual restrictions, in which case, - # it may be preferable to read from serving_restrictions directly. - # Can be used to filter the response of the - # creatives.list - # method. - # Corresponds to the JSON property `dealsStatus` - # @return [String] - attr_accessor :deals_status - - # @OutputOnly The top-level open auction status of this creative. - # If disapproved, an entry for 'auctionType = OPEN_AUCTION' (or 'ALL') in - # serving_restrictions will also exist. Note - # that this may be nuanced with other contextual restrictions, in which case, - # it may be preferable to read from serving_restrictions directly. - # Can be used to filter the response of the - # creatives.list - # method. - # Corresponds to the JSON property `openAuctionStatus` - # @return [String] - attr_accessor :open_auction_status - - # The name of the company being advertised in the creative. - # Corresponds to the JSON property `advertiserName` - # @return [String] - attr_accessor :advertiser_name - - # @OutputOnly Detected advertiser IDs, if any. - # Corresponds to the JSON property `detectedAdvertiserIds` - # @return [Array] - attr_accessor :detected_advertiser_ids - - # @OutputOnly - # The detected domains for this creative. - # Corresponds to the JSON property `detectedDomains` - # @return [Array] - attr_accessor :detected_domains - - # @OutputOnly Filtering reasons for this creative during a period of a single - # day (from midnight to midnight Pacific). - # Corresponds to the JSON property `filteringStats` - # @return [Google::Apis::Adexchangebuyer2V2beta1::FilteringStats] - attr_accessor :filtering_stats - - # All attributes for the ads that may be shown from this creative. - # Can be used to filter the response of the - # creatives.list - # method. - # Corresponds to the JSON property `attributes` - # @return [Array] - attr_accessor :attributes - - # @OutputOnly The last update timestamp of the creative via API. - # Corresponds to the JSON property `apiUpdateTime` - # @return [String] - attr_accessor :api_update_time - - # @OutputOnly - # The detected languages for this creative. The order is arbitrary. The codes - # are 2 or 5 characters and are documented at - # https://developers.google.com/adwords/api/docs/appendix/languagecodes. - # Corresponds to the JSON property `detectedLanguages` - # @return [Array] - attr_accessor :detected_languages - - # The buyer-defined creative ID of this creative. - # Can be used to filter the response of the - # creatives.list - # method. - # Corresponds to the JSON property `creativeId` - # @return [String] - attr_accessor :creative_id - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @account_id = args[:account_id] if args.key?(:account_id) - @native = args[:native] if args.key?(:native) - @serving_restrictions = args[:serving_restrictions] if args.key?(:serving_restrictions) - @video = args[:video] if args.key?(:video) - @agency_id = args[:agency_id] if args.key?(:agency_id) - @click_through_urls = args[:click_through_urls] if args.key?(:click_through_urls) - @ad_choices_destination_url = args[:ad_choices_destination_url] if args.key?(:ad_choices_destination_url) - @detected_sensitive_categories = args[:detected_sensitive_categories] if args.key?(:detected_sensitive_categories) - @restricted_categories = args[:restricted_categories] if args.key?(:restricted_categories) - @corrections = args[:corrections] if args.key?(:corrections) - @version = args[:version] if args.key?(:version) - @vendor_ids = args[:vendor_ids] if args.key?(:vendor_ids) - @impression_tracking_urls = args[:impression_tracking_urls] if args.key?(:impression_tracking_urls) - @html = args[:html] if args.key?(:html) - @detected_product_categories = args[:detected_product_categories] if args.key?(:detected_product_categories) - @deals_status = args[:deals_status] if args.key?(:deals_status) - @open_auction_status = args[:open_auction_status] if args.key?(:open_auction_status) - @advertiser_name = args[:advertiser_name] if args.key?(:advertiser_name) - @detected_advertiser_ids = args[:detected_advertiser_ids] if args.key?(:detected_advertiser_ids) - @detected_domains = args[:detected_domains] if args.key?(:detected_domains) - @filtering_stats = args[:filtering_stats] if args.key?(:filtering_stats) - @attributes = args[:attributes] if args.key?(:attributes) - @api_update_time = args[:api_update_time] if args.key?(:api_update_time) - @detected_languages = args[:detected_languages] if args.key?(:detected_languages) - @creative_id = args[:creative_id] if args.key?(:creative_id) - end - end - - # @OutputOnly Filtering reasons for this creative during a period of a single - # day (from midnight to midnight Pacific). - class FilteringStats - include Google::Apis::Core::Hashable - - # The set of filtering reasons for this date. - # Corresponds to the JSON property `reasons` - # @return [Array] - attr_accessor :reasons - - # Represents a whole calendar date, e.g. date of birth. The time of day and - # time zone are either specified elsewhere or are not significant. The date - # is relative to the Proleptic Gregorian Calendar. The day may be 0 to - # represent a year and month where the day is not significant, e.g. credit card - # expiration date. The year may be 0 to represent a month and day independent - # of year, e.g. anniversary date. Related types are google.type.TimeOfDay - # and `google.protobuf.Timestamp`. - # Corresponds to the JSON property `date` - # @return [Google::Apis::Adexchangebuyer2V2beta1::Date] - attr_accessor :date - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @reasons = args[:reasons] if args.key?(:reasons) - @date = args[:date] if args.key?(:date) - end - end - - # A request for removing the association between a deal and a creative. - class RemoveDealAssociationRequest - include Google::Apis::Core::Hashable - - # The association between a creative and a deal. - # Corresponds to the JSON property `association` - # @return [Google::Apis::Adexchangebuyer2V2beta1::CreativeDealAssociation] - attr_accessor :association - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @association = args[:association] if args.key?(:association) - end - end - - # A client resource represents a client buyer—an agency, - # a brand, or an advertiser customer of the sponsor buyer. - # Users associated with the client buyer have restricted access to - # the Ad Exchange Marketplace and certain other sections - # of the Ad Exchange Buyer UI based on the role - # granted to the client buyer. - # All fields are required unless otherwise specified. - class Client - include Google::Apis::Core::Hashable - - # Whether the client buyer will be visible to sellers. - # Corresponds to the JSON property `visibleToSeller` - # @return [Boolean] - attr_accessor :visible_to_seller - alias_method :visible_to_seller?, :visible_to_seller - - # Numerical identifier of the client entity. - # The entity can be an advertiser, a brand, or an agency. - # This identifier is unique among all the entities with the same type. - # A list of all known advertisers with their identifiers is available in the - # [advertisers.txt](https://storage.googleapis.com/adx-rtb-dictionaries/ - # advertisers.txt) - # file. - # A list of all known brands with their identifiers is available in the - # [brands.txt](https://storage.googleapis.com/adx-rtb-dictionaries/brands.txt) - # file. - # A list of all known agencies with their identifiers is available in the - # [agencies.txt](https://storage.googleapis.com/adx-rtb-dictionaries/agencies. - # txt) - # file. - # Corresponds to the JSON property `entityId` - # @return [String] - attr_accessor :entity_id - - # The globally-unique numerical ID of the client. - # The value of this field is ignored in create and update operations. - # Corresponds to the JSON property `clientAccountId` - # @return [String] - attr_accessor :client_account_id - - # The name of the entity. This field is automatically fetched based on - # the type and ID. - # The value of this field is ignored in create and update operations. - # Corresponds to the JSON property `entityName` - # @return [String] - attr_accessor :entity_name - - # The status of the client buyer. - # Corresponds to the JSON property `status` - # @return [String] - attr_accessor :status - - # The type of the client entity: `ADVERTISER`, `BRAND`, or `AGENCY`. - # Corresponds to the JSON property `entityType` - # @return [String] - attr_accessor :entity_type - - # Name used to represent this client to publishers. - # You may have multiple clients that map to the same entity, - # but for each client the combination of `clientName` and entity - # must be unique. - # You can specify this field as empty. - # Corresponds to the JSON property `clientName` - # @return [String] - attr_accessor :client_name - - # The role which is assigned to the client buyer. Each role implies a set of - # permissions granted to the client. Must be one of `CLIENT_DEAL_VIEWER`, - # `CLIENT_DEAL_NEGOTIATOR` or `CLIENT_DEAL_APPROVER`. - # Corresponds to the JSON property `role` - # @return [String] - attr_accessor :role - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @visible_to_seller = args[:visible_to_seller] if args.key?(:visible_to_seller) - @entity_id = args[:entity_id] if args.key?(:entity_id) - @client_account_id = args[:client_account_id] if args.key?(:client_account_id) - @entity_name = args[:entity_name] if args.key?(:entity_name) - @status = args[:status] if args.key?(:status) - @entity_type = args[:entity_type] if args.key?(:entity_type) - @client_name = args[:client_name] if args.key?(:client_name) - @role = args[:role] if args.key?(:role) - end - end - - # @OutputOnly Shows any corrections that were applied to this creative. - class Correction - include Google::Apis::Core::Hashable - - # Additional details about what was corrected. - # Corresponds to the JSON property `details` - # @return [Array] - attr_accessor :details - - # The type of correction that was applied to the creative. - # Corresponds to the JSON property `type` - # @return [String] - attr_accessor :type - - # The contexts for the correction. - # Corresponds to the JSON property `contexts` - # @return [Array] - attr_accessor :contexts - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @details = args[:details] if args.key?(:details) - @type = args[:type] if args.key?(:type) - @contexts = args[:contexts] if args.key?(:contexts) - end - end - - # A request for associating a deal and a creative. - class AddDealAssociationRequest - include Google::Apis::Core::Hashable - - # The association between a creative and a deal. - # Corresponds to the JSON property `association` - # @return [Google::Apis::Adexchangebuyer2V2beta1::CreativeDealAssociation] - attr_accessor :association - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @association = args[:association] if args.key?(:association) - end - end - - # A response for listing creative and deal associations - class ListDealAssociationsResponse - include Google::Apis::Core::Hashable - - # A token to retrieve the next page of results. - # Pass this value in the - # ListDealAssociationsRequest.page_token - # field in the subsequent call to 'ListDealAssociation' method to retrieve - # the next page of results. - # Corresponds to the JSON property `nextPageToken` - # @return [String] - attr_accessor :next_page_token - - # The list of associations. - # Corresponds to the JSON property `associations` - # @return [Array] - attr_accessor :associations - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @next_page_token = args[:next_page_token] if args.key?(:next_page_token) - @associations = args[:associations] if args.key?(:associations) - end - end - - # @OutputOnly The reason and details for a disapproval. - class Disapproval - include Google::Apis::Core::Hashable - - # Additional details about the reason for disapproval. - # Corresponds to the JSON property `details` - # @return [Array] - attr_accessor :details - - # The categorized reason for disapproval. - # Corresponds to the JSON property `reason` - # @return [String] - attr_accessor :reason - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @details = args[:details] if args.key?(:details) - @reason = args[:reason] if args.key?(:reason) - end - end - - # A request for stopping notifications for changes to creative Status. - class StopWatchingCreativeRequest - include Google::Apis::Core::Hashable - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - end - end - - # @OutputOnly A representation of the status of an ad in a - # specific context. A context here relates to where something ultimately serves - # (for example, a user or publisher geo, a platform, an HTTPS vs HTTP request, - # or the type of auction). - class ServingRestriction - include Google::Apis::Core::Hashable - - # Any disapprovals bound to this restriction. - # Only present if status=DISAPPROVED. - # Can be used to filter the response of the - # creatives.list - # method. - # Corresponds to the JSON property `disapprovalReasons` - # @return [Array] - attr_accessor :disapproval_reasons - - # The contexts for the restriction. - # Corresponds to the JSON property `contexts` - # @return [Array] - attr_accessor :contexts - - # The status of the creative in this context (for example, it has been - # explicitly disapproved or is pending review). - # Corresponds to the JSON property `status` - # @return [String] - attr_accessor :status - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @disapproval_reasons = args[:disapproval_reasons] if args.key?(:disapproval_reasons) - @contexts = args[:contexts] if args.key?(:contexts) - @status = args[:status] if args.key?(:status) - end - end - - # Represents a whole calendar date, e.g. date of birth. The time of day and - # time zone are either specified elsewhere or are not significant. The date - # is relative to the Proleptic Gregorian Calendar. The day may be 0 to - # represent a year and month where the day is not significant, e.g. credit card - # expiration date. The year may be 0 to represent a month and day independent - # of year, e.g. anniversary date. Related types are google.type.TimeOfDay - # and `google.protobuf.Timestamp`. - class Date - include Google::Apis::Core::Hashable - - # Year of date. Must be from 1 to 9999, or 0 if specifying a date without - # a year. - # Corresponds to the JSON property `year` - # @return [Fixnum] - attr_accessor :year - - # Day of month. Must be from 1 to 31 and valid for the year and month, or 0 - # if specifying a year/month where the day is not significant. - # Corresponds to the JSON property `day` - # @return [Fixnum] - attr_accessor :day - - # Month of year. Must be from 1 to 12. - # Corresponds to the JSON property `month` - # @return [Fixnum] - attr_accessor :month - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @year = args[:year] if args.key?(:year) - @day = args[:day] if args.key?(:day) - @month = args[:month] if args.key?(:month) - end - end - - # A generic empty message that you can re-use to avoid defining duplicated - # empty messages in your APIs. A typical example is to use it as the request - # or the response type of an API method. For instance: - # service Foo ` - # rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty); - # ` - # The JSON representation for `Empty` is empty JSON object ````. - class Empty - include Google::Apis::Core::Hashable - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - end - end - - # A request for watching changes to creative Status. - class WatchCreativeRequest - include Google::Apis::Core::Hashable - - # The Pub/Sub topic to publish notifications to. - # This topic must already exist and must give permission to - # ad-exchange-buyside-reports@google.com to write to the topic. - # This should be the full resource name in - # "projects/`project_id`/topics/`topic_id`" format. - # Corresponds to the JSON property `topic` - # @return [String] - attr_accessor :topic - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @topic = args[:topic] if args.key?(:topic) - end - end - - # @OutputOnly The app type the restriction applies to for mobile device. - class AppContext - include Google::Apis::Core::Hashable - - # The app types this restriction applies to. - # Corresponds to the JSON property `appTypes` - # @return [Array] - attr_accessor :app_types - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @app_types = args[:app_types] if args.key?(:app_types) - end - end - - # - class ListClientsResponse - include Google::Apis::Core::Hashable - - # A token to retrieve the next page of results. - # Pass this value in the - # ListClientsRequest.pageToken - # field in the subsequent call to the - # accounts.clients.list method - # to retrieve the next page of results. - # Corresponds to the JSON property `nextPageToken` - # @return [String] - attr_accessor :next_page_token - - # The returned list of clients. - # Corresponds to the JSON property `clients` - # @return [Array] - attr_accessor :clients - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @next_page_token = args[:next_page_token] if args.key?(:next_page_token) - @clients = args[:clients] if args.key?(:clients) - end - end - - # Native content for a creative. - class NativeContent - include Google::Apis::Core::Hashable - - # A long description of the ad. - # Corresponds to the JSON property `body` - # @return [String] - attr_accessor :body - - # The app rating in the app store. Must be in the range [0-5]. - # Corresponds to the JSON property `starRating` - # @return [Float] - attr_accessor :star_rating - - # The URL to fetch a native video ad. - # Corresponds to the JSON property `videoUrl` - # @return [String] - attr_accessor :video_url - - # The URL that the browser/SDK will load when the user clicks the ad. - # Corresponds to the JSON property `clickLinkUrl` - # @return [String] - attr_accessor :click_link_url - - # An image resource. You may provide a larger image than was requested, - # so long as the aspect ratio is preserved. - # Corresponds to the JSON property `logo` - # @return [Google::Apis::Adexchangebuyer2V2beta1::Image] - attr_accessor :logo - - # The price of the promoted app including currency info. - # Corresponds to the JSON property `priceDisplayText` - # @return [String] - attr_accessor :price_display_text - - # The URL to use for click tracking. - # Corresponds to the JSON property `clickTrackingUrl` - # @return [String] - attr_accessor :click_tracking_url - - # An image resource. You may provide a larger image than was requested, - # so long as the aspect ratio is preserved. - # Corresponds to the JSON property `image` - # @return [Google::Apis::Adexchangebuyer2V2beta1::Image] - attr_accessor :image - - # The name of the advertiser or sponsor, to be displayed in the ad creative. - # Corresponds to the JSON property `advertiserName` - # @return [String] - attr_accessor :advertiser_name - - # The URL to the app store to purchase/download the promoted app. - # Corresponds to the JSON property `storeUrl` - # @return [String] - attr_accessor :store_url - - # A short title for the ad. - # Corresponds to the JSON property `headline` - # @return [String] - attr_accessor :headline - - # An image resource. You may provide a larger image than was requested, - # so long as the aspect ratio is preserved. - # Corresponds to the JSON property `appIcon` - # @return [Google::Apis::Adexchangebuyer2V2beta1::Image] - attr_accessor :app_icon - - # A label for the button that the user is supposed to click. - # Corresponds to the JSON property `callToAction` - # @return [String] - attr_accessor :call_to_action - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @body = args[:body] if args.key?(:body) - @star_rating = args[:star_rating] if args.key?(:star_rating) - @video_url = args[:video_url] if args.key?(:video_url) - @click_link_url = args[:click_link_url] if args.key?(:click_link_url) - @logo = args[:logo] if args.key?(:logo) - @price_display_text = args[:price_display_text] if args.key?(:price_display_text) - @click_tracking_url = args[:click_tracking_url] if args.key?(:click_tracking_url) - @image = args[:image] if args.key?(:image) - @advertiser_name = args[:advertiser_name] if args.key?(:advertiser_name) - @store_url = args[:store_url] if args.key?(:store_url) - @headline = args[:headline] if args.key?(:headline) - @app_icon = args[:app_icon] if args.key?(:app_icon) - @call_to_action = args[:call_to_action] if args.key?(:call_to_action) - end - end - - # @OutputOnly A security context. - class SecurityContext - include Google::Apis::Core::Hashable - - # The security types in this context. - # Corresponds to the JSON property `securities` - # @return [Array] - attr_accessor :securities - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @securities = args[:securities] if args.key?(:securities) - end - end - - # A response for listing creatives. - class ListCreativesResponse - include Google::Apis::Core::Hashable - - # The list of creatives. - # Corresponds to the JSON property `creatives` - # @return [Array] - attr_accessor :creatives - - # A token to retrieve the next page of results. - # Pass this value in the - # ListCreativesRequest.page_token - # field in the subsequent call to `ListCreatives` method to retrieve the next - # page of results. - # Corresponds to the JSON property `nextPageToken` - # @return [String] - attr_accessor :next_page_token - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @creatives = args[:creatives] if args.key?(:creatives) - @next_page_token = args[:next_page_token] if args.key?(:next_page_token) - end - end - - # HTML content for a creative. - class HtmlContent - include Google::Apis::Core::Hashable - - # The height of the HTML snippet in pixels. - # Corresponds to the JSON property `height` - # @return [Fixnum] - attr_accessor :height - - # The width of the HTML snippet in pixels. - # Corresponds to the JSON property `width` - # @return [Fixnum] - attr_accessor :width - - # The HTML snippet that displays the ad when inserted in the web page. - # Corresponds to the JSON property `snippet` - # @return [String] - attr_accessor :snippet - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @height = args[:height] if args.key?(:height) - @width = args[:width] if args.key?(:width) - @snippet = args[:snippet] if args.key?(:snippet) - end - end - - # The serving context for this restriction. - class ServingContext - include Google::Apis::Core::Hashable - - # @OutputOnly The app type the restriction applies to for mobile device. - # Corresponds to the JSON property `appType` - # @return [Google::Apis::Adexchangebuyer2V2beta1::AppContext] - attr_accessor :app_type - - # @OutputOnly A security context. - # Corresponds to the JSON property `securityType` - # @return [Google::Apis::Adexchangebuyer2V2beta1::SecurityContext] - attr_accessor :security_type - - # @OutputOnly The type of platform the restriction applies to. - # Corresponds to the JSON property `platform` - # @return [Google::Apis::Adexchangebuyer2V2beta1::PlatformContext] - attr_accessor :platform - - # @OutputOnly The Geo criteria the restriction applies to. - # Corresponds to the JSON property `location` - # @return [Google::Apis::Adexchangebuyer2V2beta1::LocationContext] - attr_accessor :location - - # @OutputOnly The auction type the restriction applies to. - # Corresponds to the JSON property `auctionType` - # @return [Google::Apis::Adexchangebuyer2V2beta1::AuctionContext] - attr_accessor :auction_type - - # Matches all contexts. - # Corresponds to the JSON property `all` - # @return [String] - attr_accessor :all - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @app_type = args[:app_type] if args.key?(:app_type) - @security_type = args[:security_type] if args.key?(:security_type) - @platform = args[:platform] if args.key?(:platform) - @location = args[:location] if args.key?(:location) - @auction_type = args[:auction_type] if args.key?(:auction_type) - @all = args[:all] if args.key?(:all) - end - end - - # An image resource. You may provide a larger image than was requested, - # so long as the aspect ratio is preserved. - class Image - include Google::Apis::Core::Hashable - - # Image height in pixels. - # Corresponds to the JSON property `height` - # @return [Fixnum] - attr_accessor :height - - # Image width in pixels. - # Corresponds to the JSON property `width` - # @return [Fixnum] - attr_accessor :width - - # The URL of the image. - # Corresponds to the JSON property `url` - # @return [String] - attr_accessor :url - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @height = args[:height] if args.key?(:height) - @width = args[:width] if args.key?(:width) - @url = args[:url] if args.key?(:url) - end - end - - # A specific filtering status and how many times it occurred. - class Reason - include Google::Apis::Core::Hashable - - # The filtering status code. Please refer to the - # [creative-status-codes.txt](https://storage.googleapis.com/adx-rtb- - # dictionaries/creative-status-codes.txt) - # file for different statuses. - # Corresponds to the JSON property `status` - # @return [Fixnum] - attr_accessor :status - - # The number of times the creative was filtered for the status. The - # count is aggregated across all publishers on the exchange. - # Corresponds to the JSON property `count` - # @return [String] - attr_accessor :count - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @status = args[:status] if args.key?(:status) - @count = args[:count] if args.key?(:count) - end - end - # Video content for a creative. class VideoContent include Google::Apis::Core::Hashable @@ -1000,13 +58,13 @@ module Google # that the invited user is associated with. # The value of this field is ignored in create operations. # Corresponds to the JSON property `clientAccountId` - # @return [String] + # @return [Fixnum] attr_accessor :client_account_id # The unique numerical ID of the invitation that is sent to the user. # The value of this field is ignored in create operations. # Corresponds to the JSON property `invitationId` - # @return [String] + # @return [Fixnum] attr_accessor :invitation_id def initialize(**args) @@ -1157,14 +215,6 @@ module Google class ClientUser include Google::Apis::Core::Hashable - # Numerical account ID of the client buyer - # with which the user is associated; the - # buyer must be a client of the current sponsor buyer. - # The value of this field is ignored in an update operation. - # Corresponds to the JSON property `clientAccountId` - # @return [String] - attr_accessor :client_account_id - # The status of the client user. # Corresponds to the JSON property `status` # @return [String] @@ -1174,7 +224,7 @@ module Google # that has accepted an invitation. # The value of this field is ignored in an update operation. # Corresponds to the JSON property `userId` - # @return [String] + # @return [Fixnum] attr_accessor :user_id # User's email address. The value of this field @@ -1183,16 +233,966 @@ module Google # @return [String] attr_accessor :email + # Numerical account ID of the client buyer + # with which the user is associated; the + # buyer must be a client of the current sponsor buyer. + # The value of this field is ignored in an update operation. + # Corresponds to the JSON property `clientAccountId` + # @return [Fixnum] + attr_accessor :client_account_id + def initialize(**args) update!(**args) end # Update properties of this object def update!(**args) - @client_account_id = args[:client_account_id] if args.key?(:client_account_id) @status = args[:status] if args.key?(:status) @user_id = args[:user_id] if args.key?(:user_id) @email = args[:email] if args.key?(:email) + @client_account_id = args[:client_account_id] if args.key?(:client_account_id) + end + end + + # The association between a creative and a deal. + class CreativeDealAssociation + include Google::Apis::Core::Hashable + + # The ID of the creative associated with the deal. + # Corresponds to the JSON property `creativeId` + # @return [String] + attr_accessor :creative_id + + # The externalDealId for the deal associated with the creative. + # Corresponds to the JSON property `dealsId` + # @return [String] + attr_accessor :deals_id + + # The account the creative belongs to. + # Corresponds to the JSON property `accountId` + # @return [String] + attr_accessor :account_id + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @creative_id = args[:creative_id] if args.key?(:creative_id) + @deals_id = args[:deals_id] if args.key?(:deals_id) + @account_id = args[:account_id] if args.key?(:account_id) + end + end + + # @OutputOnly Filtering reasons for this creative during a period of a single + # day (from midnight to midnight Pacific). + class FilteringStats + include Google::Apis::Core::Hashable + + # The set of filtering reasons for this date. + # Corresponds to the JSON property `reasons` + # @return [Array] + attr_accessor :reasons + + # Represents a whole calendar date, e.g. date of birth. The time of day and + # time zone are either specified elsewhere or are not significant. The date + # is relative to the Proleptic Gregorian Calendar. The day may be 0 to + # represent a year and month where the day is not significant, e.g. credit card + # expiration date. The year may be 0 to represent a month and day independent + # of year, e.g. anniversary date. Related types are google.type.TimeOfDay + # and `google.protobuf.Timestamp`. + # Corresponds to the JSON property `date` + # @return [Google::Apis::Adexchangebuyer2V2beta1::Date] + attr_accessor :date + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @reasons = args[:reasons] if args.key?(:reasons) + @date = args[:date] if args.key?(:date) + end + end + + # A creative and its classification data. + class Creative + include Google::Apis::Core::Hashable + + # The set of destination URLs for the creative. + # Corresponds to the JSON property `clickThroughUrls` + # @return [Array] + attr_accessor :click_through_urls + + # @OutputOnly Detected sensitive categories, if any. + # See the ad-sensitive-categories.txt file in the technical documentation for + # a list of IDs. You should use these IDs along with the + # excluded-sensitive-category field in the bid request to filter your bids. + # Corresponds to the JSON property `detectedSensitiveCategories` + # @return [Array] + attr_accessor :detected_sensitive_categories + + # The link to AdChoices destination page. + # Corresponds to the JSON property `adChoicesDestinationUrl` + # @return [String] + attr_accessor :ad_choices_destination_url + + # All restricted categories for the ads that may be shown from this creative. + # Corresponds to the JSON property `restrictedCategories` + # @return [Array] + attr_accessor :restricted_categories + + # @OutputOnly Shows any corrections that were applied to this creative. + # Corresponds to the JSON property `corrections` + # @return [Array] + attr_accessor :corrections + + # @OutputOnly The version of this creative. + # Corresponds to the JSON property `version` + # @return [Fixnum] + attr_accessor :version + + # All vendor IDs for the ads that may be shown from this creative. + # See https://storage.googleapis.com/adx-rtb-dictionaries/vendors.txt + # for possible values. + # Corresponds to the JSON property `vendorIds` + # @return [Array] + attr_accessor :vendor_ids + + # The set of URLs to be called to record an impression. + # Corresponds to the JSON property `impressionTrackingUrls` + # @return [Array] + attr_accessor :impression_tracking_urls + + # HTML content for a creative. + # Corresponds to the JSON property `html` + # @return [Google::Apis::Adexchangebuyer2V2beta1::HtmlContent] + attr_accessor :html + + # @OutputOnly The top-level deals status of this creative. + # If disapproved, an entry for 'auctionType=DIRECT_DEALS' (or 'ALL') in + # serving_restrictions will also exist. Note + # that this may be nuanced with other contextual restrictions, in which case, + # it may be preferable to read from serving_restrictions directly. + # Can be used to filter the response of the + # creatives.list + # method. + # Corresponds to the JSON property `dealsStatus` + # @return [String] + attr_accessor :deals_status + + # @OutputOnly Detected product categories, if any. + # See the ad-product-categories.txt file in the technical documentation + # for a list of IDs. + # Corresponds to the JSON property `detectedProductCategories` + # @return [Array] + attr_accessor :detected_product_categories + + # @OutputOnly The top-level open auction status of this creative. + # If disapproved, an entry for 'auctionType = OPEN_AUCTION' (or 'ALL') in + # serving_restrictions will also exist. Note + # that this may be nuanced with other contextual restrictions, in which case, + # it may be preferable to read from serving_restrictions directly. + # Can be used to filter the response of the + # creatives.list + # method. + # Corresponds to the JSON property `openAuctionStatus` + # @return [String] + attr_accessor :open_auction_status + + # The name of the company being advertised in the creative. + # Corresponds to the JSON property `advertiserName` + # @return [String] + attr_accessor :advertiser_name + + # @OutputOnly Detected advertiser IDs, if any. + # Corresponds to the JSON property `detectedAdvertiserIds` + # @return [Array] + attr_accessor :detected_advertiser_ids + + # @OutputOnly + # The detected domains for this creative. + # Corresponds to the JSON property `detectedDomains` + # @return [Array] + attr_accessor :detected_domains + + # @OutputOnly Filtering reasons for this creative during a period of a single + # day (from midnight to midnight Pacific). + # Corresponds to the JSON property `filteringStats` + # @return [Google::Apis::Adexchangebuyer2V2beta1::FilteringStats] + attr_accessor :filtering_stats + + # All attributes for the ads that may be shown from this creative. + # Can be used to filter the response of the + # creatives.list + # method. + # Corresponds to the JSON property `attributes` + # @return [Array] + attr_accessor :attributes + + # @OutputOnly The last update timestamp of the creative via API. + # Corresponds to the JSON property `apiUpdateTime` + # @return [String] + attr_accessor :api_update_time + + # @OutputOnly + # The detected languages for this creative. The order is arbitrary. The codes + # are 2 or 5 characters and are documented at + # https://developers.google.com/adwords/api/docs/appendix/languagecodes. + # Corresponds to the JSON property `detectedLanguages` + # @return [Array] + attr_accessor :detected_languages + + # The buyer-defined creative ID of this creative. + # Can be used to filter the response of the + # creatives.list + # method. + # Corresponds to the JSON property `creativeId` + # @return [String] + attr_accessor :creative_id + + # The account that this creative belongs to. + # Can be used to filter the response of the + # creatives.list + # method. + # Corresponds to the JSON property `accountId` + # @return [String] + attr_accessor :account_id + + # Native content for a creative. + # Corresponds to the JSON property `native` + # @return [Google::Apis::Adexchangebuyer2V2beta1::NativeContent] + attr_accessor :native + + # @OutputOnly The granular status of this ad in specific contexts. + # A context here relates to where something ultimately serves (for example, + # a physical location, a platform, an HTTPS vs HTTP request, or the type + # of auction). + # Corresponds to the JSON property `servingRestrictions` + # @return [Array] + attr_accessor :serving_restrictions + + # Video content for a creative. + # Corresponds to the JSON property `video` + # @return [Google::Apis::Adexchangebuyer2V2beta1::VideoContent] + attr_accessor :video + + # The agency ID for this creative. + # Corresponds to the JSON property `agencyId` + # @return [Fixnum] + attr_accessor :agency_id + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @click_through_urls = args[:click_through_urls] if args.key?(:click_through_urls) + @detected_sensitive_categories = args[:detected_sensitive_categories] if args.key?(:detected_sensitive_categories) + @ad_choices_destination_url = args[:ad_choices_destination_url] if args.key?(:ad_choices_destination_url) + @restricted_categories = args[:restricted_categories] if args.key?(:restricted_categories) + @corrections = args[:corrections] if args.key?(:corrections) + @version = args[:version] if args.key?(:version) + @vendor_ids = args[:vendor_ids] if args.key?(:vendor_ids) + @impression_tracking_urls = args[:impression_tracking_urls] if args.key?(:impression_tracking_urls) + @html = args[:html] if args.key?(:html) + @deals_status = args[:deals_status] if args.key?(:deals_status) + @detected_product_categories = args[:detected_product_categories] if args.key?(:detected_product_categories) + @open_auction_status = args[:open_auction_status] if args.key?(:open_auction_status) + @advertiser_name = args[:advertiser_name] if args.key?(:advertiser_name) + @detected_advertiser_ids = args[:detected_advertiser_ids] if args.key?(:detected_advertiser_ids) + @detected_domains = args[:detected_domains] if args.key?(:detected_domains) + @filtering_stats = args[:filtering_stats] if args.key?(:filtering_stats) + @attributes = args[:attributes] if args.key?(:attributes) + @api_update_time = args[:api_update_time] if args.key?(:api_update_time) + @detected_languages = args[:detected_languages] if args.key?(:detected_languages) + @creative_id = args[:creative_id] if args.key?(:creative_id) + @account_id = args[:account_id] if args.key?(:account_id) + @native = args[:native] if args.key?(:native) + @serving_restrictions = args[:serving_restrictions] if args.key?(:serving_restrictions) + @video = args[:video] if args.key?(:video) + @agency_id = args[:agency_id] if args.key?(:agency_id) + end + end + + # A request for removing the association between a deal and a creative. + class RemoveDealAssociationRequest + include Google::Apis::Core::Hashable + + # The association between a creative and a deal. + # Corresponds to the JSON property `association` + # @return [Google::Apis::Adexchangebuyer2V2beta1::CreativeDealAssociation] + attr_accessor :association + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @association = args[:association] if args.key?(:association) + end + end + + # A client resource represents a client buyer—an agency, + # a brand, or an advertiser customer of the sponsor buyer. + # Users associated with the client buyer have restricted access to + # the Ad Exchange Marketplace and certain other sections + # of the Ad Exchange Buyer UI based on the role + # granted to the client buyer. + # All fields are required unless otherwise specified. + class Client + include Google::Apis::Core::Hashable + + # The type of the client entity: `ADVERTISER`, `BRAND`, or `AGENCY`. + # Corresponds to the JSON property `entityType` + # @return [String] + attr_accessor :entity_type + + # Name used to represent this client to publishers. + # You may have multiple clients that map to the same entity, + # but for each client the combination of `clientName` and entity + # must be unique. + # You can specify this field as empty. + # Corresponds to the JSON property `clientName` + # @return [String] + attr_accessor :client_name + + # The role which is assigned to the client buyer. Each role implies a set of + # permissions granted to the client. Must be one of `CLIENT_DEAL_VIEWER`, + # `CLIENT_DEAL_NEGOTIATOR` or `CLIENT_DEAL_APPROVER`. + # Corresponds to the JSON property `role` + # @return [String] + attr_accessor :role + + # Whether the client buyer will be visible to sellers. + # Corresponds to the JSON property `visibleToSeller` + # @return [Boolean] + attr_accessor :visible_to_seller + alias_method :visible_to_seller?, :visible_to_seller + + # Numerical identifier of the client entity. + # The entity can be an advertiser, a brand, or an agency. + # This identifier is unique among all the entities with the same type. + # A list of all known advertisers with their identifiers is available in the + # [advertisers.txt](https://storage.googleapis.com/adx-rtb-dictionaries/ + # advertisers.txt) + # file. + # A list of all known brands with their identifiers is available in the + # [brands.txt](https://storage.googleapis.com/adx-rtb-dictionaries/brands.txt) + # file. + # A list of all known agencies with their identifiers is available in the + # [agencies.txt](https://storage.googleapis.com/adx-rtb-dictionaries/agencies. + # txt) + # file. + # Corresponds to the JSON property `entityId` + # @return [Fixnum] + attr_accessor :entity_id + + # The globally-unique numerical ID of the client. + # The value of this field is ignored in create and update operations. + # Corresponds to the JSON property `clientAccountId` + # @return [Fixnum] + attr_accessor :client_account_id + + # The name of the entity. This field is automatically fetched based on + # the type and ID. + # The value of this field is ignored in create and update operations. + # Corresponds to the JSON property `entityName` + # @return [String] + attr_accessor :entity_name + + # The status of the client buyer. + # Corresponds to the JSON property `status` + # @return [String] + attr_accessor :status + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @entity_type = args[:entity_type] if args.key?(:entity_type) + @client_name = args[:client_name] if args.key?(:client_name) + @role = args[:role] if args.key?(:role) + @visible_to_seller = args[:visible_to_seller] if args.key?(:visible_to_seller) + @entity_id = args[:entity_id] if args.key?(:entity_id) + @client_account_id = args[:client_account_id] if args.key?(:client_account_id) + @entity_name = args[:entity_name] if args.key?(:entity_name) + @status = args[:status] if args.key?(:status) + end + end + + # @OutputOnly Shows any corrections that were applied to this creative. + class Correction + include Google::Apis::Core::Hashable + + # The type of correction that was applied to the creative. + # Corresponds to the JSON property `type` + # @return [String] + attr_accessor :type + + # The contexts for the correction. + # Corresponds to the JSON property `contexts` + # @return [Array] + attr_accessor :contexts + + # Additional details about what was corrected. + # Corresponds to the JSON property `details` + # @return [Array] + attr_accessor :details + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @type = args[:type] if args.key?(:type) + @contexts = args[:contexts] if args.key?(:contexts) + @details = args[:details] if args.key?(:details) + end + end + + # A response for listing creative and deal associations + class ListDealAssociationsResponse + include Google::Apis::Core::Hashable + + # The list of associations. + # Corresponds to the JSON property `associations` + # @return [Array] + attr_accessor :associations + + # A token to retrieve the next page of results. + # Pass this value in the + # ListDealAssociationsRequest.page_token + # field in the subsequent call to 'ListDealAssociation' method to retrieve + # the next page of results. + # Corresponds to the JSON property `nextPageToken` + # @return [String] + attr_accessor :next_page_token + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @associations = args[:associations] if args.key?(:associations) + @next_page_token = args[:next_page_token] if args.key?(:next_page_token) + end + end + + # A request for associating a deal and a creative. + class AddDealAssociationRequest + include Google::Apis::Core::Hashable + + # The association between a creative and a deal. + # Corresponds to the JSON property `association` + # @return [Google::Apis::Adexchangebuyer2V2beta1::CreativeDealAssociation] + attr_accessor :association + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @association = args[:association] if args.key?(:association) + end + end + + # @OutputOnly The reason and details for a disapproval. + class Disapproval + include Google::Apis::Core::Hashable + + # Additional details about the reason for disapproval. + # Corresponds to the JSON property `details` + # @return [Array] + attr_accessor :details + + # The categorized reason for disapproval. + # Corresponds to the JSON property `reason` + # @return [String] + attr_accessor :reason + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @details = args[:details] if args.key?(:details) + @reason = args[:reason] if args.key?(:reason) + end + end + + # A request for stopping notifications for changes to creative Status. + class StopWatchingCreativeRequest + include Google::Apis::Core::Hashable + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + end + end + + # @OutputOnly A representation of the status of an ad in a + # specific context. A context here relates to where something ultimately serves + # (for example, a user or publisher geo, a platform, an HTTPS vs HTTP request, + # or the type of auction). + class ServingRestriction + include Google::Apis::Core::Hashable + + # The status of the creative in this context (for example, it has been + # explicitly disapproved or is pending review). + # Corresponds to the JSON property `status` + # @return [String] + attr_accessor :status + + # Any disapprovals bound to this restriction. + # Only present if status=DISAPPROVED. + # Can be used to filter the response of the + # creatives.list + # method. + # Corresponds to the JSON property `disapprovalReasons` + # @return [Array] + attr_accessor :disapproval_reasons + + # The contexts for the restriction. + # Corresponds to the JSON property `contexts` + # @return [Array] + attr_accessor :contexts + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @status = args[:status] if args.key?(:status) + @disapproval_reasons = args[:disapproval_reasons] if args.key?(:disapproval_reasons) + @contexts = args[:contexts] if args.key?(:contexts) + end + end + + # Represents a whole calendar date, e.g. date of birth. The time of day and + # time zone are either specified elsewhere or are not significant. The date + # is relative to the Proleptic Gregorian Calendar. The day may be 0 to + # represent a year and month where the day is not significant, e.g. credit card + # expiration date. The year may be 0 to represent a month and day independent + # of year, e.g. anniversary date. Related types are google.type.TimeOfDay + # and `google.protobuf.Timestamp`. + class Date + include Google::Apis::Core::Hashable + + # Year of date. Must be from 1 to 9999, or 0 if specifying a date without + # a year. + # Corresponds to the JSON property `year` + # @return [Fixnum] + attr_accessor :year + + # Day of month. Must be from 1 to 31 and valid for the year and month, or 0 + # if specifying a year/month where the day is not significant. + # Corresponds to the JSON property `day` + # @return [Fixnum] + attr_accessor :day + + # Month of year. Must be from 1 to 12. + # Corresponds to the JSON property `month` + # @return [Fixnum] + attr_accessor :month + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @year = args[:year] if args.key?(:year) + @day = args[:day] if args.key?(:day) + @month = args[:month] if args.key?(:month) + end + end + + # A generic empty message that you can re-use to avoid defining duplicated + # empty messages in your APIs. A typical example is to use it as the request + # or the response type of an API method. For instance: + # service Foo ` + # rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty); + # ` + # The JSON representation for `Empty` is empty JSON object ````. + class Empty + include Google::Apis::Core::Hashable + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + end + end + + # A request for watching changes to creative Status. + class WatchCreativeRequest + include Google::Apis::Core::Hashable + + # The Pub/Sub topic to publish notifications to. + # This topic must already exist and must give permission to + # ad-exchange-buyside-reports@google.com to write to the topic. + # This should be the full resource name in + # "projects/`project_id`/topics/`topic_id`" format. + # Corresponds to the JSON property `topic` + # @return [String] + attr_accessor :topic + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @topic = args[:topic] if args.key?(:topic) + end + end + + # @OutputOnly The app type the restriction applies to for mobile device. + class AppContext + include Google::Apis::Core::Hashable + + # The app types this restriction applies to. + # Corresponds to the JSON property `appTypes` + # @return [Array] + attr_accessor :app_types + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @app_types = args[:app_types] if args.key?(:app_types) + end + end + + # Native content for a creative. + class NativeContent + include Google::Apis::Core::Hashable + + # An image resource. You may provide a larger image than was requested, + # so long as the aspect ratio is preserved. + # Corresponds to the JSON property `image` + # @return [Google::Apis::Adexchangebuyer2V2beta1::Image] + attr_accessor :image + + # The URL to use for click tracking. + # Corresponds to the JSON property `clickTrackingUrl` + # @return [String] + attr_accessor :click_tracking_url + + # The name of the advertiser or sponsor, to be displayed in the ad creative. + # Corresponds to the JSON property `advertiserName` + # @return [String] + attr_accessor :advertiser_name + + # The URL to the app store to purchase/download the promoted app. + # Corresponds to the JSON property `storeUrl` + # @return [String] + attr_accessor :store_url + + # A short title for the ad. + # Corresponds to the JSON property `headline` + # @return [String] + attr_accessor :headline + + # An image resource. You may provide a larger image than was requested, + # so long as the aspect ratio is preserved. + # Corresponds to the JSON property `appIcon` + # @return [Google::Apis::Adexchangebuyer2V2beta1::Image] + attr_accessor :app_icon + + # A label for the button that the user is supposed to click. + # Corresponds to the JSON property `callToAction` + # @return [String] + attr_accessor :call_to_action + + # A long description of the ad. + # Corresponds to the JSON property `body` + # @return [String] + attr_accessor :body + + # The app rating in the app store. Must be in the range [0-5]. + # Corresponds to the JSON property `starRating` + # @return [Float] + attr_accessor :star_rating + + # The URL to fetch a native video ad. + # Corresponds to the JSON property `videoUrl` + # @return [String] + attr_accessor :video_url + + # The URL that the browser/SDK will load when the user clicks the ad. + # Corresponds to the JSON property `clickLinkUrl` + # @return [String] + attr_accessor :click_link_url + + # An image resource. You may provide a larger image than was requested, + # so long as the aspect ratio is preserved. + # Corresponds to the JSON property `logo` + # @return [Google::Apis::Adexchangebuyer2V2beta1::Image] + attr_accessor :logo + + # The price of the promoted app including currency info. + # Corresponds to the JSON property `priceDisplayText` + # @return [String] + attr_accessor :price_display_text + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @image = args[:image] if args.key?(:image) + @click_tracking_url = args[:click_tracking_url] if args.key?(:click_tracking_url) + @advertiser_name = args[:advertiser_name] if args.key?(:advertiser_name) + @store_url = args[:store_url] if args.key?(:store_url) + @headline = args[:headline] if args.key?(:headline) + @app_icon = args[:app_icon] if args.key?(:app_icon) + @call_to_action = args[:call_to_action] if args.key?(:call_to_action) + @body = args[:body] if args.key?(:body) + @star_rating = args[:star_rating] if args.key?(:star_rating) + @video_url = args[:video_url] if args.key?(:video_url) + @click_link_url = args[:click_link_url] if args.key?(:click_link_url) + @logo = args[:logo] if args.key?(:logo) + @price_display_text = args[:price_display_text] if args.key?(:price_display_text) + end + end + + # + class ListClientsResponse + include Google::Apis::Core::Hashable + + # A token to retrieve the next page of results. + # Pass this value in the + # ListClientsRequest.pageToken + # field in the subsequent call to the + # accounts.clients.list method + # to retrieve the next page of results. + # Corresponds to the JSON property `nextPageToken` + # @return [String] + attr_accessor :next_page_token + + # The returned list of clients. + # Corresponds to the JSON property `clients` + # @return [Array] + attr_accessor :clients + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @next_page_token = args[:next_page_token] if args.key?(:next_page_token) + @clients = args[:clients] if args.key?(:clients) + end + end + + # @OutputOnly A security context. + class SecurityContext + include Google::Apis::Core::Hashable + + # The security types in this context. + # Corresponds to the JSON property `securities` + # @return [Array] + attr_accessor :securities + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @securities = args[:securities] if args.key?(:securities) + end + end + + # HTML content for a creative. + class HtmlContent + include Google::Apis::Core::Hashable + + # The height of the HTML snippet in pixels. + # Corresponds to the JSON property `height` + # @return [Fixnum] + attr_accessor :height + + # The width of the HTML snippet in pixels. + # Corresponds to the JSON property `width` + # @return [Fixnum] + attr_accessor :width + + # The HTML snippet that displays the ad when inserted in the web page. + # Corresponds to the JSON property `snippet` + # @return [String] + attr_accessor :snippet + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @height = args[:height] if args.key?(:height) + @width = args[:width] if args.key?(:width) + @snippet = args[:snippet] if args.key?(:snippet) + end + end + + # A response for listing creatives. + class ListCreativesResponse + include Google::Apis::Core::Hashable + + # The list of creatives. + # Corresponds to the JSON property `creatives` + # @return [Array] + attr_accessor :creatives + + # A token to retrieve the next page of results. + # Pass this value in the + # ListCreativesRequest.page_token + # field in the subsequent call to `ListCreatives` method to retrieve the next + # page of results. + # Corresponds to the JSON property `nextPageToken` + # @return [String] + attr_accessor :next_page_token + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @creatives = args[:creatives] if args.key?(:creatives) + @next_page_token = args[:next_page_token] if args.key?(:next_page_token) + end + end + + # The serving context for this restriction. + class ServingContext + include Google::Apis::Core::Hashable + + # @OutputOnly The Geo criteria the restriction applies to. + # Corresponds to the JSON property `location` + # @return [Google::Apis::Adexchangebuyer2V2beta1::LocationContext] + attr_accessor :location + + # @OutputOnly The auction type the restriction applies to. + # Corresponds to the JSON property `auctionType` + # @return [Google::Apis::Adexchangebuyer2V2beta1::AuctionContext] + attr_accessor :auction_type + + # Matches all contexts. + # Corresponds to the JSON property `all` + # @return [String] + attr_accessor :all + + # @OutputOnly The app type the restriction applies to for mobile device. + # Corresponds to the JSON property `appType` + # @return [Google::Apis::Adexchangebuyer2V2beta1::AppContext] + attr_accessor :app_type + + # @OutputOnly A security context. + # Corresponds to the JSON property `securityType` + # @return [Google::Apis::Adexchangebuyer2V2beta1::SecurityContext] + attr_accessor :security_type + + # @OutputOnly The type of platform the restriction applies to. + # Corresponds to the JSON property `platform` + # @return [Google::Apis::Adexchangebuyer2V2beta1::PlatformContext] + attr_accessor :platform + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @location = args[:location] if args.key?(:location) + @auction_type = args[:auction_type] if args.key?(:auction_type) + @all = args[:all] if args.key?(:all) + @app_type = args[:app_type] if args.key?(:app_type) + @security_type = args[:security_type] if args.key?(:security_type) + @platform = args[:platform] if args.key?(:platform) + end + end + + # An image resource. You may provide a larger image than was requested, + # so long as the aspect ratio is preserved. + class Image + include Google::Apis::Core::Hashable + + # Image width in pixels. + # Corresponds to the JSON property `width` + # @return [Fixnum] + attr_accessor :width + + # The URL of the image. + # Corresponds to the JSON property `url` + # @return [String] + attr_accessor :url + + # Image height in pixels. + # Corresponds to the JSON property `height` + # @return [Fixnum] + attr_accessor :height + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @width = args[:width] if args.key?(:width) + @url = args[:url] if args.key?(:url) + @height = args[:height] if args.key?(:height) + end + end + + # A specific filtering status and how many times it occurred. + class Reason + include Google::Apis::Core::Hashable + + # The filtering status code. Please refer to the + # [creative-status-codes.txt](https://storage.googleapis.com/adx-rtb- + # dictionaries/creative-status-codes.txt) + # file for different statuses. + # Corresponds to the JSON property `status` + # @return [Fixnum] + attr_accessor :status + + # The number of times the creative was filtered for the status. The + # count is aggregated across all publishers on the exchange. + # Corresponds to the JSON property `count` + # @return [Fixnum] + attr_accessor :count + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @status = args[:status] if args.key?(:status) + @count = args[:count] if args.key?(:count) end end end diff --git a/generated/google/apis/adexchangebuyer2_v2beta1/representations.rb b/generated/google/apis/adexchangebuyer2_v2beta1/representations.rb index 74da5feff..4de3fe299 100644 --- a/generated/google/apis/adexchangebuyer2_v2beta1/representations.rb +++ b/generated/google/apis/adexchangebuyer2_v2beta1/representations.rb @@ -22,144 +22,6 @@ module Google module Apis module Adexchangebuyer2V2beta1 - class CreativeDealAssociation - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class Creative - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class FilteringStats - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class RemoveDealAssociationRequest - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class Client - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class Correction - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class AddDealAssociationRequest - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class ListDealAssociationsResponse - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class Disapproval - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class StopWatchingCreativeRequest - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class ServingRestriction - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class Date - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class Empty - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class WatchCreativeRequest - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class AppContext - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class ListClientsResponse - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class NativeContent - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class SecurityContext - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class ListCreativesResponse - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class HtmlContent - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class ServingContext - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class Image - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class Reason - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - class VideoContent class Representation < Google::Apis::Core::JsonRepresentation; end @@ -209,252 +71,141 @@ module Google end class CreativeDealAssociation - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :deals_id, as: 'dealsId' - property :account_id, as: 'accountId' - property :creative_id, as: 'creativeId' - end - end + class Representation < Google::Apis::Core::JsonRepresentation; end - class Creative - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :account_id, as: 'accountId' - property :native, as: 'native', class: Google::Apis::Adexchangebuyer2V2beta1::NativeContent, decorator: Google::Apis::Adexchangebuyer2V2beta1::NativeContent::Representation - - collection :serving_restrictions, as: 'servingRestrictions', class: Google::Apis::Adexchangebuyer2V2beta1::ServingRestriction, decorator: Google::Apis::Adexchangebuyer2V2beta1::ServingRestriction::Representation - - property :video, as: 'video', class: Google::Apis::Adexchangebuyer2V2beta1::VideoContent, decorator: Google::Apis::Adexchangebuyer2V2beta1::VideoContent::Representation - - property :agency_id, as: 'agencyId' - collection :click_through_urls, as: 'clickThroughUrls' - property :ad_choices_destination_url, as: 'adChoicesDestinationUrl' - collection :detected_sensitive_categories, as: 'detectedSensitiveCategories' - collection :restricted_categories, as: 'restrictedCategories' - collection :corrections, as: 'corrections', class: Google::Apis::Adexchangebuyer2V2beta1::Correction, decorator: Google::Apis::Adexchangebuyer2V2beta1::Correction::Representation - - property :version, as: 'version' - collection :vendor_ids, as: 'vendorIds' - collection :impression_tracking_urls, as: 'impressionTrackingUrls' - property :html, as: 'html', class: Google::Apis::Adexchangebuyer2V2beta1::HtmlContent, decorator: Google::Apis::Adexchangebuyer2V2beta1::HtmlContent::Representation - - collection :detected_product_categories, as: 'detectedProductCategories' - property :deals_status, as: 'dealsStatus' - property :open_auction_status, as: 'openAuctionStatus' - property :advertiser_name, as: 'advertiserName' - collection :detected_advertiser_ids, as: 'detectedAdvertiserIds' - collection :detected_domains, as: 'detectedDomains' - property :filtering_stats, as: 'filteringStats', class: Google::Apis::Adexchangebuyer2V2beta1::FilteringStats, decorator: Google::Apis::Adexchangebuyer2V2beta1::FilteringStats::Representation - - collection :attributes, as: 'attributes' - property :api_update_time, as: 'apiUpdateTime' - collection :detected_languages, as: 'detectedLanguages' - property :creative_id, as: 'creativeId' - end + include Google::Apis::Core::JsonObjectSupport end class FilteringStats - # @private - class Representation < Google::Apis::Core::JsonRepresentation - collection :reasons, as: 'reasons', class: Google::Apis::Adexchangebuyer2V2beta1::Reason, decorator: Google::Apis::Adexchangebuyer2V2beta1::Reason::Representation + class Representation < Google::Apis::Core::JsonRepresentation; end - property :date, as: 'date', class: Google::Apis::Adexchangebuyer2V2beta1::Date, decorator: Google::Apis::Adexchangebuyer2V2beta1::Date::Representation + include Google::Apis::Core::JsonObjectSupport + end - end + class Creative + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class RemoveDealAssociationRequest - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :association, as: 'association', class: Google::Apis::Adexchangebuyer2V2beta1::CreativeDealAssociation, decorator: Google::Apis::Adexchangebuyer2V2beta1::CreativeDealAssociation::Representation + class Representation < Google::Apis::Core::JsonRepresentation; end - end + include Google::Apis::Core::JsonObjectSupport end class Client - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :visible_to_seller, as: 'visibleToSeller' - property :entity_id, as: 'entityId' - property :client_account_id, as: 'clientAccountId' - property :entity_name, as: 'entityName' - property :status, as: 'status' - property :entity_type, as: 'entityType' - property :client_name, as: 'clientName' - property :role, as: 'role' - end + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class Correction - # @private - class Representation < Google::Apis::Core::JsonRepresentation - collection :details, as: 'details' - property :type, as: 'type' - collection :contexts, as: 'contexts', class: Google::Apis::Adexchangebuyer2V2beta1::ServingContext, decorator: Google::Apis::Adexchangebuyer2V2beta1::ServingContext::Representation + class Representation < Google::Apis::Core::JsonRepresentation; end - end - end - - class AddDealAssociationRequest - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :association, as: 'association', class: Google::Apis::Adexchangebuyer2V2beta1::CreativeDealAssociation, decorator: Google::Apis::Adexchangebuyer2V2beta1::CreativeDealAssociation::Representation - - end + include Google::Apis::Core::JsonObjectSupport end class ListDealAssociationsResponse - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :next_page_token, as: 'nextPageToken' - collection :associations, as: 'associations', class: Google::Apis::Adexchangebuyer2V2beta1::CreativeDealAssociation, decorator: Google::Apis::Adexchangebuyer2V2beta1::CreativeDealAssociation::Representation + class Representation < Google::Apis::Core::JsonRepresentation; end - end + include Google::Apis::Core::JsonObjectSupport + end + + class AddDealAssociationRequest + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class Disapproval - # @private - class Representation < Google::Apis::Core::JsonRepresentation - collection :details, as: 'details' - property :reason, as: 'reason' - end + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class StopWatchingCreativeRequest - # @private - class Representation < Google::Apis::Core::JsonRepresentation - end + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class ServingRestriction - # @private - class Representation < Google::Apis::Core::JsonRepresentation - collection :disapproval_reasons, as: 'disapprovalReasons', class: Google::Apis::Adexchangebuyer2V2beta1::Disapproval, decorator: Google::Apis::Adexchangebuyer2V2beta1::Disapproval::Representation + class Representation < Google::Apis::Core::JsonRepresentation; end - collection :contexts, as: 'contexts', class: Google::Apis::Adexchangebuyer2V2beta1::ServingContext, decorator: Google::Apis::Adexchangebuyer2V2beta1::ServingContext::Representation - - property :status, as: 'status' - end + include Google::Apis::Core::JsonObjectSupport end class Date - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :year, as: 'year' - property :day, as: 'day' - property :month, as: 'month' - end + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class Empty - # @private - class Representation < Google::Apis::Core::JsonRepresentation - end + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class WatchCreativeRequest - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :topic, as: 'topic' - end + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class AppContext - # @private - class Representation < Google::Apis::Core::JsonRepresentation - collection :app_types, as: 'appTypes' - end - end + class Representation < Google::Apis::Core::JsonRepresentation; end - class ListClientsResponse - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :next_page_token, as: 'nextPageToken' - collection :clients, as: 'clients', class: Google::Apis::Adexchangebuyer2V2beta1::Client, decorator: Google::Apis::Adexchangebuyer2V2beta1::Client::Representation - - end + include Google::Apis::Core::JsonObjectSupport end class NativeContent - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :body, as: 'body' - property :star_rating, as: 'starRating' - property :video_url, as: 'videoUrl' - property :click_link_url, as: 'clickLinkUrl' - property :logo, as: 'logo', class: Google::Apis::Adexchangebuyer2V2beta1::Image, decorator: Google::Apis::Adexchangebuyer2V2beta1::Image::Representation + class Representation < Google::Apis::Core::JsonRepresentation; end - property :price_display_text, as: 'priceDisplayText' - property :click_tracking_url, as: 'clickTrackingUrl' - property :image, as: 'image', class: Google::Apis::Adexchangebuyer2V2beta1::Image, decorator: Google::Apis::Adexchangebuyer2V2beta1::Image::Representation + include Google::Apis::Core::JsonObjectSupport + end - property :advertiser_name, as: 'advertiserName' - property :store_url, as: 'storeUrl' - property :headline, as: 'headline' - property :app_icon, as: 'appIcon', class: Google::Apis::Adexchangebuyer2V2beta1::Image, decorator: Google::Apis::Adexchangebuyer2V2beta1::Image::Representation + class ListClientsResponse + class Representation < Google::Apis::Core::JsonRepresentation; end - property :call_to_action, as: 'callToAction' - end + include Google::Apis::Core::JsonObjectSupport end class SecurityContext - # @private - class Representation < Google::Apis::Core::JsonRepresentation - collection :securities, as: 'securities' - end - end + class Representation < Google::Apis::Core::JsonRepresentation; end - class ListCreativesResponse - # @private - class Representation < Google::Apis::Core::JsonRepresentation - collection :creatives, as: 'creatives', class: Google::Apis::Adexchangebuyer2V2beta1::Creative, decorator: Google::Apis::Adexchangebuyer2V2beta1::Creative::Representation - - property :next_page_token, as: 'nextPageToken' - end + include Google::Apis::Core::JsonObjectSupport end class HtmlContent - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :height, as: 'height' - property :width, as: 'width' - property :snippet, as: 'snippet' - end + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class ListCreativesResponse + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class ServingContext - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :app_type, as: 'appType', class: Google::Apis::Adexchangebuyer2V2beta1::AppContext, decorator: Google::Apis::Adexchangebuyer2V2beta1::AppContext::Representation + class Representation < Google::Apis::Core::JsonRepresentation; end - property :security_type, as: 'securityType', class: Google::Apis::Adexchangebuyer2V2beta1::SecurityContext, decorator: Google::Apis::Adexchangebuyer2V2beta1::SecurityContext::Representation - - property :platform, as: 'platform', class: Google::Apis::Adexchangebuyer2V2beta1::PlatformContext, decorator: Google::Apis::Adexchangebuyer2V2beta1::PlatformContext::Representation - - property :location, as: 'location', class: Google::Apis::Adexchangebuyer2V2beta1::LocationContext, decorator: Google::Apis::Adexchangebuyer2V2beta1::LocationContext::Representation - - property :auction_type, as: 'auctionType', class: Google::Apis::Adexchangebuyer2V2beta1::AuctionContext, decorator: Google::Apis::Adexchangebuyer2V2beta1::AuctionContext::Representation - - property :all, as: 'all' - end + include Google::Apis::Core::JsonObjectSupport end class Image - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :height, as: 'height' - property :width, as: 'width' - property :url, as: 'url' - end + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class Reason - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :status, as: 'status' - property :count, as: 'count' - end + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class VideoContent @@ -468,8 +219,8 @@ module Google # @private class Representation < Google::Apis::Core::JsonRepresentation property :email, as: 'email' - property :client_account_id, as: 'clientAccountId' - property :invitation_id, as: 'invitationId' + property :client_account_id, :numeric_string => true, as: 'clientAccountId' + property :invitation_id, :numeric_string => true, as: 'invitationId' end end @@ -515,10 +266,259 @@ module Google class ClientUser # @private class Representation < Google::Apis::Core::JsonRepresentation - property :client_account_id, as: 'clientAccountId' property :status, as: 'status' - property :user_id, as: 'userId' + property :user_id, :numeric_string => true, as: 'userId' property :email, as: 'email' + property :client_account_id, :numeric_string => true, as: 'clientAccountId' + end + end + + class CreativeDealAssociation + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :creative_id, as: 'creativeId' + property :deals_id, as: 'dealsId' + property :account_id, as: 'accountId' + end + end + + class FilteringStats + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :reasons, as: 'reasons', class: Google::Apis::Adexchangebuyer2V2beta1::Reason, decorator: Google::Apis::Adexchangebuyer2V2beta1::Reason::Representation + + property :date, as: 'date', class: Google::Apis::Adexchangebuyer2V2beta1::Date, decorator: Google::Apis::Adexchangebuyer2V2beta1::Date::Representation + + end + end + + class Creative + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :click_through_urls, as: 'clickThroughUrls' + collection :detected_sensitive_categories, as: 'detectedSensitiveCategories' + property :ad_choices_destination_url, as: 'adChoicesDestinationUrl' + collection :restricted_categories, as: 'restrictedCategories' + collection :corrections, as: 'corrections', class: Google::Apis::Adexchangebuyer2V2beta1::Correction, decorator: Google::Apis::Adexchangebuyer2V2beta1::Correction::Representation + + property :version, as: 'version' + collection :vendor_ids, as: 'vendorIds' + collection :impression_tracking_urls, as: 'impressionTrackingUrls' + property :html, as: 'html', class: Google::Apis::Adexchangebuyer2V2beta1::HtmlContent, decorator: Google::Apis::Adexchangebuyer2V2beta1::HtmlContent::Representation + + property :deals_status, as: 'dealsStatus' + collection :detected_product_categories, as: 'detectedProductCategories' + property :open_auction_status, as: 'openAuctionStatus' + property :advertiser_name, as: 'advertiserName' + collection :detected_advertiser_ids, as: 'detectedAdvertiserIds' + collection :detected_domains, as: 'detectedDomains' + property :filtering_stats, as: 'filteringStats', class: Google::Apis::Adexchangebuyer2V2beta1::FilteringStats, decorator: Google::Apis::Adexchangebuyer2V2beta1::FilteringStats::Representation + + collection :attributes, as: 'attributes' + property :api_update_time, as: 'apiUpdateTime' + collection :detected_languages, as: 'detectedLanguages' + property :creative_id, as: 'creativeId' + property :account_id, as: 'accountId' + property :native, as: 'native', class: Google::Apis::Adexchangebuyer2V2beta1::NativeContent, decorator: Google::Apis::Adexchangebuyer2V2beta1::NativeContent::Representation + + collection :serving_restrictions, as: 'servingRestrictions', class: Google::Apis::Adexchangebuyer2V2beta1::ServingRestriction, decorator: Google::Apis::Adexchangebuyer2V2beta1::ServingRestriction::Representation + + property :video, as: 'video', class: Google::Apis::Adexchangebuyer2V2beta1::VideoContent, decorator: Google::Apis::Adexchangebuyer2V2beta1::VideoContent::Representation + + property :agency_id, :numeric_string => true, as: 'agencyId' + end + end + + class RemoveDealAssociationRequest + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :association, as: 'association', class: Google::Apis::Adexchangebuyer2V2beta1::CreativeDealAssociation, decorator: Google::Apis::Adexchangebuyer2V2beta1::CreativeDealAssociation::Representation + + end + end + + class Client + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :entity_type, as: 'entityType' + property :client_name, as: 'clientName' + property :role, as: 'role' + property :visible_to_seller, as: 'visibleToSeller' + property :entity_id, :numeric_string => true, as: 'entityId' + property :client_account_id, :numeric_string => true, as: 'clientAccountId' + property :entity_name, as: 'entityName' + property :status, as: 'status' + end + end + + class Correction + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :type, as: 'type' + collection :contexts, as: 'contexts', class: Google::Apis::Adexchangebuyer2V2beta1::ServingContext, decorator: Google::Apis::Adexchangebuyer2V2beta1::ServingContext::Representation + + collection :details, as: 'details' + end + end + + class ListDealAssociationsResponse + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :associations, as: 'associations', class: Google::Apis::Adexchangebuyer2V2beta1::CreativeDealAssociation, decorator: Google::Apis::Adexchangebuyer2V2beta1::CreativeDealAssociation::Representation + + property :next_page_token, as: 'nextPageToken' + end + end + + class AddDealAssociationRequest + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :association, as: 'association', class: Google::Apis::Adexchangebuyer2V2beta1::CreativeDealAssociation, decorator: Google::Apis::Adexchangebuyer2V2beta1::CreativeDealAssociation::Representation + + end + end + + class Disapproval + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :details, as: 'details' + property :reason, as: 'reason' + end + end + + class StopWatchingCreativeRequest + # @private + class Representation < Google::Apis::Core::JsonRepresentation + end + end + + class ServingRestriction + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :status, as: 'status' + collection :disapproval_reasons, as: 'disapprovalReasons', class: Google::Apis::Adexchangebuyer2V2beta1::Disapproval, decorator: Google::Apis::Adexchangebuyer2V2beta1::Disapproval::Representation + + collection :contexts, as: 'contexts', class: Google::Apis::Adexchangebuyer2V2beta1::ServingContext, decorator: Google::Apis::Adexchangebuyer2V2beta1::ServingContext::Representation + + end + end + + class Date + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :year, as: 'year' + property :day, as: 'day' + property :month, as: 'month' + end + end + + class Empty + # @private + class Representation < Google::Apis::Core::JsonRepresentation + end + end + + class WatchCreativeRequest + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :topic, as: 'topic' + end + end + + class AppContext + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :app_types, as: 'appTypes' + end + end + + class NativeContent + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :image, as: 'image', class: Google::Apis::Adexchangebuyer2V2beta1::Image, decorator: Google::Apis::Adexchangebuyer2V2beta1::Image::Representation + + property :click_tracking_url, as: 'clickTrackingUrl' + property :advertiser_name, as: 'advertiserName' + property :store_url, as: 'storeUrl' + property :headline, as: 'headline' + property :app_icon, as: 'appIcon', class: Google::Apis::Adexchangebuyer2V2beta1::Image, decorator: Google::Apis::Adexchangebuyer2V2beta1::Image::Representation + + property :call_to_action, as: 'callToAction' + property :body, as: 'body' + property :star_rating, as: 'starRating' + property :video_url, as: 'videoUrl' + property :click_link_url, as: 'clickLinkUrl' + property :logo, as: 'logo', class: Google::Apis::Adexchangebuyer2V2beta1::Image, decorator: Google::Apis::Adexchangebuyer2V2beta1::Image::Representation + + property :price_display_text, as: 'priceDisplayText' + end + end + + class ListClientsResponse + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :next_page_token, as: 'nextPageToken' + collection :clients, as: 'clients', class: Google::Apis::Adexchangebuyer2V2beta1::Client, decorator: Google::Apis::Adexchangebuyer2V2beta1::Client::Representation + + end + end + + class SecurityContext + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :securities, as: 'securities' + end + end + + class HtmlContent + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :height, as: 'height' + property :width, as: 'width' + property :snippet, as: 'snippet' + end + end + + class ListCreativesResponse + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :creatives, as: 'creatives', class: Google::Apis::Adexchangebuyer2V2beta1::Creative, decorator: Google::Apis::Adexchangebuyer2V2beta1::Creative::Representation + + property :next_page_token, as: 'nextPageToken' + end + end + + class ServingContext + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :location, as: 'location', class: Google::Apis::Adexchangebuyer2V2beta1::LocationContext, decorator: Google::Apis::Adexchangebuyer2V2beta1::LocationContext::Representation + + property :auction_type, as: 'auctionType', class: Google::Apis::Adexchangebuyer2V2beta1::AuctionContext, decorator: Google::Apis::Adexchangebuyer2V2beta1::AuctionContext::Representation + + property :all, as: 'all' + property :app_type, as: 'appType', class: Google::Apis::Adexchangebuyer2V2beta1::AppContext, decorator: Google::Apis::Adexchangebuyer2V2beta1::AppContext::Representation + + property :security_type, as: 'securityType', class: Google::Apis::Adexchangebuyer2V2beta1::SecurityContext, decorator: Google::Apis::Adexchangebuyer2V2beta1::SecurityContext::Representation + + property :platform, as: 'platform', class: Google::Apis::Adexchangebuyer2V2beta1::PlatformContext, decorator: Google::Apis::Adexchangebuyer2V2beta1::PlatformContext::Representation + + end + end + + class Image + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :width, as: 'width' + property :url, as: 'url' + property :height, as: 'height' + end + end + + class Reason + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :status, as: 'status' + property :count, :numeric_string => true, as: 'count' end end end diff --git a/generated/google/apis/adexchangebuyer2_v2beta1/service.rb b/generated/google/apis/adexchangebuyer2_v2beta1/service.rb index cc413821f..c4012c1e3 100644 --- a/generated/google/apis/adexchangebuyer2_v2beta1/service.rb +++ b/generated/google/apis/adexchangebuyer2_v2beta1/service.rb @@ -33,25 +33,26 @@ module Google # # @see https://developers.google.com/ad-exchange/buyer-rest/guides/client-access/ class AdExchangeBuyerIIService < Google::Apis::Core::BaseService - # @return [String] - # Available to use for quota purposes for server-side applications. Can be any - # arbitrary string assigned to a user, but should not exceed 40 characters. - attr_accessor :quota_user - # @return [String] # API key. Your API key identifies your project and provides you with API access, # quota, and reports. Required unless you provide an OAuth 2.0 token. attr_accessor :key + # @return [String] + # Available to use for quota purposes for server-side applications. Can be any + # arbitrary string assigned to a user, but should not exceed 40 characters. + attr_accessor :quota_user + def initialize super('https://adexchangebuyer.googleapis.com/', '') + @batch_path = 'batch' end - # Gets a creative. - # @param [String] account_id - # The account the creative belongs to. - # @param [String] creative_id - # The ID of the creative to retrieve. + # Gets a client buyer with a given client account ID. + # @param [Fixnum] account_id + # Numerical account ID of the client's sponsor buyer. (required) + # @param [Fixnum] client_account_id + # Numerical account ID of the client buyer to retrieve. (required) # @param [String] quota_user # Available to use for quota purposes for server-side applications. Can be any # arbitrary string assigned to a user, but should not exceed 40 characters. @@ -61,36 +62,37 @@ module Google # Request-specific options # # @yield [result, err] Result & error if block supplied - # @yieldparam result [Google::Apis::Adexchangebuyer2V2beta1::Creative] parsed result object + # @yieldparam result [Google::Apis::Adexchangebuyer2V2beta1::Client] parsed result object # @yieldparam err [StandardError] error object if request failed # - # @return [Google::Apis::Adexchangebuyer2V2beta1::Creative] + # @return [Google::Apis::Adexchangebuyer2V2beta1::Client] # # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required - def get_account_creative(account_id, creative_id, quota_user: nil, fields: nil, options: nil, &block) - command = make_simple_command(:get, 'v2beta1/accounts/{accountId}/creatives/{creativeId}', options) - command.response_representation = Google::Apis::Adexchangebuyer2V2beta1::Creative::Representation - command.response_class = Google::Apis::Adexchangebuyer2V2beta1::Creative + def get_account_client(account_id, client_account_id, quota_user: nil, fields: nil, options: nil, &block) + command = make_simple_command(:get, 'v2beta1/accounts/{accountId}/clients/{clientAccountId}', options) + command.response_representation = Google::Apis::Adexchangebuyer2V2beta1::Client::Representation + command.response_class = Google::Apis::Adexchangebuyer2V2beta1::Client command.params['accountId'] = account_id unless account_id.nil? - command.params['creativeId'] = creative_id unless creative_id.nil? + command.params['clientAccountId'] = client_account_id unless client_account_id.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['fields'] = fields unless fields.nil? execute_or_queue_command(command, &block) end - # Watches a creative. Will result in push notifications being sent to the - # topic when the creative changes status. - # @param [String] account_id - # The account of the creative to watch. - # @param [String] creative_id - # The creative ID to watch for status changes. - # Specify "-" to watch all creatives under the above account. - # If both creative-level and account-level notifications are - # sent, only a single notification will be sent to the - # creative-level notification topic. - # @param [Google::Apis::Adexchangebuyer2V2beta1::WatchCreativeRequest] watch_creative_request_object + # Lists all the clients for the current sponsor buyer. + # @param [Fixnum] account_id + # Unique numerical account ID of the sponsor buyer to list the clients for. + # @param [String] page_token + # A token identifying a page of results the server should return. + # Typically, this is the value of + # ListClientsResponse.nextPageToken + # returned from the previous call to the + # accounts.clients.list method. + # @param [Fixnum] page_size + # Requested page size. The server may return fewer clients than requested. + # If unspecified, the server will pick an appropriate default. # @param [String] quota_user # Available to use for quota purposes for server-side applications. Can be any # arbitrary string assigned to a user, but should not exceed 40 characters. @@ -100,39 +102,33 @@ module Google # Request-specific options # # @yield [result, err] Result & error if block supplied - # @yieldparam result [Google::Apis::Adexchangebuyer2V2beta1::Empty] parsed result object + # @yieldparam result [Google::Apis::Adexchangebuyer2V2beta1::ListClientsResponse] parsed result object # @yieldparam err [StandardError] error object if request failed # - # @return [Google::Apis::Adexchangebuyer2V2beta1::Empty] + # @return [Google::Apis::Adexchangebuyer2V2beta1::ListClientsResponse] # # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required - def watch_creative(account_id, creative_id, watch_creative_request_object = nil, quota_user: nil, fields: nil, options: nil, &block) - command = make_simple_command(:post, 'v2beta1/accounts/{accountId}/creatives/{creativeId}:watch', options) - command.request_representation = Google::Apis::Adexchangebuyer2V2beta1::WatchCreativeRequest::Representation - command.request_object = watch_creative_request_object - command.response_representation = Google::Apis::Adexchangebuyer2V2beta1::Empty::Representation - command.response_class = Google::Apis::Adexchangebuyer2V2beta1::Empty + def list_account_clients(account_id, page_token: nil, page_size: nil, quota_user: nil, fields: nil, options: nil, &block) + command = make_simple_command(:get, 'v2beta1/accounts/{accountId}/clients', options) + command.response_representation = Google::Apis::Adexchangebuyer2V2beta1::ListClientsResponse::Representation + command.response_class = Google::Apis::Adexchangebuyer2V2beta1::ListClientsResponse command.params['accountId'] = account_id unless account_id.nil? - command.params['creativeId'] = creative_id unless creative_id.nil? + command.query['pageToken'] = page_token unless page_token.nil? + command.query['pageSize'] = page_size unless page_size.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['fields'] = fields unless fields.nil? execute_or_queue_command(command, &block) end - # Updates a creative. - # @param [String] account_id - # The account that this creative belongs to. - # Can be used to filter the response of the - # creatives.list - # method. - # @param [String] creative_id - # The buyer-defined creative ID of this creative. - # Can be used to filter the response of the - # creatives.list - # method. - # @param [Google::Apis::Adexchangebuyer2V2beta1::Creative] creative_object + # Updates an existing client buyer. + # @param [Fixnum] account_id + # Unique numerical account ID for the buyer of which the client buyer + # is a customer; the sponsor buyer to update a client for. (required) + # @param [Fixnum] client_account_id + # Unique numerical account ID of the client to update. (required) + # @param [Google::Apis::Adexchangebuyer2V2beta1::Client] client_object # @param [String] quota_user # Available to use for quota purposes for server-side applications. Can be any # arbitrary string assigned to a user, but should not exceed 40 characters. @@ -142,22 +138,310 @@ module Google # Request-specific options # # @yield [result, err] Result & error if block supplied - # @yieldparam result [Google::Apis::Adexchangebuyer2V2beta1::Creative] parsed result object + # @yieldparam result [Google::Apis::Adexchangebuyer2V2beta1::Client] parsed result object # @yieldparam err [StandardError] error object if request failed # - # @return [Google::Apis::Adexchangebuyer2V2beta1::Creative] + # @return [Google::Apis::Adexchangebuyer2V2beta1::Client] # # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required - def update_account_creative(account_id, creative_id, creative_object = nil, quota_user: nil, fields: nil, options: nil, &block) - command = make_simple_command(:put, 'v2beta1/accounts/{accountId}/creatives/{creativeId}', options) - command.request_representation = Google::Apis::Adexchangebuyer2V2beta1::Creative::Representation - command.request_object = creative_object - command.response_representation = Google::Apis::Adexchangebuyer2V2beta1::Creative::Representation - command.response_class = Google::Apis::Adexchangebuyer2V2beta1::Creative + def update_account_client(account_id, client_account_id, client_object = nil, quota_user: nil, fields: nil, options: nil, &block) + command = make_simple_command(:put, 'v2beta1/accounts/{accountId}/clients/{clientAccountId}', options) + command.request_representation = Google::Apis::Adexchangebuyer2V2beta1::Client::Representation + command.request_object = client_object + command.response_representation = Google::Apis::Adexchangebuyer2V2beta1::Client::Representation + command.response_class = Google::Apis::Adexchangebuyer2V2beta1::Client command.params['accountId'] = account_id unless account_id.nil? - command.params['creativeId'] = creative_id unless creative_id.nil? + command.params['clientAccountId'] = client_account_id unless client_account_id.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + command.query['fields'] = fields unless fields.nil? + execute_or_queue_command(command, &block) + end + + # Creates a new client buyer. + # @param [Fixnum] account_id + # Unique numerical account ID for the buyer of which the client buyer + # is a customer; the sponsor buyer to create a client for. (required) + # @param [Google::Apis::Adexchangebuyer2V2beta1::Client] client_object + # @param [String] quota_user + # Available to use for quota purposes for server-side applications. Can be any + # arbitrary string assigned to a user, but should not exceed 40 characters. + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::Adexchangebuyer2V2beta1::Client] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::Adexchangebuyer2V2beta1::Client] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def create_account_client(account_id, client_object = nil, quota_user: nil, fields: nil, options: nil, &block) + command = make_simple_command(:post, 'v2beta1/accounts/{accountId}/clients', options) + command.request_representation = Google::Apis::Adexchangebuyer2V2beta1::Client::Representation + command.request_object = client_object + command.response_representation = Google::Apis::Adexchangebuyer2V2beta1::Client::Representation + command.response_class = Google::Apis::Adexchangebuyer2V2beta1::Client + command.params['accountId'] = account_id unless account_id.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + command.query['fields'] = fields unless fields.nil? + execute_or_queue_command(command, &block) + end + + # Retrieves an existing client user invitation. + # @param [Fixnum] account_id + # Numerical account ID of the client's sponsor buyer. (required) + # @param [Fixnum] client_account_id + # Numerical account ID of the client buyer that the user invitation + # to be retrieved is associated with. (required) + # @param [Fixnum] invitation_id + # Numerical identifier of the user invitation to retrieve. (required) + # @param [String] quota_user + # Available to use for quota purposes for server-side applications. Can be any + # arbitrary string assigned to a user, but should not exceed 40 characters. + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::Adexchangebuyer2V2beta1::ClientUserInvitation] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::Adexchangebuyer2V2beta1::ClientUserInvitation] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def get_account_client_invitation(account_id, client_account_id, invitation_id, quota_user: nil, fields: nil, options: nil, &block) + command = make_simple_command(:get, 'v2beta1/accounts/{accountId}/clients/{clientAccountId}/invitations/{invitationId}', options) + command.response_representation = Google::Apis::Adexchangebuyer2V2beta1::ClientUserInvitation::Representation + command.response_class = Google::Apis::Adexchangebuyer2V2beta1::ClientUserInvitation + command.params['accountId'] = account_id unless account_id.nil? + command.params['clientAccountId'] = client_account_id unless client_account_id.nil? + command.params['invitationId'] = invitation_id unless invitation_id.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + command.query['fields'] = fields unless fields.nil? + execute_or_queue_command(command, &block) + end + + # Lists all the client users invitations for a client + # with a given account ID. + # @param [Fixnum] account_id + # Numerical account ID of the client's sponsor buyer. (required) + # @param [String] client_account_id + # Numerical account ID of the client buyer to list invitations for. + # (required) + # You must either specify a string representation of a + # numerical account identifier or the `-` character + # to list all the invitations for all the clients + # of a given sponsor buyer. + # @param [String] page_token + # A token identifying a page of results the server should return. + # Typically, this is the value of + # ListClientUserInvitationsResponse.nextPageToken + # returned from the previous call to the + # clients.invitations.list + # method. + # @param [Fixnum] page_size + # Requested page size. Server may return fewer clients than requested. + # If unspecified, server will pick an appropriate default. + # @param [String] quota_user + # Available to use for quota purposes for server-side applications. Can be any + # arbitrary string assigned to a user, but should not exceed 40 characters. + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::Adexchangebuyer2V2beta1::ListClientUserInvitationsResponse] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::Adexchangebuyer2V2beta1::ListClientUserInvitationsResponse] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def list_account_client_invitations(account_id, client_account_id, page_token: nil, page_size: nil, quota_user: nil, fields: nil, options: nil, &block) + command = make_simple_command(:get, 'v2beta1/accounts/{accountId}/clients/{clientAccountId}/invitations', options) + command.response_representation = Google::Apis::Adexchangebuyer2V2beta1::ListClientUserInvitationsResponse::Representation + command.response_class = Google::Apis::Adexchangebuyer2V2beta1::ListClientUserInvitationsResponse + command.params['accountId'] = account_id unless account_id.nil? + command.params['clientAccountId'] = client_account_id unless client_account_id.nil? + command.query['pageToken'] = page_token unless page_token.nil? + command.query['pageSize'] = page_size unless page_size.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + command.query['fields'] = fields unless fields.nil? + execute_or_queue_command(command, &block) + end + + # Creates and sends out an email invitation to access + # an Ad Exchange client buyer account. + # @param [Fixnum] account_id + # Numerical account ID of the client's sponsor buyer. (required) + # @param [Fixnum] client_account_id + # Numerical account ID of the client buyer that the user + # should be associated with. (required) + # @param [Google::Apis::Adexchangebuyer2V2beta1::ClientUserInvitation] client_user_invitation_object + # @param [String] quota_user + # Available to use for quota purposes for server-side applications. Can be any + # arbitrary string assigned to a user, but should not exceed 40 characters. + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::Adexchangebuyer2V2beta1::ClientUserInvitation] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::Adexchangebuyer2V2beta1::ClientUserInvitation] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def create_account_client_invitation(account_id, client_account_id, client_user_invitation_object = nil, quota_user: nil, fields: nil, options: nil, &block) + command = make_simple_command(:post, 'v2beta1/accounts/{accountId}/clients/{clientAccountId}/invitations', options) + command.request_representation = Google::Apis::Adexchangebuyer2V2beta1::ClientUserInvitation::Representation + command.request_object = client_user_invitation_object + command.response_representation = Google::Apis::Adexchangebuyer2V2beta1::ClientUserInvitation::Representation + command.response_class = Google::Apis::Adexchangebuyer2V2beta1::ClientUserInvitation + command.params['accountId'] = account_id unless account_id.nil? + command.params['clientAccountId'] = client_account_id unless client_account_id.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + command.query['fields'] = fields unless fields.nil? + execute_or_queue_command(command, &block) + end + + # Lists all the known client users for a specified + # sponsor buyer account ID. + # @param [Fixnum] account_id + # Numerical account ID of the sponsor buyer of the client to list users for. + # (required) + # @param [String] client_account_id + # The account ID of the client buyer to list users for. (required) + # You must specify either a string representation of a + # numerical account identifier or the `-` character + # to list all the client users for all the clients + # of a given sponsor buyer. + # @param [String] page_token + # A token identifying a page of results the server should return. + # Typically, this is the value of + # ListClientUsersResponse.nextPageToken + # returned from the previous call to the + # accounts.clients.users.list method. + # @param [Fixnum] page_size + # Requested page size. The server may return fewer clients than requested. + # If unspecified, the server will pick an appropriate default. + # @param [String] quota_user + # Available to use for quota purposes for server-side applications. Can be any + # arbitrary string assigned to a user, but should not exceed 40 characters. + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::Adexchangebuyer2V2beta1::ListClientUsersResponse] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::Adexchangebuyer2V2beta1::ListClientUsersResponse] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def list_account_client_users(account_id, client_account_id, page_token: nil, page_size: nil, quota_user: nil, fields: nil, options: nil, &block) + command = make_simple_command(:get, 'v2beta1/accounts/{accountId}/clients/{clientAccountId}/users', options) + command.response_representation = Google::Apis::Adexchangebuyer2V2beta1::ListClientUsersResponse::Representation + command.response_class = Google::Apis::Adexchangebuyer2V2beta1::ListClientUsersResponse + command.params['accountId'] = account_id unless account_id.nil? + command.params['clientAccountId'] = client_account_id unless client_account_id.nil? + command.query['pageToken'] = page_token unless page_token.nil? + command.query['pageSize'] = page_size unless page_size.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + command.query['fields'] = fields unless fields.nil? + execute_or_queue_command(command, &block) + end + + # Retrieves an existing client user. + # @param [Fixnum] account_id + # Numerical account ID of the client's sponsor buyer. (required) + # @param [Fixnum] client_account_id + # Numerical account ID of the client buyer + # that the user to be retrieved is associated with. (required) + # @param [Fixnum] user_id + # Numerical identifier of the user to retrieve. (required) + # @param [String] quota_user + # Available to use for quota purposes for server-side applications. Can be any + # arbitrary string assigned to a user, but should not exceed 40 characters. + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::Adexchangebuyer2V2beta1::ClientUser] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::Adexchangebuyer2V2beta1::ClientUser] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def get_account_client_user(account_id, client_account_id, user_id, quota_user: nil, fields: nil, options: nil, &block) + command = make_simple_command(:get, 'v2beta1/accounts/{accountId}/clients/{clientAccountId}/users/{userId}', options) + command.response_representation = Google::Apis::Adexchangebuyer2V2beta1::ClientUser::Representation + command.response_class = Google::Apis::Adexchangebuyer2V2beta1::ClientUser + command.params['accountId'] = account_id unless account_id.nil? + command.params['clientAccountId'] = client_account_id unless client_account_id.nil? + command.params['userId'] = user_id unless user_id.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + command.query['fields'] = fields unless fields.nil? + execute_or_queue_command(command, &block) + end + + # Updates an existing client user. + # Only the user status can be changed on update. + # @param [Fixnum] account_id + # Numerical account ID of the client's sponsor buyer. (required) + # @param [Fixnum] client_account_id + # Numerical account ID of the client buyer that the user to be retrieved + # is associated with. (required) + # @param [Fixnum] user_id + # Numerical identifier of the user to retrieve. (required) + # @param [Google::Apis::Adexchangebuyer2V2beta1::ClientUser] client_user_object + # @param [String] quota_user + # Available to use for quota purposes for server-side applications. Can be any + # arbitrary string assigned to a user, but should not exceed 40 characters. + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::Adexchangebuyer2V2beta1::ClientUser] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::Adexchangebuyer2V2beta1::ClientUser] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def update_account_client_user(account_id, client_account_id, user_id, client_user_object = nil, quota_user: nil, fields: nil, options: nil, &block) + command = make_simple_command(:put, 'v2beta1/accounts/{accountId}/clients/{clientAccountId}/users/{userId}', options) + command.request_representation = Google::Apis::Adexchangebuyer2V2beta1::ClientUser::Representation + command.request_object = client_user_object + command.response_representation = Google::Apis::Adexchangebuyer2V2beta1::ClientUser::Representation + command.response_class = Google::Apis::Adexchangebuyer2V2beta1::ClientUser + command.params['accountId'] = account_id unless account_id.nil? + command.params['clientAccountId'] = client_account_id unless client_account_id.nil? + command.params['userId'] = user_id unless user_id.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['fields'] = fields unless fields.nil? execute_or_queue_command(command, &block) @@ -301,6 +585,182 @@ module Google execute_or_queue_command(command, &block) end + # Gets a creative. + # @param [String] account_id + # The account the creative belongs to. + # @param [String] creative_id + # The ID of the creative to retrieve. + # @param [String] quota_user + # Available to use for quota purposes for server-side applications. Can be any + # arbitrary string assigned to a user, but should not exceed 40 characters. + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::Adexchangebuyer2V2beta1::Creative] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::Adexchangebuyer2V2beta1::Creative] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def get_account_creative(account_id, creative_id, quota_user: nil, fields: nil, options: nil, &block) + command = make_simple_command(:get, 'v2beta1/accounts/{accountId}/creatives/{creativeId}', options) + command.response_representation = Google::Apis::Adexchangebuyer2V2beta1::Creative::Representation + command.response_class = Google::Apis::Adexchangebuyer2V2beta1::Creative + command.params['accountId'] = account_id unless account_id.nil? + command.params['creativeId'] = creative_id unless creative_id.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + command.query['fields'] = fields unless fields.nil? + execute_or_queue_command(command, &block) + end + + # Watches a creative. Will result in push notifications being sent to the + # topic when the creative changes status. + # @param [String] account_id + # The account of the creative to watch. + # @param [String] creative_id + # The creative ID to watch for status changes. + # Specify "-" to watch all creatives under the above account. + # If both creative-level and account-level notifications are + # sent, only a single notification will be sent to the + # creative-level notification topic. + # @param [Google::Apis::Adexchangebuyer2V2beta1::WatchCreativeRequest] watch_creative_request_object + # @param [String] quota_user + # Available to use for quota purposes for server-side applications. Can be any + # arbitrary string assigned to a user, but should not exceed 40 characters. + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::Adexchangebuyer2V2beta1::Empty] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::Adexchangebuyer2V2beta1::Empty] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def watch_creative(account_id, creative_id, watch_creative_request_object = nil, quota_user: nil, fields: nil, options: nil, &block) + command = make_simple_command(:post, 'v2beta1/accounts/{accountId}/creatives/{creativeId}:watch', options) + command.request_representation = Google::Apis::Adexchangebuyer2V2beta1::WatchCreativeRequest::Representation + command.request_object = watch_creative_request_object + command.response_representation = Google::Apis::Adexchangebuyer2V2beta1::Empty::Representation + command.response_class = Google::Apis::Adexchangebuyer2V2beta1::Empty + command.params['accountId'] = account_id unless account_id.nil? + command.params['creativeId'] = creative_id unless creative_id.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + command.query['fields'] = fields unless fields.nil? + execute_or_queue_command(command, &block) + end + + # Updates a creative. + # @param [String] account_id + # The account that this creative belongs to. + # Can be used to filter the response of the + # creatives.list + # method. + # @param [String] creative_id + # The buyer-defined creative ID of this creative. + # Can be used to filter the response of the + # creatives.list + # method. + # @param [Google::Apis::Adexchangebuyer2V2beta1::Creative] creative_object + # @param [String] quota_user + # Available to use for quota purposes for server-side applications. Can be any + # arbitrary string assigned to a user, but should not exceed 40 characters. + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::Adexchangebuyer2V2beta1::Creative] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::Adexchangebuyer2V2beta1::Creative] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def update_account_creative(account_id, creative_id, creative_object = nil, quota_user: nil, fields: nil, options: nil, &block) + command = make_simple_command(:put, 'v2beta1/accounts/{accountId}/creatives/{creativeId}', options) + command.request_representation = Google::Apis::Adexchangebuyer2V2beta1::Creative::Representation + command.request_object = creative_object + command.response_representation = Google::Apis::Adexchangebuyer2V2beta1::Creative::Representation + command.response_class = Google::Apis::Adexchangebuyer2V2beta1::Creative + command.params['accountId'] = account_id unless account_id.nil? + command.params['creativeId'] = creative_id unless creative_id.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + command.query['fields'] = fields unless fields.nil? + execute_or_queue_command(command, &block) + end + + # List all creative-deal associations. + # @param [String] account_id + # The account to list the associations from. + # Specify "-" to list all creatives the current user has access to. + # @param [String] creative_id + # The creative ID to list the associations from. + # Specify "-" to list all creatives under the above account. + # @param [Fixnum] page_size + # Requested page size. Server may return fewer associations than requested. + # If unspecified, server will pick an appropriate default. + # @param [String] query + # An optional query string to filter deal associations. If no filter is + # specified, all associations will be returned. + # Supported queries are: + #
    + #
  • accountId=account_id_string + #
  • creativeId=creative_id_string + #
  • dealsId=deals_id_string + #
  • dealsStatus:`approved, conditionally_approved, disapproved, + # not_checked` + #
  • openAuctionStatus:`approved, conditionally_approved, disapproved, + # not_checked` + #
+ # Example: 'dealsId=12345 AND dealsStatus:disapproved' + # @param [String] page_token + # A token identifying a page of results the server should return. + # Typically, this is the value of + # ListDealAssociationsResponse.next_page_token + # returned from the previous call to 'ListDealAssociations' method. + # @param [String] quota_user + # Available to use for quota purposes for server-side applications. Can be any + # arbitrary string assigned to a user, but should not exceed 40 characters. + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::Adexchangebuyer2V2beta1::ListDealAssociationsResponse] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::Adexchangebuyer2V2beta1::ListDealAssociationsResponse] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def list_account_creative_deal_associations(account_id, creative_id, page_size: nil, query: nil, page_token: nil, quota_user: nil, fields: nil, options: nil, &block) + command = make_simple_command(:get, 'v2beta1/accounts/{accountId}/creatives/{creativeId}/dealAssociations', options) + command.response_representation = Google::Apis::Adexchangebuyer2V2beta1::ListDealAssociationsResponse::Representation + command.response_class = Google::Apis::Adexchangebuyer2V2beta1::ListDealAssociationsResponse + command.params['accountId'] = account_id unless account_id.nil? + command.params['creativeId'] = creative_id unless creative_id.nil? + command.query['pageSize'] = page_size unless page_size.nil? + command.query['query'] = query unless query.nil? + command.query['pageToken'] = page_token unless page_token.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + command.query['fields'] = fields unless fields.nil? + execute_or_queue_command(command, &block) + end + # Associate an existing deal with a creative. # @param [String] account_id # The account the creative belongs to. @@ -372,471 +832,12 @@ module Google command.query['fields'] = fields unless fields.nil? execute_or_queue_command(command, &block) end - - # List all creative-deal associations. - # @param [String] account_id - # The account to list the associations from. - # Specify "-" to list all creatives the current user has access to. - # @param [String] creative_id - # The creative ID to list the associations from. - # Specify "-" to list all creatives under the above account. - # @param [String] page_token - # A token identifying a page of results the server should return. - # Typically, this is the value of - # ListDealAssociationsResponse.next_page_token - # returned from the previous call to 'ListDealAssociations' method. - # @param [Fixnum] page_size - # Requested page size. Server may return fewer associations than requested. - # If unspecified, server will pick an appropriate default. - # @param [String] query - # An optional query string to filter deal associations. If no filter is - # specified, all associations will be returned. - # Supported queries are: - #
    - #
  • accountId=account_id_string - #
  • creativeId=creative_id_string - #
  • dealsId=deals_id_string - #
  • dealsStatus:`approved, conditionally_approved, disapproved, - # not_checked` - #
  • openAuctionStatus:`approved, conditionally_approved, disapproved, - # not_checked` - #
- # Example: 'dealsId=12345 AND dealsStatus:disapproved' - # @param [String] quota_user - # Available to use for quota purposes for server-side applications. Can be any - # arbitrary string assigned to a user, but should not exceed 40 characters. - # @param [String] fields - # Selector specifying which fields to include in a partial response. - # @param [Google::Apis::RequestOptions] options - # Request-specific options - # - # @yield [result, err] Result & error if block supplied - # @yieldparam result [Google::Apis::Adexchangebuyer2V2beta1::ListDealAssociationsResponse] parsed result object - # @yieldparam err [StandardError] error object if request failed - # - # @return [Google::Apis::Adexchangebuyer2V2beta1::ListDealAssociationsResponse] - # - # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried - # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification - # @raise [Google::Apis::AuthorizationError] Authorization is required - def list_account_creative_deal_associations(account_id, creative_id, page_token: nil, page_size: nil, query: nil, quota_user: nil, fields: nil, options: nil, &block) - command = make_simple_command(:get, 'v2beta1/accounts/{accountId}/creatives/{creativeId}/dealAssociations', options) - command.response_representation = Google::Apis::Adexchangebuyer2V2beta1::ListDealAssociationsResponse::Representation - command.response_class = Google::Apis::Adexchangebuyer2V2beta1::ListDealAssociationsResponse - command.params['accountId'] = account_id unless account_id.nil? - command.params['creativeId'] = creative_id unless creative_id.nil? - command.query['pageToken'] = page_token unless page_token.nil? - command.query['pageSize'] = page_size unless page_size.nil? - command.query['query'] = query unless query.nil? - command.query['quotaUser'] = quota_user unless quota_user.nil? - command.query['fields'] = fields unless fields.nil? - execute_or_queue_command(command, &block) - end - - # Gets a client buyer with a given client account ID. - # @param [String] account_id - # Numerical account ID of the client's sponsor buyer. (required) - # @param [String] client_account_id - # Numerical account ID of the client buyer to retrieve. (required) - # @param [String] quota_user - # Available to use for quota purposes for server-side applications. Can be any - # arbitrary string assigned to a user, but should not exceed 40 characters. - # @param [String] fields - # Selector specifying which fields to include in a partial response. - # @param [Google::Apis::RequestOptions] options - # Request-specific options - # - # @yield [result, err] Result & error if block supplied - # @yieldparam result [Google::Apis::Adexchangebuyer2V2beta1::Client] parsed result object - # @yieldparam err [StandardError] error object if request failed - # - # @return [Google::Apis::Adexchangebuyer2V2beta1::Client] - # - # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried - # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification - # @raise [Google::Apis::AuthorizationError] Authorization is required - def get_account_client(account_id, client_account_id, quota_user: nil, fields: nil, options: nil, &block) - command = make_simple_command(:get, 'v2beta1/accounts/{accountId}/clients/{clientAccountId}', options) - command.response_representation = Google::Apis::Adexchangebuyer2V2beta1::Client::Representation - command.response_class = Google::Apis::Adexchangebuyer2V2beta1::Client - command.params['accountId'] = account_id unless account_id.nil? - command.params['clientAccountId'] = client_account_id unless client_account_id.nil? - command.query['quotaUser'] = quota_user unless quota_user.nil? - command.query['fields'] = fields unless fields.nil? - execute_or_queue_command(command, &block) - end - - # Lists all the clients for the current sponsor buyer. - # @param [String] account_id - # Unique numerical account ID of the sponsor buyer to list the clients for. - # @param [String] page_token - # A token identifying a page of results the server should return. - # Typically, this is the value of - # ListClientsResponse.nextPageToken - # returned from the previous call to the - # accounts.clients.list method. - # @param [Fixnum] page_size - # Requested page size. The server may return fewer clients than requested. - # If unspecified, the server will pick an appropriate default. - # @param [String] quota_user - # Available to use for quota purposes for server-side applications. Can be any - # arbitrary string assigned to a user, but should not exceed 40 characters. - # @param [String] fields - # Selector specifying which fields to include in a partial response. - # @param [Google::Apis::RequestOptions] options - # Request-specific options - # - # @yield [result, err] Result & error if block supplied - # @yieldparam result [Google::Apis::Adexchangebuyer2V2beta1::ListClientsResponse] parsed result object - # @yieldparam err [StandardError] error object if request failed - # - # @return [Google::Apis::Adexchangebuyer2V2beta1::ListClientsResponse] - # - # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried - # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification - # @raise [Google::Apis::AuthorizationError] Authorization is required - def list_account_clients(account_id, page_token: nil, page_size: nil, quota_user: nil, fields: nil, options: nil, &block) - command = make_simple_command(:get, 'v2beta1/accounts/{accountId}/clients', options) - command.response_representation = Google::Apis::Adexchangebuyer2V2beta1::ListClientsResponse::Representation - command.response_class = Google::Apis::Adexchangebuyer2V2beta1::ListClientsResponse - command.params['accountId'] = account_id unless account_id.nil? - command.query['pageToken'] = page_token unless page_token.nil? - command.query['pageSize'] = page_size unless page_size.nil? - command.query['quotaUser'] = quota_user unless quota_user.nil? - command.query['fields'] = fields unless fields.nil? - execute_or_queue_command(command, &block) - end - - # Updates an existing client buyer. - # @param [String] account_id - # Unique numerical account ID for the buyer of which the client buyer - # is a customer; the sponsor buyer to update a client for. (required) - # @param [String] client_account_id - # Unique numerical account ID of the client to update. (required) - # @param [Google::Apis::Adexchangebuyer2V2beta1::Client] client_object - # @param [String] quota_user - # Available to use for quota purposes for server-side applications. Can be any - # arbitrary string assigned to a user, but should not exceed 40 characters. - # @param [String] fields - # Selector specifying which fields to include in a partial response. - # @param [Google::Apis::RequestOptions] options - # Request-specific options - # - # @yield [result, err] Result & error if block supplied - # @yieldparam result [Google::Apis::Adexchangebuyer2V2beta1::Client] parsed result object - # @yieldparam err [StandardError] error object if request failed - # - # @return [Google::Apis::Adexchangebuyer2V2beta1::Client] - # - # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried - # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification - # @raise [Google::Apis::AuthorizationError] Authorization is required - def update_account_client(account_id, client_account_id, client_object = nil, quota_user: nil, fields: nil, options: nil, &block) - command = make_simple_command(:put, 'v2beta1/accounts/{accountId}/clients/{clientAccountId}', options) - command.request_representation = Google::Apis::Adexchangebuyer2V2beta1::Client::Representation - command.request_object = client_object - command.response_representation = Google::Apis::Adexchangebuyer2V2beta1::Client::Representation - command.response_class = Google::Apis::Adexchangebuyer2V2beta1::Client - command.params['accountId'] = account_id unless account_id.nil? - command.params['clientAccountId'] = client_account_id unless client_account_id.nil? - command.query['quotaUser'] = quota_user unless quota_user.nil? - command.query['fields'] = fields unless fields.nil? - execute_or_queue_command(command, &block) - end - - # Creates a new client buyer. - # @param [String] account_id - # Unique numerical account ID for the buyer of which the client buyer - # is a customer; the sponsor buyer to create a client for. (required) - # @param [Google::Apis::Adexchangebuyer2V2beta1::Client] client_object - # @param [String] quota_user - # Available to use for quota purposes for server-side applications. Can be any - # arbitrary string assigned to a user, but should not exceed 40 characters. - # @param [String] fields - # Selector specifying which fields to include in a partial response. - # @param [Google::Apis::RequestOptions] options - # Request-specific options - # - # @yield [result, err] Result & error if block supplied - # @yieldparam result [Google::Apis::Adexchangebuyer2V2beta1::Client] parsed result object - # @yieldparam err [StandardError] error object if request failed - # - # @return [Google::Apis::Adexchangebuyer2V2beta1::Client] - # - # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried - # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification - # @raise [Google::Apis::AuthorizationError] Authorization is required - def create_account_client(account_id, client_object = nil, quota_user: nil, fields: nil, options: nil, &block) - command = make_simple_command(:post, 'v2beta1/accounts/{accountId}/clients', options) - command.request_representation = Google::Apis::Adexchangebuyer2V2beta1::Client::Representation - command.request_object = client_object - command.response_representation = Google::Apis::Adexchangebuyer2V2beta1::Client::Representation - command.response_class = Google::Apis::Adexchangebuyer2V2beta1::Client - command.params['accountId'] = account_id unless account_id.nil? - command.query['quotaUser'] = quota_user unless quota_user.nil? - command.query['fields'] = fields unless fields.nil? - execute_or_queue_command(command, &block) - end - - # Lists all the known client users for a specified - # sponsor buyer account ID. - # @param [String] account_id - # Numerical account ID of the sponsor buyer of the client to list users for. - # (required) - # @param [String] client_account_id - # The account ID of the client buyer to list users for. (required) - # You must specify either a string representation of a - # numerical account identifier or the `-` character - # to list all the client users for all the clients - # of a given sponsor buyer. - # @param [String] page_token - # A token identifying a page of results the server should return. - # Typically, this is the value of - # ListClientUsersResponse.nextPageToken - # returned from the previous call to the - # accounts.clients.users.list method. - # @param [Fixnum] page_size - # Requested page size. The server may return fewer clients than requested. - # If unspecified, the server will pick an appropriate default. - # @param [String] quota_user - # Available to use for quota purposes for server-side applications. Can be any - # arbitrary string assigned to a user, but should not exceed 40 characters. - # @param [String] fields - # Selector specifying which fields to include in a partial response. - # @param [Google::Apis::RequestOptions] options - # Request-specific options - # - # @yield [result, err] Result & error if block supplied - # @yieldparam result [Google::Apis::Adexchangebuyer2V2beta1::ListClientUsersResponse] parsed result object - # @yieldparam err [StandardError] error object if request failed - # - # @return [Google::Apis::Adexchangebuyer2V2beta1::ListClientUsersResponse] - # - # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried - # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification - # @raise [Google::Apis::AuthorizationError] Authorization is required - def list_account_client_users(account_id, client_account_id, page_token: nil, page_size: nil, quota_user: nil, fields: nil, options: nil, &block) - command = make_simple_command(:get, 'v2beta1/accounts/{accountId}/clients/{clientAccountId}/users', options) - command.response_representation = Google::Apis::Adexchangebuyer2V2beta1::ListClientUsersResponse::Representation - command.response_class = Google::Apis::Adexchangebuyer2V2beta1::ListClientUsersResponse - command.params['accountId'] = account_id unless account_id.nil? - command.params['clientAccountId'] = client_account_id unless client_account_id.nil? - command.query['pageToken'] = page_token unless page_token.nil? - command.query['pageSize'] = page_size unless page_size.nil? - command.query['quotaUser'] = quota_user unless quota_user.nil? - command.query['fields'] = fields unless fields.nil? - execute_or_queue_command(command, &block) - end - - # Retrieves an existing client user. - # @param [String] account_id - # Numerical account ID of the client's sponsor buyer. (required) - # @param [String] client_account_id - # Numerical account ID of the client buyer - # that the user to be retrieved is associated with. (required) - # @param [String] user_id - # Numerical identifier of the user to retrieve. (required) - # @param [String] quota_user - # Available to use for quota purposes for server-side applications. Can be any - # arbitrary string assigned to a user, but should not exceed 40 characters. - # @param [String] fields - # Selector specifying which fields to include in a partial response. - # @param [Google::Apis::RequestOptions] options - # Request-specific options - # - # @yield [result, err] Result & error if block supplied - # @yieldparam result [Google::Apis::Adexchangebuyer2V2beta1::ClientUser] parsed result object - # @yieldparam err [StandardError] error object if request failed - # - # @return [Google::Apis::Adexchangebuyer2V2beta1::ClientUser] - # - # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried - # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification - # @raise [Google::Apis::AuthorizationError] Authorization is required - def get_account_client_user(account_id, client_account_id, user_id, quota_user: nil, fields: nil, options: nil, &block) - command = make_simple_command(:get, 'v2beta1/accounts/{accountId}/clients/{clientAccountId}/users/{userId}', options) - command.response_representation = Google::Apis::Adexchangebuyer2V2beta1::ClientUser::Representation - command.response_class = Google::Apis::Adexchangebuyer2V2beta1::ClientUser - command.params['accountId'] = account_id unless account_id.nil? - command.params['clientAccountId'] = client_account_id unless client_account_id.nil? - command.params['userId'] = user_id unless user_id.nil? - command.query['quotaUser'] = quota_user unless quota_user.nil? - command.query['fields'] = fields unless fields.nil? - execute_or_queue_command(command, &block) - end - - # Updates an existing client user. - # Only the user status can be changed on update. - # @param [String] account_id - # Numerical account ID of the client's sponsor buyer. (required) - # @param [String] client_account_id - # Numerical account ID of the client buyer that the user to be retrieved - # is associated with. (required) - # @param [String] user_id - # Numerical identifier of the user to retrieve. (required) - # @param [Google::Apis::Adexchangebuyer2V2beta1::ClientUser] client_user_object - # @param [String] quota_user - # Available to use for quota purposes for server-side applications. Can be any - # arbitrary string assigned to a user, but should not exceed 40 characters. - # @param [String] fields - # Selector specifying which fields to include in a partial response. - # @param [Google::Apis::RequestOptions] options - # Request-specific options - # - # @yield [result, err] Result & error if block supplied - # @yieldparam result [Google::Apis::Adexchangebuyer2V2beta1::ClientUser] parsed result object - # @yieldparam err [StandardError] error object if request failed - # - # @return [Google::Apis::Adexchangebuyer2V2beta1::ClientUser] - # - # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried - # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification - # @raise [Google::Apis::AuthorizationError] Authorization is required - def update_account_client_user(account_id, client_account_id, user_id, client_user_object = nil, quota_user: nil, fields: nil, options: nil, &block) - command = make_simple_command(:put, 'v2beta1/accounts/{accountId}/clients/{clientAccountId}/users/{userId}', options) - command.request_representation = Google::Apis::Adexchangebuyer2V2beta1::ClientUser::Representation - command.request_object = client_user_object - command.response_representation = Google::Apis::Adexchangebuyer2V2beta1::ClientUser::Representation - command.response_class = Google::Apis::Adexchangebuyer2V2beta1::ClientUser - command.params['accountId'] = account_id unless account_id.nil? - command.params['clientAccountId'] = client_account_id unless client_account_id.nil? - command.params['userId'] = user_id unless user_id.nil? - command.query['quotaUser'] = quota_user unless quota_user.nil? - command.query['fields'] = fields unless fields.nil? - execute_or_queue_command(command, &block) - end - - # Creates and sends out an email invitation to access - # an Ad Exchange client buyer account. - # @param [String] account_id - # Numerical account ID of the client's sponsor buyer. (required) - # @param [String] client_account_id - # Numerical account ID of the client buyer that the user - # should be associated with. (required) - # @param [Google::Apis::Adexchangebuyer2V2beta1::ClientUserInvitation] client_user_invitation_object - # @param [String] quota_user - # Available to use for quota purposes for server-side applications. Can be any - # arbitrary string assigned to a user, but should not exceed 40 characters. - # @param [String] fields - # Selector specifying which fields to include in a partial response. - # @param [Google::Apis::RequestOptions] options - # Request-specific options - # - # @yield [result, err] Result & error if block supplied - # @yieldparam result [Google::Apis::Adexchangebuyer2V2beta1::ClientUserInvitation] parsed result object - # @yieldparam err [StandardError] error object if request failed - # - # @return [Google::Apis::Adexchangebuyer2V2beta1::ClientUserInvitation] - # - # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried - # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification - # @raise [Google::Apis::AuthorizationError] Authorization is required - def create_account_client_invitation(account_id, client_account_id, client_user_invitation_object = nil, quota_user: nil, fields: nil, options: nil, &block) - command = make_simple_command(:post, 'v2beta1/accounts/{accountId}/clients/{clientAccountId}/invitations', options) - command.request_representation = Google::Apis::Adexchangebuyer2V2beta1::ClientUserInvitation::Representation - command.request_object = client_user_invitation_object - command.response_representation = Google::Apis::Adexchangebuyer2V2beta1::ClientUserInvitation::Representation - command.response_class = Google::Apis::Adexchangebuyer2V2beta1::ClientUserInvitation - command.params['accountId'] = account_id unless account_id.nil? - command.params['clientAccountId'] = client_account_id unless client_account_id.nil? - command.query['quotaUser'] = quota_user unless quota_user.nil? - command.query['fields'] = fields unless fields.nil? - execute_or_queue_command(command, &block) - end - - # Retrieves an existing client user invitation. - # @param [String] account_id - # Numerical account ID of the client's sponsor buyer. (required) - # @param [String] client_account_id - # Numerical account ID of the client buyer that the user invitation - # to be retrieved is associated with. (required) - # @param [String] invitation_id - # Numerical identifier of the user invitation to retrieve. (required) - # @param [String] quota_user - # Available to use for quota purposes for server-side applications. Can be any - # arbitrary string assigned to a user, but should not exceed 40 characters. - # @param [String] fields - # Selector specifying which fields to include in a partial response. - # @param [Google::Apis::RequestOptions] options - # Request-specific options - # - # @yield [result, err] Result & error if block supplied - # @yieldparam result [Google::Apis::Adexchangebuyer2V2beta1::ClientUserInvitation] parsed result object - # @yieldparam err [StandardError] error object if request failed - # - # @return [Google::Apis::Adexchangebuyer2V2beta1::ClientUserInvitation] - # - # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried - # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification - # @raise [Google::Apis::AuthorizationError] Authorization is required - def get_account_client_invitation(account_id, client_account_id, invitation_id, quota_user: nil, fields: nil, options: nil, &block) - command = make_simple_command(:get, 'v2beta1/accounts/{accountId}/clients/{clientAccountId}/invitations/{invitationId}', options) - command.response_representation = Google::Apis::Adexchangebuyer2V2beta1::ClientUserInvitation::Representation - command.response_class = Google::Apis::Adexchangebuyer2V2beta1::ClientUserInvitation - command.params['accountId'] = account_id unless account_id.nil? - command.params['clientAccountId'] = client_account_id unless client_account_id.nil? - command.params['invitationId'] = invitation_id unless invitation_id.nil? - command.query['quotaUser'] = quota_user unless quota_user.nil? - command.query['fields'] = fields unless fields.nil? - execute_or_queue_command(command, &block) - end - - # Lists all the client users invitations for a client - # with a given account ID. - # @param [String] account_id - # Numerical account ID of the client's sponsor buyer. (required) - # @param [String] client_account_id - # Numerical account ID of the client buyer to list invitations for. - # (required) - # You must either specify a string representation of a - # numerical account identifier or the `-` character - # to list all the invitations for all the clients - # of a given sponsor buyer. - # @param [String] page_token - # A token identifying a page of results the server should return. - # Typically, this is the value of - # ListClientUserInvitationsResponse.nextPageToken - # returned from the previous call to the - # clients.invitations.list - # method. - # @param [Fixnum] page_size - # Requested page size. Server may return fewer clients than requested. - # If unspecified, server will pick an appropriate default. - # @param [String] quota_user - # Available to use for quota purposes for server-side applications. Can be any - # arbitrary string assigned to a user, but should not exceed 40 characters. - # @param [String] fields - # Selector specifying which fields to include in a partial response. - # @param [Google::Apis::RequestOptions] options - # Request-specific options - # - # @yield [result, err] Result & error if block supplied - # @yieldparam result [Google::Apis::Adexchangebuyer2V2beta1::ListClientUserInvitationsResponse] parsed result object - # @yieldparam err [StandardError] error object if request failed - # - # @return [Google::Apis::Adexchangebuyer2V2beta1::ListClientUserInvitationsResponse] - # - # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried - # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification - # @raise [Google::Apis::AuthorizationError] Authorization is required - def list_account_client_invitations(account_id, client_account_id, page_token: nil, page_size: nil, quota_user: nil, fields: nil, options: nil, &block) - command = make_simple_command(:get, 'v2beta1/accounts/{accountId}/clients/{clientAccountId}/invitations', options) - command.response_representation = Google::Apis::Adexchangebuyer2V2beta1::ListClientUserInvitationsResponse::Representation - command.response_class = Google::Apis::Adexchangebuyer2V2beta1::ListClientUserInvitationsResponse - command.params['accountId'] = account_id unless account_id.nil? - command.params['clientAccountId'] = client_account_id unless client_account_id.nil? - command.query['pageToken'] = page_token unless page_token.nil? - command.query['pageSize'] = page_size unless page_size.nil? - command.query['quotaUser'] = quota_user unless quota_user.nil? - command.query['fields'] = fields unless fields.nil? - execute_or_queue_command(command, &block) - end protected def apply_command_defaults(command) - command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['key'] = key unless key.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? end end end diff --git a/generated/google/apis/adexchangebuyer_v1_4/classes.rb b/generated/google/apis/adexchangebuyer_v1_4/classes.rb index 6dad3700e..8ebdc82b9 100644 --- a/generated/google/apis/adexchangebuyer_v1_4/classes.rb +++ b/generated/google/apis/adexchangebuyer_v1_4/classes.rb @@ -176,7 +176,7 @@ module Google # The last known proposal revision number. # Corresponds to the JSON property `proposalRevisionNumber` - # @return [String] + # @return [Fixnum] attr_accessor :proposal_revision_number # Indicates an optional action to take on the proposal @@ -207,7 +207,7 @@ module Google # The updated revision number for the proposal. # Corresponds to the JSON property `proposalRevisionNumber` - # @return [String] + # @return [Fixnum] attr_accessor :proposal_revision_number def initialize(**args) @@ -330,19 +330,19 @@ module Google # The id of the account. This is required for get and update requests. # Corresponds to the JSON property `accountId` - # @return [String] + # @return [Fixnum] attr_accessor :account_id # The billing id to determine which adgroup to provide budget information for. # This is required for get and update requests. # Corresponds to the JSON property `billingId` - # @return [String] + # @return [Fixnum] attr_accessor :billing_id # The daily budget amount in unit amount of the account currency to apply for # the billingId provided. This is required for update requests. # Corresponds to the JSON property `budgetAmount` - # @return [String] + # @return [Fixnum] attr_accessor :budget_amount # The currency code for the buyer. This cannot be altered here. @@ -486,7 +486,7 @@ module Google # Detected advertiser id, if any. Read-only. This field should not be set in # requests. # Corresponds to the JSON property `advertiserId` - # @return [Array] + # @return [Array] attr_accessor :advertiser_id # The name of the company being advertised in the creative. The value provided @@ -497,7 +497,7 @@ module Google # The agency id for this creative. # Corresponds to the JSON property `agencyId` - # @return [String] + # @return [Fixnum] attr_accessor :agency_id # The last upload timestamp of this creative if it was uploaded via API. Read- @@ -779,7 +779,7 @@ module Google # The number of times the creative was filtered for the status. The count is # aggregated across all publishers on the exchange. # Corresponds to the JSON property `filteringCount` - # @return [String] + # @return [Fixnum] attr_accessor :filtering_count # The filtering status code as defined in creative-status-codes.txt. @@ -1129,7 +1129,7 @@ module Google # External deal ID. # Corresponds to the JSON property `dealId` - # @return [String] + # @return [Fixnum] attr_accessor :deal_id # Publisher ID. @@ -1291,7 +1291,7 @@ module Google # Non-binding estimate of the impressions served per day Can be set by buyer or # seller. # Corresponds to the JSON property `estimatedImpressionsPerDay` - # @return [String] + # @return [Fixnum] attr_accessor :estimated_impressions_per_day # The terms for guaranteed fixed price deals. @@ -1357,19 +1357,19 @@ module Google # Guaranteed impressions as a percentage. This is the percentage of guaranteed # looks that the buyer is guaranteeing to buy. # Corresponds to the JSON property `guaranteedImpressions` - # @return [String] + # @return [Fixnum] attr_accessor :guaranteed_impressions # Count of guaranteed looks. Required for deal, optional for product. For CPD # deals, buyer changes to guaranteed_looks will be ignored. # Corresponds to the JSON property `guaranteedLooks` - # @return [String] + # @return [Fixnum] attr_accessor :guaranteed_looks # Count of minimum daily looks for a CPD deal. For CPD deals, buyer should # negotiate on this field instead of guaranteed_looks. # Corresponds to the JSON property `minimumDailyLooks` - # @return [String] + # @return [Fixnum] attr_accessor :minimum_daily_looks def initialize(**args) @@ -1394,13 +1394,13 @@ module Google # deal was first converted to DFP currency. This is used to convert the # contracted price into advertiser's currency without discrepancy. # Corresponds to the JSON property `currencyConversionTimeMs` - # @return [String] + # @return [Fixnum] attr_accessor :currency_conversion_time_ms # The DFP line item id associated with this deal. For features like CPD, buyers # can retrieve the DFP line item for billing reconciliation. # Corresponds to the JSON property `dfpLineItemId` - # @return [String] + # @return [Fixnum] attr_accessor :dfp_line_item_id # The original contracted quantity (# impressions) for this deal. To ensure @@ -1408,7 +1408,7 @@ module Google # such that guaranteed_looks is greater than the contracted quantity. However # clients are billed using the original contracted quantity. # Corresponds to the JSON property `originalContractedQuantity` - # @return [String] + # @return [Fixnum] attr_accessor :original_contracted_quantity # The original reservation price for the deal, if the currency code is different @@ -1512,7 +1512,7 @@ module Google # The last known proposal revision number. # Corresponds to the JSON property `proposalRevisionNumber` - # @return [String] + # @return [Fixnum] attr_accessor :proposal_revision_number # Indicates an optional action to take on the proposal @@ -1543,7 +1543,7 @@ module Google # The updated revision number for the proposal. # Corresponds to the JSON property `proposalRevisionNumber` - # @return [String] + # @return [Fixnum] attr_accessor :proposal_revision_number def initialize(**args) @@ -1712,7 +1712,7 @@ module Google # The last known revision number for the proposal. # Corresponds to the JSON property `proposalRevisionNumber` - # @return [String] + # @return [Fixnum] attr_accessor :proposal_revision_number # Indicates an optional action to take on the proposal @@ -1744,7 +1744,7 @@ module Google # The latest revision number after the update has been applied. # Corresponds to the JSON property `orderRevisionNumber` - # @return [String] + # @return [Fixnum] attr_accessor :order_revision_number def initialize(**args) @@ -1868,7 +1868,7 @@ module Google # The time (ms since epoch) of the deal creation. (readonly) # Corresponds to the JSON property `creationTimeMs` - # @return [String] + # @return [Fixnum] attr_accessor :creation_time_ms # Specifies the creative pre-approval policy (buyer-readonly) @@ -1909,13 +1909,13 @@ module Google # Proposed flight end time of the deal (ms since epoch) This will generally be # stored in a granularity of a second. (updatable) # Corresponds to the JSON property `flightEndTimeMs` - # @return [String] + # @return [Fixnum] attr_accessor :flight_end_time_ms # Proposed flight start time of the deal (ms since epoch) This will generally be # stored in a granularity of a second. (updatable) # Corresponds to the JSON property `flightStartTimeMs` - # @return [String] + # @return [Fixnum] attr_accessor :flight_start_time_ms # Description for the deal terms. (buyer-readonly) @@ -1938,7 +1938,7 @@ module Google # The time (ms since epoch) when the deal was last updated. (readonly) # Corresponds to the JSON property `lastUpdateTimeMs` - # @return [String] + # @return [Fixnum] attr_accessor :last_update_time_ms # The name of the deal. (updatable) @@ -1954,7 +1954,7 @@ module Google # The revision number of the product that the deal was created from (readonly, # except on create) # Corresponds to the JSON property `productRevisionNumber` - # @return [String] + # @return [Fixnum] attr_accessor :product_revision_number # Specifies the creative source for programmatic deals, PUBLISHER means creative @@ -2066,7 +2066,7 @@ module Google # The creation time (in ms since epoch) for the label. # Corresponds to the JSON property `createTimeMs` - # @return [String] + # @return [Fixnum] attr_accessor :create_time_ms # Information about the party that created the label. @@ -2131,12 +2131,12 @@ module Google # If the note is associated with a proposal revision number, then store that # here. (readonly, except on create) # Corresponds to the JSON property `proposalRevisionNumber` - # @return [String] + # @return [Fixnum] attr_accessor :proposal_revision_number # The timestamp (ms since epoch) that this note was created. (readonly) # Corresponds to the JSON property `timestampMs` - # @return [String] + # @return [Fixnum] attr_accessor :timestamp_ms def initialize(**args) @@ -2269,7 +2269,7 @@ module Google # The unix timestamp of the starting time of this performance data. # Corresponds to the JSON property `timestamp` - # @return [String] + # @return [Fixnum] attr_accessor :timestamp # The number of bid responses that were unsuccessful due to timeouts, incorrect @@ -2341,13 +2341,13 @@ module Google # The id for billing purposes, provided for reference. Leave this field blank # for insert requests; the id will be generated automatically. # Corresponds to the JSON property `billingId` - # @return [String] + # @return [Fixnum] attr_accessor :billing_id # The config id; generated automatically. Leave this field blank for insert # requests. # Corresponds to the JSON property `configId` - # @return [String] + # @return [Fixnum] attr_accessor :config_id # The name of the config. Must be unique. Required for all requests. @@ -2370,12 +2370,12 @@ module Google # Requests with any of these content labels will not match. Values are from # content-labels.txt in the downloadable files section. # Corresponds to the JSON property `excludedContentLabels` - # @return [Array] + # @return [Array] attr_accessor :excluded_content_labels # Requests containing any of these geo criteria ids will not match. # Corresponds to the JSON property `excludedGeoCriteriaIds` - # @return [Array] + # @return [Array] attr_accessor :excluded_geo_criteria_ids # Requests containing any of these placements will not match. @@ -2385,18 +2385,18 @@ module Google # Requests containing any of these users list ids will not match. # Corresponds to the JSON property `excludedUserLists` - # @return [Array] + # @return [Array] attr_accessor :excluded_user_lists # Requests containing any of these vertical ids will not match. Values are from # the publisher-verticals.txt file in the downloadable files section. # Corresponds to the JSON property `excludedVerticals` - # @return [Array] + # @return [Array] attr_accessor :excluded_verticals # Requests containing any of these geo criteria ids will match. # Corresponds to the JSON property `geoCriteriaIds` - # @return [Array] + # @return [Array] attr_accessor :geo_criteria_ids # Whether this config is active. Required for all requests. @@ -2426,19 +2426,19 @@ module Google # Requests containing any of these mobile carrier ids will match. Values are # from mobile-carriers.csv in the downloadable files section. # Corresponds to the JSON property `mobileCarriers` - # @return [Array] + # @return [Array] attr_accessor :mobile_carriers # Requests containing any of these mobile device ids will match. Values are from # mobile-devices.csv in the downloadable files section. # Corresponds to the JSON property `mobileDevices` - # @return [Array] + # @return [Array] attr_accessor :mobile_devices # Requests containing any of these mobile operating system version ids will # match. Values are from mobile-os.csv in the downloadable files section. # Corresponds to the JSON property `mobileOperatingSystemVersions` - # @return [Array] + # @return [Array] attr_accessor :mobile_operating_system_versions # Requests containing any of these placements will match. @@ -2457,7 +2457,7 @@ module Google # this pretargeting configuration have that creative attribute. Values are from # pretargetable-creative-attributes.txt in the downloadable files section. # Corresponds to the JSON property `supportedCreativeAttributes` - # @return [Array] + # @return [Array] attr_accessor :supported_creative_attributes # Requests containing the specified type of user data will match. Possible @@ -2470,18 +2470,18 @@ module Google # Requests containing any of these user list ids will match. # Corresponds to the JSON property `userLists` - # @return [Array] + # @return [Array] attr_accessor :user_lists # Requests that allow any of these vendor ids will match. Values are from # vendors.txt in the downloadable files section. # Corresponds to the JSON property `vendorTypes` - # @return [Array] + # @return [Array] attr_accessor :vendor_types # Requests containing any of these vertical ids will match. # Corresponds to the JSON property `verticals` - # @return [Array] + # @return [Array] attr_accessor :verticals # Video requests satisfying any of these player size constraints will match. @@ -2529,12 +2529,12 @@ module Google # Height in pixels. # Corresponds to the JSON property `height` - # @return [String] + # @return [Fixnum] attr_accessor :height # Width in pixels. # Corresponds to the JSON property `width` - # @return [String] + # @return [Fixnum] attr_accessor :width def initialize(**args) @@ -2614,13 +2614,13 @@ module Google # The minimum player height in pixels. Leave this field blank to match any # player height. # Corresponds to the JSON property `minHeight` - # @return [String] + # @return [Fixnum] attr_accessor :min_height # The minimum player width in pixels. Leave this field blank to match any player # width. # Corresponds to the JSON property `minWidth` - # @return [String] + # @return [Fixnum] attr_accessor :min_width def initialize(**args) @@ -2774,7 +2774,7 @@ module Google # Creation time in ms. since epoch (readonly) # Corresponds to the JSON property `creationTimeMs` - # @return [String] + # @return [Fixnum] attr_accessor :creation_time_ms # Optional contact information for the creator of this product. (buyer-readonly) @@ -2792,13 +2792,13 @@ module Google # The proposed end time for the deal (ms since epoch) (buyer-readonly) # Corresponds to the JSON property `flightEndTimeMs` - # @return [String] + # @return [Fixnum] attr_accessor :flight_end_time_ms # Inventory availability dates. (times are in ms since epoch) The granularity is # generally in the order of seconds. (buyer-readonly) # Corresponds to the JSON property `flightStartTimeMs` - # @return [String] + # @return [Fixnum] attr_accessor :flight_start_time_ms # If the creator has already signed off on the product, then the buyer can @@ -2828,7 +2828,7 @@ module Google # Time of last update in ms. since epoch (readonly) # Corresponds to the JSON property `lastUpdateTimeMs` - # @return [String] + # @return [Fixnum] attr_accessor :last_update_time_ms # Optional legacy offer id if this offer is a preferred deal offer. @@ -2874,7 +2874,7 @@ module Google # The revision number of the product. (readonly) # Corresponds to the JSON property `revisionNumber` - # @return [String] + # @return [Fixnum] attr_accessor :revision_number # Information about the seller that created this product (readonly, except on @@ -3062,12 +3062,12 @@ module Google # The revision number for the proposal (readonly). # Corresponds to the JSON property `revisionNumber` - # @return [String] + # @return [Fixnum] attr_accessor :revision_number # The time (ms since epoch) when the proposal was last revised (readonly). # Corresponds to the JSON property `revisionTimeMs` - # @return [String] + # @return [Fixnum] attr_accessor :revision_time_ms # Reference to the seller on the proposal. (readonly, except on create) @@ -3280,12 +3280,12 @@ module Google # Publisher provided weekly impressions. # Corresponds to the JSON property `weeklyImpressions` - # @return [String] + # @return [Fixnum] attr_accessor :weekly_impressions # Publisher provided weekly uniques. # Corresponds to the JSON property `weeklyUniques` - # @return [String] + # @return [Fixnum] attr_accessor :weekly_uniques def initialize(**args) @@ -3375,7 +3375,7 @@ module Google # The long value to exclude/include. # Corresponds to the JSON property `longValue` - # @return [String] + # @return [Fixnum] attr_accessor :long_value # The string value to exclude/include. @@ -3543,7 +3543,7 @@ module Google # The current revision number of the proposal to be updated. # Corresponds to the JSON property `proposalRevisionNumber` - # @return [String] + # @return [Fixnum] attr_accessor :proposal_revision_number # The proposed action on the private auction proposal. diff --git a/generated/google/apis/adexchangebuyer_v1_4/representations.rb b/generated/google/apis/adexchangebuyer_v1_4/representations.rb index a8c2644e2..ce642c6c2 100644 --- a/generated/google/apis/adexchangebuyer_v1_4/representations.rb +++ b/generated/google/apis/adexchangebuyer_v1_4/representations.rb @@ -523,7 +523,7 @@ module Google class Representation < Google::Apis::Core::JsonRepresentation collection :deals, as: 'deals', class: Google::Apis::AdexchangebuyerV1_4::MarketplaceDeal, decorator: Google::Apis::AdexchangebuyerV1_4::MarketplaceDeal::Representation - property :proposal_revision_number, as: 'proposalRevisionNumber' + property :proposal_revision_number, :numeric_string => true, as: 'proposalRevisionNumber' property :update_action, as: 'updateAction' end end @@ -533,7 +533,7 @@ module Google class Representation < Google::Apis::Core::JsonRepresentation collection :deals, as: 'deals', class: Google::Apis::AdexchangebuyerV1_4::MarketplaceDeal, decorator: Google::Apis::AdexchangebuyerV1_4::MarketplaceDeal::Representation - property :proposal_revision_number, as: 'proposalRevisionNumber' + property :proposal_revision_number, :numeric_string => true, as: 'proposalRevisionNumber' end end @@ -575,9 +575,9 @@ module Google class Budget # @private class Representation < Google::Apis::Core::JsonRepresentation - property :account_id, as: 'accountId' - property :billing_id, as: 'billingId' - property :budget_amount, as: 'budgetAmount' + property :account_id, :numeric_string => true, as: 'accountId' + property :billing_id, :numeric_string => true, as: 'billingId' + property :budget_amount, :numeric_string => true, as: 'budgetAmount' property :currency_code, as: 'currencyCode' property :id, as: 'id' property :kind, as: 'kind' @@ -624,7 +624,7 @@ module Google property :ad_choices_destination_url, as: 'adChoicesDestinationUrl' collection :advertiser_id, as: 'advertiserId' property :advertiser_name, as: 'advertiserName' - property :agency_id, as: 'agencyId' + property :agency_id, :numeric_string => true, as: 'agencyId' property :api_upload_timestamp, as: 'apiUploadTimestamp', type: DateTime collection :attribute, as: 'attribute' @@ -685,7 +685,7 @@ module Google class Reason # @private class Representation < Google::Apis::Core::JsonRepresentation - property :filtering_count, as: 'filteringCount' + property :filtering_count, :numeric_string => true, as: 'filteringCount' property :filtering_status, as: 'filteringStatus' end end @@ -783,7 +783,7 @@ module Google # @private class Representation < Google::Apis::Core::JsonRepresentation property :arc_status, as: 'arcStatus' - property :deal_id, as: 'dealId' + property :deal_id, :numeric_string => true, as: 'dealId' property :web_property_id, as: 'webPropertyId' end end @@ -827,7 +827,7 @@ module Google property :description, as: 'description' property :estimated_gross_spend, as: 'estimatedGrossSpend', class: Google::Apis::AdexchangebuyerV1_4::Price, decorator: Google::Apis::AdexchangebuyerV1_4::Price::Representation - property :estimated_impressions_per_day, as: 'estimatedImpressionsPerDay' + property :estimated_impressions_per_day, :numeric_string => true, as: 'estimatedImpressionsPerDay' property :guaranteed_fixed_price_terms, as: 'guaranteedFixedPriceTerms', class: Google::Apis::AdexchangebuyerV1_4::DealTermsGuaranteedFixedPriceTerms, decorator: Google::Apis::AdexchangebuyerV1_4::DealTermsGuaranteedFixedPriceTerms::Representation property :non_guaranteed_auction_terms, as: 'nonGuaranteedAuctionTerms', class: Google::Apis::AdexchangebuyerV1_4::DealTermsNonGuaranteedAuctionTerms, decorator: Google::Apis::AdexchangebuyerV1_4::DealTermsNonGuaranteedAuctionTerms::Representation @@ -847,18 +847,18 @@ module Google collection :fixed_prices, as: 'fixedPrices', class: Google::Apis::AdexchangebuyerV1_4::PricePerBuyer, decorator: Google::Apis::AdexchangebuyerV1_4::PricePerBuyer::Representation - property :guaranteed_impressions, as: 'guaranteedImpressions' - property :guaranteed_looks, as: 'guaranteedLooks' - property :minimum_daily_looks, as: 'minimumDailyLooks' + property :guaranteed_impressions, :numeric_string => true, as: 'guaranteedImpressions' + property :guaranteed_looks, :numeric_string => true, as: 'guaranteedLooks' + property :minimum_daily_looks, :numeric_string => true, as: 'minimumDailyLooks' end end class DealTermsGuaranteedFixedPriceTermsBillingInfo # @private class Representation < Google::Apis::Core::JsonRepresentation - property :currency_conversion_time_ms, as: 'currencyConversionTimeMs' - property :dfp_line_item_id, as: 'dfpLineItemId' - property :original_contracted_quantity, as: 'originalContractedQuantity' + property :currency_conversion_time_ms, :numeric_string => true, as: 'currencyConversionTimeMs' + property :dfp_line_item_id, :numeric_string => true, as: 'dfpLineItemId' + property :original_contracted_quantity, :numeric_string => true, as: 'originalContractedQuantity' property :price, as: 'price', class: Google::Apis::AdexchangebuyerV1_4::Price, decorator: Google::Apis::AdexchangebuyerV1_4::Price::Representation end @@ -895,7 +895,7 @@ module Google # @private class Representation < Google::Apis::Core::JsonRepresentation collection :deal_ids, as: 'dealIds' - property :proposal_revision_number, as: 'proposalRevisionNumber' + property :proposal_revision_number, :numeric_string => true, as: 'proposalRevisionNumber' property :update_action, as: 'updateAction' end end @@ -905,7 +905,7 @@ module Google class Representation < Google::Apis::Core::JsonRepresentation collection :deals, as: 'deals', class: Google::Apis::AdexchangebuyerV1_4::MarketplaceDeal, decorator: Google::Apis::AdexchangebuyerV1_4::MarketplaceDeal::Representation - property :proposal_revision_number, as: 'proposalRevisionNumber' + property :proposal_revision_number, :numeric_string => true, as: 'proposalRevisionNumber' end end @@ -953,7 +953,7 @@ module Google property :proposal, as: 'proposal', class: Google::Apis::AdexchangebuyerV1_4::Proposal, decorator: Google::Apis::AdexchangebuyerV1_4::Proposal::Representation - property :proposal_revision_number, as: 'proposalRevisionNumber' + property :proposal_revision_number, :numeric_string => true, as: 'proposalRevisionNumber' property :update_action, as: 'updateAction' end end @@ -963,7 +963,7 @@ module Google class Representation < Google::Apis::Core::JsonRepresentation collection :deals, as: 'deals', class: Google::Apis::AdexchangebuyerV1_4::MarketplaceDeal, decorator: Google::Apis::AdexchangebuyerV1_4::MarketplaceDeal::Representation - property :order_revision_number, as: 'orderRevisionNumber' + property :order_revision_number, :numeric_string => true, as: 'orderRevisionNumber' end end @@ -1012,7 +1012,7 @@ module Google class Representation < Google::Apis::Core::JsonRepresentation property :buyer_private_data, as: 'buyerPrivateData', class: Google::Apis::AdexchangebuyerV1_4::PrivateData, decorator: Google::Apis::AdexchangebuyerV1_4::PrivateData::Representation - property :creation_time_ms, as: 'creationTimeMs' + property :creation_time_ms, :numeric_string => true, as: 'creationTimeMs' property :creative_pre_approval_policy, as: 'creativePreApprovalPolicy' property :creative_safe_frame_compatibility, as: 'creativeSafeFrameCompatibility' property :deal_id, as: 'dealId' @@ -1021,15 +1021,15 @@ module Google property :delivery_control, as: 'deliveryControl', class: Google::Apis::AdexchangebuyerV1_4::DeliveryControl, decorator: Google::Apis::AdexchangebuyerV1_4::DeliveryControl::Representation property :external_deal_id, as: 'externalDealId' - property :flight_end_time_ms, as: 'flightEndTimeMs' - property :flight_start_time_ms, as: 'flightStartTimeMs' + property :flight_end_time_ms, :numeric_string => true, as: 'flightEndTimeMs' + property :flight_start_time_ms, :numeric_string => true, as: 'flightStartTimeMs' property :inventory_description, as: 'inventoryDescription' property :is_rfp_template, as: 'isRfpTemplate' property :kind, as: 'kind' - property :last_update_time_ms, as: 'lastUpdateTimeMs' + property :last_update_time_ms, :numeric_string => true, as: 'lastUpdateTimeMs' property :name, as: 'name' property :product_id, as: 'productId' - property :product_revision_number, as: 'productRevisionNumber' + property :product_revision_number, :numeric_string => true, as: 'productRevisionNumber' property :programmatic_creative_source, as: 'programmaticCreativeSource' property :proposal_id, as: 'proposalId' collection :seller_contacts, as: 'sellerContacts', class: Google::Apis::AdexchangebuyerV1_4::ContactInformation, decorator: Google::Apis::AdexchangebuyerV1_4::ContactInformation::Representation @@ -1057,7 +1057,7 @@ module Google # @private class Representation < Google::Apis::Core::JsonRepresentation property :account_id, as: 'accountId' - property :create_time_ms, as: 'createTimeMs' + property :create_time_ms, :numeric_string => true, as: 'createTimeMs' property :deprecated_marketplace_deal_party, as: 'deprecatedMarketplaceDealParty', class: Google::Apis::AdexchangebuyerV1_4::MarketplaceDealParty, decorator: Google::Apis::AdexchangebuyerV1_4::MarketplaceDealParty::Representation property :label, as: 'label' @@ -1073,8 +1073,8 @@ module Google property :note, as: 'note' property :note_id, as: 'noteId' property :proposal_id, as: 'proposalId' - property :proposal_revision_number, as: 'proposalRevisionNumber' - property :timestamp_ms, as: 'timestampMs' + property :proposal_revision_number, :numeric_string => true, as: 'proposalRevisionNumber' + property :timestamp_ms, :numeric_string => true, as: 'timestampMs' end end @@ -1101,7 +1101,7 @@ module Google property :quota_throttled_limit, as: 'quotaThrottledLimit' property :region, as: 'region' property :successful_request_rate, as: 'successfulRequestRate' - property :timestamp, as: 'timestamp' + property :timestamp, :numeric_string => true, as: 'timestamp' property :unsuccessful_request_rate, as: 'unsuccessfulRequestRate' end end @@ -1118,8 +1118,8 @@ module Google class PretargetingConfig # @private class Representation < Google::Apis::Core::JsonRepresentation - property :billing_id, as: 'billingId' - property :config_id, as: 'configId' + property :billing_id, :numeric_string => true, as: 'billingId' + property :config_id, :numeric_string => true, as: 'configId' property :config_name, as: 'configName' collection :creative_type, as: 'creativeType' collection :dimensions, as: 'dimensions', class: Google::Apis::AdexchangebuyerV1_4::PretargetingConfig::Dimension, decorator: Google::Apis::AdexchangebuyerV1_4::PretargetingConfig::Dimension::Representation @@ -1153,8 +1153,8 @@ module Google class Dimension # @private class Representation < Google::Apis::Core::JsonRepresentation - property :height, as: 'height' - property :width, as: 'width' + property :height, :numeric_string => true, as: 'height' + property :width, :numeric_string => true, as: 'width' end end @@ -1178,8 +1178,8 @@ module Google # @private class Representation < Google::Apis::Core::JsonRepresentation property :aspect_ratio, as: 'aspectRatio' - property :min_height, as: 'minHeight' - property :min_width, as: 'minWidth' + property :min_height, :numeric_string => true, as: 'minHeight' + property :min_width, :numeric_string => true, as: 'minWidth' end end end @@ -1225,19 +1225,19 @@ module Google class Product # @private class Representation < Google::Apis::Core::JsonRepresentation - property :creation_time_ms, as: 'creationTimeMs' + property :creation_time_ms, :numeric_string => true, as: 'creationTimeMs' collection :creator_contacts, as: 'creatorContacts', class: Google::Apis::AdexchangebuyerV1_4::ContactInformation, decorator: Google::Apis::AdexchangebuyerV1_4::ContactInformation::Representation property :delivery_control, as: 'deliveryControl', class: Google::Apis::AdexchangebuyerV1_4::DeliveryControl, decorator: Google::Apis::AdexchangebuyerV1_4::DeliveryControl::Representation - property :flight_end_time_ms, as: 'flightEndTimeMs' - property :flight_start_time_ms, as: 'flightStartTimeMs' + property :flight_end_time_ms, :numeric_string => true, as: 'flightEndTimeMs' + property :flight_start_time_ms, :numeric_string => true, as: 'flightStartTimeMs' property :has_creator_signed_off, as: 'hasCreatorSignedOff' property :inventory_source, as: 'inventorySource' property :kind, as: 'kind' collection :labels, as: 'labels', class: Google::Apis::AdexchangebuyerV1_4::MarketplaceLabel, decorator: Google::Apis::AdexchangebuyerV1_4::MarketplaceLabel::Representation - property :last_update_time_ms, as: 'lastUpdateTimeMs' + property :last_update_time_ms, :numeric_string => true, as: 'lastUpdateTimeMs' property :legacy_offer_id, as: 'legacyOfferId' property :marketplace_publisher_profile_id, as: 'marketplacePublisherProfileId' property :name, as: 'name' @@ -1246,7 +1246,7 @@ module Google property :publisher_profile_id, as: 'publisherProfileId' property :publisher_provided_forecast, as: 'publisherProvidedForecast', class: Google::Apis::AdexchangebuyerV1_4::PublisherProvidedForecast, decorator: Google::Apis::AdexchangebuyerV1_4::PublisherProvidedForecast::Representation - property :revision_number, as: 'revisionNumber' + property :revision_number, :numeric_string => true, as: 'revisionNumber' property :seller, as: 'seller', class: Google::Apis::AdexchangebuyerV1_4::Seller, decorator: Google::Apis::AdexchangebuyerV1_4::Seller::Representation collection :shared_targetings, as: 'sharedTargetings', class: Google::Apis::AdexchangebuyerV1_4::SharedTargeting, decorator: Google::Apis::AdexchangebuyerV1_4::SharedTargeting::Representation @@ -1286,8 +1286,8 @@ module Google property :private_auction_id, as: 'privateAuctionId' property :proposal_id, as: 'proposalId' property :proposal_state, as: 'proposalState' - property :revision_number, as: 'revisionNumber' - property :revision_time_ms, as: 'revisionTimeMs' + property :revision_number, :numeric_string => true, as: 'revisionNumber' + property :revision_time_ms, :numeric_string => true, as: 'revisionTimeMs' property :seller, as: 'seller', class: Google::Apis::AdexchangebuyerV1_4::Seller, decorator: Google::Apis::AdexchangebuyerV1_4::Seller::Representation collection :seller_contacts, as: 'sellerContacts', class: Google::Apis::AdexchangebuyerV1_4::ContactInformation, decorator: Google::Apis::AdexchangebuyerV1_4::ContactInformation::Representation @@ -1331,8 +1331,8 @@ module Google class Representation < Google::Apis::Core::JsonRepresentation collection :dimensions, as: 'dimensions', class: Google::Apis::AdexchangebuyerV1_4::Dimension, decorator: Google::Apis::AdexchangebuyerV1_4::Dimension::Representation - property :weekly_impressions, as: 'weeklyImpressions' - property :weekly_uniques, as: 'weeklyUniques' + property :weekly_impressions, :numeric_string => true, as: 'weeklyImpressions' + property :weekly_uniques, :numeric_string => true, as: 'weeklyUniques' end end @@ -1362,7 +1362,7 @@ module Google property :day_part_targeting_value, as: 'dayPartTargetingValue', class: Google::Apis::AdexchangebuyerV1_4::TargetingValueDayPartTargeting, decorator: Google::Apis::AdexchangebuyerV1_4::TargetingValueDayPartTargeting::Representation - property :long_value, as: 'longValue' + property :long_value, :numeric_string => true, as: 'longValue' property :string_value, as: 'stringValue' end end @@ -1413,7 +1413,7 @@ module Google property :external_deal_id, as: 'externalDealId' property :note, as: 'note', class: Google::Apis::AdexchangebuyerV1_4::MarketplaceNote, decorator: Google::Apis::AdexchangebuyerV1_4::MarketplaceNote::Representation - property :proposal_revision_number, as: 'proposalRevisionNumber' + property :proposal_revision_number, :numeric_string => true, as: 'proposalRevisionNumber' property :update_action, as: 'updateAction' end end diff --git a/generated/google/apis/adexchangebuyer_v1_4/service.rb b/generated/google/apis/adexchangebuyer_v1_4/service.rb index 6884c2fa6..a06d3d241 100644 --- a/generated/google/apis/adexchangebuyer_v1_4/service.rb +++ b/generated/google/apis/adexchangebuyer_v1_4/service.rb @@ -51,6 +51,7 @@ module Google def initialize super('https://www.googleapis.com/', 'adexchangebuyer/v1.4/') + @batch_path = 'batch' end # Gets one account by ID. @@ -272,9 +273,9 @@ module Google # Returns the budget information for the adgroup specified by the accountId and # billingId. - # @param [String] account_id + # @param [Fixnum] account_id # The account id to get the budget information for. - # @param [String] billing_id + # @param [Fixnum] billing_id # The billing id to get the budget information for. # @param [String] fields # Selector specifying which fields to include in a partial response. @@ -312,9 +313,9 @@ module Google # Updates the budget amount for the budget of the adgroup specified by the # accountId and billingId, with the budget amount in the request. This method # supports patch semantics. - # @param [String] account_id + # @param [Fixnum] account_id # The account id associated with the budget being updated. - # @param [String] billing_id + # @param [Fixnum] billing_id # The billing id associated with the budget being updated. # @param [Google::Apis::AdexchangebuyerV1_4::Budget] budget_object # @param [String] fields @@ -354,9 +355,9 @@ module Google # Updates the budget amount for the budget of the adgroup specified by the # accountId and billingId, with the budget amount in the request. - # @param [String] account_id + # @param [Fixnum] account_id # The account id associated with the budget being updated. - # @param [String] billing_id + # @param [Fixnum] billing_id # The billing id associated with the budget being updated. # @param [Google::Apis::AdexchangebuyerV1_4::Budget] budget_object # @param [String] fields @@ -399,7 +400,7 @@ module Google # The id for the account that will serve this creative. # @param [String] buyer_creative_id # The buyer-specific id for this creative. - # @param [String] deal_id + # @param [Fixnum] deal_id # The id of the deal id to associate with this creative. # @param [String] fields # Selector specifying which fields to include in a partial response. @@ -605,7 +606,7 @@ module Google # The id for the account that will serve this creative. # @param [String] buyer_creative_id # The buyer-specific id for this creative. - # @param [String] deal_id + # @param [Fixnum] deal_id # The id of the deal id to disassociate with this creative. # @param [String] fields # Selector specifying which fields to include in a partial response. @@ -908,7 +909,7 @@ module Google end # Retrieves the authenticated user's list of performance metrics. - # @param [String] account_id + # @param [Fixnum] account_id # The account id to get the reports. # @param [String] end_date_time # The end time of the report in ISO 8601 timestamp format using UTC. @@ -958,9 +959,9 @@ module Google end # Deletes an existing pretargeting config. - # @param [String] account_id + # @param [Fixnum] account_id # The account id to delete the pretargeting config for. - # @param [String] config_id + # @param [Fixnum] config_id # The specific id of the configuration to delete. # @param [String] fields # Selector specifying which fields to include in a partial response. @@ -994,9 +995,9 @@ module Google end # Gets a specific pretargeting configuration - # @param [String] account_id + # @param [Fixnum] account_id # The account id to get the pretargeting config for. - # @param [String] config_id + # @param [Fixnum] config_id # The specific id of the configuration to retrieve. # @param [String] fields # Selector specifying which fields to include in a partial response. @@ -1032,7 +1033,7 @@ module Google end # Inserts a new pretargeting configuration. - # @param [String] account_id + # @param [Fixnum] account_id # The account id to insert the pretargeting config for. # @param [Google::Apis::AdexchangebuyerV1_4::PretargetingConfig] pretargeting_config_object # @param [String] fields @@ -1070,7 +1071,7 @@ module Google end # Retrieves a list of the authenticated user's pretargeting configurations. - # @param [String] account_id + # @param [Fixnum] account_id # The account id to get the pretargeting configs for. # @param [String] fields # Selector specifying which fields to include in a partial response. @@ -1105,9 +1106,9 @@ module Google end # Updates an existing pretargeting config. This method supports patch semantics. - # @param [String] account_id + # @param [Fixnum] account_id # The account id to update the pretargeting config for. - # @param [String] config_id + # @param [Fixnum] config_id # The specific id of the configuration to update. # @param [Google::Apis::AdexchangebuyerV1_4::PretargetingConfig] pretargeting_config_object # @param [String] fields @@ -1146,9 +1147,9 @@ module Google end # Updates an existing pretargeting config. - # @param [String] account_id + # @param [Fixnum] account_id # The account id to update the pretargeting config for. - # @param [String] config_id + # @param [Fixnum] config_id # The specific id of the configuration to update. # @param [Google::Apis::AdexchangebuyerV1_4::PretargetingConfig] pretargeting_config_object # @param [String] fields @@ -1329,7 +1330,7 @@ module Google # Update the given proposal. This method supports patch semantics. # @param [String] proposal_id # The proposal id to update. - # @param [String] revision_number + # @param [Fixnum] revision_number # The last known revision number to update. If the head revision in the # marketplace database has since changed, an error will be thrown. The caller # should then fetch the latest proposal at head revision and retry the update at @@ -1445,7 +1446,7 @@ module Google # Update the given proposal # @param [String] proposal_id # The proposal id to update. - # @param [String] revision_number + # @param [Fixnum] revision_number # The last known revision number to update. If the head revision in the # marketplace database has since changed, an error will be thrown. The caller # should then fetch the latest proposal at head revision and retry the update at diff --git a/generated/google/apis/adexchangeseller_v2_0/classes.rb b/generated/google/apis/adexchangeseller_v2_0/classes.rb index 6249fa9d0..4d479a609 100644 --- a/generated/google/apis/adexchangeseller_v2_0/classes.rb +++ b/generated/google/apis/adexchangeseller_v2_0/classes.rb @@ -417,7 +417,7 @@ module Google # Time when this deal stops being active in seconds since the epoch (GMT). If # not set then this deal is valid until manually disabled by the publisher. # Corresponds to the JSON property `endTime` - # @return [String] + # @return [Fixnum] attr_accessor :end_time # The fixed price for this preferred deal. In cpm micros of currency according @@ -425,12 +425,12 @@ module Google # price tier of buying (highest priority, pay exactly the configured fixed price) # . # Corresponds to the JSON property `fixedCpm` - # @return [String] + # @return [Fixnum] attr_accessor :fixed_cpm # Unique identifier of this preferred deal. # Corresponds to the JSON property `id` - # @return [String] + # @return [Fixnum] attr_accessor :id # Kind of resource this is, in this case adexchangeseller#preferredDeal. @@ -441,7 +441,7 @@ module Google # Time when this deal becomes active in seconds since the epoch (GMT). If not # set then this deal is active immediately upon creation. # Corresponds to the JSON property `startTime` - # @return [String] + # @return [Fixnum] attr_accessor :start_time def initialize(**args) @@ -519,7 +519,7 @@ module Google # returned in the response due to being limited by the row count requested or # the report row limit. # Corresponds to the JSON property `totalMatchedRows` - # @return [String] + # @return [Fixnum] attr_accessor :total_matched_rows # The totals of the report. This is the same length as any other row in the diff --git a/generated/google/apis/adexchangeseller_v2_0/representations.rb b/generated/google/apis/adexchangeseller_v2_0/representations.rb index db151500f..c88f8f9ab 100644 --- a/generated/google/apis/adexchangeseller_v2_0/representations.rb +++ b/generated/google/apis/adexchangeseller_v2_0/representations.rb @@ -246,11 +246,11 @@ module Google property :advertiser_name, as: 'advertiserName' property :buyer_network_name, as: 'buyerNetworkName' property :currency_code, as: 'currencyCode' - property :end_time, as: 'endTime' - property :fixed_cpm, as: 'fixedCpm' - property :id, as: 'id' + property :end_time, :numeric_string => true, as: 'endTime' + property :fixed_cpm, :numeric_string => true, as: 'fixedCpm' + property :id, :numeric_string => true, as: 'id' property :kind, as: 'kind' - property :start_time, as: 'startTime' + property :start_time, :numeric_string => true, as: 'startTime' end end @@ -275,7 +275,7 @@ module Google items end - property :total_matched_rows, as: 'totalMatchedRows' + property :total_matched_rows, :numeric_string => true, as: 'totalMatchedRows' collection :totals, as: 'totals' collection :warnings, as: 'warnings' end diff --git a/generated/google/apis/adexchangeseller_v2_0/service.rb b/generated/google/apis/adexchangeseller_v2_0/service.rb index ef9e31bd7..87cc8dc32 100644 --- a/generated/google/apis/adexchangeseller_v2_0/service.rb +++ b/generated/google/apis/adexchangeseller_v2_0/service.rb @@ -50,6 +50,7 @@ module Google def initialize super('https://www.googleapis.com/', 'adexchangeseller/v2.0/') + @batch_path = 'batch' end # Get information about the selected Ad Exchange account. diff --git a/generated/google/apis/admin_datatransfer_v1/classes.rb b/generated/google/apis/admin_datatransfer_v1/classes.rb index c9468ebba..1ef1b0b17 100644 --- a/generated/google/apis/admin_datatransfer_v1/classes.rb +++ b/generated/google/apis/admin_datatransfer_v1/classes.rb @@ -33,7 +33,7 @@ module Google # The application's ID. # Corresponds to the JSON property `id` - # @return [String] + # @return [Fixnum] attr_accessor :id # Identifies the resource as a DataTransfer Application Resource. @@ -73,7 +73,7 @@ module Google # The application's ID. # Corresponds to the JSON property `applicationId` - # @return [String] + # @return [Fixnum] attr_accessor :application_id # The transfer parameters for the application. These parameters are used to diff --git a/generated/google/apis/admin_datatransfer_v1/representations.rb b/generated/google/apis/admin_datatransfer_v1/representations.rb index 645336714..d7df71054 100644 --- a/generated/google/apis/admin_datatransfer_v1/representations.rb +++ b/generated/google/apis/admin_datatransfer_v1/representations.rb @@ -62,7 +62,7 @@ module Google # @private class Representation < Google::Apis::Core::JsonRepresentation property :etag, as: 'etag' - property :id, as: 'id' + property :id, :numeric_string => true, as: 'id' property :kind, as: 'kind' property :name, as: 'name' collection :transfer_params, as: 'transferParams', class: Google::Apis::AdminDatatransferV1::ApplicationTransferParam, decorator: Google::Apis::AdminDatatransferV1::ApplicationTransferParam::Representation @@ -73,7 +73,7 @@ module Google class ApplicationDataTransfer # @private class Representation < Google::Apis::Core::JsonRepresentation - property :application_id, as: 'applicationId' + property :application_id, :numeric_string => true, as: 'applicationId' collection :application_transfer_params, as: 'applicationTransferParams', class: Google::Apis::AdminDatatransferV1::ApplicationTransferParam, decorator: Google::Apis::AdminDatatransferV1::ApplicationTransferParam::Representation property :application_transfer_status, as: 'applicationTransferStatus' diff --git a/generated/google/apis/admin_datatransfer_v1/service.rb b/generated/google/apis/admin_datatransfer_v1/service.rb index 1f9de8493..1334df466 100644 --- a/generated/google/apis/admin_datatransfer_v1/service.rb +++ b/generated/google/apis/admin_datatransfer_v1/service.rb @@ -50,10 +50,11 @@ module Google def initialize super('https://www.googleapis.com/', 'admin/datatransfer/v1/') + @batch_path = 'batch' end # Retrieves information about an application for the given application ID. - # @param [String] application_id + # @param [Fixnum] application_id # ID of the application resource to be retrieved. # @param [String] fields # Selector specifying which fields to include in a partial response. diff --git a/generated/google/apis/admin_directory_v1/classes.rb b/generated/google/apis/admin_directory_v1/classes.rb index 34f77cabf..aa70733d4 100644 --- a/generated/google/apis/admin_directory_v1/classes.rb +++ b/generated/google/apis/admin_directory_v1/classes.rb @@ -107,7 +107,7 @@ module Google # The time when the ASP was created. Expressed in Unix time format. # Corresponds to the JSON property `creationTime` - # @return [String] + # @return [Fixnum] attr_accessor :creation_time # ETag of the ASP. @@ -122,7 +122,7 @@ module Google # The time when the ASP was last used. Expressed in Unix time format. # Corresponds to the JSON property `lastTimeUsed` - # @return [String] + # @return [Fixnum] attr_accessor :last_time_used # The name of the application that the user, represented by their userId, @@ -292,7 +292,7 @@ module Google # Date and time of notification channel expiration, expressed as a Unix # timestamp, in milliseconds. Optional. # Corresponds to the JSON property `expiration` - # @return [String] + # @return [Fixnum] attr_accessor :expiration # A UUID or similar unique string that identifies this channel. @@ -785,7 +785,7 @@ module Google # The creation time of the domain alias. (Read-only). # Corresponds to the JSON property `creationTime` - # @return [String] + # @return [Fixnum] attr_accessor :creation_time # The domain alias name. @@ -867,7 +867,7 @@ module Google # Creation time of the domain. (Read-only). # Corresponds to the JSON property `creationTime` - # @return [String] + # @return [Fixnum] attr_accessor :creation_time # List of domain alias objects. (Read-only) @@ -971,7 +971,7 @@ module Google # Group direct members count # Corresponds to the JSON property `directMembersCount` - # @return [String] + # @return [Fixnum] attr_accessor :direct_members_count # Email of Group @@ -1325,7 +1325,7 @@ module Google # Mobile Device Security patch level (Read-only) # Corresponds to the JSON property `securityPatchLevel` - # @return [String] + # @return [Fixnum] attr_accessor :security_patch_level # Mobile Device SSN or Serial Number (Read-only) @@ -1840,7 +1840,7 @@ module Google # ID of the role. # Corresponds to the JSON property `roleId` - # @return [String] + # @return [Fixnum] attr_accessor :role_id # Name of the role. @@ -1922,12 +1922,12 @@ module Google # ID of this roleAssignment. # Corresponds to the JSON property `roleAssignmentId` - # @return [String] + # @return [Fixnum] attr_accessor :role_assignment_id # The ID of the role that is assigned. # Corresponds to the JSON property `roleId` - # @return [String] + # @return [Fixnum] attr_accessor :role_id # The scope in which this role is assigned. Possible values are: @@ -3147,7 +3147,7 @@ module Google # An expiration time in microseconds since epoch. # Corresponds to the JSON property `expirationTimeUsec` - # @return [String] + # @return [Fixnum] attr_accessor :expiration_time_usec # A SHA-256 fingerprint of the SSH public key. (Read-only) diff --git a/generated/google/apis/admin_directory_v1/representations.rb b/generated/google/apis/admin_directory_v1/representations.rb index 3589414a7..87141ef49 100644 --- a/generated/google/apis/admin_directory_v1/representations.rb +++ b/generated/google/apis/admin_directory_v1/representations.rb @@ -418,10 +418,10 @@ module Google # @private class Representation < Google::Apis::Core::JsonRepresentation property :code_id, as: 'codeId' - property :creation_time, as: 'creationTime' + property :creation_time, :numeric_string => true, as: 'creationTime' property :etag, as: 'etag' property :kind, as: 'kind' - property :last_time_used, as: 'lastTimeUsed' + property :last_time_used, :numeric_string => true, as: 'lastTimeUsed' property :name, as: 'name' property :user_key, as: 'userKey' end @@ -465,7 +465,7 @@ module Google # @private class Representation < Google::Apis::Core::JsonRepresentation property :address, as: 'address' - property :expiration, as: 'expiration' + property :expiration, :numeric_string => true, as: 'expiration' property :id, as: 'id' property :kind, as: 'kind' hash :params, as: 'params' @@ -584,7 +584,7 @@ module Google class DomainAlias # @private class Representation < Google::Apis::Core::JsonRepresentation - property :creation_time, as: 'creationTime' + property :creation_time, :numeric_string => true, as: 'creationTime' property :domain_alias_name, as: 'domainAliasName' property :etag, as: 'etag' property :kind, as: 'kind' @@ -606,7 +606,7 @@ module Google class Domains # @private class Representation < Google::Apis::Core::JsonRepresentation - property :creation_time, as: 'creationTime' + property :creation_time, :numeric_string => true, as: 'creationTime' collection :domain_aliases, as: 'domainAliases', class: Google::Apis::AdminDirectoryV1::DomainAlias, decorator: Google::Apis::AdminDirectoryV1::DomainAlias::Representation property :domain_name, as: 'domainName' @@ -633,7 +633,7 @@ module Google property :admin_created, as: 'adminCreated' collection :aliases, as: 'aliases' property :description, as: 'description' - property :direct_members_count, as: 'directMembersCount' + property :direct_members_count, :numeric_string => true, as: 'directMembersCount' property :email, as: 'email' property :etag, as: 'etag' property :id, as: 'id' @@ -716,7 +716,7 @@ module Google property :privilege, as: 'privilege' property :release_version, as: 'releaseVersion' property :resource_id, as: 'resourceId' - property :security_patch_level, as: 'securityPatchLevel' + property :security_patch_level, :numeric_string => true, as: 'securityPatchLevel' property :serial_number, as: 'serialNumber' property :status, as: 'status' property :supports_work_profile, as: 'supportsWorkProfile' @@ -840,7 +840,7 @@ module Google property :is_system_role, as: 'isSystemRole' property :kind, as: 'kind' property :role_description, as: 'roleDescription' - property :role_id, as: 'roleId' + property :role_id, :numeric_string => true, as: 'roleId' property :role_name, as: 'roleName' collection :role_privileges, as: 'rolePrivileges', class: Google::Apis::AdminDirectoryV1::Role::RolePrivilege, decorator: Google::Apis::AdminDirectoryV1::Role::RolePrivilege::Representation @@ -862,8 +862,8 @@ module Google property :etag, as: 'etag' property :kind, as: 'kind' property :org_unit_id, as: 'orgUnitId' - property :role_assignment_id, as: 'roleAssignmentId' - property :role_id, as: 'roleId' + property :role_assignment_id, :numeric_string => true, as: 'roleAssignmentId' + property :role_id, :numeric_string => true, as: 'roleId' property :scope_type, as: 'scopeType' end end @@ -1150,7 +1150,7 @@ module Google class UserSshPublicKey # @private class Representation < Google::Apis::Core::JsonRepresentation - property :expiration_time_usec, as: 'expirationTimeUsec' + property :expiration_time_usec, :numeric_string => true, as: 'expirationTimeUsec' property :fingerprint, as: 'fingerprint' property :key, as: 'key' end diff --git a/generated/google/apis/admin_directory_v1/service.rb b/generated/google/apis/admin_directory_v1/service.rb index 7a0ad0325..8cbb631dc 100644 --- a/generated/google/apis/admin_directory_v1/service.rb +++ b/generated/google/apis/admin_directory_v1/service.rb @@ -51,6 +51,7 @@ module Google def initialize super('https://www.googleapis.com/', 'admin/directory/v1/') + @batch_path = 'batch' end # Delete an ASP issued by a user. diff --git a/generated/google/apis/admin_reports_v1/classes.rb b/generated/google/apis/admin_reports_v1/classes.rb index a03f22d0c..d56f7b62c 100644 --- a/generated/google/apis/admin_reports_v1/classes.rb +++ b/generated/google/apis/admin_reports_v1/classes.rb @@ -192,12 +192,12 @@ module Google # Integral value of the parameter. # Corresponds to the JSON property `intValue` - # @return [String] + # @return [Fixnum] attr_accessor :int_value # Multi-int value of the parameter. # Corresponds to the JSON property `multiIntValue` - # @return [Array] + # @return [Array] attr_accessor :multi_int_value # Multi-string value of the parameter. @@ -252,7 +252,7 @@ module Google # Unique qualifier if multiple events have the same time. # Corresponds to the JSON property `uniqueQualifier` - # @return [String] + # @return [Fixnum] attr_accessor :unique_qualifier def initialize(**args) @@ -281,7 +281,7 @@ module Google # Date and time of notification channel expiration, expressed as a Unix # timestamp, in milliseconds. Optional. # Corresponds to the JSON property `expiration` - # @return [String] + # @return [Fixnum] attr_accessor :expiration # A UUID or similar unique string that identifies this channel. @@ -443,7 +443,7 @@ module Google # Integral value of the parameter. # Corresponds to the JSON property `intValue` - # @return [String] + # @return [Fixnum] attr_accessor :int_value # Nested message value of the parameter. diff --git a/generated/google/apis/admin_reports_v1/representations.rb b/generated/google/apis/admin_reports_v1/representations.rb index 7e7affffa..fa0382689 100644 --- a/generated/google/apis/admin_reports_v1/representations.rb +++ b/generated/google/apis/admin_reports_v1/representations.rb @@ -149,7 +149,7 @@ module Google # @private class Representation < Google::Apis::Core::JsonRepresentation property :bool_value, as: 'boolValue' - property :int_value, as: 'intValue' + property :int_value, :numeric_string => true, as: 'intValue' collection :multi_int_value, as: 'multiIntValue' collection :multi_value, as: 'multiValue' property :name, as: 'name' @@ -165,7 +165,7 @@ module Google property :customer_id, as: 'customerId' property :time, as: 'time', type: DateTime - property :unique_qualifier, as: 'uniqueQualifier' + property :unique_qualifier, :numeric_string => true, as: 'uniqueQualifier' end end end @@ -174,7 +174,7 @@ module Google # @private class Representation < Google::Apis::Core::JsonRepresentation property :address, as: 'address' - property :expiration, as: 'expiration' + property :expiration, :numeric_string => true, as: 'expiration' property :id, as: 'id' property :kind, as: 'kind' hash :params, as: 'params' @@ -214,7 +214,7 @@ module Google property :bool_value, as: 'boolValue' property :datetime_value, as: 'datetimeValue', type: DateTime - property :int_value, as: 'intValue' + property :int_value, :numeric_string => true, as: 'intValue' collection :msg_value, as: 'msgValue' property :name, as: 'name' property :string_value, as: 'stringValue' diff --git a/generated/google/apis/admin_reports_v1/service.rb b/generated/google/apis/admin_reports_v1/service.rb index b08ad21e3..ab47cadcc 100644 --- a/generated/google/apis/admin_reports_v1/service.rb +++ b/generated/google/apis/admin_reports_v1/service.rb @@ -51,6 +51,7 @@ module Google def initialize super('https://www.googleapis.com/', 'admin/reports/v1/') + @batch_path = 'batch' end # Retrieves a list of activities for a specific customer and application. diff --git a/generated/google/apis/adsense_v1_4.rb b/generated/google/apis/adsense_v1_4.rb index f69d47b16..7ef6b5930 100644 --- a/generated/google/apis/adsense_v1_4.rb +++ b/generated/google/apis/adsense_v1_4.rb @@ -25,7 +25,7 @@ module Google # @see https://developers.google.com/adsense/management/ module AdsenseV1_4 VERSION = 'V1_4' - REVISION = '20170329' + REVISION = '20170401' # View and manage your AdSense data AUTH_ADSENSE = 'https://www.googleapis.com/auth/adsense' diff --git a/generated/google/apis/adsense_v1_4/classes.rb b/generated/google/apis/adsense_v1_4/classes.rb index 6cb60a5fc..b82e36932 100644 --- a/generated/google/apis/adsense_v1_4/classes.rb +++ b/generated/google/apis/adsense_v1_4/classes.rb @@ -28,7 +28,7 @@ module Google # # Corresponds to the JSON property `creation_time` - # @return [String] + # @return [Fixnum] attr_accessor :creation_time # Unique identifier of this account. @@ -633,7 +633,7 @@ module Google # returned in the response due to being limited by the row count requested or # the report row limit. # Corresponds to the JSON property `totalMatchedRows` - # @return [String] + # @return [Fixnum] attr_accessor :total_matched_rows # The totals of the report. This is the same length as any other row in the diff --git a/generated/google/apis/adsense_v1_4/representations.rb b/generated/google/apis/adsense_v1_4/representations.rb index b9f4f8ace..d977a03f5 100644 --- a/generated/google/apis/adsense_v1_4/representations.rb +++ b/generated/google/apis/adsense_v1_4/representations.rb @@ -211,7 +211,7 @@ module Google class Account # @private class Representation < Google::Apis::Core::JsonRepresentation - property :creation_time, as: 'creation_time' + property :creation_time, :numeric_string => true, as: 'creation_time' property :id, as: 'id' property :kind, as: 'kind' property :name, as: 'name' @@ -378,7 +378,7 @@ module Google end property :start_date, as: 'startDate' - property :total_matched_rows, as: 'totalMatchedRows' + property :total_matched_rows, :numeric_string => true, as: 'totalMatchedRows' collection :totals, as: 'totals' collection :warnings, as: 'warnings' end diff --git a/generated/google/apis/adsense_v1_4/service.rb b/generated/google/apis/adsense_v1_4/service.rb index 8ce9adc8d..7c1dd297c 100644 --- a/generated/google/apis/adsense_v1_4/service.rb +++ b/generated/google/apis/adsense_v1_4/service.rb @@ -50,6 +50,7 @@ module Google def initialize super('https://www.googleapis.com/', 'adsense/v1.4/') + @batch_path = 'batch' end # Get information about the selected AdSense account. diff --git a/generated/google/apis/adsensehost_v4_1.rb b/generated/google/apis/adsensehost_v4_1.rb index e15e0fec8..359b864aa 100644 --- a/generated/google/apis/adsensehost_v4_1.rb +++ b/generated/google/apis/adsensehost_v4_1.rb @@ -26,7 +26,7 @@ module Google # @see https://developers.google.com/adsense/host/ module AdsensehostV4_1 VERSION = 'V4_1' - REVISION = '20170329' + REVISION = '20170401' # View and manage your AdSense host data and associated accounts AUTH_ADSENSEHOST = 'https://www.googleapis.com/auth/adsensehost' diff --git a/generated/google/apis/adsensehost_v4_1/classes.rb b/generated/google/apis/adsensehost_v4_1/classes.rb index 118419279..afca2cd0d 100644 --- a/generated/google/apis/adsensehost_v4_1/classes.rb +++ b/generated/google/apis/adsensehost_v4_1/classes.rb @@ -698,7 +698,7 @@ module Google # returned in the response due to being limited by the row count requested or # the report row limit. # Corresponds to the JSON property `totalMatchedRows` - # @return [String] + # @return [Fixnum] attr_accessor :total_matched_rows # The totals of the report. This is the same length as any other row in the diff --git a/generated/google/apis/adsensehost_v4_1/representations.rb b/generated/google/apis/adsensehost_v4_1/representations.rb index a8c494ac7..ed273794b 100644 --- a/generated/google/apis/adsensehost_v4_1/representations.rb +++ b/generated/google/apis/adsensehost_v4_1/representations.rb @@ -328,7 +328,7 @@ module Google items end - property :total_matched_rows, as: 'totalMatchedRows' + property :total_matched_rows, :numeric_string => true, as: 'totalMatchedRows' collection :totals, as: 'totals' collection :warnings, as: 'warnings' end diff --git a/generated/google/apis/adsensehost_v4_1/service.rb b/generated/google/apis/adsensehost_v4_1/service.rb index 6ad489f8f..fba3eb21d 100644 --- a/generated/google/apis/adsensehost_v4_1/service.rb +++ b/generated/google/apis/adsensehost_v4_1/service.rb @@ -51,6 +51,7 @@ module Google def initialize super('https://www.googleapis.com/', 'adsensehost/v4.1/') + @batch_path = 'batch' end # Get information about the selected associated AdSense account. diff --git a/generated/google/apis/analytics_v3/classes.rb b/generated/google/apis/analytics_v3/classes.rb index 2e98c3bd6..011c914fc 100644 --- a/generated/google/apis/analytics_v3/classes.rb +++ b/generated/google/apis/analytics_v3/classes.rb @@ -2415,7 +2415,7 @@ module Google # The last refreshed time in seconds for Analytics data. # Corresponds to the JSON property `dataLastRefreshed` - # @return [String] + # @return [Fixnum] attr_accessor :data_last_refreshed # @@ -2469,12 +2469,12 @@ module Google # The number of samples used to calculate the result. # Corresponds to the JSON property `sampleSize` - # @return [String] + # @return [Fixnum] attr_accessor :sample_size # Total size of the sample space from which the samples were selected. # Corresponds to the JSON property `sampleSpace` - # @return [String] + # @return [Fixnum] attr_accessor :sample_space # Link to this page. @@ -2936,7 +2936,7 @@ module Google # Value used for this comparison. # Corresponds to the JSON property `comparisonValue` - # @return [String] + # @return [Fixnum] attr_accessor :comparison_value # Expression used for this match. @@ -3085,7 +3085,7 @@ module Google # Value used for this comparison. # Corresponds to the JSON property `comparisonValue` - # @return [String] + # @return [Fixnum] attr_accessor :comparison_value def initialize(**args) @@ -3110,7 +3110,7 @@ module Google # Value used for this comparison. # Corresponds to the JSON property `comparisonValue` - # @return [String] + # @return [Fixnum] attr_accessor :comparison_value def initialize(**args) @@ -3380,12 +3380,12 @@ module Google # The number of samples used to calculate the result. # Corresponds to the JSON property `sampleSize` - # @return [String] + # @return [Fixnum] attr_accessor :sample_size # Total size of the sample space from which the samples were selected. # Corresponds to the JSON property `sampleSpace` - # @return [String] + # @return [Fixnum] attr_accessor :sample_space # Link to this page. @@ -5025,7 +5025,7 @@ module Google # Account Id to which this upload belongs. # Corresponds to the JSON property `accountId` - # @return [String] + # @return [Fixnum] attr_accessor :account_id # Custom data source Id to which this data import belongs. @@ -5363,7 +5363,7 @@ module Google # Default view (profile) ID. # Corresponds to the JSON property `defaultProfileId` - # @return [String] + # @return [Fixnum] attr_accessor :default_profile_id # Web property ID of the form UA-XXXXX-YY. diff --git a/generated/google/apis/analytics_v3/representations.rb b/generated/google/apis/analytics_v3/representations.rb index e3070231d..d56070209 100644 --- a/generated/google/apis/analytics_v3/representations.rb +++ b/generated/google/apis/analytics_v3/representations.rb @@ -1201,7 +1201,7 @@ module Google collection :column_headers, as: 'columnHeaders', class: Google::Apis::AnalyticsV3::GaData::ColumnHeader, decorator: Google::Apis::AnalyticsV3::GaData::ColumnHeader::Representation property :contains_sampled_data, as: 'containsSampledData' - property :data_last_refreshed, as: 'dataLastRefreshed' + property :data_last_refreshed, :numeric_string => true, as: 'dataLastRefreshed' property :data_table, as: 'dataTable', class: Google::Apis::AnalyticsV3::GaData::DataTable, decorator: Google::Apis::AnalyticsV3::GaData::DataTable::Representation property :id, as: 'id' @@ -1218,8 +1218,8 @@ module Google items end - property :sample_size, as: 'sampleSize' - property :sample_space, as: 'sampleSpace' + property :sample_size, :numeric_string => true, as: 'sampleSize' + property :sample_space, :numeric_string => true, as: 'sampleSpace' property :self_link, as: 'selfLink' property :total_results, as: 'totalResults' hash :totals_for_all_results, as: 'totalsForAllResults' @@ -1340,7 +1340,7 @@ module Google # @private class Representation < Google::Apis::Core::JsonRepresentation property :comparison_type, as: 'comparisonType' - property :comparison_value, as: 'comparisonValue' + property :comparison_value, :numeric_string => true, as: 'comparisonValue' property :expression, as: 'expression' property :match_type, as: 'matchType' property :type, as: 'type' @@ -1381,7 +1381,7 @@ module Google # @private class Representation < Google::Apis::Core::JsonRepresentation property :comparison_type, as: 'comparisonType' - property :comparison_value, as: 'comparisonValue' + property :comparison_value, :numeric_string => true, as: 'comparisonValue' end end @@ -1389,7 +1389,7 @@ module Google # @private class Representation < Google::Apis::Core::JsonRepresentation property :comparison_type, as: 'comparisonType' - property :comparison_value, as: 'comparisonValue' + property :comparison_value, :numeric_string => true, as: 'comparisonValue' end end end @@ -1457,8 +1457,8 @@ module Google end - property :sample_size, as: 'sampleSize' - property :sample_space, as: 'sampleSpace' + property :sample_size, :numeric_string => true, as: 'sampleSize' + property :sample_space, :numeric_string => true, as: 'sampleSpace' property :self_link, as: 'selfLink' property :total_results, as: 'totalResults' hash :totals_for_all_results, as: 'totalsForAllResults' @@ -1863,7 +1863,7 @@ module Google class Upload # @private class Representation < Google::Apis::Core::JsonRepresentation - property :account_id, as: 'accountId' + property :account_id, :numeric_string => true, as: 'accountId' property :custom_data_source_id, as: 'customDataSourceId' collection :errors, as: 'errors' property :id, as: 'id' @@ -1945,7 +1945,7 @@ module Google property :created, as: 'created', type: DateTime - property :default_profile_id, as: 'defaultProfileId' + property :default_profile_id, :numeric_string => true, as: 'defaultProfileId' property :id, as: 'id' property :industry_vertical, as: 'industryVertical' property :internal_web_property_id, as: 'internalWebPropertyId' diff --git a/generated/google/apis/analytics_v3/service.rb b/generated/google/apis/analytics_v3/service.rb index e2a9930df..547619e57 100644 --- a/generated/google/apis/analytics_v3/service.rb +++ b/generated/google/apis/analytics_v3/service.rb @@ -50,6 +50,7 @@ module Google def initialize super('https://www.googleapis.com/', 'analytics/v3/') + @batch_path = 'batch' end # Returns Analytics data for a view (profile). diff --git a/generated/google/apis/analyticsreporting_v4/classes.rb b/generated/google/apis/analyticsreporting_v4/classes.rb index 8fe0d299f..c1fb98523 100644 --- a/generated/google/apis/analyticsreporting_v4/classes.rb +++ b/generated/google/apis/analyticsreporting_v4/classes.rb @@ -22,6 +22,628 @@ module Google module Apis module AnalyticsreportingV4 + # The segment definition, if the report needs to be segmented. + # A Segment is a subset of the Analytics data. For example, of the entire + # set of users, one Segment might be users from a particular country or city. + class Segment + include Google::Apis::Core::Hashable + + # Dynamic segment definition for defining the segment within the request. + # A segment can select users, sessions or both. + # Corresponds to the JSON property `dynamicSegment` + # @return [Google::Apis::AnalyticsreportingV4::DynamicSegment] + attr_accessor :dynamic_segment + + # The segment ID of a built-in or custom segment, for example `gaid::-3`. + # Corresponds to the JSON property `segmentId` + # @return [String] + attr_accessor :segment_id + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @dynamic_segment = args[:dynamic_segment] if args.key?(:dynamic_segment) + @segment_id = args[:segment_id] if args.key?(:segment_id) + end + end + + # Specifies the sorting options. + class OrderBy + include Google::Apis::Core::Hashable + + # The sorting order for the field. + # Corresponds to the JSON property `sortOrder` + # @return [String] + attr_accessor :sort_order + + # The field which to sort by. The default sort order is ascending. Example: + # `ga:browser`. + # Note, that you can only specify one field for sort here. For example, + # `ga:browser, ga:city` is not valid. + # Corresponds to the JSON property `fieldName` + # @return [String] + attr_accessor :field_name + + # The order type. The default orderType is `VALUE`. + # Corresponds to the JSON property `orderType` + # @return [String] + attr_accessor :order_type + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @sort_order = args[:sort_order] if args.key?(:sort_order) + @field_name = args[:field_name] if args.key?(:field_name) + @order_type = args[:order_type] if args.key?(:order_type) + end + end + + # Dimension filter specifies the filtering options on a dimension. + class SegmentDimensionFilter + include Google::Apis::Core::Hashable + + # Maximum comparison values for `BETWEEN` match type. + # Corresponds to the JSON property `maxComparisonValue` + # @return [String] + attr_accessor :max_comparison_value + + # Name of the dimension for which the filter is being applied. + # Corresponds to the JSON property `dimensionName` + # @return [String] + attr_accessor :dimension_name + + # The operator to use to match the dimension with the expressions. + # Corresponds to the JSON property `operator` + # @return [String] + attr_accessor :operator + + # The list of expressions, only the first element is used for all operators + # Corresponds to the JSON property `expressions` + # @return [Array] + attr_accessor :expressions + + # Should the match be case sensitive, ignored for `IN_LIST` operator. + # Corresponds to the JSON property `caseSensitive` + # @return [Boolean] + attr_accessor :case_sensitive + alias_method :case_sensitive?, :case_sensitive + + # Minimum comparison values for `BETWEEN` match type. + # Corresponds to the JSON property `minComparisonValue` + # @return [String] + attr_accessor :min_comparison_value + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @max_comparison_value = args[:max_comparison_value] if args.key?(:max_comparison_value) + @dimension_name = args[:dimension_name] if args.key?(:dimension_name) + @operator = args[:operator] if args.key?(:operator) + @expressions = args[:expressions] if args.key?(:expressions) + @case_sensitive = args[:case_sensitive] if args.key?(:case_sensitive) + @min_comparison_value = args[:min_comparison_value] if args.key?(:min_comparison_value) + end + end + + # A segment sequence definition. + class SegmentSequenceStep + include Google::Apis::Core::Hashable + + # A sequence is specified with a list of Or grouped filters which are + # combined with `AND` operator. + # Corresponds to the JSON property `orFiltersForSegment` + # @return [Array] + attr_accessor :or_filters_for_segment + + # Specifies if the step immediately precedes or can be any time before the + # next step. + # Corresponds to the JSON property `matchType` + # @return [String] + attr_accessor :match_type + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @or_filters_for_segment = args[:or_filters_for_segment] if args.key?(:or_filters_for_segment) + @match_type = args[:match_type] if args.key?(:match_type) + end + end + + # [Metrics](https://support.google.com/analytics/answer/1033861) + # are the quantitative measurements. For example, the metric `ga:users` + # indicates the total number of users for the requested time period. + class Metric + include Google::Apis::Core::Hashable + + # A metric expression in the request. An expression is constructed from one + # or more metrics and numbers. Accepted operators include: Plus (+), Minus + # (-), Negation (Unary -), Divided by (/), Multiplied by (*), Parenthesis, + # Positive cardinal numbers (0-9), can include decimals and is limited to + # 1024 characters. Example `ga:totalRefunds/ga:users`, in most cases the + # metric expression is just a single metric name like `ga:users`. + # Adding mixed `MetricType` (E.g., `CURRENCY` + `PERCENTAGE`) metrics + # will result in unexpected results. + # Corresponds to the JSON property `expression` + # @return [String] + attr_accessor :expression + + # Specifies how the metric expression should be formatted, for example + # `INTEGER`. + # Corresponds to the JSON property `formattingType` + # @return [String] + attr_accessor :formatting_type + + # An alias for the metric expression is an alternate name for the + # expression. The alias can be used for filtering and sorting. This field + # is optional and is useful if the expression is not a single metric but + # a complex expression which cannot be used in filtering and sorting. + # The alias is also used in the response column header. + # Corresponds to the JSON property `alias` + # @return [String] + attr_accessor :alias + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @expression = args[:expression] if args.key?(:expression) + @formatting_type = args[:formatting_type] if args.key?(:formatting_type) + @alias = args[:alias] if args.key?(:alias) + end + end + + # The metric values in the pivot region. + class PivotValueRegion + include Google::Apis::Core::Hashable + + # The values of the metrics in each of the pivot regions. + # Corresponds to the JSON property `values` + # @return [Array] + attr_accessor :values + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @values = args[:values] if args.key?(:values) + end + end + + # The data response corresponding to the request. + class Report + include Google::Apis::Core::Hashable + + # Column headers. + # Corresponds to the JSON property `columnHeader` + # @return [Google::Apis::AnalyticsreportingV4::ColumnHeader] + attr_accessor :column_header + + # The data part of the report. + # Corresponds to the JSON property `data` + # @return [Google::Apis::AnalyticsreportingV4::ReportData] + attr_accessor :data + + # Page token to retrieve the next page of results in the list. + # Corresponds to the JSON property `nextPageToken` + # @return [String] + attr_accessor :next_page_token + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @column_header = args[:column_header] if args.key?(:column_header) + @data = args[:data] if args.key?(:data) + @next_page_token = args[:next_page_token] if args.key?(:next_page_token) + end + end + + # The headers for each of the pivot sections defined in the request. + class PivotHeader + include Google::Apis::Core::Hashable + + # A single pivot section header. + # Corresponds to the JSON property `pivotHeaderEntries` + # @return [Array] + attr_accessor :pivot_header_entries + + # The total number of groups for this pivot. + # Corresponds to the JSON property `totalPivotGroupsCount` + # @return [Fixnum] + attr_accessor :total_pivot_groups_count + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @pivot_header_entries = args[:pivot_header_entries] if args.key?(:pivot_header_entries) + @total_pivot_groups_count = args[:total_pivot_groups_count] if args.key?(:total_pivot_groups_count) + end + end + + # A contiguous set of days: startDate, startDate + 1 day, ..., endDate. + # The start and end dates are specified in + # [ISO8601](https://en.wikipedia.org/wiki/ISO_8601) date format `YYYY-MM-DD`. + class DateRange + include Google::Apis::Core::Hashable + + # The start date for the query in the format `YYYY-MM-DD`. + # Corresponds to the JSON property `startDate` + # @return [String] + attr_accessor :start_date + + # The end date for the query in the format `YYYY-MM-DD`. + # Corresponds to the JSON property `endDate` + # @return [String] + attr_accessor :end_date + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @start_date = args[:start_date] if args.key?(:start_date) + @end_date = args[:end_date] if args.key?(:end_date) + end + end + + # MetricFilter specifies the filter on a metric. + class MetricFilter + include Google::Apis::Core::Hashable + + # The value to compare against. + # Corresponds to the JSON property `comparisonValue` + # @return [String] + attr_accessor :comparison_value + + # Is the metric `EQUAL`, `LESS_THAN` or `GREATER_THAN` the + # comparisonValue, the default is `EQUAL`. If the operator is + # `IS_MISSING`, checks if the metric is missing and would ignore the + # comparisonValue. + # Corresponds to the JSON property `operator` + # @return [String] + attr_accessor :operator + + # Logical `NOT` operator. If this boolean is set to true, then the matching + # metric values will be excluded in the report. The default is false. + # Corresponds to the JSON property `not` + # @return [Boolean] + attr_accessor :not + alias_method :not?, :not + + # The metric that will be filtered on. A metricFilter must contain a metric + # name. A metric name can be an alias earlier defined as a metric or it can + # also be a metric expression. + # Corresponds to the JSON property `metricName` + # @return [String] + attr_accessor :metric_name + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @comparison_value = args[:comparison_value] if args.key?(:comparison_value) + @operator = args[:operator] if args.key?(:operator) + @not = args[:not] if args.key?(:not) + @metric_name = args[:metric_name] if args.key?(:metric_name) + end + end + + # The main request class which specifies the Reporting API request. + class ReportRequest + include Google::Apis::Core::Hashable + + # The metric filter clauses. They are logically combined with the `AND` + # operator. Metric filters look at only the first date range and not the + # comparing date range. Note that filtering on metrics occurs after the + # metrics are aggregated. + # Corresponds to the JSON property `metricFilterClauses` + # @return [Array] + attr_accessor :metric_filter_clauses + + # Page size is for paging and specifies the maximum number of returned rows. + # Page size should be >= 0. A query returns the default of 1,000 rows. + # The Analytics Core Reporting API returns a maximum of 10,000 rows per + # request, no matter how many you ask for. It can also return fewer rows + # than requested, if there aren't as many dimension segments as you expect. + # For instance, there are fewer than 300 possible values for `ga:country`, + # so when segmenting only by country, you can't get more than 300 rows, + # even if you set `pageSize` to a higher value. + # Corresponds to the JSON property `pageSize` + # @return [Fixnum] + attr_accessor :page_size + + # If set to true, hides the total of all metrics for all the matching rows, + # for every date range. The default false and will return the totals. + # Corresponds to the JSON property `hideTotals` + # @return [Boolean] + attr_accessor :hide_totals + alias_method :hide_totals?, :hide_totals + + # If set to true, hides the minimum and maximum across all matching rows. + # The default is false and the value ranges are returned. + # Corresponds to the JSON property `hideValueRanges` + # @return [Boolean] + attr_accessor :hide_value_ranges + alias_method :hide_value_ranges?, :hide_value_ranges + + # Defines a cohort group. + # For example: + # "cohortGroup": ` + # "cohorts": [` + # "name": "cohort 1", + # "type": "FIRST_VISIT_DATE", + # "dateRange": ` "startDate": "2015-08-01", "endDate": "2015-08-01" ` + # `,` + # "name": "cohort 2" + # "type": "FIRST_VISIT_DATE" + # "dateRange": ` "startDate": "2015-07-01", "endDate": "2015-07-01" ` + # `] + # ` + # Corresponds to the JSON property `cohortGroup` + # @return [Google::Apis::AnalyticsreportingV4::CohortGroup] + attr_accessor :cohort_group + + # Dimension or metric filters that restrict the data returned for your + # request. To use the `filtersExpression`, supply a dimension or metric on + # which to filter, followed by the filter expression. For example, the + # following expression selects `ga:browser` dimension which starts with + # Firefox; `ga:browser=~^Firefox`. For more information on dimensions + # and metric filters, see + # [Filters reference](https://developers.google.com/analytics/devguides/ + # reporting/core/v3/reference#filters). + # Corresponds to the JSON property `filtersExpression` + # @return [String] + attr_accessor :filters_expression + + # The Analytics + # [view ID](https://support.google.com/analytics/answer/1009618) + # from which to retrieve data. Every [ReportRequest](#ReportRequest) + # within a `batchGet` method must contain the same `viewId`. + # Corresponds to the JSON property `viewId` + # @return [String] + attr_accessor :view_id + + # The metrics requested. + # Requests must specify at least one metric. Requests can have a + # total of 10 metrics. + # Corresponds to the JSON property `metrics` + # @return [Array] + attr_accessor :metrics + + # The dimension filter clauses for filtering Dimension Values. They are + # logically combined with the `AND` operator. Note that filtering occurs + # before any dimensions are aggregated, so that the returned metrics + # represent the total for only the relevant dimensions. + # Corresponds to the JSON property `dimensionFilterClauses` + # @return [Array] + attr_accessor :dimension_filter_clauses + + # Sort order on output rows. To compare two rows, the elements of the + # following are applied in order until a difference is found. All date + # ranges in the output get the same row order. + # Corresponds to the JSON property `orderBys` + # @return [Array] + attr_accessor :order_bys + + # Segment the data returned for the request. A segment definition helps look + # at a subset of the segment request. A request can contain up to four + # segments. Every [ReportRequest](#ReportRequest) within a + # `batchGet` method must contain the same `segments` definition. Requests + # with segments must have the `ga:segment` dimension. + # Corresponds to the JSON property `segments` + # @return [Array] + attr_accessor :segments + + # The desired report + # [sample](https://support.google.com/analytics/answer/2637192) size. + # If the the `samplingLevel` field is unspecified the `DEFAULT` sampling + # level is used. Every [ReportRequest](#ReportRequest) within a + # `batchGet` method must contain the same `samplingLevel` definition. See + # [developer guide](/analytics/devguides/reporting/core/v4/basics#sampling) + # for details. + # Corresponds to the JSON property `samplingLevel` + # @return [String] + attr_accessor :sampling_level + + # The dimensions requested. + # Requests can have a total of 7 dimensions. + # Corresponds to the JSON property `dimensions` + # @return [Array] + attr_accessor :dimensions + + # Date ranges in the request. The request can have a maximum of 2 date + # ranges. The response will contain a set of metric values for each + # combination of the dimensions for each date range in the request. So, if + # there are two date ranges, there will be two set of metric values, one for + # the original date range and one for the second date range. + # The `reportRequest.dateRanges` field should not be specified for cohorts + # or Lifetime value requests. + # If a date range is not provided, the default date range is (startDate: + # current date - 7 days, endDate: current date - 1 day). Every + # [ReportRequest](#ReportRequest) within a `batchGet` method must + # contain the same `dateRanges` definition. + # Corresponds to the JSON property `dateRanges` + # @return [Array] + attr_accessor :date_ranges + + # A continuation token to get the next page of the results. Adding this to + # the request will return the rows after the pageToken. The pageToken should + # be the value returned in the nextPageToken parameter in the response to + # the GetReports request. + # Corresponds to the JSON property `pageToken` + # @return [String] + attr_accessor :page_token + + # The pivot definitions. Requests can have a maximum of 2 pivots. + # Corresponds to the JSON property `pivots` + # @return [Array] + attr_accessor :pivots + + # If set to false, the response does not include rows if all the retrieved + # metrics are equal to zero. The default is false which will exclude these + # rows. + # Corresponds to the JSON property `includeEmptyRows` + # @return [Boolean] + attr_accessor :include_empty_rows + alias_method :include_empty_rows?, :include_empty_rows + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @metric_filter_clauses = args[:metric_filter_clauses] if args.key?(:metric_filter_clauses) + @page_size = args[:page_size] if args.key?(:page_size) + @hide_totals = args[:hide_totals] if args.key?(:hide_totals) + @hide_value_ranges = args[:hide_value_ranges] if args.key?(:hide_value_ranges) + @cohort_group = args[:cohort_group] if args.key?(:cohort_group) + @filters_expression = args[:filters_expression] if args.key?(:filters_expression) + @view_id = args[:view_id] if args.key?(:view_id) + @metrics = args[:metrics] if args.key?(:metrics) + @dimension_filter_clauses = args[:dimension_filter_clauses] if args.key?(:dimension_filter_clauses) + @order_bys = args[:order_bys] if args.key?(:order_bys) + @segments = args[:segments] if args.key?(:segments) + @sampling_level = args[:sampling_level] if args.key?(:sampling_level) + @dimensions = args[:dimensions] if args.key?(:dimensions) + @date_ranges = args[:date_ranges] if args.key?(:date_ranges) + @page_token = args[:page_token] if args.key?(:page_token) + @pivots = args[:pivots] if args.key?(:pivots) + @include_empty_rows = args[:include_empty_rows] if args.key?(:include_empty_rows) + end + end + + # [Dimensions](https://support.google.com/analytics/answer/1033861) + # are attributes of your data. For example, the dimension `ga:city` + # indicates the city, for example, "Paris" or "New York", from which + # a session originates. + class Dimension + include Google::Apis::Core::Hashable + + # If non-empty, we place dimension values into buckets after string to + # int64. Dimension values that are not the string representation of an + # integral value will be converted to zero. The bucket values have to be in + # increasing order. Each bucket is closed on the lower end, and open on the + # upper end. The "first" bucket includes all values less than the first + # boundary, the "last" bucket includes all values up to infinity. Dimension + # values that fall in a bucket get transformed to a new dimension value. For + # example, if one gives a list of "0, 1, 3, 4, 7", then we return the + # following buckets: + # - bucket #1: values < 0, dimension value "<0" + # - bucket #2: values in [0,1), dimension value "0" + # - bucket #3: values in [1,3), dimension value "1-2" + # - bucket #4: values in [3,4), dimension value "3" + # - bucket #5: values in [4,7), dimension value "4-6" + # - bucket #6: values >= 7, dimension value "7+" + # NOTE: If you are applying histogram mutation on any dimension, and using + # that dimension in sort, you will want to use the sort type + # `HISTOGRAM_BUCKET` for that purpose. Without that the dimension values + # will be sorted according to dictionary + # (lexicographic) order. For example the ascending dictionary order is: + # "<50", "1001+", "121-1000", "50-120" + # And the ascending `HISTOGRAM_BUCKET` order is: + # "<50", "50-120", "121-1000", "1001+" + # The client has to explicitly request `"orderType": "HISTOGRAM_BUCKET"` + # for a histogram-mutated dimension. + # Corresponds to the JSON property `histogramBuckets` + # @return [Array] + attr_accessor :histogram_buckets + + # Name of the dimension to fetch, for example `ga:browser`. + # Corresponds to the JSON property `name` + # @return [String] + attr_accessor :name + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @histogram_buckets = args[:histogram_buckets] if args.key?(:histogram_buckets) + @name = args[:name] if args.key?(:name) + end + end + + # Dynamic segment definition for defining the segment within the request. + # A segment can select users, sessions or both. + class DynamicSegment + include Google::Apis::Core::Hashable + + # SegmentDefinition defines the segment to be a set of SegmentFilters which + # are combined together with a logical `AND` operation. + # Corresponds to the JSON property `sessionSegment` + # @return [Google::Apis::AnalyticsreportingV4::SegmentDefinition] + attr_accessor :session_segment + + # The name of the dynamic segment. + # Corresponds to the JSON property `name` + # @return [String] + attr_accessor :name + + # SegmentDefinition defines the segment to be a set of SegmentFilters which + # are combined together with a logical `AND` operation. + # Corresponds to the JSON property `userSegment` + # @return [Google::Apis::AnalyticsreportingV4::SegmentDefinition] + attr_accessor :user_segment + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @session_segment = args[:session_segment] if args.key?(:session_segment) + @name = args[:name] if args.key?(:name) + @user_segment = args[:user_segment] if args.key?(:user_segment) + end + end + + # A Simple segment conditions consist of one or more dimension/metric + # conditions that can be combined. + class SimpleSegment + include Google::Apis::Core::Hashable + + # A list of segment filters groups which are combined with logical `AND` + # operator. + # Corresponds to the JSON property `orFiltersForSegment` + # @return [Array] + attr_accessor :or_filters_for_segment + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @or_filters_for_segment = args[:or_filters_for_segment] if args.key?(:or_filters_for_segment) + end + end + # Column headers. class ColumnHeader include Google::Apis::Core::Hashable @@ -52,11 +674,6 @@ module Google class SegmentFilterClause include Google::Apis::Core::Hashable - # Dimension filter specifies the filtering options on a dimension. - # Corresponds to the JSON property `dimensionFilter` - # @return [Google::Apis::AnalyticsreportingV4::SegmentDimensionFilter] - attr_accessor :dimension_filter - # Metric filter to be used in a segment filter clause. # Corresponds to the JSON property `metricFilter` # @return [Google::Apis::AnalyticsreportingV4::SegmentMetricFilter] @@ -68,15 +685,20 @@ module Google attr_accessor :not alias_method :not?, :not + # Dimension filter specifies the filtering options on a dimension. + # Corresponds to the JSON property `dimensionFilter` + # @return [Google::Apis::AnalyticsreportingV4::SegmentDimensionFilter] + attr_accessor :dimension_filter + def initialize(**args) update!(**args) end # Update properties of this object def update!(**args) - @dimension_filter = args[:dimension_filter] if args.key?(:dimension_filter) @metric_filter = args[:metric_filter] if args.key?(:metric_filter) @not = args[:not] if args.key?(:not) + @dimension_filter = args[:dimension_filter] if args.key?(:dimension_filter) end end @@ -111,13 +733,6 @@ module Google class Cohort include Google::Apis::Core::Hashable - # Type of the cohort. The only supported type as of now is - # `FIRST_VISIT_DATE`. If this field is unspecified the cohort is treated - # as `FIRST_VISIT_DATE` type cohort. - # Corresponds to the JSON property `type` - # @return [String] - attr_accessor :type - # A unique name for the cohort. If not defined name will be auto-generated # with values cohort_[1234...]. # Corresponds to the JSON property `name` @@ -131,15 +746,22 @@ module Google # @return [Google::Apis::AnalyticsreportingV4::DateRange] attr_accessor :date_range + # Type of the cohort. The only supported type as of now is + # `FIRST_VISIT_DATE`. If this field is unspecified the cohort is treated + # as `FIRST_VISIT_DATE` type cohort. + # Corresponds to the JSON property `type` + # @return [String] + attr_accessor :type + def initialize(**args) update!(**args) end # Update properties of this object def update!(**args) - @type = args[:type] if args.key?(:type) @name = args[:name] if args.key?(:name) @date_range = args[:date_range] if args.key?(:date_range) + @type = args[:type] if args.key?(:type) end end @@ -195,24 +817,24 @@ module Google class MetricHeader include Google::Apis::Core::Hashable - # Headers for the metrics in the response. - # Corresponds to the JSON property `metricHeaderEntries` - # @return [Array] - attr_accessor :metric_header_entries - # Headers for the pivots in the response. # Corresponds to the JSON property `pivotHeaders` # @return [Array] attr_accessor :pivot_headers + # Headers for the metrics in the response. + # Corresponds to the JSON property `metricHeaderEntries` + # @return [Array] + attr_accessor :metric_header_entries + def initialize(**args) update!(**args) end # Update properties of this object def update!(**args) - @metric_header_entries = args[:metric_header_entries] if args.key?(:metric_header_entries) @pivot_headers = args[:pivot_headers] if args.key?(:pivot_headers) + @metric_header_entries = args[:metric_header_entries] if args.key?(:metric_header_entries) end end @@ -270,6 +892,11 @@ module Google class SequenceSegment include Google::Apis::Core::Hashable + # The list of steps in the sequence. + # Corresponds to the JSON property `segmentSequenceSteps` + # @return [Array] + attr_accessor :segment_sequence_steps + # If set, first step condition must match the first hit of the visitor (in # the date range). # Corresponds to the JSON property `firstStepShouldMatchFirstHit` @@ -277,19 +904,14 @@ module Google attr_accessor :first_step_should_match_first_hit alias_method :first_step_should_match_first_hit?, :first_step_should_match_first_hit - # The list of steps in the sequence. - # Corresponds to the JSON property `segmentSequenceSteps` - # @return [Array] - attr_accessor :segment_sequence_steps - def initialize(**args) update!(**args) end # Update properties of this object def update!(**args) - @first_step_should_match_first_hit = args[:first_step_should_match_first_hit] if args.key?(:first_step_should_match_first_hit) @segment_sequence_steps = args[:segment_sequence_steps] if args.key?(:segment_sequence_steps) + @first_step_should_match_first_hit = args[:first_step_should_match_first_hit] if args.key?(:first_step_should_match_first_hit) end end @@ -297,6 +919,18 @@ module Google class SegmentMetricFilter include Google::Apis::Core::Hashable + # The value to compare against. If the operator is `BETWEEN`, this value is + # treated as minimum comparison value. + # Corresponds to the JSON property `comparisonValue` + # @return [String] + attr_accessor :comparison_value + + # Specifies is the operation to perform to compare the metric. The default + # is `EQUAL`. + # Corresponds to the JSON property `operator` + # @return [String] + attr_accessor :operator + # The metric that will be filtered on. A `metricFilter` must contain a # metric name. # Corresponds to the JSON property `metricName` @@ -316,29 +950,17 @@ module Google # @return [String] attr_accessor :max_comparison_value - # The value to compare against. If the operator is `BETWEEN`, this value is - # treated as minimum comparison value. - # Corresponds to the JSON property `comparisonValue` - # @return [String] - attr_accessor :comparison_value - - # Specifies is the operation to perform to compare the metric. The default - # is `EQUAL`. - # Corresponds to the JSON property `operator` - # @return [String] - attr_accessor :operator - def initialize(**args) update!(**args) end # Update properties of this object def update!(**args) + @comparison_value = args[:comparison_value] if args.key?(:comparison_value) + @operator = args[:operator] if args.key?(:operator) @metric_name = args[:metric_name] if args.key?(:metric_name) @scope = args[:scope] if args.key?(:scope) @max_comparison_value = args[:max_comparison_value] if args.key?(:max_comparison_value) - @comparison_value = args[:comparison_value] if args.key?(:comparison_value) - @operator = args[:operator] if args.key?(:operator) end end @@ -459,6 +1081,12 @@ module Google class Pivot include Google::Apis::Core::Hashable + # Specifies the maximum number of groups to return. + # The default value is 10, also the maximum value is 1,000. + # Corresponds to the JSON property `maxGroupCount` + # @return [Fixnum] + attr_accessor :max_group_count + # If k metrics were requested, then the response will contain some # data-dependent multiple of k columns in the report. E.g., if you pivoted # on the dimension `ga:browser` then you'd get k columns for "Firefox", k @@ -499,23 +1127,17 @@ module Google # @return [Array] attr_accessor :dimension_filter_clauses - # Specifies the maximum number of groups to return. - # The default value is 10, also the maximum value is 1,000. - # Corresponds to the JSON property `maxGroupCount` - # @return [Fixnum] - attr_accessor :max_group_count - def initialize(**args) update!(**args) end # Update properties of this object def update!(**args) + @max_group_count = args[:max_group_count] if args.key?(:max_group_count) @start_group = args[:start_group] if args.key?(:start_group) @metrics = args[:metrics] if args.key?(:metrics) @dimensions = args[:dimensions] if args.key?(:dimensions) @dimension_filter_clauses = args[:dimension_filter_clauses] if args.key?(:dimension_filter_clauses) - @max_group_count = args[:max_group_count] if args.key?(:max_group_count) end end @@ -656,36 +1278,12 @@ module Google class ReportData include Google::Apis::Core::Hashable - # Total number of matching rows for this query. - # Corresponds to the JSON property `rowCount` - # @return [Fixnum] - attr_accessor :row_count - - # There's one ReportRow for every unique combination of dimensions. - # Corresponds to the JSON property `rows` - # @return [Array] - attr_accessor :rows - - # Indicates if response to this request is golden or not. Data is - # golden when the exact same request will not produce any new results if - # asked at a later point in time. - # Corresponds to the JSON property `isDataGolden` - # @return [Boolean] - attr_accessor :is_data_golden - alias_method :is_data_golden?, :is_data_golden - - # The last time the data in the report was refreshed. All the hits received - # before this timestamp are included in the calculation of the report. - # Corresponds to the JSON property `dataLastRefreshed` - # @return [String] - attr_accessor :data_last_refreshed - # Minimum and maximum values seen over all matching rows. These are both # empty when `hideValueRanges` in the request is false, or when # rowCount is zero. - # Corresponds to the JSON property `maximums` + # Corresponds to the JSON property `minimums` # @return [Array] - attr_accessor :maximums + attr_accessor :minimums # If the results are # [sampled](https://support.google.com/analytics/answer/2637192), @@ -695,16 +1293,9 @@ module Google # [developer guide](/analytics/devguides/reporting/core/v4/basics#sampling) # for details. # Corresponds to the JSON property `samplingSpaceSizes` - # @return [Array] + # @return [Array] attr_accessor :sampling_space_sizes - # Minimum and maximum values seen over all matching rows. These are both - # empty when `hideValueRanges` in the request is false, or when - # rowCount is zero. - # Corresponds to the JSON property `minimums` - # @return [Array] - attr_accessor :minimums - # For each requested date range, for the set of all rows that match # the query, every requested value format gets a total. The total # for a value format is computed by first totaling the metrics @@ -724,24 +1315,55 @@ module Google # [developer guide](/analytics/devguides/reporting/core/v4/basics#sampling) # for details. # Corresponds to the JSON property `samplesReadCounts` - # @return [Array] + # @return [Array] attr_accessor :samples_read_counts + # Indicates if response to this request is golden or not. Data is + # golden when the exact same request will not produce any new results if + # asked at a later point in time. + # Corresponds to the JSON property `isDataGolden` + # @return [Boolean] + attr_accessor :is_data_golden + alias_method :is_data_golden?, :is_data_golden + + # There's one ReportRow for every unique combination of dimensions. + # Corresponds to the JSON property `rows` + # @return [Array] + attr_accessor :rows + + # Total number of matching rows for this query. + # Corresponds to the JSON property `rowCount` + # @return [Fixnum] + attr_accessor :row_count + + # The last time the data in the report was refreshed. All the hits received + # before this timestamp are included in the calculation of the report. + # Corresponds to the JSON property `dataLastRefreshed` + # @return [String] + attr_accessor :data_last_refreshed + + # Minimum and maximum values seen over all matching rows. These are both + # empty when `hideValueRanges` in the request is false, or when + # rowCount is zero. + # Corresponds to the JSON property `maximums` + # @return [Array] + attr_accessor :maximums + def initialize(**args) update!(**args) end # Update properties of this object def update!(**args) - @row_count = args[:row_count] if args.key?(:row_count) - @rows = args[:rows] if args.key?(:rows) - @is_data_golden = args[:is_data_golden] if args.key?(:is_data_golden) - @data_last_refreshed = args[:data_last_refreshed] if args.key?(:data_last_refreshed) - @maximums = args[:maximums] if args.key?(:maximums) - @sampling_space_sizes = args[:sampling_space_sizes] if args.key?(:sampling_space_sizes) @minimums = args[:minimums] if args.key?(:minimums) + @sampling_space_sizes = args[:sampling_space_sizes] if args.key?(:sampling_space_sizes) @totals = args[:totals] if args.key?(:totals) @samples_read_counts = args[:samples_read_counts] if args.key?(:samples_read_counts) + @is_data_golden = args[:is_data_golden] if args.key?(:is_data_golden) + @rows = args[:rows] if args.key?(:rows) + @row_count = args[:row_count] if args.key?(:row_count) + @data_last_refreshed = args[:data_last_refreshed] if args.key?(:data_last_refreshed) + @maximums = args[:maximums] if args.key?(:maximums) end end @@ -793,628 +1415,6 @@ module Google @case_sensitive = args[:case_sensitive] if args.key?(:case_sensitive) end end - - # Dimension filter specifies the filtering options on a dimension. - class SegmentDimensionFilter - include Google::Apis::Core::Hashable - - # Minimum comparison values for `BETWEEN` match type. - # Corresponds to the JSON property `minComparisonValue` - # @return [String] - attr_accessor :min_comparison_value - - # Maximum comparison values for `BETWEEN` match type. - # Corresponds to the JSON property `maxComparisonValue` - # @return [String] - attr_accessor :max_comparison_value - - # Name of the dimension for which the filter is being applied. - # Corresponds to the JSON property `dimensionName` - # @return [String] - attr_accessor :dimension_name - - # The operator to use to match the dimension with the expressions. - # Corresponds to the JSON property `operator` - # @return [String] - attr_accessor :operator - - # The list of expressions, only the first element is used for all operators - # Corresponds to the JSON property `expressions` - # @return [Array] - attr_accessor :expressions - - # Should the match be case sensitive, ignored for `IN_LIST` operator. - # Corresponds to the JSON property `caseSensitive` - # @return [Boolean] - attr_accessor :case_sensitive - alias_method :case_sensitive?, :case_sensitive - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @min_comparison_value = args[:min_comparison_value] if args.key?(:min_comparison_value) - @max_comparison_value = args[:max_comparison_value] if args.key?(:max_comparison_value) - @dimension_name = args[:dimension_name] if args.key?(:dimension_name) - @operator = args[:operator] if args.key?(:operator) - @expressions = args[:expressions] if args.key?(:expressions) - @case_sensitive = args[:case_sensitive] if args.key?(:case_sensitive) - end - end - - # Specifies the sorting options. - class OrderBy - include Google::Apis::Core::Hashable - - # The field which to sort by. The default sort order is ascending. Example: - # `ga:browser`. - # Note, that you can only specify one field for sort here. For example, - # `ga:browser, ga:city` is not valid. - # Corresponds to the JSON property `fieldName` - # @return [String] - attr_accessor :field_name - - # The order type. The default orderType is `VALUE`. - # Corresponds to the JSON property `orderType` - # @return [String] - attr_accessor :order_type - - # The sorting order for the field. - # Corresponds to the JSON property `sortOrder` - # @return [String] - attr_accessor :sort_order - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @field_name = args[:field_name] if args.key?(:field_name) - @order_type = args[:order_type] if args.key?(:order_type) - @sort_order = args[:sort_order] if args.key?(:sort_order) - end - end - - # The segment definition, if the report needs to be segmented. - # A Segment is a subset of the Analytics data. For example, of the entire - # set of users, one Segment might be users from a particular country or city. - class Segment - include Google::Apis::Core::Hashable - - # Dynamic segment definition for defining the segment within the request. - # A segment can select users, sessions or both. - # Corresponds to the JSON property `dynamicSegment` - # @return [Google::Apis::AnalyticsreportingV4::DynamicSegment] - attr_accessor :dynamic_segment - - # The segment ID of a built-in or custom segment, for example `gaid::-3`. - # Corresponds to the JSON property `segmentId` - # @return [String] - attr_accessor :segment_id - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @dynamic_segment = args[:dynamic_segment] if args.key?(:dynamic_segment) - @segment_id = args[:segment_id] if args.key?(:segment_id) - end - end - - # A segment sequence definition. - class SegmentSequenceStep - include Google::Apis::Core::Hashable - - # A sequence is specified with a list of Or grouped filters which are - # combined with `AND` operator. - # Corresponds to the JSON property `orFiltersForSegment` - # @return [Array] - attr_accessor :or_filters_for_segment - - # Specifies if the step immediately precedes or can be any time before the - # next step. - # Corresponds to the JSON property `matchType` - # @return [String] - attr_accessor :match_type - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @or_filters_for_segment = args[:or_filters_for_segment] if args.key?(:or_filters_for_segment) - @match_type = args[:match_type] if args.key?(:match_type) - end - end - - # [Metrics](https://support.google.com/analytics/answer/1033861) - # are the quantitative measurements. For example, the metric `ga:users` - # indicates the total number of users for the requested time period. - class Metric - include Google::Apis::Core::Hashable - - # Specifies how the metric expression should be formatted, for example - # `INTEGER`. - # Corresponds to the JSON property `formattingType` - # @return [String] - attr_accessor :formatting_type - - # An alias for the metric expression is an alternate name for the - # expression. The alias can be used for filtering and sorting. This field - # is optional and is useful if the expression is not a single metric but - # a complex expression which cannot be used in filtering and sorting. - # The alias is also used in the response column header. - # Corresponds to the JSON property `alias` - # @return [String] - attr_accessor :alias - - # A metric expression in the request. An expression is constructed from one - # or more metrics and numbers. Accepted operators include: Plus (+), Minus - # (-), Negation (Unary -), Divided by (/), Multiplied by (*), Parenthesis, - # Positive cardinal numbers (0-9), can include decimals and is limited to - # 1024 characters. Example `ga:totalRefunds/ga:users`, in most cases the - # metric expression is just a single metric name like `ga:users`. - # Adding mixed `MetricType` (E.g., `CURRENCY` + `PERCENTAGE`) metrics - # will result in unexpected results. - # Corresponds to the JSON property `expression` - # @return [String] - attr_accessor :expression - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @formatting_type = args[:formatting_type] if args.key?(:formatting_type) - @alias = args[:alias] if args.key?(:alias) - @expression = args[:expression] if args.key?(:expression) - end - end - - # The metric values in the pivot region. - class PivotValueRegion - include Google::Apis::Core::Hashable - - # The values of the metrics in each of the pivot regions. - # Corresponds to the JSON property `values` - # @return [Array] - attr_accessor :values - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @values = args[:values] if args.key?(:values) - end - end - - # The data response corresponding to the request. - class Report - include Google::Apis::Core::Hashable - - # The data part of the report. - # Corresponds to the JSON property `data` - # @return [Google::Apis::AnalyticsreportingV4::ReportData] - attr_accessor :data - - # Page token to retrieve the next page of results in the list. - # Corresponds to the JSON property `nextPageToken` - # @return [String] - attr_accessor :next_page_token - - # Column headers. - # Corresponds to the JSON property `columnHeader` - # @return [Google::Apis::AnalyticsreportingV4::ColumnHeader] - attr_accessor :column_header - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @data = args[:data] if args.key?(:data) - @next_page_token = args[:next_page_token] if args.key?(:next_page_token) - @column_header = args[:column_header] if args.key?(:column_header) - end - end - - # The headers for each of the pivot sections defined in the request. - class PivotHeader - include Google::Apis::Core::Hashable - - # A single pivot section header. - # Corresponds to the JSON property `pivotHeaderEntries` - # @return [Array] - attr_accessor :pivot_header_entries - - # The total number of groups for this pivot. - # Corresponds to the JSON property `totalPivotGroupsCount` - # @return [Fixnum] - attr_accessor :total_pivot_groups_count - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @pivot_header_entries = args[:pivot_header_entries] if args.key?(:pivot_header_entries) - @total_pivot_groups_count = args[:total_pivot_groups_count] if args.key?(:total_pivot_groups_count) - end - end - - # A contiguous set of days: startDate, startDate + 1 day, ..., endDate. - # The start and end dates are specified in - # [ISO8601](https://en.wikipedia.org/wiki/ISO_8601) date format `YYYY-MM-DD`. - class DateRange - include Google::Apis::Core::Hashable - - # The end date for the query in the format `YYYY-MM-DD`. - # Corresponds to the JSON property `endDate` - # @return [String] - attr_accessor :end_date - - # The start date for the query in the format `YYYY-MM-DD`. - # Corresponds to the JSON property `startDate` - # @return [String] - attr_accessor :start_date - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @end_date = args[:end_date] if args.key?(:end_date) - @start_date = args[:start_date] if args.key?(:start_date) - end - end - - # MetricFilter specifies the filter on a metric. - class MetricFilter - include Google::Apis::Core::Hashable - - # The value to compare against. - # Corresponds to the JSON property `comparisonValue` - # @return [String] - attr_accessor :comparison_value - - # Is the metric `EQUAL`, `LESS_THAN` or `GREATER_THAN` the - # comparisonValue, the default is `EQUAL`. If the operator is - # `IS_MISSING`, checks if the metric is missing and would ignore the - # comparisonValue. - # Corresponds to the JSON property `operator` - # @return [String] - attr_accessor :operator - - # Logical `NOT` operator. If this boolean is set to true, then the matching - # metric values will be excluded in the report. The default is false. - # Corresponds to the JSON property `not` - # @return [Boolean] - attr_accessor :not - alias_method :not?, :not - - # The metric that will be filtered on. A metricFilter must contain a metric - # name. A metric name can be an alias earlier defined as a metric or it can - # also be a metric expression. - # Corresponds to the JSON property `metricName` - # @return [String] - attr_accessor :metric_name - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @comparison_value = args[:comparison_value] if args.key?(:comparison_value) - @operator = args[:operator] if args.key?(:operator) - @not = args[:not] if args.key?(:not) - @metric_name = args[:metric_name] if args.key?(:metric_name) - end - end - - # The main request class which specifies the Reporting API request. - class ReportRequest - include Google::Apis::Core::Hashable - - # If set to false, the response does not include rows if all the retrieved - # metrics are equal to zero. The default is false which will exclude these - # rows. - # Corresponds to the JSON property `includeEmptyRows` - # @return [Boolean] - attr_accessor :include_empty_rows - alias_method :include_empty_rows?, :include_empty_rows - - # The metric filter clauses. They are logically combined with the `AND` - # operator. Metric filters look at only the first date range and not the - # comparing date range. Note that filtering on metrics occurs after the - # metrics are aggregated. - # Corresponds to the JSON property `metricFilterClauses` - # @return [Array] - attr_accessor :metric_filter_clauses - - # Page size is for paging and specifies the maximum number of returned rows. - # Page size should be >= 0. A query returns the default of 1,000 rows. - # The Analytics Core Reporting API returns a maximum of 10,000 rows per - # request, no matter how many you ask for. It can also return fewer rows - # than requested, if there aren't as many dimension segments as you expect. - # For instance, there are fewer than 300 possible values for `ga:country`, - # so when segmenting only by country, you can't get more than 300 rows, - # even if you set `pageSize` to a higher value. - # Corresponds to the JSON property `pageSize` - # @return [Fixnum] - attr_accessor :page_size - - # If set to true, hides the total of all metrics for all the matching rows, - # for every date range. The default false and will return the totals. - # Corresponds to the JSON property `hideTotals` - # @return [Boolean] - attr_accessor :hide_totals - alias_method :hide_totals?, :hide_totals - - # If set to true, hides the minimum and maximum across all matching rows. - # The default is false and the value ranges are returned. - # Corresponds to the JSON property `hideValueRanges` - # @return [Boolean] - attr_accessor :hide_value_ranges - alias_method :hide_value_ranges?, :hide_value_ranges - - # Defines a cohort group. - # For example: - # "cohortGroup": ` - # "cohorts": [` - # "name": "cohort 1", - # "type": "FIRST_VISIT_DATE", - # "dateRange": ` "startDate": "2015-08-01", "endDate": "2015-08-01" ` - # `,` - # "name": "cohort 2" - # "type": "FIRST_VISIT_DATE" - # "dateRange": ` "startDate": "2015-07-01", "endDate": "2015-07-01" ` - # `] - # ` - # Corresponds to the JSON property `cohortGroup` - # @return [Google::Apis::AnalyticsreportingV4::CohortGroup] - attr_accessor :cohort_group - - # Dimension or metric filters that restrict the data returned for your - # request. To use the `filtersExpression`, supply a dimension or metric on - # which to filter, followed by the filter expression. For example, the - # following expression selects `ga:browser` dimension which starts with - # Firefox; `ga:browser=~^Firefox`. For more information on dimensions - # and metric filters, see - # [Filters reference](https://developers.google.com/analytics/devguides/ - # reporting/core/v3/reference#filters). - # Corresponds to the JSON property `filtersExpression` - # @return [String] - attr_accessor :filters_expression - - # The Analytics - # [view ID](https://support.google.com/analytics/answer/1009618) - # from which to retrieve data. Every [ReportRequest](#ReportRequest) - # within a `batchGet` method must contain the same `viewId`. - # Corresponds to the JSON property `viewId` - # @return [String] - attr_accessor :view_id - - # The metrics requested. - # Requests must specify at least one metric. Requests can have a - # total of 10 metrics. - # Corresponds to the JSON property `metrics` - # @return [Array] - attr_accessor :metrics - - # The dimension filter clauses for filtering Dimension Values. They are - # logically combined with the `AND` operator. Note that filtering occurs - # before any dimensions are aggregated, so that the returned metrics - # represent the total for only the relevant dimensions. - # Corresponds to the JSON property `dimensionFilterClauses` - # @return [Array] - attr_accessor :dimension_filter_clauses - - # Sort order on output rows. To compare two rows, the elements of the - # following are applied in order until a difference is found. All date - # ranges in the output get the same row order. - # Corresponds to the JSON property `orderBys` - # @return [Array] - attr_accessor :order_bys - - # Segment the data returned for the request. A segment definition helps look - # at a subset of the segment request. A request can contain up to four - # segments. Every [ReportRequest](#ReportRequest) within a - # `batchGet` method must contain the same `segments` definition. Requests - # with segments must have the `ga:segment` dimension. - # Corresponds to the JSON property `segments` - # @return [Array] - attr_accessor :segments - - # The desired report - # [sample](https://support.google.com/analytics/answer/2637192) size. - # If the the `samplingLevel` field is unspecified the `DEFAULT` sampling - # level is used. Every [ReportRequest](#ReportRequest) within a - # `batchGet` method must contain the same `samplingLevel` definition. See - # [developer guide](/analytics/devguides/reporting/core/v4/basics#sampling) - # for details. - # Corresponds to the JSON property `samplingLevel` - # @return [String] - attr_accessor :sampling_level - - # The dimensions requested. - # Requests can have a total of 7 dimensions. - # Corresponds to the JSON property `dimensions` - # @return [Array] - attr_accessor :dimensions - - # A continuation token to get the next page of the results. Adding this to - # the request will return the rows after the pageToken. The pageToken should - # be the value returned in the nextPageToken parameter in the response to - # the GetReports request. - # Corresponds to the JSON property `pageToken` - # @return [String] - attr_accessor :page_token - - # Date ranges in the request. The request can have a maximum of 2 date - # ranges. The response will contain a set of metric values for each - # combination of the dimensions for each date range in the request. So, if - # there are two date ranges, there will be two set of metric values, one for - # the original date range and one for the second date range. - # The `reportRequest.dateRanges` field should not be specified for cohorts - # or Lifetime value requests. - # If a date range is not provided, the default date range is (startDate: - # current date - 7 days, endDate: current date - 1 day). Every - # [ReportRequest](#ReportRequest) within a `batchGet` method must - # contain the same `dateRanges` definition. - # Corresponds to the JSON property `dateRanges` - # @return [Array] - attr_accessor :date_ranges - - # The pivot definitions. Requests can have a maximum of 2 pivots. - # Corresponds to the JSON property `pivots` - # @return [Array] - attr_accessor :pivots - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @include_empty_rows = args[:include_empty_rows] if args.key?(:include_empty_rows) - @metric_filter_clauses = args[:metric_filter_clauses] if args.key?(:metric_filter_clauses) - @page_size = args[:page_size] if args.key?(:page_size) - @hide_totals = args[:hide_totals] if args.key?(:hide_totals) - @hide_value_ranges = args[:hide_value_ranges] if args.key?(:hide_value_ranges) - @cohort_group = args[:cohort_group] if args.key?(:cohort_group) - @filters_expression = args[:filters_expression] if args.key?(:filters_expression) - @view_id = args[:view_id] if args.key?(:view_id) - @metrics = args[:metrics] if args.key?(:metrics) - @dimension_filter_clauses = args[:dimension_filter_clauses] if args.key?(:dimension_filter_clauses) - @order_bys = args[:order_bys] if args.key?(:order_bys) - @segments = args[:segments] if args.key?(:segments) - @sampling_level = args[:sampling_level] if args.key?(:sampling_level) - @dimensions = args[:dimensions] if args.key?(:dimensions) - @page_token = args[:page_token] if args.key?(:page_token) - @date_ranges = args[:date_ranges] if args.key?(:date_ranges) - @pivots = args[:pivots] if args.key?(:pivots) - end - end - - # [Dimensions](https://support.google.com/analytics/answer/1033861) - # are attributes of your data. For example, the dimension `ga:city` - # indicates the city, for example, "Paris" or "New York", from which - # a session originates. - class Dimension - include Google::Apis::Core::Hashable - - # If non-empty, we place dimension values into buckets after string to - # int64. Dimension values that are not the string representation of an - # integral value will be converted to zero. The bucket values have to be in - # increasing order. Each bucket is closed on the lower end, and open on the - # upper end. The "first" bucket includes all values less than the first - # boundary, the "last" bucket includes all values up to infinity. Dimension - # values that fall in a bucket get transformed to a new dimension value. For - # example, if one gives a list of "0, 1, 3, 4, 7", then we return the - # following buckets: - # - bucket #1: values < 0, dimension value "<0" - # - bucket #2: values in [0,1), dimension value "0" - # - bucket #3: values in [1,3), dimension value "1-2" - # - bucket #4: values in [3,4), dimension value "3" - # - bucket #5: values in [4,7), dimension value "4-6" - # - bucket #6: values >= 7, dimension value "7+" - # NOTE: If you are applying histogram mutation on any dimension, and using - # that dimension in sort, you will want to use the sort type - # `HISTOGRAM_BUCKET` for that purpose. Without that the dimension values - # will be sorted according to dictionary - # (lexicographic) order. For example the ascending dictionary order is: - # "<50", "1001+", "121-1000", "50-120" - # And the ascending `HISTOGRAM_BUCKET` order is: - # "<50", "50-120", "121-1000", "1001+" - # The client has to explicitly request `"orderType": "HISTOGRAM_BUCKET"` - # for a histogram-mutated dimension. - # Corresponds to the JSON property `histogramBuckets` - # @return [Array] - attr_accessor :histogram_buckets - - # Name of the dimension to fetch, for example `ga:browser`. - # Corresponds to the JSON property `name` - # @return [String] - attr_accessor :name - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @histogram_buckets = args[:histogram_buckets] if args.key?(:histogram_buckets) - @name = args[:name] if args.key?(:name) - end - end - - # Dynamic segment definition for defining the segment within the request. - # A segment can select users, sessions or both. - class DynamicSegment - include Google::Apis::Core::Hashable - - # The name of the dynamic segment. - # Corresponds to the JSON property `name` - # @return [String] - attr_accessor :name - - # SegmentDefinition defines the segment to be a set of SegmentFilters which - # are combined together with a logical `AND` operation. - # Corresponds to the JSON property `userSegment` - # @return [Google::Apis::AnalyticsreportingV4::SegmentDefinition] - attr_accessor :user_segment - - # SegmentDefinition defines the segment to be a set of SegmentFilters which - # are combined together with a logical `AND` operation. - # Corresponds to the JSON property `sessionSegment` - # @return [Google::Apis::AnalyticsreportingV4::SegmentDefinition] - attr_accessor :session_segment - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @name = args[:name] if args.key?(:name) - @user_segment = args[:user_segment] if args.key?(:user_segment) - @session_segment = args[:session_segment] if args.key?(:session_segment) - end - end - - # A Simple segment conditions consist of one or more dimension/metric - # conditions that can be combined. - class SimpleSegment - include Google::Apis::Core::Hashable - - # A list of segment filters groups which are combined with logical `AND` - # operator. - # Corresponds to the JSON property `orFiltersForSegment` - # @return [Array] - attr_accessor :or_filters_for_segment - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @or_filters_for_segment = args[:or_filters_for_segment] if args.key?(:or_filters_for_segment) - end - end end end end diff --git a/generated/google/apis/analyticsreporting_v4/representations.rb b/generated/google/apis/analyticsreporting_v4/representations.rb index 6b854ecd2..f5f3054cf 100644 --- a/generated/google/apis/analyticsreporting_v4/representations.rb +++ b/generated/google/apis/analyticsreporting_v4/representations.rb @@ -22,6 +22,90 @@ module Google module Apis module AnalyticsreportingV4 + class Segment + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class OrderBy + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class SegmentDimensionFilter + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class SegmentSequenceStep + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class Metric + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class PivotValueRegion + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class Report + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class PivotHeader + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class DateRange + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class MetricFilter + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class ReportRequest + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class Dimension + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class DynamicSegment + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class SimpleSegment + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + class ColumnHeader class Representation < Google::Apis::Core::JsonRepresentation; end @@ -148,88 +232,156 @@ module Google include Google::Apis::Core::JsonObjectSupport end - class SegmentDimensionFilter - class Representation < Google::Apis::Core::JsonRepresentation; end + class Segment + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :dynamic_segment, as: 'dynamicSegment', class: Google::Apis::AnalyticsreportingV4::DynamicSegment, decorator: Google::Apis::AnalyticsreportingV4::DynamicSegment::Representation - include Google::Apis::Core::JsonObjectSupport + property :segment_id, as: 'segmentId' + end end class OrderBy - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :sort_order, as: 'sortOrder' + property :field_name, as: 'fieldName' + property :order_type, as: 'orderType' + end end - class Segment - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport + class SegmentDimensionFilter + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :max_comparison_value, as: 'maxComparisonValue' + property :dimension_name, as: 'dimensionName' + property :operator, as: 'operator' + collection :expressions, as: 'expressions' + property :case_sensitive, as: 'caseSensitive' + property :min_comparison_value, as: 'minComparisonValue' + end end class SegmentSequenceStep - class Representation < Google::Apis::Core::JsonRepresentation; end + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :or_filters_for_segment, as: 'orFiltersForSegment', class: Google::Apis::AnalyticsreportingV4::OrFiltersForSegment, decorator: Google::Apis::AnalyticsreportingV4::OrFiltersForSegment::Representation - include Google::Apis::Core::JsonObjectSupport + property :match_type, as: 'matchType' + end end class Metric - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :expression, as: 'expression' + property :formatting_type, as: 'formattingType' + property :alias, as: 'alias' + end end class PivotValueRegion - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :values, as: 'values' + end end class Report - class Representation < Google::Apis::Core::JsonRepresentation; end + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :column_header, as: 'columnHeader', class: Google::Apis::AnalyticsreportingV4::ColumnHeader, decorator: Google::Apis::AnalyticsreportingV4::ColumnHeader::Representation - include Google::Apis::Core::JsonObjectSupport + property :data, as: 'data', class: Google::Apis::AnalyticsreportingV4::ReportData, decorator: Google::Apis::AnalyticsreportingV4::ReportData::Representation + + property :next_page_token, as: 'nextPageToken' + end end class PivotHeader - class Representation < Google::Apis::Core::JsonRepresentation; end + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :pivot_header_entries, as: 'pivotHeaderEntries', class: Google::Apis::AnalyticsreportingV4::PivotHeaderEntry, decorator: Google::Apis::AnalyticsreportingV4::PivotHeaderEntry::Representation - include Google::Apis::Core::JsonObjectSupport + property :total_pivot_groups_count, as: 'totalPivotGroupsCount' + end end class DateRange - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :start_date, as: 'startDate' + property :end_date, as: 'endDate' + end end class MetricFilter - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :comparison_value, as: 'comparisonValue' + property :operator, as: 'operator' + property :not, as: 'not' + property :metric_name, as: 'metricName' + end end class ReportRequest - class Representation < Google::Apis::Core::JsonRepresentation; end + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :metric_filter_clauses, as: 'metricFilterClauses', class: Google::Apis::AnalyticsreportingV4::MetricFilterClause, decorator: Google::Apis::AnalyticsreportingV4::MetricFilterClause::Representation - include Google::Apis::Core::JsonObjectSupport + property :page_size, as: 'pageSize' + property :hide_totals, as: 'hideTotals' + property :hide_value_ranges, as: 'hideValueRanges' + property :cohort_group, as: 'cohortGroup', class: Google::Apis::AnalyticsreportingV4::CohortGroup, decorator: Google::Apis::AnalyticsreportingV4::CohortGroup::Representation + + property :filters_expression, as: 'filtersExpression' + property :view_id, as: 'viewId' + collection :metrics, as: 'metrics', class: Google::Apis::AnalyticsreportingV4::Metric, decorator: Google::Apis::AnalyticsreportingV4::Metric::Representation + + collection :dimension_filter_clauses, as: 'dimensionFilterClauses', class: Google::Apis::AnalyticsreportingV4::DimensionFilterClause, decorator: Google::Apis::AnalyticsreportingV4::DimensionFilterClause::Representation + + collection :order_bys, as: 'orderBys', class: Google::Apis::AnalyticsreportingV4::OrderBy, decorator: Google::Apis::AnalyticsreportingV4::OrderBy::Representation + + collection :segments, as: 'segments', class: Google::Apis::AnalyticsreportingV4::Segment, decorator: Google::Apis::AnalyticsreportingV4::Segment::Representation + + property :sampling_level, as: 'samplingLevel' + collection :dimensions, as: 'dimensions', class: Google::Apis::AnalyticsreportingV4::Dimension, decorator: Google::Apis::AnalyticsreportingV4::Dimension::Representation + + collection :date_ranges, as: 'dateRanges', class: Google::Apis::AnalyticsreportingV4::DateRange, decorator: Google::Apis::AnalyticsreportingV4::DateRange::Representation + + property :page_token, as: 'pageToken' + collection :pivots, as: 'pivots', class: Google::Apis::AnalyticsreportingV4::Pivot, decorator: Google::Apis::AnalyticsreportingV4::Pivot::Representation + + property :include_empty_rows, as: 'includeEmptyRows' + end end class Dimension - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :histogram_buckets, as: 'histogramBuckets' + property :name, as: 'name' + end end class DynamicSegment - class Representation < Google::Apis::Core::JsonRepresentation; end + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :session_segment, as: 'sessionSegment', class: Google::Apis::AnalyticsreportingV4::SegmentDefinition, decorator: Google::Apis::AnalyticsreportingV4::SegmentDefinition::Representation - include Google::Apis::Core::JsonObjectSupport + property :name, as: 'name' + property :user_segment, as: 'userSegment', class: Google::Apis::AnalyticsreportingV4::SegmentDefinition, decorator: Google::Apis::AnalyticsreportingV4::SegmentDefinition::Representation + + end end class SimpleSegment - class Representation < Google::Apis::Core::JsonRepresentation; end + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :or_filters_for_segment, as: 'orFiltersForSegment', class: Google::Apis::AnalyticsreportingV4::OrFiltersForSegment, decorator: Google::Apis::AnalyticsreportingV4::OrFiltersForSegment::Representation - include Google::Apis::Core::JsonObjectSupport + end end class ColumnHeader @@ -244,11 +396,11 @@ module Google class SegmentFilterClause # @private class Representation < Google::Apis::Core::JsonRepresentation - property :dimension_filter, as: 'dimensionFilter', class: Google::Apis::AnalyticsreportingV4::SegmentDimensionFilter, decorator: Google::Apis::AnalyticsreportingV4::SegmentDimensionFilter::Representation - property :metric_filter, as: 'metricFilter', class: Google::Apis::AnalyticsreportingV4::SegmentMetricFilter, decorator: Google::Apis::AnalyticsreportingV4::SegmentMetricFilter::Representation property :not, as: 'not' + property :dimension_filter, as: 'dimensionFilter', class: Google::Apis::AnalyticsreportingV4::SegmentDimensionFilter, decorator: Google::Apis::AnalyticsreportingV4::SegmentDimensionFilter::Representation + end end @@ -264,10 +416,10 @@ module Google class Cohort # @private class Representation < Google::Apis::Core::JsonRepresentation - property :type, as: 'type' property :name, as: 'name' property :date_range, as: 'dateRange', class: Google::Apis::AnalyticsreportingV4::DateRange, decorator: Google::Apis::AnalyticsreportingV4::DateRange::Representation + property :type, as: 'type' end end @@ -291,10 +443,10 @@ module Google class MetricHeader # @private class Representation < Google::Apis::Core::JsonRepresentation - collection :metric_header_entries, as: 'metricHeaderEntries', class: Google::Apis::AnalyticsreportingV4::MetricHeaderEntry, decorator: Google::Apis::AnalyticsreportingV4::MetricHeaderEntry::Representation - collection :pivot_headers, as: 'pivotHeaders', class: Google::Apis::AnalyticsreportingV4::PivotHeader, decorator: Google::Apis::AnalyticsreportingV4::PivotHeader::Representation + collection :metric_header_entries, as: 'metricHeaderEntries', class: Google::Apis::AnalyticsreportingV4::MetricHeaderEntry, decorator: Google::Apis::AnalyticsreportingV4::MetricHeaderEntry::Representation + end end @@ -318,20 +470,20 @@ module Google class SequenceSegment # @private class Representation < Google::Apis::Core::JsonRepresentation - property :first_step_should_match_first_hit, as: 'firstStepShouldMatchFirstHit' collection :segment_sequence_steps, as: 'segmentSequenceSteps', class: Google::Apis::AnalyticsreportingV4::SegmentSequenceStep, decorator: Google::Apis::AnalyticsreportingV4::SegmentSequenceStep::Representation + property :first_step_should_match_first_hit, as: 'firstStepShouldMatchFirstHit' end end class SegmentMetricFilter # @private class Representation < Google::Apis::Core::JsonRepresentation + property :comparison_value, as: 'comparisonValue' + property :operator, as: 'operator' property :metric_name, as: 'metricName' property :scope, as: 'scope' property :max_comparison_value, as: 'maxComparisonValue' - property :comparison_value, as: 'comparisonValue' - property :operator, as: 'operator' end end @@ -364,6 +516,7 @@ module Google class Pivot # @private class Representation < Google::Apis::Core::JsonRepresentation + property :max_group_count, as: 'maxGroupCount' property :start_group, as: 'startGroup' collection :metrics, as: 'metrics', class: Google::Apis::AnalyticsreportingV4::Metric, decorator: Google::Apis::AnalyticsreportingV4::Metric::Representation @@ -371,7 +524,6 @@ module Google collection :dimension_filter_clauses, as: 'dimensionFilterClauses', class: Google::Apis::AnalyticsreportingV4::DimensionFilterClause, decorator: Google::Apis::AnalyticsreportingV4::DimensionFilterClause::Representation - property :max_group_count, as: 'maxGroupCount' end end @@ -415,19 +567,19 @@ module Google class ReportData # @private class Representation < Google::Apis::Core::JsonRepresentation - property :row_count, as: 'rowCount' - collection :rows, as: 'rows', class: Google::Apis::AnalyticsreportingV4::ReportRow, decorator: Google::Apis::AnalyticsreportingV4::ReportRow::Representation - - property :is_data_golden, as: 'isDataGolden' - property :data_last_refreshed, as: 'dataLastRefreshed' - collection :maximums, as: 'maximums', class: Google::Apis::AnalyticsreportingV4::DateRangeValues, decorator: Google::Apis::AnalyticsreportingV4::DateRangeValues::Representation - - collection :sampling_space_sizes, as: 'samplingSpaceSizes' collection :minimums, as: 'minimums', class: Google::Apis::AnalyticsreportingV4::DateRangeValues, decorator: Google::Apis::AnalyticsreportingV4::DateRangeValues::Representation + collection :sampling_space_sizes, as: 'samplingSpaceSizes' collection :totals, as: 'totals', class: Google::Apis::AnalyticsreportingV4::DateRangeValues, decorator: Google::Apis::AnalyticsreportingV4::DateRangeValues::Representation collection :samples_read_counts, as: 'samplesReadCounts' + property :is_data_golden, as: 'isDataGolden' + collection :rows, as: 'rows', class: Google::Apis::AnalyticsreportingV4::ReportRow, decorator: Google::Apis::AnalyticsreportingV4::ReportRow::Representation + + property :row_count, as: 'rowCount' + property :data_last_refreshed, as: 'dataLastRefreshed' + collection :maximums, as: 'maximums', class: Google::Apis::AnalyticsreportingV4::DateRangeValues, decorator: Google::Apis::AnalyticsreportingV4::DateRangeValues::Representation + end end @@ -441,158 +593,6 @@ module Google property :case_sensitive, as: 'caseSensitive' end end - - class SegmentDimensionFilter - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :min_comparison_value, as: 'minComparisonValue' - property :max_comparison_value, as: 'maxComparisonValue' - property :dimension_name, as: 'dimensionName' - property :operator, as: 'operator' - collection :expressions, as: 'expressions' - property :case_sensitive, as: 'caseSensitive' - end - end - - class OrderBy - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :field_name, as: 'fieldName' - property :order_type, as: 'orderType' - property :sort_order, as: 'sortOrder' - end - end - - class Segment - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :dynamic_segment, as: 'dynamicSegment', class: Google::Apis::AnalyticsreportingV4::DynamicSegment, decorator: Google::Apis::AnalyticsreportingV4::DynamicSegment::Representation - - property :segment_id, as: 'segmentId' - end - end - - class SegmentSequenceStep - # @private - class Representation < Google::Apis::Core::JsonRepresentation - collection :or_filters_for_segment, as: 'orFiltersForSegment', class: Google::Apis::AnalyticsreportingV4::OrFiltersForSegment, decorator: Google::Apis::AnalyticsreportingV4::OrFiltersForSegment::Representation - - property :match_type, as: 'matchType' - end - end - - class Metric - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :formatting_type, as: 'formattingType' - property :alias, as: 'alias' - property :expression, as: 'expression' - end - end - - class PivotValueRegion - # @private - class Representation < Google::Apis::Core::JsonRepresentation - collection :values, as: 'values' - end - end - - class Report - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :data, as: 'data', class: Google::Apis::AnalyticsreportingV4::ReportData, decorator: Google::Apis::AnalyticsreportingV4::ReportData::Representation - - property :next_page_token, as: 'nextPageToken' - property :column_header, as: 'columnHeader', class: Google::Apis::AnalyticsreportingV4::ColumnHeader, decorator: Google::Apis::AnalyticsreportingV4::ColumnHeader::Representation - - end - end - - class PivotHeader - # @private - class Representation < Google::Apis::Core::JsonRepresentation - collection :pivot_header_entries, as: 'pivotHeaderEntries', class: Google::Apis::AnalyticsreportingV4::PivotHeaderEntry, decorator: Google::Apis::AnalyticsreportingV4::PivotHeaderEntry::Representation - - property :total_pivot_groups_count, as: 'totalPivotGroupsCount' - end - end - - class DateRange - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :end_date, as: 'endDate' - property :start_date, as: 'startDate' - end - end - - class MetricFilter - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :comparison_value, as: 'comparisonValue' - property :operator, as: 'operator' - property :not, as: 'not' - property :metric_name, as: 'metricName' - end - end - - class ReportRequest - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :include_empty_rows, as: 'includeEmptyRows' - collection :metric_filter_clauses, as: 'metricFilterClauses', class: Google::Apis::AnalyticsreportingV4::MetricFilterClause, decorator: Google::Apis::AnalyticsreportingV4::MetricFilterClause::Representation - - property :page_size, as: 'pageSize' - property :hide_totals, as: 'hideTotals' - property :hide_value_ranges, as: 'hideValueRanges' - property :cohort_group, as: 'cohortGroup', class: Google::Apis::AnalyticsreportingV4::CohortGroup, decorator: Google::Apis::AnalyticsreportingV4::CohortGroup::Representation - - property :filters_expression, as: 'filtersExpression' - property :view_id, as: 'viewId' - collection :metrics, as: 'metrics', class: Google::Apis::AnalyticsreportingV4::Metric, decorator: Google::Apis::AnalyticsreportingV4::Metric::Representation - - collection :dimension_filter_clauses, as: 'dimensionFilterClauses', class: Google::Apis::AnalyticsreportingV4::DimensionFilterClause, decorator: Google::Apis::AnalyticsreportingV4::DimensionFilterClause::Representation - - collection :order_bys, as: 'orderBys', class: Google::Apis::AnalyticsreportingV4::OrderBy, decorator: Google::Apis::AnalyticsreportingV4::OrderBy::Representation - - collection :segments, as: 'segments', class: Google::Apis::AnalyticsreportingV4::Segment, decorator: Google::Apis::AnalyticsreportingV4::Segment::Representation - - property :sampling_level, as: 'samplingLevel' - collection :dimensions, as: 'dimensions', class: Google::Apis::AnalyticsreportingV4::Dimension, decorator: Google::Apis::AnalyticsreportingV4::Dimension::Representation - - property :page_token, as: 'pageToken' - collection :date_ranges, as: 'dateRanges', class: Google::Apis::AnalyticsreportingV4::DateRange, decorator: Google::Apis::AnalyticsreportingV4::DateRange::Representation - - collection :pivots, as: 'pivots', class: Google::Apis::AnalyticsreportingV4::Pivot, decorator: Google::Apis::AnalyticsreportingV4::Pivot::Representation - - end - end - - class Dimension - # @private - class Representation < Google::Apis::Core::JsonRepresentation - collection :histogram_buckets, as: 'histogramBuckets' - property :name, as: 'name' - end - end - - class DynamicSegment - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :name, as: 'name' - property :user_segment, as: 'userSegment', class: Google::Apis::AnalyticsreportingV4::SegmentDefinition, decorator: Google::Apis::AnalyticsreportingV4::SegmentDefinition::Representation - - property :session_segment, as: 'sessionSegment', class: Google::Apis::AnalyticsreportingV4::SegmentDefinition, decorator: Google::Apis::AnalyticsreportingV4::SegmentDefinition::Representation - - end - end - - class SimpleSegment - # @private - class Representation < Google::Apis::Core::JsonRepresentation - collection :or_filters_for_segment, as: 'orFiltersForSegment', class: Google::Apis::AnalyticsreportingV4::OrFiltersForSegment, decorator: Google::Apis::AnalyticsreportingV4::OrFiltersForSegment::Representation - - end - end end end end diff --git a/generated/google/apis/analyticsreporting_v4/service.rb b/generated/google/apis/analyticsreporting_v4/service.rb index 4d4ac4e50..052938b9f 100644 --- a/generated/google/apis/analyticsreporting_v4/service.rb +++ b/generated/google/apis/analyticsreporting_v4/service.rb @@ -44,15 +44,16 @@ module Google def initialize super('https://analyticsreporting.googleapis.com/', '') + @batch_path = 'batch' end # Returns the Analytics data. # @param [Google::Apis::AnalyticsreportingV4::GetReportsRequest] get_reports_request_object - # @param [String] fields - # Selector specifying which fields to include in a partial response. # @param [String] quota_user # Available to use for quota purposes for server-side applications. Can be any # arbitrary string assigned to a user, but should not exceed 40 characters. + # @param [String] fields + # Selector specifying which fields to include in a partial response. # @param [Google::Apis::RequestOptions] options # Request-specific options # @@ -65,14 +66,14 @@ module Google # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required - def batch_get_reports(get_reports_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) + def batch_get_reports(get_reports_request_object = nil, quota_user: nil, fields: nil, options: nil, &block) command = make_simple_command(:post, 'v4/reports:batchGet', options) command.request_representation = Google::Apis::AnalyticsreportingV4::GetReportsRequest::Representation command.request_object = get_reports_request_object command.response_representation = Google::Apis::AnalyticsreportingV4::GetReportsResponse::Representation command.response_class = Google::Apis::AnalyticsreportingV4::GetReportsResponse - command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? + command.query['fields'] = fields unless fields.nil? execute_or_queue_command(command, &block) end diff --git a/generated/google/apis/androidenterprise_v1.rb b/generated/google/apis/androidenterprise_v1.rb index 5f86f357f..22f783331 100644 --- a/generated/google/apis/androidenterprise_v1.rb +++ b/generated/google/apis/androidenterprise_v1.rb @@ -25,7 +25,7 @@ module Google # @see https://developers.google.com/android/work/play/emm-api module AndroidenterpriseV1 VERSION = 'V1' - REVISION = '20170322' + REVISION = '20170329' # Manage corporate Android devices AUTH_ANDROIDENTERPRISE = 'https://www.googleapis.com/auth/androidenterprise' diff --git a/generated/google/apis/androidenterprise_v1/classes.rb b/generated/google/apis/androidenterprise_v1/classes.rb index cb613c5af..524e70487 100644 --- a/generated/google/apis/androidenterprise_v1/classes.rb +++ b/generated/google/apis/androidenterprise_v1/classes.rb @@ -1271,7 +1271,7 @@ module Google # The time when the notification was published in milliseconds since 1970-01- # 01T00:00:00Z. This will always be present. # Corresponds to the JSON property `timestampMillis` - # @return [String] + # @return [Fixnum] attr_accessor :timestamp_millis def initialize(**args) diff --git a/generated/google/apis/androidenterprise_v1/representations.rb b/generated/google/apis/androidenterprise_v1/representations.rb index c5089b27b..4823e1754 100644 --- a/generated/google/apis/androidenterprise_v1/representations.rb +++ b/generated/google/apis/androidenterprise_v1/representations.rb @@ -716,7 +716,7 @@ module Google property :product_availability_change_event, as: 'productAvailabilityChangeEvent', class: Google::Apis::AndroidenterpriseV1::ProductAvailabilityChangeEvent, decorator: Google::Apis::AndroidenterpriseV1::ProductAvailabilityChangeEvent::Representation - property :timestamp_millis, as: 'timestampMillis' + property :timestamp_millis, :numeric_string => true, as: 'timestampMillis' end end diff --git a/generated/google/apis/androidenterprise_v1/service.rb b/generated/google/apis/androidenterprise_v1/service.rb index 3736d3e73..9e1c27d26 100644 --- a/generated/google/apis/androidenterprise_v1/service.rb +++ b/generated/google/apis/androidenterprise_v1/service.rb @@ -50,6 +50,7 @@ module Google def initialize super('https://www.googleapis.com/', 'androidenterprise/v1/') + @batch_path = 'batch' end # Retrieves the details of a device. diff --git a/generated/google/apis/androidpublisher_v2/classes.rb b/generated/google/apis/androidpublisher_v2/classes.rb index 9ed2905ac..1d823906a 100644 --- a/generated/google/apis/androidpublisher_v2/classes.rb +++ b/generated/google/apis/androidpublisher_v2/classes.rb @@ -498,7 +498,7 @@ module Google # this APK does not reference another APK's Expansion File. The field's value # is the size of the uploaded Expansion File in bytes. # Corresponds to the JSON property `fileSize` - # @return [String] + # @return [Fixnum] attr_accessor :file_size # If set this APK's Expansion File references another APK's Expansion File. The @@ -572,7 +572,7 @@ module Google # The file size in bytes of this APK. # Corresponds to the JSON property `fileSize` - # @return [String] + # @return [Fixnum] attr_accessor :file_size # The icon image from the APK, as a base64 encoded byte array. @@ -1281,7 +1281,7 @@ module Google # The time the product was purchased, in milliseconds since the epoch (Jan 1, # 1970). # Corresponds to the JSON property `purchaseTimeMillis` - # @return [String] + # @return [Fixnum] attr_accessor :purchase_time_millis def initialize(**args) @@ -1494,13 +1494,13 @@ module Google # since the Epoch. The given time must be later/greater than the current expiry # time for the subscription. # Corresponds to the JSON property `desiredExpiryTimeMillis` - # @return [String] + # @return [Fixnum] attr_accessor :desired_expiry_time_millis # The expected expiry time for the subscription. If the current expiry time for # the subscription is not the value specified here, the deferral will not occur. # Corresponds to the JSON property `expectedExpiryTimeMillis` - # @return [String] + # @return [Fixnum] attr_accessor :expected_expiry_time_millis def initialize(**args) @@ -1549,7 +1549,7 @@ module Google # Time at which the subscription will expire, in milliseconds since the Epoch. # Corresponds to the JSON property `expiryTimeMillis` - # @return [String] + # @return [Fixnum] attr_accessor :expiry_time_millis # This kind represents a subscriptionPurchase object in the androidpublisher @@ -1569,7 +1569,7 @@ module Google # units, where 1,000,000 micro-units represents one unit of the currency. For # example, if the subscription price is €1.99, price_amount_micros is 1990000. # Corresponds to the JSON property `priceAmountMicros` - # @return [String] + # @return [Fixnum] attr_accessor :price_amount_micros # ISO 4217 currency code for the subscription price. For example, if the price @@ -1580,13 +1580,13 @@ module Google # Time at which the subscription was granted, in milliseconds since the Epoch. # Corresponds to the JSON property `startTimeMillis` - # @return [String] + # @return [Fixnum] attr_accessor :start_time_millis # The time at which the subscription was canceled by the user, in milliseconds # since the epoch. Only present if cancelReason is 0. # Corresponds to the JSON property `userCancellationTimeMillis` - # @return [String] + # @return [Fixnum] attr_accessor :user_cancellation_time_millis def initialize(**args) @@ -1635,7 +1635,7 @@ module Google # The new expiry time for the subscription in milliseconds since the Epoch. # Corresponds to the JSON property `newExpiryTimeMillis` - # @return [String] + # @return [Fixnum] attr_accessor :new_expiry_time_millis def initialize(**args) @@ -1684,7 +1684,7 @@ module Google # # Corresponds to the JSON property `seconds` - # @return [String] + # @return [Fixnum] attr_accessor :seconds def initialize(**args) @@ -1885,7 +1885,7 @@ module Google # The time at which the purchase was made, in milliseconds since the epoch (Jan # 1, 1970). # Corresponds to the JSON property `purchaseTimeMillis` - # @return [String] + # @return [Fixnum] attr_accessor :purchase_time_millis # The token that was generated when a purchase was made. This uniquely @@ -1897,7 +1897,7 @@ module Google # The time at which the purchase was cancelled/refunded/charged-back, in # milliseconds since the epoch (Jan 1, 1970). # Corresponds to the JSON property `voidedTimeMillis` - # @return [String] + # @return [Fixnum] attr_accessor :voided_time_millis def initialize(**args) diff --git a/generated/google/apis/androidpublisher_v2/representations.rb b/generated/google/apis/androidpublisher_v2/representations.rb index 6b1d3054f..9657a060a 100644 --- a/generated/google/apis/androidpublisher_v2/representations.rb +++ b/generated/google/apis/androidpublisher_v2/representations.rb @@ -534,7 +534,7 @@ module Google class ExpansionFile # @private class Representation < Google::Apis::Core::JsonRepresentation - property :file_size, as: 'fileSize' + property :file_size, :numeric_string => true, as: 'fileSize' property :references_version, as: 'referencesVersion' end end @@ -555,7 +555,7 @@ module Google property :externally_hosted_url, as: 'externallyHostedUrl' property :file_sha1_base64, as: 'fileSha1Base64' property :file_sha256_base64, as: 'fileSha256Base64' - property :file_size, as: 'fileSize' + property :file_size, :numeric_string => true, as: 'fileSize' property :icon_base64, as: 'iconBase64' property :maximum_sdk, as: 'maximumSdk' property :minimum_sdk, as: 'minimumSdk' @@ -776,7 +776,7 @@ module Google property :developer_payload, as: 'developerPayload' property :kind, as: 'kind' property :purchase_state, as: 'purchaseState' - property :purchase_time_millis, as: 'purchaseTimeMillis' + property :purchase_time_millis, :numeric_string => true, as: 'purchaseTimeMillis' end end @@ -851,8 +851,8 @@ module Google class SubscriptionDeferralInfo # @private class Representation < Google::Apis::Core::JsonRepresentation - property :desired_expiry_time_millis, as: 'desiredExpiryTimeMillis' - property :expected_expiry_time_millis, as: 'expectedExpiryTimeMillis' + property :desired_expiry_time_millis, :numeric_string => true, as: 'desiredExpiryTimeMillis' + property :expected_expiry_time_millis, :numeric_string => true, as: 'expectedExpiryTimeMillis' end end @@ -863,13 +863,13 @@ module Google property :cancel_reason, as: 'cancelReason' property :country_code, as: 'countryCode' property :developer_payload, as: 'developerPayload' - property :expiry_time_millis, as: 'expiryTimeMillis' + property :expiry_time_millis, :numeric_string => true, as: 'expiryTimeMillis' property :kind, as: 'kind' property :payment_state, as: 'paymentState' - property :price_amount_micros, as: 'priceAmountMicros' + property :price_amount_micros, :numeric_string => true, as: 'priceAmountMicros' property :price_currency_code, as: 'priceCurrencyCode' - property :start_time_millis, as: 'startTimeMillis' - property :user_cancellation_time_millis, as: 'userCancellationTimeMillis' + property :start_time_millis, :numeric_string => true, as: 'startTimeMillis' + property :user_cancellation_time_millis, :numeric_string => true, as: 'userCancellationTimeMillis' end end @@ -884,7 +884,7 @@ module Google class DeferSubscriptionPurchasesResponse # @private class Representation < Google::Apis::Core::JsonRepresentation - property :new_expiry_time_millis, as: 'newExpiryTimeMillis' + property :new_expiry_time_millis, :numeric_string => true, as: 'newExpiryTimeMillis' end end @@ -900,7 +900,7 @@ module Google # @private class Representation < Google::Apis::Core::JsonRepresentation property :nanos, as: 'nanos' - property :seconds, as: 'seconds' + property :seconds, :numeric_string => true, as: 'seconds' end end @@ -954,9 +954,9 @@ module Google # @private class Representation < Google::Apis::Core::JsonRepresentation property :kind, as: 'kind' - property :purchase_time_millis, as: 'purchaseTimeMillis' + property :purchase_time_millis, :numeric_string => true, as: 'purchaseTimeMillis' property :purchase_token, as: 'purchaseToken' - property :voided_time_millis, as: 'voidedTimeMillis' + property :voided_time_millis, :numeric_string => true, as: 'voidedTimeMillis' end end diff --git a/generated/google/apis/androidpublisher_v2/service.rb b/generated/google/apis/androidpublisher_v2/service.rb index 41c3f104a..df038c850 100644 --- a/generated/google/apis/androidpublisher_v2/service.rb +++ b/generated/google/apis/androidpublisher_v2/service.rb @@ -50,6 +50,7 @@ module Google def initialize super('https://www.googleapis.com/', 'androidpublisher/v2/applications/') + @batch_path = 'batch' end # Commits/applies the changes made in this edit back to the app. @@ -2384,14 +2385,14 @@ module Google # @param [String] package_name # The package name of the application for which voided purchases need to be # returned (for example, 'com.some.thing'). - # @param [String] end_time + # @param [Fixnum] end_time # The time, in milliseconds since the Epoch, of the newest voided in-app product # purchase that you want to see in the response. The value of this parameter # cannot be greater than the current time and is ignored if a pagination token # is set. Default value is current time. # @param [Fixnum] max_results # @param [Fixnum] start_index - # @param [String] start_time + # @param [Fixnum] start_time # The time, in milliseconds since the Epoch, of the oldest voided in-app product # purchase that you want to see in the response. The value of this parameter # cannot be older than 30 days and is ignored if a pagination token is set. diff --git a/generated/google/apis/appengine_v1/classes.rb b/generated/google/apis/appengine_v1/classes.rb index d1d762de6..91e82da2d 100644 --- a/generated/google/apis/appengine_v1/classes.rb +++ b/generated/google/apis/appengine_v1/classes.rb @@ -620,7 +620,7 @@ module Google # Total size in bytes of all the files that are included in this version and # curerntly hosted on the App Engine disk.@OutputOnly # Corresponds to the JSON property `diskUsageBytes` - # @return [String] + # @return [Fixnum] attr_accessor :disk_usage_bytes # An ordered list of URL-matching patterns that should be applied to incoming @@ -1827,7 +1827,7 @@ module Google # Total memory in use (bytes).@OutputOnly # Corresponds to the JSON property `memoryUsage` - # @return [String] + # @return [Fixnum] attr_accessor :memory_usage # Status of the virtual machine where this instance lives. Only applicable for diff --git a/generated/google/apis/appengine_v1/representations.rb b/generated/google/apis/appengine_v1/representations.rb index ce2acf638..41ba97b64 100644 --- a/generated/google/apis/appengine_v1/representations.rb +++ b/generated/google/apis/appengine_v1/representations.rb @@ -446,7 +446,7 @@ module Google property :serving_status, as: 'servingStatus' property :created_by, as: 'createdBy' property :create_time, as: 'createTime' - property :disk_usage_bytes, as: 'diskUsageBytes' + property :disk_usage_bytes, :numeric_string => true, as: 'diskUsageBytes' collection :handlers, as: 'handlers', class: Google::Apis::AppengineV1::UrlMap, decorator: Google::Apis::AppengineV1::UrlMap::Representation collection :error_handlers, as: 'errorHandlers', class: Google::Apis::AppengineV1::ErrorHandler, decorator: Google::Apis::AppengineV1::ErrorHandler::Representation @@ -753,7 +753,7 @@ module Google property :errors, as: 'errors' property :qps, as: 'qps' property :average_latency, as: 'averageLatency' - property :memory_usage, as: 'memoryUsage' + property :memory_usage, :numeric_string => true, as: 'memoryUsage' property :vm_status, as: 'vmStatus' property :vm_debug_enabled, as: 'vmDebugEnabled' property :vm_ip, as: 'vmIp' diff --git a/generated/google/apis/appengine_v1/service.rb b/generated/google/apis/appengine_v1/service.rb index 86a7bcbbc..30ea3817f 100644 --- a/generated/google/apis/appengine_v1/service.rb +++ b/generated/google/apis/appengine_v1/service.rb @@ -44,6 +44,7 @@ module Google def initialize super('https://appengine.googleapis.com/', '') + @batch_path = 'batch' end # Gets information about an application. diff --git a/generated/google/apis/appsactivity_v1/classes.rb b/generated/google/apis/appsactivity_v1/classes.rb index f462ff6f7..fae4ae4dd 100644 --- a/generated/google/apis/appsactivity_v1/classes.rb +++ b/generated/google/apis/appsactivity_v1/classes.rb @@ -62,7 +62,7 @@ module Google # The time at which the event occurred formatted as Unix time in milliseconds. # Corresponds to the JSON property `eventTimeMillis` - # @return [String] + # @return [Fixnum] attr_accessor :event_time_millis # Whether this event is caused by a user being deleted. diff --git a/generated/google/apis/appsactivity_v1/representations.rb b/generated/google/apis/appsactivity_v1/representations.rb index 66559006d..31ef882e8 100644 --- a/generated/google/apis/appsactivity_v1/representations.rb +++ b/generated/google/apis/appsactivity_v1/representations.rb @@ -102,7 +102,7 @@ module Google # @private class Representation < Google::Apis::Core::JsonRepresentation collection :additional_event_types, as: 'additionalEventTypes' - property :event_time_millis, as: 'eventTimeMillis' + property :event_time_millis, :numeric_string => true, as: 'eventTimeMillis' property :from_user_deletion, as: 'fromUserDeletion' property :move, as: 'move', class: Google::Apis::AppsactivityV1::Move, decorator: Google::Apis::AppsactivityV1::Move::Representation diff --git a/generated/google/apis/appsactivity_v1/service.rb b/generated/google/apis/appsactivity_v1/service.rb index 06169ba86..e24fb3ccb 100644 --- a/generated/google/apis/appsactivity_v1/service.rb +++ b/generated/google/apis/appsactivity_v1/service.rb @@ -50,6 +50,7 @@ module Google def initialize super('https://www.googleapis.com/', 'appsactivity/v1/') + @batch_path = 'batch' end # Returns a list of activities visible to the current logged in user. Visible diff --git a/generated/google/apis/appsmarket_v2.rb b/generated/google/apis/appsmarket_v2.rb new file mode 100644 index 000000000..90a85e57e --- /dev/null +++ b/generated/google/apis/appsmarket_v2.rb @@ -0,0 +1,35 @@ +# Copyright 2015 Google Inc. +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + +require 'google/apis/appsmarket_v2/service.rb' +require 'google/apis/appsmarket_v2/classes.rb' +require 'google/apis/appsmarket_v2/representations.rb' + +module Google + module Apis + # Google Apps Marketplace API + # + # Lets your Apps Marketplace applications integrate with Google's licensing + # service + # + # @see https://developers.google.com/google-apps/marketplace/v2/developers_guide + module AppsmarketV2 + VERSION = 'V2' + REVISION = '20160920' + + # View your installed application's licensing information + AUTH_APPSMARKETPLACE_LICENSE = 'https://www.googleapis.com/auth/appsmarketplace.license' + end + end +end diff --git a/generated/google/apis/appsmarket_v2/classes.rb b/generated/google/apis/appsmarket_v2/classes.rb new file mode 100644 index 000000000..1528c982e --- /dev/null +++ b/generated/google/apis/appsmarket_v2/classes.rb @@ -0,0 +1,396 @@ +# Copyright 2015 Google Inc. +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + +require 'date' +require 'google/apis/core/base_service' +require 'google/apis/core/json_representation' +require 'google/apis/core/hashable' +require 'google/apis/errors' + +module Google + module Apis + module AppsmarketV2 + + # + class CustomerLicense + include Google::Apis::Core::Hashable + + # The ID of the application corresponding to this license query. + # Corresponds to the JSON property `applicationId` + # @return [String] + attr_accessor :application_id + + # The domain name of the customer. + # Corresponds to the JSON property `customerId` + # @return [String] + attr_accessor :customer_id + + # (Deprecated) + # Corresponds to the JSON property `editions` + # @return [Array] + attr_accessor :editions + + # The ID of the customer license. + # Corresponds to the JSON property `id` + # @return [String] + attr_accessor :id + + # The type of API resource. This is always appsmarket#customerLicense. + # Corresponds to the JSON property `kind` + # @return [String] + attr_accessor :kind + + # The customer's license status. + # Corresponds to the JSON property `state` + # @return [String] + attr_accessor :state + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @application_id = args[:application_id] if args.key?(:application_id) + @customer_id = args[:customer_id] if args.key?(:customer_id) + @editions = args[:editions] if args.key?(:editions) + @id = args[:id] if args.key?(:id) + @kind = args[:kind] if args.key?(:kind) + @state = args[:state] if args.key?(:state) + end + + # + class Edition + include Google::Apis::Core::Hashable + + # (Deprecated) + # Corresponds to the JSON property `assignedSeats` + # @return [Fixnum] + attr_accessor :assigned_seats + + # (Deprecated) + # Corresponds to the JSON property `editionId` + # @return [String] + attr_accessor :edition_id + + # (Deprecated) + # Corresponds to the JSON property `seatCount` + # @return [Fixnum] + attr_accessor :seat_count + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @assigned_seats = args[:assigned_seats] if args.key?(:assigned_seats) + @edition_id = args[:edition_id] if args.key?(:edition_id) + @seat_count = args[:seat_count] if args.key?(:seat_count) + end + end + end + + # + class LicenseNotification + include Google::Apis::Core::Hashable + + # The ID of the application according to this notification. + # Corresponds to the JSON property `applicationId` + # @return [String] + attr_accessor :application_id + + # The domain name of the customer corresponding to this notification. + # Corresponds to the JSON property `customerId` + # @return [String] + attr_accessor :customer_id + + # The list of deletion notifications. + # Corresponds to the JSON property `deletes` + # @return [Array] + attr_accessor :deletes + + # The list of expiry notifications. + # Corresponds to the JSON property `expiries` + # @return [Array] + attr_accessor :expiries + + # The ID of the license notification. + # Corresponds to the JSON property `id` + # @return [String] + attr_accessor :id + + # The type of API resource. This is always appsmarket#licenseNotification. + # Corresponds to the JSON property `kind` + # @return [String] + attr_accessor :kind + + # The list of provisioning notifications. + # Corresponds to the JSON property `provisions` + # @return [Array] + attr_accessor :provisions + + # The list of reassignment notifications. + # Corresponds to the JSON property `reassignments` + # @return [Array] + attr_accessor :reassignments + + # The time the event occurred, measuring in milliseconds since the UNIX epoch. + # Corresponds to the JSON property `timestamp` + # @return [Fixnum] + attr_accessor :timestamp + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @application_id = args[:application_id] if args.key?(:application_id) + @customer_id = args[:customer_id] if args.key?(:customer_id) + @deletes = args[:deletes] if args.key?(:deletes) + @expiries = args[:expiries] if args.key?(:expiries) + @id = args[:id] if args.key?(:id) + @kind = args[:kind] if args.key?(:kind) + @provisions = args[:provisions] if args.key?(:provisions) + @reassignments = args[:reassignments] if args.key?(:reassignments) + @timestamp = args[:timestamp] if args.key?(:timestamp) + end + + # + class Delete + include Google::Apis::Core::Hashable + + # (Deprecated) + # Corresponds to the JSON property `editionId` + # @return [String] + attr_accessor :edition_id + + # + # Corresponds to the JSON property `kind` + # @return [String] + attr_accessor :kind + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @edition_id = args[:edition_id] if args.key?(:edition_id) + @kind = args[:kind] if args.key?(:kind) + end + end + + # + class Expiry + include Google::Apis::Core::Hashable + + # (Deprecated) + # Corresponds to the JSON property `editionId` + # @return [String] + attr_accessor :edition_id + + # + # Corresponds to the JSON property `kind` + # @return [String] + attr_accessor :kind + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @edition_id = args[:edition_id] if args.key?(:edition_id) + @kind = args[:kind] if args.key?(:kind) + end + end + + # + class Provision + include Google::Apis::Core::Hashable + + # (Deprecated) + # Corresponds to the JSON property `editionId` + # @return [String] + attr_accessor :edition_id + + # + # Corresponds to the JSON property `kind` + # @return [String] + attr_accessor :kind + + # The number of seats that were provisioned. + # Corresponds to the JSON property `seatCount` + # @return [Fixnum] + attr_accessor :seat_count + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @edition_id = args[:edition_id] if args.key?(:edition_id) + @kind = args[:kind] if args.key?(:kind) + @seat_count = args[:seat_count] if args.key?(:seat_count) + end + end + + # + class Reassignment + include Google::Apis::Core::Hashable + + # (Deprecated) + # Corresponds to the JSON property `editionId` + # @return [String] + attr_accessor :edition_id + + # + # Corresponds to the JSON property `kind` + # @return [String] + attr_accessor :kind + + # + # Corresponds to the JSON property `type` + # @return [String] + attr_accessor :type + + # The email address of the reassigned user. + # Corresponds to the JSON property `userId` + # @return [String] + attr_accessor :user_id + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @edition_id = args[:edition_id] if args.key?(:edition_id) + @kind = args[:kind] if args.key?(:kind) + @type = args[:type] if args.key?(:type) + @user_id = args[:user_id] if args.key?(:user_id) + end + end + end + + # + class LicenseNotificationList + include Google::Apis::Core::Hashable + + # + # Corresponds to the JSON property `kind` + # @return [String] + attr_accessor :kind + + # The token used to continue querying for notifications after the final + # notification in the current result set. + # Corresponds to the JSON property `nextPageToken` + # @return [String] + attr_accessor :next_page_token + + # The list of notifications. One or more of: + # - provisions -- A new license of the application has been provisioned. + # - expiries -- A license of the application has expired. + # - deletions -- An application has been deleted from a domain. + # - reassignments -- An administrator has assigned or revoked a seat license for + # the application on the provided domain. + # Corresponds to the JSON property `notifications` + # @return [Array] + attr_accessor :notifications + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @kind = args[:kind] if args.key?(:kind) + @next_page_token = args[:next_page_token] if args.key?(:next_page_token) + @notifications = args[:notifications] if args.key?(:notifications) + end + end + + # + class UserLicense + include Google::Apis::Core::Hashable + + # The ID of the application corresponding to the license query. + # Corresponds to the JSON property `applicationId` + # @return [String] + attr_accessor :application_id + + # The domain name of the user. + # Corresponds to the JSON property `customerId` + # @return [String] + attr_accessor :customer_id + + # (Deprecated) + # Corresponds to the JSON property `editionId` + # @return [String] + attr_accessor :edition_id + + # The domain administrator has activated the application for this domain. + # Corresponds to the JSON property `enabled` + # @return [Boolean] + attr_accessor :enabled + alias_method :enabled?, :enabled + + # The ID of user license. + # Corresponds to the JSON property `id` + # @return [String] + attr_accessor :id + + # The type of API resource. This is always appsmarket#userLicense. + # Corresponds to the JSON property `kind` + # @return [String] + attr_accessor :kind + + # The user's licensing status. One of: + # - ACTIVE -- The user has a valid license and should be permitted to use the + # application. + # - UNLICENSED -- The administrator of this user's domain never assigned a seat + # for the application to this user. + # - EXPIRED -- The administrator assigned a seat to this user, but the license + # is expired. + # Corresponds to the JSON property `state` + # @return [String] + attr_accessor :state + + # The email address of the user. + # Corresponds to the JSON property `userId` + # @return [String] + attr_accessor :user_id + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @application_id = args[:application_id] if args.key?(:application_id) + @customer_id = args[:customer_id] if args.key?(:customer_id) + @edition_id = args[:edition_id] if args.key?(:edition_id) + @enabled = args[:enabled] if args.key?(:enabled) + @id = args[:id] if args.key?(:id) + @kind = args[:kind] if args.key?(:kind) + @state = args[:state] if args.key?(:state) + @user_id = args[:user_id] if args.key?(:user_id) + end + end + end + end +end diff --git a/generated/google/apis/appsmarket_v2/representations.rb b/generated/google/apis/appsmarket_v2/representations.rb new file mode 100644 index 000000000..7600fc287 --- /dev/null +++ b/generated/google/apis/appsmarket_v2/representations.rb @@ -0,0 +1,180 @@ +# Copyright 2015 Google Inc. +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + +require 'date' +require 'google/apis/core/base_service' +require 'google/apis/core/json_representation' +require 'google/apis/core/hashable' +require 'google/apis/errors' + +module Google + module Apis + module AppsmarketV2 + + class CustomerLicense + class Representation < Google::Apis::Core::JsonRepresentation; end + + class Edition + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + include Google::Apis::Core::JsonObjectSupport + end + + class LicenseNotification + class Representation < Google::Apis::Core::JsonRepresentation; end + + class Delete + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class Expiry + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class Provision + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class Reassignment + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + include Google::Apis::Core::JsonObjectSupport + end + + class LicenseNotificationList + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class UserLicense + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class CustomerLicense + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :application_id, as: 'applicationId' + property :customer_id, as: 'customerId' + collection :editions, as: 'editions', class: Google::Apis::AppsmarketV2::CustomerLicense::Edition, decorator: Google::Apis::AppsmarketV2::CustomerLicense::Edition::Representation + + property :id, as: 'id' + property :kind, as: 'kind' + property :state, as: 'state' + end + + class Edition + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :assigned_seats, as: 'assignedSeats' + property :edition_id, as: 'editionId' + property :seat_count, as: 'seatCount' + end + end + end + + class LicenseNotification + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :application_id, as: 'applicationId' + property :customer_id, as: 'customerId' + collection :deletes, as: 'deletes', class: Google::Apis::AppsmarketV2::LicenseNotification::Delete, decorator: Google::Apis::AppsmarketV2::LicenseNotification::Delete::Representation + + collection :expiries, as: 'expiries', class: Google::Apis::AppsmarketV2::LicenseNotification::Expiry, decorator: Google::Apis::AppsmarketV2::LicenseNotification::Expiry::Representation + + property :id, as: 'id' + property :kind, as: 'kind' + collection :provisions, as: 'provisions', class: Google::Apis::AppsmarketV2::LicenseNotification::Provision, decorator: Google::Apis::AppsmarketV2::LicenseNotification::Provision::Representation + + collection :reassignments, as: 'reassignments', class: Google::Apis::AppsmarketV2::LicenseNotification::Reassignment, decorator: Google::Apis::AppsmarketV2::LicenseNotification::Reassignment::Representation + + property :timestamp, :numeric_string => true, as: 'timestamp' + end + + class Delete + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :edition_id, as: 'editionId' + property :kind, as: 'kind' + end + end + + class Expiry + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :edition_id, as: 'editionId' + property :kind, as: 'kind' + end + end + + class Provision + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :edition_id, as: 'editionId' + property :kind, as: 'kind' + property :seat_count, :numeric_string => true, as: 'seatCount' + end + end + + class Reassignment + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :edition_id, as: 'editionId' + property :kind, as: 'kind' + property :type, as: 'type' + property :user_id, as: 'userId' + end + end + end + + class LicenseNotificationList + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :kind, as: 'kind' + property :next_page_token, as: 'nextPageToken' + collection :notifications, as: 'notifications', class: Google::Apis::AppsmarketV2::LicenseNotification, decorator: Google::Apis::AppsmarketV2::LicenseNotification::Representation + + end + end + + class UserLicense + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :application_id, as: 'applicationId' + property :customer_id, as: 'customerId' + property :edition_id, as: 'editionId' + property :enabled, as: 'enabled' + property :id, as: 'id' + property :kind, as: 'kind' + property :state, as: 'state' + property :user_id, as: 'userId' + end + end + end + end +end diff --git a/generated/google/apis/appsmarket_v2/service.rb b/generated/google/apis/appsmarket_v2/service.rb new file mode 100644 index 000000000..af9f43496 --- /dev/null +++ b/generated/google/apis/appsmarket_v2/service.rb @@ -0,0 +1,187 @@ +# Copyright 2015 Google Inc. +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + +require 'google/apis/core/base_service' +require 'google/apis/core/json_representation' +require 'google/apis/core/hashable' +require 'google/apis/errors' + +module Google + module Apis + module AppsmarketV2 + # Google Apps Marketplace API + # + # Lets your Apps Marketplace applications integrate with Google's licensing + # service + # + # @example + # require 'google/apis/appsmarket_v2' + # + # Appsmarket = Google::Apis::AppsmarketV2 # Alias the module + # service = Appsmarket::AppsmarketService.new + # + # @see https://developers.google.com/google-apps/marketplace/v2/developers_guide + class AppsmarketService < Google::Apis::Core::BaseService + # @return [String] + # API key. Your API key identifies your project and provides you with API access, + # quota, and reports. Required unless you provide an OAuth 2.0 token. + attr_accessor :key + + # @return [String] + # Available to use for quota purposes for server-side applications. Can be any + # arbitrary string assigned to a user, but should not exceed 40 characters. + # Overrides userIp if both are provided. + attr_accessor :quota_user + + # @return [String] + # IP address of the site where the request originates. Use this if you want to + # enforce per-user limits. + attr_accessor :user_ip + + def initialize + super('https://www.googleapis.com/', 'appsmarket/v2/') + @batch_path = 'batch' + end + + # + # @param [String] application_id + # Application Id + # @param [String] customer_id + # Customer Id + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # Available to use for quota purposes for server-side applications. Can be any + # arbitrary string assigned to a user, but should not exceed 40 characters. + # Overrides userIp if both are provided. + # @param [String] user_ip + # IP address of the site where the request originates. Use this if you want to + # enforce per-user limits. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::AppsmarketV2::CustomerLicense] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::AppsmarketV2::CustomerLicense] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def get_customer_license(application_id, customer_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + command = make_simple_command(:get, 'customerLicense/{applicationId}/{customerId}', options) + command.response_representation = Google::Apis::AppsmarketV2::CustomerLicense::Representation + command.response_class = Google::Apis::AppsmarketV2::CustomerLicense + command.params['applicationId'] = application_id unless application_id.nil? + command.params['customerId'] = customer_id unless customer_id.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + command.query['userIp'] = user_ip unless user_ip.nil? + execute_or_queue_command(command, &block) + end + + # + # @param [String] application_id + # Application Id + # @param [Fixnum] max_results + # Maximum number of results to return + # @param [String] start_token + # Pagination token + # @param [Fixnum] timestamp + # Timestamp in milliseconds since epoch + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # Available to use for quota purposes for server-side applications. Can be any + # arbitrary string assigned to a user, but should not exceed 40 characters. + # Overrides userIp if both are provided. + # @param [String] user_ip + # IP address of the site where the request originates. Use this if you want to + # enforce per-user limits. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::AppsmarketV2::LicenseNotificationList] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::AppsmarketV2::LicenseNotificationList] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def list_license_notifications(application_id, max_results: nil, start_token: nil, timestamp: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + command = make_simple_command(:get, 'licenseNotification/{applicationId}', options) + command.response_representation = Google::Apis::AppsmarketV2::LicenseNotificationList::Representation + command.response_class = Google::Apis::AppsmarketV2::LicenseNotificationList + command.params['applicationId'] = application_id unless application_id.nil? + command.query['max-results'] = max_results unless max_results.nil? + command.query['start-token'] = start_token unless start_token.nil? + command.query['timestamp'] = timestamp unless timestamp.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + command.query['userIp'] = user_ip unless user_ip.nil? + execute_or_queue_command(command, &block) + end + + # + # @param [String] application_id + # Application Id + # @param [String] user_id + # User Id + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # Available to use for quota purposes for server-side applications. Can be any + # arbitrary string assigned to a user, but should not exceed 40 characters. + # Overrides userIp if both are provided. + # @param [String] user_ip + # IP address of the site where the request originates. Use this if you want to + # enforce per-user limits. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::AppsmarketV2::UserLicense] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::AppsmarketV2::UserLicense] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def get_user_license(application_id, user_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + command = make_simple_command(:get, 'userLicense/{applicationId}/{userId}', options) + command.response_representation = Google::Apis::AppsmarketV2::UserLicense::Representation + command.response_class = Google::Apis::AppsmarketV2::UserLicense + command.params['applicationId'] = application_id unless application_id.nil? + command.params['userId'] = user_id unless user_id.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + command.query['userIp'] = user_ip unless user_ip.nil? + execute_or_queue_command(command, &block) + end + + protected + + def apply_command_defaults(command) + command.query['key'] = key unless key.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + command.query['userIp'] = user_ip unless user_ip.nil? + end + end + end + end +end diff --git a/generated/google/apis/appstate_v1.rb b/generated/google/apis/appstate_v1.rb index aa54697e4..3c07e2aff 100644 --- a/generated/google/apis/appstate_v1.rb +++ b/generated/google/apis/appstate_v1.rb @@ -25,7 +25,7 @@ module Google # @see https://developers.google.com/games/services/web/api/states module AppstateV1 VERSION = 'V1' - REVISION = '20170323' + REVISION = '20170329' # View and manage your data for this application AUTH_APPSTATE = 'https://www.googleapis.com/auth/appstate' diff --git a/generated/google/apis/appstate_v1/service.rb b/generated/google/apis/appstate_v1/service.rb index b7aa6662c..cc3d30010 100644 --- a/generated/google/apis/appstate_v1/service.rb +++ b/generated/google/apis/appstate_v1/service.rb @@ -50,6 +50,7 @@ module Google def initialize super('https://www.googleapis.com/', 'appstate/v1/') + @batch_path = 'batch' end # Clears (sets to empty) the data for the passed key if and only if the passed diff --git a/generated/google/apis/bigquery_v2/classes.rb b/generated/google/apis/bigquery_v2/classes.rb index 9481ac9e6..c240cd4bd 100644 --- a/generated/google/apis/bigquery_v2/classes.rb +++ b/generated/google/apis/bigquery_v2/classes.rb @@ -248,7 +248,7 @@ module Google # when reading the data. The default value is 0. This property is useful if you # have header rows in the file that should be skipped. # Corresponds to the JSON property `skipLeadingRows` - # @return [String] + # @return [Fixnum] attr_accessor :skip_leading_rows def initialize(**args) @@ -285,7 +285,7 @@ module Google # [Output-only] The time when this dataset was created, in milliseconds since # the epoch. # Corresponds to the JSON property `creationTime` - # @return [String] + # @return [Fixnum] attr_accessor :creation_time # [Required] A reference that identifies the dataset. @@ -304,7 +304,7 @@ module Google # table, that value takes precedence over the default expiration time indicated # by this property. # Corresponds to the JSON property `defaultTableExpirationMs` - # @return [String] + # @return [Fixnum] attr_accessor :default_table_expiration_ms # [Optional] A user-friendly description of the dataset. @@ -345,7 +345,7 @@ module Google # [Output-only] The date when this dataset or any of its tables was last # modified, in milliseconds since the epoch. # Corresponds to the JSON property `lastModifiedTime` - # @return [String] + # @return [Fixnum] attr_accessor :last_modified_time # The geographic location where the dataset should reside. Possible values @@ -610,7 +610,7 @@ module Google # Unique ID for stage within plan. # Corresponds to the JSON property `id` - # @return [String] + # @return [Fixnum] attr_accessor :id # Human-readable name for stage. @@ -630,12 +630,12 @@ module Google # Number of records read into the stage. # Corresponds to the JSON property `recordsRead` - # @return [String] + # @return [Fixnum] attr_accessor :records_read # Number of records written by the stage. # Corresponds to the JSON property `recordsWritten` - # @return [String] + # @return [Fixnum] attr_accessor :records_written # Current status for the stage. @@ -866,7 +866,7 @@ module Google # [Output-only] The number of rows affected by a DML statement. Present only for # DML statements INSERT, UPDATE or DELETE. # Corresponds to the JSON property `numDmlAffectedRows` - # @return [String] + # @return [Fixnum] attr_accessor :num_dml_affected_rows # A token used for paging results. @@ -889,14 +889,14 @@ module Google # The total number of bytes processed for this query. # Corresponds to the JSON property `totalBytesProcessed` - # @return [String] + # @return [Fixnum] attr_accessor :total_bytes_processed # The total number of rows in the complete query result set, which can be more # than the number of rows in this single page of results. Present only when the # query completes successfully. # Corresponds to the JSON property `totalRows` - # @return [String] + # @return [Fixnum] attr_accessor :total_rows def initialize(**args) @@ -936,7 +936,7 @@ module Google # is just skipped. Otherwise row N is used to extract column names for the # detected schema. # Corresponds to the JSON property `skipLeadingRows` - # @return [String] + # @return [Fixnum] attr_accessor :skip_leading_rows def initialize(**args) @@ -1422,7 +1422,7 @@ module Google # billed beyond this limit will fail (without incurring a charge). If # unspecified, this will be set to your project default. # Corresponds to the JSON property `maximumBytesBilled` - # @return [String] + # @return [Fixnum] attr_accessor :maximum_bytes_billed # Standard SQL only. Set to POSITIONAL to use positional (?) query parameters or @@ -1732,13 +1732,13 @@ module Google # [Output-only] Creation time of this job, in milliseconds since the epoch. This # field will be present on all jobs. # Corresponds to the JSON property `creationTime` - # @return [String] + # @return [Fixnum] attr_accessor :creation_time # [Output-only] End time of this job, in milliseconds since the epoch. This # field will be present whenever a job is in the DONE state. # Corresponds to the JSON property `endTime` - # @return [String] + # @return [Fixnum] attr_accessor :end_time # [Output-only] Statistics for an extract job. @@ -1760,13 +1760,13 @@ module Google # field will be present when the job transitions from the PENDING state to # either RUNNING or DONE. # Corresponds to the JSON property `startTime` - # @return [String] + # @return [Fixnum] attr_accessor :start_time # [Output-only] [Deprecated] Use the bytes processed in the query statistics # instead. # Corresponds to the JSON property `totalBytesProcessed` - # @return [String] + # @return [Fixnum] attr_accessor :total_bytes_processed def initialize(**args) @@ -1803,7 +1803,7 @@ module Google # [Output-only] The number of rows affected by a DML statement. Present only for # DML statements INSERT, UPDATE or DELETE. # Corresponds to the JSON property `numDmlAffectedRows` - # @return [String] + # @return [Fixnum] attr_accessor :num_dml_affected_rows # [Output-only] Describes execution plan for the query. @@ -1830,12 +1830,12 @@ module Google # [Output-only] Total bytes billed for the job. # Corresponds to the JSON property `totalBytesBilled` - # @return [String] + # @return [Fixnum] attr_accessor :total_bytes_billed # [Output-only] Total bytes processed for the job. # Corresponds to the JSON property `totalBytesProcessed` - # @return [String] + # @return [Fixnum] attr_accessor :total_bytes_processed # [Output-only, Experimental] Standard SQL only: list of undeclared query @@ -1869,24 +1869,24 @@ module Google # [Output-only] Number of bytes of source data in a load job. # Corresponds to the JSON property `inputFileBytes` - # @return [String] + # @return [Fixnum] attr_accessor :input_file_bytes # [Output-only] Number of source files in a load job. # Corresponds to the JSON property `inputFiles` - # @return [String] + # @return [Fixnum] attr_accessor :input_files # [Output-only] Size of the loaded data in bytes. Note that while a load job is # in the running state, this value may change. # Corresponds to the JSON property `outputBytes` - # @return [String] + # @return [Fixnum] attr_accessor :output_bytes # [Output-only] Number of rows imported in a load job. Note that while an import # job is in the running state, this value may change. # Corresponds to the JSON property `outputRows` - # @return [String] + # @return [Fixnum] attr_accessor :output_rows def initialize(**args) @@ -1910,7 +1910,7 @@ module Google # the extract configuration. These values will be in the same order as the URIs # specified in the 'destinationUris' field. # Corresponds to the JSON property `destinationUriFileCounts` - # @return [Array] + # @return [Array] attr_accessor :destination_uri_file_counts def initialize(**args) @@ -2019,7 +2019,7 @@ module Google # The numeric ID of this project. # Corresponds to the JSON property `numericId` - # @return [String] + # @return [Fixnum] attr_accessor :numeric_id # A unique reference to this project. @@ -2335,7 +2335,7 @@ module Google # [Output-only] The number of rows affected by a DML statement. Present only for # DML statements INSERT, UPDATE or DELETE. # Corresponds to the JSON property `numDmlAffectedRows` - # @return [String] + # @return [Fixnum] attr_accessor :num_dml_affected_rows # A token used for paging results. @@ -2358,13 +2358,13 @@ module Google # The total number of bytes processed for this query. If this query was a dry # run, this is the number of bytes that would be processed if the query were run. # Corresponds to the JSON property `totalBytesProcessed` - # @return [String] + # @return [Fixnum] attr_accessor :total_bytes_processed # The total number of rows in the complete query result set, which can be more # than the number of rows in this single page of results. # Corresponds to the JSON property `totalRows` - # @return [String] + # @return [Fixnum] attr_accessor :total_rows def initialize(**args) @@ -2394,19 +2394,19 @@ module Google # [Output-only] A lower-bound estimate of the number of bytes currently in the # streaming buffer. # Corresponds to the JSON property `estimatedBytes` - # @return [String] + # @return [Fixnum] attr_accessor :estimated_bytes # [Output-only] A lower-bound estimate of the number of rows currently in the # streaming buffer. # Corresponds to the JSON property `estimatedRows` - # @return [String] + # @return [Fixnum] attr_accessor :estimated_rows # [Output-only] Contains the timestamp of the oldest entry in the streaming # buffer, in milliseconds since the epoch, if the streaming buffer is available. # Corresponds to the JSON property `oldestEntryTime` - # @return [String] + # @return [Fixnum] attr_accessor :oldest_entry_time def initialize(**args) @@ -2428,7 +2428,7 @@ module Google # [Output-only] The time when this table was created, in milliseconds since the # epoch. # Corresponds to the JSON property `creationTime` - # @return [String] + # @return [Fixnum] attr_accessor :creation_time # [Optional] A user-friendly description of this table. @@ -2445,7 +2445,7 @@ module Google # If not present, the table will persist indefinitely. Expired tables will be # deleted and their storage reclaimed. # Corresponds to the JSON property `expirationTime` - # @return [String] + # @return [Fixnum] attr_accessor :expiration_time # [Optional] Describes the data format, location, and other properties of a @@ -2483,7 +2483,7 @@ module Google # [Output-only] The time when this table was last modified, in milliseconds # since the epoch. # Corresponds to the JSON property `lastModifiedTime` - # @return [String] + # @return [Fixnum] attr_accessor :last_modified_time # [Output-only] The geographic location where the table resides. This value is @@ -2495,19 +2495,19 @@ module Google # [Output-only] The size of this table in bytes, excluding any data in the # streaming buffer. # Corresponds to the JSON property `numBytes` - # @return [String] + # @return [Fixnum] attr_accessor :num_bytes # [Output-only] The number of bytes in the table that are considered "long-term # storage". # Corresponds to the JSON property `numLongTermBytes` - # @return [String] + # @return [Fixnum] attr_accessor :num_long_term_bytes # [Output-only] The number of rows of data in this table, excluding any data in # the streaming buffer. # Corresponds to the JSON property `numRows` - # @return [String] + # @return [Fixnum] attr_accessor :num_rows # [Optional] Describes the schema of this table. @@ -2757,7 +2757,7 @@ module Google # The total number of rows in the complete table. # Corresponds to the JSON property `totalRows` - # @return [String] + # @return [Fixnum] attr_accessor :total_rows def initialize(**args) @@ -3020,7 +3020,7 @@ module Google # [Optional] Number of milliseconds for which to keep the storage for a # partition. # Corresponds to the JSON property `expirationMs` - # @return [String] + # @return [Fixnum] attr_accessor :expiration_ms # [Required] The only type supported is DAY, which will generate one partition diff --git a/generated/google/apis/bigquery_v2/representations.rb b/generated/google/apis/bigquery_v2/representations.rb index b104e872b..08f1c8b9c 100644 --- a/generated/google/apis/bigquery_v2/representations.rb +++ b/generated/google/apis/bigquery_v2/representations.rb @@ -406,7 +406,7 @@ module Google property :encoding, as: 'encoding' property :field_delimiter, as: 'fieldDelimiter' property :quote, as: 'quote' - property :skip_leading_rows, as: 'skipLeadingRows' + property :skip_leading_rows, :numeric_string => true, as: 'skipLeadingRows' end end @@ -415,17 +415,17 @@ module Google class Representation < Google::Apis::Core::JsonRepresentation collection :access, as: 'access', class: Google::Apis::BigqueryV2::Dataset::Access, decorator: Google::Apis::BigqueryV2::Dataset::Access::Representation - property :creation_time, as: 'creationTime' + property :creation_time, :numeric_string => true, as: 'creationTime' property :dataset_reference, as: 'datasetReference', class: Google::Apis::BigqueryV2::DatasetReference, decorator: Google::Apis::BigqueryV2::DatasetReference::Representation - property :default_table_expiration_ms, as: 'defaultTableExpirationMs' + property :default_table_expiration_ms, :numeric_string => true, as: 'defaultTableExpirationMs' property :description, as: 'description' property :etag, as: 'etag' property :friendly_name, as: 'friendlyName' property :id, as: 'id' property :kind, as: 'kind' hash :labels, as: 'labels' - property :last_modified_time, as: 'lastModifiedTime' + property :last_modified_time, :numeric_string => true, as: 'lastModifiedTime' property :location, as: 'location' property :self_link, as: 'selfLink' end @@ -490,12 +490,12 @@ module Google class Representation < Google::Apis::Core::JsonRepresentation property :compute_ratio_avg, as: 'computeRatioAvg' property :compute_ratio_max, as: 'computeRatioMax' - property :id, as: 'id' + property :id, :numeric_string => true, as: 'id' property :name, as: 'name' property :read_ratio_avg, as: 'readRatioAvg' property :read_ratio_max, as: 'readRatioMax' - property :records_read, as: 'recordsRead' - property :records_written, as: 'recordsWritten' + property :records_read, :numeric_string => true, as: 'recordsRead' + property :records_written, :numeric_string => true, as: 'recordsWritten' property :status, as: 'status' collection :steps, as: 'steps', class: Google::Apis::BigqueryV2::ExplainQueryStep, decorator: Google::Apis::BigqueryV2::ExplainQueryStep::Representation @@ -545,21 +545,21 @@ module Google property :job_reference, as: 'jobReference', class: Google::Apis::BigqueryV2::JobReference, decorator: Google::Apis::BigqueryV2::JobReference::Representation property :kind, as: 'kind' - property :num_dml_affected_rows, as: 'numDmlAffectedRows' + property :num_dml_affected_rows, :numeric_string => true, as: 'numDmlAffectedRows' property :page_token, as: 'pageToken' collection :rows, as: 'rows', class: Google::Apis::BigqueryV2::TableRow, decorator: Google::Apis::BigqueryV2::TableRow::Representation property :schema, as: 'schema', class: Google::Apis::BigqueryV2::TableSchema, decorator: Google::Apis::BigqueryV2::TableSchema::Representation - property :total_bytes_processed, as: 'totalBytesProcessed' - property :total_rows, as: 'totalRows' + property :total_bytes_processed, :numeric_string => true, as: 'totalBytesProcessed' + property :total_rows, :numeric_string => true, as: 'totalRows' end end class GoogleSheetsOptions # @private class Representation < Google::Apis::Core::JsonRepresentation - property :skip_leading_rows, as: 'skipLeadingRows' + property :skip_leading_rows, :numeric_string => true, as: 'skipLeadingRows' end end @@ -660,7 +660,7 @@ module Google property :flatten_results, as: 'flattenResults' property :maximum_billing_tier, as: 'maximumBillingTier' - property :maximum_bytes_billed, as: 'maximumBytesBilled' + property :maximum_bytes_billed, :numeric_string => true, as: 'maximumBytesBilled' property :parameter_mode, as: 'parameterMode' property :preserve_nulls, as: 'preserveNulls' property :priority, as: 'priority' @@ -734,16 +734,16 @@ module Google class JobStatistics # @private class Representation < Google::Apis::Core::JsonRepresentation - property :creation_time, as: 'creationTime' - property :end_time, as: 'endTime' + property :creation_time, :numeric_string => true, as: 'creationTime' + property :end_time, :numeric_string => true, as: 'endTime' property :extract, as: 'extract', class: Google::Apis::BigqueryV2::JobStatistics4, decorator: Google::Apis::BigqueryV2::JobStatistics4::Representation property :load, as: 'load', class: Google::Apis::BigqueryV2::JobStatistics3, decorator: Google::Apis::BigqueryV2::JobStatistics3::Representation property :query, as: 'query', class: Google::Apis::BigqueryV2::JobStatistics2, decorator: Google::Apis::BigqueryV2::JobStatistics2::Representation - property :start_time, as: 'startTime' - property :total_bytes_processed, as: 'totalBytesProcessed' + property :start_time, :numeric_string => true, as: 'startTime' + property :total_bytes_processed, :numeric_string => true, as: 'totalBytesProcessed' end end @@ -752,7 +752,7 @@ module Google class Representation < Google::Apis::Core::JsonRepresentation property :billing_tier, as: 'billingTier' property :cache_hit, as: 'cacheHit' - property :num_dml_affected_rows, as: 'numDmlAffectedRows' + property :num_dml_affected_rows, :numeric_string => true, as: 'numDmlAffectedRows' collection :query_plan, as: 'queryPlan', class: Google::Apis::BigqueryV2::ExplainQueryStage, decorator: Google::Apis::BigqueryV2::ExplainQueryStage::Representation collection :referenced_tables, as: 'referencedTables', class: Google::Apis::BigqueryV2::TableReference, decorator: Google::Apis::BigqueryV2::TableReference::Representation @@ -760,8 +760,8 @@ module Google property :schema, as: 'schema', class: Google::Apis::BigqueryV2::TableSchema, decorator: Google::Apis::BigqueryV2::TableSchema::Representation property :statement_type, as: 'statementType' - property :total_bytes_billed, as: 'totalBytesBilled' - property :total_bytes_processed, as: 'totalBytesProcessed' + property :total_bytes_billed, :numeric_string => true, as: 'totalBytesBilled' + property :total_bytes_processed, :numeric_string => true, as: 'totalBytesProcessed' collection :undeclared_query_parameters, as: 'undeclaredQueryParameters', class: Google::Apis::BigqueryV2::QueryParameter, decorator: Google::Apis::BigqueryV2::QueryParameter::Representation end @@ -770,10 +770,10 @@ module Google class JobStatistics3 # @private class Representation < Google::Apis::Core::JsonRepresentation - property :input_file_bytes, as: 'inputFileBytes' - property :input_files, as: 'inputFiles' - property :output_bytes, as: 'outputBytes' - property :output_rows, as: 'outputRows' + property :input_file_bytes, :numeric_string => true, as: 'inputFileBytes' + property :input_files, :numeric_string => true, as: 'inputFiles' + property :output_bytes, :numeric_string => true, as: 'outputBytes' + property :output_rows, :numeric_string => true, as: 'outputRows' end end @@ -812,7 +812,7 @@ module Google property :friendly_name, as: 'friendlyName' property :id, as: 'id' property :kind, as: 'kind' - property :numeric_id, as: 'numericId' + property :numeric_id, :numeric_string => true, as: 'numericId' property :project_reference, as: 'projectReference', class: Google::Apis::BigqueryV2::ProjectReference, decorator: Google::Apis::BigqueryV2::ProjectReference::Representation end @@ -898,44 +898,44 @@ module Google property :job_reference, as: 'jobReference', class: Google::Apis::BigqueryV2::JobReference, decorator: Google::Apis::BigqueryV2::JobReference::Representation property :kind, as: 'kind' - property :num_dml_affected_rows, as: 'numDmlAffectedRows' + property :num_dml_affected_rows, :numeric_string => true, as: 'numDmlAffectedRows' property :page_token, as: 'pageToken' collection :rows, as: 'rows', class: Google::Apis::BigqueryV2::TableRow, decorator: Google::Apis::BigqueryV2::TableRow::Representation property :schema, as: 'schema', class: Google::Apis::BigqueryV2::TableSchema, decorator: Google::Apis::BigqueryV2::TableSchema::Representation - property :total_bytes_processed, as: 'totalBytesProcessed' - property :total_rows, as: 'totalRows' + property :total_bytes_processed, :numeric_string => true, as: 'totalBytesProcessed' + property :total_rows, :numeric_string => true, as: 'totalRows' end end class Streamingbuffer # @private class Representation < Google::Apis::Core::JsonRepresentation - property :estimated_bytes, as: 'estimatedBytes' - property :estimated_rows, as: 'estimatedRows' - property :oldest_entry_time, as: 'oldestEntryTime' + property :estimated_bytes, :numeric_string => true, as: 'estimatedBytes' + property :estimated_rows, :numeric_string => true, as: 'estimatedRows' + property :oldest_entry_time, :numeric_string => true, as: 'oldestEntryTime' end end class Table # @private class Representation < Google::Apis::Core::JsonRepresentation - property :creation_time, as: 'creationTime' + property :creation_time, :numeric_string => true, as: 'creationTime' property :description, as: 'description' property :etag, as: 'etag' - property :expiration_time, as: 'expirationTime' + property :expiration_time, :numeric_string => true, as: 'expirationTime' property :external_data_configuration, as: 'externalDataConfiguration', class: Google::Apis::BigqueryV2::ExternalDataConfiguration, decorator: Google::Apis::BigqueryV2::ExternalDataConfiguration::Representation property :friendly_name, as: 'friendlyName' property :id, as: 'id' property :kind, as: 'kind' hash :labels, as: 'labels' - property :last_modified_time, as: 'lastModifiedTime' + property :last_modified_time, :numeric_string => true, as: 'lastModifiedTime' property :location, as: 'location' - property :num_bytes, as: 'numBytes' - property :num_long_term_bytes, as: 'numLongTermBytes' - property :num_rows, as: 'numRows' + property :num_bytes, :numeric_string => true, as: 'numBytes' + property :num_long_term_bytes, :numeric_string => true, as: 'numLongTermBytes' + property :num_rows, :numeric_string => true, as: 'numRows' property :schema, as: 'schema', class: Google::Apis::BigqueryV2::TableSchema, decorator: Google::Apis::BigqueryV2::TableSchema::Representation property :self_link, as: 'selfLink' @@ -1004,7 +1004,7 @@ module Google property :page_token, as: 'pageToken' collection :rows, as: 'rows', class: Google::Apis::BigqueryV2::TableRow, decorator: Google::Apis::BigqueryV2::TableRow::Representation - property :total_rows, as: 'totalRows' + property :total_rows, :numeric_string => true, as: 'totalRows' end end @@ -1082,7 +1082,7 @@ module Google class TimePartitioning # @private class Representation < Google::Apis::Core::JsonRepresentation - property :expiration_ms, as: 'expirationMs' + property :expiration_ms, :numeric_string => true, as: 'expirationMs' property :type, as: 'type' end end diff --git a/generated/google/apis/bigquery_v2/service.rb b/generated/google/apis/bigquery_v2/service.rb index 718f3b283..dd7e4cf23 100644 --- a/generated/google/apis/bigquery_v2/service.rb +++ b/generated/google/apis/bigquery_v2/service.rb @@ -50,6 +50,7 @@ module Google def initialize super('https://www.googleapis.com/', 'bigquery/v2/') + @batch_path = 'batch' end # Deletes the dataset specified by the datasetId value. Before you can delete a @@ -398,7 +399,7 @@ module Google # Maximum number of results to read # @param [String] page_token # Page token, returned by a previous call, to request the next page of results - # @param [String] start_index + # @param [Fixnum] start_index # Zero-based index of the starting row # @param [Fixnum] timeout_ms # How long to wait for the query to complete, in milliseconds, before returning. @@ -679,7 +680,7 @@ module Google # @param [String] selected_fields # List of fields to return (comma-separated). If unspecified, all fields are # returned - # @param [String] start_index + # @param [Fixnum] start_index # Zero-based index of the starting row to read # @param [String] fields # Selector specifying which fields to include in a partial response. diff --git a/generated/google/apis/blogger_v3/classes.rb b/generated/google/apis/blogger_v3/classes.rb index a0291b0a7..7fab7c08a 100644 --- a/generated/google/apis/blogger_v3/classes.rb +++ b/generated/google/apis/blogger_v3/classes.rb @@ -781,7 +781,7 @@ module Google # Count of page views for the given time range # Corresponds to the JSON property `count` - # @return [String] + # @return [Fixnum] attr_accessor :count # Time range the given count applies to @@ -1074,7 +1074,7 @@ module Google # The count of comments on this post. # Corresponds to the JSON property `totalItems` - # @return [String] + # @return [Fixnum] attr_accessor :total_items def initialize(**args) diff --git a/generated/google/apis/blogger_v3/representations.rb b/generated/google/apis/blogger_v3/representations.rb index df780f2b8..a335b535b 100644 --- a/generated/google/apis/blogger_v3/representations.rb +++ b/generated/google/apis/blogger_v3/representations.rb @@ -461,7 +461,7 @@ module Google class Count # @private class Representation < Google::Apis::Core::JsonRepresentation - property :count, as: 'count' + property :count, :numeric_string => true, as: 'count' property :time_range, as: 'timeRange' end end @@ -546,7 +546,7 @@ module Google collection :items, as: 'items', class: Google::Apis::BloggerV3::Comment, decorator: Google::Apis::BloggerV3::Comment::Representation property :self_link, as: 'selfLink' - property :total_items, as: 'totalItems' + property :total_items, :numeric_string => true, as: 'totalItems' end end end diff --git a/generated/google/apis/blogger_v3/service.rb b/generated/google/apis/blogger_v3/service.rb index 2fef50b56..806b56b71 100644 --- a/generated/google/apis/blogger_v3/service.rb +++ b/generated/google/apis/blogger_v3/service.rb @@ -50,6 +50,7 @@ module Google def initialize super('https://www.googleapis.com/', 'blogger/v3/') + @batch_path = 'batch' end # Gets one blog and user info pair by blogId and userId. diff --git a/generated/google/apis/books_v1/classes.rb b/generated/google/apis/books_v1/classes.rb index 131554e43..e3b1ce23c 100644 --- a/generated/google/apis/books_v1/classes.rb +++ b/generated/google/apis/books_v1/classes.rb @@ -1964,12 +1964,12 @@ module Google # # Corresponds to the JSON property `size` - # @return [String] + # @return [Fixnum] attr_accessor :size # # Corresponds to the JSON property `version` - # @return [String] + # @return [Fixnum] attr_accessor :version def initialize(**args) @@ -1998,7 +1998,7 @@ module Google # The list of crm experiment ids. # Corresponds to the JSON property `crmExperimentIds` - # @return [Array] + # @return [Array] attr_accessor :crm_experiment_ids # @@ -3467,12 +3467,12 @@ module Google # # Corresponds to the JSON property `endUtcSec` - # @return [String] + # @return [Fixnum] attr_accessor :end_utc_sec # # Corresponds to the JSON property `startUtcSec` - # @return [String] + # @return [Fixnum] attr_accessor :start_utc_sec def initialize(**args) diff --git a/generated/google/apis/books_v1/representations.rb b/generated/google/apis/books_v1/representations.rb index bcc1c40e2..c9f5e00ea 100644 --- a/generated/google/apis/books_v1/representations.rb +++ b/generated/google/apis/books_v1/representations.rb @@ -1202,8 +1202,8 @@ module Google property :download_url, as: 'download_url' property :encrypted_key, as: 'encrypted_key' property :language, as: 'language' - property :size, as: 'size' - property :version, as: 'version' + property :size, :numeric_string => true, as: 'size' + property :version, :numeric_string => true, as: 'version' end end end @@ -1622,8 +1622,8 @@ module Google class RentalPeriod # @private class Representation < Google::Apis::Core::JsonRepresentation - property :end_utc_sec, as: 'endUtcSec' - property :start_utc_sec, as: 'startUtcSec' + property :end_utc_sec, :numeric_string => true, as: 'endUtcSec' + property :start_utc_sec, :numeric_string => true, as: 'startUtcSec' end end diff --git a/generated/google/apis/books_v1/service.rb b/generated/google/apis/books_v1/service.rb index 51cc9582b..39cff3cb0 100644 --- a/generated/google/apis/books_v1/service.rb +++ b/generated/google/apis/books_v1/service.rb @@ -50,6 +50,7 @@ module Google def initialize super('https://www.googleapis.com/', 'books/v1/') + @batch_path = 'batch' end # Retrieves metadata for a specific bookshelf for the specified user. diff --git a/generated/google/apis/calendar_v3/classes.rb b/generated/google/apis/calendar_v3/classes.rb index 094fcd734..a369b33c7 100644 --- a/generated/google/apis/calendar_v3/classes.rb +++ b/generated/google/apis/calendar_v3/classes.rb @@ -465,7 +465,7 @@ module Google # Date and time of notification channel expiration, expressed as a Unix # timestamp, in milliseconds. Optional. # Corresponds to the JSON property `expiration` - # @return [String] + # @return [Fixnum] attr_accessor :expiration # A UUID or similar unique string that identifies this channel. diff --git a/generated/google/apis/calendar_v3/representations.rb b/generated/google/apis/calendar_v3/representations.rb index 6c1c69345..092381e90 100644 --- a/generated/google/apis/calendar_v3/representations.rb +++ b/generated/google/apis/calendar_v3/representations.rb @@ -353,7 +353,7 @@ module Google # @private class Representation < Google::Apis::Core::JsonRepresentation property :address, as: 'address' - property :expiration, as: 'expiration' + property :expiration, :numeric_string => true, as: 'expiration' property :id, as: 'id' property :kind, as: 'kind' hash :params, as: 'params' diff --git a/generated/google/apis/calendar_v3/service.rb b/generated/google/apis/calendar_v3/service.rb index b3815d710..90f77ce5c 100644 --- a/generated/google/apis/calendar_v3/service.rb +++ b/generated/google/apis/calendar_v3/service.rb @@ -50,6 +50,7 @@ module Google def initialize super('https://www.googleapis.com/', 'calendar/v3/') + @batch_path = 'batch' end # Deletes an access control rule. diff --git a/generated/google/apis/civicinfo_v2/classes.rb b/generated/google/apis/civicinfo_v2/classes.rb index 39d54ced7..82f0a76ca 100644 --- a/generated/google/apis/civicinfo_v2/classes.rb +++ b/generated/google/apis/civicinfo_v2/classes.rb @@ -200,7 +200,7 @@ module Google # The order the candidate appears on the ballot for this contest. # Corresponds to the JSON property `orderOnBallot` - # @return [String] + # @return [Fixnum] attr_accessor :order_on_ballot # The full name of the party the candidate is a member of. @@ -268,7 +268,7 @@ module Google # A number specifying the position of this contest on the voter's ballot. # Corresponds to the JSON property `ballotPlacement` - # @return [String] + # @return [Fixnum] attr_accessor :ballot_placement # The candidate choices for this contest. @@ -305,12 +305,12 @@ module Google # The number of candidates that will be elected to office in this contest. # Corresponds to the JSON property `numberElected` - # @return [String] + # @return [Fixnum] attr_accessor :number_elected # The number of candidates that a voter may vote for in this contest. # Corresponds to the JSON property `numberVotingFor` - # @return [String] + # @return [Fixnum] attr_accessor :number_voting_for # The name of the office for this contest. @@ -572,7 +572,7 @@ module Google # The unique ID of this election. # Corresponds to the JSON property `id` - # @return [String] + # @return [Fixnum] attr_accessor :id # A displayable name for the election. @@ -1464,7 +1464,7 @@ module Google # # Corresponds to the JSON property `generatedMillis` - # @return [String] + # @return [Fixnum] attr_accessor :generated_millis # diff --git a/generated/google/apis/civicinfo_v2/representations.rb b/generated/google/apis/civicinfo_v2/representations.rb index 2f069a028..bffb8f3ed 100644 --- a/generated/google/apis/civicinfo_v2/representations.rb +++ b/generated/google/apis/civicinfo_v2/representations.rb @@ -235,7 +235,7 @@ module Google property :email, as: 'email' property :name, as: 'name' - property :order_on_ballot, as: 'orderOnBallot' + property :order_on_ballot, :numeric_string => true, as: 'orderOnBallot' property :party, as: 'party' property :phone, as: 'phone' property :photo_url, as: 'photoUrl' @@ -253,7 +253,7 @@ module Google class Contest # @private class Representation < Google::Apis::Core::JsonRepresentation - property :ballot_placement, as: 'ballotPlacement' + property :ballot_placement, :numeric_string => true, as: 'ballotPlacement' collection :candidates, as: 'candidates', class: Google::Apis::CivicinfoV2::Candidate, decorator: Google::Apis::CivicinfoV2::Candidate::Representation property :district, as: 'district', class: Google::Apis::CivicinfoV2::ElectoralDistrict, decorator: Google::Apis::CivicinfoV2::ElectoralDistrict::Representation @@ -261,8 +261,8 @@ module Google property :electorate_specifications, as: 'electorateSpecifications' property :id, as: 'id' collection :level, as: 'level' - property :number_elected, as: 'numberElected' - property :number_voting_for, as: 'numberVotingFor' + property :number_elected, :numeric_string => true, as: 'numberElected' + property :number_voting_for, :numeric_string => true, as: 'numberVotingFor' property :office, as: 'office' property :primary_party, as: 'primaryParty' collection :referendum_ballot_responses, as: 'referendumBallotResponses' @@ -328,7 +328,7 @@ module Google # @private class Representation < Google::Apis::Core::JsonRepresentation property :election_day, as: 'electionDay' - property :id, as: 'id' + property :id, :numeric_string => true, as: 'id' property :name, as: 'name' property :ocd_division_id, as: 'ocdDivisionId' end @@ -558,7 +558,7 @@ module Google class VoterInfoSegmentResult # @private class Representation < Google::Apis::Core::JsonRepresentation - property :generated_millis, as: 'generatedMillis' + property :generated_millis, :numeric_string => true, as: 'generatedMillis' property :postal_address, as: 'postalAddress', class: Google::Apis::CivicinfoV2::PostalAddress, decorator: Google::Apis::CivicinfoV2::PostalAddress::Representation property :request, as: 'request', class: Google::Apis::CivicinfoV2::VoterInfoRequest, decorator: Google::Apis::CivicinfoV2::VoterInfoRequest::Representation diff --git a/generated/google/apis/civicinfo_v2/service.rb b/generated/google/apis/civicinfo_v2/service.rb index 7ffa53d48..b07cc9a4a 100644 --- a/generated/google/apis/civicinfo_v2/service.rb +++ b/generated/google/apis/civicinfo_v2/service.rb @@ -51,6 +51,7 @@ module Google def initialize super('https://www.googleapis.com/', 'civicinfo/v2/') + @batch_path = 'batch' end # Searches for political divisions by their natural name or OCD ID. @@ -134,7 +135,7 @@ module Google # @param [String] address # The registered address of the voter to look up. # @param [Google::Apis::CivicinfoV2::VoterInfoRequest] voter_info_request_object - # @param [String] election_id + # @param [Fixnum] election_id # The unique ID of the election to look up. A list of election IDs can be # obtained at https://www.googleapis.com/civicinfo/`version`/elections # @param [Boolean] official_only diff --git a/generated/google/apis/classroom_v1/service.rb b/generated/google/apis/classroom_v1/service.rb index c4961da3f..2afb1f3e4 100644 --- a/generated/google/apis/classroom_v1/service.rb +++ b/generated/google/apis/classroom_v1/service.rb @@ -44,6 +44,7 @@ module Google def initialize super('https://classroom.googleapis.com/', '') + @batch_path = 'batch' end # Creates an invitation. Only one invitation for a user and course may exist diff --git a/generated/google/apis/cloudbilling_v1/service.rb b/generated/google/apis/cloudbilling_v1/service.rb index b1a47b530..064397d39 100644 --- a/generated/google/apis/cloudbilling_v1/service.rb +++ b/generated/google/apis/cloudbilling_v1/service.rb @@ -45,6 +45,7 @@ module Google def initialize super('https://cloudbilling.googleapis.com/', '') + @batch_path = 'batch' end # Sets or updates the billing account associated with a project. You specify diff --git a/generated/google/apis/cloudbuild_v1.rb b/generated/google/apis/cloudbuild_v1.rb index ea765b0cf..e4ef860e1 100644 --- a/generated/google/apis/cloudbuild_v1.rb +++ b/generated/google/apis/cloudbuild_v1.rb @@ -25,7 +25,7 @@ module Google # @see https://cloud.google.com/container-builder/docs/ module CloudbuildV1 VERSION = 'V1' - REVISION = '20170330' + REVISION = '20170403' # View and manage your data across Google Cloud Platform services AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform' diff --git a/generated/google/apis/cloudbuild_v1/classes.rb b/generated/google/apis/cloudbuild_v1/classes.rb index c89795ffc..8f2ecf5bf 100644 --- a/generated/google/apis/cloudbuild_v1/classes.rb +++ b/generated/google/apis/cloudbuild_v1/classes.rb @@ -22,326 +22,6 @@ module Google module Apis module CloudbuildV1 - # A generic empty message that you can re-use to avoid defining duplicated - # empty messages in your APIs. A typical example is to use it as the request - # or the response type of an API method. For instance: - # service Foo ` - # rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty); - # ` - # The JSON representation for `Empty` is empty JSON object ````. - class Empty - include Google::Apis::Core::Hashable - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - end - end - - # Configuration for an automated build in response to source repository - # changes. - class BuildTrigger - include Google::Apis::Core::Hashable - - # If true, the trigger will never result in a build. - # Corresponds to the JSON property `disabled` - # @return [Boolean] - attr_accessor :disabled - alias_method :disabled?, :disabled - - # Time when the trigger was created. - # @OutputOnly - # Corresponds to the JSON property `createTime` - # @return [String] - attr_accessor :create_time - - # RepoSource describes the location of the source in a Google Cloud Source - # Repository. - # Corresponds to the JSON property `triggerTemplate` - # @return [Google::Apis::CloudbuildV1::RepoSource] - attr_accessor :trigger_template - - # Path, from the source root, to a file whose contents is used for the - # template. - # Corresponds to the JSON property `filename` - # @return [String] - attr_accessor :filename - - # Unique identifier of the trigger. - # @OutputOnly - # Corresponds to the JSON property `id` - # @return [String] - attr_accessor :id - - # A build resource in the Container Builder API. - # At a high level, a Build describes where to find source code, how to build - # it (for example, the builder image to run on the source), and what tag to - # apply to the built image when it is pushed to Google Container Registry. - # Fields can include the following variables which will be expanded when the - # build is created: - # - $PROJECT_ID: the project ID of the build. - # - $BUILD_ID: the autogenerated ID of the build. - # - $REPO_NAME: the source repository name specified by RepoSource. - # - $BRANCH_NAME: the branch name specified by RepoSource. - # - $TAG_NAME: the tag name specified by RepoSource. - # - $REVISION_ID or $COMMIT_SHA: the commit SHA specified by RepoSource or - # resolved from the specified branch or tag. - # Corresponds to the JSON property `build` - # @return [Google::Apis::CloudbuildV1::Build] - attr_accessor :build - - # Substitutions data for Build resource. - # Corresponds to the JSON property `substitutions` - # @return [Hash] - attr_accessor :substitutions - - # Human-readable description of this trigger. - # Corresponds to the JSON property `description` - # @return [String] - attr_accessor :description - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @disabled = args[:disabled] if args.key?(:disabled) - @create_time = args[:create_time] if args.key?(:create_time) - @trigger_template = args[:trigger_template] if args.key?(:trigger_template) - @filename = args[:filename] if args.key?(:filename) - @id = args[:id] if args.key?(:id) - @build = args[:build] if args.key?(:build) - @substitutions = args[:substitutions] if args.key?(:substitutions) - @description = args[:description] if args.key?(:description) - end - end - - # A build resource in the Container Builder API. - # At a high level, a Build describes where to find source code, how to build - # it (for example, the builder image to run on the source), and what tag to - # apply to the built image when it is pushed to Google Container Registry. - # Fields can include the following variables which will be expanded when the - # build is created: - # - $PROJECT_ID: the project ID of the build. - # - $BUILD_ID: the autogenerated ID of the build. - # - $REPO_NAME: the source repository name specified by RepoSource. - # - $BRANCH_NAME: the branch name specified by RepoSource. - # - $TAG_NAME: the tag name specified by RepoSource. - # - $REVISION_ID or $COMMIT_SHA: the commit SHA specified by RepoSource or - # resolved from the specified branch or tag. - class Build - include Google::Apis::Core::Hashable - - # Optional arguments to enable specific features of builds. - # Corresponds to the JSON property `options` - # @return [Google::Apis::CloudbuildV1::BuildOptions] - attr_accessor :options - - # Source describes the location of the source in a supported storage - # service. - # Corresponds to the JSON property `source` - # @return [Google::Apis::CloudbuildV1::Source] - attr_accessor :source - - # Customer-readable message about the current status. - # @OutputOnly - # Corresponds to the JSON property `statusDetail` - # @return [String] - attr_accessor :status_detail - - # Status of the build. - # @OutputOnly - # Corresponds to the JSON property `status` - # @return [String] - attr_accessor :status - - # Amount of time that this build should be allowed to run, to second - # granularity. If this amount of time elapses, work on the build will cease - # and the build status will be TIMEOUT. - # Default time is ten minutes. - # Corresponds to the JSON property `timeout` - # @return [String] - attr_accessor :timeout - - # Google Cloud Storage bucket where logs should be written (see - # [Bucket Name - # Requirements](https://cloud.google.com/storage/docs/bucket-naming#requirements) - # ). - # Logs file names will be of the format `$`logs_bucket`/log-$`build_id`.txt`. - # Corresponds to the JSON property `logsBucket` - # @return [String] - attr_accessor :logs_bucket - - # Results describes the artifacts created by the build pipeline. - # Corresponds to the JSON property `results` - # @return [Google::Apis::CloudbuildV1::Results] - attr_accessor :results - - # Describes the operations to be performed on the workspace. - # Corresponds to the JSON property `steps` - # @return [Array] - attr_accessor :steps - - # The ID of the BuildTrigger that triggered this build, if it was - # triggered automatically. - # @OutputOnly - # Corresponds to the JSON property `buildTriggerId` - # @return [String] - attr_accessor :build_trigger_id - - # Unique identifier of the build. - # @OutputOnly - # Corresponds to the JSON property `id` - # @return [String] - attr_accessor :id - - # Time at which execution of the build was started. - # @OutputOnly - # Corresponds to the JSON property `startTime` - # @return [String] - attr_accessor :start_time - - # Substitutions data for Build resource. - # Corresponds to the JSON property `substitutions` - # @return [Hash] - attr_accessor :substitutions - - # Time at which the request to create the build was received. - # @OutputOnly - # Corresponds to the JSON property `createTime` - # @return [String] - attr_accessor :create_time - - # Provenance of the source. Ways to find the original source, or verify that - # some source was used for this build. - # Corresponds to the JSON property `sourceProvenance` - # @return [Google::Apis::CloudbuildV1::SourceProvenance] - attr_accessor :source_provenance - - # A list of images to be pushed upon the successful completion of all build - # steps. - # The images will be pushed using the builder service account's credentials. - # The digests of the pushed images will be stored in the Build resource's - # results field. - # If any of the images fail to be pushed, the build is marked FAILURE. - # Corresponds to the JSON property `images` - # @return [Array] - attr_accessor :images - - # ID of the project. - # @OutputOnly. - # Corresponds to the JSON property `projectId` - # @return [String] - attr_accessor :project_id - - # Time at which execution of the build was finished. - # The difference between finish_time and start_time is the duration of the - # build's execution. - # @OutputOnly - # Corresponds to the JSON property `finishTime` - # @return [String] - attr_accessor :finish_time - - # URL to logs for this build in Google Cloud Logging. - # @OutputOnly - # Corresponds to the JSON property `logUrl` - # @return [String] - attr_accessor :log_url - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @options = args[:options] if args.key?(:options) - @source = args[:source] if args.key?(:source) - @status_detail = args[:status_detail] if args.key?(:status_detail) - @status = args[:status] if args.key?(:status) - @timeout = args[:timeout] if args.key?(:timeout) - @logs_bucket = args[:logs_bucket] if args.key?(:logs_bucket) - @results = args[:results] if args.key?(:results) - @steps = args[:steps] if args.key?(:steps) - @build_trigger_id = args[:build_trigger_id] if args.key?(:build_trigger_id) - @id = args[:id] if args.key?(:id) - @start_time = args[:start_time] if args.key?(:start_time) - @substitutions = args[:substitutions] if args.key?(:substitutions) - @create_time = args[:create_time] if args.key?(:create_time) - @source_provenance = args[:source_provenance] if args.key?(:source_provenance) - @images = args[:images] if args.key?(:images) - @project_id = args[:project_id] if args.key?(:project_id) - @finish_time = args[:finish_time] if args.key?(:finish_time) - @log_url = args[:log_url] if args.key?(:log_url) - end - end - - # Request to cancel an ongoing build. - class CancelBuildRequest - include Google::Apis::Core::Hashable - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - end - end - - # Response including listed builds. - class ListBuildsResponse - include Google::Apis::Core::Hashable - - # Token to receive the next page of results. - # Corresponds to the JSON property `nextPageToken` - # @return [String] - attr_accessor :next_page_token - - # Builds will be sorted by create_time, descending. - # Corresponds to the JSON property `builds` - # @return [Array] - attr_accessor :builds - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @next_page_token = args[:next_page_token] if args.key?(:next_page_token) - @builds = args[:builds] if args.key?(:builds) - end - end - - # The response message for Operations.ListOperations. - class ListOperationsResponse - include Google::Apis::Core::Hashable - - # The standard List next-page token. - # Corresponds to the JSON property `nextPageToken` - # @return [String] - attr_accessor :next_page_token - - # A list of operations that matches the specified filter in the request. - # Corresponds to the JSON property `operations` - # @return [Array] - attr_accessor :operations - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @next_page_token = args[:next_page_token] if args.key?(:next_page_token) - @operations = args[:operations] if args.key?(:operations) - end - end - # Source describes the location of the source in a supported storage # service. class Source @@ -400,6 +80,12 @@ module Google class StorageSource include Google::Apis::Core::Hashable + # Google Cloud Storage generation for the object. If the generation is + # omitted, the latest generation will be used. + # Corresponds to the JSON property `generation` + # @return [Fixnum] + attr_accessor :generation + # Google Cloud Storage bucket containing source (see # [Bucket Name # Requirements](https://cloud.google.com/storage/docs/bucket-naming#requirements) @@ -415,21 +101,15 @@ module Google # @return [String] attr_accessor :object - # Google Cloud Storage generation for the object. If the generation is - # omitted, the latest generation will be used. - # Corresponds to the JSON property `generation` - # @return [String] - attr_accessor :generation - def initialize(**args) update!(**args) end # Update properties of this object def update!(**args) + @generation = args[:generation] if args.key?(:generation) @bucket = args[:bucket] if args.key?(:bucket) @object = args[:object] if args.key?(:object) - @generation = args[:generation] if args.key?(:generation) end end @@ -437,24 +117,24 @@ module Google class Results include Google::Apis::Core::Hashable - # List of build step digests, in order corresponding to build step indices. - # Corresponds to the JSON property `buildStepImages` - # @return [Array] - attr_accessor :build_step_images - # Images that were built as a part of the build. # Corresponds to the JSON property `images` # @return [Array] attr_accessor :images + # List of build step digests, in order corresponding to build step indices. + # Corresponds to the JSON property `buildStepImages` + # @return [Array] + attr_accessor :build_step_images + def initialize(**args) update!(**args) end # Update properties of this object def update!(**args) - @build_step_images = args[:build_step_images] if args.key?(:build_step_images) @images = args[:images] if args.key?(:images) + @build_step_images = args[:build_step_images] if args.key?(:build_step_images) end end @@ -494,6 +174,12 @@ module Google class SourceProvenance include Google::Apis::Core::Hashable + # StorageSource describes the location of the source in an archive file in + # Google Cloud Storage. + # Corresponds to the JSON property `resolvedStorageSource` + # @return [Google::Apis::CloudbuildV1::StorageSource] + attr_accessor :resolved_storage_source + # Hash(es) of the build source, which can be used to verify that the original # source integrity was maintained in the build. Note that FileHashes will # only be populated if BuildOptions has requested a SourceProvenanceHash. @@ -512,21 +198,15 @@ module Google # @return [Google::Apis::CloudbuildV1::RepoSource] attr_accessor :resolved_repo_source - # StorageSource describes the location of the source in an archive file in - # Google Cloud Storage. - # Corresponds to the JSON property `resolvedStorageSource` - # @return [Google::Apis::CloudbuildV1::StorageSource] - attr_accessor :resolved_storage_source - def initialize(**args) update!(**args) end # Update properties of this object def update!(**args) + @resolved_storage_source = args[:resolved_storage_source] if args.key?(:resolved_storage_source) @file_hashes = args[:file_hashes] if args.key?(:file_hashes) @resolved_repo_source = args[:resolved_repo_source] if args.key?(:resolved_repo_source) - @resolved_storage_source = args[:resolved_storage_source] if args.key?(:resolved_storage_source) end end @@ -685,55 +365,22 @@ module Google end end - # RepoSource describes the location of the source in a Google Cloud Source - # Repository. - class RepoSource - include Google::Apis::Core::Hashable - - # ID of the project that owns the repo. If omitted, the project ID requesting - # the build is assumed. - # Corresponds to the JSON property `projectId` - # @return [String] - attr_accessor :project_id - - # Name of the repo. If omitted, the name "default" is assumed. - # Corresponds to the JSON property `repoName` - # @return [String] - attr_accessor :repo_name - - # Name of the branch to build. - # Corresponds to the JSON property `branchName` - # @return [String] - attr_accessor :branch_name - - # Name of the tag to build. - # Corresponds to the JSON property `tagName` - # @return [String] - attr_accessor :tag_name - - # Explicit commit SHA to build. - # Corresponds to the JSON property `commitSha` - # @return [String] - attr_accessor :commit_sha - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @project_id = args[:project_id] if args.key?(:project_id) - @repo_name = args[:repo_name] if args.key?(:repo_name) - @branch_name = args[:branch_name] if args.key?(:branch_name) - @tag_name = args[:tag_name] if args.key?(:tag_name) - @commit_sha = args[:commit_sha] if args.key?(:commit_sha) - end - end - # BuildStep describes a step to perform in the build pipeline. class BuildStep include Google::Apis::Core::Hashable + # Optional entrypoint to be used instead of the build step image's default + # If unset, the image's default will be used. + # Corresponds to the JSON property `entrypoint` + # @return [String] + attr_accessor :entrypoint + + # Optional unique identifier for this build step, used in wait_for to + # reference this build step as a dependency. + # Corresponds to the JSON property `id` + # @return [String] + attr_accessor :id + # Working directory (relative to project source root) to use when running # this operation's container. # Corresponds to the JSON property `dir` @@ -783,17 +430,52 @@ module Google # @return [String] attr_accessor :name - # Optional entrypoint to be used instead of the build step image's default - # If unset, the image's default will be used. - # Corresponds to the JSON property `entrypoint` - # @return [String] - attr_accessor :entrypoint + def initialize(**args) + update!(**args) + end - # Optional unique identifier for this build step, used in wait_for to - # reference this build step as a dependency. - # Corresponds to the JSON property `id` + # Update properties of this object + def update!(**args) + @entrypoint = args[:entrypoint] if args.key?(:entrypoint) + @id = args[:id] if args.key?(:id) + @dir = args[:dir] if args.key?(:dir) + @env = args[:env] if args.key?(:env) + @wait_for = args[:wait_for] if args.key?(:wait_for) + @args = args[:args] if args.key?(:args) + @name = args[:name] if args.key?(:name) + end + end + + # RepoSource describes the location of the source in a Google Cloud Source + # Repository. + class RepoSource + include Google::Apis::Core::Hashable + + # Name of the tag to build. + # Corresponds to the JSON property `tagName` # @return [String] - attr_accessor :id + attr_accessor :tag_name + + # Explicit commit SHA to build. + # Corresponds to the JSON property `commitSha` + # @return [String] + attr_accessor :commit_sha + + # ID of the project that owns the repo. If omitted, the project ID requesting + # the build is assumed. + # Corresponds to the JSON property `projectId` + # @return [String] + attr_accessor :project_id + + # Name of the repo. If omitted, the name "default" is assumed. + # Corresponds to the JSON property `repoName` + # @return [String] + attr_accessor :repo_name + + # Name of the branch to build. + # Corresponds to the JSON property `branchName` + # @return [String] + attr_accessor :branch_name def initialize(**args) update!(**args) @@ -801,13 +483,11 @@ module Google # Update properties of this object def update!(**args) - @dir = args[:dir] if args.key?(:dir) - @env = args[:env] if args.key?(:env) - @wait_for = args[:wait_for] if args.key?(:wait_for) - @args = args[:args] if args.key?(:args) - @name = args[:name] if args.key?(:name) - @entrypoint = args[:entrypoint] if args.key?(:entrypoint) - @id = args[:id] if args.key?(:id) + @tag_name = args[:tag_name] if args.key?(:tag_name) + @commit_sha = args[:commit_sha] if args.key?(:commit_sha) + @project_id = args[:project_id] if args.key?(:project_id) + @repo_name = args[:repo_name] if args.key?(:repo_name) + @branch_name = args[:branch_name] if args.key?(:branch_name) end end @@ -899,11 +579,6 @@ module Google class Status include Google::Apis::Core::Hashable - # The status code, which should be an enum value of google.rpc.Code. - # Corresponds to the JSON property `code` - # @return [Fixnum] - attr_accessor :code - # A developer-facing error message, which should be in English. Any # user-facing error message should be localized and sent in the # google.rpc.Status.details field, or localized by the client. @@ -917,15 +592,340 @@ module Google # @return [Array>] attr_accessor :details + # The status code, which should be an enum value of google.rpc.Code. + # Corresponds to the JSON property `code` + # @return [Fixnum] + attr_accessor :code + def initialize(**args) update!(**args) end # Update properties of this object def update!(**args) - @code = args[:code] if args.key?(:code) @message = args[:message] if args.key?(:message) @details = args[:details] if args.key?(:details) + @code = args[:code] if args.key?(:code) + end + end + + # A generic empty message that you can re-use to avoid defining duplicated + # empty messages in your APIs. A typical example is to use it as the request + # or the response type of an API method. For instance: + # service Foo ` + # rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty); + # ` + # The JSON representation for `Empty` is empty JSON object ````. + class Empty + include Google::Apis::Core::Hashable + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + end + end + + # Configuration for an automated build in response to source repository + # changes. + class BuildTrigger + include Google::Apis::Core::Hashable + + # Unique identifier of the trigger. + # @OutputOnly + # Corresponds to the JSON property `id` + # @return [String] + attr_accessor :id + + # A build resource in the Container Builder API. + # At a high level, a Build describes where to find source code, how to build + # it (for example, the builder image to run on the source), and what tag to + # apply to the built image when it is pushed to Google Container Registry. + # Fields can include the following variables which will be expanded when the + # build is created: + # - $PROJECT_ID: the project ID of the build. + # - $BUILD_ID: the autogenerated ID of the build. + # - $REPO_NAME: the source repository name specified by RepoSource. + # - $BRANCH_NAME: the branch name specified by RepoSource. + # - $TAG_NAME: the tag name specified by RepoSource. + # - $REVISION_ID or $COMMIT_SHA: the commit SHA specified by RepoSource or + # resolved from the specified branch or tag. + # Corresponds to the JSON property `build` + # @return [Google::Apis::CloudbuildV1::Build] + attr_accessor :build + + # Substitutions data for Build resource. + # Corresponds to the JSON property `substitutions` + # @return [Hash] + attr_accessor :substitutions + + # Human-readable description of this trigger. + # Corresponds to the JSON property `description` + # @return [String] + attr_accessor :description + + # If true, the trigger will never result in a build. + # Corresponds to the JSON property `disabled` + # @return [Boolean] + attr_accessor :disabled + alias_method :disabled?, :disabled + + # Time when the trigger was created. + # @OutputOnly + # Corresponds to the JSON property `createTime` + # @return [String] + attr_accessor :create_time + + # RepoSource describes the location of the source in a Google Cloud Source + # Repository. + # Corresponds to the JSON property `triggerTemplate` + # @return [Google::Apis::CloudbuildV1::RepoSource] + attr_accessor :trigger_template + + # Path, from the source root, to a file whose contents is used for the + # template. + # Corresponds to the JSON property `filename` + # @return [String] + attr_accessor :filename + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @id = args[:id] if args.key?(:id) + @build = args[:build] if args.key?(:build) + @substitutions = args[:substitutions] if args.key?(:substitutions) + @description = args[:description] if args.key?(:description) + @disabled = args[:disabled] if args.key?(:disabled) + @create_time = args[:create_time] if args.key?(:create_time) + @trigger_template = args[:trigger_template] if args.key?(:trigger_template) + @filename = args[:filename] if args.key?(:filename) + end + end + + # A build resource in the Container Builder API. + # At a high level, a Build describes where to find source code, how to build + # it (for example, the builder image to run on the source), and what tag to + # apply to the built image when it is pushed to Google Container Registry. + # Fields can include the following variables which will be expanded when the + # build is created: + # - $PROJECT_ID: the project ID of the build. + # - $BUILD_ID: the autogenerated ID of the build. + # - $REPO_NAME: the source repository name specified by RepoSource. + # - $BRANCH_NAME: the branch name specified by RepoSource. + # - $TAG_NAME: the tag name specified by RepoSource. + # - $REVISION_ID or $COMMIT_SHA: the commit SHA specified by RepoSource or + # resolved from the specified branch or tag. + class Build + include Google::Apis::Core::Hashable + + # Google Cloud Storage bucket where logs should be written (see + # [Bucket Name + # Requirements](https://cloud.google.com/storage/docs/bucket-naming#requirements) + # ). + # Logs file names will be of the format `$`logs_bucket`/log-$`build_id`.txt`. + # Corresponds to the JSON property `logsBucket` + # @return [String] + attr_accessor :logs_bucket + + # Results describes the artifacts created by the build pipeline. + # Corresponds to the JSON property `results` + # @return [Google::Apis::CloudbuildV1::Results] + attr_accessor :results + + # Describes the operations to be performed on the workspace. + # Corresponds to the JSON property `steps` + # @return [Array] + attr_accessor :steps + + # The ID of the BuildTrigger that triggered this build, if it was + # triggered automatically. + # @OutputOnly + # Corresponds to the JSON property `buildTriggerId` + # @return [String] + attr_accessor :build_trigger_id + + # Unique identifier of the build. + # @OutputOnly + # Corresponds to the JSON property `id` + # @return [String] + attr_accessor :id + + # Time at which execution of the build was started. + # @OutputOnly + # Corresponds to the JSON property `startTime` + # @return [String] + attr_accessor :start_time + + # Substitutions data for Build resource. + # Corresponds to the JSON property `substitutions` + # @return [Hash] + attr_accessor :substitutions + + # Time at which the request to create the build was received. + # @OutputOnly + # Corresponds to the JSON property `createTime` + # @return [String] + attr_accessor :create_time + + # Provenance of the source. Ways to find the original source, or verify that + # some source was used for this build. + # Corresponds to the JSON property `sourceProvenance` + # @return [Google::Apis::CloudbuildV1::SourceProvenance] + attr_accessor :source_provenance + + # A list of images to be pushed upon the successful completion of all build + # steps. + # The images will be pushed using the builder service account's credentials. + # The digests of the pushed images will be stored in the Build resource's + # results field. + # If any of the images fail to be pushed, the build is marked FAILURE. + # Corresponds to the JSON property `images` + # @return [Array] + attr_accessor :images + + # ID of the project. + # @OutputOnly. + # Corresponds to the JSON property `projectId` + # @return [String] + attr_accessor :project_id + + # Time at which execution of the build was finished. + # The difference between finish_time and start_time is the duration of the + # build's execution. + # @OutputOnly + # Corresponds to the JSON property `finishTime` + # @return [String] + attr_accessor :finish_time + + # URL to logs for this build in Google Cloud Logging. + # @OutputOnly + # Corresponds to the JSON property `logUrl` + # @return [String] + attr_accessor :log_url + + # Optional arguments to enable specific features of builds. + # Corresponds to the JSON property `options` + # @return [Google::Apis::CloudbuildV1::BuildOptions] + attr_accessor :options + + # Source describes the location of the source in a supported storage + # service. + # Corresponds to the JSON property `source` + # @return [Google::Apis::CloudbuildV1::Source] + attr_accessor :source + + # Customer-readable message about the current status. + # @OutputOnly + # Corresponds to the JSON property `statusDetail` + # @return [String] + attr_accessor :status_detail + + # Status of the build. + # @OutputOnly + # Corresponds to the JSON property `status` + # @return [String] + attr_accessor :status + + # Amount of time that this build should be allowed to run, to second + # granularity. If this amount of time elapses, work on the build will cease + # and the build status will be TIMEOUT. + # Default time is ten minutes. + # Corresponds to the JSON property `timeout` + # @return [String] + attr_accessor :timeout + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @logs_bucket = args[:logs_bucket] if args.key?(:logs_bucket) + @results = args[:results] if args.key?(:results) + @steps = args[:steps] if args.key?(:steps) + @build_trigger_id = args[:build_trigger_id] if args.key?(:build_trigger_id) + @id = args[:id] if args.key?(:id) + @start_time = args[:start_time] if args.key?(:start_time) + @substitutions = args[:substitutions] if args.key?(:substitutions) + @create_time = args[:create_time] if args.key?(:create_time) + @source_provenance = args[:source_provenance] if args.key?(:source_provenance) + @images = args[:images] if args.key?(:images) + @project_id = args[:project_id] if args.key?(:project_id) + @finish_time = args[:finish_time] if args.key?(:finish_time) + @log_url = args[:log_url] if args.key?(:log_url) + @options = args[:options] if args.key?(:options) + @source = args[:source] if args.key?(:source) + @status_detail = args[:status_detail] if args.key?(:status_detail) + @status = args[:status] if args.key?(:status) + @timeout = args[:timeout] if args.key?(:timeout) + end + end + + # Request to cancel an ongoing build. + class CancelBuildRequest + include Google::Apis::Core::Hashable + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + end + end + + # Response including listed builds. + class ListBuildsResponse + include Google::Apis::Core::Hashable + + # Token to receive the next page of results. + # Corresponds to the JSON property `nextPageToken` + # @return [String] + attr_accessor :next_page_token + + # Builds will be sorted by create_time, descending. + # Corresponds to the JSON property `builds` + # @return [Array] + attr_accessor :builds + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @next_page_token = args[:next_page_token] if args.key?(:next_page_token) + @builds = args[:builds] if args.key?(:builds) + end + end + + # The response message for Operations.ListOperations. + class ListOperationsResponse + include Google::Apis::Core::Hashable + + # The standard List next-page token. + # Corresponds to the JSON property `nextPageToken` + # @return [String] + attr_accessor :next_page_token + + # A list of operations that matches the specified filter in the request. + # Corresponds to the JSON property `operations` + # @return [Array] + attr_accessor :operations + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @next_page_token = args[:next_page_token] if args.key?(:next_page_token) + @operations = args[:operations] if args.key?(:operations) end end end diff --git a/generated/google/apis/cloudbuild_v1/representations.rb b/generated/google/apis/cloudbuild_v1/representations.rb index adeaaf7a5..160d99100 100644 --- a/generated/google/apis/cloudbuild_v1/representations.rb +++ b/generated/google/apis/cloudbuild_v1/representations.rb @@ -22,42 +22,6 @@ module Google module Apis module CloudbuildV1 - class Empty - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class BuildTrigger - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class Build - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class CancelBuildRequest - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class ListBuildsResponse - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class ListOperationsResponse - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - class Source class Representation < Google::Apis::Core::JsonRepresentation; end @@ -118,13 +82,13 @@ module Google include Google::Apis::Core::JsonObjectSupport end - class RepoSource + class BuildStep class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end - class BuildStep + class RepoSource class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport @@ -149,78 +113,39 @@ module Google end class Empty - # @private - class Representation < Google::Apis::Core::JsonRepresentation - end + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class BuildTrigger - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :disabled, as: 'disabled' - property :create_time, as: 'createTime' - property :trigger_template, as: 'triggerTemplate', class: Google::Apis::CloudbuildV1::RepoSource, decorator: Google::Apis::CloudbuildV1::RepoSource::Representation + class Representation < Google::Apis::Core::JsonRepresentation; end - property :filename, as: 'filename' - property :id, as: 'id' - property :build, as: 'build', class: Google::Apis::CloudbuildV1::Build, decorator: Google::Apis::CloudbuildV1::Build::Representation - - hash :substitutions, as: 'substitutions' - property :description, as: 'description' - end + include Google::Apis::Core::JsonObjectSupport end class Build - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :options, as: 'options', class: Google::Apis::CloudbuildV1::BuildOptions, decorator: Google::Apis::CloudbuildV1::BuildOptions::Representation + class Representation < Google::Apis::Core::JsonRepresentation; end - property :source, as: 'source', class: Google::Apis::CloudbuildV1::Source, decorator: Google::Apis::CloudbuildV1::Source::Representation - - property :status_detail, as: 'statusDetail' - property :status, as: 'status' - property :timeout, as: 'timeout' - property :logs_bucket, as: 'logsBucket' - property :results, as: 'results', class: Google::Apis::CloudbuildV1::Results, decorator: Google::Apis::CloudbuildV1::Results::Representation - - collection :steps, as: 'steps', class: Google::Apis::CloudbuildV1::BuildStep, decorator: Google::Apis::CloudbuildV1::BuildStep::Representation - - property :build_trigger_id, as: 'buildTriggerId' - property :id, as: 'id' - property :start_time, as: 'startTime' - hash :substitutions, as: 'substitutions' - property :create_time, as: 'createTime' - property :source_provenance, as: 'sourceProvenance', class: Google::Apis::CloudbuildV1::SourceProvenance, decorator: Google::Apis::CloudbuildV1::SourceProvenance::Representation - - collection :images, as: 'images' - property :project_id, as: 'projectId' - property :finish_time, as: 'finishTime' - property :log_url, as: 'logUrl' - end + include Google::Apis::Core::JsonObjectSupport end class CancelBuildRequest - # @private - class Representation < Google::Apis::Core::JsonRepresentation - end + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class ListBuildsResponse - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :next_page_token, as: 'nextPageToken' - collection :builds, as: 'builds', class: Google::Apis::CloudbuildV1::Build, decorator: Google::Apis::CloudbuildV1::Build::Representation + class Representation < Google::Apis::Core::JsonRepresentation; end - end + include Google::Apis::Core::JsonObjectSupport end class ListOperationsResponse - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :next_page_token, as: 'nextPageToken' - collection :operations, as: 'operations', class: Google::Apis::CloudbuildV1::Operation, decorator: Google::Apis::CloudbuildV1::Operation::Representation + class Representation < Google::Apis::Core::JsonRepresentation; end - end + include Google::Apis::Core::JsonObjectSupport end class Source @@ -244,18 +169,18 @@ module Google class StorageSource # @private class Representation < Google::Apis::Core::JsonRepresentation + property :generation, :numeric_string => true, as: 'generation' property :bucket, as: 'bucket' property :object, as: 'object' - property :generation, as: 'generation' end end class Results # @private class Representation < Google::Apis::Core::JsonRepresentation - collection :build_step_images, as: 'buildStepImages' collection :images, as: 'images', class: Google::Apis::CloudbuildV1::BuiltImage, decorator: Google::Apis::CloudbuildV1::BuiltImage::Representation + collection :build_step_images, as: 'buildStepImages' end end @@ -270,12 +195,12 @@ module Google class SourceProvenance # @private class Representation < Google::Apis::Core::JsonRepresentation + property :resolved_storage_source, as: 'resolvedStorageSource', class: Google::Apis::CloudbuildV1::StorageSource, decorator: Google::Apis::CloudbuildV1::StorageSource::Representation + hash :file_hashes, as: 'fileHashes', class: Google::Apis::CloudbuildV1::FileHashes, decorator: Google::Apis::CloudbuildV1::FileHashes::Representation property :resolved_repo_source, as: 'resolvedRepoSource', class: Google::Apis::CloudbuildV1::RepoSource, decorator: Google::Apis::CloudbuildV1::RepoSource::Representation - property :resolved_storage_source, as: 'resolvedStorageSource', class: Google::Apis::CloudbuildV1::StorageSource, decorator: Google::Apis::CloudbuildV1::StorageSource::Representation - end end @@ -313,27 +238,27 @@ module Google end end - class RepoSource - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :project_id, as: 'projectId' - property :repo_name, as: 'repoName' - property :branch_name, as: 'branchName' - property :tag_name, as: 'tagName' - property :commit_sha, as: 'commitSha' - end - end - class BuildStep # @private class Representation < Google::Apis::Core::JsonRepresentation + property :entrypoint, as: 'entrypoint' + property :id, as: 'id' property :dir, as: 'dir' collection :env, as: 'env' collection :wait_for, as: 'waitFor' collection :args, as: 'args' property :name, as: 'name' - property :entrypoint, as: 'entrypoint' - property :id, as: 'id' + end + end + + class RepoSource + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :tag_name, as: 'tagName' + property :commit_sha, as: 'commitSha' + property :project_id, as: 'projectId' + property :repo_name, as: 'repoName' + property :branch_name, as: 'branchName' end end @@ -356,9 +281,84 @@ module Google class Status # @private class Representation < Google::Apis::Core::JsonRepresentation - property :code, as: 'code' property :message, as: 'message' collection :details, as: 'details' + property :code, as: 'code' + end + end + + class Empty + # @private + class Representation < Google::Apis::Core::JsonRepresentation + end + end + + class BuildTrigger + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :id, as: 'id' + property :build, as: 'build', class: Google::Apis::CloudbuildV1::Build, decorator: Google::Apis::CloudbuildV1::Build::Representation + + hash :substitutions, as: 'substitutions' + property :description, as: 'description' + property :disabled, as: 'disabled' + property :create_time, as: 'createTime' + property :trigger_template, as: 'triggerTemplate', class: Google::Apis::CloudbuildV1::RepoSource, decorator: Google::Apis::CloudbuildV1::RepoSource::Representation + + property :filename, as: 'filename' + end + end + + class Build + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :logs_bucket, as: 'logsBucket' + property :results, as: 'results', class: Google::Apis::CloudbuildV1::Results, decorator: Google::Apis::CloudbuildV1::Results::Representation + + collection :steps, as: 'steps', class: Google::Apis::CloudbuildV1::BuildStep, decorator: Google::Apis::CloudbuildV1::BuildStep::Representation + + property :build_trigger_id, as: 'buildTriggerId' + property :id, as: 'id' + property :start_time, as: 'startTime' + hash :substitutions, as: 'substitutions' + property :create_time, as: 'createTime' + property :source_provenance, as: 'sourceProvenance', class: Google::Apis::CloudbuildV1::SourceProvenance, decorator: Google::Apis::CloudbuildV1::SourceProvenance::Representation + + collection :images, as: 'images' + property :project_id, as: 'projectId' + property :finish_time, as: 'finishTime' + property :log_url, as: 'logUrl' + property :options, as: 'options', class: Google::Apis::CloudbuildV1::BuildOptions, decorator: Google::Apis::CloudbuildV1::BuildOptions::Representation + + property :source, as: 'source', class: Google::Apis::CloudbuildV1::Source, decorator: Google::Apis::CloudbuildV1::Source::Representation + + property :status_detail, as: 'statusDetail' + property :status, as: 'status' + property :timeout, as: 'timeout' + end + end + + class CancelBuildRequest + # @private + class Representation < Google::Apis::Core::JsonRepresentation + end + end + + class ListBuildsResponse + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :next_page_token, as: 'nextPageToken' + collection :builds, as: 'builds', class: Google::Apis::CloudbuildV1::Build, decorator: Google::Apis::CloudbuildV1::Build::Representation + + end + end + + class ListOperationsResponse + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :next_page_token, as: 'nextPageToken' + collection :operations, as: 'operations', class: Google::Apis::CloudbuildV1::Operation, decorator: Google::Apis::CloudbuildV1::Operation::Representation + end end end diff --git a/generated/google/apis/cloudbuild_v1/service.rb b/generated/google/apis/cloudbuild_v1/service.rb index ac333aa2a..4b87e13b4 100644 --- a/generated/google/apis/cloudbuild_v1/service.rb +++ b/generated/google/apis/cloudbuild_v1/service.rb @@ -44,15 +44,15 @@ module Google def initialize super('https://cloudbuild.googleapis.com/', '') + @batch_path = 'batch' end - # Returns information about a previously requested build. - # The Build that is returned includes its status (e.g., success or failure, - # or in-progress), and timing information. + # Deletes an BuildTrigger by its project ID and trigger ID. + # This API is experimental. # @param [String] project_id - # ID of the project. - # @param [String] id - # ID of the build. + # ID of the project that owns the trigger. + # @param [String] trigger_id + # ID of the BuildTrigger to delete. # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user @@ -62,133 +62,20 @@ module Google # Request-specific options # # @yield [result, err] Result & error if block supplied - # @yieldparam result [Google::Apis::CloudbuildV1::Build] parsed result object + # @yieldparam result [Google::Apis::CloudbuildV1::Empty] parsed result object # @yieldparam err [StandardError] error object if request failed # - # @return [Google::Apis::CloudbuildV1::Build] + # @return [Google::Apis::CloudbuildV1::Empty] # # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required - def get_project_build(project_id, id, fields: nil, quota_user: nil, options: nil, &block) - command = make_simple_command(:get, 'v1/projects/{projectId}/builds/{id}', options) - command.response_representation = Google::Apis::CloudbuildV1::Build::Representation - command.response_class = Google::Apis::CloudbuildV1::Build + def delete_project_trigger(project_id, trigger_id, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:delete, 'v1/projects/{projectId}/triggers/{triggerId}', options) + command.response_representation = Google::Apis::CloudbuildV1::Empty::Representation + command.response_class = Google::Apis::CloudbuildV1::Empty command.params['projectId'] = project_id unless project_id.nil? - command.params['id'] = id unless id.nil? - command.query['fields'] = fields unless fields.nil? - command.query['quotaUser'] = quota_user unless quota_user.nil? - execute_or_queue_command(command, &block) - end - - # Lists previously requested builds. - # Previously requested builds may still be in-progress, or may have finished - # successfully or unsuccessfully. - # @param [String] project_id - # ID of the project. - # @param [Fixnum] page_size - # Number of results to return in the list. - # @param [String] filter - # The raw filter text to constrain the results. - # @param [String] page_token - # Token to provide to skip to a particular spot in the list. - # @param [String] fields - # Selector specifying which fields to include in a partial response. - # @param [String] quota_user - # Available to use for quota purposes for server-side applications. Can be any - # arbitrary string assigned to a user, but should not exceed 40 characters. - # @param [Google::Apis::RequestOptions] options - # Request-specific options - # - # @yield [result, err] Result & error if block supplied - # @yieldparam result [Google::Apis::CloudbuildV1::ListBuildsResponse] parsed result object - # @yieldparam err [StandardError] error object if request failed - # - # @return [Google::Apis::CloudbuildV1::ListBuildsResponse] - # - # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried - # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification - # @raise [Google::Apis::AuthorizationError] Authorization is required - def list_project_builds(project_id, page_size: nil, filter: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block) - command = make_simple_command(:get, 'v1/projects/{projectId}/builds', options) - command.response_representation = Google::Apis::CloudbuildV1::ListBuildsResponse::Representation - command.response_class = Google::Apis::CloudbuildV1::ListBuildsResponse - command.params['projectId'] = project_id unless project_id.nil? - command.query['pageSize'] = page_size unless page_size.nil? - command.query['filter'] = filter unless filter.nil? - command.query['pageToken'] = page_token unless page_token.nil? - command.query['fields'] = fields unless fields.nil? - command.query['quotaUser'] = quota_user unless quota_user.nil? - execute_or_queue_command(command, &block) - end - - # Starts a build with the specified configuration. - # The long-running Operation returned by this method will include the ID of - # the build, which can be passed to GetBuild to determine its status (e.g., - # success or failure). - # @param [String] project_id - # ID of the project. - # @param [Google::Apis::CloudbuildV1::Build] build_object - # @param [String] fields - # Selector specifying which fields to include in a partial response. - # @param [String] quota_user - # Available to use for quota purposes for server-side applications. Can be any - # arbitrary string assigned to a user, but should not exceed 40 characters. - # @param [Google::Apis::RequestOptions] options - # Request-specific options - # - # @yield [result, err] Result & error if block supplied - # @yieldparam result [Google::Apis::CloudbuildV1::Operation] parsed result object - # @yieldparam err [StandardError] error object if request failed - # - # @return [Google::Apis::CloudbuildV1::Operation] - # - # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried - # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification - # @raise [Google::Apis::AuthorizationError] Authorization is required - def create_project_build(project_id, build_object = nil, fields: nil, quota_user: nil, options: nil, &block) - command = make_simple_command(:post, 'v1/projects/{projectId}/builds', options) - command.request_representation = Google::Apis::CloudbuildV1::Build::Representation - command.request_object = build_object - command.response_representation = Google::Apis::CloudbuildV1::Operation::Representation - command.response_class = Google::Apis::CloudbuildV1::Operation - command.params['projectId'] = project_id unless project_id.nil? - command.query['fields'] = fields unless fields.nil? - command.query['quotaUser'] = quota_user unless quota_user.nil? - execute_or_queue_command(command, &block) - end - - # Cancels a requested build in progress. - # @param [String] project_id - # ID of the project. - # @param [String] id - # ID of the build. - # @param [Google::Apis::CloudbuildV1::CancelBuildRequest] cancel_build_request_object - # @param [String] fields - # Selector specifying which fields to include in a partial response. - # @param [String] quota_user - # Available to use for quota purposes for server-side applications. Can be any - # arbitrary string assigned to a user, but should not exceed 40 characters. - # @param [Google::Apis::RequestOptions] options - # Request-specific options - # - # @yield [result, err] Result & error if block supplied - # @yieldparam result [Google::Apis::CloudbuildV1::Build] parsed result object - # @yieldparam err [StandardError] error object if request failed - # - # @return [Google::Apis::CloudbuildV1::Build] - # - # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried - # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification - # @raise [Google::Apis::AuthorizationError] Authorization is required - def cancel_build(project_id, id, cancel_build_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) - command = make_simple_command(:post, 'v1/projects/{projectId}/builds/{id}:cancel', options) - command.request_representation = Google::Apis::CloudbuildV1::CancelBuildRequest::Representation - command.request_object = cancel_build_request_object - command.response_representation = Google::Apis::CloudbuildV1::Build::Representation - command.response_class = Google::Apis::CloudbuildV1::Build - command.params['projectId'] = project_id unless project_id.nil? - command.params['id'] = id unless id.nil? + command.params['triggerId'] = trigger_id unless trigger_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) @@ -330,12 +217,12 @@ module Google execute_or_queue_command(command, &block) end - # Deletes an BuildTrigger by its project ID and trigger ID. - # This API is experimental. + # Cancels a requested build in progress. # @param [String] project_id - # ID of the project that owns the trigger. - # @param [String] trigger_id - # ID of the BuildTrigger to delete. + # ID of the project. + # @param [String] id + # ID of the build. + # @param [Google::Apis::CloudbuildV1::CancelBuildRequest] cancel_build_request_object # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user @@ -345,37 +232,34 @@ module Google # Request-specific options # # @yield [result, err] Result & error if block supplied - # @yieldparam result [Google::Apis::CloudbuildV1::Empty] parsed result object + # @yieldparam result [Google::Apis::CloudbuildV1::Build] parsed result object # @yieldparam err [StandardError] error object if request failed # - # @return [Google::Apis::CloudbuildV1::Empty] + # @return [Google::Apis::CloudbuildV1::Build] # # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required - def delete_project_trigger(project_id, trigger_id, fields: nil, quota_user: nil, options: nil, &block) - command = make_simple_command(:delete, 'v1/projects/{projectId}/triggers/{triggerId}', options) - command.response_representation = Google::Apis::CloudbuildV1::Empty::Representation - command.response_class = Google::Apis::CloudbuildV1::Empty + def cancel_build(project_id, id, cancel_build_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:post, 'v1/projects/{projectId}/builds/{id}:cancel', options) + command.request_representation = Google::Apis::CloudbuildV1::CancelBuildRequest::Representation + command.request_object = cancel_build_request_object + command.response_representation = Google::Apis::CloudbuildV1::Build::Representation + command.response_class = Google::Apis::CloudbuildV1::Build command.params['projectId'] = project_id unless project_id.nil? - command.params['triggerId'] = trigger_id unless trigger_id.nil? + command.params['id'] = id unless id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end - # Lists operations that match the specified filter in the request. If the - # server doesn't support this method, it returns `UNIMPLEMENTED`. - # NOTE: the `name` binding below allows API services to override the binding - # to use different resource name schemes, such as `users/*/operations`. - # @param [String] name - # The name of the operation collection. - # @param [Fixnum] page_size - # The standard list page size. - # @param [String] filter - # The standard list filter. - # @param [String] page_token - # The standard list page token. + # Returns information about a previously requested build. + # The Build that is returned includes its status (e.g., success or failure, + # or in-progress), and timing information. + # @param [String] project_id + # ID of the project. + # @param [String] id + # ID of the build. # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user @@ -385,32 +269,73 @@ module Google # Request-specific options # # @yield [result, err] Result & error if block supplied - # @yieldparam result [Google::Apis::CloudbuildV1::ListOperationsResponse] parsed result object + # @yieldparam result [Google::Apis::CloudbuildV1::Build] parsed result object # @yieldparam err [StandardError] error object if request failed # - # @return [Google::Apis::CloudbuildV1::ListOperationsResponse] + # @return [Google::Apis::CloudbuildV1::Build] # # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required - def list_operations(name, page_size: nil, filter: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block) - command = make_simple_command(:get, 'v1/{+name}', options) - command.response_representation = Google::Apis::CloudbuildV1::ListOperationsResponse::Representation - command.response_class = Google::Apis::CloudbuildV1::ListOperationsResponse - command.params['name'] = name unless name.nil? + def get_project_build(project_id, id, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:get, 'v1/projects/{projectId}/builds/{id}', options) + command.response_representation = Google::Apis::CloudbuildV1::Build::Representation + command.response_class = Google::Apis::CloudbuildV1::Build + command.params['projectId'] = project_id unless project_id.nil? + command.params['id'] = id unless id.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + execute_or_queue_command(command, &block) + end + + # Lists previously requested builds. + # Previously requested builds may still be in-progress, or may have finished + # successfully or unsuccessfully. + # @param [String] project_id + # ID of the project. + # @param [String] page_token + # Token to provide to skip to a particular spot in the list. + # @param [Fixnum] page_size + # Number of results to return in the list. + # @param [String] filter + # The raw filter text to constrain the results. + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # Available to use for quota purposes for server-side applications. Can be any + # arbitrary string assigned to a user, but should not exceed 40 characters. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::CloudbuildV1::ListBuildsResponse] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::CloudbuildV1::ListBuildsResponse] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def list_project_builds(project_id, page_token: nil, page_size: nil, filter: nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:get, 'v1/projects/{projectId}/builds', options) + command.response_representation = Google::Apis::CloudbuildV1::ListBuildsResponse::Representation + command.response_class = Google::Apis::CloudbuildV1::ListBuildsResponse + command.params['projectId'] = project_id unless project_id.nil? + command.query['pageToken'] = page_token unless page_token.nil? command.query['pageSize'] = page_size unless page_size.nil? command.query['filter'] = filter unless filter.nil? - command.query['pageToken'] = page_token unless page_token.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end - # Gets the latest state of a long-running operation. Clients can use this - # method to poll the operation result at intervals as recommended by the API - # service. - # @param [String] name - # The name of the operation resource. + # Starts a build with the specified configuration. + # The long-running Operation returned by this method will include the ID of + # the build, which can be passed to GetBuild to determine its status (e.g., + # success or failure). + # @param [String] project_id + # ID of the project. + # @param [Google::Apis::CloudbuildV1::Build] build_object # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user @@ -428,11 +353,13 @@ module Google # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required - def get_operation(name, fields: nil, quota_user: nil, options: nil, &block) - command = make_simple_command(:get, 'v1/{+name}', options) + def create_project_build(project_id, build_object = nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:post, 'v1/projects/{projectId}/builds', options) + command.request_representation = Google::Apis::CloudbuildV1::Build::Representation + command.request_object = build_object command.response_representation = Google::Apis::CloudbuildV1::Operation::Representation command.response_class = Google::Apis::CloudbuildV1::Operation - command.params['name'] = name unless name.nil? + command.params['projectId'] = project_id unless project_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) @@ -479,6 +406,80 @@ module Google command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end + + # Lists operations that match the specified filter in the request. If the + # server doesn't support this method, it returns `UNIMPLEMENTED`. + # NOTE: the `name` binding below allows API services to override the binding + # to use different resource name schemes, such as `users/*/operations`. + # @param [String] name + # The name of the operation collection. + # @param [String] page_token + # The standard list page token. + # @param [Fixnum] page_size + # The standard list page size. + # @param [String] filter + # The standard list filter. + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # Available to use for quota purposes for server-side applications. Can be any + # arbitrary string assigned to a user, but should not exceed 40 characters. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::CloudbuildV1::ListOperationsResponse] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::CloudbuildV1::ListOperationsResponse] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def list_operations(name, page_token: nil, page_size: nil, filter: nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:get, 'v1/{+name}', options) + command.response_representation = Google::Apis::CloudbuildV1::ListOperationsResponse::Representation + command.response_class = Google::Apis::CloudbuildV1::ListOperationsResponse + command.params['name'] = name unless name.nil? + command.query['pageToken'] = page_token unless page_token.nil? + command.query['pageSize'] = page_size unless page_size.nil? + command.query['filter'] = filter unless filter.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + execute_or_queue_command(command, &block) + end + + # Gets the latest state of a long-running operation. Clients can use this + # method to poll the operation result at intervals as recommended by the API + # service. + # @param [String] name + # The name of the operation resource. + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # Available to use for quota purposes for server-side applications. Can be any + # arbitrary string assigned to a user, but should not exceed 40 characters. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::CloudbuildV1::Operation] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::CloudbuildV1::Operation] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def get_operation(name, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:get, 'v1/{+name}', options) + command.response_representation = Google::Apis::CloudbuildV1::Operation::Representation + command.response_class = Google::Apis::CloudbuildV1::Operation + command.params['name'] = name unless name.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + execute_or_queue_command(command, &block) + end protected diff --git a/generated/google/apis/clouddebugger_v2/classes.rb b/generated/google/apis/clouddebugger_v2/classes.rb index 0eaa44ad1..fbd26b058 100644 --- a/generated/google/apis/clouddebugger_v2/classes.rb +++ b/generated/google/apis/clouddebugger_v2/classes.rb @@ -22,6 +22,266 @@ module Google module Apis module ClouddebuggerV2 + # Response for listing debuggees. + class ListDebuggeesResponse + include Google::Apis::Core::Hashable + + # List of debuggees accessible to the calling user. + # Note that the `description` field is the only human readable field + # that should be displayed to the user. + # The fields `debuggee.id` and `description` fields are guaranteed to be + # set on each debuggee. + # Corresponds to the JSON property `debuggees` + # @return [Array] + attr_accessor :debuggees + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @debuggees = args[:debuggees] if args.key?(:debuggees) + end + end + + # An alias to a repo revision. + class AliasContext + include Google::Apis::Core::Hashable + + # The alias name. + # Corresponds to the JSON property `name` + # @return [String] + attr_accessor :name + + # The alias kind. + # Corresponds to the JSON property `kind` + # @return [String] + attr_accessor :kind + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @name = args[:name] if args.key?(:name) + @kind = args[:kind] if args.key?(:kind) + end + end + + # A generic empty message that you can re-use to avoid defining duplicated + # empty messages in your APIs. A typical example is to use it as the request + # or the response type of an API method. For instance: + # service Foo ` + # rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty); + # ` + # The JSON representation for `Empty` is empty JSON object ````. + class Empty + include Google::Apis::Core::Hashable + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + end + end + + # Represents a location in the source code. + class SourceLocation + include Google::Apis::Core::Hashable + + # Line inside the file. The first line in the file has the value `1`. + # Corresponds to the JSON property `line` + # @return [Fixnum] + attr_accessor :line + + # Path to the source file within the source context of the target binary. + # Corresponds to the JSON property `path` + # @return [String] + attr_accessor :path + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @line = args[:line] if args.key?(:line) + @path = args[:path] if args.key?(:path) + end + end + + # Represents the application to debug. The application may include one or more + # replicated processes executing the same code. Each of these processes is + # attached with a debugger agent, carrying out the debugging commands. + # The agents attached to the same debuggee are identified by using exactly the + # same field values when registering. + class Debuggee + include Google::Apis::Core::Hashable + + # References to the locations and revisions of the source code used in the + # deployed application. + # Contexts describing a remote repo related to the source code + # have a `category` label of `remote_repo`. Source snapshot source + # contexts have a `category` of `snapshot`. + # Corresponds to the JSON property `extSourceContexts` + # @return [Array] + attr_accessor :ext_source_contexts + + # A set of custom debuggee properties, populated by the agent, to be + # displayed to the user. + # Corresponds to the JSON property `labels` + # @return [Hash] + attr_accessor :labels + + # Represents a contextual status message. + # The message can indicate an error or informational status, and refer to + # specific parts of the containing object. + # For example, the `Breakpoint.status` field can indicate an error referring + # to the `BREAKPOINT_SOURCE_LOCATION` with the message `Location not found`. + # Corresponds to the JSON property `status` + # @return [Google::Apis::ClouddebuggerV2::StatusMessage] + attr_accessor :status + + # If set to `true`, indicates that the debuggee is considered as inactive by + # the Controller service. + # Corresponds to the JSON property `isInactive` + # @return [Boolean] + attr_accessor :is_inactive + alias_method :is_inactive?, :is_inactive + + # Project the debuggee is associated with. + # Use the project number when registering a Google Cloud Platform project. + # Corresponds to the JSON property `project` + # @return [String] + attr_accessor :project + + # Unique identifier for the debuggee generated by the controller service. + # Corresponds to the JSON property `id` + # @return [String] + attr_accessor :id + + # Version ID of the agent release. The version ID is structured as + # following: `domain/type/vmajor.minor` (for example + # `google.com/gcp-java/v1.1`). + # Corresponds to the JSON property `agentVersion` + # @return [String] + attr_accessor :agent_version + + # If set to `true`, indicates that the agent should disable itself and + # detach from the debuggee. + # Corresponds to the JSON property `isDisabled` + # @return [Boolean] + attr_accessor :is_disabled + alias_method :is_disabled?, :is_disabled + + # Human readable description of the debuggee. + # Including a human-readable project name, environment name and version + # information is recommended. + # Corresponds to the JSON property `description` + # @return [String] + attr_accessor :description + + # Debuggee uniquifier within the project. + # Any string that identifies the application within the project can be used. + # Including environment and version or build IDs is recommended. + # Corresponds to the JSON property `uniquifier` + # @return [String] + attr_accessor :uniquifier + + # References to the locations and revisions of the source code used in the + # deployed application. + # NOTE: This field is deprecated. Consumers should use + # `ext_source_contexts` if it is not empty. Debug agents should populate + # both this field and `ext_source_contexts`. + # Corresponds to the JSON property `sourceContexts` + # @return [Array] + attr_accessor :source_contexts + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @ext_source_contexts = args[:ext_source_contexts] if args.key?(:ext_source_contexts) + @labels = args[:labels] if args.key?(:labels) + @status = args[:status] if args.key?(:status) + @is_inactive = args[:is_inactive] if args.key?(:is_inactive) + @project = args[:project] if args.key?(:project) + @id = args[:id] if args.key?(:id) + @agent_version = args[:agent_version] if args.key?(:agent_version) + @is_disabled = args[:is_disabled] if args.key?(:is_disabled) + @description = args[:description] if args.key?(:description) + @uniquifier = args[:uniquifier] if args.key?(:uniquifier) + @source_contexts = args[:source_contexts] if args.key?(:source_contexts) + end + end + + # Selects a repo using a Google Cloud Platform project ID + # (e.g. winged-cargo-31) and a repo name within that project. + class ProjectRepoId + include Google::Apis::Core::Hashable + + # The ID of the project. + # Corresponds to the JSON property `projectId` + # @return [String] + attr_accessor :project_id + + # The name of the repo. Leave empty for the default repo. + # Corresponds to the JSON property `repoName` + # @return [String] + attr_accessor :repo_name + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @project_id = args[:project_id] if args.key?(:project_id) + @repo_name = args[:repo_name] if args.key?(:repo_name) + end + end + + # Response for listing active breakpoints. + class ListActiveBreakpointsResponse + include Google::Apis::Core::Hashable + + # List of all active breakpoints. + # The fields `id` and `location` are guaranteed to be set on each breakpoint. + # Corresponds to the JSON property `breakpoints` + # @return [Array] + attr_accessor :breakpoints + + # The `wait_expired` field is set to true by the server when the + # request times out and the field `success_on_timeout` is set to true. + # Corresponds to the JSON property `waitExpired` + # @return [Boolean] + attr_accessor :wait_expired + alias_method :wait_expired?, :wait_expired + + # A wait token that can be used in the next method call to block until + # the list of breakpoints changes. + # Corresponds to the JSON property `nextWaitToken` + # @return [String] + attr_accessor :next_wait_token + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @breakpoints = args[:breakpoints] if args.key?(:breakpoints) + @wait_expired = args[:wait_expired] if args.key?(:wait_expired) + @next_wait_token = args[:next_wait_token] if args.key?(:next_wait_token) + end + end + # A CloudWorkspaceSourceContext denotes a workspace at a particular snapshot. class CloudWorkspaceSourceContext include Google::Apis::Core::Hashable @@ -68,18 +328,6 @@ module Google class GerritSourceContext include Google::Apis::Core::Hashable - # The full project name within the host. Projects may be nested, so - # "project/subproject" is a valid project name. - # The "repo name" is hostURI/project. - # Corresponds to the JSON property `gerritProject` - # @return [String] - attr_accessor :gerrit_project - - # An alias to a repo revision. - # Corresponds to the JSON property `aliasContext` - # @return [Google::Apis::ClouddebuggerV2::AliasContext] - attr_accessor :alias_context - # The URI of a running Gerrit instance. # Corresponds to the JSON property `hostUri` # @return [String] @@ -95,17 +343,29 @@ module Google # @return [String] attr_accessor :alias_name + # The full project name within the host. Projects may be nested, so + # "project/subproject" is a valid project name. + # The "repo name" is hostURI/project. + # Corresponds to the JSON property `gerritProject` + # @return [String] + attr_accessor :gerrit_project + + # An alias to a repo revision. + # Corresponds to the JSON property `aliasContext` + # @return [Google::Apis::ClouddebuggerV2::AliasContext] + attr_accessor :alias_context + def initialize(**args) update!(**args) end # Update properties of this object def update!(**args) - @gerrit_project = args[:gerrit_project] if args.key?(:gerrit_project) - @alias_context = args[:alias_context] if args.key?(:alias_context) @host_uri = args[:host_uri] if args.key?(:host_uri) @revision_id = args[:revision_id] if args.key?(:revision_id) @alias_name = args[:alias_name] if args.key?(:alias_name) + @gerrit_project = args[:gerrit_project] if args.key?(:gerrit_project) + @alias_context = args[:alias_context] if args.key?(:alias_context) end end @@ -115,25 +375,25 @@ module Google class CloudWorkspaceId include Google::Apis::Core::Hashable + # A unique identifier for a cloud repo. + # Corresponds to the JSON property `repoId` + # @return [Google::Apis::ClouddebuggerV2::RepoId] + attr_accessor :repo_id + # The unique name of the workspace within the repo. This is the name # chosen by the client in the Source API's CreateWorkspace method. # Corresponds to the JSON property `name` # @return [String] attr_accessor :name - # A unique identifier for a cloud repo. - # Corresponds to the JSON property `repoId` - # @return [Google::Apis::ClouddebuggerV2::RepoId] - attr_accessor :repo_id - def initialize(**args) update!(**args) end # Update properties of this object def update!(**args) - @name = args[:name] if args.key?(:name) @repo_id = args[:repo_id] if args.key?(:repo_id) + @name = args[:name] if args.key?(:name) end end @@ -170,22 +430,6 @@ module Google class Breakpoint include Google::Apis::Core::Hashable - # Breakpoint identifier, unique in the scope of the debuggee. - # Corresponds to the JSON property `id` - # @return [String] - attr_accessor :id - - # Represents a location in the source code. - # Corresponds to the JSON property `location` - # @return [Google::Apis::ClouddebuggerV2::SourceLocation] - attr_accessor :location - - # Time this breakpoint was finalized as seen by the server in seconds - # resolution. - # Corresponds to the JSON property `finalTime` - # @return [String] - attr_accessor :final_time - # The `variable_table` exists to aid with computation, memory and network # traffic optimization. It enables storing a variable once and reference # it from multiple variables, including variables stored in the @@ -286,15 +530,28 @@ module Google # @return [String] attr_accessor :log_level + # Breakpoint identifier, unique in the scope of the debuggee. + # Corresponds to the JSON property `id` + # @return [String] + attr_accessor :id + + # Represents a location in the source code. + # Corresponds to the JSON property `location` + # @return [Google::Apis::ClouddebuggerV2::SourceLocation] + attr_accessor :location + + # Time this breakpoint was finalized as seen by the server in seconds + # resolution. + # Corresponds to the JSON property `finalTime` + # @return [String] + attr_accessor :final_time + def initialize(**args) update!(**args) end # Update properties of this object def update!(**args) - @id = args[:id] if args.key?(:id) - @location = args[:location] if args.key?(:location) - @final_time = args[:final_time] if args.key?(:final_time) @variable_table = args[:variable_table] if args.key?(:variable_table) @create_time = args[:create_time] if args.key?(:create_time) @log_message_format = args[:log_message_format] if args.key?(:log_message_format) @@ -308,6 +565,9 @@ module Google @user_email = args[:user_email] if args.key?(:user_email) @action = args[:action] if args.key?(:action) @log_level = args[:log_level] if args.key?(:log_level) + @id = args[:id] if args.key?(:id) + @location = args[:location] if args.key?(:location) + @final_time = args[:final_time] if args.key?(:final_time) end end @@ -354,6 +614,12 @@ module Google class SourceContext include Google::Apis::Core::Hashable + # A GitSourceContext denotes a particular revision in a third party Git + # repository (e.g. GitHub). + # Corresponds to the JSON property `git` + # @return [Google::Apis::ClouddebuggerV2::GitSourceContext] + attr_accessor :git + # A SourceContext referring to a Gerrit project. # Corresponds to the JSON property `gerrit` # @return [Google::Apis::ClouddebuggerV2::GerritSourceContext] @@ -370,22 +636,16 @@ module Google # @return [Google::Apis::ClouddebuggerV2::CloudWorkspaceSourceContext] attr_accessor :cloud_workspace - # A GitSourceContext denotes a particular revision in a third party Git - # repository (e.g. GitHub). - # Corresponds to the JSON property `git` - # @return [Google::Apis::ClouddebuggerV2::GitSourceContext] - attr_accessor :git - def initialize(**args) update!(**args) end # Update properties of this object def update!(**args) + @git = args[:git] if args.key?(:git) @gerrit = args[:gerrit] if args.key?(:gerrit) @cloud_repo = args[:cloud_repo] if args.key?(:cloud_repo) @cloud_workspace = args[:cloud_workspace] if args.key?(:cloud_workspace) - @git = args[:git] if args.key?(:git) end end @@ -394,11 +654,6 @@ module Google class CloudRepoSourceContext include Google::Apis::Core::Hashable - # An alias to a repo revision. - # Corresponds to the JSON property `aliasContext` - # @return [Google::Apis::ClouddebuggerV2::AliasContext] - attr_accessor :alias_context - # A revision ID. # Corresponds to the JSON property `revisionId` # @return [String] @@ -414,16 +669,21 @@ module Google # @return [Google::Apis::ClouddebuggerV2::RepoId] attr_accessor :repo_id + # An alias to a repo revision. + # Corresponds to the JSON property `aliasContext` + # @return [Google::Apis::ClouddebuggerV2::AliasContext] + attr_accessor :alias_context + def initialize(**args) update!(**args) end # Update properties of this object def update!(**args) - @alias_context = args[:alias_context] if args.key?(:alias_context) @revision_id = args[:revision_id] if args.key?(:revision_id) @alias_name = args[:alias_name] if args.key?(:alias_name) @repo_id = args[:repo_id] if args.key?(:repo_id) + @alias_context = args[:alias_context] if args.key?(:alias_context) end end @@ -698,11 +958,6 @@ module Google class StackFrame include Google::Apis::Core::Hashable - # Demangled function name at the call site. - # Corresponds to the JSON property `function` - # @return [String] - attr_accessor :function - # Set of arguments passed to this function. # Note that this might not be populated for all stack frames. # Corresponds to the JSON property `arguments` @@ -720,16 +975,21 @@ module Google # @return [Google::Apis::ClouddebuggerV2::SourceLocation] attr_accessor :location + # Demangled function name at the call site. + # Corresponds to the JSON property `function` + # @return [String] + attr_accessor :function + def initialize(**args) update!(**args) end # Update properties of this object def update!(**args) - @function = args[:function] if args.key?(:function) @arguments = args[:arguments] if args.key?(:arguments) @locals = args[:locals] if args.key?(:locals) @location = args[:location] if args.key?(:location) + @function = args[:function] if args.key?(:function) end end @@ -816,266 +1076,6 @@ module Google @labels = args[:labels] if args.key?(:labels) end end - - # Response for listing debuggees. - class ListDebuggeesResponse - include Google::Apis::Core::Hashable - - # List of debuggees accessible to the calling user. - # Note that the `description` field is the only human readable field - # that should be displayed to the user. - # The fields `debuggee.id` and `description` fields are guaranteed to be - # set on each debuggee. - # Corresponds to the JSON property `debuggees` - # @return [Array] - attr_accessor :debuggees - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @debuggees = args[:debuggees] if args.key?(:debuggees) - end - end - - # An alias to a repo revision. - class AliasContext - include Google::Apis::Core::Hashable - - # The alias name. - # Corresponds to the JSON property `name` - # @return [String] - attr_accessor :name - - # The alias kind. - # Corresponds to the JSON property `kind` - # @return [String] - attr_accessor :kind - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @name = args[:name] if args.key?(:name) - @kind = args[:kind] if args.key?(:kind) - end - end - - # A generic empty message that you can re-use to avoid defining duplicated - # empty messages in your APIs. A typical example is to use it as the request - # or the response type of an API method. For instance: - # service Foo ` - # rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty); - # ` - # The JSON representation for `Empty` is empty JSON object ````. - class Empty - include Google::Apis::Core::Hashable - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - end - end - - # Represents a location in the source code. - class SourceLocation - include Google::Apis::Core::Hashable - - # Line inside the file. The first line in the file has the value `1`. - # Corresponds to the JSON property `line` - # @return [Fixnum] - attr_accessor :line - - # Path to the source file within the source context of the target binary. - # Corresponds to the JSON property `path` - # @return [String] - attr_accessor :path - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @line = args[:line] if args.key?(:line) - @path = args[:path] if args.key?(:path) - end - end - - # Represents the application to debug. The application may include one or more - # replicated processes executing the same code. Each of these processes is - # attached with a debugger agent, carrying out the debugging commands. - # The agents attached to the same debuggee are identified by using exactly the - # same field values when registering. - class Debuggee - include Google::Apis::Core::Hashable - - # Human readable description of the debuggee. - # Including a human-readable project name, environment name and version - # information is recommended. - # Corresponds to the JSON property `description` - # @return [String] - attr_accessor :description - - # Debuggee uniquifier within the project. - # Any string that identifies the application within the project can be used. - # Including environment and version or build IDs is recommended. - # Corresponds to the JSON property `uniquifier` - # @return [String] - attr_accessor :uniquifier - - # References to the locations and revisions of the source code used in the - # deployed application. - # NOTE: This field is deprecated. Consumers should use - # `ext_source_contexts` if it is not empty. Debug agents should populate - # both this field and `ext_source_contexts`. - # Corresponds to the JSON property `sourceContexts` - # @return [Array] - attr_accessor :source_contexts - - # References to the locations and revisions of the source code used in the - # deployed application. - # Contexts describing a remote repo related to the source code - # have a `category` label of `remote_repo`. Source snapshot source - # contexts have a `category` of `snapshot`. - # Corresponds to the JSON property `extSourceContexts` - # @return [Array] - attr_accessor :ext_source_contexts - - # A set of custom debuggee properties, populated by the agent, to be - # displayed to the user. - # Corresponds to the JSON property `labels` - # @return [Hash] - attr_accessor :labels - - # If set to `true`, indicates that the debuggee is considered as inactive by - # the Controller service. - # Corresponds to the JSON property `isInactive` - # @return [Boolean] - attr_accessor :is_inactive - alias_method :is_inactive?, :is_inactive - - # Represents a contextual status message. - # The message can indicate an error or informational status, and refer to - # specific parts of the containing object. - # For example, the `Breakpoint.status` field can indicate an error referring - # to the `BREAKPOINT_SOURCE_LOCATION` with the message `Location not found`. - # Corresponds to the JSON property `status` - # @return [Google::Apis::ClouddebuggerV2::StatusMessage] - attr_accessor :status - - # Project the debuggee is associated with. - # Use the project number when registering a Google Cloud Platform project. - # Corresponds to the JSON property `project` - # @return [String] - attr_accessor :project - - # If set to `true`, indicates that the agent should disable itself and - # detach from the debuggee. - # Corresponds to the JSON property `isDisabled` - # @return [Boolean] - attr_accessor :is_disabled - alias_method :is_disabled?, :is_disabled - - # Version ID of the agent release. The version ID is structured as - # following: `domain/type/vmajor.minor` (for example - # `google.com/gcp-java/v1.1`). - # Corresponds to the JSON property `agentVersion` - # @return [String] - attr_accessor :agent_version - - # Unique identifier for the debuggee generated by the controller service. - # Corresponds to the JSON property `id` - # @return [String] - attr_accessor :id - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @description = args[:description] if args.key?(:description) - @uniquifier = args[:uniquifier] if args.key?(:uniquifier) - @source_contexts = args[:source_contexts] if args.key?(:source_contexts) - @ext_source_contexts = args[:ext_source_contexts] if args.key?(:ext_source_contexts) - @labels = args[:labels] if args.key?(:labels) - @is_inactive = args[:is_inactive] if args.key?(:is_inactive) - @status = args[:status] if args.key?(:status) - @project = args[:project] if args.key?(:project) - @is_disabled = args[:is_disabled] if args.key?(:is_disabled) - @agent_version = args[:agent_version] if args.key?(:agent_version) - @id = args[:id] if args.key?(:id) - end - end - - # Selects a repo using a Google Cloud Platform project ID - # (e.g. winged-cargo-31) and a repo name within that project. - class ProjectRepoId - include Google::Apis::Core::Hashable - - # The ID of the project. - # Corresponds to the JSON property `projectId` - # @return [String] - attr_accessor :project_id - - # The name of the repo. Leave empty for the default repo. - # Corresponds to the JSON property `repoName` - # @return [String] - attr_accessor :repo_name - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @project_id = args[:project_id] if args.key?(:project_id) - @repo_name = args[:repo_name] if args.key?(:repo_name) - end - end - - # Response for listing active breakpoints. - class ListActiveBreakpointsResponse - include Google::Apis::Core::Hashable - - # A wait token that can be used in the next method call to block until - # the list of breakpoints changes. - # Corresponds to the JSON property `nextWaitToken` - # @return [String] - attr_accessor :next_wait_token - - # List of all active breakpoints. - # The fields `id` and `location` are guaranteed to be set on each breakpoint. - # Corresponds to the JSON property `breakpoints` - # @return [Array] - attr_accessor :breakpoints - - # The `wait_expired` field is set to true by the server when the - # request times out and the field `success_on_timeout` is set to true. - # Corresponds to the JSON property `waitExpired` - # @return [Boolean] - attr_accessor :wait_expired - alias_method :wait_expired?, :wait_expired - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @next_wait_token = args[:next_wait_token] if args.key?(:next_wait_token) - @breakpoints = args[:breakpoints] if args.key?(:breakpoints) - @wait_expired = args[:wait_expired] if args.key?(:wait_expired) - end - end end end end diff --git a/generated/google/apis/clouddebugger_v2/representations.rb b/generated/google/apis/clouddebugger_v2/representations.rb index a281c8d19..0999b6266 100644 --- a/generated/google/apis/clouddebugger_v2/representations.rb +++ b/generated/google/apis/clouddebugger_v2/representations.rb @@ -22,6 +22,48 @@ module Google module Apis module ClouddebuggerV2 + class ListDebuggeesResponse + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class AliasContext + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class Empty + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class SourceLocation + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class Debuggee + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class ProjectRepoId + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class ListActiveBreakpointsResponse + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + class CloudWorkspaceSourceContext class Representation < Google::Apis::Core::JsonRepresentation; end @@ -143,45 +185,71 @@ module Google end class ListDebuggeesResponse - class Representation < Google::Apis::Core::JsonRepresentation; end + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :debuggees, as: 'debuggees', class: Google::Apis::ClouddebuggerV2::Debuggee, decorator: Google::Apis::ClouddebuggerV2::Debuggee::Representation - include Google::Apis::Core::JsonObjectSupport + end end class AliasContext - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :name, as: 'name' + property :kind, as: 'kind' + end end class Empty - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport + # @private + class Representation < Google::Apis::Core::JsonRepresentation + end end class SourceLocation - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :line, as: 'line' + property :path, as: 'path' + end end class Debuggee - class Representation < Google::Apis::Core::JsonRepresentation; end + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :ext_source_contexts, as: 'extSourceContexts', class: Google::Apis::ClouddebuggerV2::ExtendedSourceContext, decorator: Google::Apis::ClouddebuggerV2::ExtendedSourceContext::Representation - include Google::Apis::Core::JsonObjectSupport + hash :labels, as: 'labels' + property :status, as: 'status', class: Google::Apis::ClouddebuggerV2::StatusMessage, decorator: Google::Apis::ClouddebuggerV2::StatusMessage::Representation + + property :is_inactive, as: 'isInactive' + property :project, as: 'project' + property :id, as: 'id' + property :agent_version, as: 'agentVersion' + property :is_disabled, as: 'isDisabled' + property :description, as: 'description' + property :uniquifier, as: 'uniquifier' + collection :source_contexts, as: 'sourceContexts', class: Google::Apis::ClouddebuggerV2::SourceContext, decorator: Google::Apis::ClouddebuggerV2::SourceContext::Representation + + end end class ProjectRepoId - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :project_id, as: 'projectId' + property :repo_name, as: 'repoName' + end end class ListActiveBreakpointsResponse - class Representation < Google::Apis::Core::JsonRepresentation; end + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :breakpoints, as: 'breakpoints', class: Google::Apis::ClouddebuggerV2::Breakpoint, decorator: Google::Apis::ClouddebuggerV2::Breakpoint::Representation - include Google::Apis::Core::JsonObjectSupport + property :wait_expired, as: 'waitExpired' + property :next_wait_token, as: 'nextWaitToken' + end end class CloudWorkspaceSourceContext @@ -202,21 +270,21 @@ module Google class GerritSourceContext # @private class Representation < Google::Apis::Core::JsonRepresentation - property :gerrit_project, as: 'gerritProject' - property :alias_context, as: 'aliasContext', class: Google::Apis::ClouddebuggerV2::AliasContext, decorator: Google::Apis::ClouddebuggerV2::AliasContext::Representation - property :host_uri, as: 'hostUri' property :revision_id, as: 'revisionId' property :alias_name, as: 'aliasName' + property :gerrit_project, as: 'gerritProject' + property :alias_context, as: 'aliasContext', class: Google::Apis::ClouddebuggerV2::AliasContext, decorator: Google::Apis::ClouddebuggerV2::AliasContext::Representation + end end class CloudWorkspaceId # @private class Representation < Google::Apis::Core::JsonRepresentation - property :name, as: 'name' property :repo_id, as: 'repoId', class: Google::Apis::ClouddebuggerV2::RepoId, decorator: Google::Apis::ClouddebuggerV2::RepoId::Representation + property :name, as: 'name' end end @@ -232,10 +300,6 @@ module Google class Breakpoint # @private class Representation < Google::Apis::Core::JsonRepresentation - property :id, as: 'id' - property :location, as: 'location', class: Google::Apis::ClouddebuggerV2::SourceLocation, decorator: Google::Apis::ClouddebuggerV2::SourceLocation::Representation - - property :final_time, as: 'finalTime' collection :variable_table, as: 'variableTable', class: Google::Apis::ClouddebuggerV2::Variable, decorator: Google::Apis::ClouddebuggerV2::Variable::Representation property :create_time, as: 'createTime' @@ -253,6 +317,10 @@ module Google property :user_email, as: 'userEmail' property :action, as: 'action' property :log_level, as: 'logLevel' + property :id, as: 'id' + property :location, as: 'location', class: Google::Apis::ClouddebuggerV2::SourceLocation, decorator: Google::Apis::ClouddebuggerV2::SourceLocation::Representation + + property :final_time, as: 'finalTime' end end @@ -275,26 +343,26 @@ module Google class SourceContext # @private class Representation < Google::Apis::Core::JsonRepresentation + property :git, as: 'git', class: Google::Apis::ClouddebuggerV2::GitSourceContext, decorator: Google::Apis::ClouddebuggerV2::GitSourceContext::Representation + property :gerrit, as: 'gerrit', class: Google::Apis::ClouddebuggerV2::GerritSourceContext, decorator: Google::Apis::ClouddebuggerV2::GerritSourceContext::Representation property :cloud_repo, as: 'cloudRepo', class: Google::Apis::ClouddebuggerV2::CloudRepoSourceContext, decorator: Google::Apis::ClouddebuggerV2::CloudRepoSourceContext::Representation property :cloud_workspace, as: 'cloudWorkspace', class: Google::Apis::ClouddebuggerV2::CloudWorkspaceSourceContext, decorator: Google::Apis::ClouddebuggerV2::CloudWorkspaceSourceContext::Representation - property :git, as: 'git', class: Google::Apis::ClouddebuggerV2::GitSourceContext, decorator: Google::Apis::ClouddebuggerV2::GitSourceContext::Representation - end end class CloudRepoSourceContext # @private class Representation < Google::Apis::Core::JsonRepresentation - property :alias_context, as: 'aliasContext', class: Google::Apis::ClouddebuggerV2::AliasContext, decorator: Google::Apis::ClouddebuggerV2::AliasContext::Representation - property :revision_id, as: 'revisionId' property :alias_name, as: 'aliasName' property :repo_id, as: 'repoId', class: Google::Apis::ClouddebuggerV2::RepoId, decorator: Google::Apis::ClouddebuggerV2::RepoId::Representation + property :alias_context, as: 'aliasContext', class: Google::Apis::ClouddebuggerV2::AliasContext, decorator: Google::Apis::ClouddebuggerV2::AliasContext::Representation + end end @@ -357,13 +425,13 @@ module Google class StackFrame # @private class Representation < Google::Apis::Core::JsonRepresentation - property :function, as: 'function' collection :arguments, as: 'arguments', class: Google::Apis::ClouddebuggerV2::Variable, decorator: Google::Apis::ClouddebuggerV2::Variable::Representation collection :locals, as: 'locals', class: Google::Apis::ClouddebuggerV2::Variable, decorator: Google::Apis::ClouddebuggerV2::Variable::Representation property :location, as: 'location', class: Google::Apis::ClouddebuggerV2::SourceLocation, decorator: Google::Apis::ClouddebuggerV2::SourceLocation::Representation + property :function, as: 'function' end end @@ -392,74 +460,6 @@ module Google hash :labels, as: 'labels' end end - - class ListDebuggeesResponse - # @private - class Representation < Google::Apis::Core::JsonRepresentation - collection :debuggees, as: 'debuggees', class: Google::Apis::ClouddebuggerV2::Debuggee, decorator: Google::Apis::ClouddebuggerV2::Debuggee::Representation - - end - end - - class AliasContext - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :name, as: 'name' - property :kind, as: 'kind' - end - end - - class Empty - # @private - class Representation < Google::Apis::Core::JsonRepresentation - end - end - - class SourceLocation - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :line, as: 'line' - property :path, as: 'path' - end - end - - class Debuggee - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :description, as: 'description' - property :uniquifier, as: 'uniquifier' - collection :source_contexts, as: 'sourceContexts', class: Google::Apis::ClouddebuggerV2::SourceContext, decorator: Google::Apis::ClouddebuggerV2::SourceContext::Representation - - collection :ext_source_contexts, as: 'extSourceContexts', class: Google::Apis::ClouddebuggerV2::ExtendedSourceContext, decorator: Google::Apis::ClouddebuggerV2::ExtendedSourceContext::Representation - - hash :labels, as: 'labels' - property :is_inactive, as: 'isInactive' - property :status, as: 'status', class: Google::Apis::ClouddebuggerV2::StatusMessage, decorator: Google::Apis::ClouddebuggerV2::StatusMessage::Representation - - property :project, as: 'project' - property :is_disabled, as: 'isDisabled' - property :agent_version, as: 'agentVersion' - property :id, as: 'id' - end - end - - class ProjectRepoId - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :project_id, as: 'projectId' - property :repo_name, as: 'repoName' - end - end - - class ListActiveBreakpointsResponse - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :next_wait_token, as: 'nextWaitToken' - collection :breakpoints, as: 'breakpoints', class: Google::Apis::ClouddebuggerV2::Breakpoint, decorator: Google::Apis::ClouddebuggerV2::Breakpoint::Representation - - property :wait_expired, as: 'waitExpired' - end - end end end end diff --git a/generated/google/apis/clouddebugger_v2/service.rb b/generated/google/apis/clouddebugger_v2/service.rb index 8ea9a6c56..145c057b3 100644 --- a/generated/google/apis/clouddebugger_v2/service.rb +++ b/generated/google/apis/clouddebugger_v2/service.rb @@ -33,18 +33,19 @@ module Google # # @see http://cloud.google.com/debugger class CloudDebuggerService < Google::Apis::Core::BaseService - # @return [String] - # API key. Your API key identifies your project and provides you with API access, - # quota, and reports. Required unless you provide an OAuth 2.0 token. - attr_accessor :key - # @return [String] # Available to use for quota purposes for server-side applications. Can be any # arbitrary string assigned to a user, but should not exceed 40 characters. attr_accessor :quota_user + # @return [String] + # API key. Your API key identifies your project and provides you with API access, + # quota, and reports. Required unless you provide an OAuth 2.0 token. + attr_accessor :key + def initialize super('https://clouddebugger.googleapis.com/', '') + @batch_path = 'batch' end # Lists all the debuggees that the user can set breakpoints to. @@ -56,11 +57,11 @@ module Google # result includes only debuggees that are active. # @param [String] project # Project number of a Google Cloud project whose debuggees to list. - # @param [String] fields - # Selector specifying which fields to include in a partial response. # @param [String] quota_user # Available to use for quota purposes for server-side applications. Can be any # arbitrary string assigned to a user, but should not exceed 40 characters. + # @param [String] fields + # Selector specifying which fields to include in a partial response. # @param [Google::Apis::RequestOptions] options # Request-specific options # @@ -73,15 +74,15 @@ module Google # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required - def list_debugger_debuggees(client_version: nil, include_inactive: nil, project: nil, fields: nil, quota_user: nil, options: nil, &block) + def list_debugger_debuggees(client_version: nil, include_inactive: nil, project: nil, quota_user: nil, fields: nil, options: nil, &block) command = make_simple_command(:get, 'v2/debugger/debuggees', options) command.response_representation = Google::Apis::ClouddebuggerV2::ListDebuggeesResponse::Representation command.response_class = Google::Apis::ClouddebuggerV2::ListDebuggeesResponse command.query['clientVersion'] = client_version unless client_version.nil? command.query['includeInactive'] = include_inactive unless include_inactive.nil? command.query['project'] = project unless project.nil? - command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? + command.query['fields'] = fields unless fields.nil? execute_or_queue_command(command, &block) end @@ -92,11 +93,11 @@ module Google # @param [String] client_version # The client version making the call. # Following: `domain/type/version` (e.g., `google.com/intellij/v1`). - # @param [String] fields - # Selector specifying which fields to include in a partial response. # @param [String] quota_user # Available to use for quota purposes for server-side applications. Can be any # arbitrary string assigned to a user, but should not exceed 40 characters. + # @param [String] fields + # Selector specifying which fields to include in a partial response. # @param [Google::Apis::RequestOptions] options # Request-specific options # @@ -109,7 +110,7 @@ module Google # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required - def set_debugger_debuggee_breakpoint(debuggee_id, breakpoint_object = nil, client_version: nil, fields: nil, quota_user: nil, options: nil, &block) + def set_debugger_debuggee_breakpoint(debuggee_id, breakpoint_object = nil, client_version: nil, quota_user: nil, fields: nil, options: nil, &block) command = make_simple_command(:post, 'v2/debugger/debuggees/{debuggeeId}/breakpoints/set', options) command.request_representation = Google::Apis::ClouddebuggerV2::Breakpoint::Representation command.request_object = breakpoint_object @@ -117,8 +118,8 @@ module Google command.response_class = Google::Apis::ClouddebuggerV2::SetBreakpointResponse command.params['debuggeeId'] = debuggee_id unless debuggee_id.nil? command.query['clientVersion'] = client_version unless client_version.nil? - command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? + command.query['fields'] = fields unless fields.nil? execute_or_queue_command(command, &block) end @@ -130,11 +131,11 @@ module Google # @param [String] client_version # The client version making the call. # Following: `domain/type/version` (e.g., `google.com/intellij/v1`). - # @param [String] fields - # Selector specifying which fields to include in a partial response. # @param [String] quota_user # Available to use for quota purposes for server-side applications. Can be any # arbitrary string assigned to a user, but should not exceed 40 characters. + # @param [String] fields + # Selector specifying which fields to include in a partial response. # @param [Google::Apis::RequestOptions] options # Request-specific options # @@ -147,15 +148,15 @@ module Google # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required - def delete_debugger_debuggee_breakpoint(debuggee_id, breakpoint_id, client_version: nil, fields: nil, quota_user: nil, options: nil, &block) + def delete_debugger_debuggee_breakpoint(debuggee_id, breakpoint_id, client_version: nil, quota_user: nil, fields: nil, options: nil, &block) command = make_simple_command(:delete, 'v2/debugger/debuggees/{debuggeeId}/breakpoints/{breakpointId}', options) command.response_representation = Google::Apis::ClouddebuggerV2::Empty::Representation command.response_class = Google::Apis::ClouddebuggerV2::Empty command.params['debuggeeId'] = debuggee_id unless debuggee_id.nil? command.params['breakpointId'] = breakpoint_id unless breakpoint_id.nil? command.query['clientVersion'] = client_version unless client_version.nil? - command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? + command.query['fields'] = fields unless fields.nil? execute_or_queue_command(command, &block) end @@ -167,11 +168,11 @@ module Google # @param [String] client_version # The client version making the call. # Following: `domain/type/version` (e.g., `google.com/intellij/v1`). - # @param [String] fields - # Selector specifying which fields to include in a partial response. # @param [String] quota_user # Available to use for quota purposes for server-side applications. Can be any # arbitrary string assigned to a user, but should not exceed 40 characters. + # @param [String] fields + # Selector specifying which fields to include in a partial response. # @param [Google::Apis::RequestOptions] options # Request-specific options # @@ -184,15 +185,15 @@ module Google # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required - def get_debugger_debuggee_breakpoint(debuggee_id, breakpoint_id, client_version: nil, fields: nil, quota_user: nil, options: nil, &block) + def get_debugger_debuggee_breakpoint(debuggee_id, breakpoint_id, client_version: nil, quota_user: nil, fields: nil, options: nil, &block) command = make_simple_command(:get, 'v2/debugger/debuggees/{debuggeeId}/breakpoints/{breakpointId}', options) command.response_representation = Google::Apis::ClouddebuggerV2::GetBreakpointResponse::Representation command.response_class = Google::Apis::ClouddebuggerV2::GetBreakpointResponse command.params['debuggeeId'] = debuggee_id unless debuggee_id.nil? command.params['breakpointId'] = breakpoint_id unless breakpoint_id.nil? command.query['clientVersion'] = client_version unless client_version.nil? - command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? + command.query['fields'] = fields unless fields.nil? execute_or_queue_command(command, &block) end @@ -205,11 +206,11 @@ module Google # should be set from the last response. The error code # `google.rpc.Code.ABORTED` (RPC) is returned on wait timeout, which # should be called again with the same `wait_token`. - # @param [String] action_value - # Only breakpoints with the specified action will pass the filter. # @param [String] client_version # The client version making the call. # Following: `domain/type/version` (e.g., `google.com/intellij/v1`). + # @param [String] action_value + # Only breakpoints with the specified action will pass the filter. # @param [Boolean] include_inactive # When set to `true`, the response includes active and inactive # breakpoints. Otherwise, it includes only active breakpoints. @@ -219,11 +220,11 @@ module Google # @param [Boolean] strip_results # This field is deprecated. The following fields are always stripped out of # the result: `stack_frames`, `evaluated_expressions` and `variable_table`. - # @param [String] fields - # Selector specifying which fields to include in a partial response. # @param [String] quota_user # Available to use for quota purposes for server-side applications. Can be any # arbitrary string assigned to a user, but should not exceed 40 characters. + # @param [String] fields + # Selector specifying which fields to include in a partial response. # @param [Google::Apis::RequestOptions] options # Request-specific options # @@ -236,19 +237,19 @@ module Google # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required - def list_debugger_debuggee_breakpoints(debuggee_id, wait_token: nil, action_value: nil, client_version: nil, include_inactive: nil, include_all_users: nil, strip_results: nil, fields: nil, quota_user: nil, options: nil, &block) + def list_debugger_debuggee_breakpoints(debuggee_id, wait_token: nil, client_version: nil, action_value: nil, include_inactive: nil, include_all_users: nil, strip_results: nil, quota_user: nil, fields: nil, options: nil, &block) command = make_simple_command(:get, 'v2/debugger/debuggees/{debuggeeId}/breakpoints', options) command.response_representation = Google::Apis::ClouddebuggerV2::ListBreakpointsResponse::Representation command.response_class = Google::Apis::ClouddebuggerV2::ListBreakpointsResponse command.params['debuggeeId'] = debuggee_id unless debuggee_id.nil? command.query['waitToken'] = wait_token unless wait_token.nil? - command.query['action.value'] = action_value unless action_value.nil? command.query['clientVersion'] = client_version unless client_version.nil? + command.query['action.value'] = action_value unless action_value.nil? command.query['includeInactive'] = include_inactive unless include_inactive.nil? command.query['includeAllUsers'] = include_all_users unless include_all_users.nil? command.query['stripResults'] = strip_results unless strip_results.nil? - command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? + command.query['fields'] = fields unless fields.nil? execute_or_queue_command(command, &block) end @@ -261,11 +262,11 @@ module Google # data loss. If the debuggee is disabled by the server, the response will # have `is_disabled` set to `true`. # @param [Google::Apis::ClouddebuggerV2::RegisterDebuggeeRequest] register_debuggee_request_object - # @param [String] fields - # Selector specifying which fields to include in a partial response. # @param [String] quota_user # Available to use for quota purposes for server-side applications. Can be any # arbitrary string assigned to a user, but should not exceed 40 characters. + # @param [String] fields + # Selector specifying which fields to include in a partial response. # @param [Google::Apis::RequestOptions] options # Request-specific options # @@ -278,14 +279,14 @@ module Google # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required - def register_debuggee(register_debuggee_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) + def register_debuggee(register_debuggee_request_object = nil, quota_user: nil, fields: nil, options: nil, &block) command = make_simple_command(:post, 'v2/controller/debuggees/register', options) command.request_representation = Google::Apis::ClouddebuggerV2::RegisterDebuggeeRequest::Representation command.request_object = register_debuggee_request_object command.response_representation = Google::Apis::ClouddebuggerV2::RegisterDebuggeeResponse::Representation command.response_class = Google::Apis::ClouddebuggerV2::RegisterDebuggeeResponse - command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? + command.query['fields'] = fields unless fields.nil? execute_or_queue_command(command, &block) end @@ -302,11 +303,11 @@ module Google # @param [String] id # Breakpoint identifier, unique in the scope of the debuggee. # @param [Google::Apis::ClouddebuggerV2::UpdateActiveBreakpointRequest] update_active_breakpoint_request_object - # @param [String] fields - # Selector specifying which fields to include in a partial response. # @param [String] quota_user # Available to use for quota purposes for server-side applications. Can be any # arbitrary string assigned to a user, but should not exceed 40 characters. + # @param [String] fields + # Selector specifying which fields to include in a partial response. # @param [Google::Apis::RequestOptions] options # Request-specific options # @@ -319,7 +320,7 @@ module Google # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required - def update_active_breakpoint(debuggee_id, id, update_active_breakpoint_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) + def update_active_breakpoint(debuggee_id, id, update_active_breakpoint_request_object = nil, quota_user: nil, fields: nil, options: nil, &block) command = make_simple_command(:put, 'v2/controller/debuggees/{debuggeeId}/breakpoints/{id}', options) command.request_representation = Google::Apis::ClouddebuggerV2::UpdateActiveBreakpointRequest::Representation command.request_object = update_active_breakpoint_request_object @@ -327,8 +328,8 @@ module Google command.response_class = Google::Apis::ClouddebuggerV2::UpdateActiveBreakpointResponse command.params['debuggeeId'] = debuggee_id unless debuggee_id.nil? command.params['id'] = id unless id.nil? - command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? + command.query['fields'] = fields unless fields.nil? execute_or_queue_command(command, &block) end @@ -355,11 +356,11 @@ module Google # has expired (recommended). # If set to `false`, returns `google.rpc.Code.ABORTED` status when the # server-selected timeout has expired (deprecated). - # @param [String] fields - # Selector specifying which fields to include in a partial response. # @param [String] quota_user # Available to use for quota purposes for server-side applications. Can be any # arbitrary string assigned to a user, but should not exceed 40 characters. + # @param [String] fields + # Selector specifying which fields to include in a partial response. # @param [Google::Apis::RequestOptions] options # Request-specific options # @@ -372,23 +373,23 @@ module Google # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required - def list_controller_debuggee_breakpoints(debuggee_id, wait_token: nil, success_on_timeout: nil, fields: nil, quota_user: nil, options: nil, &block) + def list_controller_debuggee_breakpoints(debuggee_id, wait_token: nil, success_on_timeout: nil, quota_user: nil, fields: nil, options: nil, &block) command = make_simple_command(:get, 'v2/controller/debuggees/{debuggeeId}/breakpoints', options) command.response_representation = Google::Apis::ClouddebuggerV2::ListActiveBreakpointsResponse::Representation command.response_class = Google::Apis::ClouddebuggerV2::ListActiveBreakpointsResponse command.params['debuggeeId'] = debuggee_id unless debuggee_id.nil? command.query['waitToken'] = wait_token unless wait_token.nil? command.query['successOnTimeout'] = success_on_timeout unless success_on_timeout.nil? - command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? + command.query['fields'] = fields unless fields.nil? execute_or_queue_command(command, &block) end protected def apply_command_defaults(command) - command.query['key'] = key unless key.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? + command.query['key'] = key unless key.nil? end end end diff --git a/generated/google/apis/clouderrorreporting_v1beta1.rb b/generated/google/apis/clouderrorreporting_v1beta1.rb index ede150a68..4d72936d1 100644 --- a/generated/google/apis/clouderrorreporting_v1beta1.rb +++ b/generated/google/apis/clouderrorreporting_v1beta1.rb @@ -27,7 +27,7 @@ module Google # @see https://cloud.google.com/error-reporting/ module ClouderrorreportingV1beta1 VERSION = 'V1beta1' - REVISION = '20170314' + REVISION = '20170328' # View and manage your data across Google Cloud Platform services AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform' diff --git a/generated/google/apis/clouderrorreporting_v1beta1/classes.rb b/generated/google/apis/clouderrorreporting_v1beta1/classes.rb index 37ed93507..6f3baa93d 100644 --- a/generated/google/apis/clouderrorreporting_v1beta1/classes.rb +++ b/generated/google/apis/clouderrorreporting_v1beta1/classes.rb @@ -22,437 +22,6 @@ module Google module Apis module ClouderrorreportingV1beta1 - # Data extracted for a specific group based on certain filter criteria, - # such as a given time period and/or service filter. - class ErrorGroupStats - include Google::Apis::Core::Hashable - - # Description of a group of similar error events. - # Corresponds to the JSON property `group` - # @return [Google::Apis::ClouderrorreportingV1beta1::ErrorGroup] - attr_accessor :group - - # Approximate first occurrence that was ever seen for this group - # and which matches the given filter criteria, ignoring the - # time_range that was specified in the request. - # Corresponds to the JSON property `firstSeenTime` - # @return [String] - attr_accessor :first_seen_time - - # Approximate total number of events in the given group that match - # the filter criteria. - # Corresponds to the JSON property `count` - # @return [String] - attr_accessor :count - - # Approximate number of affected users in the given group that - # match the filter criteria. - # Users are distinguished by data in the `ErrorContext` of the - # individual error events, such as their login name or their remote - # IP address in case of HTTP requests. - # The number of affected users can be zero even if the number of - # errors is non-zero if no data was provided from which the - # affected user could be deduced. - # Users are counted based on data in the request - # context that was provided in the error report. If more users are - # implicitly affected, such as due to a crash of the whole service, - # this is not reflected here. - # Corresponds to the JSON property `affectedUsersCount` - # @return [String] - attr_accessor :affected_users_count - - # Approximate last occurrence that was ever seen for this group and - # which matches the given filter criteria, ignoring the time_range - # that was specified in the request. - # Corresponds to the JSON property `lastSeenTime` - # @return [String] - attr_accessor :last_seen_time - - # The total number of services with a non-zero error count for the given - # filter criteria. - # Corresponds to the JSON property `numAffectedServices` - # @return [Fixnum] - attr_accessor :num_affected_services - - # Service contexts with a non-zero error count for the given filter - # criteria. This list can be truncated if multiple services are affected. - # Refer to `num_affected_services` for the total count. - # Corresponds to the JSON property `affectedServices` - # @return [Array] - attr_accessor :affected_services - - # An error event which is returned by the Error Reporting system. - # Corresponds to the JSON property `representative` - # @return [Google::Apis::ClouderrorreportingV1beta1::ErrorEvent] - attr_accessor :representative - - # Approximate number of occurrences over time. - # Timed counts returned by ListGroups are guaranteed to be: - # - Inside the requested time interval - # - Non-overlapping, and - # - Ordered by ascending time. - # Corresponds to the JSON property `timedCounts` - # @return [Array] - attr_accessor :timed_counts - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @group = args[:group] if args.key?(:group) - @first_seen_time = args[:first_seen_time] if args.key?(:first_seen_time) - @count = args[:count] if args.key?(:count) - @affected_users_count = args[:affected_users_count] if args.key?(:affected_users_count) - @last_seen_time = args[:last_seen_time] if args.key?(:last_seen_time) - @num_affected_services = args[:num_affected_services] if args.key?(:num_affected_services) - @affected_services = args[:affected_services] if args.key?(:affected_services) - @representative = args[:representative] if args.key?(:representative) - @timed_counts = args[:timed_counts] if args.key?(:timed_counts) - end - end - - # Contains a set of requested error events. - class ListEventsResponse - include Google::Apis::Core::Hashable - - # The timestamp specifies the start time to which the request was restricted. - # Corresponds to the JSON property `timeRangeBegin` - # @return [String] - attr_accessor :time_range_begin - - # The error events which match the given request. - # Corresponds to the JSON property `errorEvents` - # @return [Array] - attr_accessor :error_events - - # If non-empty, more results are available. - # Pass this token, along with the same query parameters as the first - # request, to view the next page of results. - # Corresponds to the JSON property `nextPageToken` - # @return [String] - attr_accessor :next_page_token - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @time_range_begin = args[:time_range_begin] if args.key?(:time_range_begin) - @error_events = args[:error_events] if args.key?(:error_events) - @next_page_token = args[:next_page_token] if args.key?(:next_page_token) - end - end - - # The number of errors in a given time period. - # All numbers are approximate since the error events are sampled - # before counting them. - class TimedCount - include Google::Apis::Core::Hashable - - # End of the time period to which `count` refers (excluded). - # Corresponds to the JSON property `endTime` - # @return [String] - attr_accessor :end_time - - # Approximate number of occurrences in the given time period. - # Corresponds to the JSON property `count` - # @return [String] - attr_accessor :count - - # Start of the time period to which `count` refers (included). - # Corresponds to the JSON property `startTime` - # @return [String] - attr_accessor :start_time - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @end_time = args[:end_time] if args.key?(:end_time) - @count = args[:count] if args.key?(:count) - @start_time = args[:start_time] if args.key?(:start_time) - end - end - - # Description of a group of similar error events. - class ErrorGroup - include Google::Apis::Core::Hashable - - # The group resource name. - # Example: projects/my-project-123/groups/my-groupid - # Corresponds to the JSON property `name` - # @return [String] - attr_accessor :name - - # Group IDs are unique for a given project. If the same kind of error - # occurs in different service contexts, it will receive the same group ID. - # Corresponds to the JSON property `groupId` - # @return [String] - attr_accessor :group_id - - # Associated tracking issues. - # Corresponds to the JSON property `trackingIssues` - # @return [Array] - attr_accessor :tracking_issues - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @name = args[:name] if args.key?(:name) - @group_id = args[:group_id] if args.key?(:group_id) - @tracking_issues = args[:tracking_issues] if args.key?(:tracking_issues) - end - end - - # Describes a running service that sends errors. - # Its version changes over time and multiple versions can run in parallel. - class ServiceContext - include Google::Apis::Core::Hashable - - # Represents the source code version that the developer provided, - # which could represent a version label or a Git SHA-1 hash, for example. - # For App Engine standard environment, the version is set to the version of - # the app. - # Corresponds to the JSON property `version` - # @return [String] - attr_accessor :version - - # An identifier of the service, such as the name of the - # executable, job, or Google App Engine service name. This field is expected - # to have a low number of values that are relatively stable over time, as - # opposed to `version`, which can be changed whenever new code is deployed. - # Contains the service name for error reports extracted from Google - # App Engine logs or `default` if the App Engine default service is used. - # Corresponds to the JSON property `service` - # @return [String] - attr_accessor :service - - # Type of the MonitoredResource. List of possible values: - # https://cloud.google.com/monitoring/api/resources - # Value is set automatically for incoming errors and must not be set when - # reporting errors. - # Corresponds to the JSON property `resourceType` - # @return [String] - attr_accessor :resource_type - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @version = args[:version] if args.key?(:version) - @service = args[:service] if args.key?(:service) - @resource_type = args[:resource_type] if args.key?(:resource_type) - end - end - - # Indicates a location in the source code of the service for which errors are - # reported. `functionName` must be provided by the application when reporting - # an error, unless the error report contains a `message` with a supported - # exception stack trace. All fields are optional for the later case. - class SourceLocation - include Google::Apis::Core::Hashable - - # Human-readable name of a function or method. - # The value can include optional context like the class or package name. - # For example, `my.package.MyClass.method` in case of Java. - # Corresponds to the JSON property `functionName` - # @return [String] - attr_accessor :function_name - - # The source code filename, which can include a truncated relative - # path, or a full path from a production machine. - # Corresponds to the JSON property `filePath` - # @return [String] - attr_accessor :file_path - - # 1-based. 0 indicates that the line number is unknown. - # Corresponds to the JSON property `lineNumber` - # @return [Fixnum] - attr_accessor :line_number - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @function_name = args[:function_name] if args.key?(:function_name) - @file_path = args[:file_path] if args.key?(:file_path) - @line_number = args[:line_number] if args.key?(:line_number) - end - end - - # Response for reporting an individual error event. - # Data may be added to this message in the future. - class ReportErrorEventResponse - include Google::Apis::Core::Hashable - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - end - end - - # HTTP request data that is related to a reported error. - # This data should be provided by the application when reporting an error, - # unless the - # error report has been generated automatically from Google App Engine logs. - class HttpRequestContext - include Google::Apis::Core::Hashable - - # The referrer information that is provided with the request. - # Corresponds to the JSON property `referrer` - # @return [String] - attr_accessor :referrer - - # The user agent information that is provided with the request. - # Corresponds to the JSON property `userAgent` - # @return [String] - attr_accessor :user_agent - - # The URL of the request. - # Corresponds to the JSON property `url` - # @return [String] - attr_accessor :url - - # The HTTP response status code for the request. - # Corresponds to the JSON property `responseStatusCode` - # @return [Fixnum] - attr_accessor :response_status_code - - # The type of HTTP request, such as `GET`, `POST`, etc. - # Corresponds to the JSON property `method` - # @return [String] - attr_accessor :method_prop - - # The IP address from which the request originated. - # This can be IPv4, IPv6, or a token which is derived from the - # IP address, depending on the data that has been provided - # in the error report. - # Corresponds to the JSON property `remoteIp` - # @return [String] - attr_accessor :remote_ip - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @referrer = args[:referrer] if args.key?(:referrer) - @user_agent = args[:user_agent] if args.key?(:user_agent) - @url = args[:url] if args.key?(:url) - @response_status_code = args[:response_status_code] if args.key?(:response_status_code) - @method_prop = args[:method_prop] if args.key?(:method_prop) - @remote_ip = args[:remote_ip] if args.key?(:remote_ip) - end - end - - # Contains a set of requested error group stats. - class ListGroupStatsResponse - include Google::Apis::Core::Hashable - - # The timestamp specifies the start time to which the request was restricted. - # The start time is set based on the requested time range. It may be adjusted - # to a later time if a project has exceeded the storage quota and older data - # has been deleted. - # Corresponds to the JSON property `timeRangeBegin` - # @return [String] - attr_accessor :time_range_begin - - # The error group stats which match the given request. - # Corresponds to the JSON property `errorGroupStats` - # @return [Array] - attr_accessor :error_group_stats - - # If non-empty, more results are available. - # Pass this token, along with the same query parameters as the first - # request, to view the next page of results. - # Corresponds to the JSON property `nextPageToken` - # @return [String] - attr_accessor :next_page_token - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @time_range_begin = args[:time_range_begin] if args.key?(:time_range_begin) - @error_group_stats = args[:error_group_stats] if args.key?(:error_group_stats) - @next_page_token = args[:next_page_token] if args.key?(:next_page_token) - end - end - - # Response message for deleting error events. - class DeleteEventsResponse - include Google::Apis::Core::Hashable - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - end - end - - # An error event which is returned by the Error Reporting system. - class ErrorEvent - include Google::Apis::Core::Hashable - - # A description of the context in which an error occurred. - # This data should be provided by the application when reporting an error, - # unless the - # error report has been generated automatically from Google App Engine logs. - # Corresponds to the JSON property `context` - # @return [Google::Apis::ClouderrorreportingV1beta1::ErrorContext] - attr_accessor :context - - # The stack trace that was reported or logged by the service. - # Corresponds to the JSON property `message` - # @return [String] - attr_accessor :message - - # Describes a running service that sends errors. - # Its version changes over time and multiple versions can run in parallel. - # Corresponds to the JSON property `serviceContext` - # @return [Google::Apis::ClouderrorreportingV1beta1::ServiceContext] - attr_accessor :service_context - - # Time when the event occurred as provided in the error report. - # If the report did not contain a timestamp, the time the error was received - # by the Error Reporting system is used. - # Corresponds to the JSON property `eventTime` - # @return [String] - attr_accessor :event_time - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @context = args[:context] if args.key?(:context) - @message = args[:message] if args.key?(:message) - @service_context = args[:service_context] if args.key?(:service_context) - @event_time = args[:event_time] if args.key?(:event_time) - end - end - # An error event which is reported to the Error Reporting system. class ReportedErrorEvent include Google::Apis::Core::Hashable @@ -526,6 +95,14 @@ module Google class ErrorContext include Google::Apis::Core::Hashable + # Indicates a location in the source code of the service for which errors are + # reported. `functionName` must be provided by the application when reporting + # an error, unless the error report contains a `message` with a supported + # exception stack trace. All fields are optional for the later case. + # Corresponds to the JSON property `reportLocation` + # @return [Google::Apis::ClouderrorreportingV1beta1::SourceLocation] + attr_accessor :report_location + # HTTP request data that is related to a reported error. # This data should be provided by the application when reporting an error, # unless the @@ -546,23 +123,15 @@ module Google # @return [String] attr_accessor :user - # Indicates a location in the source code of the service for which errors are - # reported. `functionName` must be provided by the application when reporting - # an error, unless the error report contains a `message` with a supported - # exception stack trace. All fields are optional for the later case. - # Corresponds to the JSON property `reportLocation` - # @return [Google::Apis::ClouderrorreportingV1beta1::SourceLocation] - attr_accessor :report_location - def initialize(**args) update!(**args) end # Update properties of this object def update!(**args) + @report_location = args[:report_location] if args.key?(:report_location) @http_request = args[:http_request] if args.key?(:http_request) @user = args[:user] if args.key?(:user) - @report_location = args[:report_location] if args.key?(:report_location) end end @@ -585,6 +154,437 @@ module Google @url = args[:url] if args.key?(:url) end end + + # Data extracted for a specific group based on certain filter criteria, + # such as a given time period and/or service filter. + class ErrorGroupStats + include Google::Apis::Core::Hashable + + # Service contexts with a non-zero error count for the given filter + # criteria. This list can be truncated if multiple services are affected. + # Refer to `num_affected_services` for the total count. + # Corresponds to the JSON property `affectedServices` + # @return [Array] + attr_accessor :affected_services + + # The total number of services with a non-zero error count for the given + # filter criteria. + # Corresponds to the JSON property `numAffectedServices` + # @return [Fixnum] + attr_accessor :num_affected_services + + # An error event which is returned by the Error Reporting system. + # Corresponds to the JSON property `representative` + # @return [Google::Apis::ClouderrorreportingV1beta1::ErrorEvent] + attr_accessor :representative + + # Approximate number of occurrences over time. + # Timed counts returned by ListGroups are guaranteed to be: + # - Inside the requested time interval + # - Non-overlapping, and + # - Ordered by ascending time. + # Corresponds to the JSON property `timedCounts` + # @return [Array] + attr_accessor :timed_counts + + # Description of a group of similar error events. + # Corresponds to the JSON property `group` + # @return [Google::Apis::ClouderrorreportingV1beta1::ErrorGroup] + attr_accessor :group + + # Approximate first occurrence that was ever seen for this group + # and which matches the given filter criteria, ignoring the + # time_range that was specified in the request. + # Corresponds to the JSON property `firstSeenTime` + # @return [String] + attr_accessor :first_seen_time + + # Approximate total number of events in the given group that match + # the filter criteria. + # Corresponds to the JSON property `count` + # @return [Fixnum] + attr_accessor :count + + # Approximate number of affected users in the given group that + # match the filter criteria. + # Users are distinguished by data in the `ErrorContext` of the + # individual error events, such as their login name or their remote + # IP address in case of HTTP requests. + # The number of affected users can be zero even if the number of + # errors is non-zero if no data was provided from which the + # affected user could be deduced. + # Users are counted based on data in the request + # context that was provided in the error report. If more users are + # implicitly affected, such as due to a crash of the whole service, + # this is not reflected here. + # Corresponds to the JSON property `affectedUsersCount` + # @return [Fixnum] + attr_accessor :affected_users_count + + # Approximate last occurrence that was ever seen for this group and + # which matches the given filter criteria, ignoring the time_range + # that was specified in the request. + # Corresponds to the JSON property `lastSeenTime` + # @return [String] + attr_accessor :last_seen_time + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @affected_services = args[:affected_services] if args.key?(:affected_services) + @num_affected_services = args[:num_affected_services] if args.key?(:num_affected_services) + @representative = args[:representative] if args.key?(:representative) + @timed_counts = args[:timed_counts] if args.key?(:timed_counts) + @group = args[:group] if args.key?(:group) + @first_seen_time = args[:first_seen_time] if args.key?(:first_seen_time) + @count = args[:count] if args.key?(:count) + @affected_users_count = args[:affected_users_count] if args.key?(:affected_users_count) + @last_seen_time = args[:last_seen_time] if args.key?(:last_seen_time) + end + end + + # Contains a set of requested error events. + class ListEventsResponse + include Google::Apis::Core::Hashable + + # The error events which match the given request. + # Corresponds to the JSON property `errorEvents` + # @return [Array] + attr_accessor :error_events + + # If non-empty, more results are available. + # Pass this token, along with the same query parameters as the first + # request, to view the next page of results. + # Corresponds to the JSON property `nextPageToken` + # @return [String] + attr_accessor :next_page_token + + # The timestamp specifies the start time to which the request was restricted. + # Corresponds to the JSON property `timeRangeBegin` + # @return [String] + attr_accessor :time_range_begin + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @error_events = args[:error_events] if args.key?(:error_events) + @next_page_token = args[:next_page_token] if args.key?(:next_page_token) + @time_range_begin = args[:time_range_begin] if args.key?(:time_range_begin) + end + end + + # The number of errors in a given time period. + # All numbers are approximate since the error events are sampled + # before counting them. + class TimedCount + include Google::Apis::Core::Hashable + + # End of the time period to which `count` refers (excluded). + # Corresponds to the JSON property `endTime` + # @return [String] + attr_accessor :end_time + + # Approximate number of occurrences in the given time period. + # Corresponds to the JSON property `count` + # @return [Fixnum] + attr_accessor :count + + # Start of the time period to which `count` refers (included). + # Corresponds to the JSON property `startTime` + # @return [String] + attr_accessor :start_time + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @end_time = args[:end_time] if args.key?(:end_time) + @count = args[:count] if args.key?(:count) + @start_time = args[:start_time] if args.key?(:start_time) + end + end + + # Description of a group of similar error events. + class ErrorGroup + include Google::Apis::Core::Hashable + + # Group IDs are unique for a given project. If the same kind of error + # occurs in different service contexts, it will receive the same group ID. + # Corresponds to the JSON property `groupId` + # @return [String] + attr_accessor :group_id + + # Associated tracking issues. + # Corresponds to the JSON property `trackingIssues` + # @return [Array] + attr_accessor :tracking_issues + + # The group resource name. + # Example: projects/my-project-123/groups/my-groupid + # Corresponds to the JSON property `name` + # @return [String] + attr_accessor :name + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @group_id = args[:group_id] if args.key?(:group_id) + @tracking_issues = args[:tracking_issues] if args.key?(:tracking_issues) + @name = args[:name] if args.key?(:name) + end + end + + # Describes a running service that sends errors. + # Its version changes over time and multiple versions can run in parallel. + class ServiceContext + include Google::Apis::Core::Hashable + + # An identifier of the service, such as the name of the + # executable, job, or Google App Engine service name. This field is expected + # to have a low number of values that are relatively stable over time, as + # opposed to `version`, which can be changed whenever new code is deployed. + # Contains the service name for error reports extracted from Google + # App Engine logs or `default` if the App Engine default service is used. + # Corresponds to the JSON property `service` + # @return [String] + attr_accessor :service + + # Type of the MonitoredResource. List of possible values: + # https://cloud.google.com/monitoring/api/resources + # Value is set automatically for incoming errors and must not be set when + # reporting errors. + # Corresponds to the JSON property `resourceType` + # @return [String] + attr_accessor :resource_type + + # Represents the source code version that the developer provided, + # which could represent a version label or a Git SHA-1 hash, for example. + # For App Engine standard environment, the version is set to the version of + # the app. + # Corresponds to the JSON property `version` + # @return [String] + attr_accessor :version + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @service = args[:service] if args.key?(:service) + @resource_type = args[:resource_type] if args.key?(:resource_type) + @version = args[:version] if args.key?(:version) + end + end + + # Indicates a location in the source code of the service for which errors are + # reported. `functionName` must be provided by the application when reporting + # an error, unless the error report contains a `message` with a supported + # exception stack trace. All fields are optional for the later case. + class SourceLocation + include Google::Apis::Core::Hashable + + # The source code filename, which can include a truncated relative + # path, or a full path from a production machine. + # Corresponds to the JSON property `filePath` + # @return [String] + attr_accessor :file_path + + # 1-based. 0 indicates that the line number is unknown. + # Corresponds to the JSON property `lineNumber` + # @return [Fixnum] + attr_accessor :line_number + + # Human-readable name of a function or method. + # The value can include optional context like the class or package name. + # For example, `my.package.MyClass.method` in case of Java. + # Corresponds to the JSON property `functionName` + # @return [String] + attr_accessor :function_name + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @file_path = args[:file_path] if args.key?(:file_path) + @line_number = args[:line_number] if args.key?(:line_number) + @function_name = args[:function_name] if args.key?(:function_name) + end + end + + # Response for reporting an individual error event. + # Data may be added to this message in the future. + class ReportErrorEventResponse + include Google::Apis::Core::Hashable + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + end + end + + # HTTP request data that is related to a reported error. + # This data should be provided by the application when reporting an error, + # unless the + # error report has been generated automatically from Google App Engine logs. + class HttpRequestContext + include Google::Apis::Core::Hashable + + # The type of HTTP request, such as `GET`, `POST`, etc. + # Corresponds to the JSON property `method` + # @return [String] + attr_accessor :method_prop + + # The IP address from which the request originated. + # This can be IPv4, IPv6, or a token which is derived from the + # IP address, depending on the data that has been provided + # in the error report. + # Corresponds to the JSON property `remoteIp` + # @return [String] + attr_accessor :remote_ip + + # The referrer information that is provided with the request. + # Corresponds to the JSON property `referrer` + # @return [String] + attr_accessor :referrer + + # The user agent information that is provided with the request. + # Corresponds to the JSON property `userAgent` + # @return [String] + attr_accessor :user_agent + + # The URL of the request. + # Corresponds to the JSON property `url` + # @return [String] + attr_accessor :url + + # The HTTP response status code for the request. + # Corresponds to the JSON property `responseStatusCode` + # @return [Fixnum] + attr_accessor :response_status_code + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @method_prop = args[:method_prop] if args.key?(:method_prop) + @remote_ip = args[:remote_ip] if args.key?(:remote_ip) + @referrer = args[:referrer] if args.key?(:referrer) + @user_agent = args[:user_agent] if args.key?(:user_agent) + @url = args[:url] if args.key?(:url) + @response_status_code = args[:response_status_code] if args.key?(:response_status_code) + end + end + + # Contains a set of requested error group stats. + class ListGroupStatsResponse + include Google::Apis::Core::Hashable + + # If non-empty, more results are available. + # Pass this token, along with the same query parameters as the first + # request, to view the next page of results. + # Corresponds to the JSON property `nextPageToken` + # @return [String] + attr_accessor :next_page_token + + # The timestamp specifies the start time to which the request was restricted. + # The start time is set based on the requested time range. It may be adjusted + # to a later time if a project has exceeded the storage quota and older data + # has been deleted. + # Corresponds to the JSON property `timeRangeBegin` + # @return [String] + attr_accessor :time_range_begin + + # The error group stats which match the given request. + # Corresponds to the JSON property `errorGroupStats` + # @return [Array] + attr_accessor :error_group_stats + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @next_page_token = args[:next_page_token] if args.key?(:next_page_token) + @time_range_begin = args[:time_range_begin] if args.key?(:time_range_begin) + @error_group_stats = args[:error_group_stats] if args.key?(:error_group_stats) + end + end + + # Response message for deleting error events. + class DeleteEventsResponse + include Google::Apis::Core::Hashable + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + end + end + + # An error event which is returned by the Error Reporting system. + class ErrorEvent + include Google::Apis::Core::Hashable + + # A description of the context in which an error occurred. + # This data should be provided by the application when reporting an error, + # unless the + # error report has been generated automatically from Google App Engine logs. + # Corresponds to the JSON property `context` + # @return [Google::Apis::ClouderrorreportingV1beta1::ErrorContext] + attr_accessor :context + + # The stack trace that was reported or logged by the service. + # Corresponds to the JSON property `message` + # @return [String] + attr_accessor :message + + # Describes a running service that sends errors. + # Its version changes over time and multiple versions can run in parallel. + # Corresponds to the JSON property `serviceContext` + # @return [Google::Apis::ClouderrorreportingV1beta1::ServiceContext] + attr_accessor :service_context + + # Time when the event occurred as provided in the error report. + # If the report did not contain a timestamp, the time the error was received + # by the Error Reporting system is used. + # Corresponds to the JSON property `eventTime` + # @return [String] + attr_accessor :event_time + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @context = args[:context] if args.key?(:context) + @message = args[:message] if args.key?(:message) + @service_context = args[:service_context] if args.key?(:service_context) + @event_time = args[:event_time] if args.key?(:event_time) + end + end end end end diff --git a/generated/google/apis/clouderrorreporting_v1beta1/representations.rb b/generated/google/apis/clouderrorreporting_v1beta1/representations.rb index 58dd05ab7..133044d1f 100644 --- a/generated/google/apis/clouderrorreporting_v1beta1/representations.rb +++ b/generated/google/apis/clouderrorreporting_v1beta1/representations.rb @@ -22,6 +22,24 @@ module Google module Apis module ClouderrorreportingV1beta1 + class ReportedErrorEvent + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class ErrorContext + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class TrackingIssue + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + class ErrorGroupStats class Representation < Google::Apis::Core::JsonRepresentation; end @@ -89,49 +107,61 @@ module Google end class ReportedErrorEvent - class Representation < Google::Apis::Core::JsonRepresentation; end + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :context, as: 'context', class: Google::Apis::ClouderrorreportingV1beta1::ErrorContext, decorator: Google::Apis::ClouderrorreportingV1beta1::ErrorContext::Representation - include Google::Apis::Core::JsonObjectSupport + property :message, as: 'message' + property :service_context, as: 'serviceContext', class: Google::Apis::ClouderrorreportingV1beta1::ServiceContext, decorator: Google::Apis::ClouderrorreportingV1beta1::ServiceContext::Representation + + property :event_time, as: 'eventTime' + end end class ErrorContext - class Representation < Google::Apis::Core::JsonRepresentation; end + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :report_location, as: 'reportLocation', class: Google::Apis::ClouderrorreportingV1beta1::SourceLocation, decorator: Google::Apis::ClouderrorreportingV1beta1::SourceLocation::Representation - include Google::Apis::Core::JsonObjectSupport + property :http_request, as: 'httpRequest', class: Google::Apis::ClouderrorreportingV1beta1::HttpRequestContext, decorator: Google::Apis::ClouderrorreportingV1beta1::HttpRequestContext::Representation + + property :user, as: 'user' + end end class TrackingIssue - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :url, as: 'url' + end end class ErrorGroupStats # @private class Representation < Google::Apis::Core::JsonRepresentation - property :group, as: 'group', class: Google::Apis::ClouderrorreportingV1beta1::ErrorGroup, decorator: Google::Apis::ClouderrorreportingV1beta1::ErrorGroup::Representation - - property :first_seen_time, as: 'firstSeenTime' - property :count, as: 'count' - property :affected_users_count, as: 'affectedUsersCount' - property :last_seen_time, as: 'lastSeenTime' - property :num_affected_services, as: 'numAffectedServices' collection :affected_services, as: 'affectedServices', class: Google::Apis::ClouderrorreportingV1beta1::ServiceContext, decorator: Google::Apis::ClouderrorreportingV1beta1::ServiceContext::Representation + property :num_affected_services, as: 'numAffectedServices' property :representative, as: 'representative', class: Google::Apis::ClouderrorreportingV1beta1::ErrorEvent, decorator: Google::Apis::ClouderrorreportingV1beta1::ErrorEvent::Representation collection :timed_counts, as: 'timedCounts', class: Google::Apis::ClouderrorreportingV1beta1::TimedCount, decorator: Google::Apis::ClouderrorreportingV1beta1::TimedCount::Representation + property :group, as: 'group', class: Google::Apis::ClouderrorreportingV1beta1::ErrorGroup, decorator: Google::Apis::ClouderrorreportingV1beta1::ErrorGroup::Representation + + property :first_seen_time, as: 'firstSeenTime' + property :count, :numeric_string => true, as: 'count' + property :affected_users_count, :numeric_string => true, as: 'affectedUsersCount' + property :last_seen_time, as: 'lastSeenTime' end end class ListEventsResponse # @private class Representation < Google::Apis::Core::JsonRepresentation - property :time_range_begin, as: 'timeRangeBegin' collection :error_events, as: 'errorEvents', class: Google::Apis::ClouderrorreportingV1beta1::ErrorEvent, decorator: Google::Apis::ClouderrorreportingV1beta1::ErrorEvent::Representation property :next_page_token, as: 'nextPageToken' + property :time_range_begin, as: 'timeRangeBegin' end end @@ -139,7 +169,7 @@ module Google # @private class Representation < Google::Apis::Core::JsonRepresentation property :end_time, as: 'endTime' - property :count, as: 'count' + property :count, :numeric_string => true, as: 'count' property :start_time, as: 'startTime' end end @@ -147,28 +177,28 @@ module Google class ErrorGroup # @private class Representation < Google::Apis::Core::JsonRepresentation - property :name, as: 'name' property :group_id, as: 'groupId' collection :tracking_issues, as: 'trackingIssues', class: Google::Apis::ClouderrorreportingV1beta1::TrackingIssue, decorator: Google::Apis::ClouderrorreportingV1beta1::TrackingIssue::Representation + property :name, as: 'name' end end class ServiceContext # @private class Representation < Google::Apis::Core::JsonRepresentation - property :version, as: 'version' property :service, as: 'service' property :resource_type, as: 'resourceType' + property :version, as: 'version' end end class SourceLocation # @private class Representation < Google::Apis::Core::JsonRepresentation - property :function_name, as: 'functionName' property :file_path, as: 'filePath' property :line_number, as: 'lineNumber' + property :function_name, as: 'functionName' end end @@ -181,22 +211,22 @@ module Google class HttpRequestContext # @private class Representation < Google::Apis::Core::JsonRepresentation + property :method_prop, as: 'method' + property :remote_ip, as: 'remoteIp' property :referrer, as: 'referrer' property :user_agent, as: 'userAgent' property :url, as: 'url' property :response_status_code, as: 'responseStatusCode' - property :method_prop, as: 'method' - property :remote_ip, as: 'remoteIp' end end class ListGroupStatsResponse # @private class Representation < Google::Apis::Core::JsonRepresentation + property :next_page_token, as: 'nextPageToken' property :time_range_begin, as: 'timeRangeBegin' collection :error_group_stats, as: 'errorGroupStats', class: Google::Apis::ClouderrorreportingV1beta1::ErrorGroupStats, decorator: Google::Apis::ClouderrorreportingV1beta1::ErrorGroupStats::Representation - property :next_page_token, as: 'nextPageToken' end end @@ -217,36 +247,6 @@ module Google property :event_time, as: 'eventTime' end end - - class ReportedErrorEvent - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :context, as: 'context', class: Google::Apis::ClouderrorreportingV1beta1::ErrorContext, decorator: Google::Apis::ClouderrorreportingV1beta1::ErrorContext::Representation - - property :message, as: 'message' - property :service_context, as: 'serviceContext', class: Google::Apis::ClouderrorreportingV1beta1::ServiceContext, decorator: Google::Apis::ClouderrorreportingV1beta1::ServiceContext::Representation - - property :event_time, as: 'eventTime' - end - end - - class ErrorContext - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :http_request, as: 'httpRequest', class: Google::Apis::ClouderrorreportingV1beta1::HttpRequestContext, decorator: Google::Apis::ClouderrorreportingV1beta1::HttpRequestContext::Representation - - property :user, as: 'user' - property :report_location, as: 'reportLocation', class: Google::Apis::ClouderrorreportingV1beta1::SourceLocation, decorator: Google::Apis::ClouderrorreportingV1beta1::SourceLocation::Representation - - end - end - - class TrackingIssue - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :url, as: 'url' - end - end end end end diff --git a/generated/google/apis/clouderrorreporting_v1beta1/service.rb b/generated/google/apis/clouderrorreporting_v1beta1/service.rb index 42da9f6a6..81140985d 100644 --- a/generated/google/apis/clouderrorreporting_v1beta1/service.rb +++ b/generated/google/apis/clouderrorreporting_v1beta1/service.rb @@ -46,6 +46,7 @@ module Google def initialize super('https://clouderrorreporting.googleapis.com/', '') + @batch_path = 'batch' end # Deletes all error events of a given project. @@ -82,67 +83,6 @@ module Google execute_or_queue_command(command, &block) end - # Lists the specified events. - # @param [String] project_name - # [Required] The resource name of the Google Cloud Platform project. Written - # as `projects/` plus the - # [Google Cloud Platform project - # ID](https://support.google.com/cloud/answer/6158840). - # Example: `projects/my-project-123`. - # @param [String] service_filter_service - # [Optional] The exact value to match against - # [`ServiceContext.service`](/error-reporting/reference/rest/v1beta1/ - # ServiceContext#FIELDS.service). - # @param [String] page_token - # [Optional] A `next_page_token` provided by a previous response. - # @param [Fixnum] page_size - # [Optional] The maximum number of results to return per response. - # @param [String] service_filter_version - # [Optional] The exact value to match against - # [`ServiceContext.version`](/error-reporting/reference/rest/v1beta1/ - # ServiceContext#FIELDS.version). - # @param [String] service_filter_resource_type - # [Optional] The exact value to match against - # [`ServiceContext.resource_type`](/error-reporting/reference/rest/v1beta1/ - # ServiceContext#FIELDS.resource_type). - # @param [String] time_range_period - # Restricts the query to the specified time range. - # @param [String] group_id - # [Required] The group for which events shall be returned. - # @param [String] fields - # Selector specifying which fields to include in a partial response. - # @param [String] quota_user - # Available to use for quota purposes for server-side applications. Can be any - # arbitrary string assigned to a user, but should not exceed 40 characters. - # @param [Google::Apis::RequestOptions] options - # Request-specific options - # - # @yield [result, err] Result & error if block supplied - # @yieldparam result [Google::Apis::ClouderrorreportingV1beta1::ListEventsResponse] parsed result object - # @yieldparam err [StandardError] error object if request failed - # - # @return [Google::Apis::ClouderrorreportingV1beta1::ListEventsResponse] - # - # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried - # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification - # @raise [Google::Apis::AuthorizationError] Authorization is required - def list_project_events(project_name, service_filter_service: nil, page_token: nil, page_size: nil, service_filter_version: nil, service_filter_resource_type: nil, time_range_period: nil, group_id: nil, fields: nil, quota_user: nil, options: nil, &block) - command = make_simple_command(:get, 'v1beta1/{+projectName}/events', options) - command.response_representation = Google::Apis::ClouderrorreportingV1beta1::ListEventsResponse::Representation - command.response_class = Google::Apis::ClouderrorreportingV1beta1::ListEventsResponse - command.params['projectName'] = project_name unless project_name.nil? - command.query['serviceFilter.service'] = service_filter_service unless service_filter_service.nil? - command.query['pageToken'] = page_token unless page_token.nil? - command.query['pageSize'] = page_size unless page_size.nil? - command.query['serviceFilter.version'] = service_filter_version unless service_filter_version.nil? - command.query['serviceFilter.resourceType'] = service_filter_resource_type unless service_filter_resource_type.nil? - command.query['timeRange.period'] = time_range_period unless time_range_period.nil? - command.query['groupId'] = group_id unless group_id.nil? - command.query['fields'] = fields unless fields.nil? - command.query['quotaUser'] = quota_user unless quota_user.nil? - execute_or_queue_command(command, &block) - end - # Report an individual error event. # This endpoint accepts either an OAuth token, # or an @@ -187,6 +127,67 @@ module Google execute_or_queue_command(command, &block) end + # Lists the specified events. + # @param [String] project_name + # [Required] The resource name of the Google Cloud Platform project. Written + # as `projects/` plus the + # [Google Cloud Platform project + # ID](https://support.google.com/cloud/answer/6158840). + # Example: `projects/my-project-123`. + # @param [String] group_id + # [Required] The group for which events shall be returned. + # @param [String] service_filter_service + # [Optional] The exact value to match against + # [`ServiceContext.service`](/error-reporting/reference/rest/v1beta1/ + # ServiceContext#FIELDS.service). + # @param [String] page_token + # [Optional] A `next_page_token` provided by a previous response. + # @param [Fixnum] page_size + # [Optional] The maximum number of results to return per response. + # @param [String] service_filter_version + # [Optional] The exact value to match against + # [`ServiceContext.version`](/error-reporting/reference/rest/v1beta1/ + # ServiceContext#FIELDS.version). + # @param [String] service_filter_resource_type + # [Optional] The exact value to match against + # [`ServiceContext.resource_type`](/error-reporting/reference/rest/v1beta1/ + # ServiceContext#FIELDS.resource_type). + # @param [String] time_range_period + # Restricts the query to the specified time range. + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # Available to use for quota purposes for server-side applications. Can be any + # arbitrary string assigned to a user, but should not exceed 40 characters. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::ClouderrorreportingV1beta1::ListEventsResponse] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::ClouderrorreportingV1beta1::ListEventsResponse] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def list_project_events(project_name, group_id: nil, service_filter_service: nil, page_token: nil, page_size: nil, service_filter_version: nil, service_filter_resource_type: nil, time_range_period: nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:get, 'v1beta1/{+projectName}/events', options) + command.response_representation = Google::Apis::ClouderrorreportingV1beta1::ListEventsResponse::Representation + command.response_class = Google::Apis::ClouderrorreportingV1beta1::ListEventsResponse + command.params['projectName'] = project_name unless project_name.nil? + command.query['groupId'] = group_id unless group_id.nil? + command.query['serviceFilter.service'] = service_filter_service unless service_filter_service.nil? + command.query['pageToken'] = page_token unless page_token.nil? + command.query['pageSize'] = page_size unless page_size.nil? + command.query['serviceFilter.version'] = service_filter_version unless service_filter_version.nil? + command.query['serviceFilter.resourceType'] = service_filter_resource_type unless service_filter_resource_type.nil? + command.query['timeRange.period'] = time_range_period unless time_range_period.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + execute_or_queue_command(command, &block) + end + # Get the specified group. # @param [String] group_name # [Required] The group resource name. Written as @@ -265,6 +266,10 @@ module Google # Google Cloud # Platform project ID. # Example: projects/my-project-123. + # @param [String] page_token + # [Optional] A `next_page_token` provided by a previous response. To view + # additional results, pass this token along with the identical query + # parameters as the first request. # @param [String] time_range_period # Restricts the query to the specified time range. # @param [String] alignment @@ -286,20 +291,16 @@ module Google # [Optional] The exact value to match against # [`ServiceContext.version`](/error-reporting/reference/rest/v1beta1/ # ServiceContext#FIELDS.version). + # @param [String] alignment_time + # [Optional] Time where the timed counts shall be aligned if rounded + # alignment is chosen. Default is 00:00 UTC. # @param [String] service_filter_resource_type # [Optional] The exact value to match against # [`ServiceContext.resource_type`](/error-reporting/reference/rest/v1beta1/ # ServiceContext#FIELDS.resource_type). - # @param [String] alignment_time - # [Optional] Time where the timed counts shall be aligned if rounded - # alignment is chosen. Default is 00:00 UTC. # @param [String] timed_count_duration # [Optional] The preferred duration for a single returned `TimedCount`. # If not set, no timed counts are returned. - # @param [String] page_token - # [Optional] A `next_page_token` provided by a previous response. To view - # additional results, pass this token along with the identical query - # parameters as the first request. # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user @@ -317,11 +318,12 @@ module Google # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required - def list_project_group_stats(project_name, time_range_period: nil, alignment: nil, group_id: nil, service_filter_service: nil, page_size: nil, order: nil, service_filter_version: nil, service_filter_resource_type: nil, alignment_time: nil, timed_count_duration: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block) + def list_project_group_stats(project_name, page_token: nil, time_range_period: nil, alignment: nil, group_id: nil, service_filter_service: nil, page_size: nil, order: nil, service_filter_version: nil, alignment_time: nil, service_filter_resource_type: nil, timed_count_duration: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1beta1/{+projectName}/groupStats', options) command.response_representation = Google::Apis::ClouderrorreportingV1beta1::ListGroupStatsResponse::Representation command.response_class = Google::Apis::ClouderrorreportingV1beta1::ListGroupStatsResponse command.params['projectName'] = project_name unless project_name.nil? + command.query['pageToken'] = page_token unless page_token.nil? command.query['timeRange.period'] = time_range_period unless time_range_period.nil? command.query['alignment'] = alignment unless alignment.nil? command.query['groupId'] = group_id unless group_id.nil? @@ -329,10 +331,9 @@ module Google command.query['pageSize'] = page_size unless page_size.nil? command.query['order'] = order unless order.nil? command.query['serviceFilter.version'] = service_filter_version unless service_filter_version.nil? - command.query['serviceFilter.resourceType'] = service_filter_resource_type unless service_filter_resource_type.nil? command.query['alignmentTime'] = alignment_time unless alignment_time.nil? + command.query['serviceFilter.resourceType'] = service_filter_resource_type unless service_filter_resource_type.nil? command.query['timedCountDuration'] = timed_count_duration unless timed_count_duration.nil? - command.query['pageToken'] = page_token unless page_token.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) diff --git a/generated/google/apis/cloudfunctions_v1/classes.rb b/generated/google/apis/cloudfunctions_v1/classes.rb index fabf9dad2..4690b7dfa 100644 --- a/generated/google/apis/cloudfunctions_v1/classes.rb +++ b/generated/google/apis/cloudfunctions_v1/classes.rb @@ -66,12 +66,6 @@ module Google class OperationMetadataV1Beta2 include Google::Apis::Core::Hashable - # Target of the operation - for example - # projects/project-1/locations/region-1/functions/function-1 - # Corresponds to the JSON property `target` - # @return [String] - attr_accessor :target - # The original request that started the operation. # Corresponds to the JSON property `request` # @return [Hash] @@ -82,15 +76,21 @@ module Google # @return [String] attr_accessor :type + # Target of the operation - for example + # projects/project-1/locations/region-1/functions/function-1 + # Corresponds to the JSON property `target` + # @return [String] + attr_accessor :target + def initialize(**args) update!(**args) end # Update properties of this object def update!(**args) - @target = args[:target] if args.key?(:target) @request = args[:request] if args.key?(:request) @type = args[:type] if args.key?(:type) + @target = args[:target] if args.key?(:target) end end end diff --git a/generated/google/apis/cloudfunctions_v1/representations.rb b/generated/google/apis/cloudfunctions_v1/representations.rb index 5d71906f8..a95dc029a 100644 --- a/generated/google/apis/cloudfunctions_v1/representations.rb +++ b/generated/google/apis/cloudfunctions_v1/representations.rb @@ -47,9 +47,9 @@ module Google class OperationMetadataV1Beta2 # @private class Representation < Google::Apis::Core::JsonRepresentation - property :target, as: 'target' hash :request, as: 'request' property :type, as: 'type' + property :target, as: 'target' end end end diff --git a/generated/google/apis/cloudfunctions_v1/service.rb b/generated/google/apis/cloudfunctions_v1/service.rb index a33993953..432e27d78 100644 --- a/generated/google/apis/cloudfunctions_v1/service.rb +++ b/generated/google/apis/cloudfunctions_v1/service.rb @@ -45,16 +45,17 @@ module Google def initialize super('https://cloudfunctions.googleapis.com/', '') + @batch_path = 'batch' end # Get information about a location. # @param [String] name # Resource name for the location. - # @param [String] fields - # Selector specifying which fields to include in a partial response. # @param [String] quota_user # Available to use for quota purposes for server-side applications. Can be any # arbitrary string assigned to a user, but should not exceed 40 characters. + # @param [String] fields + # Selector specifying which fields to include in a partial response. # @param [Google::Apis::RequestOptions] options # Request-specific options # @@ -67,13 +68,13 @@ module Google # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required - def get_project_location(name, fields: nil, quota_user: nil, options: nil, &block) + def get_project_location(name, quota_user: nil, fields: nil, options: nil, &block) command = make_simple_command(:get, 'v1/{+name}', options) command.response_representation = Google::Apis::CloudfunctionsV1::Location::Representation command.response_class = Google::Apis::CloudfunctionsV1::Location command.params['name'] = name unless name.nil? - command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? + command.query['fields'] = fields unless fields.nil? execute_or_queue_command(command, &block) end diff --git a/generated/google/apis/cloudkms_v1/classes.rb b/generated/google/apis/cloudkms_v1/classes.rb index 616aa511a..04aa896bc 100644 --- a/generated/google/apis/cloudkms_v1/classes.rb +++ b/generated/google/apis/cloudkms_v1/classes.rb @@ -22,124 +22,6 @@ module Google module Apis module CloudkmsV1 - # A condition to be met. - class Condition - include Google::Apis::Core::Hashable - - # An operator to apply the subject with. - # Corresponds to the JSON property `op` - # @return [String] - attr_accessor :op - - # Trusted attributes discharged by the service. - # Corresponds to the JSON property `svc` - # @return [String] - attr_accessor :svc - - # Trusted attributes supplied by any service that owns resources and uses - # the IAM system for access control. - # Corresponds to the JSON property `sys` - # @return [String] - attr_accessor :sys - - # DEPRECATED. Use 'values' instead. - # Corresponds to the JSON property `value` - # @return [String] - attr_accessor :value - - # The objects of the condition. This is mutually exclusive with 'value'. - # Corresponds to the JSON property `values` - # @return [Array] - attr_accessor :values - - # Trusted attributes supplied by the IAM system. - # Corresponds to the JSON property `iam` - # @return [String] - attr_accessor :iam - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @op = args[:op] if args.key?(:op) - @svc = args[:svc] if args.key?(:svc) - @sys = args[:sys] if args.key?(:sys) - @value = args[:value] if args.key?(:value) - @values = args[:values] if args.key?(:values) - @iam = args[:iam] if args.key?(:iam) - end - end - - # Options for counters - class CounterOptions - include Google::Apis::Core::Hashable - - # The metric to update. - # Corresponds to the JSON property `metric` - # @return [String] - attr_accessor :metric - - # The field value to attribute. - # Corresponds to the JSON property `field` - # @return [String] - attr_accessor :field - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @metric = args[:metric] if args.key?(:metric) - @field = args[:field] if args.key?(:field) - end - end - - # Provides the configuration for logging a type of permissions. - # Example: - # ` - # "audit_log_configs": [ - # ` - # "log_type": "DATA_READ", - # "exempted_members": [ - # "user:foo@gmail.com" - # ] - # `, - # ` - # "log_type": "DATA_WRITE", - # ` - # ] - # ` - # This enables 'DATA_READ' and 'DATA_WRITE' logging, while exempting - # foo@gmail.com from DATA_READ logging. - class AuditLogConfig - include Google::Apis::Core::Hashable - - # Specifies the identities that do not cause logging for this type of - # permission. - # Follows the same format of Binding.members. - # Corresponds to the JSON property `exemptedMembers` - # @return [Array] - attr_accessor :exempted_members - - # The log type that this config enables. - # Corresponds to the JSON property `logType` - # @return [String] - attr_accessor :log_type - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @exempted_members = args[:exempted_members] if args.key?(:exempted_members) - @log_type = args[:log_type] if args.key?(:log_type) - end - end - # Response message for KeyManagementService.Decrypt. class DecryptResponse include Google::Apis::Core::Hashable @@ -182,58 +64,6 @@ module Google end end - # A KeyRing is a toplevel logical grouping of CryptoKeys. - class KeyRing - include Google::Apis::Core::Hashable - - # Output only. The resource name for the KeyRing in the format - # `projects/*/locations/*/keyRings/*`. - # Corresponds to the JSON property `name` - # @return [String] - attr_accessor :name - - # Output only. The time at which this KeyRing was created. - # Corresponds to the JSON property `createTime` - # @return [String] - attr_accessor :create_time - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @name = args[:name] if args.key?(:name) - @create_time = args[:create_time] if args.key?(:create_time) - end - end - - # Response message for KeyManagementService.Encrypt. - class EncryptResponse - include Google::Apis::Core::Hashable - - # The encrypted data. - # Corresponds to the JSON property `ciphertext` - # NOTE: Values are automatically base64 encoded/decoded in the client library. - # @return [String] - attr_accessor :ciphertext - - # The resource name of the CryptoKeyVersion used in encryption. - # Corresponds to the JSON property `name` - # @return [String] - attr_accessor :name - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @ciphertext = args[:ciphertext] if args.key?(:ciphertext) - @name = args[:name] if args.key?(:name) - end - end - # The response message for Locations.ListLocations. class ListLocationsResponse include Google::Apis::Core::Hashable @@ -288,6 +118,20 @@ module Google class Policy include Google::Apis::Core::Hashable + # `etag` is used for optimistic concurrency control as a way to help + # prevent simultaneous updates of a policy from overwriting each other. + # It is strongly suggested that systems make use of the `etag` in the + # read-modify-write cycle to perform policy updates in order to avoid race + # conditions: An `etag` is returned in the response to `getIamPolicy`, and + # systems are expected to put that etag in the request to `setIamPolicy` to + # ensure that their change will be applied to the same version of the policy. + # If no `etag` is provided in the call to `setIamPolicy`, then the existing + # policy is overwritten blindly. + # Corresponds to the JSON property `etag` + # NOTE: Values are automatically base64 encoded/decoded in the client library. + # @return [String] + attr_accessor :etag + # # Corresponds to the JSON property `iamOwned` # @return [Boolean] @@ -324,19 +168,35 @@ module Google # @return [Array] attr_accessor :bindings - # `etag` is used for optimistic concurrency control as a way to help - # prevent simultaneous updates of a policy from overwriting each other. - # It is strongly suggested that systems make use of the `etag` in the - # read-modify-write cycle to perform policy updates in order to avoid race - # conditions: An `etag` is returned in the response to `getIamPolicy`, and - # systems are expected to put that etag in the request to `setIamPolicy` to - # ensure that their change will be applied to the same version of the policy. - # If no `etag` is provided in the call to `setIamPolicy`, then the existing - # policy is overwritten blindly. - # Corresponds to the JSON property `etag` + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @etag = args[:etag] if args.key?(:etag) + @iam_owned = args[:iam_owned] if args.key?(:iam_owned) + @rules = args[:rules] if args.key?(:rules) + @version = args[:version] if args.key?(:version) + @audit_configs = args[:audit_configs] if args.key?(:audit_configs) + @bindings = args[:bindings] if args.key?(:bindings) + end + end + + # Response message for KeyManagementService.Encrypt. + class EncryptResponse + include Google::Apis::Core::Hashable + + # The resource name of the CryptoKeyVersion used in encryption. + # Corresponds to the JSON property `name` + # @return [String] + attr_accessor :name + + # The encrypted data. + # Corresponds to the JSON property `ciphertext` # NOTE: Values are automatically base64 encoded/decoded in the client library. # @return [String] - attr_accessor :etag + attr_accessor :ciphertext def initialize(**args) update!(**args) @@ -344,12 +204,34 @@ module Google # Update properties of this object def update!(**args) - @iam_owned = args[:iam_owned] if args.key?(:iam_owned) - @rules = args[:rules] if args.key?(:rules) - @version = args[:version] if args.key?(:version) - @audit_configs = args[:audit_configs] if args.key?(:audit_configs) - @bindings = args[:bindings] if args.key?(:bindings) - @etag = args[:etag] if args.key?(:etag) + @name = args[:name] if args.key?(:name) + @ciphertext = args[:ciphertext] if args.key?(:ciphertext) + end + end + + # A KeyRing is a toplevel logical grouping of CryptoKeys. + class KeyRing + include Google::Apis::Core::Hashable + + # Output only. The time at which this KeyRing was created. + # Corresponds to the JSON property `createTime` + # @return [String] + attr_accessor :create_time + + # Output only. The resource name for the KeyRing in the format + # `projects/*/locations/*/keyRings/*`. + # Corresponds to the JSON property `name` + # @return [String] + attr_accessor :name + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @create_time = args[:create_time] if args.key?(:create_time) + @name = args[:name] if args.key?(:name) end end @@ -385,6 +267,19 @@ module Google end end + # Write a Data Access (Gin) log + class DataAccessOptions + include Google::Apis::Core::Hashable + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + end + end + # Response message for KeyManagementService.ListKeyRings. class ListKeyRingsResponse include Google::Apis::Core::Hashable @@ -417,19 +312,6 @@ module Google end end - # Write a Data Access (Gin) log - class DataAccessOptions - include Google::Apis::Core::Hashable - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - end - end - # Specifies the audit configuration for a service. # The configuration determines which permission types are logged, and what # identities, if any, are exempted from logging. @@ -518,6 +400,18 @@ module Google class CryptoKeyVersion include Google::Apis::Core::Hashable + # Output only. The time this CryptoKeyVersion's key material is scheduled + # for destruction. Only present if state is + # DESTROY_SCHEDULED. + # Corresponds to the JSON property `destroyTime` + # @return [String] + attr_accessor :destroy_time + + # Output only. The time at which this CryptoKeyVersion was created. + # Corresponds to the JSON property `createTime` + # @return [String] + attr_accessor :create_time + # The current state of the CryptoKeyVersion. # Corresponds to the JSON property `state` # @return [String] @@ -536,29 +430,17 @@ module Google # @return [String] attr_accessor :destroy_event_time - # Output only. The time this CryptoKeyVersion's key material is scheduled - # for destruction. Only present if state is - # DESTROY_SCHEDULED. - # Corresponds to the JSON property `destroyTime` - # @return [String] - attr_accessor :destroy_time - - # Output only. The time at which this CryptoKeyVersion was created. - # Corresponds to the JSON property `createTime` - # @return [String] - attr_accessor :create_time - def initialize(**args) update!(**args) end # Update properties of this object def update!(**args) + @destroy_time = args[:destroy_time] if args.key?(:destroy_time) + @create_time = args[:create_time] if args.key?(:create_time) @state = args[:state] if args.key?(:state) @name = args[:name] if args.key?(:name) @destroy_event_time = args[:destroy_event_time] if args.key?(:destroy_event_time) - @destroy_time = args[:destroy_time] if args.key?(:destroy_time) - @create_time = args[:create_time] if args.key?(:create_time) end end @@ -648,11 +530,6 @@ module Google class ListCryptoKeyVersionsResponse include Google::Apis::Core::Hashable - # The list of CryptoKeyVersions. - # Corresponds to the JSON property `cryptoKeyVersions` - # @return [Array] - attr_accessor :crypto_key_versions - # A token to retrieve next page of results. Pass this value in # ListCryptoKeyVersionsRequest.page_token to retrieve the next page of # results. @@ -666,15 +543,20 @@ module Google # @return [Fixnum] attr_accessor :total_size + # The list of CryptoKeyVersions. + # Corresponds to the JSON property `cryptoKeyVersions` + # @return [Array] + attr_accessor :crypto_key_versions + def initialize(**args) update!(**args) end # Update properties of this object def update!(**args) - @crypto_key_versions = args[:crypto_key_versions] if args.key?(:crypto_key_versions) @next_page_token = args[:next_page_token] if args.key?(:next_page_token) @total_size = args[:total_size] if args.key?(:total_size) + @crypto_key_versions = args[:crypto_key_versions] if args.key?(:crypto_key_versions) end end @@ -711,18 +593,76 @@ module Google end end + # A CryptoKey represents a logical key that can be used for cryptographic + # operations. + # A CryptoKey is made up of one or more versions, which + # represent the actual key material used in cryptographic operations. + class CryptoKey + include Google::Apis::Core::Hashable + + # A CryptoKeyVersion represents an individual cryptographic key, and the + # associated key material. + # It can be used for cryptographic operations either directly, or via its + # parent CryptoKey, in which case the server will choose the appropriate + # version for the operation. + # Corresponds to the JSON property `primary` + # @return [Google::Apis::CloudkmsV1::CryptoKeyVersion] + attr_accessor :primary + + # Output only. The resource name for this CryptoKey in the format + # `projects/*/locations/*/keyRings/*/cryptoKeys/*`. + # Corresponds to the JSON property `name` + # @return [String] + attr_accessor :name + + # The immutable purpose of this CryptoKey. Currently, the only acceptable + # purpose is ENCRYPT_DECRYPT. + # Corresponds to the JSON property `purpose` + # @return [String] + attr_accessor :purpose + + # At next_rotation_time, the Key Management Service will automatically: + # 1. Create a new version of this CryptoKey. + # 2. Mark the new version as primary. + # Key rotations performed manually via + # CreateCryptoKeyVersion and + # UpdateCryptoKeyPrimaryVersion + # do not affect next_rotation_time. + # Corresponds to the JSON property `nextRotationTime` + # @return [String] + attr_accessor :next_rotation_time + + # Output only. The time at which this CryptoKey was created. + # Corresponds to the JSON property `createTime` + # @return [String] + attr_accessor :create_time + + # next_rotation_time will be advanced by this period when the service + # automatically rotates a key. Must be at least one day. + # If rotation_period is set, next_rotation_time must also be set. + # Corresponds to the JSON property `rotationPeriod` + # @return [String] + attr_accessor :rotation_period + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @primary = args[:primary] if args.key?(:primary) + @name = args[:name] if args.key?(:name) + @purpose = args[:purpose] if args.key?(:purpose) + @next_rotation_time = args[:next_rotation_time] if args.key?(:next_rotation_time) + @create_time = args[:create_time] if args.key?(:create_time) + @rotation_period = args[:rotation_period] if args.key?(:rotation_period) + end + end + # A rule to be applied in a Policy. class Rule include Google::Apis::Core::Hashable - # If one or more 'not_in' clauses are specified, the rule matches - # if the PRINCIPAL/AUTHORITY_SELECTOR is in none of the entries. - # The format for in and not_in entries is the same as for members in a - # Binding (see google/iam/v1/policy.proto). - # Corresponds to the JSON property `notIn` - # @return [Array] - attr_accessor :not_in - # Human-readable description of the rule. # Corresponds to the JSON property `description` # @return [String] @@ -757,85 +697,27 @@ module Google # @return [String] attr_accessor :action + # If one or more 'not_in' clauses are specified, the rule matches + # if the PRINCIPAL/AUTHORITY_SELECTOR is in none of the entries. + # The format for in and not_in entries is the same as for members in a + # Binding (see google/iam/v1/policy.proto). + # Corresponds to the JSON property `notIn` + # @return [Array] + attr_accessor :not_in + def initialize(**args) update!(**args) end # Update properties of this object def update!(**args) - @not_in = args[:not_in] if args.key?(:not_in) @description = args[:description] if args.key?(:description) @conditions = args[:conditions] if args.key?(:conditions) @log_config = args[:log_config] if args.key?(:log_config) @in = args[:in] if args.key?(:in) @permissions = args[:permissions] if args.key?(:permissions) @action = args[:action] if args.key?(:action) - end - end - - # A CryptoKey represents a logical key that can be used for cryptographic - # operations. - # A CryptoKey is made up of one or more versions, which - # represent the actual key material used in cryptographic operations. - class CryptoKey - include Google::Apis::Core::Hashable - - # The immutable purpose of this CryptoKey. Currently, the only acceptable - # purpose is ENCRYPT_DECRYPT. - # Corresponds to the JSON property `purpose` - # @return [String] - attr_accessor :purpose - - # At next_rotation_time, the Key Management Service will automatically: - # 1. Create a new version of this CryptoKey. - # 2. Mark the new version as primary. - # Key rotations performed manually via - # CreateCryptoKeyVersion and - # UpdateCryptoKeyPrimaryVersion - # do not affect next_rotation_time. - # Corresponds to the JSON property `nextRotationTime` - # @return [String] - attr_accessor :next_rotation_time - - # Output only. The time at which this CryptoKey was created. - # Corresponds to the JSON property `createTime` - # @return [String] - attr_accessor :create_time - - # next_rotation_time will be advanced by this period when the service - # automatically rotates a key. Must be at least one day. - # If rotation_period is set, next_rotation_time must also be set. - # Corresponds to the JSON property `rotationPeriod` - # @return [String] - attr_accessor :rotation_period - - # A CryptoKeyVersion represents an individual cryptographic key, and the - # associated key material. - # It can be used for cryptographic operations either directly, or via its - # parent CryptoKey, in which case the server will choose the appropriate - # version for the operation. - # Corresponds to the JSON property `primary` - # @return [Google::Apis::CloudkmsV1::CryptoKeyVersion] - attr_accessor :primary - - # Output only. The resource name for this CryptoKey in the format - # `projects/*/locations/*/keyRings/*/cryptoKeys/*`. - # Corresponds to the JSON property `name` - # @return [String] - attr_accessor :name - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @purpose = args[:purpose] if args.key?(:purpose) - @next_rotation_time = args[:next_rotation_time] if args.key?(:next_rotation_time) - @create_time = args[:create_time] if args.key?(:create_time) - @rotation_period = args[:rotation_period] if args.key?(:rotation_period) - @primary = args[:primary] if args.key?(:primary) - @name = args[:name] if args.key?(:name) + @not_in = args[:not_in] if args.key?(:not_in) end end @@ -874,6 +756,15 @@ module Google class SetIamPolicyRequest include Google::Apis::Core::Hashable + # OPTIONAL: A FieldMask specifying which fields of the policy to modify. Only + # the fields in the mask will be modified. If no mask is provided, the + # following default mask is used: + # paths: "bindings, etag" + # This field is only used by Cloud IAM. + # Corresponds to the JSON property `updateMask` + # @return [String] + attr_accessor :update_mask + # Defines an Identity and Access Management (IAM) policy. It is used to # specify access control policies for Cloud Platform resources. # A `Policy` consists of a list of `bindings`. A `Binding` binds a list of @@ -904,23 +795,14 @@ module Google # @return [Google::Apis::CloudkmsV1::Policy] attr_accessor :policy - # OPTIONAL: A FieldMask specifying which fields of the policy to modify. Only - # the fields in the mask will be modified. If no mask is provided, the - # following default mask is used: - # paths: "bindings, etag" - # This field is only used by Cloud IAM. - # Corresponds to the JSON property `updateMask` - # @return [String] - attr_accessor :update_mask - def initialize(**args) update!(**args) end # Update properties of this object def update!(**args) - @policy = args[:policy] if args.key?(:policy) @update_mask = args[:update_mask] if args.key?(:update_mask) + @policy = args[:policy] if args.key?(:policy) end end @@ -1024,6 +906,124 @@ module Google @total_size = args[:total_size] if args.key?(:total_size) end end + + # A condition to be met. + class Condition + include Google::Apis::Core::Hashable + + # The objects of the condition. This is mutually exclusive with 'value'. + # Corresponds to the JSON property `values` + # @return [Array] + attr_accessor :values + + # Trusted attributes supplied by the IAM system. + # Corresponds to the JSON property `iam` + # @return [String] + attr_accessor :iam + + # An operator to apply the subject with. + # Corresponds to the JSON property `op` + # @return [String] + attr_accessor :op + + # Trusted attributes discharged by the service. + # Corresponds to the JSON property `svc` + # @return [String] + attr_accessor :svc + + # Trusted attributes supplied by any service that owns resources and uses + # the IAM system for access control. + # Corresponds to the JSON property `sys` + # @return [String] + attr_accessor :sys + + # DEPRECATED. Use 'values' instead. + # Corresponds to the JSON property `value` + # @return [String] + attr_accessor :value + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @values = args[:values] if args.key?(:values) + @iam = args[:iam] if args.key?(:iam) + @op = args[:op] if args.key?(:op) + @svc = args[:svc] if args.key?(:svc) + @sys = args[:sys] if args.key?(:sys) + @value = args[:value] if args.key?(:value) + end + end + + # Options for counters + class CounterOptions + include Google::Apis::Core::Hashable + + # The metric to update. + # Corresponds to the JSON property `metric` + # @return [String] + attr_accessor :metric + + # The field value to attribute. + # Corresponds to the JSON property `field` + # @return [String] + attr_accessor :field + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @metric = args[:metric] if args.key?(:metric) + @field = args[:field] if args.key?(:field) + end + end + + # Provides the configuration for logging a type of permissions. + # Example: + # ` + # "audit_log_configs": [ + # ` + # "log_type": "DATA_READ", + # "exempted_members": [ + # "user:foo@gmail.com" + # ] + # `, + # ` + # "log_type": "DATA_WRITE", + # ` + # ] + # ` + # This enables 'DATA_READ' and 'DATA_WRITE' logging, while exempting + # foo@gmail.com from DATA_READ logging. + class AuditLogConfig + include Google::Apis::Core::Hashable + + # Specifies the identities that do not cause logging for this type of + # permission. + # Follows the same format of Binding.members. + # Corresponds to the JSON property `exemptedMembers` + # @return [Array] + attr_accessor :exempted_members + + # The log type that this config enables. + # Corresponds to the JSON property `logType` + # @return [String] + attr_accessor :log_type + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @exempted_members = args[:exempted_members] if args.key?(:exempted_members) + @log_type = args[:log_type] if args.key?(:log_type) + end + end end end end diff --git a/generated/google/apis/cloudkms_v1/representations.rb b/generated/google/apis/cloudkms_v1/representations.rb index db5d2b2cc..097820d63 100644 --- a/generated/google/apis/cloudkms_v1/representations.rb +++ b/generated/google/apis/cloudkms_v1/representations.rb @@ -22,24 +22,6 @@ module Google module Apis module CloudkmsV1 - class Condition - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class CounterOptions - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class AuditLogConfig - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - class DecryptResponse class Representation < Google::Apis::Core::JsonRepresentation; end @@ -52,18 +34,6 @@ module Google include Google::Apis::Core::JsonObjectSupport end - class KeyRing - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class EncryptResponse - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - class ListLocationsResponse class Representation < Google::Apis::Core::JsonRepresentation; end @@ -76,6 +46,18 @@ module Google include Google::Apis::Core::JsonObjectSupport end + class EncryptResponse + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class KeyRing + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + class RestoreCryptoKeyVersionRequest class Representation < Google::Apis::Core::JsonRepresentation; end @@ -88,13 +70,13 @@ module Google include Google::Apis::Core::JsonObjectSupport end - class ListKeyRingsResponse + class DataAccessOptions class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end - class DataAccessOptions + class ListKeyRingsResponse class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport @@ -148,13 +130,13 @@ module Google include Google::Apis::Core::JsonObjectSupport end - class Rule + class CryptoKey class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end - class CryptoKey + class Rule class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport @@ -191,31 +173,21 @@ module Google end class Condition - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :op, as: 'op' - property :svc, as: 'svc' - property :sys, as: 'sys' - property :value, as: 'value' - collection :values, as: 'values' - property :iam, as: 'iam' - end + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class CounterOptions - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :metric, as: 'metric' - property :field, as: 'field' - end + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class AuditLogConfig - # @private - class Representation < Google::Apis::Core::JsonRepresentation - collection :exempted_members, as: 'exemptedMembers' - property :log_type, as: 'logType' - end + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class DecryptResponse @@ -232,22 +204,6 @@ module Google end end - class KeyRing - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :name, as: 'name' - property :create_time, as: 'createTime' - end - end - - class EncryptResponse - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :ciphertext, :base64 => true, as: 'ciphertext' - property :name, as: 'name' - end - end - class ListLocationsResponse # @private class Representation < Google::Apis::Core::JsonRepresentation @@ -260,6 +216,7 @@ module Google class Policy # @private class Representation < Google::Apis::Core::JsonRepresentation + property :etag, :base64 => true, as: 'etag' property :iam_owned, as: 'iamOwned' collection :rules, as: 'rules', class: Google::Apis::CloudkmsV1::Rule, decorator: Google::Apis::CloudkmsV1::Rule::Representation @@ -268,7 +225,22 @@ module Google collection :bindings, as: 'bindings', class: Google::Apis::CloudkmsV1::Binding, decorator: Google::Apis::CloudkmsV1::Binding::Representation - property :etag, :base64 => true, as: 'etag' + end + end + + class EncryptResponse + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :name, as: 'name' + property :ciphertext, :base64 => true, as: 'ciphertext' + end + end + + class KeyRing + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :create_time, as: 'createTime' + property :name, as: 'name' end end @@ -285,6 +257,12 @@ module Google end end + class DataAccessOptions + # @private + class Representation < Google::Apis::Core::JsonRepresentation + end + end + class ListKeyRingsResponse # @private class Representation < Google::Apis::Core::JsonRepresentation @@ -295,12 +273,6 @@ module Google end end - class DataAccessOptions - # @private - class Representation < Google::Apis::Core::JsonRepresentation - end - end - class AuditConfig # @private class Representation < Google::Apis::Core::JsonRepresentation @@ -314,11 +286,11 @@ module Google class CryptoKeyVersion # @private class Representation < Google::Apis::Core::JsonRepresentation + property :destroy_time, as: 'destroyTime' + property :create_time, as: 'createTime' property :state, as: 'state' property :name, as: 'name' property :destroy_event_time, as: 'destroyEventTime' - property :destroy_time, as: 'destroyTime' - property :create_time, as: 'createTime' end end @@ -347,10 +319,10 @@ module Google class ListCryptoKeyVersionsResponse # @private class Representation < Google::Apis::Core::JsonRepresentation - collection :crypto_key_versions, as: 'cryptoKeyVersions', class: Google::Apis::CloudkmsV1::CryptoKeyVersion, decorator: Google::Apis::CloudkmsV1::CryptoKeyVersion::Representation - property :next_page_token, as: 'nextPageToken' property :total_size, as: 'totalSize' + collection :crypto_key_versions, as: 'cryptoKeyVersions', class: Google::Apis::CloudkmsV1::CryptoKeyVersion, decorator: Google::Apis::CloudkmsV1::CryptoKeyVersion::Representation + end end @@ -367,10 +339,22 @@ module Google end end + class CryptoKey + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :primary, as: 'primary', class: Google::Apis::CloudkmsV1::CryptoKeyVersion, decorator: Google::Apis::CloudkmsV1::CryptoKeyVersion::Representation + + property :name, as: 'name' + property :purpose, as: 'purpose' + property :next_rotation_time, as: 'nextRotationTime' + property :create_time, as: 'createTime' + property :rotation_period, as: 'rotationPeriod' + end + end + class Rule # @private class Representation < Google::Apis::Core::JsonRepresentation - collection :not_in, as: 'notIn' property :description, as: 'description' collection :conditions, as: 'conditions', class: Google::Apis::CloudkmsV1::Condition, decorator: Google::Apis::CloudkmsV1::Condition::Representation @@ -379,19 +363,7 @@ module Google collection :in, as: 'in' collection :permissions, as: 'permissions' property :action, as: 'action' - end - end - - class CryptoKey - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :purpose, as: 'purpose' - property :next_rotation_time, as: 'nextRotationTime' - property :create_time, as: 'createTime' - property :rotation_period, as: 'rotationPeriod' - property :primary, as: 'primary', class: Google::Apis::CloudkmsV1::CryptoKeyVersion, decorator: Google::Apis::CloudkmsV1::CryptoKeyVersion::Representation - - property :name, as: 'name' + collection :not_in, as: 'notIn' end end @@ -410,9 +382,9 @@ module Google class SetIamPolicyRequest # @private class Representation < Google::Apis::Core::JsonRepresentation + property :update_mask, as: 'updateMask' property :policy, as: 'policy', class: Google::Apis::CloudkmsV1::Policy, decorator: Google::Apis::CloudkmsV1::Policy::Representation - property :update_mask, as: 'updateMask' end end @@ -443,6 +415,34 @@ module Google property :total_size, as: 'totalSize' end end + + class Condition + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :values, as: 'values' + property :iam, as: 'iam' + property :op, as: 'op' + property :svc, as: 'svc' + property :sys, as: 'sys' + property :value, as: 'value' + end + end + + class CounterOptions + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :metric, as: 'metric' + property :field, as: 'field' + end + end + + class AuditLogConfig + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :exempted_members, as: 'exemptedMembers' + property :log_type, as: 'logType' + end + end end end end diff --git a/generated/google/apis/cloudkms_v1/service.rb b/generated/google/apis/cloudkms_v1/service.rb index 07464e319..9579b612a 100644 --- a/generated/google/apis/cloudkms_v1/service.rb +++ b/generated/google/apis/cloudkms_v1/service.rb @@ -45,17 +45,18 @@ module Google def initialize super('https://cloudkms.googleapis.com/', '') + @batch_path = 'batch' end # Lists information about the supported locations for this service. # @param [String] name # The resource that owns the locations collection, if applicable. + # @param [String] filter + # The standard list filter. # @param [String] page_token # The standard list page token. # @param [Fixnum] page_size # The standard list page size. - # @param [String] filter - # The standard list filter. # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user @@ -73,14 +74,14 @@ module Google # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required - def list_project_locations(name, page_token: nil, page_size: nil, filter: nil, fields: nil, quota_user: nil, options: nil, &block) + def list_project_locations(name, filter: nil, page_token: nil, page_size: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1/{+name}/locations', options) command.response_representation = Google::Apis::CloudkmsV1::ListLocationsResponse::Representation command.response_class = Google::Apis::CloudkmsV1::ListLocationsResponse command.params['name'] = name unless name.nil? + command.query['filter'] = filter unless filter.nil? command.query['pageToken'] = page_token unless page_token.nil? command.query['pageSize'] = page_size unless page_size.nil? - command.query['filter'] = filter unless filter.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) @@ -116,6 +117,108 @@ module Google execute_or_queue_command(command, &block) end + # Gets the access control policy for a resource. + # Returns an empty policy if the resource exists and does not have a policy + # set. + # @param [String] resource + # REQUIRED: The resource for which the policy is being requested. + # See the operation documentation for the appropriate value for this field. + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # Available to use for quota purposes for server-side applications. Can be any + # arbitrary string assigned to a user, but should not exceed 40 characters. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::CloudkmsV1::Policy] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::CloudkmsV1::Policy] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def get_project_location_key_ring_iam_policy(resource, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:get, 'v1/{+resource}:getIamPolicy', options) + command.response_representation = Google::Apis::CloudkmsV1::Policy::Representation + command.response_class = Google::Apis::CloudkmsV1::Policy + command.params['resource'] = resource unless resource.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + execute_or_queue_command(command, &block) + end + + # Returns metadata for a given KeyRing. + # @param [String] name + # The name of the KeyRing to get. + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # Available to use for quota purposes for server-side applications. Can be any + # arbitrary string assigned to a user, but should not exceed 40 characters. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::CloudkmsV1::KeyRing] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::CloudkmsV1::KeyRing] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def get_project_location_key_ring(name, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:get, 'v1/{+name}', options) + command.response_representation = Google::Apis::CloudkmsV1::KeyRing::Representation + command.response_class = Google::Apis::CloudkmsV1::KeyRing + command.params['name'] = name unless name.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + execute_or_queue_command(command, &block) + end + + # Returns permissions that a caller has on the specified resource. + # If the resource does not exist, this will return an empty set of + # permissions, not a NOT_FOUND error. + # Note: This operation is designed to be used for building permission-aware + # UIs and command-line tools, not for authorization checking. This operation + # may "fail open" without warning. + # @param [String] resource + # REQUIRED: The resource for which the policy detail is being requested. + # See the operation documentation for the appropriate value for this field. + # @param [Google::Apis::CloudkmsV1::TestIamPermissionsRequest] test_iam_permissions_request_object + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # Available to use for quota purposes for server-side applications. Can be any + # arbitrary string assigned to a user, but should not exceed 40 characters. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::CloudkmsV1::TestIamPermissionsResponse] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::CloudkmsV1::TestIamPermissionsResponse] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def test_key_ring_iam_permissions(resource, test_iam_permissions_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:post, 'v1/{+resource}:testIamPermissions', options) + command.request_representation = Google::Apis::CloudkmsV1::TestIamPermissionsRequest::Representation + command.request_object = test_iam_permissions_request_object + command.response_representation = Google::Apis::CloudkmsV1::TestIamPermissionsResponse::Representation + command.response_class = Google::Apis::CloudkmsV1::TestIamPermissionsResponse + command.params['resource'] = resource unless resource.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + execute_or_queue_command(command, &block) + end + # Lists KeyRings. # @param [String] parent # Required. The resource name of the location associated with the @@ -230,108 +333,6 @@ module Google execute_or_queue_command(command, &block) end - # Gets the access control policy for a resource. - # Returns an empty policy if the resource exists and does not have a policy - # set. - # @param [String] resource - # REQUIRED: The resource for which the policy is being requested. - # See the operation documentation for the appropriate value for this field. - # @param [String] fields - # Selector specifying which fields to include in a partial response. - # @param [String] quota_user - # Available to use for quota purposes for server-side applications. Can be any - # arbitrary string assigned to a user, but should not exceed 40 characters. - # @param [Google::Apis::RequestOptions] options - # Request-specific options - # - # @yield [result, err] Result & error if block supplied - # @yieldparam result [Google::Apis::CloudkmsV1::Policy] parsed result object - # @yieldparam err [StandardError] error object if request failed - # - # @return [Google::Apis::CloudkmsV1::Policy] - # - # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried - # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification - # @raise [Google::Apis::AuthorizationError] Authorization is required - def get_project_location_key_ring_iam_policy(resource, fields: nil, quota_user: nil, options: nil, &block) - command = make_simple_command(:get, 'v1/{+resource}:getIamPolicy', options) - command.response_representation = Google::Apis::CloudkmsV1::Policy::Representation - command.response_class = Google::Apis::CloudkmsV1::Policy - command.params['resource'] = resource unless resource.nil? - command.query['fields'] = fields unless fields.nil? - command.query['quotaUser'] = quota_user unless quota_user.nil? - execute_or_queue_command(command, &block) - end - - # Returns metadata for a given KeyRing. - # @param [String] name - # The name of the KeyRing to get. - # @param [String] fields - # Selector specifying which fields to include in a partial response. - # @param [String] quota_user - # Available to use for quota purposes for server-side applications. Can be any - # arbitrary string assigned to a user, but should not exceed 40 characters. - # @param [Google::Apis::RequestOptions] options - # Request-specific options - # - # @yield [result, err] Result & error if block supplied - # @yieldparam result [Google::Apis::CloudkmsV1::KeyRing] parsed result object - # @yieldparam err [StandardError] error object if request failed - # - # @return [Google::Apis::CloudkmsV1::KeyRing] - # - # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried - # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification - # @raise [Google::Apis::AuthorizationError] Authorization is required - def get_project_location_key_ring(name, fields: nil, quota_user: nil, options: nil, &block) - command = make_simple_command(:get, 'v1/{+name}', options) - command.response_representation = Google::Apis::CloudkmsV1::KeyRing::Representation - command.response_class = Google::Apis::CloudkmsV1::KeyRing - command.params['name'] = name unless name.nil? - command.query['fields'] = fields unless fields.nil? - command.query['quotaUser'] = quota_user unless quota_user.nil? - execute_or_queue_command(command, &block) - end - - # Returns permissions that a caller has on the specified resource. - # If the resource does not exist, this will return an empty set of - # permissions, not a NOT_FOUND error. - # Note: This operation is designed to be used for building permission-aware - # UIs and command-line tools, not for authorization checking. This operation - # may "fail open" without warning. - # @param [String] resource - # REQUIRED: The resource for which the policy detail is being requested. - # See the operation documentation for the appropriate value for this field. - # @param [Google::Apis::CloudkmsV1::TestIamPermissionsRequest] test_iam_permissions_request_object - # @param [String] fields - # Selector specifying which fields to include in a partial response. - # @param [String] quota_user - # Available to use for quota purposes for server-side applications. Can be any - # arbitrary string assigned to a user, but should not exceed 40 characters. - # @param [Google::Apis::RequestOptions] options - # Request-specific options - # - # @yield [result, err] Result & error if block supplied - # @yieldparam result [Google::Apis::CloudkmsV1::TestIamPermissionsResponse] parsed result object - # @yieldparam err [StandardError] error object if request failed - # - # @return [Google::Apis::CloudkmsV1::TestIamPermissionsResponse] - # - # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried - # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification - # @raise [Google::Apis::AuthorizationError] Authorization is required - def test_key_ring_iam_permissions(resource, test_iam_permissions_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) - command = make_simple_command(:post, 'v1/{+resource}:testIamPermissions', options) - command.request_representation = Google::Apis::CloudkmsV1::TestIamPermissionsRequest::Representation - command.request_object = test_iam_permissions_request_object - command.response_representation = Google::Apis::CloudkmsV1::TestIamPermissionsResponse::Representation - command.response_class = Google::Apis::CloudkmsV1::TestIamPermissionsResponse - command.params['resource'] = resource unless resource.nil? - command.query['fields'] = fields unless fields.nil? - command.query['quotaUser'] = quota_user unless quota_user.nil? - execute_or_queue_command(command, &block) - end - # Lists CryptoKeys. # @param [String] parent # Required. The resource name of the KeyRing to list, in the format @@ -409,6 +410,41 @@ module Google execute_or_queue_command(command, &block) end + # Sets the access control policy on the specified resource. Replaces any + # existing policy. + # @param [String] resource + # REQUIRED: The resource for which the policy is being specified. + # See the operation documentation for the appropriate value for this field. + # @param [Google::Apis::CloudkmsV1::SetIamPolicyRequest] set_iam_policy_request_object + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # Available to use for quota purposes for server-side applications. Can be any + # arbitrary string assigned to a user, but should not exceed 40 characters. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::CloudkmsV1::Policy] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::CloudkmsV1::Policy] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def set_crypto_key_iam_policy(resource, set_iam_policy_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:post, 'v1/{+resource}:setIamPolicy', options) + command.request_representation = Google::Apis::CloudkmsV1::SetIamPolicyRequest::Representation + command.request_object = set_iam_policy_request_object + command.response_representation = Google::Apis::CloudkmsV1::Policy::Representation + command.response_class = Google::Apis::CloudkmsV1::Policy + command.params['resource'] = resource unless resource.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + execute_or_queue_command(command, &block) + end + # Create a new CryptoKey within a KeyRing. # CryptoKey.purpose is required. # @param [String] parent @@ -448,41 +484,6 @@ module Google execute_or_queue_command(command, &block) end - # Sets the access control policy on the specified resource. Replaces any - # existing policy. - # @param [String] resource - # REQUIRED: The resource for which the policy is being specified. - # See the operation documentation for the appropriate value for this field. - # @param [Google::Apis::CloudkmsV1::SetIamPolicyRequest] set_iam_policy_request_object - # @param [String] fields - # Selector specifying which fields to include in a partial response. - # @param [String] quota_user - # Available to use for quota purposes for server-side applications. Can be any - # arbitrary string assigned to a user, but should not exceed 40 characters. - # @param [Google::Apis::RequestOptions] options - # Request-specific options - # - # @yield [result, err] Result & error if block supplied - # @yieldparam result [Google::Apis::CloudkmsV1::Policy] parsed result object - # @yieldparam err [StandardError] error object if request failed - # - # @return [Google::Apis::CloudkmsV1::Policy] - # - # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried - # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification - # @raise [Google::Apis::AuthorizationError] Authorization is required - def set_crypto_key_iam_policy(resource, set_iam_policy_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) - command = make_simple_command(:post, 'v1/{+resource}:setIamPolicy', options) - command.request_representation = Google::Apis::CloudkmsV1::SetIamPolicyRequest::Representation - command.request_object = set_iam_policy_request_object - command.response_representation = Google::Apis::CloudkmsV1::Policy::Representation - command.response_class = Google::Apis::CloudkmsV1::Policy - command.params['resource'] = resource unless resource.nil? - command.query['fields'] = fields unless fields.nil? - command.query['quotaUser'] = quota_user unless quota_user.nil? - execute_or_queue_command(command, &block) - end - # Update the version of a CryptoKey that will be used in Encrypt # @param [String] name # The resource name of the CryptoKey to update. @@ -549,37 +550,6 @@ module Google execute_or_queue_command(command, &block) end - # Returns metadata for a given CryptoKey, as well as its - # primary CryptoKeyVersion. - # @param [String] name - # The name of the CryptoKey to get. - # @param [String] fields - # Selector specifying which fields to include in a partial response. - # @param [String] quota_user - # Available to use for quota purposes for server-side applications. Can be any - # arbitrary string assigned to a user, but should not exceed 40 characters. - # @param [Google::Apis::RequestOptions] options - # Request-specific options - # - # @yield [result, err] Result & error if block supplied - # @yieldparam result [Google::Apis::CloudkmsV1::CryptoKey] parsed result object - # @yieldparam err [StandardError] error object if request failed - # - # @return [Google::Apis::CloudkmsV1::CryptoKey] - # - # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried - # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification - # @raise [Google::Apis::AuthorizationError] Authorization is required - def get_project_location_key_ring_crypto_key(name, fields: nil, quota_user: nil, options: nil, &block) - command = make_simple_command(:get, 'v1/{+name}', options) - command.response_representation = Google::Apis::CloudkmsV1::CryptoKey::Representation - command.response_class = Google::Apis::CloudkmsV1::CryptoKey - command.params['name'] = name unless name.nil? - command.query['fields'] = fields unless fields.nil? - command.query['quotaUser'] = quota_user unless quota_user.nil? - execute_or_queue_command(command, &block) - end - # Update a CryptoKey. # @param [String] name # Output only. The resource name for this CryptoKey in the format @@ -617,6 +587,37 @@ module Google execute_or_queue_command(command, &block) end + # Returns metadata for a given CryptoKey, as well as its + # primary CryptoKeyVersion. + # @param [String] name + # The name of the CryptoKey to get. + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # Available to use for quota purposes for server-side applications. Can be any + # arbitrary string assigned to a user, but should not exceed 40 characters. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::CloudkmsV1::CryptoKey] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::CloudkmsV1::CryptoKey] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def get_project_location_key_ring_crypto_key(name, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:get, 'v1/{+name}', options) + command.response_representation = Google::Apis::CloudkmsV1::CryptoKey::Representation + command.response_class = Google::Apis::CloudkmsV1::CryptoKey + command.params['name'] = name unless name.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + execute_or_queue_command(command, &block) + end + # Returns permissions that a caller has on the specified resource. # If the resource does not exist, this will return an empty set of # permissions, not a NOT_FOUND error. @@ -690,43 +691,6 @@ module Google execute_or_queue_command(command, &block) end - # Create a new CryptoKeyVersion in a CryptoKey. - # The server will assign the next sequential id. If unset, - # state will be set to - # ENABLED. - # @param [String] parent - # Required. The name of the CryptoKey associated with - # the CryptoKeyVersions. - # @param [Google::Apis::CloudkmsV1::CryptoKeyVersion] crypto_key_version_object - # @param [String] fields - # Selector specifying which fields to include in a partial response. - # @param [String] quota_user - # Available to use for quota purposes for server-side applications. Can be any - # arbitrary string assigned to a user, but should not exceed 40 characters. - # @param [Google::Apis::RequestOptions] options - # Request-specific options - # - # @yield [result, err] Result & error if block supplied - # @yieldparam result [Google::Apis::CloudkmsV1::CryptoKeyVersion] parsed result object - # @yieldparam err [StandardError] error object if request failed - # - # @return [Google::Apis::CloudkmsV1::CryptoKeyVersion] - # - # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried - # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification - # @raise [Google::Apis::AuthorizationError] Authorization is required - def create_project_location_key_ring_crypto_key_crypto_key_version(parent, crypto_key_version_object = nil, fields: nil, quota_user: nil, options: nil, &block) - command = make_simple_command(:post, 'v1/{+parent}/cryptoKeyVersions', options) - command.request_representation = Google::Apis::CloudkmsV1::CryptoKeyVersion::Representation - command.request_object = crypto_key_version_object - command.response_representation = Google::Apis::CloudkmsV1::CryptoKeyVersion::Representation - command.response_class = Google::Apis::CloudkmsV1::CryptoKeyVersion - command.params['parent'] = parent unless parent.nil? - command.query['fields'] = fields unless fields.nil? - command.query['quotaUser'] = quota_user unless quota_user.nil? - execute_or_queue_command(command, &block) - end - # Schedule a CryptoKeyVersion for destruction. # Upon calling this method, CryptoKeyVersion.state will be set to # DESTROY_SCHEDULED @@ -769,6 +733,43 @@ module Google execute_or_queue_command(command, &block) end + # Create a new CryptoKeyVersion in a CryptoKey. + # The server will assign the next sequential id. If unset, + # state will be set to + # ENABLED. + # @param [String] parent + # Required. The name of the CryptoKey associated with + # the CryptoKeyVersions. + # @param [Google::Apis::CloudkmsV1::CryptoKeyVersion] crypto_key_version_object + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # Available to use for quota purposes for server-side applications. Can be any + # arbitrary string assigned to a user, but should not exceed 40 characters. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::CloudkmsV1::CryptoKeyVersion] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::CloudkmsV1::CryptoKeyVersion] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def create_project_location_key_ring_crypto_key_crypto_key_version(parent, crypto_key_version_object = nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:post, 'v1/{+parent}/cryptoKeyVersions', options) + command.request_representation = Google::Apis::CloudkmsV1::CryptoKeyVersion::Representation + command.request_object = crypto_key_version_object + command.response_representation = Google::Apis::CloudkmsV1::CryptoKeyVersion::Representation + command.response_class = Google::Apis::CloudkmsV1::CryptoKeyVersion + command.params['parent'] = parent unless parent.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + execute_or_queue_command(command, &block) + end + # Restore a CryptoKeyVersion in the # DESTROY_SCHEDULED, # state. diff --git a/generated/google/apis/cloudmonitoring_v2beta2/classes.rb b/generated/google/apis/cloudmonitoring_v2beta2/classes.rb index a850b62b7..7824ebb0a 100644 --- a/generated/google/apis/cloudmonitoring_v2beta2/classes.rb +++ b/generated/google/apis/cloudmonitoring_v2beta2/classes.rb @@ -362,7 +362,7 @@ module Google # The value of this data point as a 64-bit integer. # Corresponds to the JSON property `int64Value` - # @return [String] + # @return [Fixnum] attr_accessor :int64_value # The interval [start, end] is the time period to which the point's value @@ -439,7 +439,7 @@ module Google # The number of events whose values are in the interval defined by this bucket. # Corresponds to the JSON property `count` - # @return [String] + # @return [Fixnum] attr_accessor :count # The lower bound of the value interval of this bucket (inclusive). @@ -471,7 +471,7 @@ module Google # The number of events whose values are in the interval defined by this bucket. # Corresponds to the JSON property `count` - # @return [String] + # @return [Fixnum] attr_accessor :count # The lower bound of the value interval of this bucket (inclusive). @@ -497,7 +497,7 @@ module Google # The number of events whose values are in the interval defined by this bucket. # Corresponds to the JSON property `count` - # @return [String] + # @return [Fixnum] attr_accessor :count # The upper bound of the value interval of this bucket (exclusive). diff --git a/generated/google/apis/cloudmonitoring_v2beta2/representations.rb b/generated/google/apis/cloudmonitoring_v2beta2/representations.rb index 179924cf7..2581ee171 100644 --- a/generated/google/apis/cloudmonitoring_v2beta2/representations.rb +++ b/generated/google/apis/cloudmonitoring_v2beta2/representations.rb @@ -252,7 +252,7 @@ module Google property :double_value, as: 'doubleValue' property :end, as: 'end', type: DateTime - property :int64_value, as: 'int64Value' + property :int64_value, :numeric_string => true, as: 'int64Value' property :start, as: 'start', type: DateTime property :string_value, as: 'stringValue' @@ -274,7 +274,7 @@ module Google class PointDistributionBucket # @private class Representation < Google::Apis::Core::JsonRepresentation - property :count, as: 'count' + property :count, :numeric_string => true, as: 'count' property :lower_bound, as: 'lowerBound' property :upper_bound, as: 'upperBound' end @@ -283,7 +283,7 @@ module Google class PointDistributionOverflowBucket # @private class Representation < Google::Apis::Core::JsonRepresentation - property :count, as: 'count' + property :count, :numeric_string => true, as: 'count' property :lower_bound, as: 'lowerBound' end end @@ -291,7 +291,7 @@ module Google class PointDistributionUnderflowBucket # @private class Representation < Google::Apis::Core::JsonRepresentation - property :count, as: 'count' + property :count, :numeric_string => true, as: 'count' property :upper_bound, as: 'upperBound' end end diff --git a/generated/google/apis/cloudmonitoring_v2beta2/service.rb b/generated/google/apis/cloudmonitoring_v2beta2/service.rb index af0093db5..5d0b53e79 100644 --- a/generated/google/apis/cloudmonitoring_v2beta2/service.rb +++ b/generated/google/apis/cloudmonitoring_v2beta2/service.rb @@ -50,6 +50,7 @@ module Google def initialize super('https://www.googleapis.com/', 'cloudmonitoring/v2beta2/projects/') + @batch_path = 'batch' end # Create a new metric. diff --git a/generated/google/apis/cloudresourcemanager_v1.rb b/generated/google/apis/cloudresourcemanager_v1.rb index ea237f33b..79c065998 100644 --- a/generated/google/apis/cloudresourcemanager_v1.rb +++ b/generated/google/apis/cloudresourcemanager_v1.rb @@ -28,11 +28,11 @@ module Google VERSION = 'V1' REVISION = '20170329' - # View your data across Google Cloud Platform services - AUTH_CLOUD_PLATFORM_READ_ONLY = 'https://www.googleapis.com/auth/cloud-platform.read-only' - # View and manage your data across Google Cloud Platform services AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform' + + # View your data across Google Cloud Platform services + AUTH_CLOUD_PLATFORM_READ_ONLY = 'https://www.googleapis.com/auth/cloud-platform.read-only' end end end diff --git a/generated/google/apis/cloudresourcemanager_v1/classes.rb b/generated/google/apis/cloudresourcemanager_v1/classes.rb index 26405177d..74149772a 100644 --- a/generated/google/apis/cloudresourcemanager_v1/classes.rb +++ b/generated/google/apis/cloudresourcemanager_v1/classes.rb @@ -22,224 +22,6 @@ module Google module Apis module CloudresourcemanagerV1 - # The request sent to the GetEffectiveOrgPolicy method. - class GetEffectiveOrgPolicyRequest - include Google::Apis::Core::Hashable - - # The name of the `Constraint` to compute the effective `Policy`. - # Corresponds to the JSON property `constraint` - # @return [String] - attr_accessor :constraint - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @constraint = args[:constraint] if args.key?(:constraint) - end - end - - # The request sent to the ListOrgPolicies method. - class ListOrgPoliciesRequest - include Google::Apis::Core::Hashable - - # Page token used to retrieve the next page. This is currently unsupported - # and will be ignored. The server may at any point start using this field. - # Corresponds to the JSON property `pageToken` - # @return [String] - attr_accessor :page_token - - # Size of the pages to be returned. This is currently unsupported and will - # be ignored. The server may at any point start using this field to limit - # page size. - # Corresponds to the JSON property `pageSize` - # @return [Fixnum] - attr_accessor :page_size - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @page_token = args[:page_token] if args.key?(:page_token) - @page_size = args[:page_size] if args.key?(:page_size) - end - end - - # Specifies the audit configuration for a service. - # The configuration determines which permission types are logged, and what - # identities, if any, are exempted from logging. - # An AuditConifg must have one or more AuditLogConfigs. - # If there are AuditConfigs for both `allServices` and a specific service, - # the union of the two AuditConfigs is used for that service: the log_types - # specified in each AuditConfig are enabled, and the exempted_members in each - # AuditConfig are exempted. - # Example Policy with multiple AuditConfigs: - # ` - # "audit_configs": [ - # ` - # "service": "allServices" - # "audit_log_configs": [ - # ` - # "log_type": "DATA_READ", - # "exempted_members": [ - # "user:foo@gmail.com" - # ] - # `, - # ` - # "log_type": "DATA_WRITE", - # `, - # ` - # "log_type": "ADMIN_READ", - # ` - # ] - # `, - # ` - # "service": "fooservice@googleapis.com" - # "audit_log_configs": [ - # ` - # "log_type": "DATA_READ", - # `, - # ` - # "log_type": "DATA_WRITE", - # "exempted_members": [ - # "user:bar@gmail.com" - # ] - # ` - # ] - # ` - # ] - # ` - # For fooservice, this policy enables DATA_READ, DATA_WRITE and ADMIN_READ - # logging. It also exempts foo@gmail.com from DATA_READ logging, and - # bar@gmail.com from DATA_WRITE logging. - class AuditConfig - include Google::Apis::Core::Hashable - - # Specifies a service that will be enabled for audit logging. - # For example, `storage.googleapis.com`, `cloudsql.googleapis.com`. - # `allServices` is a special value that covers all services. - # Corresponds to the JSON property `service` - # @return [String] - attr_accessor :service - - # The configuration for logging of each type of permission. - # Next ID: 4 - # Corresponds to the JSON property `auditLogConfigs` - # @return [Array] - attr_accessor :audit_log_configs - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @service = args[:service] if args.key?(:service) - @audit_log_configs = args[:audit_log_configs] if args.key?(:audit_log_configs) - end - end - - # This resource represents a long-running operation that is the result of a - # network API call. - class Operation - include Google::Apis::Core::Hashable - - # The normal response of the operation in case of success. If the original - # method returns no data on success, such as `Delete`, the response is - # `google.protobuf.Empty`. If the original method is standard - # `Get`/`Create`/`Update`, the response should be the resource. For other - # methods, the response should have the type `XxxResponse`, where `Xxx` - # is the original method name. For example, if the original method name - # is `TakeSnapshot()`, the inferred response type is - # `TakeSnapshotResponse`. - # Corresponds to the JSON property `response` - # @return [Hash] - attr_accessor :response - - # The server-assigned name, which is only unique within the same service that - # originally returns it. If you use the default HTTP mapping, the - # `name` should have the format of `operations/some/unique/name`. - # Corresponds to the JSON property `name` - # @return [String] - attr_accessor :name - - # The `Status` type defines a logical error model that is suitable for different - # programming environments, including REST APIs and RPC APIs. It is used by - # [gRPC](https://github.com/grpc). The error model is designed to be: - # - Simple to use and understand for most users - # - Flexible enough to meet unexpected needs - # # Overview - # The `Status` message contains three pieces of data: error code, error message, - # and error details. The error code should be an enum value of - # google.rpc.Code, but it may accept additional error codes if needed. The - # error message should be a developer-facing English message that helps - # developers *understand* and *resolve* the error. If a localized user-facing - # error message is needed, put the localized message in the error details or - # localize it in the client. The optional error details may contain arbitrary - # information about the error. There is a predefined set of error detail types - # in the package `google.rpc` which can be used for common error conditions. - # # Language mapping - # The `Status` message is the logical representation of the error model, but it - # is not necessarily the actual wire format. When the `Status` message is - # exposed in different client libraries and different wire protocols, it can be - # mapped differently. For example, it will likely be mapped to some exceptions - # in Java, but more likely mapped to some error codes in C. - # # Other uses - # The error model and the `Status` message can be used in a variety of - # environments, either with or without APIs, to provide a - # consistent developer experience across different environments. - # Example uses of this error model include: - # - Partial errors. If a service needs to return partial errors to the client, - # it may embed the `Status` in the normal response to indicate the partial - # errors. - # - Workflow errors. A typical workflow has multiple steps. Each step may - # have a `Status` message for error reporting purpose. - # - Batch operations. If a client uses batch request and batch response, the - # `Status` message should be used directly inside batch response, one for - # each error sub-response. - # - Asynchronous operations. If an API call embeds asynchronous operation - # results in its response, the status of those operations should be - # represented directly using the `Status` message. - # - Logging. If some API errors are stored in logs, the message `Status` could - # be used directly after any stripping needed for security/privacy reasons. - # Corresponds to the JSON property `error` - # @return [Google::Apis::CloudresourcemanagerV1::Status] - attr_accessor :error - - # Service-specific metadata associated with the operation. It typically - # contains progress information and common metadata such as create time. - # Some services might not provide such metadata. Any method that returns a - # long-running operation should document the metadata type, if any. - # Corresponds to the JSON property `metadata` - # @return [Hash] - attr_accessor :metadata - - # If the value is `false`, it means the operation is still in progress. - # If true, the operation is completed, and either `error` or `response` is - # available. - # Corresponds to the JSON property `done` - # @return [Boolean] - attr_accessor :done - alias_method :done?, :done - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @response = args[:response] if args.key?(:response) - @name = args[:name] if args.key?(:name) - @error = args[:error] if args.key?(:error) - @metadata = args[:metadata] if args.key?(:metadata) - @done = args[:done] if args.key?(:done) - end - end - # A `Constraint` describes a way in which a resource's configuration can be # restricted. For example, it controls which cloud services can be activated # across an organization, or whether a Compute Engine instance can have @@ -256,22 +38,16 @@ module Google class Constraint include Google::Apis::Core::Hashable - # Version of the `Constraint`. Default version is 0; - # Corresponds to the JSON property `version` - # @return [Fixnum] - attr_accessor :version - # A `Constraint` that allows or disallows a list of string values, which are # configured by an Organization's policy administrator with a `Policy`. # Corresponds to the JSON property `listConstraint` # @return [Google::Apis::CloudresourcemanagerV1::ListConstraint] attr_accessor :list_constraint - # The human readable name. - # Mutable. - # Corresponds to the JSON property `displayName` - # @return [String] - attr_accessor :display_name + # Version of the `Constraint`. Default version is 0; + # Corresponds to the JSON property `version` + # @return [Fixnum] + attr_accessor :version # Detailed description of what this `Constraint` controls as well as how and # where it is enforced. @@ -280,6 +56,12 @@ module Google # @return [String] attr_accessor :description + # The human readable name. + # Mutable. + # Corresponds to the JSON property `displayName` + # @return [String] + attr_accessor :display_name + # A `Constraint` that is either enforced or not. # For example a constraint `constraints/compute.disableSerialPortAccess`. # If it is enforced on a VM instance, serial port connections will not be @@ -305,10 +87,10 @@ module Google # Update properties of this object def update!(**args) - @version = args[:version] if args.key?(:version) @list_constraint = args[:list_constraint] if args.key?(:list_constraint) - @display_name = args[:display_name] if args.key?(:display_name) + @version = args[:version] if args.key?(:version) @description = args[:description] if args.key?(:description) + @display_name = args[:display_name] if args.key?(:display_name) @boolean_constraint = args[:boolean_constraint] if args.key?(:boolean_constraint) @constraint_default = args[:constraint_default] if args.key?(:constraint_default) @name = args[:name] if args.key?(:name) @@ -688,6 +470,47 @@ module Google class Project include Google::Apis::Core::Hashable + # The Project lifecycle state. + # Read-only. + # Corresponds to the JSON property `lifecycleState` + # @return [String] + attr_accessor :lifecycle_state + + # The number uniquely identifying the project. + # Example: 415104041262 + # Read-only. + # Corresponds to the JSON property `projectNumber` + # @return [Fixnum] + attr_accessor :project_number + + # A container to reference an id for any resource type. A `resource` in Google + # Cloud Platform is a generic term for something you (a developer) may want to + # interact with through one of our API's. Some examples are an App Engine app, + # a Compute Engine instance, a Cloud SQL database, and so on. + # Corresponds to the JSON property `parent` + # @return [Google::Apis::CloudresourcemanagerV1::ResourceId] + attr_accessor :parent + + # Creation time. + # Read-only. + # Corresponds to the JSON property `createTime` + # @return [String] + attr_accessor :create_time + + # The labels associated with this Project. + # Label keys must be between 1 and 63 characters long and must conform + # to the following regular expression: \[a-z\](\[-a-z0-9\]*\[a-z0-9\])?. + # Label values must be between 0 and 63 characters long and must conform + # to the regular expression (\[a-z\](\[-a-z0-9\]*\[a-z0-9\])?)?. + # No more than 256 labels can be associated with a given resource. + # Clients should store labels in a representation such as JSON that does not + # depend on specific characters being disallowed. + # Example: "environment" : "dev" + # Read-write. + # Corresponds to the JSON property `labels` + # @return [Hash] + attr_accessor :labels + # The user-assigned display name of the Project. # It must be 4 to 30 characters. # Allowed characters are: lowercase and uppercase letters, numbers, @@ -708,60 +531,19 @@ module Google # @return [String] attr_accessor :project_id - # The Project lifecycle state. - # Read-only. - # Corresponds to the JSON property `lifecycleState` - # @return [String] - attr_accessor :lifecycle_state - - # The number uniquely identifying the project. - # Example: 415104041262 - # Read-only. - # Corresponds to the JSON property `projectNumber` - # @return [String] - attr_accessor :project_number - - # A container to reference an id for any resource type. A `resource` in Google - # Cloud Platform is a generic term for something you (a developer) may want to - # interact with through one of our API's. Some examples are an App Engine app, - # a Compute Engine instance, a Cloud SQL database, and so on. - # Corresponds to the JSON property `parent` - # @return [Google::Apis::CloudresourcemanagerV1::ResourceId] - attr_accessor :parent - - # The labels associated with this Project. - # Label keys must be between 1 and 63 characters long and must conform - # to the following regular expression: \[a-z\](\[-a-z0-9\]*\[a-z0-9\])?. - # Label values must be between 0 and 63 characters long and must conform - # to the regular expression (\[a-z\](\[-a-z0-9\]*\[a-z0-9\])?)?. - # No more than 256 labels can be associated with a given resource. - # Clients should store labels in a representation such as JSON that does not - # depend on specific characters being disallowed. - # Example: "environment" : "dev" - # Read-write. - # Corresponds to the JSON property `labels` - # @return [Hash] - attr_accessor :labels - - # Creation time. - # Read-only. - # Corresponds to the JSON property `createTime` - # @return [String] - attr_accessor :create_time - def initialize(**args) update!(**args) end # Update properties of this object def update!(**args) - @name = args[:name] if args.key?(:name) - @project_id = args[:project_id] if args.key?(:project_id) @lifecycle_state = args[:lifecycle_state] if args.key?(:lifecycle_state) @project_number = args[:project_number] if args.key?(:project_number) @parent = args[:parent] if args.key?(:parent) - @labels = args[:labels] if args.key?(:labels) @create_time = args[:create_time] if args.key?(:create_time) + @labels = args[:labels] if args.key?(:labels) + @name = args[:name] if args.key?(:name) + @project_id = args[:project_id] if args.key?(:project_id) end end @@ -800,26 +582,26 @@ module Google class ListOrgPoliciesResponse include Google::Apis::Core::Hashable - # Page token used to retrieve the next page. This is currently not used, but - # the server may at any point start supplying a valid token. - # Corresponds to the JSON property `nextPageToken` - # @return [String] - attr_accessor :next_page_token - # The `Policies` that are set on the resource. It will be empty if no # `Policies` are set. # Corresponds to the JSON property `policies` # @return [Array] attr_accessor :policies + # Page token used to retrieve the next page. This is currently not used, but + # the server may at any point start supplying a valid token. + # Corresponds to the JSON property `nextPageToken` + # @return [String] + attr_accessor :next_page_token + def initialize(**args) update!(**args) end # Update properties of this object def update!(**args) - @next_page_token = args[:next_page_token] if args.key?(:next_page_token) @policies = args[:policies] if args.key?(:policies) + @next_page_token = args[:next_page_token] if args.key?(:next_page_token) end end @@ -905,34 +687,6 @@ module Google class OrgPolicy include Google::Apis::Core::Hashable - # The time stamp the `Policy` was previously updated. This is set by the - # server, not specified by the caller, and represents the last time a call to - # `SetOrgPolicy` was made for that `Policy`. Any value set by the client will - # be ignored. - # Corresponds to the JSON property `updateTime` - # @return [String] - attr_accessor :update_time - - # Version of the `Policy`. Default version is 0; - # Corresponds to the JSON property `version` - # @return [Fixnum] - attr_accessor :version - - # Ignores policies set above this resource and restores the - # `constraint_default` enforcement behavior of the specific `Constraint` at - # this resource. - # Suppose that `constraint_default` is set to `ALLOW` for the - # `Constraint` `constraints/serviceuser.services`. Suppose that organization - # foo.com sets a `Policy` at their Organization resource node that restricts - # the allowed service activations to deny all service activations. They - # could then set a `Policy` with the `policy_type` `restore_default` on - # several experimental projects, restoring the `constraint_default` - # enforcement of the `Constraint` for only those projects, allowing those - # projects to have all services activated. - # Corresponds to the JSON property `restoreDefault` - # @return [Google::Apis::CloudresourcemanagerV1::RestoreDefault] - attr_accessor :restore_default - # Used in `policy_type` to specify how `list_policy` behaves at this # resource. # A `ListPolicy` can define specific values that are allowed or denied by @@ -976,19 +730,47 @@ module Google # @return [String] attr_accessor :constraint + # The time stamp the `Policy` was previously updated. This is set by the + # server, not specified by the caller, and represents the last time a call to + # `SetOrgPolicy` was made for that `Policy`. Any value set by the client will + # be ignored. + # Corresponds to the JSON property `updateTime` + # @return [String] + attr_accessor :update_time + + # Version of the `Policy`. Default version is 0; + # Corresponds to the JSON property `version` + # @return [Fixnum] + attr_accessor :version + + # Ignores policies set above this resource and restores the + # `constraint_default` enforcement behavior of the specific `Constraint` at + # this resource. + # Suppose that `constraint_default` is set to `ALLOW` for the + # `Constraint` `constraints/serviceuser.services`. Suppose that organization + # foo.com sets a `Policy` at their Organization resource node that restricts + # the allowed service activations to deny all service activations. They + # could then set a `Policy` with the `policy_type` `restore_default` on + # several experimental projects, restoring the `constraint_default` + # enforcement of the `Constraint` for only those projects, allowing those + # projects to have all services activated. + # Corresponds to the JSON property `restoreDefault` + # @return [Google::Apis::CloudresourcemanagerV1::RestoreDefault] + attr_accessor :restore_default + def initialize(**args) update!(**args) end # Update properties of this object def update!(**args) - @update_time = args[:update_time] if args.key?(:update_time) - @version = args[:version] if args.key?(:version) - @restore_default = args[:restore_default] if args.key?(:restore_default) @list_policy = args[:list_policy] if args.key?(:list_policy) @etag = args[:etag] if args.key?(:etag) @boolean_policy = args[:boolean_policy] if args.key?(:boolean_policy) @constraint = args[:constraint] if args.key?(:constraint) + @update_time = args[:update_time] if args.key?(:update_time) + @version = args[:version] if args.key?(:version) + @restore_default = args[:restore_default] if args.key?(:restore_default) end end @@ -997,6 +779,18 @@ module Google class Lien include Google::Apis::Core::Hashable + # A reference to the resource this Lien is attached to. The server will + # validate the parent against those for which Liens are supported. + # Example: `projects/1234` + # Corresponds to the JSON property `parent` + # @return [String] + attr_accessor :parent + + # The creation time of this Lien. + # Corresponds to the JSON property `createTime` + # @return [String] + attr_accessor :create_time + # A system-generated unique identifier for this Lien. # Example: `liens/1234abcd` # Corresponds to the JSON property `name` @@ -1027,30 +821,18 @@ module Google # @return [Array] attr_accessor :restrictions - # A reference to the resource this Lien is attached to. The server will - # validate the parent against those for which Liens are supported. - # Example: `projects/1234` - # Corresponds to the JSON property `parent` - # @return [String] - attr_accessor :parent - - # The creation time of this Lien. - # Corresponds to the JSON property `createTime` - # @return [String] - attr_accessor :create_time - def initialize(**args) update!(**args) end # Update properties of this object def update!(**args) + @parent = args[:parent] if args.key?(:parent) + @create_time = args[:create_time] if args.key?(:create_time) @name = args[:name] if args.key?(:name) @reason = args[:reason] if args.key?(:reason) @origin = args[:origin] if args.key?(:origin) @restrictions = args[:restrictions] if args.key?(:restrictions) - @parent = args[:parent] if args.key?(:parent) - @create_time = args[:create_time] if args.key?(:create_time) end end @@ -1121,6 +903,15 @@ module Google class SetIamPolicyRequest include Google::Apis::Core::Hashable + # OPTIONAL: A FieldMask specifying which fields of the policy to modify. Only + # the fields in the mask will be modified. If no mask is provided, the + # following default mask is used: + # paths: "bindings, etag" + # This field is only used by Cloud IAM. + # Corresponds to the JSON property `updateMask` + # @return [String] + attr_accessor :update_mask + # Defines an Identity and Access Management (IAM) policy. It is used to # specify access control policies for Cloud Platform resources. # A `Policy` consists of a list of `bindings`. A `Binding` binds a list of @@ -1151,23 +942,14 @@ module Google # @return [Google::Apis::CloudresourcemanagerV1::Policy] attr_accessor :policy - # OPTIONAL: A FieldMask specifying which fields of the policy to modify. Only - # the fields in the mask will be modified. If no mask is provided, the - # following default mask is used: - # paths: "bindings, etag" - # This field is only used by Cloud IAM. - # Corresponds to the JSON property `updateMask` - # @return [String] - attr_accessor :update_mask - def initialize(**args) update!(**args) end # Update properties of this object def update!(**args) - @policy = args[:policy] if args.key?(:policy) @update_mask = args[:update_mask] if args.key?(:update_mask) + @policy = args[:policy] if args.key?(:policy) end end @@ -1195,6 +977,12 @@ module Google class Organization include Google::Apis::Core::Hashable + # Timestamp when the Organization was created. Assigned by the server. + # @OutputOnly + # Corresponds to the JSON property `creationTime` + # @return [String] + attr_accessor :creation_time + # The entity that owns an Organization. The lifetime of the Organization and # all of its descendants are bound to the `OrganizationOwner`. If the # `OrganizationOwner` is deleted, the Organization and all its descendants will @@ -1224,23 +1012,17 @@ module Google # @return [String] attr_accessor :display_name - # Timestamp when the Organization was created. Assigned by the server. - # @OutputOnly - # Corresponds to the JSON property `creationTime` - # @return [String] - attr_accessor :creation_time - def initialize(**args) update!(**args) end # Update properties of this object def update!(**args) + @creation_time = args[:creation_time] if args.key?(:creation_time) @owner = args[:owner] if args.key?(:owner) @lifecycle_state = args[:lifecycle_state] if args.key?(:lifecycle_state) @name = args[:name] if args.key?(:name) @display_name = args[:display_name] if args.key?(:display_name) - @creation_time = args[:creation_time] if args.key?(:creation_time) end end @@ -1469,6 +1251,19 @@ module Google class SearchOrganizationsRequest include Google::Apis::Core::Hashable + # A pagination token returned from a previous call to `SearchOrganizations` + # that indicates from where listing should continue. + # This field is optional. + # Corresponds to the JSON property `pageToken` + # @return [String] + attr_accessor :page_token + + # The maximum number of Organizations to return in the response. + # This field is optional. + # Corresponds to the JSON property `pageSize` + # @return [Fixnum] + attr_accessor :page_size + # An optional query string used to filter the Organizations to return in # the response. Filter rules are case-insensitive. # Organizations may be filtered by `owner.directoryCustomerId` or by @@ -1483,28 +1278,15 @@ module Google # @return [String] attr_accessor :filter - # A pagination token returned from a previous call to `SearchOrganizations` - # that indicates from where listing should continue. - # This field is optional. - # Corresponds to the JSON property `pageToken` - # @return [String] - attr_accessor :page_token - - # The maximum number of Organizations to return in the response. - # This field is optional. - # Corresponds to the JSON property `pageSize` - # @return [Fixnum] - attr_accessor :page_size - def initialize(**args) update!(**args) end # Update properties of this object def update!(**args) - @filter = args[:filter] if args.key?(:filter) @page_token = args[:page_token] if args.key?(:page_token) @page_size = args[:page_size] if args.key?(:page_size) + @filter = args[:filter] if args.key?(:filter) end end @@ -1715,6 +1497,224 @@ module Google @type = args[:type] if args.key?(:type) end end + + # The request sent to the GetEffectiveOrgPolicy method. + class GetEffectiveOrgPolicyRequest + include Google::Apis::Core::Hashable + + # The name of the `Constraint` to compute the effective `Policy`. + # Corresponds to the JSON property `constraint` + # @return [String] + attr_accessor :constraint + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @constraint = args[:constraint] if args.key?(:constraint) + end + end + + # The request sent to the ListOrgPolicies method. + class ListOrgPoliciesRequest + include Google::Apis::Core::Hashable + + # Page token used to retrieve the next page. This is currently unsupported + # and will be ignored. The server may at any point start using this field. + # Corresponds to the JSON property `pageToken` + # @return [String] + attr_accessor :page_token + + # Size of the pages to be returned. This is currently unsupported and will + # be ignored. The server may at any point start using this field to limit + # page size. + # Corresponds to the JSON property `pageSize` + # @return [Fixnum] + attr_accessor :page_size + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @page_token = args[:page_token] if args.key?(:page_token) + @page_size = args[:page_size] if args.key?(:page_size) + end + end + + # Specifies the audit configuration for a service. + # The configuration determines which permission types are logged, and what + # identities, if any, are exempted from logging. + # An AuditConifg must have one or more AuditLogConfigs. + # If there are AuditConfigs for both `allServices` and a specific service, + # the union of the two AuditConfigs is used for that service: the log_types + # specified in each AuditConfig are enabled, and the exempted_members in each + # AuditConfig are exempted. + # Example Policy with multiple AuditConfigs: + # ` + # "audit_configs": [ + # ` + # "service": "allServices" + # "audit_log_configs": [ + # ` + # "log_type": "DATA_READ", + # "exempted_members": [ + # "user:foo@gmail.com" + # ] + # `, + # ` + # "log_type": "DATA_WRITE", + # `, + # ` + # "log_type": "ADMIN_READ", + # ` + # ] + # `, + # ` + # "service": "fooservice@googleapis.com" + # "audit_log_configs": [ + # ` + # "log_type": "DATA_READ", + # `, + # ` + # "log_type": "DATA_WRITE", + # "exempted_members": [ + # "user:bar@gmail.com" + # ] + # ` + # ] + # ` + # ] + # ` + # For fooservice, this policy enables DATA_READ, DATA_WRITE and ADMIN_READ + # logging. It also exempts foo@gmail.com from DATA_READ logging, and + # bar@gmail.com from DATA_WRITE logging. + class AuditConfig + include Google::Apis::Core::Hashable + + # Specifies a service that will be enabled for audit logging. + # For example, `storage.googleapis.com`, `cloudsql.googleapis.com`. + # `allServices` is a special value that covers all services. + # Corresponds to the JSON property `service` + # @return [String] + attr_accessor :service + + # The configuration for logging of each type of permission. + # Next ID: 4 + # Corresponds to the JSON property `auditLogConfigs` + # @return [Array] + attr_accessor :audit_log_configs + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @service = args[:service] if args.key?(:service) + @audit_log_configs = args[:audit_log_configs] if args.key?(:audit_log_configs) + end + end + + # This resource represents a long-running operation that is the result of a + # network API call. + class Operation + include Google::Apis::Core::Hashable + + # If the value is `false`, it means the operation is still in progress. + # If true, the operation is completed, and either `error` or `response` is + # available. + # Corresponds to the JSON property `done` + # @return [Boolean] + attr_accessor :done + alias_method :done?, :done + + # The normal response of the operation in case of success. If the original + # method returns no data on success, such as `Delete`, the response is + # `google.protobuf.Empty`. If the original method is standard + # `Get`/`Create`/`Update`, the response should be the resource. For other + # methods, the response should have the type `XxxResponse`, where `Xxx` + # is the original method name. For example, if the original method name + # is `TakeSnapshot()`, the inferred response type is + # `TakeSnapshotResponse`. + # Corresponds to the JSON property `response` + # @return [Hash] + attr_accessor :response + + # The server-assigned name, which is only unique within the same service that + # originally returns it. If you use the default HTTP mapping, the + # `name` should have the format of `operations/some/unique/name`. + # Corresponds to the JSON property `name` + # @return [String] + attr_accessor :name + + # The `Status` type defines a logical error model that is suitable for different + # programming environments, including REST APIs and RPC APIs. It is used by + # [gRPC](https://github.com/grpc). The error model is designed to be: + # - Simple to use and understand for most users + # - Flexible enough to meet unexpected needs + # # Overview + # The `Status` message contains three pieces of data: error code, error message, + # and error details. The error code should be an enum value of + # google.rpc.Code, but it may accept additional error codes if needed. The + # error message should be a developer-facing English message that helps + # developers *understand* and *resolve* the error. If a localized user-facing + # error message is needed, put the localized message in the error details or + # localize it in the client. The optional error details may contain arbitrary + # information about the error. There is a predefined set of error detail types + # in the package `google.rpc` which can be used for common error conditions. + # # Language mapping + # The `Status` message is the logical representation of the error model, but it + # is not necessarily the actual wire format. When the `Status` message is + # exposed in different client libraries and different wire protocols, it can be + # mapped differently. For example, it will likely be mapped to some exceptions + # in Java, but more likely mapped to some error codes in C. + # # Other uses + # The error model and the `Status` message can be used in a variety of + # environments, either with or without APIs, to provide a + # consistent developer experience across different environments. + # Example uses of this error model include: + # - Partial errors. If a service needs to return partial errors to the client, + # it may embed the `Status` in the normal response to indicate the partial + # errors. + # - Workflow errors. A typical workflow has multiple steps. Each step may + # have a `Status` message for error reporting purpose. + # - Batch operations. If a client uses batch request and batch response, the + # `Status` message should be used directly inside batch response, one for + # each error sub-response. + # - Asynchronous operations. If an API call embeds asynchronous operation + # results in its response, the status of those operations should be + # represented directly using the `Status` message. + # - Logging. If some API errors are stored in logs, the message `Status` could + # be used directly after any stripping needed for security/privacy reasons. + # Corresponds to the JSON property `error` + # @return [Google::Apis::CloudresourcemanagerV1::Status] + attr_accessor :error + + # Service-specific metadata associated with the operation. It typically + # contains progress information and common metadata such as create time. + # Some services might not provide such metadata. Any method that returns a + # long-running operation should document the metadata type, if any. + # Corresponds to the JSON property `metadata` + # @return [Hash] + attr_accessor :metadata + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @done = args[:done] if args.key?(:done) + @response = args[:response] if args.key?(:response) + @name = args[:name] if args.key?(:name) + @error = args[:error] if args.key?(:error) + @metadata = args[:metadata] if args.key?(:metadata) + end + end end end end diff --git a/generated/google/apis/cloudresourcemanager_v1/representations.rb b/generated/google/apis/cloudresourcemanager_v1/representations.rb index a80e55d47..93e76bf9a 100644 --- a/generated/google/apis/cloudresourcemanager_v1/representations.rb +++ b/generated/google/apis/cloudresourcemanager_v1/representations.rb @@ -22,30 +22,6 @@ module Google module Apis module CloudresourcemanagerV1 - class GetEffectiveOrgPolicyRequest - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class ListOrgPoliciesRequest - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class AuditConfig - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class Operation - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - class Constraint class Representation < Google::Apis::Core::JsonRepresentation; end @@ -275,49 +251,37 @@ module Google end class GetEffectiveOrgPolicyRequest - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :constraint, as: 'constraint' - end + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class ListOrgPoliciesRequest - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :page_token, as: 'pageToken' - property :page_size, as: 'pageSize' - end + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class AuditConfig - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :service, as: 'service' - collection :audit_log_configs, as: 'auditLogConfigs', class: Google::Apis::CloudresourcemanagerV1::AuditLogConfig, decorator: Google::Apis::CloudresourcemanagerV1::AuditLogConfig::Representation + class Representation < Google::Apis::Core::JsonRepresentation; end - end + include Google::Apis::Core::JsonObjectSupport end class Operation - # @private - class Representation < Google::Apis::Core::JsonRepresentation - hash :response, as: 'response' - property :name, as: 'name' - property :error, as: 'error', class: Google::Apis::CloudresourcemanagerV1::Status, decorator: Google::Apis::CloudresourcemanagerV1::Status::Representation + class Representation < Google::Apis::Core::JsonRepresentation; end - hash :metadata, as: 'metadata' - property :done, as: 'done' - end + include Google::Apis::Core::JsonObjectSupport end class Constraint # @private class Representation < Google::Apis::Core::JsonRepresentation - property :version, as: 'version' property :list_constraint, as: 'listConstraint', class: Google::Apis::CloudresourcemanagerV1::ListConstraint, decorator: Google::Apis::CloudresourcemanagerV1::ListConstraint::Representation - property :display_name, as: 'displayName' + property :version, as: 'version' property :description, as: 'description' + property :display_name, as: 'displayName' property :boolean_constraint, as: 'booleanConstraint', class: Google::Apis::CloudresourcemanagerV1::BooleanConstraint, decorator: Google::Apis::CloudresourcemanagerV1::BooleanConstraint::Representation property :constraint_default, as: 'constraintDefault' @@ -425,14 +389,14 @@ module Google class Project # @private class Representation < Google::Apis::Core::JsonRepresentation - property :name, as: 'name' - property :project_id, as: 'projectId' property :lifecycle_state, as: 'lifecycleState' - property :project_number, as: 'projectNumber' + property :project_number, :numeric_string => true, as: 'projectNumber' property :parent, as: 'parent', class: Google::Apis::CloudresourcemanagerV1::ResourceId, decorator: Google::Apis::CloudresourcemanagerV1::ResourceId::Representation - hash :labels, as: 'labels' property :create_time, as: 'createTime' + hash :labels, as: 'labels' + property :name, as: 'name' + property :project_id, as: 'projectId' end end @@ -448,9 +412,9 @@ module Google class ListOrgPoliciesResponse # @private class Representation < Google::Apis::Core::JsonRepresentation - property :next_page_token, as: 'nextPageToken' collection :policies, as: 'policies', class: Google::Apis::CloudresourcemanagerV1::OrgPolicy, decorator: Google::Apis::CloudresourcemanagerV1::OrgPolicy::Representation + property :next_page_token, as: 'nextPageToken' end end @@ -471,28 +435,28 @@ module Google class OrgPolicy # @private class Representation < Google::Apis::Core::JsonRepresentation - property :update_time, as: 'updateTime' - property :version, as: 'version' - property :restore_default, as: 'restoreDefault', class: Google::Apis::CloudresourcemanagerV1::RestoreDefault, decorator: Google::Apis::CloudresourcemanagerV1::RestoreDefault::Representation - property :list_policy, as: 'listPolicy', class: Google::Apis::CloudresourcemanagerV1::ListPolicy, decorator: Google::Apis::CloudresourcemanagerV1::ListPolicy::Representation property :etag, :base64 => true, as: 'etag' property :boolean_policy, as: 'booleanPolicy', class: Google::Apis::CloudresourcemanagerV1::BooleanPolicy, decorator: Google::Apis::CloudresourcemanagerV1::BooleanPolicy::Representation property :constraint, as: 'constraint' + property :update_time, as: 'updateTime' + property :version, as: 'version' + property :restore_default, as: 'restoreDefault', class: Google::Apis::CloudresourcemanagerV1::RestoreDefault, decorator: Google::Apis::CloudresourcemanagerV1::RestoreDefault::Representation + end end class Lien # @private class Representation < Google::Apis::Core::JsonRepresentation + property :parent, as: 'parent' + property :create_time, as: 'createTime' property :name, as: 'name' property :reason, as: 'reason' property :origin, as: 'origin' collection :restrictions, as: 'restrictions' - property :parent, as: 'parent' - property :create_time, as: 'createTime' end end @@ -522,9 +486,9 @@ module Google class SetIamPolicyRequest # @private class Representation < Google::Apis::Core::JsonRepresentation + property :update_mask, as: 'updateMask' property :policy, as: 'policy', class: Google::Apis::CloudresourcemanagerV1::Policy, decorator: Google::Apis::CloudresourcemanagerV1::Policy::Representation - property :update_mask, as: 'updateMask' end end @@ -537,12 +501,12 @@ module Google class Organization # @private class Representation < Google::Apis::Core::JsonRepresentation + property :creation_time, as: 'creationTime' property :owner, as: 'owner', class: Google::Apis::CloudresourcemanagerV1::OrganizationOwner, decorator: Google::Apis::CloudresourcemanagerV1::OrganizationOwner::Representation property :lifecycle_state, as: 'lifecycleState' property :name, as: 'name' property :display_name, as: 'displayName' - property :creation_time, as: 'creationTime' end end @@ -585,9 +549,9 @@ module Google class SearchOrganizationsRequest # @private class Representation < Google::Apis::Core::JsonRepresentation - property :filter, as: 'filter' property :page_token, as: 'pageToken' property :page_size, as: 'pageSize' + property :filter, as: 'filter' end end @@ -641,6 +605,42 @@ module Google property :type, as: 'type' end end + + class GetEffectiveOrgPolicyRequest + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :constraint, as: 'constraint' + end + end + + class ListOrgPoliciesRequest + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :page_token, as: 'pageToken' + property :page_size, as: 'pageSize' + end + end + + class AuditConfig + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :service, as: 'service' + collection :audit_log_configs, as: 'auditLogConfigs', class: Google::Apis::CloudresourcemanagerV1::AuditLogConfig, decorator: Google::Apis::CloudresourcemanagerV1::AuditLogConfig::Representation + + end + end + + class Operation + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :done, as: 'done' + hash :response, as: 'response' + property :name, as: 'name' + property :error, as: 'error', class: Google::Apis::CloudresourcemanagerV1::Status, decorator: Google::Apis::CloudresourcemanagerV1::Status::Representation + + hash :metadata, as: 'metadata' + end + end end end end diff --git a/generated/google/apis/cloudresourcemanager_v1/service.rb b/generated/google/apis/cloudresourcemanager_v1/service.rb index 0182a4d84..0ca7969d3 100644 --- a/generated/google/apis/cloudresourcemanager_v1/service.rb +++ b/generated/google/apis/cloudresourcemanager_v1/service.rb @@ -33,134 +33,30 @@ module Google # # @see https://cloud.google.com/resource-manager class CloudResourceManagerService < Google::Apis::Core::BaseService - # @return [String] - # Available to use for quota purposes for server-side applications. Can be any - # arbitrary string assigned to a user, but should not exceed 40 characters. - attr_accessor :quota_user - # @return [String] # API key. Your API key identifies your project and provides you with API access, # quota, and reports. Required unless you provide an OAuth 2.0 token. attr_accessor :key + # @return [String] + # Available to use for quota purposes for server-side applications. Can be any + # arbitrary string assigned to a user, but should not exceed 40 characters. + attr_accessor :quota_user + def initialize super('https://cloudresourcemanager.googleapis.com/', '') - end - - # Clears a `Policy` from a resource. - # @param [String] resource - # Name of the resource for the `Policy` to clear. - # @param [Google::Apis::CloudresourcemanagerV1::ClearOrgPolicyRequest] clear_org_policy_request_object - # @param [String] quota_user - # Available to use for quota purposes for server-side applications. Can be any - # arbitrary string assigned to a user, but should not exceed 40 characters. - # @param [String] fields - # Selector specifying which fields to include in a partial response. - # @param [Google::Apis::RequestOptions] options - # Request-specific options - # - # @yield [result, err] Result & error if block supplied - # @yieldparam result [Google::Apis::CloudresourcemanagerV1::Empty] parsed result object - # @yieldparam err [StandardError] error object if request failed - # - # @return [Google::Apis::CloudresourcemanagerV1::Empty] - # - # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried - # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification - # @raise [Google::Apis::AuthorizationError] Authorization is required - def clear_organization_org_policy(resource, clear_org_policy_request_object = nil, quota_user: nil, fields: nil, options: nil, &block) - command = make_simple_command(:post, 'v1/{+resource}:clearOrgPolicy', options) - command.request_representation = Google::Apis::CloudresourcemanagerV1::ClearOrgPolicyRequest::Representation - command.request_object = clear_org_policy_request_object - command.response_representation = Google::Apis::CloudresourcemanagerV1::Empty::Representation - command.response_class = Google::Apis::CloudresourcemanagerV1::Empty - command.params['resource'] = resource unless resource.nil? - command.query['quotaUser'] = quota_user unless quota_user.nil? - command.query['fields'] = fields unless fields.nil? - execute_or_queue_command(command, &block) - end - - # Updates the specified `Policy` on the resource. Creates a new `Policy` for - # that `Constraint` on the resource if one does not exist. - # Not supplying an `etag` on the request `Policy` results in an unconditional - # write of the `Policy`. - # @param [String] resource - # Resource name of the resource to attach the `Policy`. - # @param [Google::Apis::CloudresourcemanagerV1::SetOrgPolicyRequest] set_org_policy_request_object - # @param [String] quota_user - # Available to use for quota purposes for server-side applications. Can be any - # arbitrary string assigned to a user, but should not exceed 40 characters. - # @param [String] fields - # Selector specifying which fields to include in a partial response. - # @param [Google::Apis::RequestOptions] options - # Request-specific options - # - # @yield [result, err] Result & error if block supplied - # @yieldparam result [Google::Apis::CloudresourcemanagerV1::OrgPolicy] parsed result object - # @yieldparam err [StandardError] error object if request failed - # - # @return [Google::Apis::CloudresourcemanagerV1::OrgPolicy] - # - # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried - # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification - # @raise [Google::Apis::AuthorizationError] Authorization is required - def set_organization_org_policy(resource, set_org_policy_request_object = nil, quota_user: nil, fields: nil, options: nil, &block) - command = make_simple_command(:post, 'v1/{+resource}:setOrgPolicy', options) - command.request_representation = Google::Apis::CloudresourcemanagerV1::SetOrgPolicyRequest::Representation - command.request_object = set_org_policy_request_object - command.response_representation = Google::Apis::CloudresourcemanagerV1::OrgPolicy::Representation - command.response_class = Google::Apis::CloudresourcemanagerV1::OrgPolicy - command.params['resource'] = resource unless resource.nil? - command.query['quotaUser'] = quota_user unless quota_user.nil? - command.query['fields'] = fields unless fields.nil? - execute_or_queue_command(command, &block) - end - - # Sets the access control policy on an Organization resource. Replaces any - # existing policy. The `resource` field should be the organization's resource - # name, e.g. "organizations/123". - # @param [String] resource - # REQUIRED: The resource for which the policy is being specified. - # See the operation documentation for the appropriate value for this field. - # @param [Google::Apis::CloudresourcemanagerV1::SetIamPolicyRequest] set_iam_policy_request_object - # @param [String] quota_user - # Available to use for quota purposes for server-side applications. Can be any - # arbitrary string assigned to a user, but should not exceed 40 characters. - # @param [String] fields - # Selector specifying which fields to include in a partial response. - # @param [Google::Apis::RequestOptions] options - # Request-specific options - # - # @yield [result, err] Result & error if block supplied - # @yieldparam result [Google::Apis::CloudresourcemanagerV1::Policy] parsed result object - # @yieldparam err [StandardError] error object if request failed - # - # @return [Google::Apis::CloudresourcemanagerV1::Policy] - # - # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried - # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification - # @raise [Google::Apis::AuthorizationError] Authorization is required - def set_organization_iam_policy(resource, set_iam_policy_request_object = nil, quota_user: nil, fields: nil, options: nil, &block) - command = make_simple_command(:post, 'v1/{+resource}:setIamPolicy', options) - command.request_representation = Google::Apis::CloudresourcemanagerV1::SetIamPolicyRequest::Representation - command.request_object = set_iam_policy_request_object - command.response_representation = Google::Apis::CloudresourcemanagerV1::Policy::Representation - command.response_class = Google::Apis::CloudresourcemanagerV1::Policy - command.params['resource'] = resource unless resource.nil? - command.query['quotaUser'] = quota_user unless quota_user.nil? - command.query['fields'] = fields unless fields.nil? - execute_or_queue_command(command, &block) + @batch_path = 'batch' end # Lists all the `Policies` set for a particular resource. # @param [String] resource # Name of the resource to list Policies for. # @param [Google::Apis::CloudresourcemanagerV1::ListOrgPoliciesRequest] list_org_policies_request_object + # @param [String] fields + # Selector specifying which fields to include in a partial response. # @param [String] quota_user # Available to use for quota purposes for server-side applications. Can be any # arbitrary string assigned to a user, but should not exceed 40 characters. - # @param [String] fields - # Selector specifying which fields to include in a partial response. # @param [Google::Apis::RequestOptions] options # Request-specific options # @@ -173,15 +69,15 @@ module Google # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required - def list_organization_org_policies(resource, list_org_policies_request_object = nil, quota_user: nil, fields: nil, options: nil, &block) + def list_organization_org_policies(resource, list_org_policies_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'v1/{+resource}:listOrgPolicies', options) command.request_representation = Google::Apis::CloudresourcemanagerV1::ListOrgPoliciesRequest::Representation command.request_object = list_org_policies_request_object command.response_representation = Google::Apis::CloudresourcemanagerV1::ListOrgPoliciesResponse::Representation command.response_class = Google::Apis::CloudresourcemanagerV1::ListOrgPoliciesResponse command.params['resource'] = resource unless resource.nil? - command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end @@ -189,11 +85,11 @@ module Google # @param [String] resource # Name of the resource to list `Constraints` for. # @param [Google::Apis::CloudresourcemanagerV1::ListAvailableOrgPolicyConstraintsRequest] list_available_org_policy_constraints_request_object + # @param [String] fields + # Selector specifying which fields to include in a partial response. # @param [String] quota_user # Available to use for quota purposes for server-side applications. Can be any # arbitrary string assigned to a user, but should not exceed 40 characters. - # @param [String] fields - # Selector specifying which fields to include in a partial response. # @param [Google::Apis::RequestOptions] options # Request-specific options # @@ -206,15 +102,15 @@ module Google # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required - def list_organization_available_org_policy_constraints(resource, list_available_org_policy_constraints_request_object = nil, quota_user: nil, fields: nil, options: nil, &block) + def list_organization_available_org_policy_constraints(resource, list_available_org_policy_constraints_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'v1/{+resource}:listAvailableOrgPolicyConstraints', options) command.request_representation = Google::Apis::CloudresourcemanagerV1::ListAvailableOrgPolicyConstraintsRequest::Representation command.request_object = list_available_org_policy_constraints_request_object command.response_representation = Google::Apis::CloudresourcemanagerV1::ListAvailableOrgPolicyConstraintsResponse::Representation command.response_class = Google::Apis::CloudresourcemanagerV1::ListAvailableOrgPolicyConstraintsResponse command.params['resource'] = resource unless resource.nil? - command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end @@ -225,11 +121,11 @@ module Google # REQUIRED: The resource for which the policy is being requested. # See the operation documentation for the appropriate value for this field. # @param [Google::Apis::CloudresourcemanagerV1::GetIamPolicyRequest] get_iam_policy_request_object + # @param [String] fields + # Selector specifying which fields to include in a partial response. # @param [String] quota_user # Available to use for quota purposes for server-side applications. Can be any # arbitrary string assigned to a user, but should not exceed 40 characters. - # @param [String] fields - # Selector specifying which fields to include in a partial response. # @param [Google::Apis::RequestOptions] options # Request-specific options # @@ -242,15 +138,52 @@ module Google # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required - def get_organization_iam_policy(resource, get_iam_policy_request_object = nil, quota_user: nil, fields: nil, options: nil, &block) + def get_organization_iam_policy(resource, get_iam_policy_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'v1/{+resource}:getIamPolicy', options) command.request_representation = Google::Apis::CloudresourcemanagerV1::GetIamPolicyRequest::Representation command.request_object = get_iam_policy_request_object command.response_representation = Google::Apis::CloudresourcemanagerV1::Policy::Representation command.response_class = Google::Apis::CloudresourcemanagerV1::Policy command.params['resource'] = resource unless resource.nil? - command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + execute_or_queue_command(command, &block) + end + + # Gets a `Policy` on a resource. + # If no `Policy` is set on the resource, a `Policy` is returned with default + # values including `POLICY_TYPE_NOT_SET` for the `policy_type oneof`. The + # `etag` value can be used with `SetOrgPolicy()` to create or update a + # `Policy` during read-modify-write. + # @param [String] resource + # Name of the resource the `Policy` is set on. + # @param [Google::Apis::CloudresourcemanagerV1::GetOrgPolicyRequest] get_org_policy_request_object + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # Available to use for quota purposes for server-side applications. Can be any + # arbitrary string assigned to a user, but should not exceed 40 characters. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::CloudresourcemanagerV1::OrgPolicy] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::CloudresourcemanagerV1::OrgPolicy] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def get_organization_org_policy(resource, get_org_policy_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:post, 'v1/{+resource}:getOrgPolicy', options) + command.request_representation = Google::Apis::CloudresourcemanagerV1::GetOrgPolicyRequest::Representation + command.request_object = get_org_policy_request_object + command.response_representation = Google::Apis::CloudresourcemanagerV1::OrgPolicy::Representation + command.response_class = Google::Apis::CloudresourcemanagerV1::OrgPolicy + command.params['resource'] = resource unless resource.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end @@ -259,11 +192,11 @@ module Google # order. New Organizations do not necessarily appear at the end of the # results. # @param [Google::Apis::CloudresourcemanagerV1::SearchOrganizationsRequest] search_organizations_request_object + # @param [String] fields + # Selector specifying which fields to include in a partial response. # @param [String] quota_user # Available to use for quota purposes for server-side applications. Can be any # arbitrary string assigned to a user, but should not exceed 40 characters. - # @param [String] fields - # Selector specifying which fields to include in a partial response. # @param [Google::Apis::RequestOptions] options # Request-specific options # @@ -276,51 +209,14 @@ module Google # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required - def search_organizations(search_organizations_request_object = nil, quota_user: nil, fields: nil, options: nil, &block) + def search_organizations(search_organizations_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'v1/organizations:search', options) command.request_representation = Google::Apis::CloudresourcemanagerV1::SearchOrganizationsRequest::Representation command.request_object = search_organizations_request_object command.response_representation = Google::Apis::CloudresourcemanagerV1::SearchOrganizationsResponse::Representation command.response_class = Google::Apis::CloudresourcemanagerV1::SearchOrganizationsResponse - command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['fields'] = fields unless fields.nil? - execute_or_queue_command(command, &block) - end - - # Gets a `Policy` on a resource. - # If no `Policy` is set on the resource, a `Policy` is returned with default - # values including `POLICY_TYPE_NOT_SET` for the `policy_type oneof`. The - # `etag` value can be used with `SetOrgPolicy()` to create or update a - # `Policy` during read-modify-write. - # @param [String] resource - # Name of the resource the `Policy` is set on. - # @param [Google::Apis::CloudresourcemanagerV1::GetOrgPolicyRequest] get_org_policy_request_object - # @param [String] quota_user - # Available to use for quota purposes for server-side applications. Can be any - # arbitrary string assigned to a user, but should not exceed 40 characters. - # @param [String] fields - # Selector specifying which fields to include in a partial response. - # @param [Google::Apis::RequestOptions] options - # Request-specific options - # - # @yield [result, err] Result & error if block supplied - # @yieldparam result [Google::Apis::CloudresourcemanagerV1::OrgPolicy] parsed result object - # @yieldparam err [StandardError] error object if request failed - # - # @return [Google::Apis::CloudresourcemanagerV1::OrgPolicy] - # - # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried - # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification - # @raise [Google::Apis::AuthorizationError] Authorization is required - def get_organization_org_policy(resource, get_org_policy_request_object = nil, quota_user: nil, fields: nil, options: nil, &block) - command = make_simple_command(:post, 'v1/{+resource}:getOrgPolicy', options) - command.request_representation = Google::Apis::CloudresourcemanagerV1::GetOrgPolicyRequest::Representation - command.request_object = get_org_policy_request_object - command.response_representation = Google::Apis::CloudresourcemanagerV1::OrgPolicy::Representation - command.response_class = Google::Apis::CloudresourcemanagerV1::OrgPolicy - command.params['resource'] = resource unless resource.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? - command.query['fields'] = fields unless fields.nil? execute_or_queue_command(command, &block) end @@ -330,11 +226,11 @@ module Google # @param [String] resource # The name of the resource to start computing the effective `Policy`. # @param [Google::Apis::CloudresourcemanagerV1::GetEffectiveOrgPolicyRequest] get_effective_org_policy_request_object + # @param [String] fields + # Selector specifying which fields to include in a partial response. # @param [String] quota_user # Available to use for quota purposes for server-side applications. Can be any # arbitrary string assigned to a user, but should not exceed 40 characters. - # @param [String] fields - # Selector specifying which fields to include in a partial response. # @param [Google::Apis::RequestOptions] options # Request-specific options # @@ -347,26 +243,26 @@ module Google # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required - def get_organization_effective_org_policy(resource, get_effective_org_policy_request_object = nil, quota_user: nil, fields: nil, options: nil, &block) + def get_organization_effective_org_policy(resource, get_effective_org_policy_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'v1/{+resource}:getEffectiveOrgPolicy', options) command.request_representation = Google::Apis::CloudresourcemanagerV1::GetEffectiveOrgPolicyRequest::Representation command.request_object = get_effective_org_policy_request_object command.response_representation = Google::Apis::CloudresourcemanagerV1::OrgPolicy::Representation command.response_class = Google::Apis::CloudresourcemanagerV1::OrgPolicy command.params['resource'] = resource unless resource.nil? - command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end # Fetches an Organization resource identified by the specified resource name. # @param [String] name # The resource name of the Organization to fetch, e.g. "organizations/1234". + # @param [String] fields + # Selector specifying which fields to include in a partial response. # @param [String] quota_user # Available to use for quota purposes for server-side applications. Can be any # arbitrary string assigned to a user, but should not exceed 40 characters. - # @param [String] fields - # Selector specifying which fields to include in a partial response. # @param [Google::Apis::RequestOptions] options # Request-specific options # @@ -379,13 +275,13 @@ module Google # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required - def get_organization(name, quota_user: nil, fields: nil, options: nil, &block) + def get_organization(name, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1/{+name}', options) command.response_representation = Google::Apis::CloudresourcemanagerV1::Organization::Representation command.response_class = Google::Apis::CloudresourcemanagerV1::Organization command.params['name'] = name unless name.nil? - command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end @@ -396,11 +292,11 @@ module Google # REQUIRED: The resource for which the policy detail is being requested. # See the operation documentation for the appropriate value for this field. # @param [Google::Apis::CloudresourcemanagerV1::TestIamPermissionsRequest] test_iam_permissions_request_object + # @param [String] fields + # Selector specifying which fields to include in a partial response. # @param [String] quota_user # Available to use for quota purposes for server-side applications. Can be any # arbitrary string assigned to a user, but should not exceed 40 characters. - # @param [String] fields - # Selector specifying which fields to include in a partial response. # @param [Google::Apis::RequestOptions] options # Request-specific options # @@ -413,29 +309,27 @@ module Google # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required - def test_organization_iam_permissions(resource, test_iam_permissions_request_object = nil, quota_user: nil, fields: nil, options: nil, &block) + def test_organization_iam_permissions(resource, test_iam_permissions_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'v1/{+resource}:testIamPermissions', options) command.request_representation = Google::Apis::CloudresourcemanagerV1::TestIamPermissionsRequest::Representation command.request_object = test_iam_permissions_request_object command.response_representation = Google::Apis::CloudresourcemanagerV1::TestIamPermissionsResponse::Representation command.response_class = Google::Apis::CloudresourcemanagerV1::TestIamPermissionsResponse command.params['resource'] = resource unless resource.nil? - command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end - # Delete a Lien by `name`. - # Callers of this method will require permission on the `parent` resource. - # For example, a Lien with a `parent` of `projects/1234` requires permission - # `resourcemanager.projects.updateLiens`. - # @param [String] name - # The name/identifier of the Lien to delete. + # Clears a `Policy` from a resource. + # @param [String] resource + # Name of the resource for the `Policy` to clear. + # @param [Google::Apis::CloudresourcemanagerV1::ClearOrgPolicyRequest] clear_org_policy_request_object + # @param [String] fields + # Selector specifying which fields to include in a partial response. # @param [String] quota_user # Available to use for quota purposes for server-side applications. Can be any # arbitrary string assigned to a user, but should not exceed 40 characters. - # @param [String] fields - # Selector specifying which fields to include in a partial response. # @param [Google::Apis::RequestOptions] options # Request-specific options # @@ -448,13 +342,154 @@ module Google # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required - def delete_lien(name, quota_user: nil, fields: nil, options: nil, &block) + def clear_organization_org_policy(resource, clear_org_policy_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:post, 'v1/{+resource}:clearOrgPolicy', options) + command.request_representation = Google::Apis::CloudresourcemanagerV1::ClearOrgPolicyRequest::Representation + command.request_object = clear_org_policy_request_object + command.response_representation = Google::Apis::CloudresourcemanagerV1::Empty::Representation + command.response_class = Google::Apis::CloudresourcemanagerV1::Empty + command.params['resource'] = resource unless resource.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + execute_or_queue_command(command, &block) + end + + # Updates the specified `Policy` on the resource. Creates a new `Policy` for + # that `Constraint` on the resource if one does not exist. + # Not supplying an `etag` on the request `Policy` results in an unconditional + # write of the `Policy`. + # @param [String] resource + # Resource name of the resource to attach the `Policy`. + # @param [Google::Apis::CloudresourcemanagerV1::SetOrgPolicyRequest] set_org_policy_request_object + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # Available to use for quota purposes for server-side applications. Can be any + # arbitrary string assigned to a user, but should not exceed 40 characters. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::CloudresourcemanagerV1::OrgPolicy] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::CloudresourcemanagerV1::OrgPolicy] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def set_organization_org_policy(resource, set_org_policy_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:post, 'v1/{+resource}:setOrgPolicy', options) + command.request_representation = Google::Apis::CloudresourcemanagerV1::SetOrgPolicyRequest::Representation + command.request_object = set_org_policy_request_object + command.response_representation = Google::Apis::CloudresourcemanagerV1::OrgPolicy::Representation + command.response_class = Google::Apis::CloudresourcemanagerV1::OrgPolicy + command.params['resource'] = resource unless resource.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + execute_or_queue_command(command, &block) + end + + # Sets the access control policy on an Organization resource. Replaces any + # existing policy. The `resource` field should be the organization's resource + # name, e.g. "organizations/123". + # @param [String] resource + # REQUIRED: The resource for which the policy is being specified. + # See the operation documentation for the appropriate value for this field. + # @param [Google::Apis::CloudresourcemanagerV1::SetIamPolicyRequest] set_iam_policy_request_object + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # Available to use for quota purposes for server-side applications. Can be any + # arbitrary string assigned to a user, but should not exceed 40 characters. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::CloudresourcemanagerV1::Policy] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::CloudresourcemanagerV1::Policy] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def set_organization_iam_policy(resource, set_iam_policy_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:post, 'v1/{+resource}:setIamPolicy', options) + command.request_representation = Google::Apis::CloudresourcemanagerV1::SetIamPolicyRequest::Representation + command.request_object = set_iam_policy_request_object + command.response_representation = Google::Apis::CloudresourcemanagerV1::Policy::Representation + command.response_class = Google::Apis::CloudresourcemanagerV1::Policy + command.params['resource'] = resource unless resource.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + execute_or_queue_command(command, &block) + end + + # Create a Lien which applies to the resource denoted by the `parent` field. + # Callers of this method will require permission on the `parent` resource. + # For example, applying to `projects/1234` requires permission + # `resourcemanager.projects.updateLiens`. + # NOTE: Some resources may limit the number of Liens which may be applied. + # @param [Google::Apis::CloudresourcemanagerV1::Lien] lien_object + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # Available to use for quota purposes for server-side applications. Can be any + # arbitrary string assigned to a user, but should not exceed 40 characters. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::CloudresourcemanagerV1::Lien] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::CloudresourcemanagerV1::Lien] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def create_lien(lien_object = nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:post, 'v1/liens', options) + command.request_representation = Google::Apis::CloudresourcemanagerV1::Lien::Representation + command.request_object = lien_object + command.response_representation = Google::Apis::CloudresourcemanagerV1::Lien::Representation + command.response_class = Google::Apis::CloudresourcemanagerV1::Lien + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + execute_or_queue_command(command, &block) + end + + # Delete a Lien by `name`. + # Callers of this method will require permission on the `parent` resource. + # For example, a Lien with a `parent` of `projects/1234` requires permission + # `resourcemanager.projects.updateLiens`. + # @param [String] name + # The name/identifier of the Lien to delete. + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # Available to use for quota purposes for server-side applications. Can be any + # arbitrary string assigned to a user, but should not exceed 40 characters. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::CloudresourcemanagerV1::Empty] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::CloudresourcemanagerV1::Empty] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def delete_lien(name, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:delete, 'v1/{+name}', options) command.response_representation = Google::Apis::CloudresourcemanagerV1::Empty::Representation command.response_class = Google::Apis::CloudresourcemanagerV1::Empty command.params['name'] = name unless name.nil? - command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end @@ -469,11 +504,11 @@ module Google # The `next_page_token` value returned from a previous List request, if any. # @param [Fixnum] page_size # The maximum number of items to return. This is a suggestion for the server. + # @param [String] fields + # Selector specifying which fields to include in a partial response. # @param [String] quota_user # Available to use for quota purposes for server-side applications. Can be any # arbitrary string assigned to a user, but should not exceed 40 characters. - # @param [String] fields - # Selector specifying which fields to include in a partial response. # @param [Google::Apis::RequestOptions] options # Request-specific options # @@ -486,49 +521,15 @@ module Google # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required - def list_liens(parent: nil, page_token: nil, page_size: nil, quota_user: nil, fields: nil, options: nil, &block) + def list_liens(parent: nil, page_token: nil, page_size: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1/liens', options) command.response_representation = Google::Apis::CloudresourcemanagerV1::ListLiensResponse::Representation command.response_class = Google::Apis::CloudresourcemanagerV1::ListLiensResponse command.query['parent'] = parent unless parent.nil? command.query['pageToken'] = page_token unless page_token.nil? command.query['pageSize'] = page_size unless page_size.nil? - command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['fields'] = fields unless fields.nil? - execute_or_queue_command(command, &block) - end - - # Create a Lien which applies to the resource denoted by the `parent` field. - # Callers of this method will require permission on the `parent` resource. - # For example, applying to `projects/1234` requires permission - # `resourcemanager.projects.updateLiens`. - # NOTE: Some resources may limit the number of Liens which may be applied. - # @param [Google::Apis::CloudresourcemanagerV1::Lien] lien_object - # @param [String] quota_user - # Available to use for quota purposes for server-side applications. Can be any - # arbitrary string assigned to a user, but should not exceed 40 characters. - # @param [String] fields - # Selector specifying which fields to include in a partial response. - # @param [Google::Apis::RequestOptions] options - # Request-specific options - # - # @yield [result, err] Result & error if block supplied - # @yieldparam result [Google::Apis::CloudresourcemanagerV1::Lien] parsed result object - # @yieldparam err [StandardError] error object if request failed - # - # @return [Google::Apis::CloudresourcemanagerV1::Lien] - # - # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried - # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification - # @raise [Google::Apis::AuthorizationError] Authorization is required - def create_lien(lien_object = nil, quota_user: nil, fields: nil, options: nil, &block) - command = make_simple_command(:post, 'v1/liens', options) - command.request_representation = Google::Apis::CloudresourcemanagerV1::Lien::Representation - command.request_object = lien_object - command.response_representation = Google::Apis::CloudresourcemanagerV1::Lien::Representation - command.response_class = Google::Apis::CloudresourcemanagerV1::Lien command.query['quotaUser'] = quota_user unless quota_user.nil? - command.query['fields'] = fields unless fields.nil? execute_or_queue_command(command, &block) end @@ -537,11 +538,11 @@ module Google # service. # @param [String] name # The name of the operation resource. + # @param [String] fields + # Selector specifying which fields to include in a partial response. # @param [String] quota_user # Available to use for quota purposes for server-side applications. Can be any # arbitrary string assigned to a user, but should not exceed 40 characters. - # @param [String] fields - # Selector specifying which fields to include in a partial response. # @param [Google::Apis::RequestOptions] options # Request-specific options # @@ -554,13 +555,13 @@ module Google # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required - def get_operation(name, quota_user: nil, fields: nil, options: nil, &block) + def get_operation(name, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1/{+name}', options) command.response_representation = Google::Apis::CloudresourcemanagerV1::Operation::Representation command.response_class = Google::Apis::CloudresourcemanagerV1::Operation command.params['name'] = name unless name.nil? - command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end @@ -568,11 +569,11 @@ module Google # @param [String] resource # Name of the resource for the `Policy` to clear. # @param [Google::Apis::CloudresourcemanagerV1::ClearOrgPolicyRequest] clear_org_policy_request_object + # @param [String] fields + # Selector specifying which fields to include in a partial response. # @param [String] quota_user # Available to use for quota purposes for server-side applications. Can be any # arbitrary string assigned to a user, but should not exceed 40 characters. - # @param [String] fields - # Selector specifying which fields to include in a partial response. # @param [Google::Apis::RequestOptions] options # Request-specific options # @@ -585,15 +586,15 @@ module Google # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required - def clear_folder_org_policy(resource, clear_org_policy_request_object = nil, quota_user: nil, fields: nil, options: nil, &block) + def clear_folder_org_policy(resource, clear_org_policy_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'v1/{+resource}:clearOrgPolicy', options) command.request_representation = Google::Apis::CloudresourcemanagerV1::ClearOrgPolicyRequest::Representation command.request_object = clear_org_policy_request_object command.response_representation = Google::Apis::CloudresourcemanagerV1::Empty::Representation command.response_class = Google::Apis::CloudresourcemanagerV1::Empty command.params['resource'] = resource unless resource.nil? - command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end @@ -604,11 +605,11 @@ module Google # @param [String] resource # Resource name of the resource to attach the `Policy`. # @param [Google::Apis::CloudresourcemanagerV1::SetOrgPolicyRequest] set_org_policy_request_object + # @param [String] fields + # Selector specifying which fields to include in a partial response. # @param [String] quota_user # Available to use for quota purposes for server-side applications. Can be any # arbitrary string assigned to a user, but should not exceed 40 characters. - # @param [String] fields - # Selector specifying which fields to include in a partial response. # @param [Google::Apis::RequestOptions] options # Request-specific options # @@ -621,15 +622,15 @@ module Google # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required - def set_folder_org_policy(resource, set_org_policy_request_object = nil, quota_user: nil, fields: nil, options: nil, &block) + def set_folder_org_policy(resource, set_org_policy_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'v1/{+resource}:setOrgPolicy', options) command.request_representation = Google::Apis::CloudresourcemanagerV1::SetOrgPolicyRequest::Representation command.request_object = set_org_policy_request_object command.response_representation = Google::Apis::CloudresourcemanagerV1::OrgPolicy::Representation command.response_class = Google::Apis::CloudresourcemanagerV1::OrgPolicy command.params['resource'] = resource unless resource.nil? - command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end @@ -637,11 +638,11 @@ module Google # @param [String] resource # Name of the resource to list `Constraints` for. # @param [Google::Apis::CloudresourcemanagerV1::ListAvailableOrgPolicyConstraintsRequest] list_available_org_policy_constraints_request_object + # @param [String] fields + # Selector specifying which fields to include in a partial response. # @param [String] quota_user # Available to use for quota purposes for server-side applications. Can be any # arbitrary string assigned to a user, but should not exceed 40 characters. - # @param [String] fields - # Selector specifying which fields to include in a partial response. # @param [Google::Apis::RequestOptions] options # Request-specific options # @@ -654,15 +655,15 @@ module Google # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required - def list_folder_available_org_policy_constraints(resource, list_available_org_policy_constraints_request_object = nil, quota_user: nil, fields: nil, options: nil, &block) + def list_folder_available_org_policy_constraints(resource, list_available_org_policy_constraints_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'v1/{+resource}:listAvailableOrgPolicyConstraints', options) command.request_representation = Google::Apis::CloudresourcemanagerV1::ListAvailableOrgPolicyConstraintsRequest::Representation command.request_object = list_available_org_policy_constraints_request_object command.response_representation = Google::Apis::CloudresourcemanagerV1::ListAvailableOrgPolicyConstraintsResponse::Representation command.response_class = Google::Apis::CloudresourcemanagerV1::ListAvailableOrgPolicyConstraintsResponse command.params['resource'] = resource unless resource.nil? - command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end @@ -670,11 +671,11 @@ module Google # @param [String] resource # Name of the resource to list Policies for. # @param [Google::Apis::CloudresourcemanagerV1::ListOrgPoliciesRequest] list_org_policies_request_object + # @param [String] fields + # Selector specifying which fields to include in a partial response. # @param [String] quota_user # Available to use for quota purposes for server-side applications. Can be any # arbitrary string assigned to a user, but should not exceed 40 characters. - # @param [String] fields - # Selector specifying which fields to include in a partial response. # @param [Google::Apis::RequestOptions] options # Request-specific options # @@ -687,15 +688,15 @@ module Google # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required - def list_folder_org_policies(resource, list_org_policies_request_object = nil, quota_user: nil, fields: nil, options: nil, &block) + def list_folder_org_policies(resource, list_org_policies_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'v1/{+resource}:listOrgPolicies', options) command.request_representation = Google::Apis::CloudresourcemanagerV1::ListOrgPoliciesRequest::Representation command.request_object = list_org_policies_request_object command.response_representation = Google::Apis::CloudresourcemanagerV1::ListOrgPoliciesResponse::Representation command.response_class = Google::Apis::CloudresourcemanagerV1::ListOrgPoliciesResponse command.params['resource'] = resource unless resource.nil? - command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end @@ -707,11 +708,11 @@ module Google # @param [String] resource # Name of the resource the `Policy` is set on. # @param [Google::Apis::CloudresourcemanagerV1::GetOrgPolicyRequest] get_org_policy_request_object + # @param [String] fields + # Selector specifying which fields to include in a partial response. # @param [String] quota_user # Available to use for quota purposes for server-side applications. Can be any # arbitrary string assigned to a user, but should not exceed 40 characters. - # @param [String] fields - # Selector specifying which fields to include in a partial response. # @param [Google::Apis::RequestOptions] options # Request-specific options # @@ -724,15 +725,15 @@ module Google # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required - def get_folder_org_policy(resource, get_org_policy_request_object = nil, quota_user: nil, fields: nil, options: nil, &block) + def get_folder_org_policy(resource, get_org_policy_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'v1/{+resource}:getOrgPolicy', options) command.request_representation = Google::Apis::CloudresourcemanagerV1::GetOrgPolicyRequest::Representation command.request_object = get_org_policy_request_object command.response_representation = Google::Apis::CloudresourcemanagerV1::OrgPolicy::Representation command.response_class = Google::Apis::CloudresourcemanagerV1::OrgPolicy command.params['resource'] = resource unless resource.nil? - command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end @@ -742,11 +743,11 @@ module Google # @param [String] resource # The name of the resource to start computing the effective `Policy`. # @param [Google::Apis::CloudresourcemanagerV1::GetEffectiveOrgPolicyRequest] get_effective_org_policy_request_object + # @param [String] fields + # Selector specifying which fields to include in a partial response. # @param [String] quota_user # Available to use for quota purposes for server-side applications. Can be any # arbitrary string assigned to a user, but should not exceed 40 characters. - # @param [String] fields - # Selector specifying which fields to include in a partial response. # @param [Google::Apis::RequestOptions] options # Request-specific options # @@ -759,167 +760,15 @@ module Google # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required - def get_folder_effective_org_policy(resource, get_effective_org_policy_request_object = nil, quota_user: nil, fields: nil, options: nil, &block) + def get_folder_effective_org_policy(resource, get_effective_org_policy_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'v1/{+resource}:getEffectiveOrgPolicy', options) command.request_representation = Google::Apis::CloudresourcemanagerV1::GetEffectiveOrgPolicyRequest::Representation command.request_object = get_effective_org_policy_request_object command.response_representation = Google::Apis::CloudresourcemanagerV1::OrgPolicy::Representation command.response_class = Google::Apis::CloudresourcemanagerV1::OrgPolicy command.params['resource'] = resource unless resource.nil? - command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['fields'] = fields unless fields.nil? - execute_or_queue_command(command, &block) - end - - # Gets a list of ancestors in the resource hierarchy for the Project - # identified by the specified `project_id` (for example, `my-project-123`). - # The caller must have read permissions for this Project. - # @param [String] project_id - # The Project ID (for example, `my-project-123`). - # Required. - # @param [Google::Apis::CloudresourcemanagerV1::GetAncestryRequest] get_ancestry_request_object - # @param [String] quota_user - # Available to use for quota purposes for server-side applications. Can be any - # arbitrary string assigned to a user, but should not exceed 40 characters. - # @param [String] fields - # Selector specifying which fields to include in a partial response. - # @param [Google::Apis::RequestOptions] options - # Request-specific options - # - # @yield [result, err] Result & error if block supplied - # @yieldparam result [Google::Apis::CloudresourcemanagerV1::GetAncestryResponse] parsed result object - # @yieldparam err [StandardError] error object if request failed - # - # @return [Google::Apis::CloudresourcemanagerV1::GetAncestryResponse] - # - # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried - # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification - # @raise [Google::Apis::AuthorizationError] Authorization is required - def get_project_ancestry(project_id, get_ancestry_request_object = nil, quota_user: nil, fields: nil, options: nil, &block) - command = make_simple_command(:post, 'v1/projects/{projectId}:getAncestry', options) - command.request_representation = Google::Apis::CloudresourcemanagerV1::GetAncestryRequest::Representation - command.request_object = get_ancestry_request_object - command.response_representation = Google::Apis::CloudresourcemanagerV1::GetAncestryResponse::Representation - command.response_class = Google::Apis::CloudresourcemanagerV1::GetAncestryResponse - command.params['projectId'] = project_id unless project_id.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? - command.query['fields'] = fields unless fields.nil? - execute_or_queue_command(command, &block) - end - - # Returns permissions that a caller has on the specified Project. - # @param [String] resource - # REQUIRED: The resource for which the policy detail is being requested. - # See the operation documentation for the appropriate value for this field. - # @param [Google::Apis::CloudresourcemanagerV1::TestIamPermissionsRequest] test_iam_permissions_request_object - # @param [String] quota_user - # Available to use for quota purposes for server-side applications. Can be any - # arbitrary string assigned to a user, but should not exceed 40 characters. - # @param [String] fields - # Selector specifying which fields to include in a partial response. - # @param [Google::Apis::RequestOptions] options - # Request-specific options - # - # @yield [result, err] Result & error if block supplied - # @yieldparam result [Google::Apis::CloudresourcemanagerV1::TestIamPermissionsResponse] parsed result object - # @yieldparam err [StandardError] error object if request failed - # - # @return [Google::Apis::CloudresourcemanagerV1::TestIamPermissionsResponse] - # - # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried - # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification - # @raise [Google::Apis::AuthorizationError] Authorization is required - def test_project_iam_permissions(resource, test_iam_permissions_request_object = nil, quota_user: nil, fields: nil, options: nil, &block) - command = make_simple_command(:post, 'v1/projects/{resource}:testIamPermissions', options) - command.request_representation = Google::Apis::CloudresourcemanagerV1::TestIamPermissionsRequest::Representation - command.request_object = test_iam_permissions_request_object - command.response_representation = Google::Apis::CloudresourcemanagerV1::TestIamPermissionsResponse::Representation - command.response_class = Google::Apis::CloudresourcemanagerV1::TestIamPermissionsResponse - command.params['resource'] = resource unless resource.nil? - command.query['quotaUser'] = quota_user unless quota_user.nil? - command.query['fields'] = fields unless fields.nil? - execute_or_queue_command(command, &block) - end - - # Marks the Project identified by the specified - # `project_id` (for example, `my-project-123`) for deletion. - # This method will only affect the Project if the following criteria are met: - # + The Project does not have a billing account associated with it. - # + The Project has a lifecycle state of - # ACTIVE. - # This method changes the Project's lifecycle state from - # ACTIVE - # to DELETE_REQUESTED. - # The deletion starts at an unspecified time, - # at which point the Project is no longer accessible. - # Until the deletion completes, you can check the lifecycle state - # checked by retrieving the Project with GetProject, - # and the Project remains visible to ListProjects. - # However, you cannot update the project. - # After the deletion completes, the Project is not retrievable by - # the GetProject and - # ListProjects methods. - # The caller must have modify permissions for this Project. - # @param [String] project_id - # The Project ID (for example, `foo-bar-123`). - # Required. - # @param [String] quota_user - # Available to use for quota purposes for server-side applications. Can be any - # arbitrary string assigned to a user, but should not exceed 40 characters. - # @param [String] fields - # Selector specifying which fields to include in a partial response. - # @param [Google::Apis::RequestOptions] options - # Request-specific options - # - # @yield [result, err] Result & error if block supplied - # @yieldparam result [Google::Apis::CloudresourcemanagerV1::Empty] parsed result object - # @yieldparam err [StandardError] error object if request failed - # - # @return [Google::Apis::CloudresourcemanagerV1::Empty] - # - # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried - # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification - # @raise [Google::Apis::AuthorizationError] Authorization is required - def delete_project(project_id, quota_user: nil, fields: nil, options: nil, &block) - command = make_simple_command(:delete, 'v1/projects/{projectId}', options) - command.response_representation = Google::Apis::CloudresourcemanagerV1::Empty::Representation - command.response_class = Google::Apis::CloudresourcemanagerV1::Empty - command.params['projectId'] = project_id unless project_id.nil? - command.query['quotaUser'] = quota_user unless quota_user.nil? - command.query['fields'] = fields unless fields.nil? - execute_or_queue_command(command, &block) - end - - # Clears a `Policy` from a resource. - # @param [String] resource - # Name of the resource for the `Policy` to clear. - # @param [Google::Apis::CloudresourcemanagerV1::ClearOrgPolicyRequest] clear_org_policy_request_object - # @param [String] quota_user - # Available to use for quota purposes for server-side applications. Can be any - # arbitrary string assigned to a user, but should not exceed 40 characters. - # @param [String] fields - # Selector specifying which fields to include in a partial response. - # @param [Google::Apis::RequestOptions] options - # Request-specific options - # - # @yield [result, err] Result & error if block supplied - # @yieldparam result [Google::Apis::CloudresourcemanagerV1::Empty] parsed result object - # @yieldparam err [StandardError] error object if request failed - # - # @return [Google::Apis::CloudresourcemanagerV1::Empty] - # - # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried - # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification - # @raise [Google::Apis::AuthorizationError] Authorization is required - def clear_project_org_policy(resource, clear_org_policy_request_object = nil, quota_user: nil, fields: nil, options: nil, &block) - command = make_simple_command(:post, 'v1/{+resource}:clearOrgPolicy', options) - command.request_representation = Google::Apis::CloudresourcemanagerV1::ClearOrgPolicyRequest::Representation - command.request_object = clear_org_policy_request_object - command.response_representation = Google::Apis::CloudresourcemanagerV1::Empty::Representation - command.response_class = Google::Apis::CloudresourcemanagerV1::Empty - command.params['resource'] = resource unless resource.nil? - command.query['quotaUser'] = quota_user unless quota_user.nil? - command.query['fields'] = fields unless fields.nil? execute_or_queue_command(command, &block) end @@ -955,11 +804,11 @@ module Google # REQUIRED: The resource for which the policy is being specified. # See the operation documentation for the appropriate value for this field. # @param [Google::Apis::CloudresourcemanagerV1::SetIamPolicyRequest] set_iam_policy_request_object + # @param [String] fields + # Selector specifying which fields to include in a partial response. # @param [String] quota_user # Available to use for quota purposes for server-side applications. Can be any # arbitrary string assigned to a user, but should not exceed 40 characters. - # @param [String] fields - # Selector specifying which fields to include in a partial response. # @param [Google::Apis::RequestOptions] options # Request-specific options # @@ -972,15 +821,15 @@ module Google # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required - def set_project_iam_policy(resource, set_iam_policy_request_object = nil, quota_user: nil, fields: nil, options: nil, &block) + def set_project_iam_policy(resource, set_iam_policy_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'v1/projects/{resource}:setIamPolicy', options) command.request_representation = Google::Apis::CloudresourcemanagerV1::SetIamPolicyRequest::Representation command.request_object = set_iam_policy_request_object command.response_representation = Google::Apis::CloudresourcemanagerV1::Policy::Representation command.response_class = Google::Apis::CloudresourcemanagerV1::Policy command.params['resource'] = resource unless resource.nil? - command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end @@ -988,11 +837,11 @@ module Google # @param [String] resource # Name of the resource to list `Constraints` for. # @param [Google::Apis::CloudresourcemanagerV1::ListAvailableOrgPolicyConstraintsRequest] list_available_org_policy_constraints_request_object + # @param [String] fields + # Selector specifying which fields to include in a partial response. # @param [String] quota_user # Available to use for quota purposes for server-side applications. Can be any # arbitrary string assigned to a user, but should not exceed 40 characters. - # @param [String] fields - # Selector specifying which fields to include in a partial response. # @param [Google::Apis::RequestOptions] options # Request-specific options # @@ -1005,15 +854,15 @@ module Google # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required - def list_project_available_org_policy_constraints(resource, list_available_org_policy_constraints_request_object = nil, quota_user: nil, fields: nil, options: nil, &block) + def list_project_available_org_policy_constraints(resource, list_available_org_policy_constraints_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'v1/{+resource}:listAvailableOrgPolicyConstraints', options) command.request_representation = Google::Apis::CloudresourcemanagerV1::ListAvailableOrgPolicyConstraintsRequest::Representation command.request_object = list_available_org_policy_constraints_request_object command.response_representation = Google::Apis::CloudresourcemanagerV1::ListAvailableOrgPolicyConstraintsResponse::Representation command.response_class = Google::Apis::CloudresourcemanagerV1::ListAvailableOrgPolicyConstraintsResponse command.params['resource'] = resource unless resource.nil? - command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end @@ -1023,11 +872,11 @@ module Google # REQUIRED: The resource for which the policy is being requested. # See the operation documentation for the appropriate value for this field. # @param [Google::Apis::CloudresourcemanagerV1::GetIamPolicyRequest] get_iam_policy_request_object + # @param [String] fields + # Selector specifying which fields to include in a partial response. # @param [String] quota_user # Available to use for quota purposes for server-side applications. Can be any # arbitrary string assigned to a user, but should not exceed 40 characters. - # @param [String] fields - # Selector specifying which fields to include in a partial response. # @param [Google::Apis::RequestOptions] options # Request-specific options # @@ -1040,15 +889,15 @@ module Google # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required - def get_project_iam_policy(resource, get_iam_policy_request_object = nil, quota_user: nil, fields: nil, options: nil, &block) + def get_project_iam_policy(resource, get_iam_policy_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'v1/projects/{resource}:getIamPolicy', options) command.request_representation = Google::Apis::CloudresourcemanagerV1::GetIamPolicyRequest::Representation command.request_object = get_iam_policy_request_object command.response_representation = Google::Apis::CloudresourcemanagerV1::Policy::Representation command.response_class = Google::Apis::CloudresourcemanagerV1::Policy command.params['resource'] = resource unless resource.nil? - command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end @@ -1060,11 +909,11 @@ module Google # @param [String] resource # Name of the resource the `Policy` is set on. # @param [Google::Apis::CloudresourcemanagerV1::GetOrgPolicyRequest] get_org_policy_request_object + # @param [String] fields + # Selector specifying which fields to include in a partial response. # @param [String] quota_user # Available to use for quota purposes for server-side applications. Can be any # arbitrary string assigned to a user, but should not exceed 40 characters. - # @param [String] fields - # Selector specifying which fields to include in a partial response. # @param [Google::Apis::RequestOptions] options # Request-specific options # @@ -1077,15 +926,15 @@ module Google # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required - def get_project_org_policy(resource, get_org_policy_request_object = nil, quota_user: nil, fields: nil, options: nil, &block) + def get_project_org_policy(resource, get_org_policy_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'v1/{+resource}:getOrgPolicy', options) command.request_representation = Google::Apis::CloudresourcemanagerV1::GetOrgPolicyRequest::Representation command.request_object = get_org_policy_request_object command.response_representation = Google::Apis::CloudresourcemanagerV1::OrgPolicy::Representation command.response_class = Google::Apis::CloudresourcemanagerV1::OrgPolicy command.params['resource'] = resource unless resource.nil? - command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end @@ -1095,11 +944,11 @@ module Google # @param [String] resource # The name of the resource to start computing the effective `Policy`. # @param [Google::Apis::CloudresourcemanagerV1::GetEffectiveOrgPolicyRequest] get_effective_org_policy_request_object + # @param [String] fields + # Selector specifying which fields to include in a partial response. # @param [String] quota_user # Available to use for quota purposes for server-side applications. Can be any # arbitrary string assigned to a user, but should not exceed 40 characters. - # @param [String] fields - # Selector specifying which fields to include in a partial response. # @param [Google::Apis::RequestOptions] options # Request-specific options # @@ -1112,15 +961,15 @@ module Google # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required - def get_project_effective_org_policy(resource, get_effective_org_policy_request_object = nil, quota_user: nil, fields: nil, options: nil, &block) + def get_project_effective_org_policy(resource, get_effective_org_policy_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'v1/{+resource}:getEffectiveOrgPolicy', options) command.request_representation = Google::Apis::CloudresourcemanagerV1::GetEffectiveOrgPolicyRequest::Representation command.request_object = get_effective_org_policy_request_object command.response_representation = Google::Apis::CloudresourcemanagerV1::OrgPolicy::Representation command.response_class = Google::Apis::CloudresourcemanagerV1::OrgPolicy command.params['resource'] = resource unless resource.nil? - command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end @@ -1134,11 +983,11 @@ module Google # The project ID (for example, `foo-bar-123`). # Required. # @param [Google::Apis::CloudresourcemanagerV1::UndeleteProjectRequest] undelete_project_request_object + # @param [String] fields + # Selector specifying which fields to include in a partial response. # @param [String] quota_user # Available to use for quota purposes for server-side applications. Can be any # arbitrary string assigned to a user, but should not exceed 40 characters. - # @param [String] fields - # Selector specifying which fields to include in a partial response. # @param [Google::Apis::RequestOptions] options # Request-specific options # @@ -1151,15 +1000,15 @@ module Google # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required - def undelete_project(project_id, undelete_project_request_object = nil, quota_user: nil, fields: nil, options: nil, &block) + def undelete_project(project_id, undelete_project_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'v1/projects/{projectId}:undelete', options) command.request_representation = Google::Apis::CloudresourcemanagerV1::UndeleteProjectRequest::Representation command.request_object = undelete_project_request_object command.response_representation = Google::Apis::CloudresourcemanagerV1::Empty::Representation command.response_class = Google::Apis::CloudresourcemanagerV1::Empty command.params['projectId'] = project_id unless project_id.nil? - command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end @@ -1170,11 +1019,11 @@ module Google # The project ID (for example, `my-project-123`). # Required. # @param [Google::Apis::CloudresourcemanagerV1::Project] project_object + # @param [String] fields + # Selector specifying which fields to include in a partial response. # @param [String] quota_user # Available to use for quota purposes for server-side applications. Can be any # arbitrary string assigned to a user, but should not exceed 40 characters. - # @param [String] fields - # Selector specifying which fields to include in a partial response. # @param [Google::Apis::RequestOptions] options # Request-specific options # @@ -1187,15 +1036,15 @@ module Google # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required - def update_project(project_id, project_object = nil, quota_user: nil, fields: nil, options: nil, &block) + def update_project(project_id, project_object = nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:put, 'v1/projects/{projectId}', options) command.request_representation = Google::Apis::CloudresourcemanagerV1::Project::Representation command.request_object = project_object command.response_representation = Google::Apis::CloudresourcemanagerV1::Project::Representation command.response_class = Google::Apis::CloudresourcemanagerV1::Project command.params['projectId'] = project_id unless project_id.nil? - command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end @@ -1229,11 +1078,11 @@ module Google # The server can return fewer Projects than requested. # If unspecified, server picks an appropriate default. # Optional. + # @param [String] fields + # Selector specifying which fields to include in a partial response. # @param [String] quota_user # Available to use for quota purposes for server-side applications. Can be any # arbitrary string assigned to a user, but should not exceed 40 characters. - # @param [String] fields - # Selector specifying which fields to include in a partial response. # @param [Google::Apis::RequestOptions] options # Request-specific options # @@ -1246,15 +1095,15 @@ module Google # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required - def list_projects(filter: nil, page_token: nil, page_size: nil, quota_user: nil, fields: nil, options: nil, &block) + def list_projects(filter: nil, page_token: nil, page_size: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1/projects', options) command.response_representation = Google::Apis::CloudresourcemanagerV1::ListProjectsResponse::Representation command.response_class = Google::Apis::CloudresourcemanagerV1::ListProjectsResponse command.query['filter'] = filter unless filter.nil? command.query['pageToken'] = page_token unless page_token.nil? command.query['pageSize'] = page_size unless page_size.nil? - command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end @@ -1265,11 +1114,11 @@ module Google # @param [String] resource # Resource name of the resource to attach the `Policy`. # @param [Google::Apis::CloudresourcemanagerV1::SetOrgPolicyRequest] set_org_policy_request_object + # @param [String] fields + # Selector specifying which fields to include in a partial response. # @param [String] quota_user # Available to use for quota purposes for server-side applications. Can be any # arbitrary string assigned to a user, but should not exceed 40 characters. - # @param [String] fields - # Selector specifying which fields to include in a partial response. # @param [Google::Apis::RequestOptions] options # Request-specific options # @@ -1282,15 +1131,15 @@ module Google # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required - def set_project_org_policy(resource, set_org_policy_request_object = nil, quota_user: nil, fields: nil, options: nil, &block) + def set_project_org_policy(resource, set_org_policy_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'v1/{+resource}:setOrgPolicy', options) command.request_representation = Google::Apis::CloudresourcemanagerV1::SetOrgPolicyRequest::Representation command.request_object = set_org_policy_request_object command.response_representation = Google::Apis::CloudresourcemanagerV1::OrgPolicy::Representation command.response_class = Google::Apis::CloudresourcemanagerV1::OrgPolicy command.params['resource'] = resource unless resource.nil? - command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end @@ -1302,11 +1151,11 @@ module Google # latency. 95th percentile latency is around 11 seconds. We recommend # polling at the 5th second with an exponential backoff. # @param [Google::Apis::CloudresourcemanagerV1::Project] project_object + # @param [String] fields + # Selector specifying which fields to include in a partial response. # @param [String] quota_user # Available to use for quota purposes for server-side applications. Can be any # arbitrary string assigned to a user, but should not exceed 40 characters. - # @param [String] fields - # Selector specifying which fields to include in a partial response. # @param [Google::Apis::RequestOptions] options # Request-specific options # @@ -1319,14 +1168,14 @@ module Google # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required - def create_project(project_object = nil, quota_user: nil, fields: nil, options: nil, &block) + def create_project(project_object = nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'v1/projects', options) command.request_representation = Google::Apis::CloudresourcemanagerV1::Project::Representation command.request_object = project_object command.response_representation = Google::Apis::CloudresourcemanagerV1::Operation::Representation command.response_class = Google::Apis::CloudresourcemanagerV1::Operation - command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end @@ -1334,11 +1183,11 @@ module Google # @param [String] resource # Name of the resource to list Policies for. # @param [Google::Apis::CloudresourcemanagerV1::ListOrgPoliciesRequest] list_org_policies_request_object + # @param [String] fields + # Selector specifying which fields to include in a partial response. # @param [String] quota_user # Available to use for quota purposes for server-side applications. Can be any # arbitrary string assigned to a user, but should not exceed 40 characters. - # @param [String] fields - # Selector specifying which fields to include in a partial response. # @param [Google::Apis::RequestOptions] options # Request-specific options # @@ -1351,15 +1200,15 @@ module Google # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required - def list_project_org_policies(resource, list_org_policies_request_object = nil, quota_user: nil, fields: nil, options: nil, &block) + def list_project_org_policies(resource, list_org_policies_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'v1/{+resource}:listOrgPolicies', options) command.request_representation = Google::Apis::CloudresourcemanagerV1::ListOrgPoliciesRequest::Representation command.request_object = list_org_policies_request_object command.response_representation = Google::Apis::CloudresourcemanagerV1::ListOrgPoliciesResponse::Representation command.response_class = Google::Apis::CloudresourcemanagerV1::ListOrgPoliciesResponse command.params['resource'] = resource unless resource.nil? - command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end @@ -1369,11 +1218,11 @@ module Google # @param [String] project_id # The Project ID (for example, `my-project-123`). # Required. + # @param [String] fields + # Selector specifying which fields to include in a partial response. # @param [String] quota_user # Available to use for quota purposes for server-side applications. Can be any # arbitrary string assigned to a user, but should not exceed 40 characters. - # @param [String] fields - # Selector specifying which fields to include in a partial response. # @param [Google::Apis::RequestOptions] options # Request-specific options # @@ -1386,21 +1235,173 @@ module Google # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required - def get_project(project_id, quota_user: nil, fields: nil, options: nil, &block) + def get_project(project_id, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1/projects/{projectId}', options) command.response_representation = Google::Apis::CloudresourcemanagerV1::Project::Representation command.response_class = Google::Apis::CloudresourcemanagerV1::Project command.params['projectId'] = project_id unless project_id.nil? - command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + execute_or_queue_command(command, &block) + end + + # Gets a list of ancestors in the resource hierarchy for the Project + # identified by the specified `project_id` (for example, `my-project-123`). + # The caller must have read permissions for this Project. + # @param [String] project_id + # The Project ID (for example, `my-project-123`). + # Required. + # @param [Google::Apis::CloudresourcemanagerV1::GetAncestryRequest] get_ancestry_request_object + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # Available to use for quota purposes for server-side applications. Can be any + # arbitrary string assigned to a user, but should not exceed 40 characters. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::CloudresourcemanagerV1::GetAncestryResponse] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::CloudresourcemanagerV1::GetAncestryResponse] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def get_project_ancestry(project_id, get_ancestry_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:post, 'v1/projects/{projectId}:getAncestry', options) + command.request_representation = Google::Apis::CloudresourcemanagerV1::GetAncestryRequest::Representation + command.request_object = get_ancestry_request_object + command.response_representation = Google::Apis::CloudresourcemanagerV1::GetAncestryResponse::Representation + command.response_class = Google::Apis::CloudresourcemanagerV1::GetAncestryResponse + command.params['projectId'] = project_id unless project_id.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + execute_or_queue_command(command, &block) + end + + # Returns permissions that a caller has on the specified Project. + # @param [String] resource + # REQUIRED: The resource for which the policy detail is being requested. + # See the operation documentation for the appropriate value for this field. + # @param [Google::Apis::CloudresourcemanagerV1::TestIamPermissionsRequest] test_iam_permissions_request_object + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # Available to use for quota purposes for server-side applications. Can be any + # arbitrary string assigned to a user, but should not exceed 40 characters. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::CloudresourcemanagerV1::TestIamPermissionsResponse] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::CloudresourcemanagerV1::TestIamPermissionsResponse] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def test_project_iam_permissions(resource, test_iam_permissions_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:post, 'v1/projects/{resource}:testIamPermissions', options) + command.request_representation = Google::Apis::CloudresourcemanagerV1::TestIamPermissionsRequest::Representation + command.request_object = test_iam_permissions_request_object + command.response_representation = Google::Apis::CloudresourcemanagerV1::TestIamPermissionsResponse::Representation + command.response_class = Google::Apis::CloudresourcemanagerV1::TestIamPermissionsResponse + command.params['resource'] = resource unless resource.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + execute_or_queue_command(command, &block) + end + + # Marks the Project identified by the specified + # `project_id` (for example, `my-project-123`) for deletion. + # This method will only affect the Project if the following criteria are met: + # + The Project does not have a billing account associated with it. + # + The Project has a lifecycle state of + # ACTIVE. + # This method changes the Project's lifecycle state from + # ACTIVE + # to DELETE_REQUESTED. + # The deletion starts at an unspecified time, + # at which point the Project is no longer accessible. + # Until the deletion completes, you can check the lifecycle state + # checked by retrieving the Project with GetProject, + # and the Project remains visible to ListProjects. + # However, you cannot update the project. + # After the deletion completes, the Project is not retrievable by + # the GetProject and + # ListProjects methods. + # The caller must have modify permissions for this Project. + # @param [String] project_id + # The Project ID (for example, `foo-bar-123`). + # Required. + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # Available to use for quota purposes for server-side applications. Can be any + # arbitrary string assigned to a user, but should not exceed 40 characters. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::CloudresourcemanagerV1::Empty] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::CloudresourcemanagerV1::Empty] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def delete_project(project_id, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:delete, 'v1/projects/{projectId}', options) + command.response_representation = Google::Apis::CloudresourcemanagerV1::Empty::Representation + command.response_class = Google::Apis::CloudresourcemanagerV1::Empty + command.params['projectId'] = project_id unless project_id.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + execute_or_queue_command(command, &block) + end + + # Clears a `Policy` from a resource. + # @param [String] resource + # Name of the resource for the `Policy` to clear. + # @param [Google::Apis::CloudresourcemanagerV1::ClearOrgPolicyRequest] clear_org_policy_request_object + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # Available to use for quota purposes for server-side applications. Can be any + # arbitrary string assigned to a user, but should not exceed 40 characters. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::CloudresourcemanagerV1::Empty] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::CloudresourcemanagerV1::Empty] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def clear_project_org_policy(resource, clear_org_policy_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:post, 'v1/{+resource}:clearOrgPolicy', options) + command.request_representation = Google::Apis::CloudresourcemanagerV1::ClearOrgPolicyRequest::Representation + command.request_object = clear_org_policy_request_object + command.response_representation = Google::Apis::CloudresourcemanagerV1::Empty::Representation + command.response_class = Google::Apis::CloudresourcemanagerV1::Empty + command.params['resource'] = resource unless resource.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end protected def apply_command_defaults(command) - command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['key'] = key unless key.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? end end end diff --git a/generated/google/apis/cloudresourcemanager_v1beta1/classes.rb b/generated/google/apis/cloudresourcemanager_v1beta1/classes.rb index 43de5137d..e26e9f8aa 100644 --- a/generated/google/apis/cloudresourcemanager_v1beta1/classes.rb +++ b/generated/google/apis/cloudresourcemanager_v1beta1/classes.rb @@ -22,6 +22,185 @@ module Google module Apis module CloudresourcemanagerV1beta1 + # Specifies the audit configuration for a service. + # The configuration determines which permission types are logged, and what + # identities, if any, are exempted from logging. + # An AuditConifg must have one or more AuditLogConfigs. + # If there are AuditConfigs for both `allServices` and a specific service, + # the union of the two AuditConfigs is used for that service: the log_types + # specified in each AuditConfig are enabled, and the exempted_members in each + # AuditConfig are exempted. + # Example Policy with multiple AuditConfigs: + # ` + # "audit_configs": [ + # ` + # "service": "allServices" + # "audit_log_configs": [ + # ` + # "log_type": "DATA_READ", + # "exempted_members": [ + # "user:foo@gmail.com" + # ] + # `, + # ` + # "log_type": "DATA_WRITE", + # `, + # ` + # "log_type": "ADMIN_READ", + # ` + # ] + # `, + # ` + # "service": "fooservice@googleapis.com" + # "audit_log_configs": [ + # ` + # "log_type": "DATA_READ", + # `, + # ` + # "log_type": "DATA_WRITE", + # "exempted_members": [ + # "user:bar@gmail.com" + # ] + # ` + # ] + # ` + # ] + # ` + # For fooservice, this policy enables DATA_READ, DATA_WRITE and ADMIN_READ + # logging. It also exempts foo@gmail.com from DATA_READ logging, and + # bar@gmail.com from DATA_WRITE logging. + class AuditConfig + include Google::Apis::Core::Hashable + + # The configuration for logging of each type of permission. + # Next ID: 4 + # Corresponds to the JSON property `auditLogConfigs` + # @return [Array] + attr_accessor :audit_log_configs + + # Specifies a service that will be enabled for audit logging. + # For example, `storage.googleapis.com`, `cloudsql.googleapis.com`. + # `allServices` is a special value that covers all services. + # Corresponds to the JSON property `service` + # @return [String] + attr_accessor :service + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @audit_log_configs = args[:audit_log_configs] if args.key?(:audit_log_configs) + @service = args[:service] if args.key?(:service) + end + end + + # Identifying information for a single ancestor of a project. + class Ancestor + include Google::Apis::Core::Hashable + + # A container to reference an id for any resource type. A `resource` in Google + # Cloud Platform is a generic term for something you (a developer) may want to + # interact with through one of our API's. Some examples are an App Engine app, + # a Compute Engine instance, a Cloud SQL database, and so on. + # Corresponds to the JSON property `resourceId` + # @return [Google::Apis::CloudresourcemanagerV1beta1::ResourceId] + attr_accessor :resource_id + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @resource_id = args[:resource_id] if args.key?(:resource_id) + end + end + + # Request message for `SetIamPolicy` method. + class SetIamPolicyRequest + include Google::Apis::Core::Hashable + + # Defines an Identity and Access Management (IAM) policy. It is used to + # specify access control policies for Cloud Platform resources. + # A `Policy` consists of a list of `bindings`. A `Binding` binds a list of + # `members` to a `role`, where the members can be user accounts, Google groups, + # Google domains, and service accounts. A `role` is a named list of permissions + # defined by IAM. + # **Example** + # ` + # "bindings": [ + # ` + # "role": "roles/owner", + # "members": [ + # "user:mike@example.com", + # "group:admins@example.com", + # "domain:google.com", + # "serviceAccount:my-other-app@appspot.gserviceaccount.com", + # ] + # `, + # ` + # "role": "roles/viewer", + # "members": ["user:sean@example.com"] + # ` + # ] + # ` + # For a description of IAM and its features, see the + # [IAM developer's guide](https://cloud.google.com/iam). + # Corresponds to the JSON property `policy` + # @return [Google::Apis::CloudresourcemanagerV1beta1::Policy] + attr_accessor :policy + + # OPTIONAL: A FieldMask specifying which fields of the policy to modify. Only + # the fields in the mask will be modified. If no mask is provided, the + # following default mask is used: + # paths: "bindings, etag" + # This field is only used by Cloud IAM. + # Corresponds to the JSON property `updateMask` + # @return [String] + attr_accessor :update_mask + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @policy = args[:policy] if args.key?(:policy) + @update_mask = args[:update_mask] if args.key?(:update_mask) + end + end + + # The response returned from the `ListOrganizations` method. + class ListOrganizationsResponse + include Google::Apis::Core::Hashable + + # The list of Organizations that matched the list query, possibly paginated. + # Corresponds to the JSON property `organizations` + # @return [Array] + attr_accessor :organizations + + # A pagination token to be used to retrieve the next page of results. If the + # result is too large to fit within the page size specified in the request, + # this field will be set with a token that can be used to fetch the next page + # of results. If this field is empty, it indicates that this response + # contains the last page of results. + # Corresponds to the JSON property `nextPageToken` + # @return [String] + attr_accessor :next_page_token + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @organizations = args[:organizations] if args.key?(:organizations) + @next_page_token = args[:next_page_token] if args.key?(:next_page_token) + end + end + # Associates `members` with a `role`. class Binding include Google::Apis::Core::Hashable @@ -100,6 +279,20 @@ module Google class Organization include Google::Apis::Core::Hashable + # The organization's current lifecycle state. Assigned by the server. + # @OutputOnly + # Corresponds to the JSON property `lifecycleState` + # @return [String] + attr_accessor :lifecycle_state + + # A friendly string to be used to refer to the Organization in the UI. + # Assigned by the server, set to the primary domain of the G Suite + # customer that owns the organization. + # @OutputOnly + # Corresponds to the JSON property `displayName` + # @return [String] + attr_accessor :display_name + # Timestamp when the Organization was created. Assigned by the server. # @OutputOnly # Corresponds to the JSON property `creationTime` @@ -129,32 +322,18 @@ module Google # @return [String] attr_accessor :organization_id - # The organization's current lifecycle state. Assigned by the server. - # @OutputOnly - # Corresponds to the JSON property `lifecycleState` - # @return [String] - attr_accessor :lifecycle_state - - # A friendly string to be used to refer to the Organization in the UI. - # Assigned by the server, set to the primary domain of the G Suite - # customer that owns the organization. - # @OutputOnly - # Corresponds to the JSON property `displayName` - # @return [String] - attr_accessor :display_name - def initialize(**args) update!(**args) end # Update properties of this object def update!(**args) + @lifecycle_state = args[:lifecycle_state] if args.key?(:lifecycle_state) + @display_name = args[:display_name] if args.key?(:display_name) @creation_time = args[:creation_time] if args.key?(:creation_time) @owner = args[:owner] if args.key?(:owner) @name = args[:name] if args.key?(:name) @organization_id = args[:organization_id] if args.key?(:organization_id) - @lifecycle_state = args[:lifecycle_state] if args.key?(:lifecycle_state) - @display_name = args[:display_name] if args.key?(:display_name) end end @@ -228,6 +407,27 @@ module Google end end + # Response from the GetAncestry method. + class GetAncestryResponse + include Google::Apis::Core::Hashable + + # Ancestors are ordered from bottom to top of the resource hierarchy. The + # first ancestor is the project itself, followed by the project's parent, + # etc. + # Corresponds to the JSON property `ancestor` + # @return [Array] + attr_accessor :ancestor + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @ancestor = args[:ancestor] if args.key?(:ancestor) + end + end + # The entity that owns an Organization. The lifetime of the Organization and # all of its descendants are bound to the `OrganizationOwner`. If the # `OrganizationOwner` is deleted, the Organization and all its descendants will @@ -250,27 +450,6 @@ module Google end end - # Response from the GetAncestry method. - class GetAncestryResponse - include Google::Apis::Core::Hashable - - # Ancestors are ordered from bottom to top of the resource hierarchy. The - # first ancestor is the project itself, followed by the project's parent, - # etc. - # Corresponds to the JSON property `ancestor` - # @return [Array] - attr_accessor :ancestor - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @ancestor = args[:ancestor] if args.key?(:ancestor) - end - end - # Provides the configuration for logging a type of permissions. # Example: # ` @@ -291,6 +470,11 @@ module Google class AuditLogConfig include Google::Apis::Core::Hashable + # The log type that this config enables. + # Corresponds to the JSON property `logType` + # @return [String] + attr_accessor :log_type + # Specifies the identities that do not cause logging for this type of # permission. # Follows the same format of Binding.members. @@ -298,19 +482,14 @@ module Google # @return [Array] attr_accessor :exempted_members - # The log type that this config enables. - # Corresponds to the JSON property `logType` - # @return [String] - attr_accessor :log_type - def initialize(**args) update!(**args) end # Update properties of this object def update!(**args) - @exempted_members = args[:exempted_members] if args.key?(:exempted_members) @log_type = args[:log_type] if args.key?(:log_type) + @exempted_members = args[:exempted_members] if args.key?(:exempted_members) end end @@ -323,6 +502,12 @@ module Google class ListProjectsResponse include Google::Apis::Core::Hashable + # The list of Projects that matched the list filter. This list can + # be paginated. + # Corresponds to the JSON property `projects` + # @return [Array] + attr_accessor :projects + # Pagination token. # If the result set is too large to fit in a single response, this token # is returned. It encodes the position of the current result cursor. @@ -335,20 +520,14 @@ module Google # @return [String] attr_accessor :next_page_token - # The list of Projects that matched the list filter. This list can - # be paginated. - # Corresponds to the JSON property `projects` - # @return [Array] - attr_accessor :projects - def initialize(**args) update!(**args) end # Update properties of this object def update!(**args) - @next_page_token = args[:next_page_token] if args.key?(:next_page_token) @projects = args[:projects] if args.key?(:projects) + @next_page_token = args[:next_page_token] if args.key?(:next_page_token) end end @@ -373,26 +552,11 @@ module Google class Project include Google::Apis::Core::Hashable - # The Project lifecycle state. + # Creation time. # Read-only. - # Corresponds to the JSON property `lifecycleState` + # Corresponds to the JSON property `createTime` # @return [String] - attr_accessor :lifecycle_state - - # The number uniquely identifying the project. - # Example: 415104041262 - # Read-only. - # Corresponds to the JSON property `projectNumber` - # @return [String] - attr_accessor :project_number - - # A container to reference an id for any resource type. A `resource` in Google - # Cloud Platform is a generic term for something you (a developer) may want to - # interact with through one of our API's. Some examples are an App Engine app, - # a Compute Engine instance, a Cloud SQL database, and so on. - # Corresponds to the JSON property `parent` - # @return [Google::Apis::CloudresourcemanagerV1beta1::ResourceId] - attr_accessor :parent + attr_accessor :create_time # The labels associated with this Project. # Label keys must be between 1 and 63 characters long and must conform @@ -408,12 +572,6 @@ module Google # @return [Hash] attr_accessor :labels - # Creation time. - # Read-only. - # Corresponds to the JSON property `createTime` - # @return [String] - attr_accessor :create_time - # The user-assigned display name of the Project. # It must be 4 to 30 characters. # Allowed characters are: lowercase and uppercase letters, numbers, @@ -434,19 +592,40 @@ module Google # @return [String] attr_accessor :project_id + # The Project lifecycle state. + # Read-only. + # Corresponds to the JSON property `lifecycleState` + # @return [String] + attr_accessor :lifecycle_state + + # The number uniquely identifying the project. + # Example: 415104041262 + # Read-only. + # Corresponds to the JSON property `projectNumber` + # @return [Fixnum] + attr_accessor :project_number + + # A container to reference an id for any resource type. A `resource` in Google + # Cloud Platform is a generic term for something you (a developer) may want to + # interact with through one of our API's. Some examples are an App Engine app, + # a Compute Engine instance, a Cloud SQL database, and so on. + # Corresponds to the JSON property `parent` + # @return [Google::Apis::CloudresourcemanagerV1beta1::ResourceId] + attr_accessor :parent + def initialize(**args) update!(**args) end # Update properties of this object def update!(**args) + @create_time = args[:create_time] if args.key?(:create_time) + @labels = args[:labels] if args.key?(:labels) + @name = args[:name] if args.key?(:name) + @project_id = args[:project_id] if args.key?(:project_id) @lifecycle_state = args[:lifecycle_state] if args.key?(:lifecycle_state) @project_number = args[:project_number] if args.key?(:project_number) @parent = args[:parent] if args.key?(:parent) - @labels = args[:labels] if args.key?(:labels) - @create_time = args[:create_time] if args.key?(:create_time) - @name = args[:name] if args.key?(:name) - @project_id = args[:project_id] if args.key?(:project_id) end end @@ -472,6 +651,64 @@ module Google end end + # A classification of the Folder Operation error. + class FolderOperationError + include Google::Apis::Core::Hashable + + # The type of operation error experienced. + # Corresponds to the JSON property `errorMessageId` + # @return [String] + attr_accessor :error_message_id + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @error_message_id = args[:error_message_id] if args.key?(:error_message_id) + end + end + + # Metadata describing a long running folder operation + class FolderOperation + include Google::Apis::Core::Hashable + + # The display name of the folder. + # Corresponds to the JSON property `displayName` + # @return [String] + attr_accessor :display_name + + # The resource name of the folder's parent. + # Only applicable when the operation_type is MOVE. + # Corresponds to the JSON property `sourceParent` + # @return [String] + attr_accessor :source_parent + + # The resource name of the folder or organization we are either creating + # the folder under or moving the folder to. + # Corresponds to the JSON property `destinationParent` + # @return [String] + attr_accessor :destination_parent + + # The type of this operation. + # Corresponds to the JSON property `operationType` + # @return [String] + attr_accessor :operation_type + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @display_name = args[:display_name] if args.key?(:display_name) + @source_parent = args[:source_parent] if args.key?(:source_parent) + @destination_parent = args[:destination_parent] if args.key?(:destination_parent) + @operation_type = args[:operation_type] if args.key?(:operation_type) + end + end + # Defines an Identity and Access Management (IAM) policy. It is used to # specify access control policies for Cloud Platform resources. # A `Policy` consists of a list of `bindings`. A `Binding` binds a list of @@ -501,6 +738,18 @@ module Google class Policy include Google::Apis::Core::Hashable + # Specifies cloud audit logging configuration for this policy. + # Corresponds to the JSON property `auditConfigs` + # @return [Array] + attr_accessor :audit_configs + + # Associates a list of `members` to a `role`. + # Multiple `bindings` must not be specified for the same `role`. + # `bindings` with no members will result in an error. + # Corresponds to the JSON property `bindings` + # @return [Array] + attr_accessor :bindings + # `etag` is used for optimistic concurrency control as a way to help # prevent simultaneous updates of a policy from overwriting each other. # It is strongly suggested that systems make use of the `etag` in the @@ -520,86 +769,16 @@ module Google # @return [Fixnum] attr_accessor :version - # Specifies cloud audit logging configuration for this policy. - # Corresponds to the JSON property `auditConfigs` - # @return [Array] - attr_accessor :audit_configs - - # Associates a list of `members` to a `role`. - # Multiple `bindings` must not be specified for the same `role`. - # `bindings` with no members will result in an error. - # Corresponds to the JSON property `bindings` - # @return [Array] - attr_accessor :bindings - def initialize(**args) update!(**args) end # Update properties of this object def update!(**args) - @etag = args[:etag] if args.key?(:etag) - @version = args[:version] if args.key?(:version) @audit_configs = args[:audit_configs] if args.key?(:audit_configs) @bindings = args[:bindings] if args.key?(:bindings) - end - end - - # Metadata describing a long running folder operation - class FolderOperation - include Google::Apis::Core::Hashable - - # The type of this operation. - # Corresponds to the JSON property `operationType` - # @return [String] - attr_accessor :operation_type - - # The display name of the folder. - # Corresponds to the JSON property `displayName` - # @return [String] - attr_accessor :display_name - - # The resource name of the folder's parent. - # Only applicable when the operation_type is MOVE. - # Corresponds to the JSON property `sourceParent` - # @return [String] - attr_accessor :source_parent - - # The resource name of the folder or organization we are either creating - # the folder under or moving the folder to. - # Corresponds to the JSON property `destinationParent` - # @return [String] - attr_accessor :destination_parent - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @operation_type = args[:operation_type] if args.key?(:operation_type) - @display_name = args[:display_name] if args.key?(:display_name) - @source_parent = args[:source_parent] if args.key?(:source_parent) - @destination_parent = args[:destination_parent] if args.key?(:destination_parent) - end - end - - # A classification of the Folder Operation error. - class FolderOperationError - include Google::Apis::Core::Hashable - - # The type of operation error experienced. - # Corresponds to the JSON property `errorMessageId` - # @return [String] - attr_accessor :error_message_id - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @error_message_id = args[:error_message_id] if args.key?(:error_message_id) + @etag = args[:etag] if args.key?(:etag) + @version = args[:version] if args.key?(:version) end end @@ -632,185 +811,6 @@ module Google @id = args[:id] if args.key?(:id) end end - - # Specifies the audit configuration for a service. - # The configuration determines which permission types are logged, and what - # identities, if any, are exempted from logging. - # An AuditConifg must have one or more AuditLogConfigs. - # If there are AuditConfigs for both `allServices` and a specific service, - # the union of the two AuditConfigs is used for that service: the log_types - # specified in each AuditConfig are enabled, and the exempted_members in each - # AuditConfig are exempted. - # Example Policy with multiple AuditConfigs: - # ` - # "audit_configs": [ - # ` - # "service": "allServices" - # "audit_log_configs": [ - # ` - # "log_type": "DATA_READ", - # "exempted_members": [ - # "user:foo@gmail.com" - # ] - # `, - # ` - # "log_type": "DATA_WRITE", - # `, - # ` - # "log_type": "ADMIN_READ", - # ` - # ] - # `, - # ` - # "service": "fooservice@googleapis.com" - # "audit_log_configs": [ - # ` - # "log_type": "DATA_READ", - # `, - # ` - # "log_type": "DATA_WRITE", - # "exempted_members": [ - # "user:bar@gmail.com" - # ] - # ` - # ] - # ` - # ] - # ` - # For fooservice, this policy enables DATA_READ, DATA_WRITE and ADMIN_READ - # logging. It also exempts foo@gmail.com from DATA_READ logging, and - # bar@gmail.com from DATA_WRITE logging. - class AuditConfig - include Google::Apis::Core::Hashable - - # Specifies a service that will be enabled for audit logging. - # For example, `storage.googleapis.com`, `cloudsql.googleapis.com`. - # `allServices` is a special value that covers all services. - # Corresponds to the JSON property `service` - # @return [String] - attr_accessor :service - - # The configuration for logging of each type of permission. - # Next ID: 4 - # Corresponds to the JSON property `auditLogConfigs` - # @return [Array] - attr_accessor :audit_log_configs - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @service = args[:service] if args.key?(:service) - @audit_log_configs = args[:audit_log_configs] if args.key?(:audit_log_configs) - end - end - - # Identifying information for a single ancestor of a project. - class Ancestor - include Google::Apis::Core::Hashable - - # A container to reference an id for any resource type. A `resource` in Google - # Cloud Platform is a generic term for something you (a developer) may want to - # interact with through one of our API's. Some examples are an App Engine app, - # a Compute Engine instance, a Cloud SQL database, and so on. - # Corresponds to the JSON property `resourceId` - # @return [Google::Apis::CloudresourcemanagerV1beta1::ResourceId] - attr_accessor :resource_id - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @resource_id = args[:resource_id] if args.key?(:resource_id) - end - end - - # Request message for `SetIamPolicy` method. - class SetIamPolicyRequest - include Google::Apis::Core::Hashable - - # OPTIONAL: A FieldMask specifying which fields of the policy to modify. Only - # the fields in the mask will be modified. If no mask is provided, the - # following default mask is used: - # paths: "bindings, etag" - # This field is only used by Cloud IAM. - # Corresponds to the JSON property `updateMask` - # @return [String] - attr_accessor :update_mask - - # Defines an Identity and Access Management (IAM) policy. It is used to - # specify access control policies for Cloud Platform resources. - # A `Policy` consists of a list of `bindings`. A `Binding` binds a list of - # `members` to a `role`, where the members can be user accounts, Google groups, - # Google domains, and service accounts. A `role` is a named list of permissions - # defined by IAM. - # **Example** - # ` - # "bindings": [ - # ` - # "role": "roles/owner", - # "members": [ - # "user:mike@example.com", - # "group:admins@example.com", - # "domain:google.com", - # "serviceAccount:my-other-app@appspot.gserviceaccount.com", - # ] - # `, - # ` - # "role": "roles/viewer", - # "members": ["user:sean@example.com"] - # ` - # ] - # ` - # For a description of IAM and its features, see the - # [IAM developer's guide](https://cloud.google.com/iam). - # Corresponds to the JSON property `policy` - # @return [Google::Apis::CloudresourcemanagerV1beta1::Policy] - attr_accessor :policy - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @update_mask = args[:update_mask] if args.key?(:update_mask) - @policy = args[:policy] if args.key?(:policy) - end - end - - # The response returned from the `ListOrganizations` method. - class ListOrganizationsResponse - include Google::Apis::Core::Hashable - - # A pagination token to be used to retrieve the next page of results. If the - # result is too large to fit within the page size specified in the request, - # this field will be set with a token that can be used to fetch the next page - # of results. If this field is empty, it indicates that this response - # contains the last page of results. - # Corresponds to the JSON property `nextPageToken` - # @return [String] - attr_accessor :next_page_token - - # The list of Organizations that matched the list query, possibly paginated. - # Corresponds to the JSON property `organizations` - # @return [Array] - attr_accessor :organizations - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @next_page_token = args[:next_page_token] if args.key?(:next_page_token) - @organizations = args[:organizations] if args.key?(:organizations) - end - end end end end diff --git a/generated/google/apis/cloudresourcemanager_v1beta1/representations.rb b/generated/google/apis/cloudresourcemanager_v1beta1/representations.rb index 6e6c0c998..0ef8edb9a 100644 --- a/generated/google/apis/cloudresourcemanager_v1beta1/representations.rb +++ b/generated/google/apis/cloudresourcemanager_v1beta1/representations.rb @@ -22,6 +22,30 @@ module Google module Apis module CloudresourcemanagerV1beta1 + class AuditConfig + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class Ancestor + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class SetIamPolicyRequest + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class ListOrganizationsResponse + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + class Binding class Representation < Google::Apis::Core::JsonRepresentation; end @@ -64,13 +88,13 @@ module Google include Google::Apis::Core::JsonObjectSupport end - class OrganizationOwner + class GetAncestryResponse class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end - class GetAncestryResponse + class OrganizationOwner class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport @@ -106,7 +130,7 @@ module Google include Google::Apis::Core::JsonObjectSupport end - class Policy + class FolderOperationError class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport @@ -118,7 +142,7 @@ module Google include Google::Apis::Core::JsonObjectSupport end - class FolderOperationError + class Policy class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport @@ -131,27 +155,38 @@ module Google end class AuditConfig - class Representation < Google::Apis::Core::JsonRepresentation; end + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :audit_log_configs, as: 'auditLogConfigs', class: Google::Apis::CloudresourcemanagerV1beta1::AuditLogConfig, decorator: Google::Apis::CloudresourcemanagerV1beta1::AuditLogConfig::Representation - include Google::Apis::Core::JsonObjectSupport + property :service, as: 'service' + end end class Ancestor - class Representation < Google::Apis::Core::JsonRepresentation; end + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :resource_id, as: 'resourceId', class: Google::Apis::CloudresourcemanagerV1beta1::ResourceId, decorator: Google::Apis::CloudresourcemanagerV1beta1::ResourceId::Representation - include Google::Apis::Core::JsonObjectSupport + end end class SetIamPolicyRequest - class Representation < Google::Apis::Core::JsonRepresentation; end + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :policy, as: 'policy', class: Google::Apis::CloudresourcemanagerV1beta1::Policy, decorator: Google::Apis::CloudresourcemanagerV1beta1::Policy::Representation - include Google::Apis::Core::JsonObjectSupport + property :update_mask, as: 'updateMask' + end end class ListOrganizationsResponse - class Representation < Google::Apis::Core::JsonRepresentation; end + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :organizations, as: 'organizations', class: Google::Apis::CloudresourcemanagerV1beta1::Organization, decorator: Google::Apis::CloudresourcemanagerV1beta1::Organization::Representation - include Google::Apis::Core::JsonObjectSupport + property :next_page_token, as: 'nextPageToken' + end end class Binding @@ -177,13 +212,13 @@ module Google class Organization # @private class Representation < Google::Apis::Core::JsonRepresentation + property :lifecycle_state, as: 'lifecycleState' + property :display_name, as: 'displayName' property :creation_time, as: 'creationTime' property :owner, as: 'owner', class: Google::Apis::CloudresourcemanagerV1beta1::OrganizationOwner, decorator: Google::Apis::CloudresourcemanagerV1beta1::OrganizationOwner::Representation property :name, as: 'name' property :organization_id, as: 'organizationId' - property :lifecycle_state, as: 'lifecycleState' - property :display_name, as: 'displayName' end end @@ -209,13 +244,6 @@ module Google end end - class OrganizationOwner - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :directory_customer_id, as: 'directoryCustomerId' - end - end - class GetAncestryResponse # @private class Representation < Google::Apis::Core::JsonRepresentation @@ -224,20 +252,27 @@ module Google end end + class OrganizationOwner + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :directory_customer_id, as: 'directoryCustomerId' + end + end + class AuditLogConfig # @private class Representation < Google::Apis::Core::JsonRepresentation - collection :exempted_members, as: 'exemptedMembers' property :log_type, as: 'logType' + collection :exempted_members, as: 'exemptedMembers' end end class ListProjectsResponse # @private class Representation < Google::Apis::Core::JsonRepresentation - property :next_page_token, as: 'nextPageToken' collection :projects, as: 'projects', class: Google::Apis::CloudresourcemanagerV1beta1::Project, decorator: Google::Apis::CloudresourcemanagerV1beta1::Project::Representation + property :next_page_token, as: 'nextPageToken' end end @@ -250,14 +285,14 @@ module Google class Project # @private class Representation < Google::Apis::Core::JsonRepresentation - property :lifecycle_state, as: 'lifecycleState' - property :project_number, as: 'projectNumber' - property :parent, as: 'parent', class: Google::Apis::CloudresourcemanagerV1beta1::ResourceId, decorator: Google::Apis::CloudresourcemanagerV1beta1::ResourceId::Representation - - hash :labels, as: 'labels' property :create_time, as: 'createTime' + hash :labels, as: 'labels' property :name, as: 'name' property :project_id, as: 'projectId' + property :lifecycle_state, as: 'lifecycleState' + property :project_number, :numeric_string => true, as: 'projectNumber' + property :parent, as: 'parent', class: Google::Apis::CloudresourcemanagerV1beta1::ResourceId, decorator: Google::Apis::CloudresourcemanagerV1beta1::ResourceId::Representation + end end @@ -268,32 +303,32 @@ module Google end end - class Policy + class FolderOperationError # @private class Representation < Google::Apis::Core::JsonRepresentation - property :etag, :base64 => true, as: 'etag' - property :version, as: 'version' - collection :audit_configs, as: 'auditConfigs', class: Google::Apis::CloudresourcemanagerV1beta1::AuditConfig, decorator: Google::Apis::CloudresourcemanagerV1beta1::AuditConfig::Representation - - collection :bindings, as: 'bindings', class: Google::Apis::CloudresourcemanagerV1beta1::Binding, decorator: Google::Apis::CloudresourcemanagerV1beta1::Binding::Representation - + property :error_message_id, as: 'errorMessageId' end end class FolderOperation # @private class Representation < Google::Apis::Core::JsonRepresentation - property :operation_type, as: 'operationType' property :display_name, as: 'displayName' property :source_parent, as: 'sourceParent' property :destination_parent, as: 'destinationParent' + property :operation_type, as: 'operationType' end end - class FolderOperationError + class Policy # @private class Representation < Google::Apis::Core::JsonRepresentation - property :error_message_id, as: 'errorMessageId' + collection :audit_configs, as: 'auditConfigs', class: Google::Apis::CloudresourcemanagerV1beta1::AuditConfig, decorator: Google::Apis::CloudresourcemanagerV1beta1::AuditConfig::Representation + + collection :bindings, as: 'bindings', class: Google::Apis::CloudresourcemanagerV1beta1::Binding, decorator: Google::Apis::CloudresourcemanagerV1beta1::Binding::Representation + + property :etag, :base64 => true, as: 'etag' + property :version, as: 'version' end end @@ -304,41 +339,6 @@ module Google property :id, as: 'id' end end - - class AuditConfig - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :service, as: 'service' - collection :audit_log_configs, as: 'auditLogConfigs', class: Google::Apis::CloudresourcemanagerV1beta1::AuditLogConfig, decorator: Google::Apis::CloudresourcemanagerV1beta1::AuditLogConfig::Representation - - end - end - - class Ancestor - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :resource_id, as: 'resourceId', class: Google::Apis::CloudresourcemanagerV1beta1::ResourceId, decorator: Google::Apis::CloudresourcemanagerV1beta1::ResourceId::Representation - - end - end - - class SetIamPolicyRequest - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :update_mask, as: 'updateMask' - property :policy, as: 'policy', class: Google::Apis::CloudresourcemanagerV1beta1::Policy, decorator: Google::Apis::CloudresourcemanagerV1beta1::Policy::Representation - - end - end - - class ListOrganizationsResponse - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :next_page_token, as: 'nextPageToken' - collection :organizations, as: 'organizations', class: Google::Apis::CloudresourcemanagerV1beta1::Organization, decorator: Google::Apis::CloudresourcemanagerV1beta1::Organization::Representation - - end - end end end end diff --git a/generated/google/apis/cloudresourcemanager_v1beta1/service.rb b/generated/google/apis/cloudresourcemanager_v1beta1/service.rb index 2b20cc4d1..3a05a9c3a 100644 --- a/generated/google/apis/cloudresourcemanager_v1beta1/service.rb +++ b/generated/google/apis/cloudresourcemanager_v1beta1/service.rb @@ -45,6 +45,220 @@ module Google def initialize super('https://cloudresourcemanager.googleapis.com/', '') + @batch_path = 'batch' + end + + # Returns the IAM access control policy for the specified Project. + # Permission is denied if the policy or the resource does not exist. + # @param [String] resource + # REQUIRED: The resource for which the policy is being requested. + # See the operation documentation for the appropriate value for this field. + # @param [Google::Apis::CloudresourcemanagerV1beta1::GetIamPolicyRequest] get_iam_policy_request_object + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # Available to use for quota purposes for server-side applications. Can be any + # arbitrary string assigned to a user, but should not exceed 40 characters. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::CloudresourcemanagerV1beta1::Policy] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::CloudresourcemanagerV1beta1::Policy] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def get_project_iam_policy(resource, get_iam_policy_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:post, 'v1beta1/projects/{resource}:getIamPolicy', options) + command.request_representation = Google::Apis::CloudresourcemanagerV1beta1::GetIamPolicyRequest::Representation + command.request_object = get_iam_policy_request_object + command.response_representation = Google::Apis::CloudresourcemanagerV1beta1::Policy::Representation + command.response_class = Google::Apis::CloudresourcemanagerV1beta1::Policy + command.params['resource'] = resource unless resource.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + execute_or_queue_command(command, &block) + end + + # Restores the Project identified by the specified + # `project_id` (for example, `my-project-123`). + # You can only use this method for a Project that has a lifecycle state of + # DELETE_REQUESTED. + # After deletion starts, the Project cannot be restored. + # The caller must have modify permissions for this Project. + # @param [String] project_id + # The project ID (for example, `foo-bar-123`). + # Required. + # @param [Google::Apis::CloudresourcemanagerV1beta1::UndeleteProjectRequest] undelete_project_request_object + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # Available to use for quota purposes for server-side applications. Can be any + # arbitrary string assigned to a user, but should not exceed 40 characters. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::CloudresourcemanagerV1beta1::Empty] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::CloudresourcemanagerV1beta1::Empty] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def undelete_project(project_id, undelete_project_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:post, 'v1beta1/projects/{projectId}:undelete', options) + command.request_representation = Google::Apis::CloudresourcemanagerV1beta1::UndeleteProjectRequest::Representation + command.request_object = undelete_project_request_object + command.response_representation = Google::Apis::CloudresourcemanagerV1beta1::Empty::Representation + command.response_class = Google::Apis::CloudresourcemanagerV1beta1::Empty + command.params['projectId'] = project_id unless project_id.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + execute_or_queue_command(command, &block) + end + + # Retrieves the Project identified by the specified + # `project_id` (for example, `my-project-123`). + # The caller must have read permissions for this Project. + # @param [String] project_id + # The Project ID (for example, `my-project-123`). + # Required. + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # Available to use for quota purposes for server-side applications. Can be any + # arbitrary string assigned to a user, but should not exceed 40 characters. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::CloudresourcemanagerV1beta1::Project] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::CloudresourcemanagerV1beta1::Project] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def get_project(project_id, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:get, 'v1beta1/projects/{projectId}', options) + command.response_representation = Google::Apis::CloudresourcemanagerV1beta1::Project::Representation + command.response_class = Google::Apis::CloudresourcemanagerV1beta1::Project + command.params['projectId'] = project_id unless project_id.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + execute_or_queue_command(command, &block) + end + + # Gets a list of ancestors in the resource hierarchy for the Project + # identified by the specified `project_id` (for example, `my-project-123`). + # The caller must have read permissions for this Project. + # @param [String] project_id + # The Project ID (for example, `my-project-123`). + # Required. + # @param [Google::Apis::CloudresourcemanagerV1beta1::GetAncestryRequest] get_ancestry_request_object + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # Available to use for quota purposes for server-side applications. Can be any + # arbitrary string assigned to a user, but should not exceed 40 characters. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::CloudresourcemanagerV1beta1::GetAncestryResponse] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::CloudresourcemanagerV1beta1::GetAncestryResponse] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def get_project_ancestry(project_id, get_ancestry_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:post, 'v1beta1/projects/{projectId}:getAncestry', options) + command.request_representation = Google::Apis::CloudresourcemanagerV1beta1::GetAncestryRequest::Representation + command.request_object = get_ancestry_request_object + command.response_representation = Google::Apis::CloudresourcemanagerV1beta1::GetAncestryResponse::Representation + command.response_class = Google::Apis::CloudresourcemanagerV1beta1::GetAncestryResponse + command.params['projectId'] = project_id unless project_id.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + execute_or_queue_command(command, &block) + end + + # Updates the attributes of the Project identified by the specified + # `project_id` (for example, `my-project-123`). + # The caller must have modify permissions for this Project. + # @param [String] project_id + # The project ID (for example, `my-project-123`). + # Required. + # @param [Google::Apis::CloudresourcemanagerV1beta1::Project] project_object + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # Available to use for quota purposes for server-side applications. Can be any + # arbitrary string assigned to a user, but should not exceed 40 characters. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::CloudresourcemanagerV1beta1::Project] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::CloudresourcemanagerV1beta1::Project] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def update_project(project_id, project_object = nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:put, 'v1beta1/projects/{projectId}', options) + command.request_representation = Google::Apis::CloudresourcemanagerV1beta1::Project::Representation + command.request_object = project_object + command.response_representation = Google::Apis::CloudresourcemanagerV1beta1::Project::Representation + command.response_class = Google::Apis::CloudresourcemanagerV1beta1::Project + command.params['projectId'] = project_id unless project_id.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + execute_or_queue_command(command, &block) + end + + # Returns permissions that a caller has on the specified Project. + # @param [String] resource + # REQUIRED: The resource for which the policy detail is being requested. + # See the operation documentation for the appropriate value for this field. + # @param [Google::Apis::CloudresourcemanagerV1beta1::TestIamPermissionsRequest] test_iam_permissions_request_object + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # Available to use for quota purposes for server-side applications. Can be any + # arbitrary string assigned to a user, but should not exceed 40 characters. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::CloudresourcemanagerV1beta1::TestIamPermissionsResponse] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::CloudresourcemanagerV1beta1::TestIamPermissionsResponse] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def test_project_iam_permissions(resource, test_iam_permissions_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:post, 'v1beta1/projects/{resource}:testIamPermissions', options) + command.request_representation = Google::Apis::CloudresourcemanagerV1beta1::TestIamPermissionsRequest::Representation + command.request_object = test_iam_permissions_request_object + command.response_representation = Google::Apis::CloudresourcemanagerV1beta1::TestIamPermissionsResponse::Representation + command.response_class = Google::Apis::CloudresourcemanagerV1beta1::TestIamPermissionsResponse + command.params['resource'] = resource unless resource.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + execute_or_queue_command(command, &block) end # Marks the Project identified by the specified @@ -155,6 +369,44 @@ module Google execute_or_queue_command(command, &block) end + # Creates a Project resource. + # Initially, the Project resource is owned by its creator exclusively. + # The creator can later grant permission to others to read or update the + # Project. + # Several APIs are activated automatically for the Project, including + # Google Cloud Storage. + # @param [Google::Apis::CloudresourcemanagerV1beta1::Project] project_object + # @param [Boolean] use_legacy_stack + # A safety hatch to opt out of the new reliable project creation process. + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # Available to use for quota purposes for server-side applications. Can be any + # arbitrary string assigned to a user, but should not exceed 40 characters. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::CloudresourcemanagerV1beta1::Project] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::CloudresourcemanagerV1beta1::Project] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def create_project(project_object = nil, use_legacy_stack: nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:post, 'v1beta1/projects', options) + command.request_representation = Google::Apis::CloudresourcemanagerV1beta1::Project::Representation + command.request_object = project_object + command.response_representation = Google::Apis::CloudresourcemanagerV1beta1::Project::Representation + command.response_class = Google::Apis::CloudresourcemanagerV1beta1::Project + command.query['useLegacyStack'] = use_legacy_stack unless use_legacy_stack.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + execute_or_queue_command(command, &block) + end + # Sets the IAM access control policy for the specified Project. Replaces # any existing policy. # The following constraints apply when using `setIamPolicy()`: @@ -215,15 +467,27 @@ module Google execute_or_queue_command(command, &block) end - # Creates a Project resource. - # Initially, the Project resource is owned by its creator exclusively. - # The creator can later grant permission to others to read or update the - # Project. - # Several APIs are activated automatically for the Project, including - # Google Cloud Storage. - # @param [Google::Apis::CloudresourcemanagerV1beta1::Project] project_object - # @param [Boolean] use_legacy_stack - # A safety hatch to opt out of the new reliable project creation process. + # Lists Organization resources that are visible to the user and satisfy + # the specified filter. This method returns Organizations in an unspecified + # order. New Organizations do not necessarily appear at the end of the list. + # @param [String] page_token + # A pagination token returned from a previous call to `ListOrganizations` + # that indicates from where listing should continue. + # This field is optional. + # @param [Fixnum] page_size + # The maximum number of Organizations to return in the response. + # This field is optional. + # @param [String] filter + # An optional query string used to filter the Organizations to return in + # the response. Filter rules are case-insensitive. + # Organizations may be filtered by `owner.directoryCustomerId` or by + # `domain`, where the domain is a Google for Work domain, for example: + # |Filter|Description| + # |------|-----------| + # |owner.directorycustomerid:123456789|Organizations with `owner. + # directory_customer_id` equal to `123456789`.| + # |domain:google.com|Organizations corresponding to the domain `google.com`.| + # This field is optional. # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user @@ -233,234 +497,21 @@ module Google # Request-specific options # # @yield [result, err] Result & error if block supplied - # @yieldparam result [Google::Apis::CloudresourcemanagerV1beta1::Project] parsed result object + # @yieldparam result [Google::Apis::CloudresourcemanagerV1beta1::ListOrganizationsResponse] parsed result object # @yieldparam err [StandardError] error object if request failed # - # @return [Google::Apis::CloudresourcemanagerV1beta1::Project] + # @return [Google::Apis::CloudresourcemanagerV1beta1::ListOrganizationsResponse] # # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required - def create_project(project_object = nil, use_legacy_stack: nil, fields: nil, quota_user: nil, options: nil, &block) - command = make_simple_command(:post, 'v1beta1/projects', options) - command.request_representation = Google::Apis::CloudresourcemanagerV1beta1::Project::Representation - command.request_object = project_object - command.response_representation = Google::Apis::CloudresourcemanagerV1beta1::Project::Representation - command.response_class = Google::Apis::CloudresourcemanagerV1beta1::Project - command.query['useLegacyStack'] = use_legacy_stack unless use_legacy_stack.nil? - command.query['fields'] = fields unless fields.nil? - command.query['quotaUser'] = quota_user unless quota_user.nil? - execute_or_queue_command(command, &block) - end - - # Returns the IAM access control policy for the specified Project. - # Permission is denied if the policy or the resource does not exist. - # @param [String] resource - # REQUIRED: The resource for which the policy is being requested. - # See the operation documentation for the appropriate value for this field. - # @param [Google::Apis::CloudresourcemanagerV1beta1::GetIamPolicyRequest] get_iam_policy_request_object - # @param [String] fields - # Selector specifying which fields to include in a partial response. - # @param [String] quota_user - # Available to use for quota purposes for server-side applications. Can be any - # arbitrary string assigned to a user, but should not exceed 40 characters. - # @param [Google::Apis::RequestOptions] options - # Request-specific options - # - # @yield [result, err] Result & error if block supplied - # @yieldparam result [Google::Apis::CloudresourcemanagerV1beta1::Policy] parsed result object - # @yieldparam err [StandardError] error object if request failed - # - # @return [Google::Apis::CloudresourcemanagerV1beta1::Policy] - # - # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried - # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification - # @raise [Google::Apis::AuthorizationError] Authorization is required - def get_project_iam_policy(resource, get_iam_policy_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) - command = make_simple_command(:post, 'v1beta1/projects/{resource}:getIamPolicy', options) - command.request_representation = Google::Apis::CloudresourcemanagerV1beta1::GetIamPolicyRequest::Representation - command.request_object = get_iam_policy_request_object - command.response_representation = Google::Apis::CloudresourcemanagerV1beta1::Policy::Representation - command.response_class = Google::Apis::CloudresourcemanagerV1beta1::Policy - command.params['resource'] = resource unless resource.nil? - command.query['fields'] = fields unless fields.nil? - command.query['quotaUser'] = quota_user unless quota_user.nil? - execute_or_queue_command(command, &block) - end - - # Restores the Project identified by the specified - # `project_id` (for example, `my-project-123`). - # You can only use this method for a Project that has a lifecycle state of - # DELETE_REQUESTED. - # After deletion starts, the Project cannot be restored. - # The caller must have modify permissions for this Project. - # @param [String] project_id - # The project ID (for example, `foo-bar-123`). - # Required. - # @param [Google::Apis::CloudresourcemanagerV1beta1::UndeleteProjectRequest] undelete_project_request_object - # @param [String] fields - # Selector specifying which fields to include in a partial response. - # @param [String] quota_user - # Available to use for quota purposes for server-side applications. Can be any - # arbitrary string assigned to a user, but should not exceed 40 characters. - # @param [Google::Apis::RequestOptions] options - # Request-specific options - # - # @yield [result, err] Result & error if block supplied - # @yieldparam result [Google::Apis::CloudresourcemanagerV1beta1::Empty] parsed result object - # @yieldparam err [StandardError] error object if request failed - # - # @return [Google::Apis::CloudresourcemanagerV1beta1::Empty] - # - # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried - # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification - # @raise [Google::Apis::AuthorizationError] Authorization is required - def undelete_project(project_id, undelete_project_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) - command = make_simple_command(:post, 'v1beta1/projects/{projectId}:undelete', options) - command.request_representation = Google::Apis::CloudresourcemanagerV1beta1::UndeleteProjectRequest::Representation - command.request_object = undelete_project_request_object - command.response_representation = Google::Apis::CloudresourcemanagerV1beta1::Empty::Representation - command.response_class = Google::Apis::CloudresourcemanagerV1beta1::Empty - command.params['projectId'] = project_id unless project_id.nil? - command.query['fields'] = fields unless fields.nil? - command.query['quotaUser'] = quota_user unless quota_user.nil? - execute_or_queue_command(command, &block) - end - - # Retrieves the Project identified by the specified - # `project_id` (for example, `my-project-123`). - # The caller must have read permissions for this Project. - # @param [String] project_id - # The Project ID (for example, `my-project-123`). - # Required. - # @param [String] fields - # Selector specifying which fields to include in a partial response. - # @param [String] quota_user - # Available to use for quota purposes for server-side applications. Can be any - # arbitrary string assigned to a user, but should not exceed 40 characters. - # @param [Google::Apis::RequestOptions] options - # Request-specific options - # - # @yield [result, err] Result & error if block supplied - # @yieldparam result [Google::Apis::CloudresourcemanagerV1beta1::Project] parsed result object - # @yieldparam err [StandardError] error object if request failed - # - # @return [Google::Apis::CloudresourcemanagerV1beta1::Project] - # - # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried - # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification - # @raise [Google::Apis::AuthorizationError] Authorization is required - def get_project(project_id, fields: nil, quota_user: nil, options: nil, &block) - command = make_simple_command(:get, 'v1beta1/projects/{projectId}', options) - command.response_representation = Google::Apis::CloudresourcemanagerV1beta1::Project::Representation - command.response_class = Google::Apis::CloudresourcemanagerV1beta1::Project - command.params['projectId'] = project_id unless project_id.nil? - command.query['fields'] = fields unless fields.nil? - command.query['quotaUser'] = quota_user unless quota_user.nil? - execute_or_queue_command(command, &block) - end - - # Updates the attributes of the Project identified by the specified - # `project_id` (for example, `my-project-123`). - # The caller must have modify permissions for this Project. - # @param [String] project_id - # The project ID (for example, `my-project-123`). - # Required. - # @param [Google::Apis::CloudresourcemanagerV1beta1::Project] project_object - # @param [String] fields - # Selector specifying which fields to include in a partial response. - # @param [String] quota_user - # Available to use for quota purposes for server-side applications. Can be any - # arbitrary string assigned to a user, but should not exceed 40 characters. - # @param [Google::Apis::RequestOptions] options - # Request-specific options - # - # @yield [result, err] Result & error if block supplied - # @yieldparam result [Google::Apis::CloudresourcemanagerV1beta1::Project] parsed result object - # @yieldparam err [StandardError] error object if request failed - # - # @return [Google::Apis::CloudresourcemanagerV1beta1::Project] - # - # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried - # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification - # @raise [Google::Apis::AuthorizationError] Authorization is required - def update_project(project_id, project_object = nil, fields: nil, quota_user: nil, options: nil, &block) - command = make_simple_command(:put, 'v1beta1/projects/{projectId}', options) - command.request_representation = Google::Apis::CloudresourcemanagerV1beta1::Project::Representation - command.request_object = project_object - command.response_representation = Google::Apis::CloudresourcemanagerV1beta1::Project::Representation - command.response_class = Google::Apis::CloudresourcemanagerV1beta1::Project - command.params['projectId'] = project_id unless project_id.nil? - command.query['fields'] = fields unless fields.nil? - command.query['quotaUser'] = quota_user unless quota_user.nil? - execute_or_queue_command(command, &block) - end - - # Gets a list of ancestors in the resource hierarchy for the Project - # identified by the specified `project_id` (for example, `my-project-123`). - # The caller must have read permissions for this Project. - # @param [String] project_id - # The Project ID (for example, `my-project-123`). - # Required. - # @param [Google::Apis::CloudresourcemanagerV1beta1::GetAncestryRequest] get_ancestry_request_object - # @param [String] fields - # Selector specifying which fields to include in a partial response. - # @param [String] quota_user - # Available to use for quota purposes for server-side applications. Can be any - # arbitrary string assigned to a user, but should not exceed 40 characters. - # @param [Google::Apis::RequestOptions] options - # Request-specific options - # - # @yield [result, err] Result & error if block supplied - # @yieldparam result [Google::Apis::CloudresourcemanagerV1beta1::GetAncestryResponse] parsed result object - # @yieldparam err [StandardError] error object if request failed - # - # @return [Google::Apis::CloudresourcemanagerV1beta1::GetAncestryResponse] - # - # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried - # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification - # @raise [Google::Apis::AuthorizationError] Authorization is required - def get_project_ancestry(project_id, get_ancestry_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) - command = make_simple_command(:post, 'v1beta1/projects/{projectId}:getAncestry', options) - command.request_representation = Google::Apis::CloudresourcemanagerV1beta1::GetAncestryRequest::Representation - command.request_object = get_ancestry_request_object - command.response_representation = Google::Apis::CloudresourcemanagerV1beta1::GetAncestryResponse::Representation - command.response_class = Google::Apis::CloudresourcemanagerV1beta1::GetAncestryResponse - command.params['projectId'] = project_id unless project_id.nil? - command.query['fields'] = fields unless fields.nil? - command.query['quotaUser'] = quota_user unless quota_user.nil? - execute_or_queue_command(command, &block) - end - - # Returns permissions that a caller has on the specified Project. - # @param [String] resource - # REQUIRED: The resource for which the policy detail is being requested. - # See the operation documentation for the appropriate value for this field. - # @param [Google::Apis::CloudresourcemanagerV1beta1::TestIamPermissionsRequest] test_iam_permissions_request_object - # @param [String] fields - # Selector specifying which fields to include in a partial response. - # @param [String] quota_user - # Available to use for quota purposes for server-side applications. Can be any - # arbitrary string assigned to a user, but should not exceed 40 characters. - # @param [Google::Apis::RequestOptions] options - # Request-specific options - # - # @yield [result, err] Result & error if block supplied - # @yieldparam result [Google::Apis::CloudresourcemanagerV1beta1::TestIamPermissionsResponse] parsed result object - # @yieldparam err [StandardError] error object if request failed - # - # @return [Google::Apis::CloudresourcemanagerV1beta1::TestIamPermissionsResponse] - # - # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried - # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification - # @raise [Google::Apis::AuthorizationError] Authorization is required - def test_project_iam_permissions(resource, test_iam_permissions_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) - command = make_simple_command(:post, 'v1beta1/projects/{resource}:testIamPermissions', options) - command.request_representation = Google::Apis::CloudresourcemanagerV1beta1::TestIamPermissionsRequest::Representation - command.request_object = test_iam_permissions_request_object - command.response_representation = Google::Apis::CloudresourcemanagerV1beta1::TestIamPermissionsResponse::Representation - command.response_class = Google::Apis::CloudresourcemanagerV1beta1::TestIamPermissionsResponse - command.params['resource'] = resource unless resource.nil? + def list_organizations(page_token: nil, page_size: nil, filter: nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:get, 'v1beta1/organizations', options) + command.response_representation = Google::Apis::CloudresourcemanagerV1beta1::ListOrganizationsResponse::Representation + command.response_class = Google::Apis::CloudresourcemanagerV1beta1::ListOrganizationsResponse + command.query['pageToken'] = page_token unless page_token.nil? + command.query['pageSize'] = page_size unless page_size.nil? + command.query['filter'] = filter unless filter.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) @@ -642,56 +693,6 @@ module Google command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end - - # Lists Organization resources that are visible to the user and satisfy - # the specified filter. This method returns Organizations in an unspecified - # order. New Organizations do not necessarily appear at the end of the list. - # @param [String] filter - # An optional query string used to filter the Organizations to return in - # the response. Filter rules are case-insensitive. - # Organizations may be filtered by `owner.directoryCustomerId` or by - # `domain`, where the domain is a Google for Work domain, for example: - # |Filter|Description| - # |------|-----------| - # |owner.directorycustomerid:123456789|Organizations with `owner. - # directory_customer_id` equal to `123456789`.| - # |domain:google.com|Organizations corresponding to the domain `google.com`.| - # This field is optional. - # @param [String] page_token - # A pagination token returned from a previous call to `ListOrganizations` - # that indicates from where listing should continue. - # This field is optional. - # @param [Fixnum] page_size - # The maximum number of Organizations to return in the response. - # This field is optional. - # @param [String] fields - # Selector specifying which fields to include in a partial response. - # @param [String] quota_user - # Available to use for quota purposes for server-side applications. Can be any - # arbitrary string assigned to a user, but should not exceed 40 characters. - # @param [Google::Apis::RequestOptions] options - # Request-specific options - # - # @yield [result, err] Result & error if block supplied - # @yieldparam result [Google::Apis::CloudresourcemanagerV1beta1::ListOrganizationsResponse] parsed result object - # @yieldparam err [StandardError] error object if request failed - # - # @return [Google::Apis::CloudresourcemanagerV1beta1::ListOrganizationsResponse] - # - # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried - # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification - # @raise [Google::Apis::AuthorizationError] Authorization is required - def list_organizations(filter: nil, page_token: nil, page_size: nil, fields: nil, quota_user: nil, options: nil, &block) - command = make_simple_command(:get, 'v1beta1/organizations', options) - command.response_representation = Google::Apis::CloudresourcemanagerV1beta1::ListOrganizationsResponse::Representation - command.response_class = Google::Apis::CloudresourcemanagerV1beta1::ListOrganizationsResponse - command.query['filter'] = filter unless filter.nil? - command.query['pageToken'] = page_token unless page_token.nil? - command.query['pageSize'] = page_size unless page_size.nil? - command.query['fields'] = fields unless fields.nil? - command.query['quotaUser'] = quota_user unless quota_user.nil? - execute_or_queue_command(command, &block) - end protected diff --git a/generated/google/apis/cloudtrace_v1.rb b/generated/google/apis/cloudtrace_v1.rb index 0974eed65..8f2faef59 100644 --- a/generated/google/apis/cloudtrace_v1.rb +++ b/generated/google/apis/cloudtrace_v1.rb @@ -30,14 +30,14 @@ module Google VERSION = 'V1' REVISION = '20170320' - # Read Trace data for a project or application - AUTH_TRACE_READONLY = 'https://www.googleapis.com/auth/trace.readonly' - # Write Trace data for a project or application AUTH_TRACE_APPEND = 'https://www.googleapis.com/auth/trace.append' # View and manage your data across Google Cloud Platform services AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform' + + # Read Trace data for a project or application + AUTH_TRACE_READONLY = 'https://www.googleapis.com/auth/trace.readonly' end end end diff --git a/generated/google/apis/cloudtrace_v1/classes.rb b/generated/google/apis/cloudtrace_v1/classes.rb index 7f5446e02..879f09417 100644 --- a/generated/google/apis/cloudtrace_v1/classes.rb +++ b/generated/google/apis/cloudtrace_v1/classes.rb @@ -22,25 +22,6 @@ module Google module Apis module CloudtraceV1 - # List of new or updated traces. - class Traces - include Google::Apis::Core::Hashable - - # List of traces. - # Corresponds to the JSON property `traces` - # @return [Array] - attr_accessor :traces - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @traces = args[:traces] if args.key?(:traces) - end - end - # A span represents a single timed event within a trace. Spans can be nested # and form a trace tree. Often, a trace contains a root span that describes the # end-to-end latency of an operation and, optionally, one or more subspans for @@ -49,6 +30,22 @@ module Google class TraceSpan include Google::Apis::Core::Hashable + # Identifier for the span. Must be a 64-bit integer other than 0 and + # unique within a trace. + # Corresponds to the JSON property `spanId` + # @return [Fixnum] + attr_accessor :span_id + + # ID of the parent span, if any. Optional. + # Corresponds to the JSON property `parentSpanId` + # @return [Fixnum] + attr_accessor :parent_span_id + + # End time of the span in nanoseconds from the UNIX epoch. + # Corresponds to the JSON property `endTime` + # @return [String] + attr_accessor :end_time + # Start time of the span in nanoseconds from the UNIX epoch. # Corresponds to the JSON property `startTime` # @return [String] @@ -78,35 +75,19 @@ module Google # @return [String] attr_accessor :name - # Identifier for the span. Must be a 64-bit integer other than 0 and - # unique within a trace. - # Corresponds to the JSON property `spanId` - # @return [String] - attr_accessor :span_id - - # ID of the parent span, if any. Optional. - # Corresponds to the JSON property `parentSpanId` - # @return [String] - attr_accessor :parent_span_id - - # End time of the span in nanoseconds from the UNIX epoch. - # Corresponds to the JSON property `endTime` - # @return [String] - attr_accessor :end_time - def initialize(**args) update!(**args) end # Update properties of this object def update!(**args) + @span_id = args[:span_id] if args.key?(:span_id) + @parent_span_id = args[:parent_span_id] if args.key?(:parent_span_id) + @end_time = args[:end_time] if args.key?(:end_time) @start_time = args[:start_time] if args.key?(:start_time) @kind = args[:kind] if args.key?(:kind) @labels = args[:labels] if args.key?(:labels) @name = args[:name] if args.key?(:name) - @span_id = args[:span_id] if args.key?(:span_id) - @parent_span_id = args[:parent_span_id] if args.key?(:parent_span_id) - @end_time = args[:end_time] if args.key?(:end_time) end end @@ -189,6 +170,25 @@ module Google @trace_id = args[:trace_id] if args.key?(:trace_id) end end + + # List of new or updated traces. + class Traces + include Google::Apis::Core::Hashable + + # List of traces. + # Corresponds to the JSON property `traces` + # @return [Array] + attr_accessor :traces + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @traces = args[:traces] if args.key?(:traces) + end + end end end end diff --git a/generated/google/apis/cloudtrace_v1/representations.rb b/generated/google/apis/cloudtrace_v1/representations.rb index 05f3d4617..90a604565 100644 --- a/generated/google/apis/cloudtrace_v1/representations.rb +++ b/generated/google/apis/cloudtrace_v1/representations.rb @@ -22,12 +22,6 @@ module Google module Apis module CloudtraceV1 - class Traces - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - class TraceSpan class Representation < Google::Apis::Core::JsonRepresentation; end @@ -53,23 +47,21 @@ module Google end class Traces - # @private - class Representation < Google::Apis::Core::JsonRepresentation - collection :traces, as: 'traces', class: Google::Apis::CloudtraceV1::Trace, decorator: Google::Apis::CloudtraceV1::Trace::Representation + class Representation < Google::Apis::Core::JsonRepresentation; end - end + include Google::Apis::Core::JsonObjectSupport end class TraceSpan # @private class Representation < Google::Apis::Core::JsonRepresentation + property :span_id, :numeric_string => true, as: 'spanId' + property :parent_span_id, :numeric_string => true, as: 'parentSpanId' + property :end_time, as: 'endTime' property :start_time, as: 'startTime' property :kind, as: 'kind' hash :labels, as: 'labels' property :name, as: 'name' - property :span_id, as: 'spanId' - property :parent_span_id, as: 'parentSpanId' - property :end_time, as: 'endTime' end end @@ -97,6 +89,14 @@ module Google property :trace_id, as: 'traceId' end end + + class Traces + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :traces, as: 'traces', class: Google::Apis::CloudtraceV1::Trace, decorator: Google::Apis::CloudtraceV1::Trace::Representation + + end + end end end end diff --git a/generated/google/apis/cloudtrace_v1/service.rb b/generated/google/apis/cloudtrace_v1/service.rb index 110605bce..b14a87fd3 100644 --- a/generated/google/apis/cloudtrace_v1/service.rb +++ b/generated/google/apis/cloudtrace_v1/service.rb @@ -47,6 +47,7 @@ module Google def initialize super('https://cloudtrace.googleapis.com/', '') + @batch_path = 'batch' end # Sends new traces to Stackdriver Trace or updates existing traces. If the ID @@ -89,17 +90,6 @@ module Google # Returns of a list of traces that match the specified filter conditions. # @param [String] project_id # ID of the Cloud project where the trace data is stored. - # @param [String] order_by - # Field used to sort the returned traces. Optional. - # Can be one of the following: - # * `trace_id` - # * `name` (`name` field of root span in the trace) - # * `duration` (difference between `end_time` and `start_time` fields of - # the root span) - # * `start` (`start_time` field of the root span) - # Descending order can be specified by appending `desc` to the sort field - # (for example, `name desc`). - # Only one sort field is permitted. # @param [String] filter # An optional filter for the request. # @param [String] end_time @@ -118,6 +108,17 @@ module Google # @param [String] view # Type of data returned for traces in the list. Optional. Default is # `MINIMAL`. + # @param [String] order_by + # Field used to sort the returned traces. Optional. + # Can be one of the following: + # * `trace_id` + # * `name` (`name` field of root span in the trace) + # * `duration` (difference between `end_time` and `start_time` fields of + # the root span) + # * `start` (`start_time` field of the root span) + # Descending order can be specified by appending `desc` to the sort field + # (for example, `name desc`). + # Only one sort field is permitted. # @param [String] quota_user # Available to use for quota purposes for server-side applications. Can be any # arbitrary string assigned to a user, but should not exceed 40 characters. @@ -135,18 +136,18 @@ module Google # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required - def list_project_traces(project_id, order_by: nil, filter: nil, end_time: nil, page_token: nil, start_time: nil, page_size: nil, view: nil, quota_user: nil, fields: nil, options: nil, &block) + def list_project_traces(project_id, filter: nil, end_time: nil, page_token: nil, start_time: nil, page_size: nil, view: nil, order_by: nil, quota_user: nil, fields: nil, options: nil, &block) command = make_simple_command(:get, 'v1/projects/{projectId}/traces', options) command.response_representation = Google::Apis::CloudtraceV1::ListTracesResponse::Representation command.response_class = Google::Apis::CloudtraceV1::ListTracesResponse command.params['projectId'] = project_id unless project_id.nil? - command.query['orderBy'] = order_by unless order_by.nil? command.query['filter'] = filter unless filter.nil? command.query['endTime'] = end_time unless end_time.nil? command.query['pageToken'] = page_token unless page_token.nil? command.query['startTime'] = start_time unless start_time.nil? command.query['pageSize'] = page_size unless page_size.nil? command.query['view'] = view unless view.nil? + command.query['orderBy'] = order_by unless order_by.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['fields'] = fields unless fields.nil? execute_or_queue_command(command, &block) diff --git a/generated/google/apis/clouduseraccounts_beta/classes.rb b/generated/google/apis/clouduseraccounts_beta/classes.rb index 4aefde05e..8baa9e8da 100644 --- a/generated/google/apis/clouduseraccounts_beta/classes.rb +++ b/generated/google/apis/clouduseraccounts_beta/classes.rb @@ -66,7 +66,7 @@ module Google # [Output Only] Unique identifier for the resource; defined by the server. # Corresponds to the JSON property `id` - # @return [String] + # @return [Fixnum] attr_accessor :id # [Output Only] Type of the resource. Always clouduseraccounts#group for groups. @@ -392,7 +392,7 @@ module Google # [Output Only] The unique identifier for the resource. This identifier is # defined by the server. # Corresponds to the JSON property `id` - # @return [String] + # @return [Fixnum] attr_accessor :id # [Output Only] The time that this operation was requested. This value is in @@ -458,7 +458,7 @@ module Google # [Output Only] The unique target ID, which identifies a specific incarnation of # the target resource. # Corresponds to the JSON property `targetId` - # @return [String] + # @return [Fixnum] attr_accessor :target_id # [Output Only] The URL of the resource that the operation modifies. @@ -749,7 +749,7 @@ module Google # [Output Only] Unique identifier for the resource; defined by the server. # Corresponds to the JSON property `id` - # @return [String] + # @return [Fixnum] attr_accessor :id # [Output Only] Type of the resource. Always clouduseraccounts#user for users. diff --git a/generated/google/apis/clouduseraccounts_beta/representations.rb b/generated/google/apis/clouduseraccounts_beta/representations.rb index be00387e6..56bedb4af 100644 --- a/generated/google/apis/clouduseraccounts_beta/representations.rb +++ b/generated/google/apis/clouduseraccounts_beta/representations.rb @@ -149,7 +149,7 @@ module Google class Representation < Google::Apis::Core::JsonRepresentation property :creation_timestamp, as: 'creationTimestamp' property :description, as: 'description' - property :id, as: 'id' + property :id, :numeric_string => true, as: 'id' property :kind, as: 'kind' collection :members, as: 'members' property :name, as: 'name' @@ -242,7 +242,7 @@ module Google property :http_error_message, as: 'httpErrorMessage' property :http_error_status_code, as: 'httpErrorStatusCode' - property :id, as: 'id' + property :id, :numeric_string => true, as: 'id' property :insert_time, as: 'insertTime' property :kind, as: 'kind' property :name, as: 'name' @@ -253,7 +253,7 @@ module Google property :start_time, as: 'startTime' property :status, as: 'status' property :status_message, as: 'statusMessage' - property :target_id, as: 'targetId' + property :target_id, :numeric_string => true, as: 'targetId' property :target_link, as: 'targetLink' property :user, as: 'user' collection :warnings, as: 'warnings', class: Google::Apis::ClouduseraccountsBeta::Operation::Warning, decorator: Google::Apis::ClouduseraccountsBeta::Operation::Warning::Representation @@ -326,7 +326,7 @@ module Google property :creation_timestamp, as: 'creationTimestamp' property :description, as: 'description' collection :groups, as: 'groups' - property :id, as: 'id' + property :id, :numeric_string => true, as: 'id' property :kind, as: 'kind' property :name, as: 'name' property :owner, as: 'owner' diff --git a/generated/google/apis/clouduseraccounts_beta/service.rb b/generated/google/apis/clouduseraccounts_beta/service.rb index 4f26bd4ca..c559d3a60 100644 --- a/generated/google/apis/clouduseraccounts_beta/service.rb +++ b/generated/google/apis/clouduseraccounts_beta/service.rb @@ -51,6 +51,7 @@ module Google def initialize super('https://www.googleapis.com/', 'clouduseraccounts/beta/projects/') + @batch_path = 'batch' end # Deletes the specified operation resource. diff --git a/generated/google/apis/compute_beta/classes.rb b/generated/google/apis/compute_beta/classes.rb index 002de114b..cc26ee489 100644 --- a/generated/google/apis/compute_beta/classes.rb +++ b/generated/google/apis/compute_beta/classes.rb @@ -71,7 +71,7 @@ module Google # [Output Only] The unique identifier for the resource. This identifier is # defined by the server. # Corresponds to the JSON property `id` - # @return [String] + # @return [Fixnum] attr_accessor :id # [Output Only] The type of the resource. Always compute#acceleratorType for @@ -370,7 +370,7 @@ module Google # [Output Only] The unique identifier for the resource. This identifier is # defined by the server. # Corresponds to the JSON property `id` - # @return [String] + # @return [Fixnum] attr_accessor :id # [Output Only] Type of the resource. Always compute#address for addresses. @@ -781,7 +781,7 @@ module Google # Specifies the size of the disk in base-2 GB. # Corresponds to the JSON property `diskSizeGb` - # @return [String] + # @return [Fixnum] attr_accessor :disk_size_gb # [Deprecated] Storage type of the disk. @@ -948,7 +948,7 @@ module Google # [Output Only] The unique identifier for the resource. This identifier is # defined by the server. # Corresponds to the JSON property `id` - # @return [String] + # @return [Fixnum] attr_accessor :id # [Output Only] Type of the resource. Always compute#autoscaler for autoscalers. @@ -1515,7 +1515,7 @@ module Google # [Output Only] Unique identifier for the resource; defined by the server. # Corresponds to the JSON property `id` - # @return [String] + # @return [Fixnum] attr_accessor :id # Type of the resource. @@ -1670,7 +1670,7 @@ module Google # [Output Only] The unique identifier for the resource. This identifier is # defined by the server. # Corresponds to the JSON property `id` - # @return [String] + # @return [Fixnum] attr_accessor :id # [Output Only] Type of resource. Always compute#backendService for backend @@ -2187,7 +2187,7 @@ module Google # [Output Only] The unique identifier for the resource. This identifier is # defined by the server. # Corresponds to the JSON property `id` - # @return [String] + # @return [Fixnum] attr_accessor :id # [Output Only] Type of the resource. Always compute#commitment for commitments. @@ -2670,7 +2670,7 @@ module Google # [Output Only] The unique identifier for the resource. This identifier is # defined by the server. # Corresponds to the JSON property `id` - # @return [String] + # @return [Fixnum] attr_accessor :id # [Output Only] Type of the resource. Always compute#disk for disks. @@ -2737,7 +2737,7 @@ module Google # of sizeGb must not be less than the size of the sourceImage or the size of the # snapshot. # Corresponds to the JSON property `sizeGb` - # @return [String] + # @return [Fixnum] attr_accessor :size_gb # The source image used to create this disk. If the source image is deleted, @@ -3000,7 +3000,7 @@ module Google # [Output Only] Server-defined default disk size in GB. # Corresponds to the JSON property `defaultDiskSizeGb` - # @return [String] + # @return [Fixnum] attr_accessor :default_disk_size_gb # Deprecation status for a public resource. @@ -3016,7 +3016,7 @@ module Google # [Output Only] The unique identifier for the resource. This identifier is # defined by the server. # Corresponds to the JSON property `id` - # @return [String] + # @return [Fixnum] attr_accessor :id # [Output Only] Type of the resource. Always compute#diskType for disk types. @@ -3257,7 +3257,7 @@ module Google # The new size of the persistent disk, which is specified in GB. # Corresponds to the JSON property `sizeGb` - # @return [String] + # @return [Fixnum] attr_accessor :size_gb def initialize(**args) @@ -3405,7 +3405,7 @@ module Google # [Output Only] The unique identifier for the resource. This identifier is # defined by the server. # Corresponds to the JSON property `id` - # @return [String] + # @return [Fixnum] attr_accessor :id # [Output Ony] Type of the resource. Always compute#firewall for firewall rules. @@ -3664,7 +3664,7 @@ module Google # [Output Only] The unique identifier for the resource. This identifier is # defined by the server. # Corresponds to the JSON property `id` - # @return [String] + # @return [Fixnum] attr_accessor :id # [Output Only] Type of the resource. Always compute#forwardingRule for @@ -4157,7 +4157,7 @@ module Google # [Output Only] The unique identifier for the resource. This identifier is # defined by the server. # Corresponds to the JSON property `id` - # @return [String] + # @return [Fixnum] attr_accessor :id # Type of the resource. @@ -4422,7 +4422,7 @@ module Google # [Output Only] The unique identifier for the resource. This identifier is # defined by the server. # Corresponds to the JSON property `id` - # @return [String] + # @return [Fixnum] attr_accessor :id # [Output Only] Type of the resource. Always compute#httpHealthCheck for HTTP @@ -4575,7 +4575,7 @@ module Google # [Output Only] The unique identifier for the resource. This identifier is # defined by the server. # Corresponds to the JSON property `id` - # @return [String] + # @return [Fixnum] attr_accessor :id # Type of the resource. @@ -4697,7 +4697,7 @@ module Google # Size of the image tar.gz archive stored in Google Cloud Storage (in bytes). # Corresponds to the JSON property `archiveSizeBytes` - # @return [String] + # @return [Fixnum] attr_accessor :archive_size_bytes # [Output Only] Creation timestamp in RFC3339 text format. @@ -4718,7 +4718,7 @@ module Google # Size of the image when restored onto a persistent disk (in GB). # Corresponds to the JSON property `diskSizeGb` - # @return [String] + # @return [Fixnum] attr_accessor :disk_size_gb # The name of the image family to which this image belongs. You can create disks @@ -4745,7 +4745,7 @@ module Google # [Output Only] The unique identifier for the resource. This identifier is # defined by the server. # Corresponds to the JSON property `id` - # @return [String] + # @return [Fixnum] attr_accessor :id # Represents a customer-supplied encryption key @@ -4992,7 +4992,7 @@ module Google # [Output Only] The unique identifier for the resource. This identifier is # defined by the server. # Corresponds to the JSON property `id` - # @return [String] + # @return [Fixnum] attr_accessor :id # [Output Only] Type of the resource. Always compute#instance for instances. @@ -5203,7 +5203,7 @@ module Google # [Output Only] A unique identifier for this instance group, generated by the # server. # Corresponds to the JSON property `id` - # @return [String] + # @return [Fixnum] attr_accessor :id # [Output Only] The resource type, which is always compute#instanceGroup for @@ -5431,7 +5431,7 @@ module Google # [Output Only] A unique identifier for this resource type. The server generates # this identifier. # Corresponds to the JSON property `id` - # @return [String] + # @return [Fixnum] attr_accessor :id # [Output Only] The URL of the Instance Group resource. @@ -6462,7 +6462,7 @@ module Google # [Output Only] A unique identifier for this instance template. The server # defines this identifier. # Corresponds to the JSON property `id` - # @return [String] + # @return [Fixnum] attr_accessor :id # [Output Only] The resource type, which is always compute#instanceTemplate for @@ -6907,7 +6907,7 @@ module Google # [Output Only] The unique identifier for the resource. This identifier is # defined by the server. # Corresponds to the JSON property `id` - # @return [String] + # @return [Fixnum] attr_accessor :id # [Output Only] Whether this machine type has a shared CPU. See Shared-core @@ -6930,7 +6930,7 @@ module Google # [Output Only] Maximum total persistent disks size (GB) allowed. # Corresponds to the JSON property `maximumPersistentDisksSizeGb` - # @return [String] + # @return [Fixnum] attr_accessor :maximum_persistent_disks_size_gb # [Output Only] The amount of physical memory available to the instance, defined @@ -7195,7 +7195,7 @@ module Google # [Output only] The unique identifier for this resource. This field is empty # when instance does not exist. # Corresponds to the JSON property `id` - # @return [String] + # @return [Fixnum] attr_accessor :id # [Output Only] The URL of the instance. The URL can exist even if the instance @@ -7470,7 +7470,7 @@ module Google # [Output Only] The unique identifier for the resource. This identifier is # defined by the server. # Corresponds to the JSON property `id` - # @return [String] + # @return [Fixnum] attr_accessor :id # [Output Only] Type of the resource. Always compute#network for networks. @@ -7813,7 +7813,7 @@ module Google # [Output Only] The unique identifier for the resource. This identifier is # defined by the server. # Corresponds to the JSON property `id` - # @return [String] + # @return [Fixnum] attr_accessor :id # [Output Only] The time that this operation was requested. This value is in @@ -7879,7 +7879,7 @@ module Google # [Output Only] The unique target ID, which identifies a specific incarnation of # the target resource. # Corresponds to the JSON property `targetId` - # @return [String] + # @return [Fixnum] attr_accessor :target_id # [Output Only] The URL of the resource that the operation modifies. For @@ -8432,7 +8432,7 @@ module Google # defined by the server. This is not the project ID, and is just a unique ID # used by Compute Engine to identify resources. # Corresponds to the JSON property `id` - # @return [String] + # @return [Fixnum] attr_accessor :id # [Output Only] Type of the resource. Always compute#project for projects. @@ -8637,7 +8637,7 @@ module Google # [Output Only] The unique identifier for the resource. This identifier is # defined by the server. # Corresponds to the JSON property `id` - # @return [String] + # @return [Fixnum] attr_accessor :id # [Output Only] Type of the resource. Always compute#region for regions. @@ -9134,7 +9134,7 @@ module Google # The amount of the resource purchased (in a type-dependent unit, such as bytes). # Corresponds to the JSON property `amount` - # @return [String] + # @return [Fixnum] attr_accessor :amount # Type of resource for which this commitment applies. @@ -9209,7 +9209,7 @@ module Google # [Output Only] The unique identifier for the resource. This identifier is # defined by the server. # Corresponds to the JSON property `id` - # @return [String] + # @return [Fixnum] attr_accessor :id # [Output Only] Type of this resource. Always compute#routes for Route resources. @@ -9459,7 +9459,7 @@ module Google # [Output Only] The unique identifier for the resource. This identifier is # defined by the server. # Corresponds to the JSON property `id` - # @return [String] + # @return [Fixnum] attr_accessor :id # Router interfaces. Each interface requires either one linked resource (e.g. @@ -10140,7 +10140,7 @@ module Google # [Output Only] The position of the next byte of content from the serial console # output. Use this value in the next request as the start parameter. # Corresponds to the JSON property `next` - # @return [String] + # @return [Fixnum] attr_accessor :next # [Output Only] Server-defined URL for this resource. @@ -10153,7 +10153,7 @@ module Google # exceeds the size of the buffer, older output will be overwritten by newer # content and the start values will be mismatched. # Corresponds to the JSON property `start` - # @return [String] + # @return [Fixnum] attr_accessor :start def initialize(**args) @@ -10212,13 +10212,13 @@ module Google # [Output Only] Size of the snapshot, specified in GB. # Corresponds to the JSON property `diskSizeGb` - # @return [String] + # @return [Fixnum] attr_accessor :disk_size_gb # [Output Only] The unique identifier for the resource. This identifier is # defined by the server. # Corresponds to the JSON property `id` - # @return [String] + # @return [Fixnum] attr_accessor :id # [Output Only] Type of the resource. Always compute#snapshot for Snapshot @@ -10298,7 +10298,7 @@ module Google # share storage, this number is expected to change with snapshot creation/ # deletion. # Corresponds to the JSON property `storageBytes` - # @return [String] + # @return [Fixnum] attr_accessor :storage_bytes # [Output Only] An indicator whether storageBytes is in a stable state or it is @@ -10410,7 +10410,7 @@ module Google # [Output Only] The unique identifier for the resource. This identifier is # defined by the server. # Corresponds to the JSON property `id` - # @return [String] + # @return [Fixnum] attr_accessor :id # [Output Only] Type of the resource. Always compute#sslCertificate for SSL @@ -10528,7 +10528,7 @@ module Google # [Output Only] The unique identifier for the resource. This identifier is # defined by the server. # Corresponds to the JSON property `id` - # @return [String] + # @return [Fixnum] attr_accessor :id # The range of internal addresses that are owned by this subnetwork. Provide @@ -10968,7 +10968,7 @@ module Google # [Output Only] The unique identifier for the resource. This identifier is # defined by the server. # Corresponds to the JSON property `id` - # @return [String] + # @return [Fixnum] attr_accessor :id # [Output Only] Type of resource. Always compute#targetHttpProxy for target HTTP @@ -11101,7 +11101,7 @@ module Google # [Output Only] The unique identifier for the resource. This identifier is # defined by the server. # Corresponds to the JSON property `id` - # @return [String] + # @return [Fixnum] attr_accessor :id # [Output Only] Type of resource. Always compute#targetHttpsProxy for target @@ -11227,7 +11227,7 @@ module Google # [Output Only] The unique identifier for the resource. This identifier is # defined by the server. # Corresponds to the JSON property `id` - # @return [String] + # @return [Fixnum] attr_accessor :id # A URL to the virtual machine instance that handles traffic for this target @@ -11536,7 +11536,7 @@ module Google # [Output Only] The unique identifier for the resource. This identifier is # defined by the server. # Corresponds to the JSON property `id` - # @return [String] + # @return [Fixnum] attr_accessor :id # A list of resource URLs to the virtual machine instances serving this pool. @@ -11996,7 +11996,7 @@ module Google # [Output Only] The unique identifier for the resource. This identifier is # defined by the server. # Corresponds to the JSON property `id` - # @return [String] + # @return [Fixnum] attr_accessor :id # [Output Only] Type of the resource. Always compute#targetSslProxy for target @@ -12160,7 +12160,7 @@ module Google # [Output Only] The unique identifier for the resource. This identifier is # defined by the server. # Corresponds to the JSON property `id` - # @return [String] + # @return [Fixnum] attr_accessor :id # [Output Only] Type of the resource. Always compute#targetTcpProxy for target @@ -12285,7 +12285,7 @@ module Google # [Output Only] The unique identifier for the resource. This identifier is # defined by the server. # Corresponds to the JSON property `id` - # @return [String] + # @return [Fixnum] attr_accessor :id # [Output Only] Type of resource. Always compute#targetVpnGateway for target VPN @@ -12696,7 +12696,7 @@ module Google # [Output Only] The unique identifier for the resource. This identifier is # defined by the server. # Corresponds to the JSON property `id` - # @return [String] + # @return [Fixnum] attr_accessor :id # [Output Only] Type of the resource. Always compute#urlMaps for url maps. @@ -12991,7 +12991,7 @@ module Google # [Output Only] The unique identifier for the resource. This identifier is # defined by the server. # Corresponds to the JSON property `id` - # @return [String] + # @return [Fixnum] attr_accessor :id # IKE protocol version to use when establishing the VPN tunnel with peer VPN @@ -13381,7 +13381,7 @@ module Google # [Output Only] The unique identifier for the resource. This identifier is # defined by the server. # Corresponds to the JSON property `id` - # @return [String] + # @return [Fixnum] attr_accessor :id # [Output Only] Type of the resource. Always compute#zone for zones. diff --git a/generated/google/apis/compute_beta/representations.rb b/generated/google/apis/compute_beta/representations.rb index 7936f222a..cce8d00e4 100644 --- a/generated/google/apis/compute_beta/representations.rb +++ b/generated/google/apis/compute_beta/representations.rb @@ -1819,7 +1819,7 @@ module Google property :deprecated, as: 'deprecated', class: Google::Apis::ComputeBeta::DeprecationStatus, decorator: Google::Apis::ComputeBeta::DeprecationStatus::Representation property :description, as: 'description' - property :id, as: 'id' + property :id, :numeric_string => true, as: 'id' property :kind, as: 'kind' property :maximum_cards_per_instance, as: 'maximumCardsPerInstance' property :name, as: 'name' @@ -1896,7 +1896,7 @@ module Google property :address, as: 'address' property :creation_timestamp, as: 'creationTimestamp' property :description, as: 'description' - property :id, as: 'id' + property :id, :numeric_string => true, as: 'id' property :kind, as: 'kind' property :name, as: 'name' property :region, as: 'region' @@ -1990,7 +1990,7 @@ module Google # @private class Representation < Google::Apis::Core::JsonRepresentation property :disk_name, as: 'diskName' - property :disk_size_gb, as: 'diskSizeGb' + property :disk_size_gb, :numeric_string => true, as: 'diskSizeGb' property :disk_storage_type, as: 'diskStorageType' property :disk_type, as: 'diskType' property :source_image, as: 'sourceImage' @@ -2024,7 +2024,7 @@ module Google property :creation_timestamp, as: 'creationTimestamp' property :description, as: 'description' - property :id, as: 'id' + property :id, :numeric_string => true, as: 'id' property :kind, as: 'kind' property :name, as: 'name' property :region, as: 'region' @@ -2157,7 +2157,7 @@ module Google property :creation_timestamp, as: 'creationTimestamp' property :description, as: 'description' property :enable_cdn, as: 'enableCdn' - property :id, as: 'id' + property :id, :numeric_string => true, as: 'id' property :kind, as: 'kind' property :name, as: 'name' property :self_link, as: 'selfLink' @@ -2193,7 +2193,7 @@ module Google collection :health_checks, as: 'healthChecks' property :iap, as: 'iap', class: Google::Apis::ComputeBeta::BackendServiceIap, decorator: Google::Apis::ComputeBeta::BackendServiceIap::Representation - property :id, as: 'id' + property :id, :numeric_string => true, as: 'id' property :kind, as: 'kind' property :load_balancing_scheme, as: 'loadBalancingScheme' property :name, as: 'name' @@ -2319,7 +2319,7 @@ module Google property :creation_timestamp, as: 'creationTimestamp' property :description, as: 'description' property :end_timestamp, as: 'endTimestamp' - property :id, as: 'id' + property :id, :numeric_string => true, as: 'id' property :kind, as: 'kind' property :name, as: 'name' property :plan, as: 'plan' @@ -2440,7 +2440,7 @@ module Google property :description, as: 'description' property :disk_encryption_key, as: 'diskEncryptionKey', class: Google::Apis::ComputeBeta::CustomerEncryptionKey, decorator: Google::Apis::ComputeBeta::CustomerEncryptionKey::Representation - property :id, as: 'id' + property :id, :numeric_string => true, as: 'id' property :kind, as: 'kind' property :label_fingerprint, :base64 => true, as: 'labelFingerprint' hash :labels, as: 'labels' @@ -2450,7 +2450,7 @@ module Google property :name, as: 'name' property :options, as: 'options' property :self_link, as: 'selfLink' - property :size_gb, as: 'sizeGb' + property :size_gb, :numeric_string => true, as: 'sizeGb' property :source_image, as: 'sourceImage' property :source_image_encryption_key, as: 'sourceImageEncryptionKey', class: Google::Apis::ComputeBeta::CustomerEncryptionKey, decorator: Google::Apis::ComputeBeta::CustomerEncryptionKey::Representation @@ -2503,11 +2503,11 @@ module Google # @private class Representation < Google::Apis::Core::JsonRepresentation property :creation_timestamp, as: 'creationTimestamp' - property :default_disk_size_gb, as: 'defaultDiskSizeGb' + property :default_disk_size_gb, :numeric_string => true, as: 'defaultDiskSizeGb' property :deprecated, as: 'deprecated', class: Google::Apis::ComputeBeta::DeprecationStatus, decorator: Google::Apis::ComputeBeta::DeprecationStatus::Representation property :description, as: 'description' - property :id, as: 'id' + property :id, :numeric_string => true, as: 'id' property :kind, as: 'kind' property :name, as: 'name' property :self_link, as: 'selfLink' @@ -2571,7 +2571,7 @@ module Google class DisksResizeRequest # @private class Representation < Google::Apis::Core::JsonRepresentation - property :size_gb, as: 'sizeGb' + property :size_gb, :numeric_string => true, as: 'sizeGb' end end @@ -2614,7 +2614,7 @@ module Google property :description, as: 'description' collection :destination_ranges, as: 'destinationRanges' property :direction, as: 'direction' - property :id, as: 'id' + property :id, :numeric_string => true, as: 'id' property :kind, as: 'kind' property :name, as: 'name' property :network, as: 'network' @@ -2662,7 +2662,7 @@ module Google property :backend_service, as: 'backendService' property :creation_timestamp, as: 'creationTimestamp' property :description, as: 'description' - property :id, as: 'id' + property :id, :numeric_string => true, as: 'id' property :kind, as: 'kind' property :load_balancing_scheme, as: 'loadBalancingScheme' property :name, as: 'name' @@ -2776,7 +2776,7 @@ module Google property :https_health_check, as: 'httpsHealthCheck', class: Google::Apis::ComputeBeta::HttpsHealthCheck, decorator: Google::Apis::ComputeBeta::HttpsHealthCheck::Representation - property :id, as: 'id' + property :id, :numeric_string => true, as: 'id' property :kind, as: 'kind' property :name, as: 'name' property :self_link, as: 'selfLink' @@ -2838,7 +2838,7 @@ module Google property :description, as: 'description' property :healthy_threshold, as: 'healthyThreshold' property :host, as: 'host' - property :id, as: 'id' + property :id, :numeric_string => true, as: 'id' property :kind, as: 'kind' property :name, as: 'name' property :port, as: 'port' @@ -2869,7 +2869,7 @@ module Google property :description, as: 'description' property :healthy_threshold, as: 'healthyThreshold' property :host, as: 'host' - property :id, as: 'id' + property :id, :numeric_string => true, as: 'id' property :kind, as: 'kind' property :name, as: 'name' property :port, as: 'port' @@ -2895,16 +2895,16 @@ module Google class Image # @private class Representation < Google::Apis::Core::JsonRepresentation - property :archive_size_bytes, as: 'archiveSizeBytes' + property :archive_size_bytes, :numeric_string => true, as: 'archiveSizeBytes' property :creation_timestamp, as: 'creationTimestamp' property :deprecated, as: 'deprecated', class: Google::Apis::ComputeBeta::DeprecationStatus, decorator: Google::Apis::ComputeBeta::DeprecationStatus::Representation property :description, as: 'description' - property :disk_size_gb, as: 'diskSizeGb' + property :disk_size_gb, :numeric_string => true, as: 'diskSizeGb' property :family, as: 'family' collection :guest_os_features, as: 'guestOsFeatures', class: Google::Apis::ComputeBeta::GuestOsFeature, decorator: Google::Apis::ComputeBeta::GuestOsFeature::Representation - property :id, as: 'id' + property :id, :numeric_string => true, as: 'id' property :image_encryption_key, as: 'imageEncryptionKey', class: Google::Apis::ComputeBeta::CustomerEncryptionKey, decorator: Google::Apis::ComputeBeta::CustomerEncryptionKey::Representation property :kind, as: 'kind' @@ -2956,7 +2956,7 @@ module Google collection :guest_accelerators, as: 'guestAccelerators', class: Google::Apis::ComputeBeta::AcceleratorConfig, decorator: Google::Apis::ComputeBeta::AcceleratorConfig::Representation - property :id, as: 'id' + property :id, :numeric_string => true, as: 'id' property :kind, as: 'kind' property :label_fingerprint, :base64 => true, as: 'labelFingerprint' hash :labels, as: 'labels' @@ -2997,7 +2997,7 @@ module Google property :creation_timestamp, as: 'creationTimestamp' property :description, as: 'description' property :fingerprint, :base64 => true, as: 'fingerprint' - property :id, as: 'id' + property :id, :numeric_string => true, as: 'id' property :kind, as: 'kind' property :name, as: 'name' collection :named_ports, as: 'namedPorts', class: Google::Apis::ComputeBeta::NamedPort, decorator: Google::Apis::ComputeBeta::NamedPort::Representation @@ -3047,7 +3047,7 @@ module Google property :description, as: 'description' property :failover_action, as: 'failoverAction' property :fingerprint, :base64 => true, as: 'fingerprint' - property :id, as: 'id' + property :id, :numeric_string => true, as: 'id' property :instance_group, as: 'instanceGroup' property :instance_template, as: 'instanceTemplate' property :kind, as: 'kind' @@ -3323,7 +3323,7 @@ module Google class Representation < Google::Apis::Core::JsonRepresentation property :creation_timestamp, as: 'creationTimestamp' property :description, as: 'description' - property :id, as: 'id' + property :id, :numeric_string => true, as: 'id' property :kind, as: 'kind' property :name, as: 'name' property :properties, as: 'properties', class: Google::Apis::ComputeBeta::InstanceProperties, decorator: Google::Apis::ComputeBeta::InstanceProperties::Representation @@ -3455,11 +3455,11 @@ module Google property :description, as: 'description' property :guest_cpus, as: 'guestCpus' - property :id, as: 'id' + property :id, :numeric_string => true, as: 'id' property :is_shared_cpu, as: 'isSharedCpu' property :kind, as: 'kind' property :maximum_persistent_disks, as: 'maximumPersistentDisks' - property :maximum_persistent_disks_size_gb, as: 'maximumPersistentDisksSizeGb' + property :maximum_persistent_disks_size_gb, :numeric_string => true, as: 'maximumPersistentDisksSizeGb' property :memory_mb, as: 'memoryMb' property :name, as: 'name' property :self_link, as: 'selfLink' @@ -3523,7 +3523,7 @@ module Google # @private class Representation < Google::Apis::Core::JsonRepresentation property :current_action, as: 'currentAction' - property :id, as: 'id' + property :id, :numeric_string => true, as: 'id' property :instance, as: 'instance' property :instance_status, as: 'instanceStatus' property :last_attempt, as: 'lastAttempt', class: Google::Apis::ComputeBeta::ManagedInstanceLastAttempt, decorator: Google::Apis::ComputeBeta::ManagedInstanceLastAttempt::Representation @@ -3600,7 +3600,7 @@ module Google property :creation_timestamp, as: 'creationTimestamp' property :description, as: 'description' property :gateway_i_pv4, as: 'gatewayIPv4' - property :id, as: 'id' + property :id, :numeric_string => true, as: 'id' property :kind, as: 'kind' property :name, as: 'name' collection :peerings, as: 'peerings', class: Google::Apis::ComputeBeta::NetworkPeering, decorator: Google::Apis::ComputeBeta::NetworkPeering::Representation @@ -3675,7 +3675,7 @@ module Google property :http_error_message, as: 'httpErrorMessage' property :http_error_status_code, as: 'httpErrorStatusCode' - property :id, as: 'id' + property :id, :numeric_string => true, as: 'id' property :insert_time, as: 'insertTime' property :kind, as: 'kind' property :name, as: 'name' @@ -3686,7 +3686,7 @@ module Google property :start_time, as: 'startTime' property :status, as: 'status' property :status_message, as: 'statusMessage' - property :target_id, as: 'targetId' + property :target_id, :numeric_string => true, as: 'targetId' property :target_link, as: 'targetLink' property :user, as: 'user' collection :warnings, as: 'warnings', class: Google::Apis::ComputeBeta::Operation::Warning, decorator: Google::Apis::ComputeBeta::Operation::Warning::Representation @@ -3825,7 +3825,7 @@ module Google property :default_service_account, as: 'defaultServiceAccount' property :description, as: 'description' collection :enabled_features, as: 'enabledFeatures' - property :id, as: 'id' + property :id, :numeric_string => true, as: 'id' property :kind, as: 'kind' property :name, as: 'name' collection :quotas, as: 'quotas', class: Google::Apis::ComputeBeta::Quota, decorator: Google::Apis::ComputeBeta::Quota::Representation @@ -3886,7 +3886,7 @@ module Google property :deprecated, as: 'deprecated', class: Google::Apis::ComputeBeta::DeprecationStatus, decorator: Google::Apis::ComputeBeta::DeprecationStatus::Representation property :description, as: 'description' - property :id, as: 'id' + property :id, :numeric_string => true, as: 'id' property :kind, as: 'kind' property :name, as: 'name' collection :quotas, as: 'quotas', class: Google::Apis::ComputeBeta::Quota, decorator: Google::Apis::ComputeBeta::Quota::Representation @@ -4029,7 +4029,7 @@ module Google class ResourceCommitment # @private class Representation < Google::Apis::Core::JsonRepresentation - property :amount, as: 'amount' + property :amount, :numeric_string => true, as: 'amount' property :type, as: 'type' end end @@ -4047,7 +4047,7 @@ module Google property :creation_timestamp, as: 'creationTimestamp' property :description, as: 'description' property :dest_range, as: 'destRange' - property :id, as: 'id' + property :id, :numeric_string => true, as: 'id' property :kind, as: 'kind' property :name, as: 'name' property :network, as: 'network' @@ -4104,7 +4104,7 @@ module Google property :creation_timestamp, as: 'creationTimestamp' property :description, as: 'description' - property :id, as: 'id' + property :id, :numeric_string => true, as: 'id' collection :interfaces, as: 'interfaces', class: Google::Apis::ComputeBeta::RouterInterface, decorator: Google::Apis::ComputeBeta::RouterInterface::Representation property :kind, as: 'kind' @@ -4282,9 +4282,9 @@ module Google class Representation < Google::Apis::Core::JsonRepresentation property :contents, as: 'contents' property :kind, as: 'kind' - property :next, as: 'next' + property :next, :numeric_string => true, as: 'next' property :self_link, as: 'selfLink' - property :start, as: 'start' + property :start, :numeric_string => true, as: 'start' end end @@ -4301,8 +4301,8 @@ module Google class Representation < Google::Apis::Core::JsonRepresentation property :creation_timestamp, as: 'creationTimestamp' property :description, as: 'description' - property :disk_size_gb, as: 'diskSizeGb' - property :id, as: 'id' + property :disk_size_gb, :numeric_string => true, as: 'diskSizeGb' + property :id, :numeric_string => true, as: 'id' property :kind, as: 'kind' property :label_fingerprint, :base64 => true, as: 'labelFingerprint' hash :labels, as: 'labels' @@ -4316,7 +4316,7 @@ module Google property :source_disk_id, as: 'sourceDiskId' property :status, as: 'status' - property :storage_bytes, as: 'storageBytes' + property :storage_bytes, :numeric_string => true, as: 'storageBytes' property :storage_bytes_status, as: 'storageBytesStatus' end end @@ -4339,7 +4339,7 @@ module Google property :certificate, as: 'certificate' property :creation_timestamp, as: 'creationTimestamp' property :description, as: 'description' - property :id, as: 'id' + property :id, :numeric_string => true, as: 'id' property :kind, as: 'kind' property :name, as: 'name' property :private_key, as: 'privateKey' @@ -4365,7 +4365,7 @@ module Google property :creation_timestamp, as: 'creationTimestamp' property :description, as: 'description' property :gateway_address, as: 'gatewayAddress' - property :id, as: 'id' + property :id, :numeric_string => true, as: 'id' property :ip_cidr_range, as: 'ipCidrRange' property :kind, as: 'kind' property :name, as: 'name' @@ -4476,7 +4476,7 @@ module Google class Representation < Google::Apis::Core::JsonRepresentation property :creation_timestamp, as: 'creationTimestamp' property :description, as: 'description' - property :id, as: 'id' + property :id, :numeric_string => true, as: 'id' property :kind, as: 'kind' property :name, as: 'name' property :self_link, as: 'selfLink' @@ -4508,7 +4508,7 @@ module Google class Representation < Google::Apis::Core::JsonRepresentation property :creation_timestamp, as: 'creationTimestamp' property :description, as: 'description' - property :id, as: 'id' + property :id, :numeric_string => true, as: 'id' property :kind, as: 'kind' property :name, as: 'name' property :self_link, as: 'selfLink' @@ -4534,7 +4534,7 @@ module Google class Representation < Google::Apis::Core::JsonRepresentation property :creation_timestamp, as: 'creationTimestamp' property :description, as: 'description' - property :id, as: 'id' + property :id, :numeric_string => true, as: 'id' property :instance, as: 'instance' property :kind, as: 'kind' property :name, as: 'name' @@ -4604,7 +4604,7 @@ module Google property :description, as: 'description' property :failover_ratio, as: 'failoverRatio' collection :health_checks, as: 'healthChecks' - property :id, as: 'id' + property :id, :numeric_string => true, as: 'id' collection :instances, as: 'instances' property :kind, as: 'kind' property :name, as: 'name' @@ -4740,7 +4740,7 @@ module Google class Representation < Google::Apis::Core::JsonRepresentation property :creation_timestamp, as: 'creationTimestamp' property :description, as: 'description' - property :id, as: 'id' + property :id, :numeric_string => true, as: 'id' property :kind, as: 'kind' property :name, as: 'name' property :proxy_header, as: 'proxyHeader' @@ -4781,7 +4781,7 @@ module Google class Representation < Google::Apis::Core::JsonRepresentation property :creation_timestamp, as: 'creationTimestamp' property :description, as: 'description' - property :id, as: 'id' + property :id, :numeric_string => true, as: 'id' property :kind, as: 'kind' property :name, as: 'name' property :proxy_header, as: 'proxyHeader' @@ -4808,7 +4808,7 @@ module Google property :creation_timestamp, as: 'creationTimestamp' property :description, as: 'description' collection :forwarding_rules, as: 'forwardingRules' - property :id, as: 'id' + property :id, :numeric_string => true, as: 'id' property :kind, as: 'kind' property :name, as: 'name' property :network, as: 'network' @@ -4914,7 +4914,7 @@ module Google property :fingerprint, :base64 => true, as: 'fingerprint' collection :host_rules, as: 'hostRules', class: Google::Apis::ComputeBeta::HostRule, decorator: Google::Apis::ComputeBeta::HostRule::Representation - property :id, as: 'id' + property :id, :numeric_string => true, as: 'id' property :kind, as: 'kind' property :name, as: 'name' collection :path_matchers, as: 'pathMatchers', class: Google::Apis::ComputeBeta::PathMatcher, decorator: Google::Apis::ComputeBeta::PathMatcher::Representation @@ -4995,7 +4995,7 @@ module Google property :creation_timestamp, as: 'creationTimestamp' property :description, as: 'description' property :detailed_status, as: 'detailedStatus' - property :id, as: 'id' + property :id, :numeric_string => true, as: 'id' property :ike_version, as: 'ikeVersion' property :kind, as: 'kind' collection :local_traffic_selector, as: 'localTrafficSelector' @@ -5091,7 +5091,7 @@ module Google property :deprecated, as: 'deprecated', class: Google::Apis::ComputeBeta::DeprecationStatus, decorator: Google::Apis::ComputeBeta::DeprecationStatus::Representation property :description, as: 'description' - property :id, as: 'id' + property :id, :numeric_string => true, as: 'id' property :kind, as: 'kind' property :name, as: 'name' property :region, as: 'region' diff --git a/generated/google/apis/compute_beta/service.rb b/generated/google/apis/compute_beta/service.rb index 7e6a80d56..7931c6160 100644 --- a/generated/google/apis/compute_beta/service.rb +++ b/generated/google/apis/compute_beta/service.rb @@ -50,6 +50,7 @@ module Google def initialize super('https://www.googleapis.com/', 'compute/beta/projects/') + @batch_path = 'batch' end # Retrieves an aggregated list of accelerator types. @@ -7218,7 +7219,7 @@ module Google # Name of the instance scoping this request. # @param [Fixnum] port # Specifies which COM or serial port to retrieve data from. - # @param [String] start + # @param [Fixnum] start # Returns output starting from a specific byte position. Use this to page # through output when the output is too large to return in a single request. For # the initial request, leave this field unspecified. For subsequent calls, this diff --git a/generated/google/apis/compute_v1/classes.rb b/generated/google/apis/compute_v1/classes.rb index 998c38227..4e0b74012 100644 --- a/generated/google/apis/compute_v1/classes.rb +++ b/generated/google/apis/compute_v1/classes.rb @@ -89,7 +89,7 @@ module Google # [Output Only] The unique identifier for the resource. This identifier is # defined by the server. # Corresponds to the JSON property `id` - # @return [String] + # @return [Fixnum] attr_accessor :id # [Output Only] Type of the resource. Always compute#address for addresses. @@ -469,7 +469,7 @@ module Google # Specifies the size of the disk in base-2 GB. # Corresponds to the JSON property `diskSizeGb` - # @return [String] + # @return [Fixnum] attr_accessor :disk_size_gb # Specifies the disk type to use to create the instance. If not specified, the @@ -553,7 +553,7 @@ module Google # [Output Only] The unique identifier for the resource. This identifier is # defined by the server. # Corresponds to the JSON property `id` - # @return [String] + # @return [Fixnum] attr_accessor :id # [Output Only] Type of the resource. Always compute#autoscaler for autoscalers. @@ -1081,7 +1081,7 @@ module Google # [Output Only] Unique identifier for the resource; defined by the server. # Corresponds to the JSON property `id` - # @return [String] + # @return [Fixnum] attr_accessor :id # Type of the resource. @@ -1231,7 +1231,7 @@ module Google # [Output Only] The unique identifier for the resource. This identifier is # defined by the server. # Corresponds to the JSON property `id` - # @return [String] + # @return [Fixnum] attr_accessor :id # [Output Only] Type of resource. Always compute#backendService for backend @@ -1795,7 +1795,7 @@ module Google # [Output Only] The unique identifier for the resource. This identifier is # defined by the server. # Corresponds to the JSON property `id` - # @return [String] + # @return [Fixnum] attr_accessor :id # [Output Only] Type of the resource. Always compute#disk for disks. @@ -1845,7 +1845,7 @@ module Google # of sizeGb must not be less than the size of the sourceImage or the size of the # snapshot. # Corresponds to the JSON property `sizeGb` - # @return [String] + # @return [Fixnum] attr_accessor :size_gb # The source image used to create this disk. If the source image is deleted, @@ -2100,7 +2100,7 @@ module Google # [Output Only] Server-defined default disk size in GB. # Corresponds to the JSON property `defaultDiskSizeGb` - # @return [String] + # @return [Fixnum] attr_accessor :default_disk_size_gb # Deprecation status for a public resource. @@ -2116,7 +2116,7 @@ module Google # [Output Only] The unique identifier for the resource. This identifier is # defined by the server. # Corresponds to the JSON property `id` - # @return [String] + # @return [Fixnum] attr_accessor :id # [Output Only] Type of the resource. Always compute#diskType for disk types. @@ -2357,7 +2357,7 @@ module Google # The new size of the persistent disk, which is specified in GB. # Corresponds to the JSON property `sizeGb` - # @return [String] + # @return [Fixnum] attr_accessor :size_gb def initialize(**args) @@ -2485,7 +2485,7 @@ module Google # [Output Only] The unique identifier for the resource. This identifier is # defined by the server. # Corresponds to the JSON property `id` - # @return [String] + # @return [Fixnum] attr_accessor :id # [Output Ony] Type of the resource. Always compute#firewall for firewall rules. @@ -2700,7 +2700,7 @@ module Google # [Output Only] The unique identifier for the resource. This identifier is # defined by the server. # Corresponds to the JSON property `id` - # @return [String] + # @return [Fixnum] attr_accessor :id # [Output Only] Type of the resource. Always compute#forwardingRule for @@ -3157,7 +3157,7 @@ module Google # [Output Only] The unique identifier for the resource. This identifier is # defined by the server. # Corresponds to the JSON property `id` - # @return [String] + # @return [Fixnum] attr_accessor :id # Type of the resource. @@ -3416,7 +3416,7 @@ module Google # [Output Only] The unique identifier for the resource. This identifier is # defined by the server. # Corresponds to the JSON property `id` - # @return [String] + # @return [Fixnum] attr_accessor :id # [Output Only] Type of the resource. Always compute#httpHealthCheck for HTTP @@ -3569,7 +3569,7 @@ module Google # [Output Only] The unique identifier for the resource. This identifier is # defined by the server. # Corresponds to the JSON property `id` - # @return [String] + # @return [Fixnum] attr_accessor :id # Type of the resource. @@ -3691,7 +3691,7 @@ module Google # Size of the image tar.gz archive stored in Google Cloud Storage (in bytes). # Corresponds to the JSON property `archiveSizeBytes` - # @return [String] + # @return [Fixnum] attr_accessor :archive_size_bytes # [Output Only] Creation timestamp in RFC3339 text format. @@ -3712,7 +3712,7 @@ module Google # Size of the image when restored onto a persistent disk (in GB). # Corresponds to the JSON property `diskSizeGb` - # @return [String] + # @return [Fixnum] attr_accessor :disk_size_gb # The name of the image family to which this image belongs. You can create disks @@ -3739,7 +3739,7 @@ module Google # [Output Only] The unique identifier for the resource. This identifier is # defined by the server. # Corresponds to the JSON property `id` - # @return [String] + # @return [Fixnum] attr_accessor :id # Represents a customer-supplied encryption key @@ -3962,7 +3962,7 @@ module Google # [Output Only] The unique identifier for the resource. This identifier is # defined by the server. # Corresponds to the JSON property `id` - # @return [String] + # @return [Fixnum] attr_accessor :id # [Output Only] Type of the resource. Always compute#instance for instances. @@ -4153,7 +4153,7 @@ module Google # [Output Only] A unique identifier for this instance group, generated by the # server. # Corresponds to the JSON property `id` - # @return [String] + # @return [Fixnum] attr_accessor :id # [Output Only] The resource type, which is always compute#instanceGroup for @@ -4369,7 +4369,7 @@ module Google # [Output Only] A unique identifier for this resource type. The server generates # this identifier. # Corresponds to the JSON property `id` - # @return [String] + # @return [Fixnum] attr_accessor :id # [Output Only] The URL of the Instance Group resource. @@ -5291,7 +5291,7 @@ module Google # [Output Only] A unique identifier for this instance template. The server # defines this identifier. # Corresponds to the JSON property `id` - # @return [String] + # @return [Fixnum] attr_accessor :id # [Output Only] The resource type, which is always compute#instanceTemplate for @@ -5645,7 +5645,7 @@ module Google # [Output Only] The unique identifier for the resource. This identifier is # defined by the server. # Corresponds to the JSON property `id` - # @return [String] + # @return [Fixnum] attr_accessor :id # [Deprecated] This property is deprecated and will never be populated with any @@ -5674,7 +5674,7 @@ module Google # [Output Only] Maximum total persistent disks size (GB) allowed. # Corresponds to the JSON property `maximumPersistentDisksSizeGb` - # @return [String] + # @return [Fixnum] attr_accessor :maximum_persistent_disks_size_gb # [Output Only] The amount of physical memory available to the instance, defined @@ -5965,7 +5965,7 @@ module Google # [Output only] The unique identifier for this resource. This field is empty # when instance does not exist. # Corresponds to the JSON property `id` - # @return [String] + # @return [Fixnum] attr_accessor :id # [Output Only] The URL of the instance. The URL can exist even if the instance @@ -6208,7 +6208,7 @@ module Google # [Output Only] The unique identifier for the resource. This identifier is # defined by the server. # Corresponds to the JSON property `id` - # @return [String] + # @return [Fixnum] attr_accessor :id # [Output Only] Type of the resource. Always compute#network for networks. @@ -6427,7 +6427,7 @@ module Google # [Output Only] The unique identifier for the resource. This identifier is # defined by the server. # Corresponds to the JSON property `id` - # @return [String] + # @return [Fixnum] attr_accessor :id # [Output Only] The time that this operation was requested. This value is in @@ -6493,7 +6493,7 @@ module Google # [Output Only] The unique target ID, which identifies a specific incarnation of # the target resource. # Corresponds to the JSON property `targetId` - # @return [String] + # @return [Fixnum] attr_accessor :target_id # [Output Only] The URL of the resource that the operation modifies. For @@ -6967,7 +6967,7 @@ module Google # defined by the server. This is not the project ID, and is just a unique ID # used by Compute Engine to identify resources. # Corresponds to the JSON property `id` - # @return [String] + # @return [Fixnum] attr_accessor :id # [Output Only] Type of the resource. Always compute#project for projects. @@ -7070,7 +7070,7 @@ module Google # [Output Only] The unique identifier for the resource. This identifier is # defined by the server. # Corresponds to the JSON property `id` - # @return [String] + # @return [Fixnum] attr_accessor :id # [Output Only] Type of the resource. Always compute#region for regions. @@ -7597,7 +7597,7 @@ module Google # [Output Only] The unique identifier for the resource. This identifier is # defined by the server. # Corresponds to the JSON property `id` - # @return [String] + # @return [Fixnum] attr_accessor :id # [Output Only] Type of this resource. Always compute#routes for Route resources. @@ -7840,7 +7840,7 @@ module Google # [Output Only] The unique identifier for the resource. This identifier is # defined by the server. # Corresponds to the JSON property `id` - # @return [String] + # @return [Fixnum] attr_accessor :id # Router interfaces. Each interface requires either one linked resource (e.g. @@ -8455,7 +8455,7 @@ module Google # [Output Only] The position of the next byte of content from the serial console # output. Use this value in the next request as the start parameter. # Corresponds to the JSON property `next` - # @return [String] + # @return [Fixnum] attr_accessor :next # [Output Only] Server-defined URL for this resource. @@ -8468,7 +8468,7 @@ module Google # exceeds the size of the buffer, older output will be overwritten by newer # content and the start values will be mismatched. # Corresponds to the JSON property `start` - # @return [String] + # @return [Fixnum] attr_accessor :start def initialize(**args) @@ -8527,13 +8527,13 @@ module Google # [Output Only] Size of the snapshot, specified in GB. # Corresponds to the JSON property `diskSizeGb` - # @return [String] + # @return [Fixnum] attr_accessor :disk_size_gb # [Output Only] The unique identifier for the resource. This identifier is # defined by the server. # Corresponds to the JSON property `id` - # @return [String] + # @return [Fixnum] attr_accessor :id # [Output Only] Type of the resource. Always compute#snapshot for Snapshot @@ -8596,7 +8596,7 @@ module Google # share storage, this number is expected to change with snapshot creation/ # deletion. # Corresponds to the JSON property `storageBytes` - # @return [String] + # @return [Fixnum] attr_accessor :storage_bytes # [Output Only] An indicator whether storageBytes is in a stable state or it is @@ -8706,7 +8706,7 @@ module Google # [Output Only] The unique identifier for the resource. This identifier is # defined by the server. # Corresponds to the JSON property `id` - # @return [String] + # @return [Fixnum] attr_accessor :id # [Output Only] Type of the resource. Always compute#sslCertificate for SSL @@ -8824,7 +8824,7 @@ module Google # [Output Only] The unique identifier for the resource. This identifier is # defined by the server. # Corresponds to the JSON property `id` - # @return [String] + # @return [Fixnum] attr_accessor :id # The range of internal addresses that are owned by this subnetwork. Provide @@ -9197,7 +9197,7 @@ module Google # [Output Only] The unique identifier for the resource. This identifier is # defined by the server. # Corresponds to the JSON property `id` - # @return [String] + # @return [Fixnum] attr_accessor :id # [Output Only] Type of resource. Always compute#targetHttpProxy for target HTTP @@ -9330,7 +9330,7 @@ module Google # [Output Only] The unique identifier for the resource. This identifier is # defined by the server. # Corresponds to the JSON property `id` - # @return [String] + # @return [Fixnum] attr_accessor :id # [Output Only] Type of resource. Always compute#targetHttpsProxy for target @@ -9456,7 +9456,7 @@ module Google # [Output Only] The unique identifier for the resource. This identifier is # defined by the server. # Corresponds to the JSON property `id` - # @return [String] + # @return [Fixnum] attr_accessor :id # A URL to the virtual machine instance that handles traffic for this target @@ -9765,7 +9765,7 @@ module Google # [Output Only] The unique identifier for the resource. This identifier is # defined by the server. # Corresponds to the JSON property `id` - # @return [String] + # @return [Fixnum] attr_accessor :id # A list of resource URLs to the virtual machine instances serving this pool. @@ -10225,7 +10225,7 @@ module Google # [Output Only] The unique identifier for the resource. This identifier is # defined by the server. # Corresponds to the JSON property `id` - # @return [String] + # @return [Fixnum] attr_accessor :id # [Output Only] Type of the resource. Always compute#targetSslProxy for target @@ -10357,7 +10357,7 @@ module Google # [Output Only] The unique identifier for the resource. This identifier is # defined by the server. # Corresponds to the JSON property `id` - # @return [String] + # @return [Fixnum] attr_accessor :id # [Output Only] Type of resource. Always compute#targetVpnGateway for target VPN @@ -10688,7 +10688,7 @@ module Google # [Output Only] The unique identifier for the resource. This identifier is # defined by the server. # Corresponds to the JSON property `id` - # @return [String] + # @return [Fixnum] attr_accessor :id # [Output Only] Type of the resource. Always compute#urlMaps for url maps. @@ -10983,7 +10983,7 @@ module Google # [Output Only] The unique identifier for the resource. This identifier is # defined by the server. # Corresponds to the JSON property `id` - # @return [String] + # @return [Fixnum] attr_accessor :id # IKE protocol version to use when establishing the VPN tunnel with peer VPN @@ -11298,7 +11298,7 @@ module Google # [Output Only] The unique identifier for the resource. This identifier is # defined by the server. # Corresponds to the JSON property `id` - # @return [String] + # @return [Fixnum] attr_accessor :id # [Output Only] Type of the resource. Always compute#zone for zones. diff --git a/generated/google/apis/compute_v1/representations.rb b/generated/google/apis/compute_v1/representations.rb index 1032d6234..756075383 100644 --- a/generated/google/apis/compute_v1/representations.rb +++ b/generated/google/apis/compute_v1/representations.rb @@ -1508,7 +1508,7 @@ module Google property :address, as: 'address' property :creation_timestamp, as: 'creationTimestamp' property :description, as: 'description' - property :id, as: 'id' + property :id, :numeric_string => true, as: 'id' property :kind, as: 'kind' property :name, as: 'name' property :region, as: 'region' @@ -1594,7 +1594,7 @@ module Google # @private class Representation < Google::Apis::Core::JsonRepresentation property :disk_name, as: 'diskName' - property :disk_size_gb, as: 'diskSizeGb' + property :disk_size_gb, :numeric_string => true, as: 'diskSizeGb' property :disk_type, as: 'diskType' property :source_image, as: 'sourceImage' property :source_image_encryption_key, as: 'sourceImageEncryptionKey', class: Google::Apis::ComputeV1::CustomerEncryptionKey, decorator: Google::Apis::ComputeV1::CustomerEncryptionKey::Representation @@ -1609,7 +1609,7 @@ module Google property :creation_timestamp, as: 'creationTimestamp' property :description, as: 'description' - property :id, as: 'id' + property :id, :numeric_string => true, as: 'id' property :kind, as: 'kind' property :name, as: 'name' property :region, as: 'region' @@ -1731,7 +1731,7 @@ module Google property :creation_timestamp, as: 'creationTimestamp' property :description, as: 'description' property :enable_cdn, as: 'enableCdn' - property :id, as: 'id' + property :id, :numeric_string => true, as: 'id' property :kind, as: 'kind' property :name, as: 'name' property :self_link, as: 'selfLink' @@ -1765,7 +1765,7 @@ module Google property :enable_cdn, as: 'enableCDN' property :fingerprint, :base64 => true, as: 'fingerprint' collection :health_checks, as: 'healthChecks' - property :id, as: 'id' + property :id, :numeric_string => true, as: 'id' property :kind, as: 'kind' property :load_balancing_scheme, as: 'loadBalancingScheme' property :name, as: 'name' @@ -1909,7 +1909,7 @@ module Google property :description, as: 'description' property :disk_encryption_key, as: 'diskEncryptionKey', class: Google::Apis::ComputeV1::CustomerEncryptionKey, decorator: Google::Apis::ComputeV1::CustomerEncryptionKey::Representation - property :id, as: 'id' + property :id, :numeric_string => true, as: 'id' property :kind, as: 'kind' property :last_attach_timestamp, as: 'lastAttachTimestamp' property :last_detach_timestamp, as: 'lastDetachTimestamp' @@ -1917,7 +1917,7 @@ module Google property :name, as: 'name' property :options, as: 'options' property :self_link, as: 'selfLink' - property :size_gb, as: 'sizeGb' + property :size_gb, :numeric_string => true, as: 'sizeGb' property :source_image, as: 'sourceImage' property :source_image_encryption_key, as: 'sourceImageEncryptionKey', class: Google::Apis::ComputeV1::CustomerEncryptionKey, decorator: Google::Apis::ComputeV1::CustomerEncryptionKey::Representation @@ -1969,11 +1969,11 @@ module Google # @private class Representation < Google::Apis::Core::JsonRepresentation property :creation_timestamp, as: 'creationTimestamp' - property :default_disk_size_gb, as: 'defaultDiskSizeGb' + property :default_disk_size_gb, :numeric_string => true, as: 'defaultDiskSizeGb' property :deprecated, as: 'deprecated', class: Google::Apis::ComputeV1::DeprecationStatus, decorator: Google::Apis::ComputeV1::DeprecationStatus::Representation property :description, as: 'description' - property :id, as: 'id' + property :id, :numeric_string => true, as: 'id' property :kind, as: 'kind' property :name, as: 'name' property :self_link, as: 'selfLink' @@ -2037,7 +2037,7 @@ module Google class DisksResizeRequest # @private class Representation < Google::Apis::Core::JsonRepresentation - property :size_gb, as: 'sizeGb' + property :size_gb, :numeric_string => true, as: 'sizeGb' end end @@ -2076,7 +2076,7 @@ module Google property :creation_timestamp, as: 'creationTimestamp' property :description, as: 'description' - property :id, as: 'id' + property :id, :numeric_string => true, as: 'id' property :kind, as: 'kind' property :name, as: 'name' property :network, as: 'network' @@ -2115,7 +2115,7 @@ module Google property :backend_service, as: 'backendService' property :creation_timestamp, as: 'creationTimestamp' property :description, as: 'description' - property :id, as: 'id' + property :id, :numeric_string => true, as: 'id' property :kind, as: 'kind' property :load_balancing_scheme, as: 'loadBalancingScheme' property :name, as: 'name' @@ -2221,7 +2221,7 @@ module Google property :https_health_check, as: 'httpsHealthCheck', class: Google::Apis::ComputeV1::HttpsHealthCheck, decorator: Google::Apis::ComputeV1::HttpsHealthCheck::Representation - property :id, as: 'id' + property :id, :numeric_string => true, as: 'id' property :kind, as: 'kind' property :name, as: 'name' property :self_link, as: 'selfLink' @@ -2281,7 +2281,7 @@ module Google property :description, as: 'description' property :healthy_threshold, as: 'healthyThreshold' property :host, as: 'host' - property :id, as: 'id' + property :id, :numeric_string => true, as: 'id' property :kind, as: 'kind' property :name, as: 'name' property :port, as: 'port' @@ -2312,7 +2312,7 @@ module Google property :description, as: 'description' property :healthy_threshold, as: 'healthyThreshold' property :host, as: 'host' - property :id, as: 'id' + property :id, :numeric_string => true, as: 'id' property :kind, as: 'kind' property :name, as: 'name' property :port, as: 'port' @@ -2338,16 +2338,16 @@ module Google class Image # @private class Representation < Google::Apis::Core::JsonRepresentation - property :archive_size_bytes, as: 'archiveSizeBytes' + property :archive_size_bytes, :numeric_string => true, as: 'archiveSizeBytes' property :creation_timestamp, as: 'creationTimestamp' property :deprecated, as: 'deprecated', class: Google::Apis::ComputeV1::DeprecationStatus, decorator: Google::Apis::ComputeV1::DeprecationStatus::Representation property :description, as: 'description' - property :disk_size_gb, as: 'diskSizeGb' + property :disk_size_gb, :numeric_string => true, as: 'diskSizeGb' property :family, as: 'family' collection :guest_os_features, as: 'guestOsFeatures', class: Google::Apis::ComputeV1::GuestOsFeature, decorator: Google::Apis::ComputeV1::GuestOsFeature::Representation - property :id, as: 'id' + property :id, :numeric_string => true, as: 'id' property :image_encryption_key, as: 'imageEncryptionKey', class: Google::Apis::ComputeV1::CustomerEncryptionKey, decorator: Google::Apis::ComputeV1::CustomerEncryptionKey::Representation property :kind, as: 'kind' @@ -2395,7 +2395,7 @@ module Google property :description, as: 'description' collection :disks, as: 'disks', class: Google::Apis::ComputeV1::AttachedDisk, decorator: Google::Apis::ComputeV1::AttachedDisk::Representation - property :id, as: 'id' + property :id, :numeric_string => true, as: 'id' property :kind, as: 'kind' property :machine_type, as: 'machineType' property :metadata, as: 'metadata', class: Google::Apis::ComputeV1::Metadata, decorator: Google::Apis::ComputeV1::Metadata::Representation @@ -2434,7 +2434,7 @@ module Google property :creation_timestamp, as: 'creationTimestamp' property :description, as: 'description' property :fingerprint, :base64 => true, as: 'fingerprint' - property :id, as: 'id' + property :id, :numeric_string => true, as: 'id' property :kind, as: 'kind' property :name, as: 'name' collection :named_ports, as: 'namedPorts', class: Google::Apis::ComputeV1::NamedPort, decorator: Google::Apis::ComputeV1::NamedPort::Representation @@ -2481,7 +2481,7 @@ module Google property :description, as: 'description' property :fingerprint, :base64 => true, as: 'fingerprint' - property :id, as: 'id' + property :id, :numeric_string => true, as: 'id' property :instance_group, as: 'instanceGroup' property :instance_template, as: 'instanceTemplate' property :kind, as: 'kind' @@ -2731,7 +2731,7 @@ module Google class Representation < Google::Apis::Core::JsonRepresentation property :creation_timestamp, as: 'creationTimestamp' property :description, as: 'description' - property :id, as: 'id' + property :id, :numeric_string => true, as: 'id' property :kind, as: 'kind' property :name, as: 'name' property :properties, as: 'properties', class: Google::Apis::ComputeV1::InstanceProperties, decorator: Google::Apis::ComputeV1::InstanceProperties::Representation @@ -2831,12 +2831,12 @@ module Google property :description, as: 'description' property :guest_cpus, as: 'guestCpus' - property :id, as: 'id' + property :id, :numeric_string => true, as: 'id' property :image_space_gb, as: 'imageSpaceGb' property :is_shared_cpu, as: 'isSharedCpu' property :kind, as: 'kind' property :maximum_persistent_disks, as: 'maximumPersistentDisks' - property :maximum_persistent_disks_size_gb, as: 'maximumPersistentDisksSizeGb' + property :maximum_persistent_disks_size_gb, :numeric_string => true, as: 'maximumPersistentDisksSizeGb' property :memory_mb, as: 'memoryMb' property :name, as: 'name' collection :scratch_disks, as: 'scratchDisks', class: Google::Apis::ComputeV1::MachineType::ScratchDisk, decorator: Google::Apis::ComputeV1::MachineType::ScratchDisk::Representation @@ -2909,7 +2909,7 @@ module Google # @private class Representation < Google::Apis::Core::JsonRepresentation property :current_action, as: 'currentAction' - property :id, as: 'id' + property :id, :numeric_string => true, as: 'id' property :instance, as: 'instance' property :instance_status, as: 'instanceStatus' property :last_attempt, as: 'lastAttempt', class: Google::Apis::ComputeV1::ManagedInstanceLastAttempt, decorator: Google::Apis::ComputeV1::ManagedInstanceLastAttempt::Representation @@ -2976,7 +2976,7 @@ module Google property :creation_timestamp, as: 'creationTimestamp' property :description, as: 'description' property :gateway_i_pv4, as: 'gatewayIPv4' - property :id, as: 'id' + property :id, :numeric_string => true, as: 'id' property :kind, as: 'kind' property :name, as: 'name' property :self_link, as: 'selfLink' @@ -3020,7 +3020,7 @@ module Google property :http_error_message, as: 'httpErrorMessage' property :http_error_status_code, as: 'httpErrorStatusCode' - property :id, as: 'id' + property :id, :numeric_string => true, as: 'id' property :insert_time, as: 'insertTime' property :kind, as: 'kind' property :name, as: 'name' @@ -3031,7 +3031,7 @@ module Google property :start_time, as: 'startTime' property :status, as: 'status' property :status_message, as: 'statusMessage' - property :target_id, as: 'targetId' + property :target_id, :numeric_string => true, as: 'targetId' property :target_link, as: 'targetLink' property :user, as: 'user' collection :warnings, as: 'warnings', class: Google::Apis::ComputeV1::Operation::Warning, decorator: Google::Apis::ComputeV1::Operation::Warning::Representation @@ -3155,7 +3155,7 @@ module Google property :default_service_account, as: 'defaultServiceAccount' property :description, as: 'description' collection :enabled_features, as: 'enabledFeatures' - property :id, as: 'id' + property :id, :numeric_string => true, as: 'id' property :kind, as: 'kind' property :name, as: 'name' collection :quotas, as: 'quotas', class: Google::Apis::ComputeV1::Quota, decorator: Google::Apis::ComputeV1::Quota::Representation @@ -3182,7 +3182,7 @@ module Google property :deprecated, as: 'deprecated', class: Google::Apis::ComputeV1::DeprecationStatus, decorator: Google::Apis::ComputeV1::DeprecationStatus::Representation property :description, as: 'description' - property :id, as: 'id' + property :id, :numeric_string => true, as: 'id' property :kind, as: 'kind' property :name, as: 'name' collection :quotas, as: 'quotas', class: Google::Apis::ComputeV1::Quota, decorator: Google::Apis::ComputeV1::Quota::Representation @@ -3327,7 +3327,7 @@ module Google property :creation_timestamp, as: 'creationTimestamp' property :description, as: 'description' property :dest_range, as: 'destRange' - property :id, as: 'id' + property :id, :numeric_string => true, as: 'id' property :kind, as: 'kind' property :name, as: 'name' property :network, as: 'network' @@ -3383,7 +3383,7 @@ module Google property :creation_timestamp, as: 'creationTimestamp' property :description, as: 'description' - property :id, as: 'id' + property :id, :numeric_string => true, as: 'id' collection :interfaces, as: 'interfaces', class: Google::Apis::ComputeV1::RouterInterface, decorator: Google::Apis::ComputeV1::RouterInterface::Representation property :kind, as: 'kind' @@ -3544,9 +3544,9 @@ module Google class Representation < Google::Apis::Core::JsonRepresentation property :contents, as: 'contents' property :kind, as: 'kind' - property :next, as: 'next' + property :next, :numeric_string => true, as: 'next' property :self_link, as: 'selfLink' - property :start, as: 'start' + property :start, :numeric_string => true, as: 'start' end end @@ -3563,8 +3563,8 @@ module Google class Representation < Google::Apis::Core::JsonRepresentation property :creation_timestamp, as: 'creationTimestamp' property :description, as: 'description' - property :disk_size_gb, as: 'diskSizeGb' - property :id, as: 'id' + property :disk_size_gb, :numeric_string => true, as: 'diskSizeGb' + property :id, :numeric_string => true, as: 'id' property :kind, as: 'kind' collection :licenses, as: 'licenses' property :name, as: 'name' @@ -3576,7 +3576,7 @@ module Google property :source_disk_id, as: 'sourceDiskId' property :status, as: 'status' - property :storage_bytes, as: 'storageBytes' + property :storage_bytes, :numeric_string => true, as: 'storageBytes' property :storage_bytes_status, as: 'storageBytesStatus' end end @@ -3599,7 +3599,7 @@ module Google property :certificate, as: 'certificate' property :creation_timestamp, as: 'creationTimestamp' property :description, as: 'description' - property :id, as: 'id' + property :id, :numeric_string => true, as: 'id' property :kind, as: 'kind' property :name, as: 'name' property :private_key, as: 'privateKey' @@ -3625,7 +3625,7 @@ module Google property :creation_timestamp, as: 'creationTimestamp' property :description, as: 'description' property :gateway_address, as: 'gatewayAddress' - property :id, as: 'id' + property :id, :numeric_string => true, as: 'id' property :ip_cidr_range, as: 'ipCidrRange' property :kind, as: 'kind' property :name, as: 'name' @@ -3718,7 +3718,7 @@ module Google class Representation < Google::Apis::Core::JsonRepresentation property :creation_timestamp, as: 'creationTimestamp' property :description, as: 'description' - property :id, as: 'id' + property :id, :numeric_string => true, as: 'id' property :kind, as: 'kind' property :name, as: 'name' property :self_link, as: 'selfLink' @@ -3750,7 +3750,7 @@ module Google class Representation < Google::Apis::Core::JsonRepresentation property :creation_timestamp, as: 'creationTimestamp' property :description, as: 'description' - property :id, as: 'id' + property :id, :numeric_string => true, as: 'id' property :kind, as: 'kind' property :name, as: 'name' property :self_link, as: 'selfLink' @@ -3776,7 +3776,7 @@ module Google class Representation < Google::Apis::Core::JsonRepresentation property :creation_timestamp, as: 'creationTimestamp' property :description, as: 'description' - property :id, as: 'id' + property :id, :numeric_string => true, as: 'id' property :instance, as: 'instance' property :kind, as: 'kind' property :name, as: 'name' @@ -3846,7 +3846,7 @@ module Google property :description, as: 'description' property :failover_ratio, as: 'failoverRatio' collection :health_checks, as: 'healthChecks' - property :id, as: 'id' + property :id, :numeric_string => true, as: 'id' collection :instances, as: 'instances' property :kind, as: 'kind' property :name, as: 'name' @@ -3982,7 +3982,7 @@ module Google class Representation < Google::Apis::Core::JsonRepresentation property :creation_timestamp, as: 'creationTimestamp' property :description, as: 'description' - property :id, as: 'id' + property :id, :numeric_string => true, as: 'id' property :kind, as: 'kind' property :name, as: 'name' property :proxy_header, as: 'proxyHeader' @@ -4010,7 +4010,7 @@ module Google property :creation_timestamp, as: 'creationTimestamp' property :description, as: 'description' collection :forwarding_rules, as: 'forwardingRules' - property :id, as: 'id' + property :id, :numeric_string => true, as: 'id' property :kind, as: 'kind' property :name, as: 'name' property :network, as: 'network' @@ -4092,7 +4092,7 @@ module Google property :fingerprint, :base64 => true, as: 'fingerprint' collection :host_rules, as: 'hostRules', class: Google::Apis::ComputeV1::HostRule, decorator: Google::Apis::ComputeV1::HostRule::Representation - property :id, as: 'id' + property :id, :numeric_string => true, as: 'id' property :kind, as: 'kind' property :name, as: 'name' collection :path_matchers, as: 'pathMatchers', class: Google::Apis::ComputeV1::PathMatcher, decorator: Google::Apis::ComputeV1::PathMatcher::Representation @@ -4173,7 +4173,7 @@ module Google property :creation_timestamp, as: 'creationTimestamp' property :description, as: 'description' property :detailed_status, as: 'detailedStatus' - property :id, as: 'id' + property :id, :numeric_string => true, as: 'id' property :ike_version, as: 'ikeVersion' property :kind, as: 'kind' collection :local_traffic_selector, as: 'localTrafficSelector' @@ -4249,7 +4249,7 @@ module Google property :deprecated, as: 'deprecated', class: Google::Apis::ComputeV1::DeprecationStatus, decorator: Google::Apis::ComputeV1::DeprecationStatus::Representation property :description, as: 'description' - property :id, as: 'id' + property :id, :numeric_string => true, as: 'id' property :kind, as: 'kind' property :name, as: 'name' property :region, as: 'region' diff --git a/generated/google/apis/compute_v1/service.rb b/generated/google/apis/compute_v1/service.rb index 9685544d5..8998e6067 100644 --- a/generated/google/apis/compute_v1/service.rb +++ b/generated/google/apis/compute_v1/service.rb @@ -50,6 +50,7 @@ module Google def initialize super('https://www.googleapis.com/', 'compute/v1/projects/') + @batch_path = 'batch' end # Retrieves an aggregated list of addresses. @@ -6030,7 +6031,7 @@ module Google # Name of the instance scoping this request. # @param [Fixnum] port # Specifies which COM or serial port to retrieve data from. - # @param [String] start + # @param [Fixnum] start # Returns output starting from a specific byte position. Use this to page # through output when the output is too large to return in a single request. For # the initial request, leave this field unspecified. For subsequent calls, this diff --git a/generated/google/apis/container_v1/service.rb b/generated/google/apis/container_v1/service.rb index fdc752454..228481a73 100644 --- a/generated/google/apis/container_v1/service.rb +++ b/generated/google/apis/container_v1/service.rb @@ -45,6 +45,7 @@ module Google def initialize super('https://container.googleapis.com/', '') + @batch_path = 'batch' end # Returns configuration info about the Container Engine service. diff --git a/generated/google/apis/content_v2.rb b/generated/google/apis/content_v2.rb index d7aeec675..f8d6abf8c 100644 --- a/generated/google/apis/content_v2.rb +++ b/generated/google/apis/content_v2.rb @@ -26,7 +26,7 @@ module Google # @see https://developers.google.com/shopping-content module ContentV2 VERSION = 'V2' - REVISION = '20170303' + REVISION = '20170324' # Manage your product listings and accounts for Google Shopping AUTH_CONTENT = 'https://www.googleapis.com/auth/content' diff --git a/generated/google/apis/content_v2/classes.rb b/generated/google/apis/content_v2/classes.rb index d453284c6..f67e4b900 100644 --- a/generated/google/apis/content_v2/classes.rb +++ b/generated/google/apis/content_v2/classes.rb @@ -43,7 +43,7 @@ module Google # Merchant Center account ID. # Corresponds to the JSON property `id` - # @return [String] + # @return [Fixnum] attr_accessor :id # Identifies what kind of resource this is. Value: the fixed string "content# @@ -102,7 +102,7 @@ module Google # Customer ID of the AdWords account. # Corresponds to the JSON property `adwordsId` - # @return [String] + # @return [Fixnum] attr_accessor :adwords_id # Status of the link between this Merchant Center account and the AdWords @@ -136,12 +136,12 @@ module Google # The aggregator ID, set for aggregators and subaccounts (in that case, it # represents the aggregator of the subaccount). # Corresponds to the JSON property `aggregatorId` - # @return [String] + # @return [Fixnum] attr_accessor :aggregator_id # The merchant account ID, set for individual accounts and subaccounts. # Corresponds to the JSON property `merchantId` - # @return [String] + # @return [Fixnum] attr_accessor :merchant_id def initialize(**args) @@ -155,470 +155,6 @@ module Google end end - # The shipping settings of a merchant account. - class AccountShipping - include Google::Apis::Core::Hashable - - # The ID of the account to which these account shipping settings belong. - # Corresponds to the JSON property `accountId` - # @return [String] - attr_accessor :account_id - - # Carrier-based shipping calculations. - # Corresponds to the JSON property `carrierRates` - # @return [Array] - attr_accessor :carrier_rates - - # Identifies what kind of resource this is. Value: the fixed string "content# - # accountShipping". - # Corresponds to the JSON property `kind` - # @return [String] - attr_accessor :kind - - # Location groups for shipping. - # Corresponds to the JSON property `locationGroups` - # @return [Array] - attr_accessor :location_groups - - # Rate tables definitions. - # Corresponds to the JSON property `rateTables` - # @return [Array] - attr_accessor :rate_tables - - # Shipping services describing shipping fees calculation. - # Corresponds to the JSON property `services` - # @return [Array] - attr_accessor :services - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @account_id = args[:account_id] if args.key?(:account_id) - @carrier_rates = args[:carrier_rates] if args.key?(:carrier_rates) - @kind = args[:kind] if args.key?(:kind) - @location_groups = args[:location_groups] if args.key?(:location_groups) - @rate_tables = args[:rate_tables] if args.key?(:rate_tables) - @services = args[:services] if args.key?(:services) - end - end - - # A carrier-calculated shipping rate. - class AccountShippingCarrierRate - include Google::Apis::Core::Hashable - - # The carrier that is responsible for the shipping, such as "UPS", "FedEx", or " - # USPS". - # Corresponds to the JSON property `carrier` - # @return [String] - attr_accessor :carrier - - # The carrier service, such as "Ground" or "2Day". - # Corresponds to the JSON property `carrierService` - # @return [String] - attr_accessor :carrier_service - - # Additive shipping rate modifier. - # Corresponds to the JSON property `modifierFlatRate` - # @return [Google::Apis::ContentV2::Price] - attr_accessor :modifier_flat_rate - - # Multiplicative shipping rate modifier in percent. Represented as a floating - # point number without the percentage character. - # Corresponds to the JSON property `modifierPercent` - # @return [String] - attr_accessor :modifier_percent - - # The name of the carrier rate. - # Corresponds to the JSON property `name` - # @return [String] - attr_accessor :name - - # The sale country for which this carrier rate is valid, represented as a CLDR - # territory code. - # Corresponds to the JSON property `saleCountry` - # @return [String] - attr_accessor :sale_country - - # Shipping origin represented as a postal code. - # Corresponds to the JSON property `shippingOrigin` - # @return [String] - attr_accessor :shipping_origin - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @carrier = args[:carrier] if args.key?(:carrier) - @carrier_service = args[:carrier_service] if args.key?(:carrier_service) - @modifier_flat_rate = args[:modifier_flat_rate] if args.key?(:modifier_flat_rate) - @modifier_percent = args[:modifier_percent] if args.key?(:modifier_percent) - @name = args[:name] if args.key?(:name) - @sale_country = args[:sale_country] if args.key?(:sale_country) - @shipping_origin = args[:shipping_origin] if args.key?(:shipping_origin) - end - end - - # - class AccountShippingCondition - include Google::Apis::Core::Hashable - - # Delivery location in terms of a location group name. A location group with - # this name must be specified among location groups. - # Corresponds to the JSON property `deliveryLocationGroup` - # @return [String] - attr_accessor :delivery_location_group - - # Delivery location in terms of a location ID. Can be used to represent - # administrative areas, smaller country subdivisions, or cities. - # Corresponds to the JSON property `deliveryLocationId` - # @return [String] - attr_accessor :delivery_location_id - - # Delivery location in terms of a postal code. - # Corresponds to the JSON property `deliveryPostalCode` - # @return [String] - attr_accessor :delivery_postal_code - - # A postal code range, that can be either: - # - A range of postal codes (e.g., start=12340, end=12359) - # - A range of postal codes prefixes (e.g., start=1234* end=1235*). Prefixes - # must be of the same length (e.g., start=12* end=2* is invalid). - # Corresponds to the JSON property `deliveryPostalCodeRange` - # @return [Google::Apis::ContentV2::AccountShippingPostalCodeRange] - attr_accessor :delivery_postal_code_range - - # Maximum shipping price. Forms an interval between the maximum of smaller - # prices (exclusive) and this price (inclusive). - # Corresponds to the JSON property `priceMax` - # @return [Google::Apis::ContentV2::Price] - attr_accessor :price_max - - # Shipping label of the product. The products with the label are matched. - # Corresponds to the JSON property `shippingLabel` - # @return [String] - attr_accessor :shipping_label - - # Maximum shipping weight. Forms an interval between the maximum of smaller - # weight (exclusive) and this weight (inclusive). - # Corresponds to the JSON property `weightMax` - # @return [Google::Apis::ContentV2::Weight] - attr_accessor :weight_max - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @delivery_location_group = args[:delivery_location_group] if args.key?(:delivery_location_group) - @delivery_location_id = args[:delivery_location_id] if args.key?(:delivery_location_id) - @delivery_postal_code = args[:delivery_postal_code] if args.key?(:delivery_postal_code) - @delivery_postal_code_range = args[:delivery_postal_code_range] if args.key?(:delivery_postal_code_range) - @price_max = args[:price_max] if args.key?(:price_max) - @shipping_label = args[:shipping_label] if args.key?(:shipping_label) - @weight_max = args[:weight_max] if args.key?(:weight_max) - end - end - - # A user-defined locations group in a given country. All the locations of the - # group must be of the same type. - class AccountShippingLocationGroup - include Google::Apis::Core::Hashable - - # The CLDR territory code of the country in which this location group is. - # Corresponds to the JSON property `country` - # @return [String] - attr_accessor :country - - # A location ID (also called criteria ID) representing administrative areas, - # smaller country subdivisions (counties), or cities. - # Corresponds to the JSON property `locationIds` - # @return [Array] - attr_accessor :location_ids - - # The name of the location group. - # Corresponds to the JSON property `name` - # @return [String] - attr_accessor :name - - # A postal code range representing a city or a set of cities. - # Corresponds to the JSON property `postalCodeRanges` - # @return [Array] - attr_accessor :postal_code_ranges - - # A postal code representing a city or a set of cities. - # - A single postal code (e.g., 12345) - # - A postal code prefix followed by a star (e.g., 1234*) - # Corresponds to the JSON property `postalCodes` - # @return [Array] - attr_accessor :postal_codes - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @country = args[:country] if args.key?(:country) - @location_ids = args[:location_ids] if args.key?(:location_ids) - @name = args[:name] if args.key?(:name) - @postal_code_ranges = args[:postal_code_ranges] if args.key?(:postal_code_ranges) - @postal_codes = args[:postal_codes] if args.key?(:postal_codes) - end - end - - # A postal code range, that can be either: - # - A range of postal codes (e.g., start=12340, end=12359) - # - A range of postal codes prefixes (e.g., start=1234* end=1235*). Prefixes - # must be of the same length (e.g., start=12* end=2* is invalid). - class AccountShippingPostalCodeRange - include Google::Apis::Core::Hashable - - # The last (inclusive) postal code or prefix of the range. - # Corresponds to the JSON property `end` - # @return [String] - attr_accessor :end - - # The first (inclusive) postal code or prefix of the range. - # Corresponds to the JSON property `start` - # @return [String] - attr_accessor :start - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @end = args[:end] if args.key?(:end) - @start = args[:start] if args.key?(:start) - end - end - - # A single or bi-dimensional table of shipping rates. Each dimension is defined - # in terms of consecutive price/weight ranges, delivery locations, or shipping - # labels. - class AccountShippingRateTable - include Google::Apis::Core::Hashable - - # One-dimensional table cells define one condition along the same dimension. Bi- - # dimensional table cells use two dimensions with respectively M and N distinct - # values and must contain exactly M * N cells with distinct conditions (for each - # possible value pairs). - # Corresponds to the JSON property `content` - # @return [Array] - attr_accessor :content - - # The name of the rate table. - # Corresponds to the JSON property `name` - # @return [String] - attr_accessor :name - - # The sale country for which this table is valid, represented as a CLDR - # territory code. - # Corresponds to the JSON property `saleCountry` - # @return [String] - attr_accessor :sale_country - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @content = args[:content] if args.key?(:content) - @name = args[:name] if args.key?(:name) - @sale_country = args[:sale_country] if args.key?(:sale_country) - end - end - - # - class AccountShippingRateTableCell - include Google::Apis::Core::Hashable - - # Conditions for which the cell is valid. All cells in a table must use the same - # dimension or pair of dimensions among price, weight, shipping label or - # delivery location. If no condition is specified, the cell acts as a catch-all - # and matches all the elements that are not matched by other cells in this - # dimension. - # Corresponds to the JSON property `condition` - # @return [Google::Apis::ContentV2::AccountShippingCondition] - attr_accessor :condition - - # The rate applicable if the cell conditions are matched. - # Corresponds to the JSON property `rate` - # @return [Google::Apis::ContentV2::Price] - attr_accessor :rate - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @condition = args[:condition] if args.key?(:condition) - @rate = args[:rate] if args.key?(:rate) - end - end - - # Shipping services provided in a country. - class AccountShippingShippingService - include Google::Apis::Core::Hashable - - # Whether the shipping service is available. - # Corresponds to the JSON property `active` - # @return [Boolean] - attr_accessor :active - alias_method :active?, :active - - # Shipping cost calculation method. Exactly one of the field is set. - # Corresponds to the JSON property `calculationMethod` - # @return [Google::Apis::ContentV2::AccountShippingShippingServiceCalculationMethod] - attr_accessor :calculation_method - - # Building block of the cost calculation decision tree. - # - The tree root should have no condition and no calculation method. - # - All the children must have a condition on the same dimension. The first - # child matching a condition is entered, therefore, price and weight conditions - # form contiguous intervals. - # - The last child of an element must have no condition and matches all elements - # not previously matched. - # - Children and calculation method are mutually exclusive, and exactly one of - # them must be defined; the root must only have children. - # Corresponds to the JSON property `costRuleTree` - # @return [Google::Apis::ContentV2::AccountShippingShippingServiceCostRule] - attr_accessor :cost_rule_tree - - # The maximum number of days in transit. Must be a value between 0 and 250 - # included. A value of 0 means same day delivery. - # Corresponds to the JSON property `maxDaysInTransit` - # @return [String] - attr_accessor :max_days_in_transit - - # The minimum number of days in transit. Must be a value between 0 and - # maxDaysIntransit included. A value of 0 means same day delivery. - # Corresponds to the JSON property `minDaysInTransit` - # @return [String] - attr_accessor :min_days_in_transit - - # The name of this shipping service. - # Corresponds to the JSON property `name` - # @return [String] - attr_accessor :name - - # The CLDR territory code of the sale country for which this service can be used. - # Corresponds to the JSON property `saleCountry` - # @return [String] - attr_accessor :sale_country - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @active = args[:active] if args.key?(:active) - @calculation_method = args[:calculation_method] if args.key?(:calculation_method) - @cost_rule_tree = args[:cost_rule_tree] if args.key?(:cost_rule_tree) - @max_days_in_transit = args[:max_days_in_transit] if args.key?(:max_days_in_transit) - @min_days_in_transit = args[:min_days_in_transit] if args.key?(:min_days_in_transit) - @name = args[:name] if args.key?(:name) - @sale_country = args[:sale_country] if args.key?(:sale_country) - end - end - - # Shipping cost calculation method. Exactly one of the field is set. - class AccountShippingShippingServiceCalculationMethod - include Google::Apis::Core::Hashable - - # Name of the carrier rate to use for the calculation. - # Corresponds to the JSON property `carrierRate` - # @return [String] - attr_accessor :carrier_rate - - # Delivery is excluded. Valid only within cost rules tree. - # Corresponds to the JSON property `excluded` - # @return [Boolean] - attr_accessor :excluded - alias_method :excluded?, :excluded - - # Fixed price shipping, represented as a floating point number associated with a - # currency. - # Corresponds to the JSON property `flatRate` - # @return [Google::Apis::ContentV2::Price] - attr_accessor :flat_rate - - # Percentage of the price, represented as a floating point number without the - # percentage character. - # Corresponds to the JSON property `percentageRate` - # @return [String] - attr_accessor :percentage_rate - - # Name of the rate table to use for the calculation. - # Corresponds to the JSON property `rateTable` - # @return [String] - attr_accessor :rate_table - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @carrier_rate = args[:carrier_rate] if args.key?(:carrier_rate) - @excluded = args[:excluded] if args.key?(:excluded) - @flat_rate = args[:flat_rate] if args.key?(:flat_rate) - @percentage_rate = args[:percentage_rate] if args.key?(:percentage_rate) - @rate_table = args[:rate_table] if args.key?(:rate_table) - end - end - - # Building block of the cost calculation decision tree. - # - The tree root should have no condition and no calculation method. - # - All the children must have a condition on the same dimension. The first - # child matching a condition is entered, therefore, price and weight conditions - # form contiguous intervals. - # - The last child of an element must have no condition and matches all elements - # not previously matched. - # - Children and calculation method are mutually exclusive, and exactly one of - # them must be defined; the root must only have children. - class AccountShippingShippingServiceCostRule - include Google::Apis::Core::Hashable - - # Shipping cost calculation method. Exactly one of the field is set. - # Corresponds to the JSON property `calculationMethod` - # @return [Google::Apis::ContentV2::AccountShippingShippingServiceCalculationMethod] - attr_accessor :calculation_method - - # Subsequent rules to be applied, only for inner nodes. The last child must not - # specify a condition and acts as a catch-all. - # Corresponds to the JSON property `children` - # @return [Array] - attr_accessor :children - - # Condition for this rule to be applicable. If no condition is specified, the - # rule acts as a catch-all. - # Corresponds to the JSON property `condition` - # @return [Google::Apis::ContentV2::AccountShippingCondition] - attr_accessor :condition - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @calculation_method = args[:calculation_method] if args.key?(:calculation_method) - @children = args[:children] if args.key?(:children) - @condition = args[:condition] if args.key?(:condition) - end - end - # The status of an account, i.e., information about its products, which is # computed offline and not returned immediately at insertion time. class AccountStatus @@ -775,7 +311,7 @@ module Google # The ID of the account to which these account tax settings belong. # Corresponds to the JSON property `accountId` - # @return [String] + # @return [Fixnum] attr_accessor :account_id # Identifies what kind of resource this is. Value: the fixed string "content# @@ -814,7 +350,7 @@ module Google # State (or province) is which the tax is applicable, described by its location # id (also called criteria id). # Corresponds to the JSON property `locationId` - # @return [String] + # @return [Fixnum] attr_accessor :location_id # Explicit tax rate in percent, represented as a floating point number without @@ -936,7 +472,7 @@ module Google # The ID of the account to get or delete. Only defined if the method is get or # delete. # Corresponds to the JSON property `accountId` - # @return [String] + # @return [Fixnum] attr_accessor :account_id # An entry ID, unique within the batch request. @@ -946,7 +482,7 @@ module Google # The ID of the managing account. # Corresponds to the JSON property `merchantId` - # @return [String] + # @return [Fixnum] attr_accessor :merchant_id # @@ -1064,164 +600,6 @@ module Google end end - # - class BatchAccountShippingRequest - include Google::Apis::Core::Hashable - - # The request entries to be processed in the batch. - # Corresponds to the JSON property `entries` - # @return [Array] - attr_accessor :entries - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @entries = args[:entries] if args.key?(:entries) - end - end - - # A batch entry encoding a single non-batch accountshipping request. - class AccountShippingBatchRequestEntry - include Google::Apis::Core::Hashable - - # The ID of the account for which to get/update account shipping settings. - # Corresponds to the JSON property `accountId` - # @return [String] - attr_accessor :account_id - - # The shipping settings of a merchant account. - # Corresponds to the JSON property `accountShipping` - # @return [Google::Apis::ContentV2::AccountShipping] - attr_accessor :account_shipping - - # An entry ID, unique within the batch request. - # Corresponds to the JSON property `batchId` - # @return [Fixnum] - attr_accessor :batch_id - - # The ID of the managing account. - # Corresponds to the JSON property `merchantId` - # @return [String] - attr_accessor :merchant_id - - # - # Corresponds to the JSON property `method` - # @return [String] - attr_accessor :request_method - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @account_id = args[:account_id] if args.key?(:account_id) - @account_shipping = args[:account_shipping] if args.key?(:account_shipping) - @batch_id = args[:batch_id] if args.key?(:batch_id) - @merchant_id = args[:merchant_id] if args.key?(:merchant_id) - @request_method = args[:request_method] if args.key?(:request_method) - end - end - - # - class BatchAccountShippingResponse - include Google::Apis::Core::Hashable - - # The result of the execution of the batch requests. - # Corresponds to the JSON property `entries` - # @return [Array] - attr_accessor :entries - - # Identifies what kind of resource this is. Value: the fixed string "content# - # accountshippingCustomBatchResponse". - # Corresponds to the JSON property `kind` - # @return [String] - attr_accessor :kind - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @entries = args[:entries] if args.key?(:entries) - @kind = args[:kind] if args.key?(:kind) - end - end - - # A batch entry encoding a single non-batch accountshipping response. - class AccountShippingBatchResponseEntry - include Google::Apis::Core::Hashable - - # The shipping settings of a merchant account. - # Corresponds to the JSON property `accountShipping` - # @return [Google::Apis::ContentV2::AccountShipping] - attr_accessor :account_shipping - - # The ID of the request entry this entry responds to. - # Corresponds to the JSON property `batchId` - # @return [Fixnum] - attr_accessor :batch_id - - # A list of errors returned by a failed batch entry. - # Corresponds to the JSON property `errors` - # @return [Google::Apis::ContentV2::Errors] - attr_accessor :errors - - # Identifies what kind of resource this is. Value: the fixed string "content# - # accountshippingCustomBatchResponseEntry". - # Corresponds to the JSON property `kind` - # @return [String] - attr_accessor :kind - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @account_shipping = args[:account_shipping] if args.key?(:account_shipping) - @batch_id = args[:batch_id] if args.key?(:batch_id) - @errors = args[:errors] if args.key?(:errors) - @kind = args[:kind] if args.key?(:kind) - end - end - - # - class ListAccountShippingResponse - include Google::Apis::Core::Hashable - - # Identifies what kind of resource this is. Value: the fixed string "content# - # accountshippingListResponse". - # Corresponds to the JSON property `kind` - # @return [String] - attr_accessor :kind - - # The token for the retrieval of the next page of account shipping settings. - # Corresponds to the JSON property `nextPageToken` - # @return [String] - attr_accessor :next_page_token - - # - # Corresponds to the JSON property `resources` - # @return [Array] - attr_accessor :resources - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @kind = args[:kind] if args.key?(:kind) - @next_page_token = args[:next_page_token] if args.key?(:next_page_token) - @resources = args[:resources] if args.key?(:resources) - end - end - # class BatchAccountStatusesRequest include Google::Apis::Core::Hashable @@ -1247,7 +625,7 @@ module Google # The ID of the (sub-)account whose status to get. # Corresponds to the JSON property `accountId` - # @return [String] + # @return [Fixnum] attr_accessor :account_id # An entry ID, unique within the batch request. @@ -1257,7 +635,7 @@ module Google # The ID of the managing account. # Corresponds to the JSON property `merchantId` - # @return [String] + # @return [Fixnum] attr_accessor :merchant_id # The method (get). @@ -1393,7 +771,7 @@ module Google # The ID of the account for which to get/update account tax settings. # Corresponds to the JSON property `accountId` - # @return [String] + # @return [Fixnum] attr_accessor :account_id # The tax settings of a merchant account. @@ -1408,7 +786,7 @@ module Google # The ID of the managing account. # Corresponds to the JSON property `merchantId` - # @return [String] + # @return [Fixnum] attr_accessor :merchant_id # @@ -1655,7 +1033,7 @@ module Google # The ID of the data feed. # Corresponds to the JSON property `id` - # @return [String] + # @return [Fixnum] attr_accessor :id # The list of intended destinations (corresponds to checked check boxes in @@ -1810,7 +1188,7 @@ module Google # The ID of the feed for which the status is reported. # Corresponds to the JSON property `datafeedId` - # @return [String] + # @return [Fixnum] attr_accessor :datafeed_id # The list of errors occurring in the feed. @@ -1820,12 +1198,12 @@ module Google # The number of items in the feed that were processed. # Corresponds to the JSON property `itemsTotal` - # @return [String] + # @return [Fixnum] attr_accessor :items_total # The number of items in the feed that were valid. # Corresponds to the JSON property `itemsValid` - # @return [String] + # @return [Fixnum] attr_accessor :items_valid # Identifies what kind of resource this is. Value: the fixed string "content# @@ -1877,7 +1255,7 @@ module Google # The number of occurrences of the error in the feed. # Corresponds to the JSON property `count` - # @return [String] + # @return [Fixnum] attr_accessor :count # A list of example occurrences of the error, grouped by product. @@ -1914,7 +1292,7 @@ module Google # Line number in the data feed where the example is found. # Corresponds to the JSON property `lineNumber` - # @return [String] + # @return [Fixnum] attr_accessor :line_number # The problematic value. @@ -1969,12 +1347,12 @@ module Google # The ID of the data feed to get or delete. # Corresponds to the JSON property `datafeedId` - # @return [String] + # @return [Fixnum] attr_accessor :datafeed_id # The ID of the managing account. # Corresponds to the JSON property `merchantId` - # @return [String] + # @return [Fixnum] attr_accessor :merchant_id # @@ -2115,12 +1493,12 @@ module Google # The ID of the data feed to get or delete. # Corresponds to the JSON property `datafeedId` - # @return [String] + # @return [Fixnum] attr_accessor :datafeed_id # The ID of the managing account. # Corresponds to the JSON property `merchantId` - # @return [String] + # @return [Fixnum] attr_accessor :merchant_id # @@ -2389,7 +1767,7 @@ module Google # The number of installments the buyer has to pay. # Corresponds to the JSON property `months` - # @return [String] + # @return [Fixnum] attr_accessor :months def initialize(**args) @@ -2519,7 +1897,7 @@ module Google # The ID of the managing account. # Corresponds to the JSON property `merchantId` - # @return [String] + # @return [Fixnum] attr_accessor :merchant_id # The ID of the product for which to update price and availability. @@ -2761,7 +2139,7 @@ module Google # The retailer's loyalty points in absolute value. # Corresponds to the JSON property `pointsValue` - # @return [String] + # @return [Fixnum] attr_accessor :points_value # The ratio of a point when converted to currency. Google assumes currency based @@ -2825,7 +2203,7 @@ module Google # # Corresponds to the JSON property `merchantId` - # @return [String] + # @return [Fixnum] attr_accessor :merchant_id # Merchant-provided id of the order. @@ -4038,7 +3416,7 @@ module Google # The ID of the managing account. # Corresponds to the JSON property `merchantId` - # @return [String] + # @return [Fixnum] attr_accessor :merchant_id # The merchant order id. Required for updateMerchantOrderId and @@ -5135,7 +4513,7 @@ module Google # The number of identical products in a merchant-defined multipack. # Corresponds to the JSON property `multipack` - # @return [String] + # @return [Fixnum] attr_accessor :multipack # An identifier of the item. Leading and trailing whitespaces are stripped and @@ -5184,7 +4562,7 @@ module Google # The quantity of the product that is reserved for sell-on-google ads. # Corresponds to the JSON property `sellOnGoogleQuantity` - # @return [String] + # @return [Fixnum] attr_accessor :sell_on_google_quantity # Shipping rules. @@ -5487,7 +4865,7 @@ module Google # The numeric id of a location that the shipping rate applies to as defined in # the AdWords API. # Corresponds to the JSON property `locationId` - # @return [String] + # @return [Fixnum] attr_accessor :location_id # The postal code range that the shipping rate applies to, represented by a @@ -5755,7 +5133,7 @@ module Google # The numeric id of a location that the tax rate applies to as defined in the # AdWords API. # Corresponds to the JSON property `locationId` - # @return [String] + # @return [Fixnum] attr_accessor :location_id # The postal code range that the tax rate applies to, represented by a ZIP code, @@ -5807,7 +5185,7 @@ module Google # The denominator of the unit price. # Corresponds to the JSON property `value` - # @return [String] + # @return [Fixnum] attr_accessor :value def initialize(**args) @@ -5876,7 +5254,7 @@ module Google # The ID of the managing account. # Corresponds to the JSON property `merchantId` - # @return [String] + # @return [Fixnum] attr_accessor :merchant_id # @@ -6035,7 +5413,7 @@ module Google # The ID of the managing account. # Corresponds to the JSON property `merchantId` - # @return [String] + # @return [Fixnum] attr_accessor :merchant_id # @@ -6290,7 +5668,7 @@ module Google # The ID of the account to which these account shipping settings belong. Ignored # upon update, always present in get request responses. # Corresponds to the JSON property `accountId` - # @return [String] + # @return [Fixnum] attr_accessor :account_id # A list of postal code groups that can be referred to in services. Optional. @@ -6334,13 +5712,13 @@ module Google end end - # A batch entry encoding a single non-batch accountshipping request. + # A batch entry encoding a single non-batch shippingsettings request. class ShippingsettingsCustomBatchRequestEntry include Google::Apis::Core::Hashable # The ID of the account for which to get/update account shipping settings. # Corresponds to the JSON property `accountId` - # @return [String] + # @return [Fixnum] attr_accessor :account_id # An entry ID, unique within the batch request. @@ -6350,7 +5728,7 @@ module Google # The ID of the managing account. # Corresponds to the JSON property `merchantId` - # @return [String] + # @return [Fixnum] attr_accessor :merchant_id # diff --git a/generated/google/apis/content_v2/representations.rb b/generated/google/apis/content_v2/representations.rb index 59c2e0cbf..782c11247 100644 --- a/generated/google/apis/content_v2/representations.rb +++ b/generated/google/apis/content_v2/representations.rb @@ -40,66 +40,6 @@ module Google include Google::Apis::Core::JsonObjectSupport end - class AccountShipping - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class AccountShippingCarrierRate - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class AccountShippingCondition - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class AccountShippingLocationGroup - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class AccountShippingPostalCodeRange - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class AccountShippingRateTable - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class AccountShippingRateTableCell - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class AccountShippingShippingService - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class AccountShippingShippingServiceCalculationMethod - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class AccountShippingShippingServiceCostRule - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - class AccountStatus class Representation < Google::Apis::Core::JsonRepresentation; end @@ -172,36 +112,6 @@ module Google include Google::Apis::Core::JsonObjectSupport end - class BatchAccountShippingRequest - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class AccountShippingBatchRequestEntry - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class BatchAccountShippingResponse - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class AccountShippingBatchResponseEntry - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class ListAccountShippingResponse - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - class BatchAccountStatusesRequest class Representation < Google::Apis::Core::JsonRepresentation; end @@ -1036,7 +946,7 @@ module Google property :adult_content, as: 'adultContent' collection :adwords_links, as: 'adwordsLinks', class: Google::Apis::ContentV2::AccountAdwordsLink, decorator: Google::Apis::ContentV2::AccountAdwordsLink::Representation - property :id, as: 'id' + property :id, :numeric_string => true, as: 'id' property :kind, as: 'kind' property :name, as: 'name' property :reviews_url, as: 'reviewsUrl' @@ -1050,7 +960,7 @@ module Google class AccountAdwordsLink # @private class Representation < Google::Apis::Core::JsonRepresentation - property :adwords_id, as: 'adwordsId' + property :adwords_id, :numeric_string => true, as: 'adwordsId' property :status, as: 'status' end end @@ -1058,133 +968,8 @@ module Google class AccountIdentifier # @private class Representation < Google::Apis::Core::JsonRepresentation - property :aggregator_id, as: 'aggregatorId' - property :merchant_id, as: 'merchantId' - end - end - - class AccountShipping - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :account_id, as: 'accountId' - collection :carrier_rates, as: 'carrierRates', class: Google::Apis::ContentV2::AccountShippingCarrierRate, decorator: Google::Apis::ContentV2::AccountShippingCarrierRate::Representation - - property :kind, as: 'kind' - collection :location_groups, as: 'locationGroups', class: Google::Apis::ContentV2::AccountShippingLocationGroup, decorator: Google::Apis::ContentV2::AccountShippingLocationGroup::Representation - - collection :rate_tables, as: 'rateTables', class: Google::Apis::ContentV2::AccountShippingRateTable, decorator: Google::Apis::ContentV2::AccountShippingRateTable::Representation - - collection :services, as: 'services', class: Google::Apis::ContentV2::AccountShippingShippingService, decorator: Google::Apis::ContentV2::AccountShippingShippingService::Representation - - end - end - - class AccountShippingCarrierRate - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :carrier, as: 'carrier' - property :carrier_service, as: 'carrierService' - property :modifier_flat_rate, as: 'modifierFlatRate', class: Google::Apis::ContentV2::Price, decorator: Google::Apis::ContentV2::Price::Representation - - property :modifier_percent, as: 'modifierPercent' - property :name, as: 'name' - property :sale_country, as: 'saleCountry' - property :shipping_origin, as: 'shippingOrigin' - end - end - - class AccountShippingCondition - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :delivery_location_group, as: 'deliveryLocationGroup' - property :delivery_location_id, as: 'deliveryLocationId' - property :delivery_postal_code, as: 'deliveryPostalCode' - property :delivery_postal_code_range, as: 'deliveryPostalCodeRange', class: Google::Apis::ContentV2::AccountShippingPostalCodeRange, decorator: Google::Apis::ContentV2::AccountShippingPostalCodeRange::Representation - - property :price_max, as: 'priceMax', class: Google::Apis::ContentV2::Price, decorator: Google::Apis::ContentV2::Price::Representation - - property :shipping_label, as: 'shippingLabel' - property :weight_max, as: 'weightMax', class: Google::Apis::ContentV2::Weight, decorator: Google::Apis::ContentV2::Weight::Representation - - end - end - - class AccountShippingLocationGroup - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :country, as: 'country' - collection :location_ids, as: 'locationIds' - property :name, as: 'name' - collection :postal_code_ranges, as: 'postalCodeRanges', class: Google::Apis::ContentV2::AccountShippingPostalCodeRange, decorator: Google::Apis::ContentV2::AccountShippingPostalCodeRange::Representation - - collection :postal_codes, as: 'postalCodes' - end - end - - class AccountShippingPostalCodeRange - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :end, as: 'end' - property :start, as: 'start' - end - end - - class AccountShippingRateTable - # @private - class Representation < Google::Apis::Core::JsonRepresentation - collection :content, as: 'content', class: Google::Apis::ContentV2::AccountShippingRateTableCell, decorator: Google::Apis::ContentV2::AccountShippingRateTableCell::Representation - - property :name, as: 'name' - property :sale_country, as: 'saleCountry' - end - end - - class AccountShippingRateTableCell - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :condition, as: 'condition', class: Google::Apis::ContentV2::AccountShippingCondition, decorator: Google::Apis::ContentV2::AccountShippingCondition::Representation - - property :rate, as: 'rate', class: Google::Apis::ContentV2::Price, decorator: Google::Apis::ContentV2::Price::Representation - - end - end - - class AccountShippingShippingService - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :active, as: 'active' - property :calculation_method, as: 'calculationMethod', class: Google::Apis::ContentV2::AccountShippingShippingServiceCalculationMethod, decorator: Google::Apis::ContentV2::AccountShippingShippingServiceCalculationMethod::Representation - - property :cost_rule_tree, as: 'costRuleTree', class: Google::Apis::ContentV2::AccountShippingShippingServiceCostRule, decorator: Google::Apis::ContentV2::AccountShippingShippingServiceCostRule::Representation - - property :max_days_in_transit, as: 'maxDaysInTransit' - property :min_days_in_transit, as: 'minDaysInTransit' - property :name, as: 'name' - property :sale_country, as: 'saleCountry' - end - end - - class AccountShippingShippingServiceCalculationMethod - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :carrier_rate, as: 'carrierRate' - property :excluded, as: 'excluded' - property :flat_rate, as: 'flatRate', class: Google::Apis::ContentV2::Price, decorator: Google::Apis::ContentV2::Price::Representation - - property :percentage_rate, as: 'percentageRate' - property :rate_table, as: 'rateTable' - end - end - - class AccountShippingShippingServiceCostRule - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :calculation_method, as: 'calculationMethod', class: Google::Apis::ContentV2::AccountShippingShippingServiceCalculationMethod, decorator: Google::Apis::ContentV2::AccountShippingShippingServiceCalculationMethod::Representation - - collection :children, as: 'children', class: Google::Apis::ContentV2::AccountShippingShippingServiceCostRule, decorator: Google::Apis::ContentV2::AccountShippingShippingServiceCostRule::Representation - - property :condition, as: 'condition', class: Google::Apis::ContentV2::AccountShippingCondition, decorator: Google::Apis::ContentV2::AccountShippingCondition::Representation - + property :aggregator_id, :numeric_string => true, as: 'aggregatorId' + property :merchant_id, :numeric_string => true, as: 'merchantId' end end @@ -1229,7 +1014,7 @@ module Google class AccountTax # @private class Representation < Google::Apis::Core::JsonRepresentation - property :account_id, as: 'accountId' + property :account_id, :numeric_string => true, as: 'accountId' property :kind, as: 'kind' collection :rules, as: 'rules', class: Google::Apis::ContentV2::AccountTaxTaxRule, decorator: Google::Apis::ContentV2::AccountTaxTaxRule::Representation @@ -1240,7 +1025,7 @@ module Google # @private class Representation < Google::Apis::Core::JsonRepresentation property :country, as: 'country' - property :location_id, as: 'locationId' + property :location_id, :numeric_string => true, as: 'locationId' property :rate_percent, as: 'ratePercent' property :shipping_taxed, as: 'shippingTaxed' property :use_global_rate, as: 'useGlobalRate' @@ -1277,9 +1062,9 @@ module Google class Representation < Google::Apis::Core::JsonRepresentation property :account, as: 'account', class: Google::Apis::ContentV2::Account, decorator: Google::Apis::ContentV2::Account::Representation - property :account_id, as: 'accountId' + property :account_id, :numeric_string => true, as: 'accountId' property :batch_id, as: 'batchId' - property :merchant_id, as: 'merchantId' + property :merchant_id, :numeric_string => true, as: 'merchantId' property :request_method, as: 'method' end end @@ -1315,57 +1100,6 @@ module Google end end - class BatchAccountShippingRequest - # @private - class Representation < Google::Apis::Core::JsonRepresentation - collection :entries, as: 'entries', class: Google::Apis::ContentV2::AccountShippingBatchRequestEntry, decorator: Google::Apis::ContentV2::AccountShippingBatchRequestEntry::Representation - - end - end - - class AccountShippingBatchRequestEntry - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :account_id, as: 'accountId' - property :account_shipping, as: 'accountShipping', class: Google::Apis::ContentV2::AccountShipping, decorator: Google::Apis::ContentV2::AccountShipping::Representation - - property :batch_id, as: 'batchId' - property :merchant_id, as: 'merchantId' - property :request_method, as: 'method' - end - end - - class BatchAccountShippingResponse - # @private - class Representation < Google::Apis::Core::JsonRepresentation - collection :entries, as: 'entries', class: Google::Apis::ContentV2::AccountShippingBatchResponseEntry, decorator: Google::Apis::ContentV2::AccountShippingBatchResponseEntry::Representation - - property :kind, as: 'kind' - end - end - - class AccountShippingBatchResponseEntry - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :account_shipping, as: 'accountShipping', class: Google::Apis::ContentV2::AccountShipping, decorator: Google::Apis::ContentV2::AccountShipping::Representation - - property :batch_id, as: 'batchId' - property :errors, as: 'errors', class: Google::Apis::ContentV2::Errors, decorator: Google::Apis::ContentV2::Errors::Representation - - property :kind, as: 'kind' - end - end - - class ListAccountShippingResponse - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :kind, as: 'kind' - property :next_page_token, as: 'nextPageToken' - collection :resources, as: 'resources', class: Google::Apis::ContentV2::AccountShipping, decorator: Google::Apis::ContentV2::AccountShipping::Representation - - end - end - class BatchAccountStatusesRequest # @private class Representation < Google::Apis::Core::JsonRepresentation @@ -1377,9 +1111,9 @@ module Google class AccountStatusesBatchRequestEntry # @private class Representation < Google::Apis::Core::JsonRepresentation - property :account_id, as: 'accountId' + property :account_id, :numeric_string => true, as: 'accountId' property :batch_id, as: 'batchId' - property :merchant_id, as: 'merchantId' + property :merchant_id, :numeric_string => true, as: 'merchantId' property :request_method, as: 'method' end end @@ -1425,11 +1159,11 @@ module Google class AccountTaxBatchRequestEntry # @private class Representation < Google::Apis::Core::JsonRepresentation - property :account_id, as: 'accountId' + property :account_id, :numeric_string => true, as: 'accountId' property :account_tax, as: 'accountTax', class: Google::Apis::ContentV2::AccountTax, decorator: Google::Apis::ContentV2::AccountTax::Representation property :batch_id, as: 'batchId' - property :merchant_id, as: 'merchantId' + property :merchant_id, :numeric_string => true, as: 'merchantId' property :request_method, as: 'method' end end @@ -1498,7 +1232,7 @@ module Google property :file_name, as: 'fileName' property :format, as: 'format', class: Google::Apis::ContentV2::DatafeedFormat, decorator: Google::Apis::ContentV2::DatafeedFormat::Representation - property :id, as: 'id' + property :id, :numeric_string => true, as: 'id' collection :intended_destinations, as: 'intendedDestinations' property :kind, as: 'kind' property :name, as: 'name' @@ -1532,11 +1266,11 @@ module Google class DatafeedStatus # @private class Representation < Google::Apis::Core::JsonRepresentation - property :datafeed_id, as: 'datafeedId' + property :datafeed_id, :numeric_string => true, as: 'datafeedId' collection :errors, as: 'errors', class: Google::Apis::ContentV2::DatafeedStatusError, decorator: Google::Apis::ContentV2::DatafeedStatusError::Representation - property :items_total, as: 'itemsTotal' - property :items_valid, as: 'itemsValid' + property :items_total, :numeric_string => true, as: 'itemsTotal' + property :items_valid, :numeric_string => true, as: 'itemsValid' property :kind, as: 'kind' property :last_upload_date, as: 'lastUploadDate' property :processing_status, as: 'processingStatus' @@ -1549,7 +1283,7 @@ module Google # @private class Representation < Google::Apis::Core::JsonRepresentation property :code, as: 'code' - property :count, as: 'count' + property :count, :numeric_string => true, as: 'count' collection :examples, as: 'examples', class: Google::Apis::ContentV2::DatafeedStatusExample, decorator: Google::Apis::ContentV2::DatafeedStatusExample::Representation property :message, as: 'message' @@ -1560,7 +1294,7 @@ module Google # @private class Representation < Google::Apis::Core::JsonRepresentation property :item_id, as: 'itemId' - property :line_number, as: 'lineNumber' + property :line_number, :numeric_string => true, as: 'lineNumber' property :value, as: 'value' end end @@ -1579,8 +1313,8 @@ module Google property :batch_id, as: 'batchId' property :datafeed, as: 'datafeed', class: Google::Apis::ContentV2::Datafeed, decorator: Google::Apis::ContentV2::Datafeed::Representation - property :datafeed_id, as: 'datafeedId' - property :merchant_id, as: 'merchantId' + property :datafeed_id, :numeric_string => true, as: 'datafeedId' + property :merchant_id, :numeric_string => true, as: 'merchantId' property :request_method, as: 'method' end end @@ -1627,8 +1361,8 @@ module Google # @private class Representation < Google::Apis::Core::JsonRepresentation property :batch_id, as: 'batchId' - property :datafeed_id, as: 'datafeedId' - property :merchant_id, as: 'merchantId' + property :datafeed_id, :numeric_string => true, as: 'datafeedId' + property :merchant_id, :numeric_string => true, as: 'merchantId' property :request_method, as: 'method' end end @@ -1709,7 +1443,7 @@ module Google class Representation < Google::Apis::Core::JsonRepresentation property :amount, as: 'amount', class: Google::Apis::ContentV2::Price, decorator: Google::Apis::ContentV2::Price::Representation - property :months, as: 'months' + property :months, :numeric_string => true, as: 'months' end end @@ -1748,7 +1482,7 @@ module Google property :batch_id, as: 'batchId' property :inventory, as: 'inventory', class: Google::Apis::ContentV2::Inventory, decorator: Google::Apis::ContentV2::Inventory::Representation - property :merchant_id, as: 'merchantId' + property :merchant_id, :numeric_string => true, as: 'merchantId' property :product_id, as: 'productId' property :store_code, as: 'storeCode' end @@ -1819,7 +1553,7 @@ module Google # @private class Representation < Google::Apis::Core::JsonRepresentation property :name, as: 'name' - property :points_value, as: 'pointsValue' + property :points_value, :numeric_string => true, as: 'pointsValue' property :ratio, as: 'ratio' end end @@ -1837,7 +1571,7 @@ module Google property :kind, as: 'kind' collection :line_items, as: 'lineItems', class: Google::Apis::ContentV2::OrderLineItem, decorator: Google::Apis::ContentV2::OrderLineItem::Representation - property :merchant_id, as: 'merchantId' + property :merchant_id, :numeric_string => true, as: 'merchantId' property :merchant_order_id, as: 'merchantOrderId' property :net_amount, as: 'netAmount', class: Google::Apis::ContentV2::Price, decorator: Google::Apis::ContentV2::Price::Representation @@ -2168,7 +1902,7 @@ module Google property :cancel_line_item, as: 'cancelLineItem', class: Google::Apis::ContentV2::OrdersCustomBatchRequestEntryCancelLineItem, decorator: Google::Apis::ContentV2::OrdersCustomBatchRequestEntryCancelLineItem::Representation - property :merchant_id, as: 'merchantId' + property :merchant_id, :numeric_string => true, as: 'merchantId' property :merchant_order_id, as: 'merchantOrderId' property :method_prop, as: 'method' property :operation_id, as: 'operationId' @@ -2469,7 +2203,7 @@ module Google property :material, as: 'material' property :mobile_link, as: 'mobileLink' property :mpn, as: 'mpn' - property :multipack, as: 'multipack' + property :multipack, :numeric_string => true, as: 'multipack' property :offer_id, as: 'offerId' property :online_only, as: 'onlineOnly' property :pattern, as: 'pattern' @@ -2480,7 +2214,7 @@ module Google property :sale_price, as: 'salePrice', class: Google::Apis::ContentV2::Price, decorator: Google::Apis::ContentV2::Price::Representation property :sale_price_effective_date, as: 'salePriceEffectiveDate' - property :sell_on_google_quantity, as: 'sellOnGoogleQuantity' + property :sell_on_google_quantity, :numeric_string => true, as: 'sellOnGoogleQuantity' collection :shipping, as: 'shipping', class: Google::Apis::ContentV2::ProductShipping, decorator: Google::Apis::ContentV2::ProductShipping::Representation property :shipping_height, as: 'shippingHeight', class: Google::Apis::ContentV2::ProductShippingDimension, decorator: Google::Apis::ContentV2::ProductShippingDimension::Representation @@ -2550,7 +2284,7 @@ module Google class Representation < Google::Apis::Core::JsonRepresentation property :country, as: 'country' property :location_group_name, as: 'locationGroupName' - property :location_id, as: 'locationId' + property :location_id, :numeric_string => true, as: 'locationId' property :postal_code, as: 'postalCode' property :price, as: 'price', class: Google::Apis::ContentV2::Price, decorator: Google::Apis::ContentV2::Price::Representation @@ -2619,7 +2353,7 @@ module Google # @private class Representation < Google::Apis::Core::JsonRepresentation property :country, as: 'country' - property :location_id, as: 'locationId' + property :location_id, :numeric_string => true, as: 'locationId' property :postal_code, as: 'postalCode' property :rate, as: 'rate' property :region, as: 'region' @@ -2631,7 +2365,7 @@ module Google # @private class Representation < Google::Apis::Core::JsonRepresentation property :unit, as: 'unit' - property :value, as: 'value' + property :value, :numeric_string => true, as: 'value' end end @@ -2655,7 +2389,7 @@ module Google # @private class Representation < Google::Apis::Core::JsonRepresentation property :batch_id, as: 'batchId' - property :merchant_id, as: 'merchantId' + property :merchant_id, :numeric_string => true, as: 'merchantId' property :request_method, as: 'method' property :product, as: 'product', class: Google::Apis::ContentV2::Product, decorator: Google::Apis::ContentV2::Product::Representation @@ -2706,7 +2440,7 @@ module Google # @private class Representation < Google::Apis::Core::JsonRepresentation property :batch_id, as: 'batchId' - property :merchant_id, as: 'merchantId' + property :merchant_id, :numeric_string => true, as: 'merchantId' property :request_method, as: 'method' property :product_id, as: 'productId' end @@ -2783,7 +2517,7 @@ module Google class ShippingSettings # @private class Representation < Google::Apis::Core::JsonRepresentation - property :account_id, as: 'accountId' + property :account_id, :numeric_string => true, as: 'accountId' collection :postal_code_groups, as: 'postalCodeGroups', class: Google::Apis::ContentV2::PostalCodeGroup, decorator: Google::Apis::ContentV2::PostalCodeGroup::Representation collection :services, as: 'services', class: Google::Apis::ContentV2::Service, decorator: Google::Apis::ContentV2::Service::Representation @@ -2802,9 +2536,9 @@ module Google class ShippingsettingsCustomBatchRequestEntry # @private class Representation < Google::Apis::Core::JsonRepresentation - property :account_id, as: 'accountId' + property :account_id, :numeric_string => true, as: 'accountId' property :batch_id, as: 'batchId' - property :merchant_id, as: 'merchantId' + property :merchant_id, :numeric_string => true, as: 'merchantId' property :method_prop, as: 'method' property :shipping_settings, as: 'shippingSettings', class: Google::Apis::ContentV2::ShippingSettings, decorator: Google::Apis::ContentV2::ShippingSettings::Representation diff --git a/generated/google/apis/content_v2/service.rb b/generated/google/apis/content_v2/service.rb index d452ef113..6b2d9946f 100644 --- a/generated/google/apis/content_v2/service.rb +++ b/generated/google/apis/content_v2/service.rb @@ -51,6 +51,7 @@ module Google def initialize super('https://www.googleapis.com/', 'content/v2/') + @batch_path = 'batch' end # Returns information about the authenticated user. @@ -126,9 +127,9 @@ module Google # Deletes a Merchant Center sub-account. This method can only be called for # multi-client accounts. - # @param [String] merchant_id + # @param [Fixnum] merchant_id # The ID of the managing account. - # @param [String] account_id + # @param [Fixnum] account_id # The ID of the account. # @param [Boolean] dry_run # Flag to run the request in dry-run mode. @@ -167,9 +168,9 @@ module Google # Retrieves a Merchant Center account. This method can only be called for # accounts to which the managing account has access: either the managing account # itself or sub-accounts if the managing account is a multi-client account. - # @param [String] merchant_id + # @param [Fixnum] merchant_id # The ID of the managing account. - # @param [String] account_id + # @param [Fixnum] account_id # The ID of the account. # @param [String] fields # Selector specifying which fields to include in a partial response. @@ -206,7 +207,7 @@ module Google # Creates a Merchant Center sub-account. This method can only be called for # multi-client accounts. - # @param [String] merchant_id + # @param [Fixnum] merchant_id # The ID of the managing account. # @param [Google::Apis::ContentV2::Account] account_object # @param [Boolean] dry_run @@ -248,7 +249,7 @@ module Google # Lists the sub-accounts in your Merchant Center account. This method can only # be called for multi-client accounts. - # @param [String] merchant_id + # @param [Fixnum] merchant_id # The ID of the managing account. # @param [Fixnum] max_results # The maximum number of accounts to return in the response, used for paging. @@ -292,9 +293,9 @@ module Google # to which the managing account has access: either the managing account itself # or sub-accounts if the managing account is a multi-client account. This method # supports patch semantics. - # @param [String] merchant_id + # @param [Fixnum] merchant_id # The ID of the managing account. - # @param [String] account_id + # @param [Fixnum] account_id # The ID of the account. # @param [Google::Apis::ContentV2::Account] account_object # @param [Boolean] dry_run @@ -338,9 +339,9 @@ module Google # Updates a Merchant Center account. This method can only be called for accounts # to which the managing account has access: either the managing account itself # or sub-accounts if the managing account is a multi-client account. - # @param [String] merchant_id + # @param [Fixnum] merchant_id # The ID of the managing account. - # @param [String] account_id + # @param [Fixnum] account_id # The ID of the account. # @param [Google::Apis::ContentV2::Account] account_object # @param [Boolean] dry_run @@ -381,223 +382,6 @@ module Google execute_or_queue_command(command, &block) end - # Retrieves and updates the shipping settings of multiple accounts in a single - # request. - # @param [Google::Apis::ContentV2::BatchAccountShippingRequest] batch_account_shipping_request_object - # @param [Boolean] dry_run - # Flag to run the request in dry-run mode. - # @param [String] fields - # Selector specifying which fields to include in a partial response. - # @param [String] quota_user - # Available to use for quota purposes for server-side applications. Can be any - # arbitrary string assigned to a user, but should not exceed 40 characters. - # Overrides userIp if both are provided. - # @param [String] user_ip - # IP address of the site where the request originates. Use this if you want to - # enforce per-user limits. - # @param [Google::Apis::RequestOptions] options - # Request-specific options - # - # @yield [result, err] Result & error if block supplied - # @yieldparam result [Google::Apis::ContentV2::BatchAccountShippingResponse] parsed result object - # @yieldparam err [StandardError] error object if request failed - # - # @return [Google::Apis::ContentV2::BatchAccountShippingResponse] - # - # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried - # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification - # @raise [Google::Apis::AuthorizationError] Authorization is required - def batch_account_shipping(batch_account_shipping_request_object = nil, dry_run: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, 'accountshipping/batch', options) - command.request_representation = Google::Apis::ContentV2::BatchAccountShippingRequest::Representation - command.request_object = batch_account_shipping_request_object - command.response_representation = Google::Apis::ContentV2::BatchAccountShippingResponse::Representation - command.response_class = Google::Apis::ContentV2::BatchAccountShippingResponse - command.query['dryRun'] = dry_run unless dry_run.nil? - command.query['fields'] = fields unless fields.nil? - command.query['quotaUser'] = quota_user unless quota_user.nil? - command.query['userIp'] = user_ip unless user_ip.nil? - execute_or_queue_command(command, &block) - end - - # Retrieves the shipping settings of the account. This method can only be called - # for accounts to which the managing account has access: either the managing - # account itself or sub-accounts if the managing account is a multi-client - # account. - # @param [String] merchant_id - # The ID of the managing account. - # @param [String] account_id - # The ID of the account for which to get/update account shipping settings. - # @param [String] fields - # Selector specifying which fields to include in a partial response. - # @param [String] quota_user - # Available to use for quota purposes for server-side applications. Can be any - # arbitrary string assigned to a user, but should not exceed 40 characters. - # Overrides userIp if both are provided. - # @param [String] user_ip - # IP address of the site where the request originates. Use this if you want to - # enforce per-user limits. - # @param [Google::Apis::RequestOptions] options - # Request-specific options - # - # @yield [result, err] Result & error if block supplied - # @yieldparam result [Google::Apis::ContentV2::AccountShipping] parsed result object - # @yieldparam err [StandardError] error object if request failed - # - # @return [Google::Apis::ContentV2::AccountShipping] - # - # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried - # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification - # @raise [Google::Apis::AuthorizationError] Authorization is required - def get_account_shipping(merchant_id, account_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:get, '{merchantId}/accountshipping/{accountId}', options) - command.response_representation = Google::Apis::ContentV2::AccountShipping::Representation - command.response_class = Google::Apis::ContentV2::AccountShipping - command.params['merchantId'] = merchant_id unless merchant_id.nil? - command.params['accountId'] = account_id unless account_id.nil? - command.query['fields'] = fields unless fields.nil? - command.query['quotaUser'] = quota_user unless quota_user.nil? - command.query['userIp'] = user_ip unless user_ip.nil? - execute_or_queue_command(command, &block) - end - - # Lists the shipping settings of the sub-accounts in your Merchant Center - # account. This method can only be called for multi-client accounts. - # @param [String] merchant_id - # The ID of the managing account. - # @param [Fixnum] max_results - # The maximum number of shipping settings to return in the response, used for - # paging. - # @param [String] page_token - # The token returned by the previous request. - # @param [String] fields - # Selector specifying which fields to include in a partial response. - # @param [String] quota_user - # Available to use for quota purposes for server-side applications. Can be any - # arbitrary string assigned to a user, but should not exceed 40 characters. - # Overrides userIp if both are provided. - # @param [String] user_ip - # IP address of the site where the request originates. Use this if you want to - # enforce per-user limits. - # @param [Google::Apis::RequestOptions] options - # Request-specific options - # - # @yield [result, err] Result & error if block supplied - # @yieldparam result [Google::Apis::ContentV2::ListAccountShippingResponse] parsed result object - # @yieldparam err [StandardError] error object if request failed - # - # @return [Google::Apis::ContentV2::ListAccountShippingResponse] - # - # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried - # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification - # @raise [Google::Apis::AuthorizationError] Authorization is required - def list_account_shippings(merchant_id, max_results: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:get, '{merchantId}/accountshipping', options) - command.response_representation = Google::Apis::ContentV2::ListAccountShippingResponse::Representation - command.response_class = Google::Apis::ContentV2::ListAccountShippingResponse - command.params['merchantId'] = merchant_id unless merchant_id.nil? - command.query['maxResults'] = max_results unless max_results.nil? - command.query['pageToken'] = page_token unless page_token.nil? - command.query['fields'] = fields unless fields.nil? - command.query['quotaUser'] = quota_user unless quota_user.nil? - command.query['userIp'] = user_ip unless user_ip.nil? - execute_or_queue_command(command, &block) - end - - # Updates the shipping settings of the account. This method can only be called - # for accounts to which the managing account has access: either the managing - # account itself or sub-accounts if the managing account is a multi-client - # account. This method supports patch semantics. - # @param [String] merchant_id - # The ID of the managing account. - # @param [String] account_id - # The ID of the account for which to get/update account shipping settings. - # @param [Google::Apis::ContentV2::AccountShipping] account_shipping_object - # @param [Boolean] dry_run - # Flag to run the request in dry-run mode. - # @param [String] fields - # Selector specifying which fields to include in a partial response. - # @param [String] quota_user - # Available to use for quota purposes for server-side applications. Can be any - # arbitrary string assigned to a user, but should not exceed 40 characters. - # Overrides userIp if both are provided. - # @param [String] user_ip - # IP address of the site where the request originates. Use this if you want to - # enforce per-user limits. - # @param [Google::Apis::RequestOptions] options - # Request-specific options - # - # @yield [result, err] Result & error if block supplied - # @yieldparam result [Google::Apis::ContentV2::AccountShipping] parsed result object - # @yieldparam err [StandardError] error object if request failed - # - # @return [Google::Apis::ContentV2::AccountShipping] - # - # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried - # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification - # @raise [Google::Apis::AuthorizationError] Authorization is required - def patch_account_shipping(merchant_id, account_id, account_shipping_object = nil, dry_run: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:patch, '{merchantId}/accountshipping/{accountId}', options) - command.request_representation = Google::Apis::ContentV2::AccountShipping::Representation - command.request_object = account_shipping_object - command.response_representation = Google::Apis::ContentV2::AccountShipping::Representation - command.response_class = Google::Apis::ContentV2::AccountShipping - command.params['merchantId'] = merchant_id unless merchant_id.nil? - command.params['accountId'] = account_id unless account_id.nil? - command.query['dryRun'] = dry_run unless dry_run.nil? - command.query['fields'] = fields unless fields.nil? - command.query['quotaUser'] = quota_user unless quota_user.nil? - command.query['userIp'] = user_ip unless user_ip.nil? - execute_or_queue_command(command, &block) - end - - # Updates the shipping settings of the account. This method can only be called - # for accounts to which the managing account has access: either the managing - # account itself or sub-accounts if the managing account is a multi-client - # account. - # @param [String] merchant_id - # The ID of the managing account. - # @param [String] account_id - # The ID of the account for which to get/update account shipping settings. - # @param [Google::Apis::ContentV2::AccountShipping] account_shipping_object - # @param [Boolean] dry_run - # Flag to run the request in dry-run mode. - # @param [String] fields - # Selector specifying which fields to include in a partial response. - # @param [String] quota_user - # Available to use for quota purposes for server-side applications. Can be any - # arbitrary string assigned to a user, but should not exceed 40 characters. - # Overrides userIp if both are provided. - # @param [String] user_ip - # IP address of the site where the request originates. Use this if you want to - # enforce per-user limits. - # @param [Google::Apis::RequestOptions] options - # Request-specific options - # - # @yield [result, err] Result & error if block supplied - # @yieldparam result [Google::Apis::ContentV2::AccountShipping] parsed result object - # @yieldparam err [StandardError] error object if request failed - # - # @return [Google::Apis::ContentV2::AccountShipping] - # - # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried - # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification - # @raise [Google::Apis::AuthorizationError] Authorization is required - def update_account_shipping(merchant_id, account_id, account_shipping_object = nil, dry_run: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:put, '{merchantId}/accountshipping/{accountId}', options) - command.request_representation = Google::Apis::ContentV2::AccountShipping::Representation - command.request_object = account_shipping_object - command.response_representation = Google::Apis::ContentV2::AccountShipping::Representation - command.response_class = Google::Apis::ContentV2::AccountShipping - command.params['merchantId'] = merchant_id unless merchant_id.nil? - command.params['accountId'] = account_id unless account_id.nil? - command.query['dryRun'] = dry_run unless dry_run.nil? - command.query['fields'] = fields unless fields.nil? - command.query['quotaUser'] = quota_user unless quota_user.nil? - command.query['userIp'] = user_ip unless user_ip.nil? - execute_or_queue_command(command, &block) - end - # # @param [Google::Apis::ContentV2::BatchAccountStatusesRequest] batch_account_statuses_request_object # @param [String] fields @@ -637,9 +421,9 @@ module Google # called for accounts to which the managing account has access: either the # managing account itself or sub-accounts if the managing account is a multi- # client account. - # @param [String] merchant_id + # @param [Fixnum] merchant_id # The ID of the managing account. - # @param [String] account_id + # @param [Fixnum] account_id # The ID of the account. # @param [String] fields # Selector specifying which fields to include in a partial response. @@ -676,7 +460,7 @@ module Google # Lists the statuses of the sub-accounts in your Merchant Center account. This # method can only be called for multi-client accounts. - # @param [String] merchant_id + # @param [Fixnum] merchant_id # The ID of the managing account. # @param [Fixnum] max_results # The maximum number of account statuses to return in the response, used for @@ -758,9 +542,9 @@ module Google # Retrieves the tax settings of the account. This method can only be called for # accounts to which the managing account has access: either the managing account # itself or sub-accounts if the managing account is a multi-client account. - # @param [String] merchant_id + # @param [Fixnum] merchant_id # The ID of the managing account. - # @param [String] account_id + # @param [Fixnum] account_id # The ID of the account for which to get/update account tax settings. # @param [String] fields # Selector specifying which fields to include in a partial response. @@ -797,7 +581,7 @@ module Google # Lists the tax settings of the sub-accounts in your Merchant Center account. # This method can only be called for multi-client accounts. - # @param [String] merchant_id + # @param [Fixnum] merchant_id # The ID of the managing account. # @param [Fixnum] max_results # The maximum number of tax settings to return in the response, used for paging. @@ -841,9 +625,9 @@ module Google # accounts to which the managing account has access: either the managing account # itself or sub-accounts if the managing account is a multi-client account. This # method supports patch semantics. - # @param [String] merchant_id + # @param [Fixnum] merchant_id # The ID of the managing account. - # @param [String] account_id + # @param [Fixnum] account_id # The ID of the account for which to get/update account tax settings. # @param [Google::Apis::ContentV2::AccountTax] account_tax_object # @param [Boolean] dry_run @@ -887,9 +671,9 @@ module Google # Updates the tax settings of the account. This method can only be called for # accounts to which the managing account has access: either the managing account # itself or sub-accounts if the managing account is a multi-client account. - # @param [String] merchant_id + # @param [Fixnum] merchant_id # The ID of the managing account. - # @param [String] account_id + # @param [Fixnum] account_id # The ID of the account for which to get/update account tax settings. # @param [Google::Apis::ContentV2::AccountTax] account_tax_object # @param [Boolean] dry_run @@ -970,8 +754,8 @@ module Google # Deletes a datafeed from your Merchant Center account. This method can only be # called for non-multi-client accounts. - # @param [String] merchant_id - # @param [String] datafeed_id + # @param [Fixnum] merchant_id + # @param [Fixnum] datafeed_id # @param [Boolean] dry_run # Flag to run the request in dry-run mode. # @param [String] fields @@ -1008,8 +792,8 @@ module Google # Retrieves a datafeed from your Merchant Center account. This method can only # be called for non-multi-client accounts. - # @param [String] merchant_id - # @param [String] datafeed_id + # @param [Fixnum] merchant_id + # @param [Fixnum] datafeed_id # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user @@ -1045,7 +829,7 @@ module Google # Registers a datafeed with your Merchant Center account. This method can only # be called for non-multi-client accounts. - # @param [String] merchant_id + # @param [Fixnum] merchant_id # @param [Google::Apis::ContentV2::Datafeed] datafeed_object # @param [Boolean] dry_run # Flag to run the request in dry-run mode. @@ -1086,7 +870,7 @@ module Google # Lists the datafeeds in your Merchant Center account. This method can only be # called for non-multi-client accounts. - # @param [String] merchant_id + # @param [Fixnum] merchant_id # The ID of the managing account. # @param [Fixnum] max_results # The maximum number of products to return in the response, used for paging. @@ -1128,8 +912,8 @@ module Google # Updates a datafeed of your Merchant Center account. This method can only be # called for non-multi-client accounts. This method supports patch semantics. - # @param [String] merchant_id - # @param [String] datafeed_id + # @param [Fixnum] merchant_id + # @param [Fixnum] datafeed_id # @param [Google::Apis::ContentV2::Datafeed] datafeed_object # @param [Boolean] dry_run # Flag to run the request in dry-run mode. @@ -1171,8 +955,8 @@ module Google # Updates a datafeed of your Merchant Center account. This method can only be # called for non-multi-client accounts. - # @param [String] merchant_id - # @param [String] datafeed_id + # @param [Fixnum] merchant_id + # @param [Fixnum] datafeed_id # @param [Google::Apis::ContentV2::Datafeed] datafeed_object # @param [Boolean] dry_run # Flag to run the request in dry-run mode. @@ -1249,8 +1033,8 @@ module Google # Retrieves the status of a datafeed from your Merchant Center account. This # method can only be called for non-multi-client accounts. - # @param [String] merchant_id - # @param [String] datafeed_id + # @param [Fixnum] merchant_id + # @param [Fixnum] datafeed_id # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user @@ -1286,7 +1070,7 @@ module Google # Lists the statuses of the datafeeds in your Merchant Center account. This # method can only be called for non-multi-client accounts. - # @param [String] merchant_id + # @param [Fixnum] merchant_id # The ID of the managing account. # @param [Fixnum] max_results # The maximum number of products to return in the response, used for paging. @@ -1369,7 +1153,7 @@ module Google # Updates price and availability of a product in your Merchant Center account. # This operation does not update the expiration date of the product. This method # can only be called for non-multi-client accounts. - # @param [String] merchant_id + # @param [Fixnum] merchant_id # The ID of the managing account. # @param [String] store_code # The code of the store for which to update price and availability. Use online @@ -1418,7 +1202,7 @@ module Google # Marks an order as acknowledged. This method can only be called for non-multi- # client accounts. - # @param [String] merchant_id + # @param [Fixnum] merchant_id # The ID of the managing account. # @param [String] order_id # The ID of the order. @@ -1460,7 +1244,7 @@ module Google # Sandbox only. Moves a test order from state "inProgress" to state " # pendingShipment". This method can only be called for non-multi-client accounts. - # @param [String] merchant_id + # @param [Fixnum] merchant_id # The ID of the managing account. # @param [String] order_id # The ID of the test order to modify. @@ -1499,7 +1283,7 @@ module Google # Cancels all line items in an order. This method can only be called for non- # multi-client accounts. - # @param [String] merchant_id + # @param [Fixnum] merchant_id # The ID of the managing account. # @param [String] order_id # The ID of the order to cancel. @@ -1541,7 +1325,7 @@ module Google # Cancels a line item. This method can only be called for non-multi-client # accounts. - # @param [String] merchant_id + # @param [Fixnum] merchant_id # The ID of the managing account. # @param [String] order_id # The ID of the order. @@ -1583,7 +1367,7 @@ module Google # Sandbox only. Creates a test order. This method can only be called for non- # multi-client accounts. - # @param [String] merchant_id + # @param [Fixnum] merchant_id # The ID of the managing account. # @param [Google::Apis::ContentV2::OrdersCreateTestOrderRequest] orders_create_test_order_request_object # @param [String] fields @@ -1658,7 +1442,7 @@ module Google # Retrieves an order from your Merchant Center account. This method can only be # called for non-multi-client accounts. - # @param [String] merchant_id + # @param [Fixnum] merchant_id # The ID of the managing account. # @param [String] order_id # The ID of the order. @@ -1697,7 +1481,7 @@ module Google # Retrieves an order using merchant order id. This method can only be called for # non-multi-client accounts. - # @param [String] merchant_id + # @param [Fixnum] merchant_id # The ID of the managing account. # @param [String] merchant_order_id # The merchant order id to be looked for. @@ -1737,7 +1521,7 @@ module Google # Sandbox only. Retrieves an order template that can be used to quickly create a # new order in sandbox. This method can only be called for non-multi-client # accounts. - # @param [String] merchant_id + # @param [Fixnum] merchant_id # The ID of the managing account. # @param [String] template_name # The name of the template to retrieve. @@ -1776,7 +1560,7 @@ module Google # Lists the orders in your Merchant Center account. This method can only be # called for non-multi-client accounts. - # @param [String] merchant_id + # @param [Fixnum] merchant_id # The ID of the managing account. # @param [Boolean] acknowledged # Obtains orders that match the acknowledgement status. When set to true, @@ -1850,7 +1634,7 @@ module Google # Refund a portion of the order, up to the full amount paid. This method can # only be called for non-multi-client accounts. - # @param [String] merchant_id + # @param [Fixnum] merchant_id # The ID of the managing account. # @param [String] order_id # The ID of the order to refund. @@ -1892,7 +1676,7 @@ module Google # Returns a line item. This method can only be called for non-multi-client # accounts. - # @param [String] merchant_id + # @param [Fixnum] merchant_id # The ID of the managing account. # @param [String] order_id # The ID of the order. @@ -1934,7 +1718,7 @@ module Google # Marks line item(s) as shipped. This method can only be called for non-multi- # client accounts. - # @param [String] merchant_id + # @param [Fixnum] merchant_id # The ID of the managing account. # @param [String] order_id # The ID of the order. @@ -1976,7 +1760,7 @@ module Google # Updates the merchant order ID for a given order. This method can only be # called for non-multi-client accounts. - # @param [String] merchant_id + # @param [Fixnum] merchant_id # The ID of the managing account. # @param [String] order_id # The ID of the order. @@ -2018,7 +1802,7 @@ module Google # Updates a shipment's status, carrier, and/or tracking ID. This method can only # be called for non-multi-client accounts. - # @param [String] merchant_id + # @param [Fixnum] merchant_id # The ID of the managing account. # @param [String] order_id # The ID of the order. @@ -2099,7 +1883,7 @@ module Google # Deletes a product from your Merchant Center account. This method can only be # called for non-multi-client accounts. - # @param [String] merchant_id + # @param [Fixnum] merchant_id # The ID of the managing account. # @param [String] product_id # The ID of the product. @@ -2139,7 +1923,7 @@ module Google # Retrieves a product from your Merchant Center account. This method can only be # called for non-multi-client accounts. - # @param [String] merchant_id + # @param [Fixnum] merchant_id # The ID of the managing account. # @param [String] product_id # The ID of the product. @@ -2180,7 +1964,7 @@ module Google # channel, contentLanguage, offerId, and targetCountry already exists, this # method updates that entry. This method can only be called for non-multi-client # accounts. - # @param [String] merchant_id + # @param [Fixnum] merchant_id # The ID of the managing account. # @param [Google::Apis::ContentV2::Product] product_object # @param [Boolean] dry_run @@ -2222,7 +2006,7 @@ module Google # Lists the products in your Merchant Center account. This method can only be # called for non-multi-client accounts. - # @param [String] merchant_id + # @param [Fixnum] merchant_id # The ID of the managing account. # @param [Boolean] include_invalid_inserted_items # Flag to include the invalid inserted items in the result of the list request. @@ -2304,7 +2088,7 @@ module Google # Gets the status of a product from your Merchant Center account. This method # can only be called for non-multi-client accounts. - # @param [String] merchant_id + # @param [Fixnum] merchant_id # The ID of the managing account. # @param [String] product_id # The ID of the product. @@ -2343,7 +2127,7 @@ module Google # Lists the statuses of the products in your Merchant Center account. This # method can only be called for non-multi-client accounts. - # @param [String] merchant_id + # @param [Fixnum] merchant_id # The ID of the managing account. # @param [Boolean] include_invalid_inserted_items # Flag to include the invalid inserted items in the result of the list request. @@ -2431,9 +2215,9 @@ module Google # for accounts to which the managing account has access: either the managing # account itself or sub-accounts if the managing account is a multi-client # account. - # @param [String] merchant_id + # @param [Fixnum] merchant_id # The ID of the managing account. - # @param [String] account_id + # @param [Fixnum] account_id # The ID of the account for which to get/update shipping settings. # @param [String] fields # Selector specifying which fields to include in a partial response. @@ -2469,7 +2253,7 @@ module Google end # Retrieves supported carriers and carrier services for an account. - # @param [String] merchant_id + # @param [Fixnum] merchant_id # The ID of the account for which to retrieve the supported carriers. # @param [String] fields # Selector specifying which fields to include in a partial response. @@ -2505,7 +2289,7 @@ module Google # Lists the shipping settings of the sub-accounts in your Merchant Center # account. This method can only be called for multi-client accounts. - # @param [String] merchant_id + # @param [Fixnum] merchant_id # The ID of the managing account. # @param [Fixnum] max_results # The maximum number of shipping settings to return in the response, used for @@ -2550,9 +2334,9 @@ module Google # for accounts to which the managing account has access: either the managing # account itself or sub-accounts if the managing account is a multi-client # account. This method supports patch semantics. - # @param [String] merchant_id + # @param [Fixnum] merchant_id # The ID of the managing account. - # @param [String] account_id + # @param [Fixnum] account_id # The ID of the account for which to get/update shipping settings. # @param [Google::Apis::ContentV2::ShippingSettings] shipping_settings_object # @param [Boolean] dry_run @@ -2597,9 +2381,9 @@ module Google # for accounts to which the managing account has access: either the managing # account itself or sub-accounts if the managing account is a multi-client # account. - # @param [String] merchant_id + # @param [Fixnum] merchant_id # The ID of the managing account. - # @param [String] account_id + # @param [Fixnum] account_id # The ID of the account for which to get/update shipping settings. # @param [Google::Apis::ContentV2::ShippingSettings] shipping_settings_object # @param [Boolean] dry_run diff --git a/generated/google/apis/customsearch_v1/classes.rb b/generated/google/apis/customsearch_v1/classes.rb index f2d4ff110..a19b758b3 100644 --- a/generated/google/apis/customsearch_v1/classes.rb +++ b/generated/google/apis/customsearch_v1/classes.rb @@ -381,7 +381,7 @@ module Google # # Corresponds to the JSON property `totalResults` - # @return [String] + # @return [Fixnum] attr_accessor :total_results def initialize(**args) @@ -700,7 +700,7 @@ module Google # # Corresponds to the JSON property `totalResults` - # @return [String] + # @return [Fixnum] attr_accessor :total_results def initialize(**args) diff --git a/generated/google/apis/customsearch_v1/representations.rb b/generated/google/apis/customsearch_v1/representations.rb index a3ffbc438..206171dd0 100644 --- a/generated/google/apis/customsearch_v1/representations.rb +++ b/generated/google/apis/customsearch_v1/representations.rb @@ -194,7 +194,7 @@ module Google property :start_index, as: 'startIndex' property :start_page, as: 'startPage' property :title, as: 'title' - property :total_results, as: 'totalResults' + property :total_results, :numeric_string => true, as: 'totalResults' end end @@ -277,7 +277,7 @@ module Google property :formatted_search_time, as: 'formattedSearchTime' property :formatted_total_results, as: 'formattedTotalResults' property :search_time, as: 'searchTime' - property :total_results, as: 'totalResults' + property :total_results, :numeric_string => true, as: 'totalResults' end end diff --git a/generated/google/apis/customsearch_v1/service.rb b/generated/google/apis/customsearch_v1/service.rb index 8b453c4fc..ec27cb674 100644 --- a/generated/google/apis/customsearch_v1/service.rb +++ b/generated/google/apis/customsearch_v1/service.rb @@ -50,6 +50,7 @@ module Google def initialize super('https://www.googleapis.com/', 'customsearch/') + @batch_path = 'batch' end # Returns metadata about the search performed, metadata about the custom search diff --git a/generated/google/apis/dataflow_v1b3/classes.rb b/generated/google/apis/dataflow_v1b3/classes.rb index afb5d3907..4ba64c30a 100644 --- a/generated/google/apis/dataflow_v1b3/classes.rb +++ b/generated/google/apis/dataflow_v1b3/classes.rb @@ -22,2969 +22,6 @@ module Google module Apis module DataflowV1b3 - # State family configuration. - class StateFamilyConfig - include Google::Apis::Core::Hashable - - # The state family value. - # Corresponds to the JSON property `stateFamily` - # @return [String] - attr_accessor :state_family - - # If true, this family corresponds to a read operation. - # Corresponds to the JSON property `isRead` - # @return [Boolean] - attr_accessor :is_read - alias_method :is_read?, :is_read - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @state_family = args[:state_family] if args.key?(:state_family) - @is_read = args[:is_read] if args.key?(:is_read) - end - end - - # A metric value representing a list of integers. - class IntegerList - include Google::Apis::Core::Hashable - - # Elements of the list. - # Corresponds to the JSON property `elements` - # @return [Array] - attr_accessor :elements - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @elements = args[:elements] if args.key?(:elements) - end - end - - # Service-side response to WorkerMessage reporting resource utilization. - class ResourceUtilizationReportResponse - include Google::Apis::Core::Hashable - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - end - end - - # The response to a SourceSplitRequest. - class SourceSplitResponse - include Google::Apis::Core::Hashable - - # Indicates whether splitting happened and produced a list of bundles. - # If this is USE_CURRENT_SOURCE_AS_IS, the current source should - # be processed "as is" without splitting. "bundles" is ignored in this case. - # If this is SPLITTING_HAPPENED, then "bundles" contains a list of - # bundles into which the source was split. - # Corresponds to the JSON property `outcome` - # @return [String] - attr_accessor :outcome - - # If outcome is SPLITTING_HAPPENED, then this is a list of bundles - # into which the source was split. Otherwise this field is ignored. - # This list can be empty, which means the source represents an empty input. - # Corresponds to the JSON property `bundles` - # @return [Array] - attr_accessor :bundles - - # DEPRECATED in favor of bundles. - # Corresponds to the JSON property `shards` - # @return [Array] - attr_accessor :shards - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @outcome = args[:outcome] if args.key?(:outcome) - @bundles = args[:bundles] if args.key?(:bundles) - @shards = args[:shards] if args.key?(:shards) - end - end - - # Describes a particular operation comprising a MapTask. - class ParallelInstruction - include Google::Apis::Core::Hashable - - # Describes the outputs of the instruction. - # Corresponds to the JSON property `outputs` - # @return [Array] - attr_accessor :outputs - - # User-provided name of this operation. - # Corresponds to the JSON property `name` - # @return [String] - attr_accessor :name - - # An instruction that reads records. - # Takes no inputs, produces one output. - # Corresponds to the JSON property `read` - # @return [Google::Apis::DataflowV1b3::ReadInstruction] - attr_accessor :read - - # An instruction that does a ParDo operation. - # Takes one main input and zero or more side inputs, and produces - # zero or more outputs. - # Runs user code. - # Corresponds to the JSON property `parDo` - # @return [Google::Apis::DataflowV1b3::ParDoInstruction] - attr_accessor :par_do - - # An instruction that copies its inputs (zero or more) to its (single) output. - # Corresponds to the JSON property `flatten` - # @return [Google::Apis::DataflowV1b3::FlattenInstruction] - attr_accessor :flatten - - # System-defined name for the operation in the original workflow graph. - # Corresponds to the JSON property `originalName` - # @return [String] - attr_accessor :original_name - - # System-defined name of this operation. - # Unique across the workflow. - # Corresponds to the JSON property `systemName` - # @return [String] - attr_accessor :system_name - - # An instruction that writes records. - # Takes one input, produces no outputs. - # Corresponds to the JSON property `write` - # @return [Google::Apis::DataflowV1b3::WriteInstruction] - attr_accessor :write - - # An instruction that does a partial group-by-key. - # One input and one output. - # Corresponds to the JSON property `partialGroupByKey` - # @return [Google::Apis::DataflowV1b3::PartialGroupByKeyInstruction] - attr_accessor :partial_group_by_key - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @outputs = args[:outputs] if args.key?(:outputs) - @name = args[:name] if args.key?(:name) - @read = args[:read] if args.key?(:read) - @par_do = args[:par_do] if args.key?(:par_do) - @flatten = args[:flatten] if args.key?(:flatten) - @original_name = args[:original_name] if args.key?(:original_name) - @system_name = args[:system_name] if args.key?(:system_name) - @write = args[:write] if args.key?(:write) - @partial_group_by_key = args[:partial_group_by_key] if args.key?(:partial_group_by_key) - end - end - - # Data disk assignment information for a specific key-range of a sharded - # computation. - # Currently we only support UTF-8 character splits to simplify encoding into - # JSON. - class KeyRangeDataDiskAssignment - include Google::Apis::Core::Hashable - - # The start (inclusive) of the key range. - # Corresponds to the JSON property `start` - # @return [String] - attr_accessor :start - - # The name of the data disk where data for this range is stored. - # This name is local to the Google Cloud Platform project and uniquely - # identifies the disk within that project, for example - # "myproject-1014-104817-4c2-harness-0-disk-1". - # Corresponds to the JSON property `dataDisk` - # @return [String] - attr_accessor :data_disk - - # The end (exclusive) of the key range. - # Corresponds to the JSON property `end` - # @return [String] - attr_accessor :end - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @start = args[:start] if args.key?(:start) - @data_disk = args[:data_disk] if args.key?(:data_disk) - @end = args[:end] if args.key?(:end) - end - end - - # The packages that must be installed in order for a worker to run the - # steps of the Cloud Dataflow job that will be assigned to its worker - # pool. - # This is the mechanism by which the Cloud Dataflow SDK causes code to - # be loaded onto the workers. For example, the Cloud Dataflow Java SDK - # might use this to install jars containing the user's code and all of the - # various dependencies (libraries, data files, etc.) required in order - # for that code to run. - class Package - include Google::Apis::Core::Hashable - - # The name of the package. - # Corresponds to the JSON property `name` - # @return [String] - attr_accessor :name - - # The resource to read the package from. The supported resource type is: - # Google Cloud Storage: - # storage.googleapis.com/`bucket` - # bucket.storage.googleapis.com/ - # Corresponds to the JSON property `location` - # @return [String] - attr_accessor :location - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @name = args[:name] if args.key?(:name) - @location = args[:location] if args.key?(:location) - end - end - - # An instruction that does a ParDo operation. - # Takes one main input and zero or more side inputs, and produces - # zero or more outputs. - # Runs user code. - class ParDoInstruction - include Google::Apis::Core::Hashable - - # An input of an instruction, as a reference to an output of a - # producer instruction. - # Corresponds to the JSON property `input` - # @return [Google::Apis::DataflowV1b3::InstructionInput] - attr_accessor :input - - # The number of outputs. - # Corresponds to the JSON property `numOutputs` - # @return [Fixnum] - attr_accessor :num_outputs - - # Zero or more side inputs. - # Corresponds to the JSON property `sideInputs` - # @return [Array] - attr_accessor :side_inputs - - # Information about each of the outputs, if user_fn is a MultiDoFn. - # Corresponds to the JSON property `multiOutputInfos` - # @return [Array] - attr_accessor :multi_output_infos - - # The user function to invoke. - # Corresponds to the JSON property `userFn` - # @return [Hash] - attr_accessor :user_fn - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @input = args[:input] if args.key?(:input) - @num_outputs = args[:num_outputs] if args.key?(:num_outputs) - @side_inputs = args[:side_inputs] if args.key?(:side_inputs) - @multi_output_infos = args[:multi_output_infos] if args.key?(:multi_output_infos) - @user_fn = args[:user_fn] if args.key?(:user_fn) - end - end - - # Identifies a counter within a per-job namespace. Counters whose structured - # names are the same get merged into a single value for the job. - class CounterStructuredName - include Google::Apis::Core::Hashable - - # One of the standard Origins defined above. - # Corresponds to the JSON property `origin` - # @return [String] - attr_accessor :origin - - # Counter name. Not necessarily globally-unique, but unique within the - # context of the other fields. - # Required. - # Corresponds to the JSON property `name` - # @return [String] - attr_accessor :name - - # Name of the stage. An execution step contains multiple component steps. - # Corresponds to the JSON property `executionStepName` - # @return [String] - attr_accessor :execution_step_name - - # Name of the optimized step being executed by the workers. - # Corresponds to the JSON property `componentStepName` - # @return [String] - attr_accessor :component_step_name - - # Portion of this counter, either key or value. - # Corresponds to the JSON property `portion` - # @return [String] - attr_accessor :portion - - # System generated name of the original step in the user's graph, before - # optimization. - # Corresponds to the JSON property `originalStepName` - # @return [String] - attr_accessor :original_step_name - - # ID of a particular worker. - # Corresponds to the JSON property `workerId` - # @return [String] - attr_accessor :worker_id - - # A string containing a more specific namespace of the counter's origin. - # Corresponds to the JSON property `originNamespace` - # @return [String] - attr_accessor :origin_namespace - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @origin = args[:origin] if args.key?(:origin) - @name = args[:name] if args.key?(:name) - @execution_step_name = args[:execution_step_name] if args.key?(:execution_step_name) - @component_step_name = args[:component_step_name] if args.key?(:component_step_name) - @portion = args[:portion] if args.key?(:portion) - @original_step_name = args[:original_step_name] if args.key?(:original_step_name) - @worker_id = args[:worker_id] if args.key?(:worker_id) - @origin_namespace = args[:origin_namespace] if args.key?(:origin_namespace) - end - end - - # Describes the state of a metric. - class MetricUpdate - include Google::Apis::Core::Hashable - - # Timestamp associated with the metric value. Optional when workers are - # reporting work progress; it will be filled in responses from the - # metrics API. - # Corresponds to the JSON property `updateTime` - # @return [String] - attr_accessor :update_time - - # Identifies a metric, by describing the source which generated the - # metric. - # Corresponds to the JSON property `name` - # @return [Google::Apis::DataflowV1b3::MetricStructuredName] - attr_accessor :name - - # Worker-computed aggregate value for the "Set" aggregation kind. The only - # possible value type is a list of Values whose type can be Long, Double, - # or String, according to the metric's type. All Values in the list must - # be of the same type. - # Corresponds to the JSON property `set` - # @return [Object] - attr_accessor :set - - # Worker-computed aggregate value for internal use by the Dataflow - # service. - # Corresponds to the JSON property `internal` - # @return [Object] - attr_accessor :internal - - # True if this metric is reported as the total cumulative aggregate - # value accumulated since the worker started working on this WorkItem. - # By default this is false, indicating that this metric is reported - # as a delta that is not associated with any WorkItem. - # Corresponds to the JSON property `cumulative` - # @return [Boolean] - attr_accessor :cumulative - alias_method :cumulative?, :cumulative - - # Metric aggregation kind. The possible metric aggregation kinds are - # "Sum", "Max", "Min", "Mean", "Set", "And", and "Or". - # The specified aggregation kind is case-insensitive. - # If omitted, this is not an aggregated value but instead - # a single metric sample value. - # Corresponds to the JSON property `kind` - # @return [String] - attr_accessor :kind - - # Worker-computed aggregate value for aggregation kinds "Sum", "Max", "Min", - # "And", and "Or". The possible value types are Long, Double, and Boolean. - # Corresponds to the JSON property `scalar` - # @return [Object] - attr_accessor :scalar - - # Worker-computed aggregate value for the "Mean" aggregation kind. - # This holds the count of the aggregated values and is used in combination - # with mean_sum above to obtain the actual mean aggregate value. - # The only possible value type is Long. - # Corresponds to the JSON property `meanCount` - # @return [Object] - attr_accessor :mean_count - - # Worker-computed aggregate value for the "Mean" aggregation kind. - # This holds the sum of the aggregated values and is used in combination - # with mean_count below to obtain the actual mean aggregate value. - # The only possible value types are Long and Double. - # Corresponds to the JSON property `meanSum` - # @return [Object] - attr_accessor :mean_sum - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @update_time = args[:update_time] if args.key?(:update_time) - @name = args[:name] if args.key?(:name) - @set = args[:set] if args.key?(:set) - @internal = args[:internal] if args.key?(:internal) - @cumulative = args[:cumulative] if args.key?(:cumulative) - @kind = args[:kind] if args.key?(:kind) - @scalar = args[:scalar] if args.key?(:scalar) - @mean_count = args[:mean_count] if args.key?(:mean_count) - @mean_sum = args[:mean_sum] if args.key?(:mean_sum) - end - end - - # Obsolete in favor of ApproximateReportedProgress and ApproximateSplitRequest. - class ApproximateProgress - include Google::Apis::Core::Hashable - - # Obsolete. - # Corresponds to the JSON property `percentComplete` - # @return [Float] - attr_accessor :percent_complete - - # Obsolete. - # Corresponds to the JSON property `remainingTime` - # @return [String] - attr_accessor :remaining_time - - # Position defines a position within a collection of data. The value - # can be either the end position, a key (used with ordered - # collections), a byte offset, or a record index. - # Corresponds to the JSON property `position` - # @return [Google::Apis::DataflowV1b3::Position] - attr_accessor :position - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @percent_complete = args[:percent_complete] if args.key?(:percent_complete) - @remaining_time = args[:remaining_time] if args.key?(:remaining_time) - @position = args[:position] if args.key?(:position) - end - end - - # A worker_message response allows the server to pass information to the - # sender. - class WorkerMessageResponse - include Google::Apis::Core::Hashable - - # WorkerHealthReportResponse contains information returned to the worker - # in response to a health ping. - # Corresponds to the JSON property `workerHealthReportResponse` - # @return [Google::Apis::DataflowV1b3::WorkerHealthReportResponse] - attr_accessor :worker_health_report_response - - # Service-side response to WorkerMessage reporting resource utilization. - # Corresponds to the JSON property `workerMetricsResponse` - # @return [Google::Apis::DataflowV1b3::ResourceUtilizationReportResponse] - attr_accessor :worker_metrics_response - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @worker_health_report_response = args[:worker_health_report_response] if args.key?(:worker_health_report_response) - @worker_metrics_response = args[:worker_metrics_response] if args.key?(:worker_metrics_response) - end - end - - # Metadata describing a template. - class TemplateMetadata - include Google::Apis::Core::Hashable - - # Required. The name of the template. - # Corresponds to the JSON property `name` - # @return [String] - attr_accessor :name - - # The parameters for the template. - # Corresponds to the JSON property `parameters` - # @return [Array] - attr_accessor :parameters - - # Optional. A description of the template. - # Corresponds to the JSON property `description` - # @return [String] - attr_accessor :description - - # If true, will bypass the validation that the temp directory is - # writable. This should only be used with templates for pipelines - # that are guaranteed not to need to write to the temp directory, - # which is subject to change based on the optimizer. - # Corresponds to the JSON property `bypassTempDirValidation` - # @return [Boolean] - attr_accessor :bypass_temp_dir_validation - alias_method :bypass_temp_dir_validation?, :bypass_temp_dir_validation - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @name = args[:name] if args.key?(:name) - @parameters = args[:parameters] if args.key?(:parameters) - @description = args[:description] if args.key?(:description) - @bypass_temp_dir_validation = args[:bypass_temp_dir_validation] if args.key?(:bypass_temp_dir_validation) - end - end - - # WorkerMessage provides information to the backend about a worker. - class WorkerMessage - include Google::Apis::Core::Hashable - - # The timestamp of the worker_message. - # Corresponds to the JSON property `time` - # @return [String] - attr_accessor :time - - # WorkerHealthReport contains information about the health of a worker. - # The VM should be identified by the labels attached to the WorkerMessage that - # this health ping belongs to. - # Corresponds to the JSON property `workerHealthReport` - # @return [Google::Apis::DataflowV1b3::WorkerHealthReport] - attr_accessor :worker_health_report - - # A message code is used to report status and error messages to the service. - # The message codes are intended to be machine readable. The service will - # take care of translating these into user understandable messages if - # necessary. - # Example use cases: - # 1. Worker processes reporting successful startup. - # 2. Worker processes reporting specific errors (e.g. package staging - # failure). - # Corresponds to the JSON property `workerMessageCode` - # @return [Google::Apis::DataflowV1b3::WorkerMessageCode] - attr_accessor :worker_message_code - - # Worker metrics exported from workers. This contains resource utilization - # metrics accumulated from a variety of sources. For more information, see - # go/df-resource-signals. - # Corresponds to the JSON property `workerMetrics` - # @return [Google::Apis::DataflowV1b3::ResourceUtilizationReport] - attr_accessor :worker_metrics - - # Labels are used to group WorkerMessages. - # For example, a worker_message about a particular container - # might have the labels: - # ` "JOB_ID": "2015-04-22", - # "WORKER_ID": "wordcount-vm-2015…" - # "CONTAINER_TYPE": "worker", - # "CONTAINER_ID": "ac1234def"` - # Label tags typically correspond to Label enum values. However, for ease - # of development other strings can be used as tags. LABEL_UNSPECIFIED should - # not be used here. - # Corresponds to the JSON property `labels` - # @return [Hash] - attr_accessor :labels - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @time = args[:time] if args.key?(:time) - @worker_health_report = args[:worker_health_report] if args.key?(:worker_health_report) - @worker_message_code = args[:worker_message_code] if args.key?(:worker_message_code) - @worker_metrics = args[:worker_metrics] if args.key?(:worker_metrics) - @labels = args[:labels] if args.key?(:labels) - end - end - - # JobMetrics contains a collection of metrics descibing the detailed progress - # of a Dataflow job. Metrics correspond to user-defined and system-defined - # metrics in the job. - # This resource captures only the most recent values of each metric; - # time-series data can be queried for them (under the same metric names) - # from Cloud Monitoring. - class JobMetrics - include Google::Apis::Core::Hashable - - # Timestamp as of which metric values are current. - # Corresponds to the JSON property `metricTime` - # @return [String] - attr_accessor :metric_time - - # All metrics for this job. - # Corresponds to the JSON property `metrics` - # @return [Array] - attr_accessor :metrics - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @metric_time = args[:metric_time] if args.key?(:metric_time) - @metrics = args[:metrics] if args.key?(:metrics) - end - end - - # A metric value representing a list of floating point numbers. - class FloatingPointList - include Google::Apis::Core::Hashable - - # Elements of the list. - # Corresponds to the JSON property `elements` - # @return [Array] - attr_accessor :elements - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @elements = args[:elements] if args.key?(:elements) - end - end - - # An update to a Counter sent from a worker. - class CounterUpdate - include Google::Apis::Core::Hashable - - # A single message which encapsulates structured name and metadata for a given - # counter. - # Corresponds to the JSON property `structuredNameAndMetadata` - # @return [Google::Apis::DataflowV1b3::CounterStructuredNameAndMetadata] - attr_accessor :structured_name_and_metadata - - # A metric value representing a list of integers. - # Corresponds to the JSON property `integerList` - # @return [Google::Apis::DataflowV1b3::IntegerList] - attr_accessor :integer_list - - # Floating point value for Sum, Max, Min. - # Corresponds to the JSON property `floatingPoint` - # @return [Float] - attr_accessor :floating_point - - # A representation of an integer mean metric contribution. - # Corresponds to the JSON property `integerMean` - # @return [Google::Apis::DataflowV1b3::IntegerMean] - attr_accessor :integer_mean - - # True if this counter is reported as the total cumulative aggregate - # value accumulated since the worker started working on this WorkItem. - # By default this is false, indicating that this counter is reported - # as a delta. - # Corresponds to the JSON property `cumulative` - # @return [Boolean] - attr_accessor :cumulative - alias_method :cumulative?, :cumulative - - # Value for internally-defined counters used by the Dataflow service. - # Corresponds to the JSON property `internal` - # @return [Object] - attr_accessor :internal - - # A representation of a floating point mean metric contribution. - # Corresponds to the JSON property `floatingPointMean` - # @return [Google::Apis::DataflowV1b3::FloatingPointMean] - attr_accessor :floating_point_mean - - # Boolean value for And, Or. - # Corresponds to the JSON property `boolean` - # @return [Boolean] - attr_accessor :boolean - alias_method :boolean?, :boolean - - # Basic metadata about a counter. - # Corresponds to the JSON property `nameAndKind` - # @return [Google::Apis::DataflowV1b3::NameAndKind] - attr_accessor :name_and_kind - - # A metric value representing a list of strings. - # Corresponds to the JSON property `stringList` - # @return [Google::Apis::DataflowV1b3::StringList] - attr_accessor :string_list - - # A metric value representing a distribution. - # Corresponds to the JSON property `distribution` - # @return [Google::Apis::DataflowV1b3::DistributionUpdate] - attr_accessor :distribution - - # The service-generated short identifier for this counter. - # The short_id -> (name, metadata) mapping is constant for the lifetime of - # a job. - # Corresponds to the JSON property `shortId` - # @return [String] - attr_accessor :short_id - - # A metric value representing a list of floating point numbers. - # Corresponds to the JSON property `floatingPointList` - # @return [Google::Apis::DataflowV1b3::FloatingPointList] - attr_accessor :floating_point_list - - # A representation of an int64, n, that is immune to precision loss when - # encoded in JSON. - # Corresponds to the JSON property `integer` - # @return [Google::Apis::DataflowV1b3::SplitInt64] - attr_accessor :integer - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @structured_name_and_metadata = args[:structured_name_and_metadata] if args.key?(:structured_name_and_metadata) - @integer_list = args[:integer_list] if args.key?(:integer_list) - @floating_point = args[:floating_point] if args.key?(:floating_point) - @integer_mean = args[:integer_mean] if args.key?(:integer_mean) - @cumulative = args[:cumulative] if args.key?(:cumulative) - @internal = args[:internal] if args.key?(:internal) - @floating_point_mean = args[:floating_point_mean] if args.key?(:floating_point_mean) - @boolean = args[:boolean] if args.key?(:boolean) - @name_and_kind = args[:name_and_kind] if args.key?(:name_and_kind) - @string_list = args[:string_list] if args.key?(:string_list) - @distribution = args[:distribution] if args.key?(:distribution) - @short_id = args[:short_id] if args.key?(:short_id) - @floating_point_list = args[:floating_point_list] if args.key?(:floating_point_list) - @integer = args[:integer] if args.key?(:integer) - end - end - - # Metadata about a Source useful for automatically optimizing - # and tuning the pipeline, etc. - class SourceMetadata - include Google::Apis::Core::Hashable - - # Whether this source is known to produce key/value pairs with - # the (encoded) keys in lexicographically sorted order. - # Corresponds to the JSON property `producesSortedKeys` - # @return [Boolean] - attr_accessor :produces_sorted_keys - alias_method :produces_sorted_keys?, :produces_sorted_keys - - # Specifies that the size of this source is known to be infinite - # (this is a streaming source). - # Corresponds to the JSON property `infinite` - # @return [Boolean] - attr_accessor :infinite - alias_method :infinite?, :infinite - - # An estimate of the total size (in bytes) of the data that would be - # read from this source. This estimate is in terms of external storage - # size, before any decompression or other processing done by the reader. - # Corresponds to the JSON property `estimatedSizeBytes` - # @return [String] - attr_accessor :estimated_size_bytes - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @produces_sorted_keys = args[:produces_sorted_keys] if args.key?(:produces_sorted_keys) - @infinite = args[:infinite] if args.key?(:infinite) - @estimated_size_bytes = args[:estimated_size_bytes] if args.key?(:estimated_size_bytes) - end - end - - # A metric value representing a distribution. - class DistributionUpdate - include Google::Apis::Core::Hashable - - # A representation of an int64, n, that is immune to precision loss when - # encoded in JSON. - # Corresponds to the JSON property `max` - # @return [Google::Apis::DataflowV1b3::SplitInt64] - attr_accessor :max - - # A representation of an int64, n, that is immune to precision loss when - # encoded in JSON. - # Corresponds to the JSON property `sum` - # @return [Google::Apis::DataflowV1b3::SplitInt64] - attr_accessor :sum - - # A representation of an int64, n, that is immune to precision loss when - # encoded in JSON. - # Corresponds to the JSON property `count` - # @return [Google::Apis::DataflowV1b3::SplitInt64] - attr_accessor :count - - # A representation of an int64, n, that is immune to precision loss when - # encoded in JSON. - # Corresponds to the JSON property `min` - # @return [Google::Apis::DataflowV1b3::SplitInt64] - attr_accessor :min - - # Use a double since the sum of squares is likely to overflow int64. - # Corresponds to the JSON property `sumOfSquares` - # @return [Float] - attr_accessor :sum_of_squares - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @max = args[:max] if args.key?(:max) - @sum = args[:sum] if args.key?(:sum) - @count = args[:count] if args.key?(:count) - @min = args[:min] if args.key?(:min) - @sum_of_squares = args[:sum_of_squares] if args.key?(:sum_of_squares) - end - end - - # WorkerHealthReportResponse contains information returned to the worker - # in response to a health ping. - class WorkerHealthReportResponse - include Google::Apis::Core::Hashable - - # A positive value indicates the worker should change its reporting interval - # to the specified value. - # The default value of zero means no change in report rate is requested by - # the server. - # Corresponds to the JSON property `reportInterval` - # @return [String] - attr_accessor :report_interval - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @report_interval = args[:report_interval] if args.key?(:report_interval) - end - end - - # DEPRECATED in favor of DynamicSourceSplit. - class SourceFork - include Google::Apis::Core::Hashable - - # DEPRECATED in favor of DerivedSource. - # Corresponds to the JSON property `residual` - # @return [Google::Apis::DataflowV1b3::SourceSplitShard] - attr_accessor :residual - - # Specification of one of the bundles produced as a result of splitting - # a Source (e.g. when executing a SourceSplitRequest, or when - # splitting an active task using WorkItemStatus.dynamic_source_split), - # relative to the source being split. - # Corresponds to the JSON property `residualSource` - # @return [Google::Apis::DataflowV1b3::DerivedSource] - attr_accessor :residual_source - - # DEPRECATED in favor of DerivedSource. - # Corresponds to the JSON property `primary` - # @return [Google::Apis::DataflowV1b3::SourceSplitShard] - attr_accessor :primary - - # Specification of one of the bundles produced as a result of splitting - # a Source (e.g. when executing a SourceSplitRequest, or when - # splitting an active task using WorkItemStatus.dynamic_source_split), - # relative to the source being split. - # Corresponds to the JSON property `primarySource` - # @return [Google::Apis::DataflowV1b3::DerivedSource] - attr_accessor :primary_source - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @residual = args[:residual] if args.key?(:residual) - @residual_source = args[:residual_source] if args.key?(:residual_source) - @primary = args[:primary] if args.key?(:primary) - @primary_source = args[:primary_source] if args.key?(:primary_source) - end - end - - # Conveys a worker's progress through the work described by a WorkItem. - class WorkItemStatus - include Google::Apis::Core::Hashable - - # Worker output counters for this WorkItem. - # Corresponds to the JSON property `counterUpdates` - # @return [Array] - attr_accessor :counter_updates - - # Identifies the WorkItem. - # Corresponds to the JSON property `workItemId` - # @return [String] - attr_accessor :work_item_id - - # Specifies errors which occurred during processing. If errors are - # provided, and completed = true, then the WorkItem is considered - # to have failed. - # Corresponds to the JSON property `errors` - # @return [Array] - attr_accessor :errors - - # DEPRECATED in favor of counter_updates. - # Corresponds to the JSON property `metricUpdates` - # @return [Array] - attr_accessor :metric_updates - - # When a task splits using WorkItemStatus.dynamic_source_split, this - # message describes the two parts of the split relative to the - # description of the current task's input. - # Corresponds to the JSON property `dynamicSourceSplit` - # @return [Google::Apis::DataflowV1b3::DynamicSourceSplit] - attr_accessor :dynamic_source_split - - # The result of a SourceOperationRequest, specified in - # ReportWorkItemStatusRequest.source_operation when the work item - # is completed. - # Corresponds to the JSON property `sourceOperationResponse` - # @return [Google::Apis::DataflowV1b3::SourceOperationResponse] - attr_accessor :source_operation_response - - # Obsolete in favor of ApproximateReportedProgress and ApproximateSplitRequest. - # Corresponds to the JSON property `progress` - # @return [Google::Apis::DataflowV1b3::ApproximateProgress] - attr_accessor :progress - - # Amount of time the worker requests for its lease. - # Corresponds to the JSON property `requestedLeaseDuration` - # @return [String] - attr_accessor :requested_lease_duration - - # The report index. When a WorkItem is leased, the lease will - # contain an initial report index. When a WorkItem's status is - # reported to the system, the report should be sent with - # that report index, and the response will contain the index the - # worker should use for the next report. Reports received with - # unexpected index values will be rejected by the service. - # In order to preserve idempotency, the worker should not alter the - # contents of a report, even if the worker must submit the same - # report multiple times before getting back a response. The worker - # should not submit a subsequent report until the response for the - # previous report had been received from the service. - # Corresponds to the JSON property `reportIndex` - # @return [String] - attr_accessor :report_index - - # Position defines a position within a collection of data. The value - # can be either the end position, a key (used with ordered - # collections), a byte offset, or a record index. - # Corresponds to the JSON property `stopPosition` - # @return [Google::Apis::DataflowV1b3::Position] - attr_accessor :stop_position - - # True if the WorkItem was completed (successfully or unsuccessfully). - # Corresponds to the JSON property `completed` - # @return [Boolean] - attr_accessor :completed - alias_method :completed?, :completed - - # A progress measurement of a WorkItem by a worker. - # Corresponds to the JSON property `reportedProgress` - # @return [Google::Apis::DataflowV1b3::ApproximateReportedProgress] - attr_accessor :reported_progress - - # DEPRECATED in favor of DynamicSourceSplit. - # Corresponds to the JSON property `sourceFork` - # @return [Google::Apis::DataflowV1b3::SourceFork] - attr_accessor :source_fork - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @counter_updates = args[:counter_updates] if args.key?(:counter_updates) - @work_item_id = args[:work_item_id] if args.key?(:work_item_id) - @errors = args[:errors] if args.key?(:errors) - @metric_updates = args[:metric_updates] if args.key?(:metric_updates) - @dynamic_source_split = args[:dynamic_source_split] if args.key?(:dynamic_source_split) - @source_operation_response = args[:source_operation_response] if args.key?(:source_operation_response) - @progress = args[:progress] if args.key?(:progress) - @requested_lease_duration = args[:requested_lease_duration] if args.key?(:requested_lease_duration) - @report_index = args[:report_index] if args.key?(:report_index) - @stop_position = args[:stop_position] if args.key?(:stop_position) - @completed = args[:completed] if args.key?(:completed) - @reported_progress = args[:reported_progress] if args.key?(:reported_progress) - @source_fork = args[:source_fork] if args.key?(:source_fork) - end - end - - # Description of an interstitial value between transforms in an execution - # stage. - class ComponentSource - include Google::Apis::Core::Hashable - - # User name for the original user transform or collection with which this - # source is most closely associated. - # Corresponds to the JSON property `originalTransformOrCollection` - # @return [String] - attr_accessor :original_transform_or_collection - - # Dataflow service generated name for this source. - # Corresponds to the JSON property `name` - # @return [String] - attr_accessor :name - - # Human-readable name for this transform; may be user or system generated. - # Corresponds to the JSON property `userName` - # @return [String] - attr_accessor :user_name - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @original_transform_or_collection = args[:original_transform_or_collection] if args.key?(:original_transform_or_collection) - @name = args[:name] if args.key?(:name) - @user_name = args[:user_name] if args.key?(:user_name) - end - end - - # The Dataflow service's idea of the current state of a WorkItem - # being processed by a worker. - class WorkItemServiceState - include Google::Apis::Core::Hashable - - # A suggestion by the service to the worker to dynamically split the WorkItem. - # Corresponds to the JSON property `splitRequest` - # @return [Google::Apis::DataflowV1b3::ApproximateSplitRequest] - attr_accessor :split_request - - # New recommended reporting interval. - # Corresponds to the JSON property `reportStatusInterval` - # @return [String] - attr_accessor :report_status_interval - - # Position defines a position within a collection of data. The value - # can be either the end position, a key (used with ordered - # collections), a byte offset, or a record index. - # Corresponds to the JSON property `suggestedStopPosition` - # @return [Google::Apis::DataflowV1b3::Position] - attr_accessor :suggested_stop_position - - # Other data returned by the service, specific to the particular - # worker harness. - # Corresponds to the JSON property `harnessData` - # @return [Hash] - attr_accessor :harness_data - - # Time at which the current lease will expire. - # Corresponds to the JSON property `leaseExpireTime` - # @return [String] - attr_accessor :lease_expire_time - - # The short ids that workers should use in subsequent metric updates. - # Workers should strive to use short ids whenever possible, but it is ok - # to request the short_id again if a worker lost track of it - # (e.g. if the worker is recovering from a crash). - # NOTE: it is possible that the response may have short ids for a subset - # of the metrics. - # Corresponds to the JSON property `metricShortId` - # @return [Array] - attr_accessor :metric_short_id - - # The index value to use for the next report sent by the worker. - # Note: If the report call fails for whatever reason, the worker should - # reuse this index for subsequent report attempts. - # Corresponds to the JSON property `nextReportIndex` - # @return [String] - attr_accessor :next_report_index - - # Obsolete in favor of ApproximateReportedProgress and ApproximateSplitRequest. - # Corresponds to the JSON property `suggestedStopPoint` - # @return [Google::Apis::DataflowV1b3::ApproximateProgress] - attr_accessor :suggested_stop_point - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @split_request = args[:split_request] if args.key?(:split_request) - @report_status_interval = args[:report_status_interval] if args.key?(:report_status_interval) - @suggested_stop_position = args[:suggested_stop_position] if args.key?(:suggested_stop_position) - @harness_data = args[:harness_data] if args.key?(:harness_data) - @lease_expire_time = args[:lease_expire_time] if args.key?(:lease_expire_time) - @metric_short_id = args[:metric_short_id] if args.key?(:metric_short_id) - @next_report_index = args[:next_report_index] if args.key?(:next_report_index) - @suggested_stop_point = args[:suggested_stop_point] if args.key?(:suggested_stop_point) - end - end - - # Identifies a metric, by describing the source which generated the - # metric. - class MetricStructuredName - include Google::Apis::Core::Hashable - - # Zero or more labeled fields which identify the part of the job this - # metric is associated with, such as the name of a step or collection. - # For example, built-in counters associated with steps will have - # context['step'] = . Counters associated with PCollections - # in the SDK will have context['pcollection'] = . - # Corresponds to the JSON property `context` - # @return [Hash] - attr_accessor :context - - # Origin (namespace) of metric name. May be blank for user-define metrics; - # will be "dataflow" for metrics defined by the Dataflow service or SDK. - # Corresponds to the JSON property `origin` - # @return [String] - attr_accessor :origin - - # Worker-defined metric name. - # Corresponds to the JSON property `name` - # @return [String] - attr_accessor :name - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @context = args[:context] if args.key?(:context) - @origin = args[:origin] if args.key?(:origin) - @name = args[:name] if args.key?(:name) - end - end - - # Information about an output of a SeqMapTask. - class SeqMapTaskOutputInfo - include Google::Apis::Core::Hashable - - # A sink that records can be encoded and written to. - # Corresponds to the JSON property `sink` - # @return [Google::Apis::DataflowV1b3::Sink] - attr_accessor :sink - - # The id of the TupleTag the user code will tag the output value by. - # Corresponds to the JSON property `tag` - # @return [String] - attr_accessor :tag - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @sink = args[:sink] if args.key?(:sink) - @tag = args[:tag] if args.key?(:tag) - end - end - - # Contains information about how a particular - # google.dataflow.v1beta3.Step will be executed. - class JobExecutionStageInfo - include Google::Apis::Core::Hashable - - # The steps associated with the execution stage. - # Note that stages may have several steps, and that a given step - # might be run by more than one stage. - # Corresponds to the JSON property `stepName` - # @return [Array] - attr_accessor :step_name - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @step_name = args[:step_name] if args.key?(:step_name) - end - end - - # Location information for a specific key-range of a sharded computation. - # Currently we only support UTF-8 character splits to simplify encoding into - # JSON. - class KeyRangeLocation - include Google::Apis::Core::Hashable - - # The start (inclusive) of the key range. - # Corresponds to the JSON property `start` - # @return [String] - attr_accessor :start - - # The name of the data disk where data for this range is stored. - # This name is local to the Google Cloud Platform project and uniquely - # identifies the disk within that project, for example - # "myproject-1014-104817-4c2-harness-0-disk-1". - # Corresponds to the JSON property `dataDisk` - # @return [String] - attr_accessor :data_disk - - # The end (exclusive) of the key range. - # Corresponds to the JSON property `end` - # @return [String] - attr_accessor :end - - # DEPRECATED. The location of the persistent state for this range, as a - # persistent directory in the worker local filesystem. - # Corresponds to the JSON property `deprecatedPersistentDirectory` - # @return [String] - attr_accessor :deprecated_persistent_directory - - # The physical location of this range assignment to be used for - # streaming computation cross-worker message delivery. - # Corresponds to the JSON property `deliveryEndpoint` - # @return [String] - attr_accessor :delivery_endpoint - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @start = args[:start] if args.key?(:start) - @data_disk = args[:data_disk] if args.key?(:data_disk) - @end = args[:end] if args.key?(:end) - @deprecated_persistent_directory = args[:deprecated_persistent_directory] if args.key?(:deprecated_persistent_directory) - @delivery_endpoint = args[:delivery_endpoint] if args.key?(:delivery_endpoint) - end - end - - # A request to compute the SourceMetadata of a Source. - class SourceGetMetadataRequest - include Google::Apis::Core::Hashable - - # A source that records can be read and decoded from. - # Corresponds to the JSON property `source` - # @return [Google::Apis::DataflowV1b3::Source] - attr_accessor :source - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @source = args[:source] if args.key?(:source) - end - end - - # Describes a particular function to invoke. - class SeqMapTask - include Google::Apis::Core::Hashable - - # The user-provided name of the SeqDo operation. - # Corresponds to the JSON property `name` - # @return [String] - attr_accessor :name - - # Information about each of the outputs. - # Corresponds to the JSON property `outputInfos` - # @return [Array] - attr_accessor :output_infos - - # Information about each of the inputs. - # Corresponds to the JSON property `inputs` - # @return [Array] - attr_accessor :inputs - - # System-defined name of the SeqDo operation. - # Unique across the workflow. - # Corresponds to the JSON property `systemName` - # @return [String] - attr_accessor :system_name - - # System-defined name of the stage containing the SeqDo operation. - # Unique across the workflow. - # Corresponds to the JSON property `stageName` - # @return [String] - attr_accessor :stage_name - - # The user function to invoke. - # Corresponds to the JSON property `userFn` - # @return [Hash] - attr_accessor :user_fn - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @name = args[:name] if args.key?(:name) - @output_infos = args[:output_infos] if args.key?(:output_infos) - @inputs = args[:inputs] if args.key?(:inputs) - @system_name = args[:system_name] if args.key?(:system_name) - @stage_name = args[:stage_name] if args.key?(:stage_name) - @user_fn = args[:user_fn] if args.key?(:user_fn) - end - end - - # Basic metadata about a counter. - class NameAndKind - include Google::Apis::Core::Hashable - - # Name of the counter. - # Corresponds to the JSON property `name` - # @return [String] - attr_accessor :name - - # Counter aggregation kind. - # Corresponds to the JSON property `kind` - # @return [String] - attr_accessor :kind - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @name = args[:name] if args.key?(:name) - @kind = args[:kind] if args.key?(:kind) - end - end - - # A message code is used to report status and error messages to the service. - # The message codes are intended to be machine readable. The service will - # take care of translating these into user understandable messages if - # necessary. - # Example use cases: - # 1. Worker processes reporting successful startup. - # 2. Worker processes reporting specific errors (e.g. package staging - # failure). - class WorkerMessageCode - include Google::Apis::Core::Hashable - - # Parameters contains specific information about the code. - # This is a struct to allow parameters of different types. - # Examples: - # 1. For a "HARNESS_STARTED" message parameters might provide the name - # of the worker and additional data like timing information. - # 2. For a "GCS_DOWNLOAD_ERROR" parameters might contain fields listing - # the GCS objects being downloaded and fields containing errors. - # In general complex data structures should be avoided. If a worker - # needs to send a specific and complicated data structure then please - # consider defining a new proto and adding it to the data oneof in - # WorkerMessageResponse. - # Conventions: - # Parameters should only be used for information that isn't typically passed - # as a label. - # hostname and other worker identifiers should almost always be passed - # as labels since they will be included on most messages. - # Corresponds to the JSON property `parameters` - # @return [Hash] - attr_accessor :parameters - - # The code is a string intended for consumption by a machine that identifies - # the type of message being sent. - # Examples: - # 1. "HARNESS_STARTED" might be used to indicate the worker harness has - # started. - # 2. "GCS_DOWNLOAD_ERROR" might be used to indicate an error downloading - # a GCS file as part of the boot process of one of the worker containers. - # This is a string and not an enum to make it easy to add new codes without - # waiting for an API change. - # Corresponds to the JSON property `code` - # @return [String] - attr_accessor :code - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @parameters = args[:parameters] if args.key?(:parameters) - @code = args[:code] if args.key?(:code) - end - end - - # Identifies the location of a custom souce. - class CustomSourceLocation - include Google::Apis::Core::Hashable - - # Whether this source is stateful. - # Corresponds to the JSON property `stateful` - # @return [Boolean] - attr_accessor :stateful - alias_method :stateful?, :stateful - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @stateful = args[:stateful] if args.key?(:stateful) - end - end - - # MapTask consists of an ordered set of instructions, each of which - # describes one particular low-level operation for the worker to - # perform in order to accomplish the MapTask's WorkItem. - # Each instruction must appear in the list before any instructions which - # depends on its output. - class MapTask - include Google::Apis::Core::Hashable - - # System-defined name of this MapTask. - # Unique across the workflow. - # Corresponds to the JSON property `systemName` - # @return [String] - attr_accessor :system_name - - # System-defined name of the stage containing this MapTask. - # Unique across the workflow. - # Corresponds to the JSON property `stageName` - # @return [String] - attr_accessor :stage_name - - # The instructions in the MapTask. - # Corresponds to the JSON property `instructions` - # @return [Array] - attr_accessor :instructions - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @system_name = args[:system_name] if args.key?(:system_name) - @stage_name = args[:stage_name] if args.key?(:stage_name) - @instructions = args[:instructions] if args.key?(:instructions) - end - end - - # A representation of a floating point mean metric contribution. - class FloatingPointMean - include Google::Apis::Core::Hashable - - # The sum of all values being aggregated. - # Corresponds to the JSON property `sum` - # @return [Float] - attr_accessor :sum - - # A representation of an int64, n, that is immune to precision loss when - # encoded in JSON. - # Corresponds to the JSON property `count` - # @return [Google::Apis::DataflowV1b3::SplitInt64] - attr_accessor :count - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @sum = args[:sum] if args.key?(:sum) - @count = args[:count] if args.key?(:count) - end - end - - # Response from a request to report the status of WorkItems. - class ReportWorkItemStatusResponse - include Google::Apis::Core::Hashable - - # A set of messages indicating the service-side state for each - # WorkItem whose status was reported, in the same order as the - # WorkItemStatus messages in the ReportWorkItemStatusRequest which - # resulting in this response. - # Corresponds to the JSON property `workItemServiceStates` - # @return [Array] - attr_accessor :work_item_service_states - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @work_item_service_states = args[:work_item_service_states] if args.key?(:work_item_service_states) - end - end - - # An output of an instruction. - class InstructionOutput - include Google::Apis::Core::Hashable - - # The user-provided name of this output. - # Corresponds to the JSON property `name` - # @return [String] - attr_accessor :name - - # System-defined name for this output in the original workflow graph. - # Outputs that do not contribute to an original instruction do not set this. - # Corresponds to the JSON property `originalName` - # @return [String] - attr_accessor :original_name - - # System-defined name of this output. - # Unique across the workflow. - # Corresponds to the JSON property `systemName` - # @return [String] - attr_accessor :system_name - - # For system-generated byte and mean byte metrics, certain instructions - # should only report the key size. - # Corresponds to the JSON property `onlyCountKeyBytes` - # @return [Boolean] - attr_accessor :only_count_key_bytes - alias_method :only_count_key_bytes?, :only_count_key_bytes - - # For system-generated byte and mean byte metrics, certain instructions - # should only report the value size. - # Corresponds to the JSON property `onlyCountValueBytes` - # @return [Boolean] - attr_accessor :only_count_value_bytes - alias_method :only_count_value_bytes?, :only_count_value_bytes - - # The codec to use to encode data being written via this output. - # Corresponds to the JSON property `codec` - # @return [Hash] - attr_accessor :codec - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @name = args[:name] if args.key?(:name) - @original_name = args[:original_name] if args.key?(:original_name) - @system_name = args[:system_name] if args.key?(:system_name) - @only_count_key_bytes = args[:only_count_key_bytes] if args.key?(:only_count_key_bytes) - @only_count_value_bytes = args[:only_count_value_bytes] if args.key?(:only_count_value_bytes) - @codec = args[:codec] if args.key?(:codec) - end - end - - # A request to create a Cloud Dataflow job from a template. - class CreateJobFromTemplateRequest - include Google::Apis::Core::Hashable - - # Required. A Cloud Storage path to the template from which to - # create the job. - # Must be a valid Cloud Storage URL, beginning with `gs://`. - # Corresponds to the JSON property `gcsPath` - # @return [String] - attr_accessor :gcs_path - - # The environment values to set at runtime. - # Corresponds to the JSON property `environment` - # @return [Google::Apis::DataflowV1b3::RuntimeEnvironment] - attr_accessor :environment - - # The runtime parameters to pass to the job. - # Corresponds to the JSON property `parameters` - # @return [Hash] - attr_accessor :parameters - - # Required. The job name to use for the created job. - # Corresponds to the JSON property `jobName` - # @return [String] - attr_accessor :job_name - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @gcs_path = args[:gcs_path] if args.key?(:gcs_path) - @environment = args[:environment] if args.key?(:environment) - @parameters = args[:parameters] if args.key?(:parameters) - @job_name = args[:job_name] if args.key?(:job_name) - end - end - - # A representation of an integer mean metric contribution. - class IntegerMean - include Google::Apis::Core::Hashable - - # A representation of an int64, n, that is immune to precision loss when - # encoded in JSON. - # Corresponds to the JSON property `count` - # @return [Google::Apis::DataflowV1b3::SplitInt64] - attr_accessor :count - - # A representation of an int64, n, that is immune to precision loss when - # encoded in JSON. - # Corresponds to the JSON property `sum` - # @return [Google::Apis::DataflowV1b3::SplitInt64] - attr_accessor :sum - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @count = args[:count] if args.key?(:count) - @sum = args[:sum] if args.key?(:sum) - end - end - - # Response to a request to list Cloud Dataflow jobs. This may be a partial - # response, depending on the page size in the ListJobsRequest. - class ListJobsResponse - include Google::Apis::Core::Hashable - - # A subset of the requested job information. - # Corresponds to the JSON property `jobs` - # @return [Array] - attr_accessor :jobs - - # Set if there may be more results than fit in this response. - # Corresponds to the JSON property `nextPageToken` - # @return [String] - attr_accessor :next_page_token - - # Zero or more messages describing locations that failed to respond. - # Corresponds to the JSON property `failedLocation` - # @return [Array] - attr_accessor :failed_location - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @jobs = args[:jobs] if args.key?(:jobs) - @next_page_token = args[:next_page_token] if args.key?(:next_page_token) - @failed_location = args[:failed_location] if args.key?(:failed_location) - end - end - - # All configuration data for a particular Computation. - class ComputationTopology - include Google::Apis::Core::Hashable - - # The system stage name. - # Corresponds to the JSON property `systemStageName` - # @return [String] - attr_accessor :system_stage_name - - # The inputs to the computation. - # Corresponds to the JSON property `inputs` - # @return [Array] - attr_accessor :inputs - - # The ID of the computation. - # Corresponds to the JSON property `computationId` - # @return [String] - attr_accessor :computation_id - - # The key ranges processed by the computation. - # Corresponds to the JSON property `keyRanges` - # @return [Array] - attr_accessor :key_ranges - - # The user stage name. - # Corresponds to the JSON property `userStageName` - # @return [String] - attr_accessor :user_stage_name - - # The outputs from the computation. - # Corresponds to the JSON property `outputs` - # @return [Array] - attr_accessor :outputs - - # The state family values. - # Corresponds to the JSON property `stateFamilies` - # @return [Array] - attr_accessor :state_families - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @system_stage_name = args[:system_stage_name] if args.key?(:system_stage_name) - @inputs = args[:inputs] if args.key?(:inputs) - @computation_id = args[:computation_id] if args.key?(:computation_id) - @key_ranges = args[:key_ranges] if args.key?(:key_ranges) - @user_stage_name = args[:user_stage_name] if args.key?(:user_stage_name) - @outputs = args[:outputs] if args.key?(:outputs) - @state_families = args[:state_families] if args.key?(:state_families) - end - end - - # The environment values to set at runtime. - class RuntimeEnvironment - include Google::Apis::Core::Hashable - - # The Compute Engine [availability zone](https://cloud.google.com/compute/docs/ - # regions-zones/regions-zones) - # for launching worker instances to run your pipeline. - # Corresponds to the JSON property `zone` - # @return [String] - attr_accessor :zone - - # The email address of the service account to run the job as. - # Corresponds to the JSON property `serviceAccountEmail` - # @return [String] - attr_accessor :service_account_email - - # The Cloud Storage path to use for temporary files. - # Must be a valid Cloud Storage URL, beginning with `gs://`. - # Corresponds to the JSON property `tempLocation` - # @return [String] - attr_accessor :temp_location - - # Whether to bypass the safety checks for the job's temporary directory. - # Use with caution. - # Corresponds to the JSON property `bypassTempDirValidation` - # @return [Boolean] - attr_accessor :bypass_temp_dir_validation - alias_method :bypass_temp_dir_validation?, :bypass_temp_dir_validation - - # The maximum number of Google Compute Engine instances to be made - # available to your pipeline during execution, from 1 to 1000. - # Corresponds to the JSON property `maxWorkers` - # @return [Fixnum] - attr_accessor :max_workers - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @zone = args[:zone] if args.key?(:zone) - @service_account_email = args[:service_account_email] if args.key?(:service_account_email) - @temp_location = args[:temp_location] if args.key?(:temp_location) - @bypass_temp_dir_validation = args[:bypass_temp_dir_validation] if args.key?(:bypass_temp_dir_validation) - @max_workers = args[:max_workers] if args.key?(:max_workers) - end - end - - # Identifies the location of a streaming side input. - class StreamingSideInputLocation - include Google::Apis::Core::Hashable - - # Identifies the state family where this side input is stored. - # Corresponds to the JSON property `stateFamily` - # @return [String] - attr_accessor :state_family - - # Identifies the particular side input within the streaming Dataflow job. - # Corresponds to the JSON property `tag` - # @return [String] - attr_accessor :tag - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @state_family = args[:state_family] if args.key?(:state_family) - @tag = args[:tag] if args.key?(:tag) - end - end - - # Describes mounted data disk. - class MountedDataDisk - include Google::Apis::Core::Hashable - - # The name of the data disk. - # This name is local to the Google Cloud Platform project and uniquely - # identifies the disk within that project, for example - # "myproject-1014-104817-4c2-harness-0-disk-1". - # Corresponds to the JSON property `dataDisk` - # @return [String] - attr_accessor :data_disk - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @data_disk = args[:data_disk] if args.key?(:data_disk) - end - end - - # Response to the request to launch a template. - class LaunchTemplateResponse - include Google::Apis::Core::Hashable - - # Defines a job to be run by the Cloud Dataflow service. - # Corresponds to the JSON property `job` - # @return [Google::Apis::DataflowV1b3::Job] - attr_accessor :job - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @job = args[:job] if args.key?(:job) - end - end - - # Defines a job to be run by the Cloud Dataflow service. - class Job - include Google::Apis::Core::Hashable - - # The type of Cloud Dataflow job. - # Corresponds to the JSON property `type` - # @return [String] - attr_accessor :type - - # The ID of the Cloud Platform project that the job belongs to. - # Corresponds to the JSON property `projectId` - # @return [String] - attr_accessor :project_id - - # A descriptive representation of submitted pipeline as well as the executed - # form. This data is provided by the Dataflow service for ease of visualizing - # the pipeline and interpretting Dataflow provided metrics. - # Corresponds to the JSON property `pipelineDescription` - # @return [Google::Apis::DataflowV1b3::PipelineDescription] - attr_accessor :pipeline_description - - # If this job is an update of an existing job, this field is the job ID - # of the job it replaced. - # When sending a `CreateJobRequest`, you can update a job by specifying it - # here. The job named here is stopped, and its intermediate state is - # transferred to this job. - # Corresponds to the JSON property `replaceJobId` - # @return [String] - attr_accessor :replace_job_id - - # The job's requested state. - # `UpdateJob` may be used to switch between the `JOB_STATE_STOPPED` and - # `JOB_STATE_RUNNING` states, by setting requested_state. `UpdateJob` may - # also be used to directly set a job's requested state to - # `JOB_STATE_CANCELLED` or `JOB_STATE_DONE`, irrevocably terminating the - # job if it has not already reached a terminal state. - # Corresponds to the JSON property `requestedState` - # @return [String] - attr_accessor :requested_state - - # A set of files the system should be aware of that are used - # for temporary storage. These temporary files will be - # removed on job completion. - # No duplicates are allowed. - # No file patterns are supported. - # The supported files are: - # Google Cloud Storage: - # storage.googleapis.com/`bucket`/`object` - # bucket.storage.googleapis.com/`object` - # Corresponds to the JSON property `tempFiles` - # @return [Array] - attr_accessor :temp_files - - # The client's unique identifier of the job, re-used across retried attempts. - # If this field is set, the service will ensure its uniqueness. - # The request to create a job will fail if the service has knowledge of a - # previously submitted job with the same client's ID and job name. - # The caller may use this field to ensure idempotence of job - # creation across retried attempts to create a job. - # By default, the field is empty and, in that case, the service ignores it. - # Corresponds to the JSON property `clientRequestId` - # @return [String] - attr_accessor :client_request_id - - # The user-specified Cloud Dataflow job name. - # Only one Job with a given name may exist in a project at any - # given time. If a caller attempts to create a Job with the same - # name as an already-existing Job, the attempt returns the - # existing Job. - # The name must match the regular expression - # `[a-z]([-a-z0-9]`0,38`[a-z0-9])?` - # Corresponds to the JSON property `name` - # @return [String] - attr_accessor :name - - # The top-level steps that constitute the entire job. - # Corresponds to the JSON property `steps` - # @return [Array] - attr_accessor :steps - - # If another job is an update of this job (and thus, this job is in - # `JOB_STATE_UPDATED`), this field contains the ID of that job. - # Corresponds to the JSON property `replacedByJobId` - # @return [String] - attr_accessor :replaced_by_job_id - - # Additional information about how a Cloud Dataflow job will be executed that - # isn't contained in the submitted job. - # Corresponds to the JSON property `executionInfo` - # @return [Google::Apis::DataflowV1b3::JobExecutionInfo] - attr_accessor :execution_info - - # The unique ID of this job. - # This field is set by the Cloud Dataflow service when the Job is - # created, and is immutable for the life of the job. - # Corresponds to the JSON property `id` - # @return [String] - attr_accessor :id - - # The current state of the job. - # Jobs are created in the `JOB_STATE_STOPPED` state unless otherwise - # specified. - # A job in the `JOB_STATE_RUNNING` state may asynchronously enter a - # terminal state. After a job has reached a terminal state, no - # further state updates may be made. - # This field may be mutated by the Cloud Dataflow service; - # callers cannot mutate it. - # Corresponds to the JSON property `currentState` - # @return [String] - attr_accessor :current_state - - # The location that contains this job. - # Corresponds to the JSON property `location` - # @return [String] - attr_accessor :location - - # The timestamp associated with the current state. - # Corresponds to the JSON property `currentStateTime` - # @return [String] - attr_accessor :current_state_time - - # The map of transform name prefixes of the job to be replaced to the - # corresponding name prefixes of the new job. - # Corresponds to the JSON property `transformNameMapping` - # @return [Hash] - attr_accessor :transform_name_mapping - - # User-defined labels for this job. - # The labels map can contain no more than 64 entries. Entries of the labels - # map are UTF8 strings that comply with the following restrictions: - # * Keys must conform to regexp: \p`Ll`\p`Lo``0,62` - # * Values must conform to regexp: [\p`Ll`\p`Lo`\p`N`_-]`0,63` - # * Both keys and values are additionally constrained to be <= 128 bytes in - # size. - # Corresponds to the JSON property `labels` - # @return [Hash] - attr_accessor :labels - - # Describes the environment in which a Dataflow Job runs. - # Corresponds to the JSON property `environment` - # @return [Google::Apis::DataflowV1b3::Environment] - attr_accessor :environment - - # The timestamp when the job was initially created. Immutable and set by the - # Cloud Dataflow service. - # Corresponds to the JSON property `createTime` - # @return [String] - attr_accessor :create_time - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @type = args[:type] if args.key?(:type) - @project_id = args[:project_id] if args.key?(:project_id) - @pipeline_description = args[:pipeline_description] if args.key?(:pipeline_description) - @replace_job_id = args[:replace_job_id] if args.key?(:replace_job_id) - @requested_state = args[:requested_state] if args.key?(:requested_state) - @temp_files = args[:temp_files] if args.key?(:temp_files) - @client_request_id = args[:client_request_id] if args.key?(:client_request_id) - @name = args[:name] if args.key?(:name) - @steps = args[:steps] if args.key?(:steps) - @replaced_by_job_id = args[:replaced_by_job_id] if args.key?(:replaced_by_job_id) - @execution_info = args[:execution_info] if args.key?(:execution_info) - @id = args[:id] if args.key?(:id) - @current_state = args[:current_state] if args.key?(:current_state) - @location = args[:location] if args.key?(:location) - @current_state_time = args[:current_state_time] if args.key?(:current_state_time) - @transform_name_mapping = args[:transform_name_mapping] if args.key?(:transform_name_mapping) - @labels = args[:labels] if args.key?(:labels) - @environment = args[:environment] if args.key?(:environment) - @create_time = args[:create_time] if args.key?(:create_time) - end - end - - # Specification of one of the bundles produced as a result of splitting - # a Source (e.g. when executing a SourceSplitRequest, or when - # splitting an active task using WorkItemStatus.dynamic_source_split), - # relative to the source being split. - class DerivedSource - include Google::Apis::Core::Hashable - - # What source to base the produced source on (if any). - # Corresponds to the JSON property `derivationMode` - # @return [String] - attr_accessor :derivation_mode - - # A source that records can be read and decoded from. - # Corresponds to the JSON property `source` - # @return [Google::Apis::DataflowV1b3::Source] - attr_accessor :source - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @derivation_mode = args[:derivation_mode] if args.key?(:derivation_mode) - @source = args[:source] if args.key?(:source) - end - end - - # When a task splits using WorkItemStatus.dynamic_source_split, this - # message describes the two parts of the split relative to the - # description of the current task's input. - class DynamicSourceSplit - include Google::Apis::Core::Hashable - - # Specification of one of the bundles produced as a result of splitting - # a Source (e.g. when executing a SourceSplitRequest, or when - # splitting an active task using WorkItemStatus.dynamic_source_split), - # relative to the source being split. - # Corresponds to the JSON property `residual` - # @return [Google::Apis::DataflowV1b3::DerivedSource] - attr_accessor :residual - - # Specification of one of the bundles produced as a result of splitting - # a Source (e.g. when executing a SourceSplitRequest, or when - # splitting an active task using WorkItemStatus.dynamic_source_split), - # relative to the source being split. - # Corresponds to the JSON property `primary` - # @return [Google::Apis::DataflowV1b3::DerivedSource] - attr_accessor :primary - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @residual = args[:residual] if args.key?(:residual) - @primary = args[:primary] if args.key?(:primary) - end - end - - # The result of a SourceOperationRequest, specified in - # ReportWorkItemStatusRequest.source_operation when the work item - # is completed. - class SourceOperationResponse - include Google::Apis::Core::Hashable - - # The result of a SourceGetMetadataOperation. - # Corresponds to the JSON property `getMetadata` - # @return [Google::Apis::DataflowV1b3::SourceGetMetadataResponse] - attr_accessor :get_metadata - - # The response to a SourceSplitRequest. - # Corresponds to the JSON property `split` - # @return [Google::Apis::DataflowV1b3::SourceSplitResponse] - attr_accessor :split - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @get_metadata = args[:get_metadata] if args.key?(:get_metadata) - @split = args[:split] if args.key?(:split) - end - end - - # Response to a send capture request. - # nothing - class SendDebugCaptureResponse - include Google::Apis::Core::Hashable - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - end - end - - # Information about a side input of a DoFn or an input of a SeqDoFn. - class SideInputInfo - include Google::Apis::Core::Hashable - - # The source(s) to read element(s) from to get the value of this side input. - # If more than one source, then the elements are taken from the - # sources, in the specified order if order matters. - # At least one source is required. - # Corresponds to the JSON property `sources` - # @return [Array] - attr_accessor :sources - - # How to interpret the source element(s) as a side input value. - # Corresponds to the JSON property `kind` - # @return [Hash] - attr_accessor :kind - - # The id of the tag the user code will access this side input by; - # this should correspond to the tag of some MultiOutputInfo. - # Corresponds to the JSON property `tag` - # @return [String] - attr_accessor :tag - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @sources = args[:sources] if args.key?(:sources) - @kind = args[:kind] if args.key?(:kind) - @tag = args[:tag] if args.key?(:tag) - end - end - - # A single message which encapsulates structured name and metadata for a given - # counter. - class CounterStructuredNameAndMetadata - include Google::Apis::Core::Hashable - - # Identifies a counter within a per-job namespace. Counters whose structured - # names are the same get merged into a single value for the job. - # Corresponds to the JSON property `name` - # @return [Google::Apis::DataflowV1b3::CounterStructuredName] - attr_accessor :name - - # CounterMetadata includes all static non-name non-value counter attributes. - # Corresponds to the JSON property `metadata` - # @return [Google::Apis::DataflowV1b3::CounterMetadata] - attr_accessor :metadata - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @name = args[:name] if args.key?(:name) - @metadata = args[:metadata] if args.key?(:metadata) - end - end - - # A position that encapsulates an inner position and an index for the inner - # position. A ConcatPosition can be used by a reader of a source that - # encapsulates a set of other sources. - class ConcatPosition - include Google::Apis::Core::Hashable - - # Position defines a position within a collection of data. The value - # can be either the end position, a key (used with ordered - # collections), a byte offset, or a record index. - # Corresponds to the JSON property `position` - # @return [Google::Apis::DataflowV1b3::Position] - attr_accessor :position - - # Index of the inner source. - # Corresponds to the JSON property `index` - # @return [Fixnum] - attr_accessor :index - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @position = args[:position] if args.key?(:position) - @index = args[:index] if args.key?(:index) - end - end - - # An instruction that writes records. - # Takes one input, produces no outputs. - class WriteInstruction - include Google::Apis::Core::Hashable - - # An input of an instruction, as a reference to an output of a - # producer instruction. - # Corresponds to the JSON property `input` - # @return [Google::Apis::DataflowV1b3::InstructionInput] - attr_accessor :input - - # A sink that records can be encoded and written to. - # Corresponds to the JSON property `sink` - # @return [Google::Apis::DataflowV1b3::Sink] - attr_accessor :sink - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @input = args[:input] if args.key?(:input) - @sink = args[:sink] if args.key?(:sink) - end - end - - # Describes full or partial data disk assignment information of the computation - # ranges. - class StreamingComputationRanges - include Google::Apis::Core::Hashable - - # The ID of the computation. - # Corresponds to the JSON property `computationId` - # @return [String] - attr_accessor :computation_id - - # Data disk assignments for ranges from this computation. - # Corresponds to the JSON property `rangeAssignments` - # @return [Array] - attr_accessor :range_assignments - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @computation_id = args[:computation_id] if args.key?(:computation_id) - @range_assignments = args[:range_assignments] if args.key?(:range_assignments) - end - end - - # Settings for WorkerPool autoscaling. - class AutoscalingSettings - include Google::Apis::Core::Hashable - - # The maximum number of workers to cap scaling at. - # Corresponds to the JSON property `maxNumWorkers` - # @return [Fixnum] - attr_accessor :max_num_workers - - # The algorithm to use for autoscaling. - # Corresponds to the JSON property `algorithm` - # @return [String] - attr_accessor :algorithm - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @max_num_workers = args[:max_num_workers] if args.key?(:max_num_workers) - @algorithm = args[:algorithm] if args.key?(:algorithm) - end - end - - # Description of the composing transforms, names/ids, and input/outputs of a - # stage of execution. Some composing transforms and sources may have been - # generated by the Dataflow service during execution planning. - class ExecutionStageSummary - include Google::Apis::Core::Hashable - - # Output sources for this stage. - # Corresponds to the JSON property `outputSource` - # @return [Array] - attr_accessor :output_source - - # Dataflow service generated name for this stage. - # Corresponds to the JSON property `name` - # @return [String] - attr_accessor :name - - # Input sources for this stage. - # Corresponds to the JSON property `inputSource` - # @return [Array] - attr_accessor :input_source - - # Dataflow service generated id for this stage. - # Corresponds to the JSON property `id` - # @return [String] - attr_accessor :id - - # Transforms that comprise this execution stage. - # Corresponds to the JSON property `componentTransform` - # @return [Array] - attr_accessor :component_transform - - # Collections produced and consumed by component transforms of this stage. - # Corresponds to the JSON property `componentSource` - # @return [Array] - attr_accessor :component_source - - # Type of tranform this stage is executing. - # Corresponds to the JSON property `kind` - # @return [String] - attr_accessor :kind - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @output_source = args[:output_source] if args.key?(:output_source) - @name = args[:name] if args.key?(:name) - @input_source = args[:input_source] if args.key?(:input_source) - @id = args[:id] if args.key?(:id) - @component_transform = args[:component_transform] if args.key?(:component_transform) - @component_source = args[:component_source] if args.key?(:component_source) - @kind = args[:kind] if args.key?(:kind) - end - end - - # A request for sending worker messages to the service. - class SendWorkerMessagesRequest - include Google::Apis::Core::Hashable - - # The WorkerMessages to send. - # Corresponds to the JSON property `workerMessages` - # @return [Array] - attr_accessor :worker_messages - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @worker_messages = args[:worker_messages] if args.key?(:worker_messages) - end - end - - # DEPRECATED in favor of DerivedSource. - class SourceSplitShard - include Google::Apis::Core::Hashable - - # DEPRECATED - # Corresponds to the JSON property `derivationMode` - # @return [String] - attr_accessor :derivation_mode - - # A source that records can be read and decoded from. - # Corresponds to the JSON property `source` - # @return [Google::Apis::DataflowV1b3::Source] - attr_accessor :source - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @derivation_mode = args[:derivation_mode] if args.key?(:derivation_mode) - @source = args[:source] if args.key?(:source) - end - end - - # Modeled after information exposed by /proc/stat. - class CpuTime - include Google::Apis::Core::Hashable - - # Total active CPU time across all cores (ie., non-idle) in milliseconds - # since start-up. - # Corresponds to the JSON property `totalMs` - # @return [String] - attr_accessor :total_ms - - # Average CPU utilization rate (% non-idle cpu / second) since previous - # sample. - # Corresponds to the JSON property `rate` - # @return [Float] - attr_accessor :rate - - # Timestamp of the measurement. - # Corresponds to the JSON property `timestamp` - # @return [String] - attr_accessor :timestamp - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @total_ms = args[:total_ms] if args.key?(:total_ms) - @rate = args[:rate] if args.key?(:rate) - @timestamp = args[:timestamp] if args.key?(:timestamp) - end - end - - # Describes the environment in which a Dataflow Job runs. - class Environment - include Google::Apis::Core::Hashable - - # The list of experiments to enable. - # Corresponds to the JSON property `experiments` - # @return [Array] - attr_accessor :experiments - - # Experimental settings. - # Corresponds to the JSON property `internalExperiments` - # @return [Hash] - attr_accessor :internal_experiments - - # A structure describing which components and their versions of the service - # are required in order to run the job. - # Corresponds to the JSON property `version` - # @return [Hash] - attr_accessor :version - - # Identity to run virtual machines as. Defaults to the default account. - # Corresponds to the JSON property `serviceAccountEmail` - # @return [String] - attr_accessor :service_account_email - - # The Cloud Dataflow SDK pipeline options specified by the user. These - # options are passed through the service and are used to recreate the - # SDK pipeline options on the worker in a language agnostic and platform - # independent way. - # Corresponds to the JSON property `sdkPipelineOptions` - # @return [Hash] - attr_accessor :sdk_pipeline_options - - # A description of the process that generated the request. - # Corresponds to the JSON property `userAgent` - # @return [Hash] - attr_accessor :user_agent - - # The type of cluster manager API to use. If unknown or - # unspecified, the service will attempt to choose a reasonable - # default. This should be in the form of the API service name, - # e.g. "compute.googleapis.com". - # Corresponds to the JSON property `clusterManagerApiService` - # @return [String] - attr_accessor :cluster_manager_api_service - - # The prefix of the resources the system should use for temporary - # storage. The system will append the suffix "/temp-`JOBNAME` to - # this resource prefix, where `JOBNAME` is the value of the - # job_name field. The resulting bucket and object prefix is used - # as the prefix of the resources used to store temporary data - # needed during the job execution. NOTE: This will override the - # value in taskrunner_settings. - # The supported resource type is: - # Google Cloud Storage: - # storage.googleapis.com/`bucket`/`object` - # bucket.storage.googleapis.com/`object` - # Corresponds to the JSON property `tempStoragePrefix` - # @return [String] - attr_accessor :temp_storage_prefix - - # The worker pools. At least one "harness" worker pool must be - # specified in order for the job to have workers. - # Corresponds to the JSON property `workerPools` - # @return [Array] - attr_accessor :worker_pools - - # The dataset for the current project where various workflow - # related tables are stored. - # The supported resource type is: - # Google BigQuery: - # bigquery.googleapis.com/`dataset` - # Corresponds to the JSON property `dataset` - # @return [String] - attr_accessor :dataset - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @experiments = args[:experiments] if args.key?(:experiments) - @internal_experiments = args[:internal_experiments] if args.key?(:internal_experiments) - @version = args[:version] if args.key?(:version) - @service_account_email = args[:service_account_email] if args.key?(:service_account_email) - @sdk_pipeline_options = args[:sdk_pipeline_options] if args.key?(:sdk_pipeline_options) - @user_agent = args[:user_agent] if args.key?(:user_agent) - @cluster_manager_api_service = args[:cluster_manager_api_service] if args.key?(:cluster_manager_api_service) - @temp_storage_prefix = args[:temp_storage_prefix] if args.key?(:temp_storage_prefix) - @worker_pools = args[:worker_pools] if args.key?(:worker_pools) - @dataset = args[:dataset] if args.key?(:dataset) - end - end - - # A task which describes what action should be performed for the specified - # streaming computation ranges. - class StreamingComputationTask - include Google::Apis::Core::Hashable - - # Contains ranges of a streaming computation this task should apply to. - # Corresponds to the JSON property `computationRanges` - # @return [Array] - attr_accessor :computation_ranges - - # Describes the set of data disks this task should apply to. - # Corresponds to the JSON property `dataDisks` - # @return [Array] - attr_accessor :data_disks - - # A type of streaming computation task. - # Corresponds to the JSON property `taskType` - # @return [String] - attr_accessor :task_type - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @computation_ranges = args[:computation_ranges] if args.key?(:computation_ranges) - @data_disks = args[:data_disks] if args.key?(:data_disks) - @task_type = args[:task_type] if args.key?(:task_type) - end - end - - # Request to send encoded debug information. - class SendDebugCaptureRequest - include Google::Apis::Core::Hashable - - # The encoded debug information. - # Corresponds to the JSON property `data` - # @return [String] - attr_accessor :data - - # The internal component id for which debug information is sent. - # Corresponds to the JSON property `componentId` - # @return [String] - attr_accessor :component_id - - # The worker id, i.e., VM hostname. - # Corresponds to the JSON property `workerId` - # @return [String] - attr_accessor :worker_id - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @data = args[:data] if args.key?(:data) - @component_id = args[:component_id] if args.key?(:component_id) - @worker_id = args[:worker_id] if args.key?(:worker_id) - end - end - - # Response to a get debug configuration request. - class GetDebugConfigResponse - include Google::Apis::Core::Hashable - - # The encoded debug configuration for the requested component. - # Corresponds to the JSON property `config` - # @return [String] - attr_accessor :config - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @config = args[:config] if args.key?(:config) - end - end - - # Description of a transform executed as part of an execution stage. - class ComponentTransform - include Google::Apis::Core::Hashable - - # User name for the original user transform with which this transform is - # most closely associated. - # Corresponds to the JSON property `originalTransform` - # @return [String] - attr_accessor :original_transform - - # Dataflow service generated name for this source. - # Corresponds to the JSON property `name` - # @return [String] - attr_accessor :name - - # Human-readable name for this transform; may be user or system generated. - # Corresponds to the JSON property `userName` - # @return [String] - attr_accessor :user_name - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @original_transform = args[:original_transform] if args.key?(:original_transform) - @name = args[:name] if args.key?(:name) - @user_name = args[:user_name] if args.key?(:user_name) - end - end - - # A task which initializes part of a streaming Dataflow job. - class StreamingSetupTask - include Google::Apis::Core::Hashable - - # The TCP port used by the worker to communicate with the Dataflow - # worker harness. - # Corresponds to the JSON property `workerHarnessPort` - # @return [Fixnum] - attr_accessor :worker_harness_port - - # The user has requested drain. - # Corresponds to the JSON property `drain` - # @return [Boolean] - attr_accessor :drain - alias_method :drain?, :drain - - # The TCP port on which the worker should listen for messages from - # other streaming computation workers. - # Corresponds to the JSON property `receiveWorkPort` - # @return [Fixnum] - attr_accessor :receive_work_port - - # Global topology of the streaming Dataflow job, including all - # computations and their sharded locations. - # Corresponds to the JSON property `streamingComputationTopology` - # @return [Google::Apis::DataflowV1b3::TopologyConfig] - attr_accessor :streaming_computation_topology - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @worker_harness_port = args[:worker_harness_port] if args.key?(:worker_harness_port) - @drain = args[:drain] if args.key?(:drain) - @receive_work_port = args[:receive_work_port] if args.key?(:receive_work_port) - @streaming_computation_topology = args[:streaming_computation_topology] if args.key?(:streaming_computation_topology) - end - end - - # Identifies a pubsub location to use for transferring data into or - # out of a streaming Dataflow job. - class PubsubLocation - include Google::Apis::Core::Hashable - - # If set, specifies the pubsub subscription that will be used for tracking - # custom time timestamps for watermark estimation. - # Corresponds to the JSON property `trackingSubscription` - # @return [String] - attr_accessor :tracking_subscription - - # If true, then the client has requested to get pubsub attributes. - # Corresponds to the JSON property `withAttributes` - # @return [Boolean] - attr_accessor :with_attributes - alias_method :with_attributes?, :with_attributes - - # If set, contains a pubsub label from which to extract record ids. - # If left empty, record deduplication will be strictly best effort. - # Corresponds to the JSON property `idLabel` - # @return [String] - attr_accessor :id_label - - # A pubsub topic, in the form of - # "pubsub.googleapis.com/topics//" - # Corresponds to the JSON property `topic` - # @return [String] - attr_accessor :topic - - # If set, contains a pubsub label from which to extract record timestamps. - # If left empty, record timestamps will be generated upon arrival. - # Corresponds to the JSON property `timestampLabel` - # @return [String] - attr_accessor :timestamp_label - - # A pubsub subscription, in the form of - # "pubsub.googleapis.com/subscriptions//" - # Corresponds to the JSON property `subscription` - # @return [String] - attr_accessor :subscription - - # Indicates whether the pipeline allows late-arriving data. - # Corresponds to the JSON property `dropLateData` - # @return [Boolean] - attr_accessor :drop_late_data - alias_method :drop_late_data?, :drop_late_data - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @tracking_subscription = args[:tracking_subscription] if args.key?(:tracking_subscription) - @with_attributes = args[:with_attributes] if args.key?(:with_attributes) - @id_label = args[:id_label] if args.key?(:id_label) - @topic = args[:topic] if args.key?(:topic) - @timestamp_label = args[:timestamp_label] if args.key?(:timestamp_label) - @subscription = args[:subscription] if args.key?(:subscription) - @drop_late_data = args[:drop_late_data] if args.key?(:drop_late_data) - end - end - - # WorkerHealthReport contains information about the health of a worker. - # The VM should be identified by the labels attached to the WorkerMessage that - # this health ping belongs to. - class WorkerHealthReport - include Google::Apis::Core::Hashable - - # The time the VM was booted. - # Corresponds to the JSON property `vmStartupTime` - # @return [String] - attr_accessor :vm_startup_time - - # Whether the VM is healthy. - # Corresponds to the JSON property `vmIsHealthy` - # @return [Boolean] - attr_accessor :vm_is_healthy - alias_method :vm_is_healthy?, :vm_is_healthy - - # The interval at which the worker is sending health reports. - # The default value of 0 should be interpreted as the field is not being - # explicitly set by the worker. - # Corresponds to the JSON property `reportInterval` - # @return [String] - attr_accessor :report_interval - - # The pods running on the worker. See: - # http://kubernetes.io/v1.1/docs/api-reference/v1/definitions.html#_v1_pod - # This field is used by the worker to send the status of the indvidual - # containers running on each worker. - # Corresponds to the JSON property `pods` - # @return [Array>] - attr_accessor :pods - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @vm_startup_time = args[:vm_startup_time] if args.key?(:vm_startup_time) - @vm_is_healthy = args[:vm_is_healthy] if args.key?(:vm_is_healthy) - @report_interval = args[:report_interval] if args.key?(:report_interval) - @pods = args[:pods] if args.key?(:pods) - end - end - - # A particular message pertaining to a Dataflow job. - class JobMessage - include Google::Apis::Core::Hashable - - # The text of the message. - # Corresponds to the JSON property `messageText` - # @return [String] - attr_accessor :message_text - - # Importance level of the message. - # Corresponds to the JSON property `messageImportance` - # @return [String] - attr_accessor :message_importance - - # The timestamp of the message. - # Corresponds to the JSON property `time` - # @return [String] - attr_accessor :time - - # Identifies the message. This is automatically generated by the - # service; the caller should treat it as an opaque string. - # Corresponds to the JSON property `id` - # @return [String] - attr_accessor :id - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @message_text = args[:message_text] if args.key?(:message_text) - @message_importance = args[:message_importance] if args.key?(:message_importance) - @time = args[:time] if args.key?(:time) - @id = args[:id] if args.key?(:id) - end - end - - # Metadata for a specific parameter. - class ParameterMetadata - include Google::Apis::Core::Hashable - - # Optional. Whether the parameter is optional. Defaults to false. - # Corresponds to the JSON property `isOptional` - # @return [Boolean] - attr_accessor :is_optional - alias_method :is_optional?, :is_optional - - # Required. The name of the parameter. - # Corresponds to the JSON property `name` - # @return [String] - attr_accessor :name - - # Optional. Regexes that the parameter must match. - # Corresponds to the JSON property `regexes` - # @return [Array] - attr_accessor :regexes - - # Required. The label to display for the parameter. - # Corresponds to the JSON property `label` - # @return [String] - attr_accessor :label - - # Required. The help text to display for the parameter. - # Corresponds to the JSON property `helpText` - # @return [String] - attr_accessor :help_text - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @is_optional = args[:is_optional] if args.key?(:is_optional) - @name = args[:name] if args.key?(:name) - @regexes = args[:regexes] if args.key?(:regexes) - @label = args[:label] if args.key?(:label) - @help_text = args[:help_text] if args.key?(:help_text) - end - end - - # Information about an output of a multi-output DoFn. - class MultiOutputInfo - include Google::Apis::Core::Hashable - - # The id of the tag the user code will emit to this output by; this - # should correspond to the tag of some SideInputInfo. - # Corresponds to the JSON property `tag` - # @return [String] - attr_accessor :tag - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @tag = args[:tag] if args.key?(:tag) - end - end - - # Represents the operation to split a high-level Source specification - # into bundles (parts for parallel processing). - # At a high level, splitting of a source into bundles happens as follows: - # SourceSplitRequest is applied to the source. If it returns - # SOURCE_SPLIT_OUTCOME_USE_CURRENT, no further splitting happens and the source - # is used "as is". Otherwise, splitting is applied recursively to each - # produced DerivedSource. - # As an optimization, for any Source, if its does_not_need_splitting is - # true, the framework assumes that splitting this source would return - # SOURCE_SPLIT_OUTCOME_USE_CURRENT, and doesn't initiate a SourceSplitRequest. - # This applies both to the initial source being split and to bundles - # produced from it. - class SourceSplitRequest - include Google::Apis::Core::Hashable - - # A source that records can be read and decoded from. - # Corresponds to the JSON property `source` - # @return [Google::Apis::DataflowV1b3::Source] - attr_accessor :source - - # Hints for splitting a Source into bundles (parts for parallel - # processing) using SourceSplitRequest. - # Corresponds to the JSON property `options` - # @return [Google::Apis::DataflowV1b3::SourceSplitOptions] - attr_accessor :options - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @source = args[:source] if args.key?(:source) - @options = args[:options] if args.key?(:options) - end - end - - # The result of a SourceGetMetadataOperation. - class SourceGetMetadataResponse - include Google::Apis::Core::Hashable - - # Metadata about a Source useful for automatically optimizing - # and tuning the pipeline, etc. - # Corresponds to the JSON property `metadata` - # @return [Google::Apis::DataflowV1b3::SourceMetadata] - attr_accessor :metadata - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @metadata = args[:metadata] if args.key?(:metadata) - end - end - - # A task which consists of a shell command for the worker to execute. - class ShellTask - include Google::Apis::Core::Hashable - - # The shell command to run. - # Corresponds to the JSON property `command` - # @return [String] - attr_accessor :command - - # Exit code for the task. - # Corresponds to the JSON property `exitCode` - # @return [Fixnum] - attr_accessor :exit_code - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @command = args[:command] if args.key?(:command) - @exit_code = args[:exit_code] if args.key?(:exit_code) - end - end - # The metric short id is returned to the user alongside an offset into # ReportWorkItemStatusRequest class MetricShortId @@ -2998,7 +35,7 @@ module Google # The service-generated short identifier for the metric. # Corresponds to the JSON property `shortId` - # @return [String] + # @return [Fixnum] attr_accessor :short_id def initialize(**args) @@ -3012,10 +49,47 @@ module Google end end + # A task which consists of a shell command for the worker to execute. + class ShellTask + include Google::Apis::Core::Hashable + + # Exit code for the task. + # Corresponds to the JSON property `exitCode` + # @return [Fixnum] + attr_accessor :exit_code + + # The shell command to run. + # Corresponds to the JSON property `command` + # @return [String] + attr_accessor :command + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @exit_code = args[:exit_code] if args.key?(:exit_code) + @command = args[:command] if args.key?(:command) + end + end + # Taskrunner configuration settings. class TaskRunnerSettings include Google::Apis::Core::Hashable + # Whether to also send taskrunner log info to stderr. + # Corresponds to the JSON property `alsologtostderr` + # @return [Boolean] + attr_accessor :alsologtostderr + alias_method :alsologtostderr?, :alsologtostderr + + # The UNIX group ID on the worker VM to use for tasks launched by + # taskrunner; e.g. "wheel". + # Corresponds to the JSON property `taskGroup` + # @return [String] + attr_accessor :task_group + # The command to launch the worker harness. # Corresponds to the JSON property `harnessCommand` # @return [String] @@ -3026,16 +100,21 @@ module Google # @return [String] attr_accessor :log_dir + # The API version of endpoint, e.g. "v1b3" + # Corresponds to the JSON property `dataflowApiVersion` + # @return [String] + attr_accessor :dataflow_api_version + # The OAuth2 scopes to be requested by the taskrunner in order to # access the Cloud Dataflow API. # Corresponds to the JSON property `oauthScopes` # @return [Array] attr_accessor :oauth_scopes - # The API version of endpoint, e.g. "v1b3" - # Corresponds to the JSON property `dataflowApiVersion` + # The streaming worker main class name. + # Corresponds to the JSON property `streamingWorkerMainClass` # @return [String] - attr_accessor :dataflow_api_version + attr_accessor :streaming_worker_main_class # Indicates where to put logs. If this is not specified, the logs # will not be uploaded. @@ -3047,11 +126,6 @@ module Google # @return [String] attr_accessor :log_upload_location - # The streaming worker main class name. - # Corresponds to the JSON property `streamingWorkerMainClass` - # @return [String] - attr_accessor :streaming_worker_main_class - # The file to store the workflow in. # Corresponds to the JSON property `workflowFileName` # @return [String] @@ -3111,28 +185,16 @@ module Google # @return [Google::Apis::DataflowV1b3::WorkerSettings] attr_accessor :parallel_worker_settings - # The ID string of the VM. - # Corresponds to the JSON property `vmId` - # @return [String] - attr_accessor :vm_id - # The UNIX user ID on the worker VM to use for tasks launched by # taskrunner; e.g. "root". # Corresponds to the JSON property `taskUser` # @return [String] attr_accessor :task_user - # Whether to also send taskrunner log info to stderr. - # Corresponds to the JSON property `alsologtostderr` - # @return [Boolean] - attr_accessor :alsologtostderr - alias_method :alsologtostderr?, :alsologtostderr - - # The UNIX group ID on the worker VM to use for tasks launched by - # taskrunner; e.g. "wheel". - # Corresponds to the JSON property `taskGroup` + # The ID string of the VM. + # Corresponds to the JSON property `vmId` # @return [String] - attr_accessor :task_group + attr_accessor :vm_id def initialize(**args) update!(**args) @@ -3140,12 +202,14 @@ module Google # Update properties of this object def update!(**args) + @alsologtostderr = args[:alsologtostderr] if args.key?(:alsologtostderr) + @task_group = args[:task_group] if args.key?(:task_group) @harness_command = args[:harness_command] if args.key?(:harness_command) @log_dir = args[:log_dir] if args.key?(:log_dir) - @oauth_scopes = args[:oauth_scopes] if args.key?(:oauth_scopes) @dataflow_api_version = args[:dataflow_api_version] if args.key?(:dataflow_api_version) - @log_upload_location = args[:log_upload_location] if args.key?(:log_upload_location) + @oauth_scopes = args[:oauth_scopes] if args.key?(:oauth_scopes) @streaming_worker_main_class = args[:streaming_worker_main_class] if args.key?(:streaming_worker_main_class) + @log_upload_location = args[:log_upload_location] if args.key?(:log_upload_location) @workflow_file_name = args[:workflow_file_name] if args.key?(:workflow_file_name) @base_task_dir = args[:base_task_dir] if args.key?(:base_task_dir) @temp_storage_prefix = args[:temp_storage_prefix] if args.key?(:temp_storage_prefix) @@ -3155,10 +219,8 @@ module Google @log_to_serialconsole = args[:log_to_serialconsole] if args.key?(:log_to_serialconsole) @continue_on_exception = args[:continue_on_exception] if args.key?(:continue_on_exception) @parallel_worker_settings = args[:parallel_worker_settings] if args.key?(:parallel_worker_settings) - @vm_id = args[:vm_id] if args.key?(:vm_id) @task_user = args[:task_user] if args.key?(:task_user) - @alsologtostderr = args[:alsologtostderr] if args.key?(:alsologtostderr) - @task_group = args[:task_group] if args.key?(:task_group) + @vm_id = args[:vm_id] if args.key?(:vm_id) end end @@ -3170,7 +232,7 @@ module Google # Position is a record index. # Corresponds to the JSON property `recordIndex` - # @return [String] + # @return [Fixnum] attr_accessor :record_index # CloudPosition is a base64 encoded BatchShufflePosition (with FIXED @@ -3188,7 +250,7 @@ module Google # Position is a byte offset. # Corresponds to the JSON property `byteOffset` - # @return [String] + # @return [Fixnum] attr_accessor :byte_offset # Position is past all other positions. Also useful for the end @@ -3222,11 +284,6 @@ module Google class Source include Google::Apis::Core::Hashable - # The source to read from, plus its parameters. - # Corresponds to the JSON property `spec` - # @return [Hash] - attr_accessor :spec - # Metadata about a Source useful for automatically optimizing # and tuning the pipeline, etc. # Corresponds to the JSON property `metadata` @@ -3268,17 +325,22 @@ module Google attr_accessor :does_not_need_splitting alias_method :does_not_need_splitting?, :does_not_need_splitting + # The source to read from, plus its parameters. + # Corresponds to the JSON property `spec` + # @return [Hash] + attr_accessor :spec + def initialize(**args) update!(**args) end # Update properties of this object def update!(**args) - @spec = args[:spec] if args.key?(:spec) @metadata = args[:metadata] if args.key?(:metadata) @base_specs = args[:base_specs] if args.key?(:base_specs) @codec = args[:codec] if args.key?(:codec) @does_not_need_splitting = args[:does_not_need_splitting] if args.key?(:does_not_need_splitting) + @spec = args[:spec] if args.key?(:spec) end end @@ -3316,12 +378,60 @@ module Google class WorkerPool include Google::Apis::Core::Hashable - # The default package set to install. This allows the service to - # select a default set of packages which are useful to worker - # harnesses written in a particular language. - # Corresponds to the JSON property `defaultPackageSet` + # Required. Docker container image that executes the Cloud Dataflow worker + # harness, residing in Google Container Registry. + # Corresponds to the JSON property `workerHarnessContainerImage` # @return [String] - attr_accessor :default_package_set + attr_accessor :worker_harness_container_image + + # Type of root disk for VMs. If empty or unspecified, the service will + # attempt to choose a reasonable default. + # Corresponds to the JSON property `diskType` + # @return [String] + attr_accessor :disk_type + + # Machine type (e.g. "n1-standard-1"). If empty or unspecified, the + # service will attempt to choose a reasonable default. + # Corresponds to the JSON property `machineType` + # @return [String] + attr_accessor :machine_type + + # The kind of the worker pool; currently only `harness` and `shuffle` + # are supported. + # Corresponds to the JSON property `kind` + # @return [String] + attr_accessor :kind + + # Data disks that are used by a VM in this workflow. + # Corresponds to the JSON property `dataDisks` + # @return [Array] + attr_accessor :data_disks + + # Subnetwork to which VMs will be assigned, if desired. Expected to be of + # the form "regions/REGION/subnetworks/SUBNETWORK". + # Corresponds to the JSON property `subnetwork` + # @return [String] + attr_accessor :subnetwork + + # Configuration for VM IPs. + # Corresponds to the JSON property `ipConfiguration` + # @return [String] + attr_accessor :ip_configuration + + # Settings for WorkerPool autoscaling. + # Corresponds to the JSON property `autoscalingSettings` + # @return [Google::Apis::DataflowV1b3::AutoscalingSettings] + attr_accessor :autoscaling_settings + + # Taskrunner configuration settings. + # Corresponds to the JSON property `taskrunnerSettings` + # @return [Google::Apis::DataflowV1b3::TaskRunnerSettings] + attr_accessor :taskrunner_settings + + # Metadata to set on the Google Compute Engine VMs. + # Corresponds to the JSON property `metadata` + # @return [Hash] + attr_accessor :metadata # Network to which VMs will be assigned. If empty or unspecified, # the service will use the network "default". @@ -3329,19 +439,19 @@ module Google # @return [String] attr_accessor :network + # The default package set to install. This allows the service to + # select a default set of packages which are useful to worker + # harnesses written in a particular language. + # Corresponds to the JSON property `defaultPackageSet` + # @return [String] + attr_accessor :default_package_set + # Zone to run the worker pools in. If empty or unspecified, the service # will attempt to choose a reasonable default. # Corresponds to the JSON property `zone` # @return [String] attr_accessor :zone - # Number of Google Compute Engine workers in this pool needed to - # execute the job. If zero or unspecified, the service will - # attempt to choose a reasonable default. - # Corresponds to the JSON property `numWorkers` - # @return [Fixnum] - attr_accessor :num_workers - # The number of threads per worker harness. If empty or unspecified, the # service will choose a number of threads (according to the number of cores # on the selected machine type for batch, or 1 by convention for streaming). @@ -3349,6 +459,13 @@ module Google # @return [Fixnum] attr_accessor :num_threads_per_worker + # Number of Google Compute Engine workers in this pool needed to + # execute the job. If zero or unspecified, the service will + # attempt to choose a reasonable default. + # Corresponds to the JSON property `numWorkers` + # @return [Fixnum] + attr_accessor :num_workers + # Fully qualified source image for disks. # Corresponds to the JSON property `diskSourceImage` # @return [String] @@ -3394,78 +511,12 @@ module Google # @return [Fixnum] attr_accessor :disk_size_gb - # Required. Docker container image that executes the Cloud Dataflow worker - # harness, residing in Google Container Registry. - # Corresponds to the JSON property `workerHarnessContainerImage` - # @return [String] - attr_accessor :worker_harness_container_image - - # Type of root disk for VMs. If empty or unspecified, the service will - # attempt to choose a reasonable default. - # Corresponds to the JSON property `diskType` - # @return [String] - attr_accessor :disk_type - - # Machine type (e.g. "n1-standard-1"). If empty or unspecified, the - # service will attempt to choose a reasonable default. - # Corresponds to the JSON property `machineType` - # @return [String] - attr_accessor :machine_type - - # The kind of the worker pool; currently only `harness` and `shuffle` - # are supported. - # Corresponds to the JSON property `kind` - # @return [String] - attr_accessor :kind - - # Data disks that are used by a VM in this workflow. - # Corresponds to the JSON property `dataDisks` - # @return [Array] - attr_accessor :data_disks - - # Subnetwork to which VMs will be assigned, if desired. Expected to be of - # the form "regions/REGION/subnetworks/SUBNETWORK". - # Corresponds to the JSON property `subnetwork` - # @return [String] - attr_accessor :subnetwork - - # Configuration for VM IPs. - # Corresponds to the JSON property `ipConfiguration` - # @return [String] - attr_accessor :ip_configuration - - # Taskrunner configuration settings. - # Corresponds to the JSON property `taskrunnerSettings` - # @return [Google::Apis::DataflowV1b3::TaskRunnerSettings] - attr_accessor :taskrunner_settings - - # Settings for WorkerPool autoscaling. - # Corresponds to the JSON property `autoscalingSettings` - # @return [Google::Apis::DataflowV1b3::AutoscalingSettings] - attr_accessor :autoscaling_settings - - # Metadata to set on the Google Compute Engine VMs. - # Corresponds to the JSON property `metadata` - # @return [Hash] - attr_accessor :metadata - def initialize(**args) update!(**args) end # Update properties of this object def update!(**args) - @default_package_set = args[:default_package_set] if args.key?(:default_package_set) - @network = args[:network] if args.key?(:network) - @zone = args[:zone] if args.key?(:zone) - @num_workers = args[:num_workers] if args.key?(:num_workers) - @num_threads_per_worker = args[:num_threads_per_worker] if args.key?(:num_threads_per_worker) - @disk_source_image = args[:disk_source_image] if args.key?(:disk_source_image) - @packages = args[:packages] if args.key?(:packages) - @teardown_policy = args[:teardown_policy] if args.key?(:teardown_policy) - @on_host_maintenance = args[:on_host_maintenance] if args.key?(:on_host_maintenance) - @pool_args = args[:pool_args] if args.key?(:pool_args) - @disk_size_gb = args[:disk_size_gb] if args.key?(:disk_size_gb) @worker_harness_container_image = args[:worker_harness_container_image] if args.key?(:worker_harness_container_image) @disk_type = args[:disk_type] if args.key?(:disk_type) @machine_type = args[:machine_type] if args.key?(:machine_type) @@ -3473,9 +524,20 @@ module Google @data_disks = args[:data_disks] if args.key?(:data_disks) @subnetwork = args[:subnetwork] if args.key?(:subnetwork) @ip_configuration = args[:ip_configuration] if args.key?(:ip_configuration) - @taskrunner_settings = args[:taskrunner_settings] if args.key?(:taskrunner_settings) @autoscaling_settings = args[:autoscaling_settings] if args.key?(:autoscaling_settings) + @taskrunner_settings = args[:taskrunner_settings] if args.key?(:taskrunner_settings) @metadata = args[:metadata] if args.key?(:metadata) + @network = args[:network] if args.key?(:network) + @default_package_set = args[:default_package_set] if args.key?(:default_package_set) + @zone = args[:zone] if args.key?(:zone) + @num_threads_per_worker = args[:num_threads_per_worker] if args.key?(:num_threads_per_worker) + @num_workers = args[:num_workers] if args.key?(:num_workers) + @disk_source_image = args[:disk_source_image] if args.key?(:disk_source_image) + @packages = args[:packages] if args.key?(:packages) + @teardown_policy = args[:teardown_policy] if args.key?(:teardown_policy) + @on_host_maintenance = args[:on_host_maintenance] if args.key?(:on_host_maintenance) + @pool_args = args[:pool_args] if args.key?(:pool_args) + @disk_size_gb = args[:disk_size_gb] if args.key?(:disk_size_gb) end end @@ -3521,6 +583,42 @@ module Google class WorkItem include Google::Apis::Core::Hashable + # Time when the lease on this Work will expire. + # Corresponds to the JSON property `leaseExpireTime` + # @return [String] + attr_accessor :lease_expire_time + + # A task that carries configuration information for streaming computations. + # Corresponds to the JSON property `streamingConfigTask` + # @return [Google::Apis::DataflowV1b3::StreamingConfigTask] + attr_accessor :streaming_config_task + + # The initial index to use when reporting the status of the WorkItem. + # Corresponds to the JSON property `initialReportIndex` + # @return [Fixnum] + attr_accessor :initial_report_index + + # A task which describes what action should be performed for the specified + # streaming computation ranges. + # Corresponds to the JSON property `streamingComputationTask` + # @return [Google::Apis::DataflowV1b3::StreamingComputationTask] + attr_accessor :streaming_computation_task + + # A task which consists of a shell command for the worker to execute. + # Corresponds to the JSON property `shellTask` + # @return [Google::Apis::DataflowV1b3::ShellTask] + attr_accessor :shell_task + + # Identifies the workflow job this WorkItem belongs to. + # Corresponds to the JSON property `jobId` + # @return [String] + attr_accessor :job_id + + # Identifies this WorkItem. + # Corresponds to the JSON property `id` + # @return [Fixnum] + attr_accessor :id + # Work item-specific configuration as an opaque blob. # Corresponds to the JSON property `configuration` # @return [String] @@ -3551,57 +649,21 @@ module Google # @return [String] attr_accessor :project_id - # Recommended reporting interval. - # Corresponds to the JSON property `reportStatusInterval` - # @return [String] - attr_accessor :report_status_interval - - # A task which initializes part of a streaming Dataflow job. - # Corresponds to the JSON property `streamingSetupTask` - # @return [Google::Apis::DataflowV1b3::StreamingSetupTask] - attr_accessor :streaming_setup_task - # A work item that represents the different operations that can be # performed on a user-defined Source specification. # Corresponds to the JSON property `sourceOperationTask` # @return [Google::Apis::DataflowV1b3::SourceOperationRequest] attr_accessor :source_operation_task - # Time when the lease on this Work will expire. - # Corresponds to the JSON property `leaseExpireTime` + # A task which initializes part of a streaming Dataflow job. + # Corresponds to the JSON property `streamingSetupTask` + # @return [Google::Apis::DataflowV1b3::StreamingSetupTask] + attr_accessor :streaming_setup_task + + # Recommended reporting interval. + # Corresponds to the JSON property `reportStatusInterval` # @return [String] - attr_accessor :lease_expire_time - - # A task that carries configuration information for streaming computations. - # Corresponds to the JSON property `streamingConfigTask` - # @return [Google::Apis::DataflowV1b3::StreamingConfigTask] - attr_accessor :streaming_config_task - - # The initial index to use when reporting the status of the WorkItem. - # Corresponds to the JSON property `initialReportIndex` - # @return [String] - attr_accessor :initial_report_index - - # A task which describes what action should be performed for the specified - # streaming computation ranges. - # Corresponds to the JSON property `streamingComputationTask` - # @return [Google::Apis::DataflowV1b3::StreamingComputationTask] - attr_accessor :streaming_computation_task - - # A task which consists of a shell command for the worker to execute. - # Corresponds to the JSON property `shellTask` - # @return [Google::Apis::DataflowV1b3::ShellTask] - attr_accessor :shell_task - - # Identifies the workflow job this WorkItem belongs to. - # Corresponds to the JSON property `jobId` - # @return [String] - attr_accessor :job_id - - # Identifies this WorkItem. - # Corresponds to the JSON property `id` - # @return [String] - attr_accessor :id + attr_accessor :report_status_interval def initialize(**args) update!(**args) @@ -3609,14 +671,6 @@ module Google # Update properties of this object def update!(**args) - @configuration = args[:configuration] if args.key?(:configuration) - @map_task = args[:map_task] if args.key?(:map_task) - @seq_map_task = args[:seq_map_task] if args.key?(:seq_map_task) - @packages = args[:packages] if args.key?(:packages) - @project_id = args[:project_id] if args.key?(:project_id) - @report_status_interval = args[:report_status_interval] if args.key?(:report_status_interval) - @streaming_setup_task = args[:streaming_setup_task] if args.key?(:streaming_setup_task) - @source_operation_task = args[:source_operation_task] if args.key?(:source_operation_task) @lease_expire_time = args[:lease_expire_time] if args.key?(:lease_expire_time) @streaming_config_task = args[:streaming_config_task] if args.key?(:streaming_config_task) @initial_report_index = args[:initial_report_index] if args.key?(:initial_report_index) @@ -3624,6 +678,14 @@ module Google @shell_task = args[:shell_task] if args.key?(:shell_task) @job_id = args[:job_id] if args.key?(:job_id) @id = args[:id] if args.key?(:id) + @configuration = args[:configuration] if args.key?(:configuration) + @map_task = args[:map_task] if args.key?(:map_task) + @seq_map_task = args[:seq_map_task] if args.key?(:seq_map_task) + @packages = args[:packages] if args.key?(:packages) + @project_id = args[:project_id] if args.key?(:project_id) + @source_operation_task = args[:source_operation_task] if args.key?(:source_operation_task) + @streaming_setup_task = args[:streaming_setup_task] if args.key?(:streaming_setup_task) + @report_status_interval = args[:report_status_interval] if args.key?(:report_status_interval) end end @@ -3632,6 +694,11 @@ module Google class ReportedParallelism include Google::Apis::Core::Hashable + # Specifies the level of parallelism in case it is finite. + # Corresponds to the JSON property `value` + # @return [Float] + attr_accessor :value + # Specifies whether the parallelism is infinite. If true, "value" is # ignored. # Infinite parallelism means the service will assume that the work item @@ -3643,19 +710,14 @@ module Google attr_accessor :is_infinite alias_method :is_infinite?, :is_infinite - # Specifies the level of parallelism in case it is finite. - # Corresponds to the JSON property `value` - # @return [Float] - attr_accessor :value - def initialize(**args) update!(**args) end # Update properties of this object def update!(**args) - @is_infinite = args[:is_infinite] if args.key?(:is_infinite) @value = args[:value] if args.key?(:value) + @is_infinite = args[:is_infinite] if args.key?(:is_infinite) end end @@ -3685,6 +747,11 @@ module Google class TopologyConfig include Google::Apis::Core::Hashable + # The size (in bits) of keys that will be assigned to source messages. + # Corresponds to the JSON property `forwardingKeyBits` + # @return [Fixnum] + attr_accessor :forwarding_key_bits + # Maps user stage names to stable computation names. # Corresponds to the JSON property `userStageToComputationNameMap` # @return [Hash] @@ -3705,22 +772,17 @@ module Google # @return [Fixnum] attr_accessor :persistent_state_version - # The size (in bits) of keys that will be assigned to source messages. - # Corresponds to the JSON property `forwardingKeyBits` - # @return [Fixnum] - attr_accessor :forwarding_key_bits - def initialize(**args) update!(**args) end # Update properties of this object def update!(**args) + @forwarding_key_bits = args[:forwarding_key_bits] if args.key?(:forwarding_key_bits) @user_stage_to_computation_name_map = args[:user_stage_to_computation_name_map] if args.key?(:user_stage_to_computation_name_map) @computations = args[:computations] if args.key?(:computations) @data_disk_assignments = args[:data_disk_assignments] if args.key?(:data_disk_assignments) @persistent_state_version = args[:persistent_state_version] if args.key?(:persistent_state_version) - @forwarding_key_bits = args[:forwarding_key_bits] if args.key?(:forwarding_key_bits) end end @@ -3732,12 +794,12 @@ module Google # The source should be split into a set of bundles where the estimated size # of each is approximately this many bytes. # Corresponds to the JSON property `desiredBundleSizeBytes` - # @return [String] + # @return [Fixnum] attr_accessor :desired_bundle_size_bytes # DEPRECATED in favor of desired_bundle_size_bytes. # Corresponds to the JSON property `desiredShardSizeBytes` - # @return [String] + # @return [Fixnum] attr_accessor :desired_shard_size_bytes def initialize(**args) @@ -3775,18 +837,6 @@ module Google class WorkerSettings include Google::Apis::Core::Hashable - # The Cloud Dataflow service path relative to the root URL, for example, - # "dataflow/v1b3/projects". - # Corresponds to the JSON property `servicePath` - # @return [String] - attr_accessor :service_path - - # The Shuffle service path relative to the root URL, for example, - # "shuffle/v1beta1". - # Corresponds to the JSON property `shuffleServicePath` - # @return [String] - attr_accessor :shuffle_service_path - # The ID of the worker running this pipeline. # Corresponds to the JSON property `workerId` # @return [String] @@ -3802,6 +852,12 @@ module Google # @return [String] attr_accessor :temp_storage_prefix + # Whether to send work progress updates to the service. + # Corresponds to the JSON property `reportingEnabled` + # @return [Boolean] + attr_accessor :reporting_enabled + alias_method :reporting_enabled?, :reporting_enabled + # The base URL for accessing Google Cloud APIs. # When workers access Google Cloud APIs, they logically do so via # relative URLs. If this field is specified, it supplies the base @@ -3813,11 +869,17 @@ module Google # @return [String] attr_accessor :base_url - # Whether to send work progress updates to the service. - # Corresponds to the JSON property `reportingEnabled` - # @return [Boolean] - attr_accessor :reporting_enabled - alias_method :reporting_enabled?, :reporting_enabled + # The Cloud Dataflow service path relative to the root URL, for example, + # "dataflow/v1b3/projects". + # Corresponds to the JSON property `servicePath` + # @return [String] + attr_accessor :service_path + + # The Shuffle service path relative to the root URL, for example, + # "shuffle/v1beta1". + # Corresponds to the JSON property `shuffleServicePath` + # @return [String] + attr_accessor :shuffle_service_path def initialize(**args) update!(**args) @@ -3825,41 +887,12 @@ module Google # Update properties of this object def update!(**args) - @service_path = args[:service_path] if args.key?(:service_path) - @shuffle_service_path = args[:shuffle_service_path] if args.key?(:shuffle_service_path) @worker_id = args[:worker_id] if args.key?(:worker_id) @temp_storage_prefix = args[:temp_storage_prefix] if args.key?(:temp_storage_prefix) - @base_url = args[:base_url] if args.key?(:base_url) @reporting_enabled = args[:reporting_enabled] if args.key?(:reporting_enabled) - end - end - - # Data disk assignment for a given VM instance. - class DataDiskAssignment - include Google::Apis::Core::Hashable - - # VM instance name the data disks mounted to, for example - # "myproject-1014-104817-4c2-harness-0". - # Corresponds to the JSON property `vmInstance` - # @return [String] - attr_accessor :vm_instance - - # Mounted data disks. The order is important a data disk's 0-based index in - # this list defines which persistent directory the disk is mounted to, for - # example the list of ` "myproject-1014-104817-4c2-harness-0-disk-0" `, - # ` "myproject-1014-104817-4c2-harness-0-disk-1" `. - # Corresponds to the JSON property `dataDisks` - # @return [Array] - attr_accessor :data_disks - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @vm_instance = args[:vm_instance] if args.key?(:vm_instance) - @data_disks = args[:data_disks] if args.key?(:data_disks) + @base_url = args[:base_url] if args.key?(:base_url) + @service_path = args[:service_path] if args.key?(:service_path) + @shuffle_service_path = args[:shuffle_service_path] if args.key?(:shuffle_service_path) end end @@ -3884,6 +917,35 @@ module Google end end + # Data disk assignment for a given VM instance. + class DataDiskAssignment + include Google::Apis::Core::Hashable + + # Mounted data disks. The order is important a data disk's 0-based index in + # this list defines which persistent directory the disk is mounted to, for + # example the list of ` "myproject-1014-104817-4c2-harness-0-disk-0" `, + # ` "myproject-1014-104817-4c2-harness-0-disk-1" `. + # Corresponds to the JSON property `dataDisks` + # @return [Array] + attr_accessor :data_disks + + # VM instance name the data disks mounted to, for example + # "myproject-1014-104817-4c2-harness-0". + # Corresponds to the JSON property `vmInstance` + # @return [String] + attr_accessor :vm_instance + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @data_disks = args[:data_disks] if args.key?(:data_disks) + @vm_instance = args[:vm_instance] if args.key?(:vm_instance) + end + end + # A suggestion by the service to the worker to dynamically split the WorkItem. class ApproximateSplitRequest include Google::Apis::Core::Hashable @@ -4066,11 +1128,6 @@ module Google class TransformSummary include Google::Apis::Core::Hashable - # User provided name for this transform instance. - # Corresponds to the JSON property `name` - # @return [String] - attr_accessor :name - # SDK generated id of this transform instance. # Corresponds to the JSON property `id` # @return [String] @@ -4096,18 +1153,23 @@ module Google # @return [Array] attr_accessor :input_collection_name + # User provided name for this transform instance. + # Corresponds to the JSON property `name` + # @return [String] + attr_accessor :name + def initialize(**args) update!(**args) end # Update properties of this object def update!(**args) - @name = args[:name] if args.key?(:name) @id = args[:id] if args.key?(:id) @output_collection_name = args[:output_collection_name] if args.key?(:output_collection_name) @display_data = args[:display_data] if args.key?(:display_data) @kind = args[:kind] if args.key?(:kind) @input_collection_name = args[:input_collection_name] if args.key?(:input_collection_name) + @name = args[:name] if args.key?(:name) end end @@ -4115,6 +1177,11 @@ module Google class StreamingComputationConfig include Google::Apis::Core::Hashable + # Unique identifier for this computation. + # Corresponds to the JSON property `computationId` + # @return [String] + attr_accessor :computation_id + # System defined name for this computation. # Corresponds to the JSON property `systemName` # @return [String] @@ -4130,52 +1197,16 @@ module Google # @return [Array] attr_accessor :instructions - # Unique identifier for this computation. - # Corresponds to the JSON property `computationId` - # @return [String] - attr_accessor :computation_id - def initialize(**args) update!(**args) end # Update properties of this object def update!(**args) + @computation_id = args[:computation_id] if args.key?(:computation_id) @system_name = args[:system_name] if args.key?(:system_name) @stage_name = args[:stage_name] if args.key?(:stage_name) @instructions = args[:instructions] if args.key?(:instructions) - @computation_id = args[:computation_id] if args.key?(:computation_id) - end - end - - # Parameters to provide to the template being launched. - class LaunchTemplateParameters - include Google::Apis::Core::Hashable - - # The environment values to set at runtime. - # Corresponds to the JSON property `environment` - # @return [Google::Apis::DataflowV1b3::RuntimeEnvironment] - attr_accessor :environment - - # The runtime parameters to pass to the job. - # Corresponds to the JSON property `parameters` - # @return [Hash] - attr_accessor :parameters - - # Required. The job name to use for the created job. - # Corresponds to the JSON property `jobName` - # @return [String] - attr_accessor :job_name - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @environment = args[:environment] if args.key?(:environment) - @parameters = args[:parameters] if args.key?(:parameters) - @job_name = args[:job_name] if args.key?(:job_name) end end @@ -4204,6 +1235,37 @@ module Google end end + # Parameters to provide to the template being launched. + class LaunchTemplateParameters + include Google::Apis::Core::Hashable + + # The runtime parameters to pass to the job. + # Corresponds to the JSON property `parameters` + # @return [Hash] + attr_accessor :parameters + + # Required. The job name to use for the created job. + # Corresponds to the JSON property `jobName` + # @return [String] + attr_accessor :job_name + + # The environment values to set at runtime. + # Corresponds to the JSON property `environment` + # @return [Google::Apis::DataflowV1b3::RuntimeEnvironment] + attr_accessor :environment + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @parameters = args[:parameters] if args.key?(:parameters) + @job_name = args[:job_name] if args.key?(:job_name) + @environment = args[:environment] if args.key?(:environment) + end + end + # An instruction that copies its inputs (zero or more) to its (single) output. class FlattenInstruction include Google::Apis::Core::Hashable @@ -4228,6 +1290,22 @@ module Google class PartialGroupByKeyInstruction include Google::Apis::Core::Hashable + # The value combining function to invoke. + # Corresponds to the JSON property `valueCombiningFn` + # @return [Hash] + attr_accessor :value_combining_fn + + # The codec to use for interpreting an element in the input PTable. + # Corresponds to the JSON property `inputElementCodec` + # @return [Hash] + attr_accessor :input_element_codec + + # If this instruction includes a combining function this is the name of the + # intermediate store between the GBK and the CombineValues. + # Corresponds to the JSON property `originalCombineValuesInputStoreName` + # @return [String] + attr_accessor :original_combine_values_input_store_name + # If this instruction includes a combining function, this is the name of the # CombineValues instruction lifted into this instruction. # Corresponds to the JSON property `originalCombineValuesStepName` @@ -4245,72 +1323,18 @@ module Google # @return [Google::Apis::DataflowV1b3::InstructionInput] attr_accessor :input - # The codec to use for interpreting an element in the input PTable. - # Corresponds to the JSON property `inputElementCodec` - # @return [Hash] - attr_accessor :input_element_codec - - # The value combining function to invoke. - # Corresponds to the JSON property `valueCombiningFn` - # @return [Hash] - attr_accessor :value_combining_fn - - # If this instruction includes a combining function this is the name of the - # intermediate store between the GBK and the CombineValues. - # Corresponds to the JSON property `originalCombineValuesInputStoreName` - # @return [String] - attr_accessor :original_combine_values_input_store_name - def initialize(**args) update!(**args) end # Update properties of this object def update!(**args) + @value_combining_fn = args[:value_combining_fn] if args.key?(:value_combining_fn) + @input_element_codec = args[:input_element_codec] if args.key?(:input_element_codec) + @original_combine_values_input_store_name = args[:original_combine_values_input_store_name] if args.key?(:original_combine_values_input_store_name) @original_combine_values_step_name = args[:original_combine_values_step_name] if args.key?(:original_combine_values_step_name) @side_inputs = args[:side_inputs] if args.key?(:side_inputs) @input = args[:input] if args.key?(:input) - @input_element_codec = args[:input_element_codec] if args.key?(:input_element_codec) - @value_combining_fn = args[:value_combining_fn] if args.key?(:value_combining_fn) - @original_combine_values_input_store_name = args[:original_combine_values_input_store_name] if args.key?(:original_combine_values_input_store_name) - end - end - - # Description of an input or output of an execution stage. - class StageSource - include Google::Apis::Core::Hashable - - # User name for the original user transform or collection with which this - # source is most closely associated. - # Corresponds to the JSON property `originalTransformOrCollection` - # @return [String] - attr_accessor :original_transform_or_collection - - # Dataflow service generated name for this source. - # Corresponds to the JSON property `name` - # @return [String] - attr_accessor :name - - # Size of the source, if measurable. - # Corresponds to the JSON property `sizeBytes` - # @return [String] - attr_accessor :size_bytes - - # Human-readable name for this source; may be user or system generated. - # Corresponds to the JSON property `userName` - # @return [String] - attr_accessor :user_name - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @original_transform_or_collection = args[:original_transform_or_collection] if args.key?(:original_transform_or_collection) - @name = args[:name] if args.key?(:name) - @size_bytes = args[:size_bytes] if args.key?(:size_bytes) - @user_name = args[:user_name] if args.key?(:user_name) end end @@ -4343,6 +1367,44 @@ module Google end end + # Description of an input or output of an execution stage. + class StageSource + include Google::Apis::Core::Hashable + + # Human-readable name for this source; may be user or system generated. + # Corresponds to the JSON property `userName` + # @return [String] + attr_accessor :user_name + + # User name for the original user transform or collection with which this + # source is most closely associated. + # Corresponds to the JSON property `originalTransformOrCollection` + # @return [String] + attr_accessor :original_transform_or_collection + + # Dataflow service generated name for this source. + # Corresponds to the JSON property `name` + # @return [String] + attr_accessor :name + + # Size of the source, if measurable. + # Corresponds to the JSON property `sizeBytes` + # @return [Fixnum] + attr_accessor :size_bytes + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @user_name = args[:user_name] if args.key?(:user_name) + @original_transform_or_collection = args[:original_transform_or_collection] if args.key?(:original_transform_or_collection) + @name = args[:name] if args.key?(:name) + @size_bytes = args[:size_bytes] if args.key?(:size_bytes) + end + end + # A metric value representing a list of strings. class StringList include Google::Apis::Core::Hashable @@ -4366,6 +1428,27 @@ module Google class DisplayData include Google::Apis::Core::Hashable + # Contains value if the data is of timestamp type. + # Corresponds to the JSON property `timestampValue` + # @return [String] + attr_accessor :timestamp_value + + # Contains value if the data is of java class type. + # Corresponds to the JSON property `javaClassValue` + # @return [String] + attr_accessor :java_class_value + + # Contains value if the data is of a boolean type. + # Corresponds to the JSON property `boolValue` + # @return [Boolean] + attr_accessor :bool_value + alias_method :bool_value?, :bool_value + + # Contains value if the data is of string type. + # Corresponds to the JSON property `strValue` + # @return [String] + attr_accessor :str_value + # Contains value if the data is of duration type. # Corresponds to the JSON property `durationValue` # @return [String] @@ -4373,7 +1456,7 @@ module Google # Contains value if the data is of int64 type. # Corresponds to the JSON property `int64Value` - # @return [String] + # @return [Fixnum] attr_accessor :int64_value # The namespace for the key. This is usually a class name or programming @@ -4416,33 +1499,16 @@ module Google # @return [String] attr_accessor :url - # Contains value if the data is of timestamp type. - # Corresponds to the JSON property `timestampValue` - # @return [String] - attr_accessor :timestamp_value - - # Contains value if the data is of a boolean type. - # Corresponds to the JSON property `boolValue` - # @return [Boolean] - attr_accessor :bool_value - alias_method :bool_value?, :bool_value - - # Contains value if the data is of java class type. - # Corresponds to the JSON property `javaClassValue` - # @return [String] - attr_accessor :java_class_value - - # Contains value if the data is of string type. - # Corresponds to the JSON property `strValue` - # @return [String] - attr_accessor :str_value - def initialize(**args) update!(**args) end # Update properties of this object def update!(**args) + @timestamp_value = args[:timestamp_value] if args.key?(:timestamp_value) + @java_class_value = args[:java_class_value] if args.key?(:java_class_value) + @bool_value = args[:bool_value] if args.key?(:bool_value) + @str_value = args[:str_value] if args.key?(:str_value) @duration_value = args[:duration_value] if args.key?(:duration_value) @int64_value = args[:int64_value] if args.key?(:int64_value) @namespace = args[:namespace] if args.key?(:namespace) @@ -4451,10 +1517,6 @@ module Google @short_str_value = args[:short_str_value] if args.key?(:short_str_value) @label = args[:label] if args.key?(:label) @url = args[:url] if args.key?(:url) - @timestamp_value = args[:timestamp_value] if args.key?(:timestamp_value) - @bool_value = args[:bool_value] if args.key?(:bool_value) - @java_class_value = args[:java_class_value] if args.key?(:java_class_value) - @str_value = args[:str_value] if args.key?(:str_value) end end @@ -4602,13 +1664,6 @@ module Google class ReportWorkItemStatusRequest include Google::Apis::Core::Hashable - # The order is unimportant, except that the order of the - # WorkItemServiceState messages in the ReportWorkItemStatusResponse - # corresponds to the order of WorkItemStatus messages here. - # Corresponds to the JSON property `workItemStatuses` - # @return [Array] - attr_accessor :work_item_statuses - # The ID of the worker reporting the WorkItem status. If this # does not match the ID of the worker which the Dataflow service # believes currently has the lease on the WorkItem, the report @@ -4627,41 +1682,23 @@ module Google # @return [String] attr_accessor :location + # The order is unimportant, except that the order of the + # WorkItemServiceState messages in the ReportWorkItemStatusResponse + # corresponds to the order of WorkItemStatus messages here. + # Corresponds to the JSON property `workItemStatuses` + # @return [Array] + attr_accessor :work_item_statuses + def initialize(**args) update!(**args) end # Update properties of this object def update!(**args) - @work_item_statuses = args[:work_item_statuses] if args.key?(:work_item_statuses) @worker_id = args[:worker_id] if args.key?(:worker_id) @current_worker_time = args[:current_worker_time] if args.key?(:current_worker_time) @location = args[:location] if args.key?(:location) - end - end - - # A task that carries configuration information for streaming computations. - class StreamingConfigTask - include Google::Apis::Core::Hashable - - # Set of computation configuration information. - # Corresponds to the JSON property `streamingComputationConfigs` - # @return [Array] - attr_accessor :streaming_computation_configs - - # Map from user step names to state families. - # Corresponds to the JSON property `userStepToStateFamilyNameMap` - # @return [Hash] - attr_accessor :user_step_to_state_family_name_map - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @streaming_computation_configs = args[:streaming_computation_configs] if args.key?(:streaming_computation_configs) - @user_step_to_state_family_name_map = args[:user_step_to_state_family_name_map] if args.key?(:user_step_to_state_family_name_map) + @work_item_statuses = args[:work_item_statuses] if args.key?(:work_item_statuses) end end @@ -4698,6 +1735,31 @@ module Google end end + # A task that carries configuration information for streaming computations. + class StreamingConfigTask + include Google::Apis::Core::Hashable + + # Set of computation configuration information. + # Corresponds to the JSON property `streamingComputationConfigs` + # @return [Array] + attr_accessor :streaming_computation_configs + + # Map from user step names to state families. + # Corresponds to the JSON property `userStepToStateFamilyNameMap` + # @return [Hash] + attr_accessor :user_step_to_state_family_name_map + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @streaming_computation_configs = args[:streaming_computation_configs] if args.key?(:streaming_computation_configs) + @user_step_to_state_family_name_map = args[:user_step_to_state_family_name_map] if args.key?(:user_step_to_state_family_name_map) + end + end + # Defines a particular step within a Cloud Dataflow job. # A job consists of multiple steps, each of which performs some # specific operation as part of the overall job. Data is typically @@ -4718,6 +1780,13 @@ module Google class Step include Google::Apis::Core::Hashable + # Named properties associated with the step. Each kind of + # predefined step has its own required set of properties. + # Must be provided on Create. Only retrieved with JOB_VIEW_ALL. + # Corresponds to the JSON property `properties` + # @return [Hash] + attr_accessor :properties + # The name that identifies the step. This must be unique for each # step with respect to all other steps in the Cloud Dataflow job. # Corresponds to the JSON property `name` @@ -4729,22 +1798,15 @@ module Google # @return [String] attr_accessor :kind - # Named properties associated with the step. Each kind of - # predefined step has its own required set of properties. - # Must be provided on Create. Only retrieved with JOB_VIEW_ALL. - # Corresponds to the JSON property `properties` - # @return [Hash] - attr_accessor :properties - def initialize(**args) update!(**args) end # Update properties of this object def update!(**args) + @properties = args[:properties] if args.key?(:properties) @name = args[:name] if args.key?(:name) @kind = args[:kind] if args.key?(:kind) - @properties = args[:properties] if args.key?(:properties) end end @@ -4833,45 +1895,10 @@ module Google end end - # Response to a request to list job messages. - class ListJobMessagesResponse - include Google::Apis::Core::Hashable - - # The token to obtain the next page of results if there are more. - # Corresponds to the JSON property `nextPageToken` - # @return [String] - attr_accessor :next_page_token - - # Messages in ascending timestamp order. - # Corresponds to the JSON property `jobMessages` - # @return [Array] - attr_accessor :job_messages - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @next_page_token = args[:next_page_token] if args.key?(:next_page_token) - @job_messages = args[:job_messages] if args.key?(:job_messages) - end - end - # CounterMetadata includes all static non-name non-value counter attributes. class CounterMetadata include Google::Apis::Core::Hashable - # System defined Units, see above enum. - # Corresponds to the JSON property `standardUnits` - # @return [String] - attr_accessor :standard_units - - # A string referring to the unit type. - # Corresponds to the JSON property `otherUnits` - # @return [String] - attr_accessor :other_units - # Counter aggregation kind. # Corresponds to the JSON property `kind` # @return [String] @@ -4882,16 +1909,51 @@ module Google # @return [String] attr_accessor :description + # System defined Units, see above enum. + # Corresponds to the JSON property `standardUnits` + # @return [String] + attr_accessor :standard_units + + # A string referring to the unit type. + # Corresponds to the JSON property `otherUnits` + # @return [String] + attr_accessor :other_units + def initialize(**args) update!(**args) end # Update properties of this object def update!(**args) - @standard_units = args[:standard_units] if args.key?(:standard_units) - @other_units = args[:other_units] if args.key?(:other_units) @kind = args[:kind] if args.key?(:kind) @description = args[:description] if args.key?(:description) + @standard_units = args[:standard_units] if args.key?(:standard_units) + @other_units = args[:other_units] if args.key?(:other_units) + end + end + + # Response to a request to list job messages. + class ListJobMessagesResponse + include Google::Apis::Core::Hashable + + # Messages in ascending timestamp order. + # Corresponds to the JSON property `jobMessages` + # @return [Array] + attr_accessor :job_messages + + # The token to obtain the next page of results if there are more. + # Corresponds to the JSON property `nextPageToken` + # @return [String] + attr_accessor :next_page_token + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @job_messages = args[:job_messages] if args.key?(:job_messages) + @next_page_token = args[:next_page_token] if args.key?(:next_page_token) end end @@ -4899,6 +1961,13 @@ module Google class ApproximateReportedProgress include Google::Apis::Core::Hashable + # Position defines a position within a collection of data. The value + # can be either the end position, a key (used with ordered + # collections), a byte offset, or a record index. + # Corresponds to the JSON property `position` + # @return [Google::Apis::DataflowV1b3::Position] + attr_accessor :position + # Completion as fraction of the input consumed, from 0.0 (beginning, nothing # consumed), to 1.0 (end of the input, entire input consumed). # Corresponds to the JSON property `fractionConsumed` @@ -4917,6 +1986,475 @@ module Google # @return [Google::Apis::DataflowV1b3::ReportedParallelism] attr_accessor :remaining_parallelism + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @position = args[:position] if args.key?(:position) + @fraction_consumed = args[:fraction_consumed] if args.key?(:fraction_consumed) + @consumed_parallelism = args[:consumed_parallelism] if args.key?(:consumed_parallelism) + @remaining_parallelism = args[:remaining_parallelism] if args.key?(:remaining_parallelism) + end + end + + # A metric value representing a list of integers. + class IntegerList + include Google::Apis::Core::Hashable + + # Elements of the list. + # Corresponds to the JSON property `elements` + # @return [Array] + attr_accessor :elements + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @elements = args[:elements] if args.key?(:elements) + end + end + + # State family configuration. + class StateFamilyConfig + include Google::Apis::Core::Hashable + + # If true, this family corresponds to a read operation. + # Corresponds to the JSON property `isRead` + # @return [Boolean] + attr_accessor :is_read + alias_method :is_read?, :is_read + + # The state family value. + # Corresponds to the JSON property `stateFamily` + # @return [String] + attr_accessor :state_family + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @is_read = args[:is_read] if args.key?(:is_read) + @state_family = args[:state_family] if args.key?(:state_family) + end + end + + # Service-side response to WorkerMessage reporting resource utilization. + class ResourceUtilizationReportResponse + include Google::Apis::Core::Hashable + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + end + end + + # The response to a SourceSplitRequest. + class SourceSplitResponse + include Google::Apis::Core::Hashable + + # DEPRECATED in favor of bundles. + # Corresponds to the JSON property `shards` + # @return [Array] + attr_accessor :shards + + # Indicates whether splitting happened and produced a list of bundles. + # If this is USE_CURRENT_SOURCE_AS_IS, the current source should + # be processed "as is" without splitting. "bundles" is ignored in this case. + # If this is SPLITTING_HAPPENED, then "bundles" contains a list of + # bundles into which the source was split. + # Corresponds to the JSON property `outcome` + # @return [String] + attr_accessor :outcome + + # If outcome is SPLITTING_HAPPENED, then this is a list of bundles + # into which the source was split. Otherwise this field is ignored. + # This list can be empty, which means the source represents an empty input. + # Corresponds to the JSON property `bundles` + # @return [Array] + attr_accessor :bundles + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @shards = args[:shards] if args.key?(:shards) + @outcome = args[:outcome] if args.key?(:outcome) + @bundles = args[:bundles] if args.key?(:bundles) + end + end + + # Describes a particular operation comprising a MapTask. + class ParallelInstruction + include Google::Apis::Core::Hashable + + # An instruction that writes records. + # Takes one input, produces no outputs. + # Corresponds to the JSON property `write` + # @return [Google::Apis::DataflowV1b3::WriteInstruction] + attr_accessor :write + + # System-defined name of this operation. + # Unique across the workflow. + # Corresponds to the JSON property `systemName` + # @return [String] + attr_accessor :system_name + + # An instruction that does a partial group-by-key. + # One input and one output. + # Corresponds to the JSON property `partialGroupByKey` + # @return [Google::Apis::DataflowV1b3::PartialGroupByKeyInstruction] + attr_accessor :partial_group_by_key + + # Describes the outputs of the instruction. + # Corresponds to the JSON property `outputs` + # @return [Array] + attr_accessor :outputs + + # User-provided name of this operation. + # Corresponds to the JSON property `name` + # @return [String] + attr_accessor :name + + # An instruction that does a ParDo operation. + # Takes one main input and zero or more side inputs, and produces + # zero or more outputs. + # Runs user code. + # Corresponds to the JSON property `parDo` + # @return [Google::Apis::DataflowV1b3::ParDoInstruction] + attr_accessor :par_do + + # An instruction that reads records. + # Takes no inputs, produces one output. + # Corresponds to the JSON property `read` + # @return [Google::Apis::DataflowV1b3::ReadInstruction] + attr_accessor :read + + # An instruction that copies its inputs (zero or more) to its (single) output. + # Corresponds to the JSON property `flatten` + # @return [Google::Apis::DataflowV1b3::FlattenInstruction] + attr_accessor :flatten + + # System-defined name for the operation in the original workflow graph. + # Corresponds to the JSON property `originalName` + # @return [String] + attr_accessor :original_name + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @write = args[:write] if args.key?(:write) + @system_name = args[:system_name] if args.key?(:system_name) + @partial_group_by_key = args[:partial_group_by_key] if args.key?(:partial_group_by_key) + @outputs = args[:outputs] if args.key?(:outputs) + @name = args[:name] if args.key?(:name) + @par_do = args[:par_do] if args.key?(:par_do) + @read = args[:read] if args.key?(:read) + @flatten = args[:flatten] if args.key?(:flatten) + @original_name = args[:original_name] if args.key?(:original_name) + end + end + + # The packages that must be installed in order for a worker to run the + # steps of the Cloud Dataflow job that will be assigned to its worker + # pool. + # This is the mechanism by which the Cloud Dataflow SDK causes code to + # be loaded onto the workers. For example, the Cloud Dataflow Java SDK + # might use this to install jars containing the user's code and all of the + # various dependencies (libraries, data files, etc.) required in order + # for that code to run. + class Package + include Google::Apis::Core::Hashable + + # The resource to read the package from. The supported resource type is: + # Google Cloud Storage: + # storage.googleapis.com/`bucket` + # bucket.storage.googleapis.com/ + # Corresponds to the JSON property `location` + # @return [String] + attr_accessor :location + + # The name of the package. + # Corresponds to the JSON property `name` + # @return [String] + attr_accessor :name + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @location = args[:location] if args.key?(:location) + @name = args[:name] if args.key?(:name) + end + end + + # Data disk assignment information for a specific key-range of a sharded + # computation. + # Currently we only support UTF-8 character splits to simplify encoding into + # JSON. + class KeyRangeDataDiskAssignment + include Google::Apis::Core::Hashable + + # The start (inclusive) of the key range. + # Corresponds to the JSON property `start` + # @return [String] + attr_accessor :start + + # The name of the data disk where data for this range is stored. + # This name is local to the Google Cloud Platform project and uniquely + # identifies the disk within that project, for example + # "myproject-1014-104817-4c2-harness-0-disk-1". + # Corresponds to the JSON property `dataDisk` + # @return [String] + attr_accessor :data_disk + + # The end (exclusive) of the key range. + # Corresponds to the JSON property `end` + # @return [String] + attr_accessor :end + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @start = args[:start] if args.key?(:start) + @data_disk = args[:data_disk] if args.key?(:data_disk) + @end = args[:end] if args.key?(:end) + end + end + + # An instruction that does a ParDo operation. + # Takes one main input and zero or more side inputs, and produces + # zero or more outputs. + # Runs user code. + class ParDoInstruction + include Google::Apis::Core::Hashable + + # The number of outputs. + # Corresponds to the JSON property `numOutputs` + # @return [Fixnum] + attr_accessor :num_outputs + + # Zero or more side inputs. + # Corresponds to the JSON property `sideInputs` + # @return [Array] + attr_accessor :side_inputs + + # Information about each of the outputs, if user_fn is a MultiDoFn. + # Corresponds to the JSON property `multiOutputInfos` + # @return [Array] + attr_accessor :multi_output_infos + + # The user function to invoke. + # Corresponds to the JSON property `userFn` + # @return [Hash] + attr_accessor :user_fn + + # An input of an instruction, as a reference to an output of a + # producer instruction. + # Corresponds to the JSON property `input` + # @return [Google::Apis::DataflowV1b3::InstructionInput] + attr_accessor :input + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @num_outputs = args[:num_outputs] if args.key?(:num_outputs) + @side_inputs = args[:side_inputs] if args.key?(:side_inputs) + @multi_output_infos = args[:multi_output_infos] if args.key?(:multi_output_infos) + @user_fn = args[:user_fn] if args.key?(:user_fn) + @input = args[:input] if args.key?(:input) + end + end + + # Describes the state of a metric. + class MetricUpdate + include Google::Apis::Core::Hashable + + # Metric aggregation kind. The possible metric aggregation kinds are + # "Sum", "Max", "Min", "Mean", "Set", "And", and "Or". + # The specified aggregation kind is case-insensitive. + # If omitted, this is not an aggregated value but instead + # a single metric sample value. + # Corresponds to the JSON property `kind` + # @return [String] + attr_accessor :kind + + # Worker-computed aggregate value for aggregation kinds "Sum", "Max", "Min", + # "And", and "Or". The possible value types are Long, Double, and Boolean. + # Corresponds to the JSON property `scalar` + # @return [Object] + attr_accessor :scalar + + # Worker-computed aggregate value for the "Mean" aggregation kind. + # This holds the count of the aggregated values and is used in combination + # with mean_sum above to obtain the actual mean aggregate value. + # The only possible value type is Long. + # Corresponds to the JSON property `meanCount` + # @return [Object] + attr_accessor :mean_count + + # Worker-computed aggregate value for the "Mean" aggregation kind. + # This holds the sum of the aggregated values and is used in combination + # with mean_count below to obtain the actual mean aggregate value. + # The only possible value types are Long and Double. + # Corresponds to the JSON property `meanSum` + # @return [Object] + attr_accessor :mean_sum + + # Timestamp associated with the metric value. Optional when workers are + # reporting work progress; it will be filled in responses from the + # metrics API. + # Corresponds to the JSON property `updateTime` + # @return [String] + attr_accessor :update_time + + # Identifies a metric, by describing the source which generated the + # metric. + # Corresponds to the JSON property `name` + # @return [Google::Apis::DataflowV1b3::MetricStructuredName] + attr_accessor :name + + # Worker-computed aggregate value for the "Set" aggregation kind. The only + # possible value type is a list of Values whose type can be Long, Double, + # or String, according to the metric's type. All Values in the list must + # be of the same type. + # Corresponds to the JSON property `set` + # @return [Object] + attr_accessor :set + + # True if this metric is reported as the total cumulative aggregate + # value accumulated since the worker started working on this WorkItem. + # By default this is false, indicating that this metric is reported + # as a delta that is not associated with any WorkItem. + # Corresponds to the JSON property `cumulative` + # @return [Boolean] + attr_accessor :cumulative + alias_method :cumulative?, :cumulative + + # Worker-computed aggregate value for internal use by the Dataflow + # service. + # Corresponds to the JSON property `internal` + # @return [Object] + attr_accessor :internal + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @kind = args[:kind] if args.key?(:kind) + @scalar = args[:scalar] if args.key?(:scalar) + @mean_count = args[:mean_count] if args.key?(:mean_count) + @mean_sum = args[:mean_sum] if args.key?(:mean_sum) + @update_time = args[:update_time] if args.key?(:update_time) + @name = args[:name] if args.key?(:name) + @set = args[:set] if args.key?(:set) + @cumulative = args[:cumulative] if args.key?(:cumulative) + @internal = args[:internal] if args.key?(:internal) + end + end + + # Identifies a counter within a per-job namespace. Counters whose structured + # names are the same get merged into a single value for the job. + class CounterStructuredName + include Google::Apis::Core::Hashable + + # Name of the optimized step being executed by the workers. + # Corresponds to the JSON property `componentStepName` + # @return [String] + attr_accessor :component_step_name + + # Portion of this counter, either key or value. + # Corresponds to the JSON property `portion` + # @return [String] + attr_accessor :portion + + # System generated name of the original step in the user's graph, before + # optimization. + # Corresponds to the JSON property `originalStepName` + # @return [String] + attr_accessor :original_step_name + + # ID of a particular worker. + # Corresponds to the JSON property `workerId` + # @return [String] + attr_accessor :worker_id + + # A string containing a more specific namespace of the counter's origin. + # Corresponds to the JSON property `originNamespace` + # @return [String] + attr_accessor :origin_namespace + + # One of the standard Origins defined above. + # Corresponds to the JSON property `origin` + # @return [String] + attr_accessor :origin + + # Counter name. Not necessarily globally-unique, but unique within the + # context of the other fields. + # Required. + # Corresponds to the JSON property `name` + # @return [String] + attr_accessor :name + + # Name of the stage. An execution step contains multiple component steps. + # Corresponds to the JSON property `executionStepName` + # @return [String] + attr_accessor :execution_step_name + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @component_step_name = args[:component_step_name] if args.key?(:component_step_name) + @portion = args[:portion] if args.key?(:portion) + @original_step_name = args[:original_step_name] if args.key?(:original_step_name) + @worker_id = args[:worker_id] if args.key?(:worker_id) + @origin_namespace = args[:origin_namespace] if args.key?(:origin_namespace) + @origin = args[:origin] if args.key?(:origin) + @name = args[:name] if args.key?(:name) + @execution_step_name = args[:execution_step_name] if args.key?(:execution_step_name) + end + end + + # Obsolete in favor of ApproximateReportedProgress and ApproximateSplitRequest. + class ApproximateProgress + include Google::Apis::Core::Hashable + + # Obsolete. + # Corresponds to the JSON property `percentComplete` + # @return [Float] + attr_accessor :percent_complete + + # Obsolete. + # Corresponds to the JSON property `remainingTime` + # @return [String] + attr_accessor :remaining_time + # Position defines a position within a collection of data. The value # can be either the end position, a key (used with ordered # collections), a byte offset, or a record index. @@ -4930,12 +2468,2474 @@ module Google # Update properties of this object def update!(**args) - @fraction_consumed = args[:fraction_consumed] if args.key?(:fraction_consumed) - @consumed_parallelism = args[:consumed_parallelism] if args.key?(:consumed_parallelism) - @remaining_parallelism = args[:remaining_parallelism] if args.key?(:remaining_parallelism) + @percent_complete = args[:percent_complete] if args.key?(:percent_complete) + @remaining_time = args[:remaining_time] if args.key?(:remaining_time) @position = args[:position] if args.key?(:position) end end + + # A worker_message response allows the server to pass information to the + # sender. + class WorkerMessageResponse + include Google::Apis::Core::Hashable + + # Service-side response to WorkerMessage reporting resource utilization. + # Corresponds to the JSON property `workerMetricsResponse` + # @return [Google::Apis::DataflowV1b3::ResourceUtilizationReportResponse] + attr_accessor :worker_metrics_response + + # WorkerHealthReportResponse contains information returned to the worker + # in response to a health ping. + # Corresponds to the JSON property `workerHealthReportResponse` + # @return [Google::Apis::DataflowV1b3::WorkerHealthReportResponse] + attr_accessor :worker_health_report_response + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @worker_metrics_response = args[:worker_metrics_response] if args.key?(:worker_metrics_response) + @worker_health_report_response = args[:worker_health_report_response] if args.key?(:worker_health_report_response) + end + end + + # Metadata describing a template. + class TemplateMetadata + include Google::Apis::Core::Hashable + + # If true, will bypass the validation that the temp directory is + # writable. This should only be used with templates for pipelines + # that are guaranteed not to need to write to the temp directory, + # which is subject to change based on the optimizer. + # Corresponds to the JSON property `bypassTempDirValidation` + # @return [Boolean] + attr_accessor :bypass_temp_dir_validation + alias_method :bypass_temp_dir_validation?, :bypass_temp_dir_validation + + # Required. The name of the template. + # Corresponds to the JSON property `name` + # @return [String] + attr_accessor :name + + # The parameters for the template. + # Corresponds to the JSON property `parameters` + # @return [Array] + attr_accessor :parameters + + # Optional. A description of the template. + # Corresponds to the JSON property `description` + # @return [String] + attr_accessor :description + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @bypass_temp_dir_validation = args[:bypass_temp_dir_validation] if args.key?(:bypass_temp_dir_validation) + @name = args[:name] if args.key?(:name) + @parameters = args[:parameters] if args.key?(:parameters) + @description = args[:description] if args.key?(:description) + end + end + + # WorkerMessage provides information to the backend about a worker. + class WorkerMessage + include Google::Apis::Core::Hashable + + # Labels are used to group WorkerMessages. + # For example, a worker_message about a particular container + # might have the labels: + # ` "JOB_ID": "2015-04-22", + # "WORKER_ID": "wordcount-vm-2015…" + # "CONTAINER_TYPE": "worker", + # "CONTAINER_ID": "ac1234def"` + # Label tags typically correspond to Label enum values. However, for ease + # of development other strings can be used as tags. LABEL_UNSPECIFIED should + # not be used here. + # Corresponds to the JSON property `labels` + # @return [Hash] + attr_accessor :labels + + # The timestamp of the worker_message. + # Corresponds to the JSON property `time` + # @return [String] + attr_accessor :time + + # WorkerHealthReport contains information about the health of a worker. + # The VM should be identified by the labels attached to the WorkerMessage that + # this health ping belongs to. + # Corresponds to the JSON property `workerHealthReport` + # @return [Google::Apis::DataflowV1b3::WorkerHealthReport] + attr_accessor :worker_health_report + + # A message code is used to report status and error messages to the service. + # The message codes are intended to be machine readable. The service will + # take care of translating these into user understandable messages if + # necessary. + # Example use cases: + # 1. Worker processes reporting successful startup. + # 2. Worker processes reporting specific errors (e.g. package staging + # failure). + # Corresponds to the JSON property `workerMessageCode` + # @return [Google::Apis::DataflowV1b3::WorkerMessageCode] + attr_accessor :worker_message_code + + # Worker metrics exported from workers. This contains resource utilization + # metrics accumulated from a variety of sources. For more information, see + # go/df-resource-signals. + # Corresponds to the JSON property `workerMetrics` + # @return [Google::Apis::DataflowV1b3::ResourceUtilizationReport] + attr_accessor :worker_metrics + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @labels = args[:labels] if args.key?(:labels) + @time = args[:time] if args.key?(:time) + @worker_health_report = args[:worker_health_report] if args.key?(:worker_health_report) + @worker_message_code = args[:worker_message_code] if args.key?(:worker_message_code) + @worker_metrics = args[:worker_metrics] if args.key?(:worker_metrics) + end + end + + # JobMetrics contains a collection of metrics descibing the detailed progress + # of a Dataflow job. Metrics correspond to user-defined and system-defined + # metrics in the job. + # This resource captures only the most recent values of each metric; + # time-series data can be queried for them (under the same metric names) + # from Cloud Monitoring. + class JobMetrics + include Google::Apis::Core::Hashable + + # Timestamp as of which metric values are current. + # Corresponds to the JSON property `metricTime` + # @return [String] + attr_accessor :metric_time + + # All metrics for this job. + # Corresponds to the JSON property `metrics` + # @return [Array] + attr_accessor :metrics + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @metric_time = args[:metric_time] if args.key?(:metric_time) + @metrics = args[:metrics] if args.key?(:metrics) + end + end + + # A metric value representing a list of floating point numbers. + class FloatingPointList + include Google::Apis::Core::Hashable + + # Elements of the list. + # Corresponds to the JSON property `elements` + # @return [Array] + attr_accessor :elements + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @elements = args[:elements] if args.key?(:elements) + end + end + + # An update to a Counter sent from a worker. + class CounterUpdate + include Google::Apis::Core::Hashable + + # The service-generated short identifier for this counter. + # The short_id -> (name, metadata) mapping is constant for the lifetime of + # a job. + # Corresponds to the JSON property `shortId` + # @return [Fixnum] + attr_accessor :short_id + + # A metric value representing a list of floating point numbers. + # Corresponds to the JSON property `floatingPointList` + # @return [Google::Apis::DataflowV1b3::FloatingPointList] + attr_accessor :floating_point_list + + # A representation of an int64, n, that is immune to precision loss when + # encoded in JSON. + # Corresponds to the JSON property `integer` + # @return [Google::Apis::DataflowV1b3::SplitInt64] + attr_accessor :integer + + # A single message which encapsulates structured name and metadata for a given + # counter. + # Corresponds to the JSON property `structuredNameAndMetadata` + # @return [Google::Apis::DataflowV1b3::CounterStructuredNameAndMetadata] + attr_accessor :structured_name_and_metadata + + # A metric value representing a list of integers. + # Corresponds to the JSON property `integerList` + # @return [Google::Apis::DataflowV1b3::IntegerList] + attr_accessor :integer_list + + # Floating point value for Sum, Max, Min. + # Corresponds to the JSON property `floatingPoint` + # @return [Float] + attr_accessor :floating_point + + # A representation of an integer mean metric contribution. + # Corresponds to the JSON property `integerMean` + # @return [Google::Apis::DataflowV1b3::IntegerMean] + attr_accessor :integer_mean + + # Value for internally-defined counters used by the Dataflow service. + # Corresponds to the JSON property `internal` + # @return [Object] + attr_accessor :internal + + # True if this counter is reported as the total cumulative aggregate + # value accumulated since the worker started working on this WorkItem. + # By default this is false, indicating that this counter is reported + # as a delta. + # Corresponds to the JSON property `cumulative` + # @return [Boolean] + attr_accessor :cumulative + alias_method :cumulative?, :cumulative + + # A representation of a floating point mean metric contribution. + # Corresponds to the JSON property `floatingPointMean` + # @return [Google::Apis::DataflowV1b3::FloatingPointMean] + attr_accessor :floating_point_mean + + # Boolean value for And, Or. + # Corresponds to the JSON property `boolean` + # @return [Boolean] + attr_accessor :boolean + alias_method :boolean?, :boolean + + # Basic metadata about a counter. + # Corresponds to the JSON property `nameAndKind` + # @return [Google::Apis::DataflowV1b3::NameAndKind] + attr_accessor :name_and_kind + + # A metric value representing a list of strings. + # Corresponds to the JSON property `stringList` + # @return [Google::Apis::DataflowV1b3::StringList] + attr_accessor :string_list + + # A metric value representing a distribution. + # Corresponds to the JSON property `distribution` + # @return [Google::Apis::DataflowV1b3::DistributionUpdate] + attr_accessor :distribution + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @short_id = args[:short_id] if args.key?(:short_id) + @floating_point_list = args[:floating_point_list] if args.key?(:floating_point_list) + @integer = args[:integer] if args.key?(:integer) + @structured_name_and_metadata = args[:structured_name_and_metadata] if args.key?(:structured_name_and_metadata) + @integer_list = args[:integer_list] if args.key?(:integer_list) + @floating_point = args[:floating_point] if args.key?(:floating_point) + @integer_mean = args[:integer_mean] if args.key?(:integer_mean) + @internal = args[:internal] if args.key?(:internal) + @cumulative = args[:cumulative] if args.key?(:cumulative) + @floating_point_mean = args[:floating_point_mean] if args.key?(:floating_point_mean) + @boolean = args[:boolean] if args.key?(:boolean) + @name_and_kind = args[:name_and_kind] if args.key?(:name_and_kind) + @string_list = args[:string_list] if args.key?(:string_list) + @distribution = args[:distribution] if args.key?(:distribution) + end + end + + # Metadata about a Source useful for automatically optimizing + # and tuning the pipeline, etc. + class SourceMetadata + include Google::Apis::Core::Hashable + + # Whether this source is known to produce key/value pairs with + # the (encoded) keys in lexicographically sorted order. + # Corresponds to the JSON property `producesSortedKeys` + # @return [Boolean] + attr_accessor :produces_sorted_keys + alias_method :produces_sorted_keys?, :produces_sorted_keys + + # Specifies that the size of this source is known to be infinite + # (this is a streaming source). + # Corresponds to the JSON property `infinite` + # @return [Boolean] + attr_accessor :infinite + alias_method :infinite?, :infinite + + # An estimate of the total size (in bytes) of the data that would be + # read from this source. This estimate is in terms of external storage + # size, before any decompression or other processing done by the reader. + # Corresponds to the JSON property `estimatedSizeBytes` + # @return [Fixnum] + attr_accessor :estimated_size_bytes + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @produces_sorted_keys = args[:produces_sorted_keys] if args.key?(:produces_sorted_keys) + @infinite = args[:infinite] if args.key?(:infinite) + @estimated_size_bytes = args[:estimated_size_bytes] if args.key?(:estimated_size_bytes) + end + end + + # A metric value representing a distribution. + class DistributionUpdate + include Google::Apis::Core::Hashable + + # A representation of an int64, n, that is immune to precision loss when + # encoded in JSON. + # Corresponds to the JSON property `count` + # @return [Google::Apis::DataflowV1b3::SplitInt64] + attr_accessor :count + + # A representation of an int64, n, that is immune to precision loss when + # encoded in JSON. + # Corresponds to the JSON property `min` + # @return [Google::Apis::DataflowV1b3::SplitInt64] + attr_accessor :min + + # Use a double since the sum of squares is likely to overflow int64. + # Corresponds to the JSON property `sumOfSquares` + # @return [Float] + attr_accessor :sum_of_squares + + # A representation of an int64, n, that is immune to precision loss when + # encoded in JSON. + # Corresponds to the JSON property `max` + # @return [Google::Apis::DataflowV1b3::SplitInt64] + attr_accessor :max + + # A representation of an int64, n, that is immune to precision loss when + # encoded in JSON. + # Corresponds to the JSON property `sum` + # @return [Google::Apis::DataflowV1b3::SplitInt64] + attr_accessor :sum + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @count = args[:count] if args.key?(:count) + @min = args[:min] if args.key?(:min) + @sum_of_squares = args[:sum_of_squares] if args.key?(:sum_of_squares) + @max = args[:max] if args.key?(:max) + @sum = args[:sum] if args.key?(:sum) + end + end + + # WorkerHealthReportResponse contains information returned to the worker + # in response to a health ping. + class WorkerHealthReportResponse + include Google::Apis::Core::Hashable + + # A positive value indicates the worker should change its reporting interval + # to the specified value. + # The default value of zero means no change in report rate is requested by + # the server. + # Corresponds to the JSON property `reportInterval` + # @return [String] + attr_accessor :report_interval + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @report_interval = args[:report_interval] if args.key?(:report_interval) + end + end + + # DEPRECATED in favor of DynamicSourceSplit. + class SourceFork + include Google::Apis::Core::Hashable + + # Specification of one of the bundles produced as a result of splitting + # a Source (e.g. when executing a SourceSplitRequest, or when + # splitting an active task using WorkItemStatus.dynamic_source_split), + # relative to the source being split. + # Corresponds to the JSON property `primarySource` + # @return [Google::Apis::DataflowV1b3::DerivedSource] + attr_accessor :primary_source + + # DEPRECATED in favor of DerivedSource. + # Corresponds to the JSON property `residual` + # @return [Google::Apis::DataflowV1b3::SourceSplitShard] + attr_accessor :residual + + # Specification of one of the bundles produced as a result of splitting + # a Source (e.g. when executing a SourceSplitRequest, or when + # splitting an active task using WorkItemStatus.dynamic_source_split), + # relative to the source being split. + # Corresponds to the JSON property `residualSource` + # @return [Google::Apis::DataflowV1b3::DerivedSource] + attr_accessor :residual_source + + # DEPRECATED in favor of DerivedSource. + # Corresponds to the JSON property `primary` + # @return [Google::Apis::DataflowV1b3::SourceSplitShard] + attr_accessor :primary + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @primary_source = args[:primary_source] if args.key?(:primary_source) + @residual = args[:residual] if args.key?(:residual) + @residual_source = args[:residual_source] if args.key?(:residual_source) + @primary = args[:primary] if args.key?(:primary) + end + end + + # Conveys a worker's progress through the work described by a WorkItem. + class WorkItemStatus + include Google::Apis::Core::Hashable + + # Obsolete in favor of ApproximateReportedProgress and ApproximateSplitRequest. + # Corresponds to the JSON property `progress` + # @return [Google::Apis::DataflowV1b3::ApproximateProgress] + attr_accessor :progress + + # Amount of time the worker requests for its lease. + # Corresponds to the JSON property `requestedLeaseDuration` + # @return [String] + attr_accessor :requested_lease_duration + + # The report index. When a WorkItem is leased, the lease will + # contain an initial report index. When a WorkItem's status is + # reported to the system, the report should be sent with + # that report index, and the response will contain the index the + # worker should use for the next report. Reports received with + # unexpected index values will be rejected by the service. + # In order to preserve idempotency, the worker should not alter the + # contents of a report, even if the worker must submit the same + # report multiple times before getting back a response. The worker + # should not submit a subsequent report until the response for the + # previous report had been received from the service. + # Corresponds to the JSON property `reportIndex` + # @return [Fixnum] + attr_accessor :report_index + + # Position defines a position within a collection of data. The value + # can be either the end position, a key (used with ordered + # collections), a byte offset, or a record index. + # Corresponds to the JSON property `stopPosition` + # @return [Google::Apis::DataflowV1b3::Position] + attr_accessor :stop_position + + # True if the WorkItem was completed (successfully or unsuccessfully). + # Corresponds to the JSON property `completed` + # @return [Boolean] + attr_accessor :completed + alias_method :completed?, :completed + + # A progress measurement of a WorkItem by a worker. + # Corresponds to the JSON property `reportedProgress` + # @return [Google::Apis::DataflowV1b3::ApproximateReportedProgress] + attr_accessor :reported_progress + + # DEPRECATED in favor of DynamicSourceSplit. + # Corresponds to the JSON property `sourceFork` + # @return [Google::Apis::DataflowV1b3::SourceFork] + attr_accessor :source_fork + + # Worker output counters for this WorkItem. + # Corresponds to the JSON property `counterUpdates` + # @return [Array] + attr_accessor :counter_updates + + # Identifies the WorkItem. + # Corresponds to the JSON property `workItemId` + # @return [String] + attr_accessor :work_item_id + + # DEPRECATED in favor of counter_updates. + # Corresponds to the JSON property `metricUpdates` + # @return [Array] + attr_accessor :metric_updates + + # Specifies errors which occurred during processing. If errors are + # provided, and completed = true, then the WorkItem is considered + # to have failed. + # Corresponds to the JSON property `errors` + # @return [Array] + attr_accessor :errors + + # When a task splits using WorkItemStatus.dynamic_source_split, this + # message describes the two parts of the split relative to the + # description of the current task's input. + # Corresponds to the JSON property `dynamicSourceSplit` + # @return [Google::Apis::DataflowV1b3::DynamicSourceSplit] + attr_accessor :dynamic_source_split + + # The result of a SourceOperationRequest, specified in + # ReportWorkItemStatusRequest.source_operation when the work item + # is completed. + # Corresponds to the JSON property `sourceOperationResponse` + # @return [Google::Apis::DataflowV1b3::SourceOperationResponse] + attr_accessor :source_operation_response + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @progress = args[:progress] if args.key?(:progress) + @requested_lease_duration = args[:requested_lease_duration] if args.key?(:requested_lease_duration) + @report_index = args[:report_index] if args.key?(:report_index) + @stop_position = args[:stop_position] if args.key?(:stop_position) + @completed = args[:completed] if args.key?(:completed) + @reported_progress = args[:reported_progress] if args.key?(:reported_progress) + @source_fork = args[:source_fork] if args.key?(:source_fork) + @counter_updates = args[:counter_updates] if args.key?(:counter_updates) + @work_item_id = args[:work_item_id] if args.key?(:work_item_id) + @metric_updates = args[:metric_updates] if args.key?(:metric_updates) + @errors = args[:errors] if args.key?(:errors) + @dynamic_source_split = args[:dynamic_source_split] if args.key?(:dynamic_source_split) + @source_operation_response = args[:source_operation_response] if args.key?(:source_operation_response) + end + end + + # Description of an interstitial value between transforms in an execution + # stage. + class ComponentSource + include Google::Apis::Core::Hashable + + # Dataflow service generated name for this source. + # Corresponds to the JSON property `name` + # @return [String] + attr_accessor :name + + # Human-readable name for this transform; may be user or system generated. + # Corresponds to the JSON property `userName` + # @return [String] + attr_accessor :user_name + + # User name for the original user transform or collection with which this + # source is most closely associated. + # Corresponds to the JSON property `originalTransformOrCollection` + # @return [String] + attr_accessor :original_transform_or_collection + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @name = args[:name] if args.key?(:name) + @user_name = args[:user_name] if args.key?(:user_name) + @original_transform_or_collection = args[:original_transform_or_collection] if args.key?(:original_transform_or_collection) + end + end + + # The Dataflow service's idea of the current state of a WorkItem + # being processed by a worker. + class WorkItemServiceState + include Google::Apis::Core::Hashable + + # New recommended reporting interval. + # Corresponds to the JSON property `reportStatusInterval` + # @return [String] + attr_accessor :report_status_interval + + # Position defines a position within a collection of data. The value + # can be either the end position, a key (used with ordered + # collections), a byte offset, or a record index. + # Corresponds to the JSON property `suggestedStopPosition` + # @return [Google::Apis::DataflowV1b3::Position] + attr_accessor :suggested_stop_position + + # Other data returned by the service, specific to the particular + # worker harness. + # Corresponds to the JSON property `harnessData` + # @return [Hash] + attr_accessor :harness_data + + # Time at which the current lease will expire. + # Corresponds to the JSON property `leaseExpireTime` + # @return [String] + attr_accessor :lease_expire_time + + # The short ids that workers should use in subsequent metric updates. + # Workers should strive to use short ids whenever possible, but it is ok + # to request the short_id again if a worker lost track of it + # (e.g. if the worker is recovering from a crash). + # NOTE: it is possible that the response may have short ids for a subset + # of the metrics. + # Corresponds to the JSON property `metricShortId` + # @return [Array] + attr_accessor :metric_short_id + + # The index value to use for the next report sent by the worker. + # Note: If the report call fails for whatever reason, the worker should + # reuse this index for subsequent report attempts. + # Corresponds to the JSON property `nextReportIndex` + # @return [Fixnum] + attr_accessor :next_report_index + + # Obsolete in favor of ApproximateReportedProgress and ApproximateSplitRequest. + # Corresponds to the JSON property `suggestedStopPoint` + # @return [Google::Apis::DataflowV1b3::ApproximateProgress] + attr_accessor :suggested_stop_point + + # A suggestion by the service to the worker to dynamically split the WorkItem. + # Corresponds to the JSON property `splitRequest` + # @return [Google::Apis::DataflowV1b3::ApproximateSplitRequest] + attr_accessor :split_request + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @report_status_interval = args[:report_status_interval] if args.key?(:report_status_interval) + @suggested_stop_position = args[:suggested_stop_position] if args.key?(:suggested_stop_position) + @harness_data = args[:harness_data] if args.key?(:harness_data) + @lease_expire_time = args[:lease_expire_time] if args.key?(:lease_expire_time) + @metric_short_id = args[:metric_short_id] if args.key?(:metric_short_id) + @next_report_index = args[:next_report_index] if args.key?(:next_report_index) + @suggested_stop_point = args[:suggested_stop_point] if args.key?(:suggested_stop_point) + @split_request = args[:split_request] if args.key?(:split_request) + end + end + + # Identifies a metric, by describing the source which generated the + # metric. + class MetricStructuredName + include Google::Apis::Core::Hashable + + # Origin (namespace) of metric name. May be blank for user-define metrics; + # will be "dataflow" for metrics defined by the Dataflow service or SDK. + # Corresponds to the JSON property `origin` + # @return [String] + attr_accessor :origin + + # Worker-defined metric name. + # Corresponds to the JSON property `name` + # @return [String] + attr_accessor :name + + # Zero or more labeled fields which identify the part of the job this + # metric is associated with, such as the name of a step or collection. + # For example, built-in counters associated with steps will have + # context['step'] = . Counters associated with PCollections + # in the SDK will have context['pcollection'] = . + # Corresponds to the JSON property `context` + # @return [Hash] + attr_accessor :context + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @origin = args[:origin] if args.key?(:origin) + @name = args[:name] if args.key?(:name) + @context = args[:context] if args.key?(:context) + end + end + + # Information about an output of a SeqMapTask. + class SeqMapTaskOutputInfo + include Google::Apis::Core::Hashable + + # A sink that records can be encoded and written to. + # Corresponds to the JSON property `sink` + # @return [Google::Apis::DataflowV1b3::Sink] + attr_accessor :sink + + # The id of the TupleTag the user code will tag the output value by. + # Corresponds to the JSON property `tag` + # @return [String] + attr_accessor :tag + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @sink = args[:sink] if args.key?(:sink) + @tag = args[:tag] if args.key?(:tag) + end + end + + # Contains information about how a particular + # google.dataflow.v1beta3.Step will be executed. + class JobExecutionStageInfo + include Google::Apis::Core::Hashable + + # The steps associated with the execution stage. + # Note that stages may have several steps, and that a given step + # might be run by more than one stage. + # Corresponds to the JSON property `stepName` + # @return [Array] + attr_accessor :step_name + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @step_name = args[:step_name] if args.key?(:step_name) + end + end + + # Location information for a specific key-range of a sharded computation. + # Currently we only support UTF-8 character splits to simplify encoding into + # JSON. + class KeyRangeLocation + include Google::Apis::Core::Hashable + + # The start (inclusive) of the key range. + # Corresponds to the JSON property `start` + # @return [String] + attr_accessor :start + + # The name of the data disk where data for this range is stored. + # This name is local to the Google Cloud Platform project and uniquely + # identifies the disk within that project, for example + # "myproject-1014-104817-4c2-harness-0-disk-1". + # Corresponds to the JSON property `dataDisk` + # @return [String] + attr_accessor :data_disk + + # The end (exclusive) of the key range. + # Corresponds to the JSON property `end` + # @return [String] + attr_accessor :end + + # DEPRECATED. The location of the persistent state for this range, as a + # persistent directory in the worker local filesystem. + # Corresponds to the JSON property `deprecatedPersistentDirectory` + # @return [String] + attr_accessor :deprecated_persistent_directory + + # The physical location of this range assignment to be used for + # streaming computation cross-worker message delivery. + # Corresponds to the JSON property `deliveryEndpoint` + # @return [String] + attr_accessor :delivery_endpoint + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @start = args[:start] if args.key?(:start) + @data_disk = args[:data_disk] if args.key?(:data_disk) + @end = args[:end] if args.key?(:end) + @deprecated_persistent_directory = args[:deprecated_persistent_directory] if args.key?(:deprecated_persistent_directory) + @delivery_endpoint = args[:delivery_endpoint] if args.key?(:delivery_endpoint) + end + end + + # A request to compute the SourceMetadata of a Source. + class SourceGetMetadataRequest + include Google::Apis::Core::Hashable + + # A source that records can be read and decoded from. + # Corresponds to the JSON property `source` + # @return [Google::Apis::DataflowV1b3::Source] + attr_accessor :source + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @source = args[:source] if args.key?(:source) + end + end + + # Basic metadata about a counter. + class NameAndKind + include Google::Apis::Core::Hashable + + # Counter aggregation kind. + # Corresponds to the JSON property `kind` + # @return [String] + attr_accessor :kind + + # Name of the counter. + # Corresponds to the JSON property `name` + # @return [String] + attr_accessor :name + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @kind = args[:kind] if args.key?(:kind) + @name = args[:name] if args.key?(:name) + end + end + + # Describes a particular function to invoke. + class SeqMapTask + include Google::Apis::Core::Hashable + + # System-defined name of the SeqDo operation. + # Unique across the workflow. + # Corresponds to the JSON property `systemName` + # @return [String] + attr_accessor :system_name + + # System-defined name of the stage containing the SeqDo operation. + # Unique across the workflow. + # Corresponds to the JSON property `stageName` + # @return [String] + attr_accessor :stage_name + + # The user function to invoke. + # Corresponds to the JSON property `userFn` + # @return [Hash] + attr_accessor :user_fn + + # The user-provided name of the SeqDo operation. + # Corresponds to the JSON property `name` + # @return [String] + attr_accessor :name + + # Information about each of the outputs. + # Corresponds to the JSON property `outputInfos` + # @return [Array] + attr_accessor :output_infos + + # Information about each of the inputs. + # Corresponds to the JSON property `inputs` + # @return [Array] + attr_accessor :inputs + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @system_name = args[:system_name] if args.key?(:system_name) + @stage_name = args[:stage_name] if args.key?(:stage_name) + @user_fn = args[:user_fn] if args.key?(:user_fn) + @name = args[:name] if args.key?(:name) + @output_infos = args[:output_infos] if args.key?(:output_infos) + @inputs = args[:inputs] if args.key?(:inputs) + end + end + + # A message code is used to report status and error messages to the service. + # The message codes are intended to be machine readable. The service will + # take care of translating these into user understandable messages if + # necessary. + # Example use cases: + # 1. Worker processes reporting successful startup. + # 2. Worker processes reporting specific errors (e.g. package staging + # failure). + class WorkerMessageCode + include Google::Apis::Core::Hashable + + # The code is a string intended for consumption by a machine that identifies + # the type of message being sent. + # Examples: + # 1. "HARNESS_STARTED" might be used to indicate the worker harness has + # started. + # 2. "GCS_DOWNLOAD_ERROR" might be used to indicate an error downloading + # a GCS file as part of the boot process of one of the worker containers. + # This is a string and not an enum to make it easy to add new codes without + # waiting for an API change. + # Corresponds to the JSON property `code` + # @return [String] + attr_accessor :code + + # Parameters contains specific information about the code. + # This is a struct to allow parameters of different types. + # Examples: + # 1. For a "HARNESS_STARTED" message parameters might provide the name + # of the worker and additional data like timing information. + # 2. For a "GCS_DOWNLOAD_ERROR" parameters might contain fields listing + # the GCS objects being downloaded and fields containing errors. + # In general complex data structures should be avoided. If a worker + # needs to send a specific and complicated data structure then please + # consider defining a new proto and adding it to the data oneof in + # WorkerMessageResponse. + # Conventions: + # Parameters should only be used for information that isn't typically passed + # as a label. + # hostname and other worker identifiers should almost always be passed + # as labels since they will be included on most messages. + # Corresponds to the JSON property `parameters` + # @return [Hash] + attr_accessor :parameters + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @code = args[:code] if args.key?(:code) + @parameters = args[:parameters] if args.key?(:parameters) + end + end + + # Identifies the location of a custom souce. + class CustomSourceLocation + include Google::Apis::Core::Hashable + + # Whether this source is stateful. + # Corresponds to the JSON property `stateful` + # @return [Boolean] + attr_accessor :stateful + alias_method :stateful?, :stateful + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @stateful = args[:stateful] if args.key?(:stateful) + end + end + + # MapTask consists of an ordered set of instructions, each of which + # describes one particular low-level operation for the worker to + # perform in order to accomplish the MapTask's WorkItem. + # Each instruction must appear in the list before any instructions which + # depends on its output. + class MapTask + include Google::Apis::Core::Hashable + + # System-defined name of this MapTask. + # Unique across the workflow. + # Corresponds to the JSON property `systemName` + # @return [String] + attr_accessor :system_name + + # System-defined name of the stage containing this MapTask. + # Unique across the workflow. + # Corresponds to the JSON property `stageName` + # @return [String] + attr_accessor :stage_name + + # The instructions in the MapTask. + # Corresponds to the JSON property `instructions` + # @return [Array] + attr_accessor :instructions + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @system_name = args[:system_name] if args.key?(:system_name) + @stage_name = args[:stage_name] if args.key?(:stage_name) + @instructions = args[:instructions] if args.key?(:instructions) + end + end + + # A representation of a floating point mean metric contribution. + class FloatingPointMean + include Google::Apis::Core::Hashable + + # A representation of an int64, n, that is immune to precision loss when + # encoded in JSON. + # Corresponds to the JSON property `count` + # @return [Google::Apis::DataflowV1b3::SplitInt64] + attr_accessor :count + + # The sum of all values being aggregated. + # Corresponds to the JSON property `sum` + # @return [Float] + attr_accessor :sum + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @count = args[:count] if args.key?(:count) + @sum = args[:sum] if args.key?(:sum) + end + end + + # Response from a request to report the status of WorkItems. + class ReportWorkItemStatusResponse + include Google::Apis::Core::Hashable + + # A set of messages indicating the service-side state for each + # WorkItem whose status was reported, in the same order as the + # WorkItemStatus messages in the ReportWorkItemStatusRequest which + # resulting in this response. + # Corresponds to the JSON property `workItemServiceStates` + # @return [Array] + attr_accessor :work_item_service_states + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @work_item_service_states = args[:work_item_service_states] if args.key?(:work_item_service_states) + end + end + + # An output of an instruction. + class InstructionOutput + include Google::Apis::Core::Hashable + + # The codec to use to encode data being written via this output. + # Corresponds to the JSON property `codec` + # @return [Hash] + attr_accessor :codec + + # The user-provided name of this output. + # Corresponds to the JSON property `name` + # @return [String] + attr_accessor :name + + # System-defined name for this output in the original workflow graph. + # Outputs that do not contribute to an original instruction do not set this. + # Corresponds to the JSON property `originalName` + # @return [String] + attr_accessor :original_name + + # System-defined name of this output. + # Unique across the workflow. + # Corresponds to the JSON property `systemName` + # @return [String] + attr_accessor :system_name + + # For system-generated byte and mean byte metrics, certain instructions + # should only report the key size. + # Corresponds to the JSON property `onlyCountKeyBytes` + # @return [Boolean] + attr_accessor :only_count_key_bytes + alias_method :only_count_key_bytes?, :only_count_key_bytes + + # For system-generated byte and mean byte metrics, certain instructions + # should only report the value size. + # Corresponds to the JSON property `onlyCountValueBytes` + # @return [Boolean] + attr_accessor :only_count_value_bytes + alias_method :only_count_value_bytes?, :only_count_value_bytes + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @codec = args[:codec] if args.key?(:codec) + @name = args[:name] if args.key?(:name) + @original_name = args[:original_name] if args.key?(:original_name) + @system_name = args[:system_name] if args.key?(:system_name) + @only_count_key_bytes = args[:only_count_key_bytes] if args.key?(:only_count_key_bytes) + @only_count_value_bytes = args[:only_count_value_bytes] if args.key?(:only_count_value_bytes) + end + end + + # A request to create a Cloud Dataflow job from a template. + class CreateJobFromTemplateRequest + include Google::Apis::Core::Hashable + + # The runtime parameters to pass to the job. + # Corresponds to the JSON property `parameters` + # @return [Hash] + attr_accessor :parameters + + # Required. The job name to use for the created job. + # Corresponds to the JSON property `jobName` + # @return [String] + attr_accessor :job_name + + # Required. A Cloud Storage path to the template from which to + # create the job. + # Must be a valid Cloud Storage URL, beginning with `gs://`. + # Corresponds to the JSON property `gcsPath` + # @return [String] + attr_accessor :gcs_path + + # The environment values to set at runtime. + # Corresponds to the JSON property `environment` + # @return [Google::Apis::DataflowV1b3::RuntimeEnvironment] + attr_accessor :environment + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @parameters = args[:parameters] if args.key?(:parameters) + @job_name = args[:job_name] if args.key?(:job_name) + @gcs_path = args[:gcs_path] if args.key?(:gcs_path) + @environment = args[:environment] if args.key?(:environment) + end + end + + # A representation of an integer mean metric contribution. + class IntegerMean + include Google::Apis::Core::Hashable + + # A representation of an int64, n, that is immune to precision loss when + # encoded in JSON. + # Corresponds to the JSON property `count` + # @return [Google::Apis::DataflowV1b3::SplitInt64] + attr_accessor :count + + # A representation of an int64, n, that is immune to precision loss when + # encoded in JSON. + # Corresponds to the JSON property `sum` + # @return [Google::Apis::DataflowV1b3::SplitInt64] + attr_accessor :sum + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @count = args[:count] if args.key?(:count) + @sum = args[:sum] if args.key?(:sum) + end + end + + # Response to a request to list Cloud Dataflow jobs. This may be a partial + # response, depending on the page size in the ListJobsRequest. + class ListJobsResponse + include Google::Apis::Core::Hashable + + # Set if there may be more results than fit in this response. + # Corresponds to the JSON property `nextPageToken` + # @return [String] + attr_accessor :next_page_token + + # Zero or more messages describing locations that failed to respond. + # Corresponds to the JSON property `failedLocation` + # @return [Array] + attr_accessor :failed_location + + # A subset of the requested job information. + # Corresponds to the JSON property `jobs` + # @return [Array] + attr_accessor :jobs + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @next_page_token = args[:next_page_token] if args.key?(:next_page_token) + @failed_location = args[:failed_location] if args.key?(:failed_location) + @jobs = args[:jobs] if args.key?(:jobs) + end + end + + # All configuration data for a particular Computation. + class ComputationTopology + include Google::Apis::Core::Hashable + + # The user stage name. + # Corresponds to the JSON property `userStageName` + # @return [String] + attr_accessor :user_stage_name + + # The outputs from the computation. + # Corresponds to the JSON property `outputs` + # @return [Array] + attr_accessor :outputs + + # The state family values. + # Corresponds to the JSON property `stateFamilies` + # @return [Array] + attr_accessor :state_families + + # The system stage name. + # Corresponds to the JSON property `systemStageName` + # @return [String] + attr_accessor :system_stage_name + + # The inputs to the computation. + # Corresponds to the JSON property `inputs` + # @return [Array] + attr_accessor :inputs + + # The ID of the computation. + # Corresponds to the JSON property `computationId` + # @return [String] + attr_accessor :computation_id + + # The key ranges processed by the computation. + # Corresponds to the JSON property `keyRanges` + # @return [Array] + attr_accessor :key_ranges + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @user_stage_name = args[:user_stage_name] if args.key?(:user_stage_name) + @outputs = args[:outputs] if args.key?(:outputs) + @state_families = args[:state_families] if args.key?(:state_families) + @system_stage_name = args[:system_stage_name] if args.key?(:system_stage_name) + @inputs = args[:inputs] if args.key?(:inputs) + @computation_id = args[:computation_id] if args.key?(:computation_id) + @key_ranges = args[:key_ranges] if args.key?(:key_ranges) + end + end + + # The environment values to set at runtime. + class RuntimeEnvironment + include Google::Apis::Core::Hashable + + # The email address of the service account to run the job as. + # Corresponds to the JSON property `serviceAccountEmail` + # @return [String] + attr_accessor :service_account_email + + # The Cloud Storage path to use for temporary files. + # Must be a valid Cloud Storage URL, beginning with `gs://`. + # Corresponds to the JSON property `tempLocation` + # @return [String] + attr_accessor :temp_location + + # Whether to bypass the safety checks for the job's temporary directory. + # Use with caution. + # Corresponds to the JSON property `bypassTempDirValidation` + # @return [Boolean] + attr_accessor :bypass_temp_dir_validation + alias_method :bypass_temp_dir_validation?, :bypass_temp_dir_validation + + # The maximum number of Google Compute Engine instances to be made + # available to your pipeline during execution, from 1 to 1000. + # Corresponds to the JSON property `maxWorkers` + # @return [Fixnum] + attr_accessor :max_workers + + # The Compute Engine [availability zone](https://cloud.google.com/compute/docs/ + # regions-zones/regions-zones) + # for launching worker instances to run your pipeline. + # Corresponds to the JSON property `zone` + # @return [String] + attr_accessor :zone + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @service_account_email = args[:service_account_email] if args.key?(:service_account_email) + @temp_location = args[:temp_location] if args.key?(:temp_location) + @bypass_temp_dir_validation = args[:bypass_temp_dir_validation] if args.key?(:bypass_temp_dir_validation) + @max_workers = args[:max_workers] if args.key?(:max_workers) + @zone = args[:zone] if args.key?(:zone) + end + end + + # Identifies the location of a streaming side input. + class StreamingSideInputLocation + include Google::Apis::Core::Hashable + + # Identifies the particular side input within the streaming Dataflow job. + # Corresponds to the JSON property `tag` + # @return [String] + attr_accessor :tag + + # Identifies the state family where this side input is stored. + # Corresponds to the JSON property `stateFamily` + # @return [String] + attr_accessor :state_family + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @tag = args[:tag] if args.key?(:tag) + @state_family = args[:state_family] if args.key?(:state_family) + end + end + + # Describes mounted data disk. + class MountedDataDisk + include Google::Apis::Core::Hashable + + # The name of the data disk. + # This name is local to the Google Cloud Platform project and uniquely + # identifies the disk within that project, for example + # "myproject-1014-104817-4c2-harness-0-disk-1". + # Corresponds to the JSON property `dataDisk` + # @return [String] + attr_accessor :data_disk + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @data_disk = args[:data_disk] if args.key?(:data_disk) + end + end + + # Response to the request to launch a template. + class LaunchTemplateResponse + include Google::Apis::Core::Hashable + + # Defines a job to be run by the Cloud Dataflow service. + # Corresponds to the JSON property `job` + # @return [Google::Apis::DataflowV1b3::Job] + attr_accessor :job + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @job = args[:job] if args.key?(:job) + end + end + + # Specification of one of the bundles produced as a result of splitting + # a Source (e.g. when executing a SourceSplitRequest, or when + # splitting an active task using WorkItemStatus.dynamic_source_split), + # relative to the source being split. + class DerivedSource + include Google::Apis::Core::Hashable + + # What source to base the produced source on (if any). + # Corresponds to the JSON property `derivationMode` + # @return [String] + attr_accessor :derivation_mode + + # A source that records can be read and decoded from. + # Corresponds to the JSON property `source` + # @return [Google::Apis::DataflowV1b3::Source] + attr_accessor :source + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @derivation_mode = args[:derivation_mode] if args.key?(:derivation_mode) + @source = args[:source] if args.key?(:source) + end + end + + # When a task splits using WorkItemStatus.dynamic_source_split, this + # message describes the two parts of the split relative to the + # description of the current task's input. + class DynamicSourceSplit + include Google::Apis::Core::Hashable + + # Specification of one of the bundles produced as a result of splitting + # a Source (e.g. when executing a SourceSplitRequest, or when + # splitting an active task using WorkItemStatus.dynamic_source_split), + # relative to the source being split. + # Corresponds to the JSON property `residual` + # @return [Google::Apis::DataflowV1b3::DerivedSource] + attr_accessor :residual + + # Specification of one of the bundles produced as a result of splitting + # a Source (e.g. when executing a SourceSplitRequest, or when + # splitting an active task using WorkItemStatus.dynamic_source_split), + # relative to the source being split. + # Corresponds to the JSON property `primary` + # @return [Google::Apis::DataflowV1b3::DerivedSource] + attr_accessor :primary + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @residual = args[:residual] if args.key?(:residual) + @primary = args[:primary] if args.key?(:primary) + end + end + + # Defines a job to be run by the Cloud Dataflow service. + class Job + include Google::Apis::Core::Hashable + + # If this job is an update of an existing job, this field is the job ID + # of the job it replaced. + # When sending a `CreateJobRequest`, you can update a job by specifying it + # here. The job named here is stopped, and its intermediate state is + # transferred to this job. + # Corresponds to the JSON property `replaceJobId` + # @return [String] + attr_accessor :replace_job_id + + # The job's requested state. + # `UpdateJob` may be used to switch between the `JOB_STATE_STOPPED` and + # `JOB_STATE_RUNNING` states, by setting requested_state. `UpdateJob` may + # also be used to directly set a job's requested state to + # `JOB_STATE_CANCELLED` or `JOB_STATE_DONE`, irrevocably terminating the + # job if it has not already reached a terminal state. + # Corresponds to the JSON property `requestedState` + # @return [String] + attr_accessor :requested_state + + # A set of files the system should be aware of that are used + # for temporary storage. These temporary files will be + # removed on job completion. + # No duplicates are allowed. + # No file patterns are supported. + # The supported files are: + # Google Cloud Storage: + # storage.googleapis.com/`bucket`/`object` + # bucket.storage.googleapis.com/`object` + # Corresponds to the JSON property `tempFiles` + # @return [Array] + attr_accessor :temp_files + + # The client's unique identifier of the job, re-used across retried attempts. + # If this field is set, the service will ensure its uniqueness. + # The request to create a job will fail if the service has knowledge of a + # previously submitted job with the same client's ID and job name. + # The caller may use this field to ensure idempotence of job + # creation across retried attempts to create a job. + # By default, the field is empty and, in that case, the service ignores it. + # Corresponds to the JSON property `clientRequestId` + # @return [String] + attr_accessor :client_request_id + + # The user-specified Cloud Dataflow job name. + # Only one Job with a given name may exist in a project at any + # given time. If a caller attempts to create a Job with the same + # name as an already-existing Job, the attempt returns the + # existing Job. + # The name must match the regular expression + # `[a-z]([-a-z0-9]`0,38`[a-z0-9])?` + # Corresponds to the JSON property `name` + # @return [String] + attr_accessor :name + + # The top-level steps that constitute the entire job. + # Corresponds to the JSON property `steps` + # @return [Array] + attr_accessor :steps + + # If another job is an update of this job (and thus, this job is in + # `JOB_STATE_UPDATED`), this field contains the ID of that job. + # Corresponds to the JSON property `replacedByJobId` + # @return [String] + attr_accessor :replaced_by_job_id + + # Additional information about how a Cloud Dataflow job will be executed that + # isn't contained in the submitted job. + # Corresponds to the JSON property `executionInfo` + # @return [Google::Apis::DataflowV1b3::JobExecutionInfo] + attr_accessor :execution_info + + # The unique ID of this job. + # This field is set by the Cloud Dataflow service when the Job is + # created, and is immutable for the life of the job. + # Corresponds to the JSON property `id` + # @return [String] + attr_accessor :id + + # The current state of the job. + # Jobs are created in the `JOB_STATE_STOPPED` state unless otherwise + # specified. + # A job in the `JOB_STATE_RUNNING` state may asynchronously enter a + # terminal state. After a job has reached a terminal state, no + # further state updates may be made. + # This field may be mutated by the Cloud Dataflow service; + # callers cannot mutate it. + # Corresponds to the JSON property `currentState` + # @return [String] + attr_accessor :current_state + + # The location that contains this job. + # Corresponds to the JSON property `location` + # @return [String] + attr_accessor :location + + # The timestamp associated with the current state. + # Corresponds to the JSON property `currentStateTime` + # @return [String] + attr_accessor :current_state_time + + # The map of transform name prefixes of the job to be replaced to the + # corresponding name prefixes of the new job. + # Corresponds to the JSON property `transformNameMapping` + # @return [Hash] + attr_accessor :transform_name_mapping + + # The timestamp when the job was initially created. Immutable and set by the + # Cloud Dataflow service. + # Corresponds to the JSON property `createTime` + # @return [String] + attr_accessor :create_time + + # Describes the environment in which a Dataflow Job runs. + # Corresponds to the JSON property `environment` + # @return [Google::Apis::DataflowV1b3::Environment] + attr_accessor :environment + + # User-defined labels for this job. + # The labels map can contain no more than 64 entries. Entries of the labels + # map are UTF8 strings that comply with the following restrictions: + # * Keys must conform to regexp: \p`Ll`\p`Lo``0,62` + # * Values must conform to regexp: [\p`Ll`\p`Lo`\p`N`_-]`0,63` + # * Both keys and values are additionally constrained to be <= 128 bytes in + # size. + # Corresponds to the JSON property `labels` + # @return [Hash] + attr_accessor :labels + + # The type of Cloud Dataflow job. + # Corresponds to the JSON property `type` + # @return [String] + attr_accessor :type + + # The ID of the Cloud Platform project that the job belongs to. + # Corresponds to the JSON property `projectId` + # @return [String] + attr_accessor :project_id + + # A descriptive representation of submitted pipeline as well as the executed + # form. This data is provided by the Dataflow service for ease of visualizing + # the pipeline and interpretting Dataflow provided metrics. + # Corresponds to the JSON property `pipelineDescription` + # @return [Google::Apis::DataflowV1b3::PipelineDescription] + attr_accessor :pipeline_description + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @replace_job_id = args[:replace_job_id] if args.key?(:replace_job_id) + @requested_state = args[:requested_state] if args.key?(:requested_state) + @temp_files = args[:temp_files] if args.key?(:temp_files) + @client_request_id = args[:client_request_id] if args.key?(:client_request_id) + @name = args[:name] if args.key?(:name) + @steps = args[:steps] if args.key?(:steps) + @replaced_by_job_id = args[:replaced_by_job_id] if args.key?(:replaced_by_job_id) + @execution_info = args[:execution_info] if args.key?(:execution_info) + @id = args[:id] if args.key?(:id) + @current_state = args[:current_state] if args.key?(:current_state) + @location = args[:location] if args.key?(:location) + @current_state_time = args[:current_state_time] if args.key?(:current_state_time) + @transform_name_mapping = args[:transform_name_mapping] if args.key?(:transform_name_mapping) + @create_time = args[:create_time] if args.key?(:create_time) + @environment = args[:environment] if args.key?(:environment) + @labels = args[:labels] if args.key?(:labels) + @type = args[:type] if args.key?(:type) + @project_id = args[:project_id] if args.key?(:project_id) + @pipeline_description = args[:pipeline_description] if args.key?(:pipeline_description) + end + end + + # The result of a SourceOperationRequest, specified in + # ReportWorkItemStatusRequest.source_operation when the work item + # is completed. + class SourceOperationResponse + include Google::Apis::Core::Hashable + + # The result of a SourceGetMetadataOperation. + # Corresponds to the JSON property `getMetadata` + # @return [Google::Apis::DataflowV1b3::SourceGetMetadataResponse] + attr_accessor :get_metadata + + # The response to a SourceSplitRequest. + # Corresponds to the JSON property `split` + # @return [Google::Apis::DataflowV1b3::SourceSplitResponse] + attr_accessor :split + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @get_metadata = args[:get_metadata] if args.key?(:get_metadata) + @split = args[:split] if args.key?(:split) + end + end + + # Information about a side input of a DoFn or an input of a SeqDoFn. + class SideInputInfo + include Google::Apis::Core::Hashable + + # The source(s) to read element(s) from to get the value of this side input. + # If more than one source, then the elements are taken from the + # sources, in the specified order if order matters. + # At least one source is required. + # Corresponds to the JSON property `sources` + # @return [Array] + attr_accessor :sources + + # How to interpret the source element(s) as a side input value. + # Corresponds to the JSON property `kind` + # @return [Hash] + attr_accessor :kind + + # The id of the tag the user code will access this side input by; + # this should correspond to the tag of some MultiOutputInfo. + # Corresponds to the JSON property `tag` + # @return [String] + attr_accessor :tag + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @sources = args[:sources] if args.key?(:sources) + @kind = args[:kind] if args.key?(:kind) + @tag = args[:tag] if args.key?(:tag) + end + end + + # Response to a send capture request. + # nothing + class SendDebugCaptureResponse + include Google::Apis::Core::Hashable + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + end + end + + # A single message which encapsulates structured name and metadata for a given + # counter. + class CounterStructuredNameAndMetadata + include Google::Apis::Core::Hashable + + # Identifies a counter within a per-job namespace. Counters whose structured + # names are the same get merged into a single value for the job. + # Corresponds to the JSON property `name` + # @return [Google::Apis::DataflowV1b3::CounterStructuredName] + attr_accessor :name + + # CounterMetadata includes all static non-name non-value counter attributes. + # Corresponds to the JSON property `metadata` + # @return [Google::Apis::DataflowV1b3::CounterMetadata] + attr_accessor :metadata + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @name = args[:name] if args.key?(:name) + @metadata = args[:metadata] if args.key?(:metadata) + end + end + + # A position that encapsulates an inner position and an index for the inner + # position. A ConcatPosition can be used by a reader of a source that + # encapsulates a set of other sources. + class ConcatPosition + include Google::Apis::Core::Hashable + + # Position defines a position within a collection of data. The value + # can be either the end position, a key (used with ordered + # collections), a byte offset, or a record index. + # Corresponds to the JSON property `position` + # @return [Google::Apis::DataflowV1b3::Position] + attr_accessor :position + + # Index of the inner source. + # Corresponds to the JSON property `index` + # @return [Fixnum] + attr_accessor :index + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @position = args[:position] if args.key?(:position) + @index = args[:index] if args.key?(:index) + end + end + + # An instruction that writes records. + # Takes one input, produces no outputs. + class WriteInstruction + include Google::Apis::Core::Hashable + + # A sink that records can be encoded and written to. + # Corresponds to the JSON property `sink` + # @return [Google::Apis::DataflowV1b3::Sink] + attr_accessor :sink + + # An input of an instruction, as a reference to an output of a + # producer instruction. + # Corresponds to the JSON property `input` + # @return [Google::Apis::DataflowV1b3::InstructionInput] + attr_accessor :input + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @sink = args[:sink] if args.key?(:sink) + @input = args[:input] if args.key?(:input) + end + end + + # Describes full or partial data disk assignment information of the computation + # ranges. + class StreamingComputationRanges + include Google::Apis::Core::Hashable + + # The ID of the computation. + # Corresponds to the JSON property `computationId` + # @return [String] + attr_accessor :computation_id + + # Data disk assignments for ranges from this computation. + # Corresponds to the JSON property `rangeAssignments` + # @return [Array] + attr_accessor :range_assignments + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @computation_id = args[:computation_id] if args.key?(:computation_id) + @range_assignments = args[:range_assignments] if args.key?(:range_assignments) + end + end + + # Settings for WorkerPool autoscaling. + class AutoscalingSettings + include Google::Apis::Core::Hashable + + # The algorithm to use for autoscaling. + # Corresponds to the JSON property `algorithm` + # @return [String] + attr_accessor :algorithm + + # The maximum number of workers to cap scaling at. + # Corresponds to the JSON property `maxNumWorkers` + # @return [Fixnum] + attr_accessor :max_num_workers + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @algorithm = args[:algorithm] if args.key?(:algorithm) + @max_num_workers = args[:max_num_workers] if args.key?(:max_num_workers) + end + end + + # Description of the composing transforms, names/ids, and input/outputs of a + # stage of execution. Some composing transforms and sources may have been + # generated by the Dataflow service during execution planning. + class ExecutionStageSummary + include Google::Apis::Core::Hashable + + # Input sources for this stage. + # Corresponds to the JSON property `inputSource` + # @return [Array] + attr_accessor :input_source + + # Dataflow service generated id for this stage. + # Corresponds to the JSON property `id` + # @return [String] + attr_accessor :id + + # Transforms that comprise this execution stage. + # Corresponds to the JSON property `componentTransform` + # @return [Array] + attr_accessor :component_transform + + # Collections produced and consumed by component transforms of this stage. + # Corresponds to the JSON property `componentSource` + # @return [Array] + attr_accessor :component_source + + # Type of tranform this stage is executing. + # Corresponds to the JSON property `kind` + # @return [String] + attr_accessor :kind + + # Output sources for this stage. + # Corresponds to the JSON property `outputSource` + # @return [Array] + attr_accessor :output_source + + # Dataflow service generated name for this stage. + # Corresponds to the JSON property `name` + # @return [String] + attr_accessor :name + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @input_source = args[:input_source] if args.key?(:input_source) + @id = args[:id] if args.key?(:id) + @component_transform = args[:component_transform] if args.key?(:component_transform) + @component_source = args[:component_source] if args.key?(:component_source) + @kind = args[:kind] if args.key?(:kind) + @output_source = args[:output_source] if args.key?(:output_source) + @name = args[:name] if args.key?(:name) + end + end + + # A request for sending worker messages to the service. + class SendWorkerMessagesRequest + include Google::Apis::Core::Hashable + + # The WorkerMessages to send. + # Corresponds to the JSON property `workerMessages` + # @return [Array] + attr_accessor :worker_messages + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @worker_messages = args[:worker_messages] if args.key?(:worker_messages) + end + end + + # DEPRECATED in favor of DerivedSource. + class SourceSplitShard + include Google::Apis::Core::Hashable + + # DEPRECATED + # Corresponds to the JSON property `derivationMode` + # @return [String] + attr_accessor :derivation_mode + + # A source that records can be read and decoded from. + # Corresponds to the JSON property `source` + # @return [Google::Apis::DataflowV1b3::Source] + attr_accessor :source + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @derivation_mode = args[:derivation_mode] if args.key?(:derivation_mode) + @source = args[:source] if args.key?(:source) + end + end + + # Modeled after information exposed by /proc/stat. + class CpuTime + include Google::Apis::Core::Hashable + + # Average CPU utilization rate (% non-idle cpu / second) since previous + # sample. + # Corresponds to the JSON property `rate` + # @return [Float] + attr_accessor :rate + + # Timestamp of the measurement. + # Corresponds to the JSON property `timestamp` + # @return [String] + attr_accessor :timestamp + + # Total active CPU time across all cores (ie., non-idle) in milliseconds + # since start-up. + # Corresponds to the JSON property `totalMs` + # @return [Fixnum] + attr_accessor :total_ms + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @rate = args[:rate] if args.key?(:rate) + @timestamp = args[:timestamp] if args.key?(:timestamp) + @total_ms = args[:total_ms] if args.key?(:total_ms) + end + end + + # Describes the environment in which a Dataflow Job runs. + class Environment + include Google::Apis::Core::Hashable + + # The type of cluster manager API to use. If unknown or + # unspecified, the service will attempt to choose a reasonable + # default. This should be in the form of the API service name, + # e.g. "compute.googleapis.com". + # Corresponds to the JSON property `clusterManagerApiService` + # @return [String] + attr_accessor :cluster_manager_api_service + + # The prefix of the resources the system should use for temporary + # storage. The system will append the suffix "/temp-`JOBNAME` to + # this resource prefix, where `JOBNAME` is the value of the + # job_name field. The resulting bucket and object prefix is used + # as the prefix of the resources used to store temporary data + # needed during the job execution. NOTE: This will override the + # value in taskrunner_settings. + # The supported resource type is: + # Google Cloud Storage: + # storage.googleapis.com/`bucket`/`object` + # bucket.storage.googleapis.com/`object` + # Corresponds to the JSON property `tempStoragePrefix` + # @return [String] + attr_accessor :temp_storage_prefix + + # The worker pools. At least one "harness" worker pool must be + # specified in order for the job to have workers. + # Corresponds to the JSON property `workerPools` + # @return [Array] + attr_accessor :worker_pools + + # The dataset for the current project where various workflow + # related tables are stored. + # The supported resource type is: + # Google BigQuery: + # bigquery.googleapis.com/`dataset` + # Corresponds to the JSON property `dataset` + # @return [String] + attr_accessor :dataset + + # The list of experiments to enable. + # Corresponds to the JSON property `experiments` + # @return [Array] + attr_accessor :experiments + + # A structure describing which components and their versions of the service + # are required in order to run the job. + # Corresponds to the JSON property `version` + # @return [Hash] + attr_accessor :version + + # Experimental settings. + # Corresponds to the JSON property `internalExperiments` + # @return [Hash] + attr_accessor :internal_experiments + + # Identity to run virtual machines as. Defaults to the default account. + # Corresponds to the JSON property `serviceAccountEmail` + # @return [String] + attr_accessor :service_account_email + + # The Cloud Dataflow SDK pipeline options specified by the user. These + # options are passed through the service and are used to recreate the + # SDK pipeline options on the worker in a language agnostic and platform + # independent way. + # Corresponds to the JSON property `sdkPipelineOptions` + # @return [Hash] + attr_accessor :sdk_pipeline_options + + # A description of the process that generated the request. + # Corresponds to the JSON property `userAgent` + # @return [Hash] + attr_accessor :user_agent + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @cluster_manager_api_service = args[:cluster_manager_api_service] if args.key?(:cluster_manager_api_service) + @temp_storage_prefix = args[:temp_storage_prefix] if args.key?(:temp_storage_prefix) + @worker_pools = args[:worker_pools] if args.key?(:worker_pools) + @dataset = args[:dataset] if args.key?(:dataset) + @experiments = args[:experiments] if args.key?(:experiments) + @version = args[:version] if args.key?(:version) + @internal_experiments = args[:internal_experiments] if args.key?(:internal_experiments) + @service_account_email = args[:service_account_email] if args.key?(:service_account_email) + @sdk_pipeline_options = args[:sdk_pipeline_options] if args.key?(:sdk_pipeline_options) + @user_agent = args[:user_agent] if args.key?(:user_agent) + end + end + + # A task which describes what action should be performed for the specified + # streaming computation ranges. + class StreamingComputationTask + include Google::Apis::Core::Hashable + + # Describes the set of data disks this task should apply to. + # Corresponds to the JSON property `dataDisks` + # @return [Array] + attr_accessor :data_disks + + # A type of streaming computation task. + # Corresponds to the JSON property `taskType` + # @return [String] + attr_accessor :task_type + + # Contains ranges of a streaming computation this task should apply to. + # Corresponds to the JSON property `computationRanges` + # @return [Array] + attr_accessor :computation_ranges + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @data_disks = args[:data_disks] if args.key?(:data_disks) + @task_type = args[:task_type] if args.key?(:task_type) + @computation_ranges = args[:computation_ranges] if args.key?(:computation_ranges) + end + end + + # Request to send encoded debug information. + class SendDebugCaptureRequest + include Google::Apis::Core::Hashable + + # The encoded debug information. + # Corresponds to the JSON property `data` + # @return [String] + attr_accessor :data + + # The internal component id for which debug information is sent. + # Corresponds to the JSON property `componentId` + # @return [String] + attr_accessor :component_id + + # The worker id, i.e., VM hostname. + # Corresponds to the JSON property `workerId` + # @return [String] + attr_accessor :worker_id + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @data = args[:data] if args.key?(:data) + @component_id = args[:component_id] if args.key?(:component_id) + @worker_id = args[:worker_id] if args.key?(:worker_id) + end + end + + # Response to a get debug configuration request. + class GetDebugConfigResponse + include Google::Apis::Core::Hashable + + # The encoded debug configuration for the requested component. + # Corresponds to the JSON property `config` + # @return [String] + attr_accessor :config + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @config = args[:config] if args.key?(:config) + end + end + + # Description of a transform executed as part of an execution stage. + class ComponentTransform + include Google::Apis::Core::Hashable + + # Dataflow service generated name for this source. + # Corresponds to the JSON property `name` + # @return [String] + attr_accessor :name + + # Human-readable name for this transform; may be user or system generated. + # Corresponds to the JSON property `userName` + # @return [String] + attr_accessor :user_name + + # User name for the original user transform with which this transform is + # most closely associated. + # Corresponds to the JSON property `originalTransform` + # @return [String] + attr_accessor :original_transform + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @name = args[:name] if args.key?(:name) + @user_name = args[:user_name] if args.key?(:user_name) + @original_transform = args[:original_transform] if args.key?(:original_transform) + end + end + + # A task which initializes part of a streaming Dataflow job. + class StreamingSetupTask + include Google::Apis::Core::Hashable + + # The TCP port used by the worker to communicate with the Dataflow + # worker harness. + # Corresponds to the JSON property `workerHarnessPort` + # @return [Fixnum] + attr_accessor :worker_harness_port + + # The user has requested drain. + # Corresponds to the JSON property `drain` + # @return [Boolean] + attr_accessor :drain + alias_method :drain?, :drain + + # The TCP port on which the worker should listen for messages from + # other streaming computation workers. + # Corresponds to the JSON property `receiveWorkPort` + # @return [Fixnum] + attr_accessor :receive_work_port + + # Global topology of the streaming Dataflow job, including all + # computations and their sharded locations. + # Corresponds to the JSON property `streamingComputationTopology` + # @return [Google::Apis::DataflowV1b3::TopologyConfig] + attr_accessor :streaming_computation_topology + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @worker_harness_port = args[:worker_harness_port] if args.key?(:worker_harness_port) + @drain = args[:drain] if args.key?(:drain) + @receive_work_port = args[:receive_work_port] if args.key?(:receive_work_port) + @streaming_computation_topology = args[:streaming_computation_topology] if args.key?(:streaming_computation_topology) + end + end + + # Identifies a pubsub location to use for transferring data into or + # out of a streaming Dataflow job. + class PubsubLocation + include Google::Apis::Core::Hashable + + # If true, then the client has requested to get pubsub attributes. + # Corresponds to the JSON property `withAttributes` + # @return [Boolean] + attr_accessor :with_attributes + alias_method :with_attributes?, :with_attributes + + # If set, contains a pubsub label from which to extract record ids. + # If left empty, record deduplication will be strictly best effort. + # Corresponds to the JSON property `idLabel` + # @return [String] + attr_accessor :id_label + + # A pubsub topic, in the form of + # "pubsub.googleapis.com/topics//" + # Corresponds to the JSON property `topic` + # @return [String] + attr_accessor :topic + + # If set, contains a pubsub label from which to extract record timestamps. + # If left empty, record timestamps will be generated upon arrival. + # Corresponds to the JSON property `timestampLabel` + # @return [String] + attr_accessor :timestamp_label + + # A pubsub subscription, in the form of + # "pubsub.googleapis.com/subscriptions//" + # Corresponds to the JSON property `subscription` + # @return [String] + attr_accessor :subscription + + # Indicates whether the pipeline allows late-arriving data. + # Corresponds to the JSON property `dropLateData` + # @return [Boolean] + attr_accessor :drop_late_data + alias_method :drop_late_data?, :drop_late_data + + # If set, specifies the pubsub subscription that will be used for tracking + # custom time timestamps for watermark estimation. + # Corresponds to the JSON property `trackingSubscription` + # @return [String] + attr_accessor :tracking_subscription + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @with_attributes = args[:with_attributes] if args.key?(:with_attributes) + @id_label = args[:id_label] if args.key?(:id_label) + @topic = args[:topic] if args.key?(:topic) + @timestamp_label = args[:timestamp_label] if args.key?(:timestamp_label) + @subscription = args[:subscription] if args.key?(:subscription) + @drop_late_data = args[:drop_late_data] if args.key?(:drop_late_data) + @tracking_subscription = args[:tracking_subscription] if args.key?(:tracking_subscription) + end + end + + # WorkerHealthReport contains information about the health of a worker. + # The VM should be identified by the labels attached to the WorkerMessage that + # this health ping belongs to. + class WorkerHealthReport + include Google::Apis::Core::Hashable + + # The pods running on the worker. See: + # http://kubernetes.io/v1.1/docs/api-reference/v1/definitions.html#_v1_pod + # This field is used by the worker to send the status of the indvidual + # containers running on each worker. + # Corresponds to the JSON property `pods` + # @return [Array>] + attr_accessor :pods + + # The time the VM was booted. + # Corresponds to the JSON property `vmStartupTime` + # @return [String] + attr_accessor :vm_startup_time + + # Whether the VM is healthy. + # Corresponds to the JSON property `vmIsHealthy` + # @return [Boolean] + attr_accessor :vm_is_healthy + alias_method :vm_is_healthy?, :vm_is_healthy + + # The interval at which the worker is sending health reports. + # The default value of 0 should be interpreted as the field is not being + # explicitly set by the worker. + # Corresponds to the JSON property `reportInterval` + # @return [String] + attr_accessor :report_interval + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @pods = args[:pods] if args.key?(:pods) + @vm_startup_time = args[:vm_startup_time] if args.key?(:vm_startup_time) + @vm_is_healthy = args[:vm_is_healthy] if args.key?(:vm_is_healthy) + @report_interval = args[:report_interval] if args.key?(:report_interval) + end + end + + # A particular message pertaining to a Dataflow job. + class JobMessage + include Google::Apis::Core::Hashable + + # The text of the message. + # Corresponds to the JSON property `messageText` + # @return [String] + attr_accessor :message_text + + # Importance level of the message. + # Corresponds to the JSON property `messageImportance` + # @return [String] + attr_accessor :message_importance + + # The timestamp of the message. + # Corresponds to the JSON property `time` + # @return [String] + attr_accessor :time + + # Identifies the message. This is automatically generated by the + # service; the caller should treat it as an opaque string. + # Corresponds to the JSON property `id` + # @return [String] + attr_accessor :id + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @message_text = args[:message_text] if args.key?(:message_text) + @message_importance = args[:message_importance] if args.key?(:message_importance) + @time = args[:time] if args.key?(:time) + @id = args[:id] if args.key?(:id) + end + end + + # Metadata for a specific parameter. + class ParameterMetadata + include Google::Apis::Core::Hashable + + # Optional. Whether the parameter is optional. Defaults to false. + # Corresponds to the JSON property `isOptional` + # @return [Boolean] + attr_accessor :is_optional + alias_method :is_optional?, :is_optional + + # Required. The name of the parameter. + # Corresponds to the JSON property `name` + # @return [String] + attr_accessor :name + + # Optional. Regexes that the parameter must match. + # Corresponds to the JSON property `regexes` + # @return [Array] + attr_accessor :regexes + + # Required. The label to display for the parameter. + # Corresponds to the JSON property `label` + # @return [String] + attr_accessor :label + + # Required. The help text to display for the parameter. + # Corresponds to the JSON property `helpText` + # @return [String] + attr_accessor :help_text + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @is_optional = args[:is_optional] if args.key?(:is_optional) + @name = args[:name] if args.key?(:name) + @regexes = args[:regexes] if args.key?(:regexes) + @label = args[:label] if args.key?(:label) + @help_text = args[:help_text] if args.key?(:help_text) + end + end + + # Information about an output of a multi-output DoFn. + class MultiOutputInfo + include Google::Apis::Core::Hashable + + # The id of the tag the user code will emit to this output by; this + # should correspond to the tag of some SideInputInfo. + # Corresponds to the JSON property `tag` + # @return [String] + attr_accessor :tag + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @tag = args[:tag] if args.key?(:tag) + end + end + + # Represents the operation to split a high-level Source specification + # into bundles (parts for parallel processing). + # At a high level, splitting of a source into bundles happens as follows: + # SourceSplitRequest is applied to the source. If it returns + # SOURCE_SPLIT_OUTCOME_USE_CURRENT, no further splitting happens and the source + # is used "as is". Otherwise, splitting is applied recursively to each + # produced DerivedSource. + # As an optimization, for any Source, if its does_not_need_splitting is + # true, the framework assumes that splitting this source would return + # SOURCE_SPLIT_OUTCOME_USE_CURRENT, and doesn't initiate a SourceSplitRequest. + # This applies both to the initial source being split and to bundles + # produced from it. + class SourceSplitRequest + include Google::Apis::Core::Hashable + + # A source that records can be read and decoded from. + # Corresponds to the JSON property `source` + # @return [Google::Apis::DataflowV1b3::Source] + attr_accessor :source + + # Hints for splitting a Source into bundles (parts for parallel + # processing) using SourceSplitRequest. + # Corresponds to the JSON property `options` + # @return [Google::Apis::DataflowV1b3::SourceSplitOptions] + attr_accessor :options + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @source = args[:source] if args.key?(:source) + @options = args[:options] if args.key?(:options) + end + end + + # The result of a SourceGetMetadataOperation. + class SourceGetMetadataResponse + include Google::Apis::Core::Hashable + + # Metadata about a Source useful for automatically optimizing + # and tuning the pipeline, etc. + # Corresponds to the JSON property `metadata` + # @return [Google::Apis::DataflowV1b3::SourceMetadata] + attr_accessor :metadata + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @metadata = args[:metadata] if args.key?(:metadata) + end + end end end end diff --git a/generated/google/apis/dataflow_v1b3/representations.rb b/generated/google/apis/dataflow_v1b3/representations.rb index bd2bca852..2e646c15e 100644 --- a/generated/google/apis/dataflow_v1b3/representations.rb +++ b/generated/google/apis/dataflow_v1b3/representations.rb @@ -22,439 +22,7 @@ module Google module Apis module DataflowV1b3 - class StateFamilyConfig - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class IntegerList - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class ResourceUtilizationReportResponse - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class SourceSplitResponse - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class ParallelInstruction - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class KeyRangeDataDiskAssignment - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class Package - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class ParDoInstruction - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class CounterStructuredName - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class MetricUpdate - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class ApproximateProgress - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class WorkerMessageResponse - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class TemplateMetadata - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class WorkerMessage - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class JobMetrics - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class FloatingPointList - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class CounterUpdate - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class SourceMetadata - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class DistributionUpdate - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class WorkerHealthReportResponse - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class SourceFork - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class WorkItemStatus - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class ComponentSource - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class WorkItemServiceState - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class MetricStructuredName - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class SeqMapTaskOutputInfo - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class JobExecutionStageInfo - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class KeyRangeLocation - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class SourceGetMetadataRequest - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class SeqMapTask - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class NameAndKind - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class WorkerMessageCode - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class CustomSourceLocation - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class MapTask - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class FloatingPointMean - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class ReportWorkItemStatusResponse - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class InstructionOutput - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class CreateJobFromTemplateRequest - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class IntegerMean - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class ListJobsResponse - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class ComputationTopology - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class RuntimeEnvironment - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class StreamingSideInputLocation - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class MountedDataDisk - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class LaunchTemplateResponse - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class Job - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class DerivedSource - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class DynamicSourceSplit - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class SourceOperationResponse - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class SendDebugCaptureResponse - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class SideInputInfo - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class CounterStructuredNameAndMetadata - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class ConcatPosition - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class WriteInstruction - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class StreamingComputationRanges - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class AutoscalingSettings - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class ExecutionStageSummary - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class SendWorkerMessagesRequest - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class SourceSplitShard - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class CpuTime - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class Environment - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class StreamingComputationTask - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class SendDebugCaptureRequest - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class GetDebugConfigResponse - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class ComponentTransform - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class StreamingSetupTask - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class PubsubLocation - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class WorkerHealthReport - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class JobMessage - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class ParameterMetadata - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class MultiOutputInfo - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class SourceSplitRequest - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class SourceGetMetadataResponse + class MetricShortId class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport @@ -466,12 +34,6 @@ module Google include Google::Apis::Core::JsonObjectSupport end - class MetricShortId - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - class TaskRunnerSettings class Representation < Google::Apis::Core::JsonRepresentation; end @@ -550,13 +112,13 @@ module Google include Google::Apis::Core::JsonObjectSupport end - class DataDiskAssignment + class StreamingStageLocation class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end - class StreamingStageLocation + class DataDiskAssignment class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport @@ -604,13 +166,13 @@ module Google include Google::Apis::Core::JsonObjectSupport end - class LaunchTemplateParameters + class Sink class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end - class Sink + class LaunchTemplateParameters class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport @@ -628,13 +190,13 @@ module Google include Google::Apis::Core::JsonObjectSupport end - class StageSource + class InstructionInput class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end - class InstructionInput + class StageSource class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport @@ -676,13 +238,13 @@ module Google include Google::Apis::Core::JsonObjectSupport end - class StreamingConfigTask + class PipelineDescription class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end - class PipelineDescription + class StreamingConfigTask class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport @@ -712,13 +274,13 @@ module Google include Google::Apis::Core::JsonObjectSupport end - class ListJobMessagesResponse + class CounterMetadata class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end - class CounterMetadata + class ListJobMessagesResponse class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport @@ -730,835 +292,471 @@ module Google include Google::Apis::Core::JsonObjectSupport end - class StateFamilyConfig - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :state_family, as: 'stateFamily' - property :is_read, as: 'isRead' - end + class IntegerList + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end - class IntegerList - # @private - class Representation < Google::Apis::Core::JsonRepresentation - collection :elements, as: 'elements', class: Google::Apis::DataflowV1b3::SplitInt64, decorator: Google::Apis::DataflowV1b3::SplitInt64::Representation + class StateFamilyConfig + class Representation < Google::Apis::Core::JsonRepresentation; end - end + include Google::Apis::Core::JsonObjectSupport end class ResourceUtilizationReportResponse - # @private - class Representation < Google::Apis::Core::JsonRepresentation - end + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class SourceSplitResponse - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :outcome, as: 'outcome' - collection :bundles, as: 'bundles', class: Google::Apis::DataflowV1b3::DerivedSource, decorator: Google::Apis::DataflowV1b3::DerivedSource::Representation + class Representation < Google::Apis::Core::JsonRepresentation; end - collection :shards, as: 'shards', class: Google::Apis::DataflowV1b3::SourceSplitShard, decorator: Google::Apis::DataflowV1b3::SourceSplitShard::Representation - - end + include Google::Apis::Core::JsonObjectSupport end class ParallelInstruction - # @private - class Representation < Google::Apis::Core::JsonRepresentation - collection :outputs, as: 'outputs', class: Google::Apis::DataflowV1b3::InstructionOutput, decorator: Google::Apis::DataflowV1b3::InstructionOutput::Representation + class Representation < Google::Apis::Core::JsonRepresentation; end - property :name, as: 'name' - property :read, as: 'read', class: Google::Apis::DataflowV1b3::ReadInstruction, decorator: Google::Apis::DataflowV1b3::ReadInstruction::Representation - - property :par_do, as: 'parDo', class: Google::Apis::DataflowV1b3::ParDoInstruction, decorator: Google::Apis::DataflowV1b3::ParDoInstruction::Representation - - property :flatten, as: 'flatten', class: Google::Apis::DataflowV1b3::FlattenInstruction, decorator: Google::Apis::DataflowV1b3::FlattenInstruction::Representation - - property :original_name, as: 'originalName' - property :system_name, as: 'systemName' - property :write, as: 'write', class: Google::Apis::DataflowV1b3::WriteInstruction, decorator: Google::Apis::DataflowV1b3::WriteInstruction::Representation - - property :partial_group_by_key, as: 'partialGroupByKey', class: Google::Apis::DataflowV1b3::PartialGroupByKeyInstruction, decorator: Google::Apis::DataflowV1b3::PartialGroupByKeyInstruction::Representation - - end - end - - class KeyRangeDataDiskAssignment - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :start, as: 'start' - property :data_disk, as: 'dataDisk' - property :end, as: 'end' - end + include Google::Apis::Core::JsonObjectSupport end class Package - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :name, as: 'name' - property :location, as: 'location' - end + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class KeyRangeDataDiskAssignment + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class ParDoInstruction - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :input, as: 'input', class: Google::Apis::DataflowV1b3::InstructionInput, decorator: Google::Apis::DataflowV1b3::InstructionInput::Representation + class Representation < Google::Apis::Core::JsonRepresentation; end - property :num_outputs, as: 'numOutputs' - collection :side_inputs, as: 'sideInputs', class: Google::Apis::DataflowV1b3::SideInputInfo, decorator: Google::Apis::DataflowV1b3::SideInputInfo::Representation - - collection :multi_output_infos, as: 'multiOutputInfos', class: Google::Apis::DataflowV1b3::MultiOutputInfo, decorator: Google::Apis::DataflowV1b3::MultiOutputInfo::Representation - - hash :user_fn, as: 'userFn' - end - end - - class CounterStructuredName - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :origin, as: 'origin' - property :name, as: 'name' - property :execution_step_name, as: 'executionStepName' - property :component_step_name, as: 'componentStepName' - property :portion, as: 'portion' - property :original_step_name, as: 'originalStepName' - property :worker_id, as: 'workerId' - property :origin_namespace, as: 'originNamespace' - end + include Google::Apis::Core::JsonObjectSupport end class MetricUpdate - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :update_time, as: 'updateTime' - property :name, as: 'name', class: Google::Apis::DataflowV1b3::MetricStructuredName, decorator: Google::Apis::DataflowV1b3::MetricStructuredName::Representation + class Representation < Google::Apis::Core::JsonRepresentation; end - property :set, as: 'set' - property :internal, as: 'internal' - property :cumulative, as: 'cumulative' - property :kind, as: 'kind' - property :scalar, as: 'scalar' - property :mean_count, as: 'meanCount' - property :mean_sum, as: 'meanSum' - end + include Google::Apis::Core::JsonObjectSupport + end + + class CounterStructuredName + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class ApproximateProgress - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :percent_complete, as: 'percentComplete' - property :remaining_time, as: 'remainingTime' - property :position, as: 'position', class: Google::Apis::DataflowV1b3::Position, decorator: Google::Apis::DataflowV1b3::Position::Representation + class Representation < Google::Apis::Core::JsonRepresentation; end - end + include Google::Apis::Core::JsonObjectSupport end class WorkerMessageResponse - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :worker_health_report_response, as: 'workerHealthReportResponse', class: Google::Apis::DataflowV1b3::WorkerHealthReportResponse, decorator: Google::Apis::DataflowV1b3::WorkerHealthReportResponse::Representation + class Representation < Google::Apis::Core::JsonRepresentation; end - property :worker_metrics_response, as: 'workerMetricsResponse', class: Google::Apis::DataflowV1b3::ResourceUtilizationReportResponse, decorator: Google::Apis::DataflowV1b3::ResourceUtilizationReportResponse::Representation - - end + include Google::Apis::Core::JsonObjectSupport end class TemplateMetadata - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :name, as: 'name' - collection :parameters, as: 'parameters', class: Google::Apis::DataflowV1b3::ParameterMetadata, decorator: Google::Apis::DataflowV1b3::ParameterMetadata::Representation + class Representation < Google::Apis::Core::JsonRepresentation; end - property :description, as: 'description' - property :bypass_temp_dir_validation, as: 'bypassTempDirValidation' - end + include Google::Apis::Core::JsonObjectSupport end class WorkerMessage - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :time, as: 'time' - property :worker_health_report, as: 'workerHealthReport', class: Google::Apis::DataflowV1b3::WorkerHealthReport, decorator: Google::Apis::DataflowV1b3::WorkerHealthReport::Representation + class Representation < Google::Apis::Core::JsonRepresentation; end - property :worker_message_code, as: 'workerMessageCode', class: Google::Apis::DataflowV1b3::WorkerMessageCode, decorator: Google::Apis::DataflowV1b3::WorkerMessageCode::Representation - - property :worker_metrics, as: 'workerMetrics', class: Google::Apis::DataflowV1b3::ResourceUtilizationReport, decorator: Google::Apis::DataflowV1b3::ResourceUtilizationReport::Representation - - hash :labels, as: 'labels' - end + include Google::Apis::Core::JsonObjectSupport end class JobMetrics - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :metric_time, as: 'metricTime' - collection :metrics, as: 'metrics', class: Google::Apis::DataflowV1b3::MetricUpdate, decorator: Google::Apis::DataflowV1b3::MetricUpdate::Representation + class Representation < Google::Apis::Core::JsonRepresentation; end - end + include Google::Apis::Core::JsonObjectSupport end class FloatingPointList - # @private - class Representation < Google::Apis::Core::JsonRepresentation - collection :elements, as: 'elements' - end + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class CounterUpdate - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :structured_name_and_metadata, as: 'structuredNameAndMetadata', class: Google::Apis::DataflowV1b3::CounterStructuredNameAndMetadata, decorator: Google::Apis::DataflowV1b3::CounterStructuredNameAndMetadata::Representation + class Representation < Google::Apis::Core::JsonRepresentation; end - property :integer_list, as: 'integerList', class: Google::Apis::DataflowV1b3::IntegerList, decorator: Google::Apis::DataflowV1b3::IntegerList::Representation - - property :floating_point, as: 'floatingPoint' - property :integer_mean, as: 'integerMean', class: Google::Apis::DataflowV1b3::IntegerMean, decorator: Google::Apis::DataflowV1b3::IntegerMean::Representation - - property :cumulative, as: 'cumulative' - property :internal, as: 'internal' - property :floating_point_mean, as: 'floatingPointMean', class: Google::Apis::DataflowV1b3::FloatingPointMean, decorator: Google::Apis::DataflowV1b3::FloatingPointMean::Representation - - property :boolean, as: 'boolean' - property :name_and_kind, as: 'nameAndKind', class: Google::Apis::DataflowV1b3::NameAndKind, decorator: Google::Apis::DataflowV1b3::NameAndKind::Representation - - property :string_list, as: 'stringList', class: Google::Apis::DataflowV1b3::StringList, decorator: Google::Apis::DataflowV1b3::StringList::Representation - - property :distribution, as: 'distribution', class: Google::Apis::DataflowV1b3::DistributionUpdate, decorator: Google::Apis::DataflowV1b3::DistributionUpdate::Representation - - property :short_id, as: 'shortId' - property :floating_point_list, as: 'floatingPointList', class: Google::Apis::DataflowV1b3::FloatingPointList, decorator: Google::Apis::DataflowV1b3::FloatingPointList::Representation - - property :integer, as: 'integer', class: Google::Apis::DataflowV1b3::SplitInt64, decorator: Google::Apis::DataflowV1b3::SplitInt64::Representation - - end + include Google::Apis::Core::JsonObjectSupport end class SourceMetadata - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :produces_sorted_keys, as: 'producesSortedKeys' - property :infinite, as: 'infinite' - property :estimated_size_bytes, as: 'estimatedSizeBytes' - end + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class DistributionUpdate - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :max, as: 'max', class: Google::Apis::DataflowV1b3::SplitInt64, decorator: Google::Apis::DataflowV1b3::SplitInt64::Representation + class Representation < Google::Apis::Core::JsonRepresentation; end - property :sum, as: 'sum', class: Google::Apis::DataflowV1b3::SplitInt64, decorator: Google::Apis::DataflowV1b3::SplitInt64::Representation - - property :count, as: 'count', class: Google::Apis::DataflowV1b3::SplitInt64, decorator: Google::Apis::DataflowV1b3::SplitInt64::Representation - - property :min, as: 'min', class: Google::Apis::DataflowV1b3::SplitInt64, decorator: Google::Apis::DataflowV1b3::SplitInt64::Representation - - property :sum_of_squares, as: 'sumOfSquares' - end + include Google::Apis::Core::JsonObjectSupport end class WorkerHealthReportResponse - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :report_interval, as: 'reportInterval' - end + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class SourceFork - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :residual, as: 'residual', class: Google::Apis::DataflowV1b3::SourceSplitShard, decorator: Google::Apis::DataflowV1b3::SourceSplitShard::Representation + class Representation < Google::Apis::Core::JsonRepresentation; end - property :residual_source, as: 'residualSource', class: Google::Apis::DataflowV1b3::DerivedSource, decorator: Google::Apis::DataflowV1b3::DerivedSource::Representation - - property :primary, as: 'primary', class: Google::Apis::DataflowV1b3::SourceSplitShard, decorator: Google::Apis::DataflowV1b3::SourceSplitShard::Representation - - property :primary_source, as: 'primarySource', class: Google::Apis::DataflowV1b3::DerivedSource, decorator: Google::Apis::DataflowV1b3::DerivedSource::Representation - - end + include Google::Apis::Core::JsonObjectSupport end class WorkItemStatus - # @private - class Representation < Google::Apis::Core::JsonRepresentation - collection :counter_updates, as: 'counterUpdates', class: Google::Apis::DataflowV1b3::CounterUpdate, decorator: Google::Apis::DataflowV1b3::CounterUpdate::Representation + class Representation < Google::Apis::Core::JsonRepresentation; end - property :work_item_id, as: 'workItemId' - collection :errors, as: 'errors', class: Google::Apis::DataflowV1b3::Status, decorator: Google::Apis::DataflowV1b3::Status::Representation - - collection :metric_updates, as: 'metricUpdates', class: Google::Apis::DataflowV1b3::MetricUpdate, decorator: Google::Apis::DataflowV1b3::MetricUpdate::Representation - - property :dynamic_source_split, as: 'dynamicSourceSplit', class: Google::Apis::DataflowV1b3::DynamicSourceSplit, decorator: Google::Apis::DataflowV1b3::DynamicSourceSplit::Representation - - property :source_operation_response, as: 'sourceOperationResponse', class: Google::Apis::DataflowV1b3::SourceOperationResponse, decorator: Google::Apis::DataflowV1b3::SourceOperationResponse::Representation - - property :progress, as: 'progress', class: Google::Apis::DataflowV1b3::ApproximateProgress, decorator: Google::Apis::DataflowV1b3::ApproximateProgress::Representation - - property :requested_lease_duration, as: 'requestedLeaseDuration' - property :report_index, as: 'reportIndex' - property :stop_position, as: 'stopPosition', class: Google::Apis::DataflowV1b3::Position, decorator: Google::Apis::DataflowV1b3::Position::Representation - - property :completed, as: 'completed' - property :reported_progress, as: 'reportedProgress', class: Google::Apis::DataflowV1b3::ApproximateReportedProgress, decorator: Google::Apis::DataflowV1b3::ApproximateReportedProgress::Representation - - property :source_fork, as: 'sourceFork', class: Google::Apis::DataflowV1b3::SourceFork, decorator: Google::Apis::DataflowV1b3::SourceFork::Representation - - end + include Google::Apis::Core::JsonObjectSupport end class ComponentSource - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :original_transform_or_collection, as: 'originalTransformOrCollection' - property :name, as: 'name' - property :user_name, as: 'userName' - end + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class WorkItemServiceState - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :split_request, as: 'splitRequest', class: Google::Apis::DataflowV1b3::ApproximateSplitRequest, decorator: Google::Apis::DataflowV1b3::ApproximateSplitRequest::Representation + class Representation < Google::Apis::Core::JsonRepresentation; end - property :report_status_interval, as: 'reportStatusInterval' - property :suggested_stop_position, as: 'suggestedStopPosition', class: Google::Apis::DataflowV1b3::Position, decorator: Google::Apis::DataflowV1b3::Position::Representation - - hash :harness_data, as: 'harnessData' - property :lease_expire_time, as: 'leaseExpireTime' - collection :metric_short_id, as: 'metricShortId', class: Google::Apis::DataflowV1b3::MetricShortId, decorator: Google::Apis::DataflowV1b3::MetricShortId::Representation - - property :next_report_index, as: 'nextReportIndex' - property :suggested_stop_point, as: 'suggestedStopPoint', class: Google::Apis::DataflowV1b3::ApproximateProgress, decorator: Google::Apis::DataflowV1b3::ApproximateProgress::Representation - - end + include Google::Apis::Core::JsonObjectSupport end class MetricStructuredName - # @private - class Representation < Google::Apis::Core::JsonRepresentation - hash :context, as: 'context' - property :origin, as: 'origin' - property :name, as: 'name' - end + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class SeqMapTaskOutputInfo - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :sink, as: 'sink', class: Google::Apis::DataflowV1b3::Sink, decorator: Google::Apis::DataflowV1b3::Sink::Representation + class Representation < Google::Apis::Core::JsonRepresentation; end - property :tag, as: 'tag' - end + include Google::Apis::Core::JsonObjectSupport end class JobExecutionStageInfo - # @private - class Representation < Google::Apis::Core::JsonRepresentation - collection :step_name, as: 'stepName' - end + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class KeyRangeLocation - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :start, as: 'start' - property :data_disk, as: 'dataDisk' - property :end, as: 'end' - property :deprecated_persistent_directory, as: 'deprecatedPersistentDirectory' - property :delivery_endpoint, as: 'deliveryEndpoint' - end + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class SourceGetMetadataRequest - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :source, as: 'source', class: Google::Apis::DataflowV1b3::Source, decorator: Google::Apis::DataflowV1b3::Source::Representation + class Representation < Google::Apis::Core::JsonRepresentation; end - end - end - - class SeqMapTask - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :name, as: 'name' - collection :output_infos, as: 'outputInfos', class: Google::Apis::DataflowV1b3::SeqMapTaskOutputInfo, decorator: Google::Apis::DataflowV1b3::SeqMapTaskOutputInfo::Representation - - collection :inputs, as: 'inputs', class: Google::Apis::DataflowV1b3::SideInputInfo, decorator: Google::Apis::DataflowV1b3::SideInputInfo::Representation - - property :system_name, as: 'systemName' - property :stage_name, as: 'stageName' - hash :user_fn, as: 'userFn' - end + include Google::Apis::Core::JsonObjectSupport end class NameAndKind - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :name, as: 'name' - property :kind, as: 'kind' - end + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class SeqMapTask + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class WorkerMessageCode - # @private - class Representation < Google::Apis::Core::JsonRepresentation - hash :parameters, as: 'parameters' - property :code, as: 'code' - end + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class CustomSourceLocation - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :stateful, as: 'stateful' - end + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class MapTask - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :system_name, as: 'systemName' - property :stage_name, as: 'stageName' - collection :instructions, as: 'instructions', class: Google::Apis::DataflowV1b3::ParallelInstruction, decorator: Google::Apis::DataflowV1b3::ParallelInstruction::Representation + class Representation < Google::Apis::Core::JsonRepresentation; end - end + include Google::Apis::Core::JsonObjectSupport end class FloatingPointMean - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :sum, as: 'sum' - property :count, as: 'count', class: Google::Apis::DataflowV1b3::SplitInt64, decorator: Google::Apis::DataflowV1b3::SplitInt64::Representation + class Representation < Google::Apis::Core::JsonRepresentation; end - end + include Google::Apis::Core::JsonObjectSupport end class ReportWorkItemStatusResponse - # @private - class Representation < Google::Apis::Core::JsonRepresentation - collection :work_item_service_states, as: 'workItemServiceStates', class: Google::Apis::DataflowV1b3::WorkItemServiceState, decorator: Google::Apis::DataflowV1b3::WorkItemServiceState::Representation + class Representation < Google::Apis::Core::JsonRepresentation; end - end + include Google::Apis::Core::JsonObjectSupport end class InstructionOutput - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :name, as: 'name' - property :original_name, as: 'originalName' - property :system_name, as: 'systemName' - property :only_count_key_bytes, as: 'onlyCountKeyBytes' - property :only_count_value_bytes, as: 'onlyCountValueBytes' - hash :codec, as: 'codec' - end + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class CreateJobFromTemplateRequest - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :gcs_path, as: 'gcsPath' - property :environment, as: 'environment', class: Google::Apis::DataflowV1b3::RuntimeEnvironment, decorator: Google::Apis::DataflowV1b3::RuntimeEnvironment::Representation + class Representation < Google::Apis::Core::JsonRepresentation; end - hash :parameters, as: 'parameters' - property :job_name, as: 'jobName' - end + include Google::Apis::Core::JsonObjectSupport end class IntegerMean - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :count, as: 'count', class: Google::Apis::DataflowV1b3::SplitInt64, decorator: Google::Apis::DataflowV1b3::SplitInt64::Representation + class Representation < Google::Apis::Core::JsonRepresentation; end - property :sum, as: 'sum', class: Google::Apis::DataflowV1b3::SplitInt64, decorator: Google::Apis::DataflowV1b3::SplitInt64::Representation - - end + include Google::Apis::Core::JsonObjectSupport end class ListJobsResponse - # @private - class Representation < Google::Apis::Core::JsonRepresentation - collection :jobs, as: 'jobs', class: Google::Apis::DataflowV1b3::Job, decorator: Google::Apis::DataflowV1b3::Job::Representation + class Representation < Google::Apis::Core::JsonRepresentation; end - property :next_page_token, as: 'nextPageToken' - collection :failed_location, as: 'failedLocation', class: Google::Apis::DataflowV1b3::FailedLocation, decorator: Google::Apis::DataflowV1b3::FailedLocation::Representation - - end + include Google::Apis::Core::JsonObjectSupport end class ComputationTopology - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :system_stage_name, as: 'systemStageName' - collection :inputs, as: 'inputs', class: Google::Apis::DataflowV1b3::StreamLocation, decorator: Google::Apis::DataflowV1b3::StreamLocation::Representation + class Representation < Google::Apis::Core::JsonRepresentation; end - property :computation_id, as: 'computationId' - collection :key_ranges, as: 'keyRanges', class: Google::Apis::DataflowV1b3::KeyRangeLocation, decorator: Google::Apis::DataflowV1b3::KeyRangeLocation::Representation - - property :user_stage_name, as: 'userStageName' - collection :outputs, as: 'outputs', class: Google::Apis::DataflowV1b3::StreamLocation, decorator: Google::Apis::DataflowV1b3::StreamLocation::Representation - - collection :state_families, as: 'stateFamilies', class: Google::Apis::DataflowV1b3::StateFamilyConfig, decorator: Google::Apis::DataflowV1b3::StateFamilyConfig::Representation - - end + include Google::Apis::Core::JsonObjectSupport end class RuntimeEnvironment - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :zone, as: 'zone' - property :service_account_email, as: 'serviceAccountEmail' - property :temp_location, as: 'tempLocation' - property :bypass_temp_dir_validation, as: 'bypassTempDirValidation' - property :max_workers, as: 'maxWorkers' - end + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class StreamingSideInputLocation - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :state_family, as: 'stateFamily' - property :tag, as: 'tag' - end + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class MountedDataDisk - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :data_disk, as: 'dataDisk' - end + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class LaunchTemplateResponse - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :job, as: 'job', class: Google::Apis::DataflowV1b3::Job, decorator: Google::Apis::DataflowV1b3::Job::Representation + class Representation < Google::Apis::Core::JsonRepresentation; end - end - end - - class Job - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :type, as: 'type' - property :project_id, as: 'projectId' - property :pipeline_description, as: 'pipelineDescription', class: Google::Apis::DataflowV1b3::PipelineDescription, decorator: Google::Apis::DataflowV1b3::PipelineDescription::Representation - - property :replace_job_id, as: 'replaceJobId' - property :requested_state, as: 'requestedState' - collection :temp_files, as: 'tempFiles' - property :client_request_id, as: 'clientRequestId' - property :name, as: 'name' - collection :steps, as: 'steps', class: Google::Apis::DataflowV1b3::Step, decorator: Google::Apis::DataflowV1b3::Step::Representation - - property :replaced_by_job_id, as: 'replacedByJobId' - property :execution_info, as: 'executionInfo', class: Google::Apis::DataflowV1b3::JobExecutionInfo, decorator: Google::Apis::DataflowV1b3::JobExecutionInfo::Representation - - property :id, as: 'id' - property :current_state, as: 'currentState' - property :location, as: 'location' - property :current_state_time, as: 'currentStateTime' - hash :transform_name_mapping, as: 'transformNameMapping' - hash :labels, as: 'labels' - property :environment, as: 'environment', class: Google::Apis::DataflowV1b3::Environment, decorator: Google::Apis::DataflowV1b3::Environment::Representation - - property :create_time, as: 'createTime' - end + include Google::Apis::Core::JsonObjectSupport end class DerivedSource - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :derivation_mode, as: 'derivationMode' - property :source, as: 'source', class: Google::Apis::DataflowV1b3::Source, decorator: Google::Apis::DataflowV1b3::Source::Representation + class Representation < Google::Apis::Core::JsonRepresentation; end - end + include Google::Apis::Core::JsonObjectSupport end class DynamicSourceSplit - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :residual, as: 'residual', class: Google::Apis::DataflowV1b3::DerivedSource, decorator: Google::Apis::DataflowV1b3::DerivedSource::Representation + class Representation < Google::Apis::Core::JsonRepresentation; end - property :primary, as: 'primary', class: Google::Apis::DataflowV1b3::DerivedSource, decorator: Google::Apis::DataflowV1b3::DerivedSource::Representation + include Google::Apis::Core::JsonObjectSupport + end - end + class Job + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class SourceOperationResponse - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :get_metadata, as: 'getMetadata', class: Google::Apis::DataflowV1b3::SourceGetMetadataResponse, decorator: Google::Apis::DataflowV1b3::SourceGetMetadataResponse::Representation + class Representation < Google::Apis::Core::JsonRepresentation; end - property :split, as: 'split', class: Google::Apis::DataflowV1b3::SourceSplitResponse, decorator: Google::Apis::DataflowV1b3::SourceSplitResponse::Representation - - end - end - - class SendDebugCaptureResponse - # @private - class Representation < Google::Apis::Core::JsonRepresentation - end + include Google::Apis::Core::JsonObjectSupport end class SideInputInfo - # @private - class Representation < Google::Apis::Core::JsonRepresentation - collection :sources, as: 'sources', class: Google::Apis::DataflowV1b3::Source, decorator: Google::Apis::DataflowV1b3::Source::Representation + class Representation < Google::Apis::Core::JsonRepresentation; end - hash :kind, as: 'kind' - property :tag, as: 'tag' - end + include Google::Apis::Core::JsonObjectSupport + end + + class SendDebugCaptureResponse + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class CounterStructuredNameAndMetadata - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :name, as: 'name', class: Google::Apis::DataflowV1b3::CounterStructuredName, decorator: Google::Apis::DataflowV1b3::CounterStructuredName::Representation + class Representation < Google::Apis::Core::JsonRepresentation; end - property :metadata, as: 'metadata', class: Google::Apis::DataflowV1b3::CounterMetadata, decorator: Google::Apis::DataflowV1b3::CounterMetadata::Representation - - end + include Google::Apis::Core::JsonObjectSupport end class ConcatPosition - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :position, as: 'position', class: Google::Apis::DataflowV1b3::Position, decorator: Google::Apis::DataflowV1b3::Position::Representation + class Representation < Google::Apis::Core::JsonRepresentation; end - property :index, as: 'index' - end + include Google::Apis::Core::JsonObjectSupport end class WriteInstruction - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :input, as: 'input', class: Google::Apis::DataflowV1b3::InstructionInput, decorator: Google::Apis::DataflowV1b3::InstructionInput::Representation + class Representation < Google::Apis::Core::JsonRepresentation; end - property :sink, as: 'sink', class: Google::Apis::DataflowV1b3::Sink, decorator: Google::Apis::DataflowV1b3::Sink::Representation - - end + include Google::Apis::Core::JsonObjectSupport end class StreamingComputationRanges - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :computation_id, as: 'computationId' - collection :range_assignments, as: 'rangeAssignments', class: Google::Apis::DataflowV1b3::KeyRangeDataDiskAssignment, decorator: Google::Apis::DataflowV1b3::KeyRangeDataDiskAssignment::Representation + class Representation < Google::Apis::Core::JsonRepresentation; end - end + include Google::Apis::Core::JsonObjectSupport end class AutoscalingSettings - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :max_num_workers, as: 'maxNumWorkers' - property :algorithm, as: 'algorithm' - end + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class ExecutionStageSummary - # @private - class Representation < Google::Apis::Core::JsonRepresentation - collection :output_source, as: 'outputSource', class: Google::Apis::DataflowV1b3::StageSource, decorator: Google::Apis::DataflowV1b3::StageSource::Representation + class Representation < Google::Apis::Core::JsonRepresentation; end - property :name, as: 'name' - collection :input_source, as: 'inputSource', class: Google::Apis::DataflowV1b3::StageSource, decorator: Google::Apis::DataflowV1b3::StageSource::Representation - - property :id, as: 'id' - collection :component_transform, as: 'componentTransform', class: Google::Apis::DataflowV1b3::ComponentTransform, decorator: Google::Apis::DataflowV1b3::ComponentTransform::Representation - - collection :component_source, as: 'componentSource', class: Google::Apis::DataflowV1b3::ComponentSource, decorator: Google::Apis::DataflowV1b3::ComponentSource::Representation - - property :kind, as: 'kind' - end + include Google::Apis::Core::JsonObjectSupport end class SendWorkerMessagesRequest - # @private - class Representation < Google::Apis::Core::JsonRepresentation - collection :worker_messages, as: 'workerMessages', class: Google::Apis::DataflowV1b3::WorkerMessage, decorator: Google::Apis::DataflowV1b3::WorkerMessage::Representation + class Representation < Google::Apis::Core::JsonRepresentation; end - end + include Google::Apis::Core::JsonObjectSupport end class SourceSplitShard - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :derivation_mode, as: 'derivationMode' - property :source, as: 'source', class: Google::Apis::DataflowV1b3::Source, decorator: Google::Apis::DataflowV1b3::Source::Representation + class Representation < Google::Apis::Core::JsonRepresentation; end - end + include Google::Apis::Core::JsonObjectSupport end class CpuTime - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :total_ms, as: 'totalMs' - property :rate, as: 'rate' - property :timestamp, as: 'timestamp' - end + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class Environment - # @private - class Representation < Google::Apis::Core::JsonRepresentation - collection :experiments, as: 'experiments' - hash :internal_experiments, as: 'internalExperiments' - hash :version, as: 'version' - property :service_account_email, as: 'serviceAccountEmail' - hash :sdk_pipeline_options, as: 'sdkPipelineOptions' - hash :user_agent, as: 'userAgent' - property :cluster_manager_api_service, as: 'clusterManagerApiService' - property :temp_storage_prefix, as: 'tempStoragePrefix' - collection :worker_pools, as: 'workerPools', class: Google::Apis::DataflowV1b3::WorkerPool, decorator: Google::Apis::DataflowV1b3::WorkerPool::Representation + class Representation < Google::Apis::Core::JsonRepresentation; end - property :dataset, as: 'dataset' - end + include Google::Apis::Core::JsonObjectSupport end class StreamingComputationTask - # @private - class Representation < Google::Apis::Core::JsonRepresentation - collection :computation_ranges, as: 'computationRanges', class: Google::Apis::DataflowV1b3::StreamingComputationRanges, decorator: Google::Apis::DataflowV1b3::StreamingComputationRanges::Representation + class Representation < Google::Apis::Core::JsonRepresentation; end - collection :data_disks, as: 'dataDisks', class: Google::Apis::DataflowV1b3::MountedDataDisk, decorator: Google::Apis::DataflowV1b3::MountedDataDisk::Representation - - property :task_type, as: 'taskType' - end + include Google::Apis::Core::JsonObjectSupport end class SendDebugCaptureRequest - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :data, as: 'data' - property :component_id, as: 'componentId' - property :worker_id, as: 'workerId' - end + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class GetDebugConfigResponse - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :config, as: 'config' - end + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class ComponentTransform - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :original_transform, as: 'originalTransform' - property :name, as: 'name' - property :user_name, as: 'userName' - end + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class StreamingSetupTask - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :worker_harness_port, as: 'workerHarnessPort' - property :drain, as: 'drain' - property :receive_work_port, as: 'receiveWorkPort' - property :streaming_computation_topology, as: 'streamingComputationTopology', class: Google::Apis::DataflowV1b3::TopologyConfig, decorator: Google::Apis::DataflowV1b3::TopologyConfig::Representation + class Representation < Google::Apis::Core::JsonRepresentation; end - end + include Google::Apis::Core::JsonObjectSupport end class PubsubLocation - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :tracking_subscription, as: 'trackingSubscription' - property :with_attributes, as: 'withAttributes' - property :id_label, as: 'idLabel' - property :topic, as: 'topic' - property :timestamp_label, as: 'timestampLabel' - property :subscription, as: 'subscription' - property :drop_late_data, as: 'dropLateData' - end + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class WorkerHealthReport - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :vm_startup_time, as: 'vmStartupTime' - property :vm_is_healthy, as: 'vmIsHealthy' - property :report_interval, as: 'reportInterval' - collection :pods, as: 'pods' - end + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class JobMessage - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :message_text, as: 'messageText' - property :message_importance, as: 'messageImportance' - property :time, as: 'time' - property :id, as: 'id' - end + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class ParameterMetadata - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :is_optional, as: 'isOptional' - property :name, as: 'name' - collection :regexes, as: 'regexes' - property :label, as: 'label' - property :help_text, as: 'helpText' - end + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class MultiOutputInfo - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :tag, as: 'tag' - end + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class SourceSplitRequest - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :source, as: 'source', class: Google::Apis::DataflowV1b3::Source, decorator: Google::Apis::DataflowV1b3::Source::Representation + class Representation < Google::Apis::Core::JsonRepresentation; end - property :options, as: 'options', class: Google::Apis::DataflowV1b3::SourceSplitOptions, decorator: Google::Apis::DataflowV1b3::SourceSplitOptions::Representation - - end + include Google::Apis::Core::JsonObjectSupport end class SourceGetMetadataResponse - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :metadata, as: 'metadata', class: Google::Apis::DataflowV1b3::SourceMetadata, decorator: Google::Apis::DataflowV1b3::SourceMetadata::Representation + class Representation < Google::Apis::Core::JsonRepresentation; end - end - end - - class ShellTask - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :command, as: 'command' - property :exit_code, as: 'exitCode' - end + include Google::Apis::Core::JsonObjectSupport end class MetricShortId # @private class Representation < Google::Apis::Core::JsonRepresentation property :metric_index, as: 'metricIndex' - property :short_id, as: 'shortId' + property :short_id, :numeric_string => true, as: 'shortId' + end + end + + class ShellTask + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :exit_code, as: 'exitCode' + property :command, as: 'command' end end class TaskRunnerSettings # @private class Representation < Google::Apis::Core::JsonRepresentation + property :alsologtostderr, as: 'alsologtostderr' + property :task_group, as: 'taskGroup' property :harness_command, as: 'harnessCommand' property :log_dir, as: 'logDir' - collection :oauth_scopes, as: 'oauthScopes' property :dataflow_api_version, as: 'dataflowApiVersion' - property :log_upload_location, as: 'logUploadLocation' + collection :oauth_scopes, as: 'oauthScopes' property :streaming_worker_main_class, as: 'streamingWorkerMainClass' + property :log_upload_location, as: 'logUploadLocation' property :workflow_file_name, as: 'workflowFileName' property :base_task_dir, as: 'baseTaskDir' property :temp_storage_prefix, as: 'tempStoragePrefix' @@ -1569,21 +767,19 @@ module Google property :continue_on_exception, as: 'continueOnException' property :parallel_worker_settings, as: 'parallelWorkerSettings', class: Google::Apis::DataflowV1b3::WorkerSettings, decorator: Google::Apis::DataflowV1b3::WorkerSettings::Representation - property :vm_id, as: 'vmId' property :task_user, as: 'taskUser' - property :alsologtostderr, as: 'alsologtostderr' - property :task_group, as: 'taskGroup' + property :vm_id, as: 'vmId' end end class Position # @private class Representation < Google::Apis::Core::JsonRepresentation - property :record_index, as: 'recordIndex' + property :record_index, :numeric_string => true, as: 'recordIndex' property :shuffle_position, as: 'shufflePosition' property :concat_position, as: 'concatPosition', class: Google::Apis::DataflowV1b3::ConcatPosition, decorator: Google::Apis::DataflowV1b3::ConcatPosition::Representation - property :byte_offset, as: 'byteOffset' + property :byte_offset, :numeric_string => true, as: 'byteOffset' property :end, as: 'end' property :key, as: 'key' end @@ -1592,12 +788,12 @@ module Google class Source # @private class Representation < Google::Apis::Core::JsonRepresentation - hash :spec, as: 'spec' property :metadata, as: 'metadata', class: Google::Apis::DataflowV1b3::SourceMetadata, decorator: Google::Apis::DataflowV1b3::SourceMetadata::Representation collection :base_specs, as: 'baseSpecs' hash :codec, as: 'codec' property :does_not_need_splitting, as: 'doesNotNeedSplitting' + hash :spec, as: 'spec' end end @@ -1612,18 +808,6 @@ module Google class WorkerPool # @private class Representation < Google::Apis::Core::JsonRepresentation - property :default_package_set, as: 'defaultPackageSet' - property :network, as: 'network' - property :zone, as: 'zone' - property :num_workers, as: 'numWorkers' - property :num_threads_per_worker, as: 'numThreadsPerWorker' - property :disk_source_image, as: 'diskSourceImage' - collection :packages, as: 'packages', class: Google::Apis::DataflowV1b3::Package, decorator: Google::Apis::DataflowV1b3::Package::Representation - - property :teardown_policy, as: 'teardownPolicy' - property :on_host_maintenance, as: 'onHostMaintenance' - hash :pool_args, as: 'poolArgs' - property :disk_size_gb, as: 'diskSizeGb' property :worker_harness_container_image, as: 'workerHarnessContainerImage' property :disk_type, as: 'diskType' property :machine_type, as: 'machineType' @@ -1632,11 +816,23 @@ module Google property :subnetwork, as: 'subnetwork' property :ip_configuration, as: 'ipConfiguration' - property :taskrunner_settings, as: 'taskrunnerSettings', class: Google::Apis::DataflowV1b3::TaskRunnerSettings, decorator: Google::Apis::DataflowV1b3::TaskRunnerSettings::Representation - property :autoscaling_settings, as: 'autoscalingSettings', class: Google::Apis::DataflowV1b3::AutoscalingSettings, decorator: Google::Apis::DataflowV1b3::AutoscalingSettings::Representation + property :taskrunner_settings, as: 'taskrunnerSettings', class: Google::Apis::DataflowV1b3::TaskRunnerSettings, decorator: Google::Apis::DataflowV1b3::TaskRunnerSettings::Representation + hash :metadata, as: 'metadata' + property :network, as: 'network' + property :default_package_set, as: 'defaultPackageSet' + property :zone, as: 'zone' + property :num_threads_per_worker, as: 'numThreadsPerWorker' + property :num_workers, as: 'numWorkers' + property :disk_source_image, as: 'diskSourceImage' + collection :packages, as: 'packages', class: Google::Apis::DataflowV1b3::Package, decorator: Google::Apis::DataflowV1b3::Package::Representation + + property :teardown_policy, as: 'teardownPolicy' + property :on_host_maintenance, as: 'onHostMaintenance' + hash :pool_args, as: 'poolArgs' + property :disk_size_gb, as: 'diskSizeGb' end end @@ -1653,6 +849,16 @@ module Google class WorkItem # @private class Representation < Google::Apis::Core::JsonRepresentation + property :lease_expire_time, as: 'leaseExpireTime' + property :streaming_config_task, as: 'streamingConfigTask', class: Google::Apis::DataflowV1b3::StreamingConfigTask, decorator: Google::Apis::DataflowV1b3::StreamingConfigTask::Representation + + property :initial_report_index, :numeric_string => true, as: 'initialReportIndex' + property :streaming_computation_task, as: 'streamingComputationTask', class: Google::Apis::DataflowV1b3::StreamingComputationTask, decorator: Google::Apis::DataflowV1b3::StreamingComputationTask::Representation + + property :shell_task, as: 'shellTask', class: Google::Apis::DataflowV1b3::ShellTask, decorator: Google::Apis::DataflowV1b3::ShellTask::Representation + + property :job_id, as: 'jobId' + property :id, :numeric_string => true, as: 'id' property :configuration, as: 'configuration' property :map_task, as: 'mapTask', class: Google::Apis::DataflowV1b3::MapTask, decorator: Google::Apis::DataflowV1b3::MapTask::Representation @@ -1661,29 +867,19 @@ module Google collection :packages, as: 'packages', class: Google::Apis::DataflowV1b3::Package, decorator: Google::Apis::DataflowV1b3::Package::Representation property :project_id, as: 'projectId' - property :report_status_interval, as: 'reportStatusInterval' - property :streaming_setup_task, as: 'streamingSetupTask', class: Google::Apis::DataflowV1b3::StreamingSetupTask, decorator: Google::Apis::DataflowV1b3::StreamingSetupTask::Representation - property :source_operation_task, as: 'sourceOperationTask', class: Google::Apis::DataflowV1b3::SourceOperationRequest, decorator: Google::Apis::DataflowV1b3::SourceOperationRequest::Representation - property :lease_expire_time, as: 'leaseExpireTime' - property :streaming_config_task, as: 'streamingConfigTask', class: Google::Apis::DataflowV1b3::StreamingConfigTask, decorator: Google::Apis::DataflowV1b3::StreamingConfigTask::Representation + property :streaming_setup_task, as: 'streamingSetupTask', class: Google::Apis::DataflowV1b3::StreamingSetupTask, decorator: Google::Apis::DataflowV1b3::StreamingSetupTask::Representation - property :initial_report_index, as: 'initialReportIndex' - property :streaming_computation_task, as: 'streamingComputationTask', class: Google::Apis::DataflowV1b3::StreamingComputationTask, decorator: Google::Apis::DataflowV1b3::StreamingComputationTask::Representation - - property :shell_task, as: 'shellTask', class: Google::Apis::DataflowV1b3::ShellTask, decorator: Google::Apis::DataflowV1b3::ShellTask::Representation - - property :job_id, as: 'jobId' - property :id, as: 'id' + property :report_status_interval, as: 'reportStatusInterval' end end class ReportedParallelism # @private class Representation < Google::Apis::Core::JsonRepresentation - property :is_infinite, as: 'isInfinite' property :value, as: 'value' + property :is_infinite, as: 'isInfinite' end end @@ -1698,21 +894,21 @@ module Google class TopologyConfig # @private class Representation < Google::Apis::Core::JsonRepresentation + property :forwarding_key_bits, as: 'forwardingKeyBits' hash :user_stage_to_computation_name_map, as: 'userStageToComputationNameMap' collection :computations, as: 'computations', class: Google::Apis::DataflowV1b3::ComputationTopology, decorator: Google::Apis::DataflowV1b3::ComputationTopology::Representation collection :data_disk_assignments, as: 'dataDiskAssignments', class: Google::Apis::DataflowV1b3::DataDiskAssignment, decorator: Google::Apis::DataflowV1b3::DataDiskAssignment::Representation property :persistent_state_version, as: 'persistentStateVersion' - property :forwarding_key_bits, as: 'forwardingKeyBits' end end class SourceSplitOptions # @private class Representation < Google::Apis::Core::JsonRepresentation - property :desired_bundle_size_bytes, as: 'desiredBundleSizeBytes' - property :desired_shard_size_bytes, as: 'desiredShardSizeBytes' + property :desired_bundle_size_bytes, :numeric_string => true, as: 'desiredBundleSizeBytes' + property :desired_shard_size_bytes, :numeric_string => true, as: 'desiredShardSizeBytes' end end @@ -1727,20 +923,12 @@ module Google class WorkerSettings # @private class Representation < Google::Apis::Core::JsonRepresentation - property :service_path, as: 'servicePath' - property :shuffle_service_path, as: 'shuffleServicePath' property :worker_id, as: 'workerId' property :temp_storage_prefix, as: 'tempStoragePrefix' - property :base_url, as: 'baseUrl' property :reporting_enabled, as: 'reportingEnabled' - end - end - - class DataDiskAssignment - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :vm_instance, as: 'vmInstance' - collection :data_disks, as: 'dataDisks' + property :base_url, as: 'baseUrl' + property :service_path, as: 'servicePath' + property :shuffle_service_path, as: 'shuffleServicePath' end end @@ -1751,6 +939,14 @@ module Google end end + class DataDiskAssignment + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :data_disks, as: 'dataDisks' + property :vm_instance, as: 'vmInstance' + end + end + class ApproximateSplitRequest # @private class Representation < Google::Apis::Core::JsonRepresentation @@ -1802,34 +998,24 @@ module Google class TransformSummary # @private class Representation < Google::Apis::Core::JsonRepresentation - property :name, as: 'name' property :id, as: 'id' collection :output_collection_name, as: 'outputCollectionName' collection :display_data, as: 'displayData', class: Google::Apis::DataflowV1b3::DisplayData, decorator: Google::Apis::DataflowV1b3::DisplayData::Representation property :kind, as: 'kind' collection :input_collection_name, as: 'inputCollectionName' + property :name, as: 'name' end end class StreamingComputationConfig # @private class Representation < Google::Apis::Core::JsonRepresentation + property :computation_id, as: 'computationId' property :system_name, as: 'systemName' property :stage_name, as: 'stageName' collection :instructions, as: 'instructions', class: Google::Apis::DataflowV1b3::ParallelInstruction, decorator: Google::Apis::DataflowV1b3::ParallelInstruction::Representation - property :computation_id, as: 'computationId' - end - end - - class LaunchTemplateParameters - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :environment, as: 'environment', class: Google::Apis::DataflowV1b3::RuntimeEnvironment, decorator: Google::Apis::DataflowV1b3::RuntimeEnvironment::Representation - - hash :parameters, as: 'parameters' - property :job_name, as: 'jobName' end end @@ -1841,6 +1027,16 @@ module Google end end + class LaunchTemplateParameters + # @private + class Representation < Google::Apis::Core::JsonRepresentation + hash :parameters, as: 'parameters' + property :job_name, as: 'jobName' + property :environment, as: 'environment', class: Google::Apis::DataflowV1b3::RuntimeEnvironment, decorator: Google::Apis::DataflowV1b3::RuntimeEnvironment::Representation + + end + end + class FlattenInstruction # @private class Representation < Google::Apis::Core::JsonRepresentation @@ -1852,24 +1048,14 @@ module Google class PartialGroupByKeyInstruction # @private class Representation < Google::Apis::Core::JsonRepresentation + hash :value_combining_fn, as: 'valueCombiningFn' + hash :input_element_codec, as: 'inputElementCodec' + property :original_combine_values_input_store_name, as: 'originalCombineValuesInputStoreName' property :original_combine_values_step_name, as: 'originalCombineValuesStepName' collection :side_inputs, as: 'sideInputs', class: Google::Apis::DataflowV1b3::SideInputInfo, decorator: Google::Apis::DataflowV1b3::SideInputInfo::Representation property :input, as: 'input', class: Google::Apis::DataflowV1b3::InstructionInput, decorator: Google::Apis::DataflowV1b3::InstructionInput::Representation - hash :input_element_codec, as: 'inputElementCodec' - hash :value_combining_fn, as: 'valueCombiningFn' - property :original_combine_values_input_store_name, as: 'originalCombineValuesInputStoreName' - end - end - - class StageSource - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :original_transform_or_collection, as: 'originalTransformOrCollection' - property :name, as: 'name' - property :size_bytes, as: 'sizeBytes' - property :user_name, as: 'userName' end end @@ -1881,6 +1067,16 @@ module Google end end + class StageSource + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :user_name, as: 'userName' + property :original_transform_or_collection, as: 'originalTransformOrCollection' + property :name, as: 'name' + property :size_bytes, :numeric_string => true, as: 'sizeBytes' + end + end + class StringList # @private class Representation < Google::Apis::Core::JsonRepresentation @@ -1891,18 +1087,18 @@ module Google class DisplayData # @private class Representation < Google::Apis::Core::JsonRepresentation + property :timestamp_value, as: 'timestampValue' + property :java_class_value, as: 'javaClassValue' + property :bool_value, as: 'boolValue' + property :str_value, as: 'strValue' property :duration_value, as: 'durationValue' - property :int64_value, as: 'int64Value' + property :int64_value, :numeric_string => true, as: 'int64Value' property :namespace, as: 'namespace' property :float_value, as: 'floatValue' property :key, as: 'key' property :short_str_value, as: 'shortStrValue' property :label, as: 'label' property :url, as: 'url' - property :timestamp_value, as: 'timestampValue' - property :bool_value, as: 'boolValue' - property :java_class_value, as: 'javaClassValue' - property :str_value, as: 'strValue' end end @@ -1939,20 +1135,11 @@ module Google class ReportWorkItemStatusRequest # @private class Representation < Google::Apis::Core::JsonRepresentation - collection :work_item_statuses, as: 'workItemStatuses', class: Google::Apis::DataflowV1b3::WorkItemStatus, decorator: Google::Apis::DataflowV1b3::WorkItemStatus::Representation - property :worker_id, as: 'workerId' property :current_worker_time, as: 'currentWorkerTime' property :location, as: 'location' - end - end + collection :work_item_statuses, as: 'workItemStatuses', class: Google::Apis::DataflowV1b3::WorkItemStatus, decorator: Google::Apis::DataflowV1b3::WorkItemStatus::Representation - class StreamingConfigTask - # @private - class Representation < Google::Apis::Core::JsonRepresentation - collection :streaming_computation_configs, as: 'streamingComputationConfigs', class: Google::Apis::DataflowV1b3::StreamingComputationConfig, decorator: Google::Apis::DataflowV1b3::StreamingComputationConfig::Representation - - hash :user_step_to_state_family_name_map, as: 'userStepToStateFamilyNameMap' end end @@ -1968,12 +1155,21 @@ module Google end end + class StreamingConfigTask + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :streaming_computation_configs, as: 'streamingComputationConfigs', class: Google::Apis::DataflowV1b3::StreamingComputationConfig, decorator: Google::Apis::DataflowV1b3::StreamingComputationConfig::Representation + + hash :user_step_to_state_family_name_map, as: 'userStepToStateFamilyNameMap' + end + end + class Step # @private class Representation < Google::Apis::Core::JsonRepresentation + hash :properties, as: 'properties' property :name, as: 'name' property :kind, as: 'kind' - hash :properties, as: 'properties' end end @@ -2001,37 +1197,841 @@ module Google end end - class ListJobMessagesResponse - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :next_page_token, as: 'nextPageToken' - collection :job_messages, as: 'jobMessages', class: Google::Apis::DataflowV1b3::JobMessage, decorator: Google::Apis::DataflowV1b3::JobMessage::Representation - - end - end - class CounterMetadata # @private class Representation < Google::Apis::Core::JsonRepresentation - property :standard_units, as: 'standardUnits' - property :other_units, as: 'otherUnits' property :kind, as: 'kind' property :description, as: 'description' + property :standard_units, as: 'standardUnits' + property :other_units, as: 'otherUnits' + end + end + + class ListJobMessagesResponse + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :job_messages, as: 'jobMessages', class: Google::Apis::DataflowV1b3::JobMessage, decorator: Google::Apis::DataflowV1b3::JobMessage::Representation + + property :next_page_token, as: 'nextPageToken' end end class ApproximateReportedProgress # @private class Representation < Google::Apis::Core::JsonRepresentation + property :position, as: 'position', class: Google::Apis::DataflowV1b3::Position, decorator: Google::Apis::DataflowV1b3::Position::Representation + property :fraction_consumed, as: 'fractionConsumed' property :consumed_parallelism, as: 'consumedParallelism', class: Google::Apis::DataflowV1b3::ReportedParallelism, decorator: Google::Apis::DataflowV1b3::ReportedParallelism::Representation property :remaining_parallelism, as: 'remainingParallelism', class: Google::Apis::DataflowV1b3::ReportedParallelism, decorator: Google::Apis::DataflowV1b3::ReportedParallelism::Representation + end + end + + class IntegerList + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :elements, as: 'elements', class: Google::Apis::DataflowV1b3::SplitInt64, decorator: Google::Apis::DataflowV1b3::SplitInt64::Representation + + end + end + + class StateFamilyConfig + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :is_read, as: 'isRead' + property :state_family, as: 'stateFamily' + end + end + + class ResourceUtilizationReportResponse + # @private + class Representation < Google::Apis::Core::JsonRepresentation + end + end + + class SourceSplitResponse + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :shards, as: 'shards', class: Google::Apis::DataflowV1b3::SourceSplitShard, decorator: Google::Apis::DataflowV1b3::SourceSplitShard::Representation + + property :outcome, as: 'outcome' + collection :bundles, as: 'bundles', class: Google::Apis::DataflowV1b3::DerivedSource, decorator: Google::Apis::DataflowV1b3::DerivedSource::Representation + + end + end + + class ParallelInstruction + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :write, as: 'write', class: Google::Apis::DataflowV1b3::WriteInstruction, decorator: Google::Apis::DataflowV1b3::WriteInstruction::Representation + + property :system_name, as: 'systemName' + property :partial_group_by_key, as: 'partialGroupByKey', class: Google::Apis::DataflowV1b3::PartialGroupByKeyInstruction, decorator: Google::Apis::DataflowV1b3::PartialGroupByKeyInstruction::Representation + + collection :outputs, as: 'outputs', class: Google::Apis::DataflowV1b3::InstructionOutput, decorator: Google::Apis::DataflowV1b3::InstructionOutput::Representation + + property :name, as: 'name' + property :par_do, as: 'parDo', class: Google::Apis::DataflowV1b3::ParDoInstruction, decorator: Google::Apis::DataflowV1b3::ParDoInstruction::Representation + + property :read, as: 'read', class: Google::Apis::DataflowV1b3::ReadInstruction, decorator: Google::Apis::DataflowV1b3::ReadInstruction::Representation + + property :flatten, as: 'flatten', class: Google::Apis::DataflowV1b3::FlattenInstruction, decorator: Google::Apis::DataflowV1b3::FlattenInstruction::Representation + + property :original_name, as: 'originalName' + end + end + + class Package + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :location, as: 'location' + property :name, as: 'name' + end + end + + class KeyRangeDataDiskAssignment + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :start, as: 'start' + property :data_disk, as: 'dataDisk' + property :end, as: 'end' + end + end + + class ParDoInstruction + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :num_outputs, as: 'numOutputs' + collection :side_inputs, as: 'sideInputs', class: Google::Apis::DataflowV1b3::SideInputInfo, decorator: Google::Apis::DataflowV1b3::SideInputInfo::Representation + + collection :multi_output_infos, as: 'multiOutputInfos', class: Google::Apis::DataflowV1b3::MultiOutputInfo, decorator: Google::Apis::DataflowV1b3::MultiOutputInfo::Representation + + hash :user_fn, as: 'userFn' + property :input, as: 'input', class: Google::Apis::DataflowV1b3::InstructionInput, decorator: Google::Apis::DataflowV1b3::InstructionInput::Representation + + end + end + + class MetricUpdate + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :kind, as: 'kind' + property :scalar, as: 'scalar' + property :mean_count, as: 'meanCount' + property :mean_sum, as: 'meanSum' + property :update_time, as: 'updateTime' + property :name, as: 'name', class: Google::Apis::DataflowV1b3::MetricStructuredName, decorator: Google::Apis::DataflowV1b3::MetricStructuredName::Representation + + property :set, as: 'set' + property :cumulative, as: 'cumulative' + property :internal, as: 'internal' + end + end + + class CounterStructuredName + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :component_step_name, as: 'componentStepName' + property :portion, as: 'portion' + property :original_step_name, as: 'originalStepName' + property :worker_id, as: 'workerId' + property :origin_namespace, as: 'originNamespace' + property :origin, as: 'origin' + property :name, as: 'name' + property :execution_step_name, as: 'executionStepName' + end + end + + class ApproximateProgress + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :percent_complete, as: 'percentComplete' + property :remaining_time, as: 'remainingTime' property :position, as: 'position', class: Google::Apis::DataflowV1b3::Position, decorator: Google::Apis::DataflowV1b3::Position::Representation end end + + class WorkerMessageResponse + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :worker_metrics_response, as: 'workerMetricsResponse', class: Google::Apis::DataflowV1b3::ResourceUtilizationReportResponse, decorator: Google::Apis::DataflowV1b3::ResourceUtilizationReportResponse::Representation + + property :worker_health_report_response, as: 'workerHealthReportResponse', class: Google::Apis::DataflowV1b3::WorkerHealthReportResponse, decorator: Google::Apis::DataflowV1b3::WorkerHealthReportResponse::Representation + + end + end + + class TemplateMetadata + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :bypass_temp_dir_validation, as: 'bypassTempDirValidation' + property :name, as: 'name' + collection :parameters, as: 'parameters', class: Google::Apis::DataflowV1b3::ParameterMetadata, decorator: Google::Apis::DataflowV1b3::ParameterMetadata::Representation + + property :description, as: 'description' + end + end + + class WorkerMessage + # @private + class Representation < Google::Apis::Core::JsonRepresentation + hash :labels, as: 'labels' + property :time, as: 'time' + property :worker_health_report, as: 'workerHealthReport', class: Google::Apis::DataflowV1b3::WorkerHealthReport, decorator: Google::Apis::DataflowV1b3::WorkerHealthReport::Representation + + property :worker_message_code, as: 'workerMessageCode', class: Google::Apis::DataflowV1b3::WorkerMessageCode, decorator: Google::Apis::DataflowV1b3::WorkerMessageCode::Representation + + property :worker_metrics, as: 'workerMetrics', class: Google::Apis::DataflowV1b3::ResourceUtilizationReport, decorator: Google::Apis::DataflowV1b3::ResourceUtilizationReport::Representation + + end + end + + class JobMetrics + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :metric_time, as: 'metricTime' + collection :metrics, as: 'metrics', class: Google::Apis::DataflowV1b3::MetricUpdate, decorator: Google::Apis::DataflowV1b3::MetricUpdate::Representation + + end + end + + class FloatingPointList + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :elements, as: 'elements' + end + end + + class CounterUpdate + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :short_id, :numeric_string => true, as: 'shortId' + property :floating_point_list, as: 'floatingPointList', class: Google::Apis::DataflowV1b3::FloatingPointList, decorator: Google::Apis::DataflowV1b3::FloatingPointList::Representation + + property :integer, as: 'integer', class: Google::Apis::DataflowV1b3::SplitInt64, decorator: Google::Apis::DataflowV1b3::SplitInt64::Representation + + property :structured_name_and_metadata, as: 'structuredNameAndMetadata', class: Google::Apis::DataflowV1b3::CounterStructuredNameAndMetadata, decorator: Google::Apis::DataflowV1b3::CounterStructuredNameAndMetadata::Representation + + property :integer_list, as: 'integerList', class: Google::Apis::DataflowV1b3::IntegerList, decorator: Google::Apis::DataflowV1b3::IntegerList::Representation + + property :floating_point, as: 'floatingPoint' + property :integer_mean, as: 'integerMean', class: Google::Apis::DataflowV1b3::IntegerMean, decorator: Google::Apis::DataflowV1b3::IntegerMean::Representation + + property :internal, as: 'internal' + property :cumulative, as: 'cumulative' + property :floating_point_mean, as: 'floatingPointMean', class: Google::Apis::DataflowV1b3::FloatingPointMean, decorator: Google::Apis::DataflowV1b3::FloatingPointMean::Representation + + property :boolean, as: 'boolean' + property :name_and_kind, as: 'nameAndKind', class: Google::Apis::DataflowV1b3::NameAndKind, decorator: Google::Apis::DataflowV1b3::NameAndKind::Representation + + property :string_list, as: 'stringList', class: Google::Apis::DataflowV1b3::StringList, decorator: Google::Apis::DataflowV1b3::StringList::Representation + + property :distribution, as: 'distribution', class: Google::Apis::DataflowV1b3::DistributionUpdate, decorator: Google::Apis::DataflowV1b3::DistributionUpdate::Representation + + end + end + + class SourceMetadata + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :produces_sorted_keys, as: 'producesSortedKeys' + property :infinite, as: 'infinite' + property :estimated_size_bytes, :numeric_string => true, as: 'estimatedSizeBytes' + end + end + + class DistributionUpdate + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :count, as: 'count', class: Google::Apis::DataflowV1b3::SplitInt64, decorator: Google::Apis::DataflowV1b3::SplitInt64::Representation + + property :min, as: 'min', class: Google::Apis::DataflowV1b3::SplitInt64, decorator: Google::Apis::DataflowV1b3::SplitInt64::Representation + + property :sum_of_squares, as: 'sumOfSquares' + property :max, as: 'max', class: Google::Apis::DataflowV1b3::SplitInt64, decorator: Google::Apis::DataflowV1b3::SplitInt64::Representation + + property :sum, as: 'sum', class: Google::Apis::DataflowV1b3::SplitInt64, decorator: Google::Apis::DataflowV1b3::SplitInt64::Representation + + end + end + + class WorkerHealthReportResponse + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :report_interval, as: 'reportInterval' + end + end + + class SourceFork + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :primary_source, as: 'primarySource', class: Google::Apis::DataflowV1b3::DerivedSource, decorator: Google::Apis::DataflowV1b3::DerivedSource::Representation + + property :residual, as: 'residual', class: Google::Apis::DataflowV1b3::SourceSplitShard, decorator: Google::Apis::DataflowV1b3::SourceSplitShard::Representation + + property :residual_source, as: 'residualSource', class: Google::Apis::DataflowV1b3::DerivedSource, decorator: Google::Apis::DataflowV1b3::DerivedSource::Representation + + property :primary, as: 'primary', class: Google::Apis::DataflowV1b3::SourceSplitShard, decorator: Google::Apis::DataflowV1b3::SourceSplitShard::Representation + + end + end + + class WorkItemStatus + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :progress, as: 'progress', class: Google::Apis::DataflowV1b3::ApproximateProgress, decorator: Google::Apis::DataflowV1b3::ApproximateProgress::Representation + + property :requested_lease_duration, as: 'requestedLeaseDuration' + property :report_index, :numeric_string => true, as: 'reportIndex' + property :stop_position, as: 'stopPosition', class: Google::Apis::DataflowV1b3::Position, decorator: Google::Apis::DataflowV1b3::Position::Representation + + property :completed, as: 'completed' + property :reported_progress, as: 'reportedProgress', class: Google::Apis::DataflowV1b3::ApproximateReportedProgress, decorator: Google::Apis::DataflowV1b3::ApproximateReportedProgress::Representation + + property :source_fork, as: 'sourceFork', class: Google::Apis::DataflowV1b3::SourceFork, decorator: Google::Apis::DataflowV1b3::SourceFork::Representation + + collection :counter_updates, as: 'counterUpdates', class: Google::Apis::DataflowV1b3::CounterUpdate, decorator: Google::Apis::DataflowV1b3::CounterUpdate::Representation + + property :work_item_id, as: 'workItemId' + collection :metric_updates, as: 'metricUpdates', class: Google::Apis::DataflowV1b3::MetricUpdate, decorator: Google::Apis::DataflowV1b3::MetricUpdate::Representation + + collection :errors, as: 'errors', class: Google::Apis::DataflowV1b3::Status, decorator: Google::Apis::DataflowV1b3::Status::Representation + + property :dynamic_source_split, as: 'dynamicSourceSplit', class: Google::Apis::DataflowV1b3::DynamicSourceSplit, decorator: Google::Apis::DataflowV1b3::DynamicSourceSplit::Representation + + property :source_operation_response, as: 'sourceOperationResponse', class: Google::Apis::DataflowV1b3::SourceOperationResponse, decorator: Google::Apis::DataflowV1b3::SourceOperationResponse::Representation + + end + end + + class ComponentSource + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :name, as: 'name' + property :user_name, as: 'userName' + property :original_transform_or_collection, as: 'originalTransformOrCollection' + end + end + + class WorkItemServiceState + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :report_status_interval, as: 'reportStatusInterval' + property :suggested_stop_position, as: 'suggestedStopPosition', class: Google::Apis::DataflowV1b3::Position, decorator: Google::Apis::DataflowV1b3::Position::Representation + + hash :harness_data, as: 'harnessData' + property :lease_expire_time, as: 'leaseExpireTime' + collection :metric_short_id, as: 'metricShortId', class: Google::Apis::DataflowV1b3::MetricShortId, decorator: Google::Apis::DataflowV1b3::MetricShortId::Representation + + property :next_report_index, :numeric_string => true, as: 'nextReportIndex' + property :suggested_stop_point, as: 'suggestedStopPoint', class: Google::Apis::DataflowV1b3::ApproximateProgress, decorator: Google::Apis::DataflowV1b3::ApproximateProgress::Representation + + property :split_request, as: 'splitRequest', class: Google::Apis::DataflowV1b3::ApproximateSplitRequest, decorator: Google::Apis::DataflowV1b3::ApproximateSplitRequest::Representation + + end + end + + class MetricStructuredName + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :origin, as: 'origin' + property :name, as: 'name' + hash :context, as: 'context' + end + end + + class SeqMapTaskOutputInfo + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :sink, as: 'sink', class: Google::Apis::DataflowV1b3::Sink, decorator: Google::Apis::DataflowV1b3::Sink::Representation + + property :tag, as: 'tag' + end + end + + class JobExecutionStageInfo + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :step_name, as: 'stepName' + end + end + + class KeyRangeLocation + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :start, as: 'start' + property :data_disk, as: 'dataDisk' + property :end, as: 'end' + property :deprecated_persistent_directory, as: 'deprecatedPersistentDirectory' + property :delivery_endpoint, as: 'deliveryEndpoint' + end + end + + class SourceGetMetadataRequest + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :source, as: 'source', class: Google::Apis::DataflowV1b3::Source, decorator: Google::Apis::DataflowV1b3::Source::Representation + + end + end + + class NameAndKind + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :kind, as: 'kind' + property :name, as: 'name' + end + end + + class SeqMapTask + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :system_name, as: 'systemName' + property :stage_name, as: 'stageName' + hash :user_fn, as: 'userFn' + property :name, as: 'name' + collection :output_infos, as: 'outputInfos', class: Google::Apis::DataflowV1b3::SeqMapTaskOutputInfo, decorator: Google::Apis::DataflowV1b3::SeqMapTaskOutputInfo::Representation + + collection :inputs, as: 'inputs', class: Google::Apis::DataflowV1b3::SideInputInfo, decorator: Google::Apis::DataflowV1b3::SideInputInfo::Representation + + end + end + + class WorkerMessageCode + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :code, as: 'code' + hash :parameters, as: 'parameters' + end + end + + class CustomSourceLocation + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :stateful, as: 'stateful' + end + end + + class MapTask + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :system_name, as: 'systemName' + property :stage_name, as: 'stageName' + collection :instructions, as: 'instructions', class: Google::Apis::DataflowV1b3::ParallelInstruction, decorator: Google::Apis::DataflowV1b3::ParallelInstruction::Representation + + end + end + + class FloatingPointMean + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :count, as: 'count', class: Google::Apis::DataflowV1b3::SplitInt64, decorator: Google::Apis::DataflowV1b3::SplitInt64::Representation + + property :sum, as: 'sum' + end + end + + class ReportWorkItemStatusResponse + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :work_item_service_states, as: 'workItemServiceStates', class: Google::Apis::DataflowV1b3::WorkItemServiceState, decorator: Google::Apis::DataflowV1b3::WorkItemServiceState::Representation + + end + end + + class InstructionOutput + # @private + class Representation < Google::Apis::Core::JsonRepresentation + hash :codec, as: 'codec' + property :name, as: 'name' + property :original_name, as: 'originalName' + property :system_name, as: 'systemName' + property :only_count_key_bytes, as: 'onlyCountKeyBytes' + property :only_count_value_bytes, as: 'onlyCountValueBytes' + end + end + + class CreateJobFromTemplateRequest + # @private + class Representation < Google::Apis::Core::JsonRepresentation + hash :parameters, as: 'parameters' + property :job_name, as: 'jobName' + property :gcs_path, as: 'gcsPath' + property :environment, as: 'environment', class: Google::Apis::DataflowV1b3::RuntimeEnvironment, decorator: Google::Apis::DataflowV1b3::RuntimeEnvironment::Representation + + end + end + + class IntegerMean + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :count, as: 'count', class: Google::Apis::DataflowV1b3::SplitInt64, decorator: Google::Apis::DataflowV1b3::SplitInt64::Representation + + property :sum, as: 'sum', class: Google::Apis::DataflowV1b3::SplitInt64, decorator: Google::Apis::DataflowV1b3::SplitInt64::Representation + + end + end + + class ListJobsResponse + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :next_page_token, as: 'nextPageToken' + collection :failed_location, as: 'failedLocation', class: Google::Apis::DataflowV1b3::FailedLocation, decorator: Google::Apis::DataflowV1b3::FailedLocation::Representation + + collection :jobs, as: 'jobs', class: Google::Apis::DataflowV1b3::Job, decorator: Google::Apis::DataflowV1b3::Job::Representation + + end + end + + class ComputationTopology + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :user_stage_name, as: 'userStageName' + collection :outputs, as: 'outputs', class: Google::Apis::DataflowV1b3::StreamLocation, decorator: Google::Apis::DataflowV1b3::StreamLocation::Representation + + collection :state_families, as: 'stateFamilies', class: Google::Apis::DataflowV1b3::StateFamilyConfig, decorator: Google::Apis::DataflowV1b3::StateFamilyConfig::Representation + + property :system_stage_name, as: 'systemStageName' + collection :inputs, as: 'inputs', class: Google::Apis::DataflowV1b3::StreamLocation, decorator: Google::Apis::DataflowV1b3::StreamLocation::Representation + + property :computation_id, as: 'computationId' + collection :key_ranges, as: 'keyRanges', class: Google::Apis::DataflowV1b3::KeyRangeLocation, decorator: Google::Apis::DataflowV1b3::KeyRangeLocation::Representation + + end + end + + class RuntimeEnvironment + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :service_account_email, as: 'serviceAccountEmail' + property :temp_location, as: 'tempLocation' + property :bypass_temp_dir_validation, as: 'bypassTempDirValidation' + property :max_workers, as: 'maxWorkers' + property :zone, as: 'zone' + end + end + + class StreamingSideInputLocation + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :tag, as: 'tag' + property :state_family, as: 'stateFamily' + end + end + + class MountedDataDisk + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :data_disk, as: 'dataDisk' + end + end + + class LaunchTemplateResponse + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :job, as: 'job', class: Google::Apis::DataflowV1b3::Job, decorator: Google::Apis::DataflowV1b3::Job::Representation + + end + end + + class DerivedSource + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :derivation_mode, as: 'derivationMode' + property :source, as: 'source', class: Google::Apis::DataflowV1b3::Source, decorator: Google::Apis::DataflowV1b3::Source::Representation + + end + end + + class DynamicSourceSplit + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :residual, as: 'residual', class: Google::Apis::DataflowV1b3::DerivedSource, decorator: Google::Apis::DataflowV1b3::DerivedSource::Representation + + property :primary, as: 'primary', class: Google::Apis::DataflowV1b3::DerivedSource, decorator: Google::Apis::DataflowV1b3::DerivedSource::Representation + + end + end + + class Job + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :replace_job_id, as: 'replaceJobId' + property :requested_state, as: 'requestedState' + collection :temp_files, as: 'tempFiles' + property :client_request_id, as: 'clientRequestId' + property :name, as: 'name' + collection :steps, as: 'steps', class: Google::Apis::DataflowV1b3::Step, decorator: Google::Apis::DataflowV1b3::Step::Representation + + property :replaced_by_job_id, as: 'replacedByJobId' + property :execution_info, as: 'executionInfo', class: Google::Apis::DataflowV1b3::JobExecutionInfo, decorator: Google::Apis::DataflowV1b3::JobExecutionInfo::Representation + + property :id, as: 'id' + property :current_state, as: 'currentState' + property :location, as: 'location' + property :current_state_time, as: 'currentStateTime' + hash :transform_name_mapping, as: 'transformNameMapping' + property :create_time, as: 'createTime' + property :environment, as: 'environment', class: Google::Apis::DataflowV1b3::Environment, decorator: Google::Apis::DataflowV1b3::Environment::Representation + + hash :labels, as: 'labels' + property :type, as: 'type' + property :project_id, as: 'projectId' + property :pipeline_description, as: 'pipelineDescription', class: Google::Apis::DataflowV1b3::PipelineDescription, decorator: Google::Apis::DataflowV1b3::PipelineDescription::Representation + + end + end + + class SourceOperationResponse + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :get_metadata, as: 'getMetadata', class: Google::Apis::DataflowV1b3::SourceGetMetadataResponse, decorator: Google::Apis::DataflowV1b3::SourceGetMetadataResponse::Representation + + property :split, as: 'split', class: Google::Apis::DataflowV1b3::SourceSplitResponse, decorator: Google::Apis::DataflowV1b3::SourceSplitResponse::Representation + + end + end + + class SideInputInfo + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :sources, as: 'sources', class: Google::Apis::DataflowV1b3::Source, decorator: Google::Apis::DataflowV1b3::Source::Representation + + hash :kind, as: 'kind' + property :tag, as: 'tag' + end + end + + class SendDebugCaptureResponse + # @private + class Representation < Google::Apis::Core::JsonRepresentation + end + end + + class CounterStructuredNameAndMetadata + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :name, as: 'name', class: Google::Apis::DataflowV1b3::CounterStructuredName, decorator: Google::Apis::DataflowV1b3::CounterStructuredName::Representation + + property :metadata, as: 'metadata', class: Google::Apis::DataflowV1b3::CounterMetadata, decorator: Google::Apis::DataflowV1b3::CounterMetadata::Representation + + end + end + + class ConcatPosition + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :position, as: 'position', class: Google::Apis::DataflowV1b3::Position, decorator: Google::Apis::DataflowV1b3::Position::Representation + + property :index, as: 'index' + end + end + + class WriteInstruction + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :sink, as: 'sink', class: Google::Apis::DataflowV1b3::Sink, decorator: Google::Apis::DataflowV1b3::Sink::Representation + + property :input, as: 'input', class: Google::Apis::DataflowV1b3::InstructionInput, decorator: Google::Apis::DataflowV1b3::InstructionInput::Representation + + end + end + + class StreamingComputationRanges + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :computation_id, as: 'computationId' + collection :range_assignments, as: 'rangeAssignments', class: Google::Apis::DataflowV1b3::KeyRangeDataDiskAssignment, decorator: Google::Apis::DataflowV1b3::KeyRangeDataDiskAssignment::Representation + + end + end + + class AutoscalingSettings + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :algorithm, as: 'algorithm' + property :max_num_workers, as: 'maxNumWorkers' + end + end + + class ExecutionStageSummary + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :input_source, as: 'inputSource', class: Google::Apis::DataflowV1b3::StageSource, decorator: Google::Apis::DataflowV1b3::StageSource::Representation + + property :id, as: 'id' + collection :component_transform, as: 'componentTransform', class: Google::Apis::DataflowV1b3::ComponentTransform, decorator: Google::Apis::DataflowV1b3::ComponentTransform::Representation + + collection :component_source, as: 'componentSource', class: Google::Apis::DataflowV1b3::ComponentSource, decorator: Google::Apis::DataflowV1b3::ComponentSource::Representation + + property :kind, as: 'kind' + collection :output_source, as: 'outputSource', class: Google::Apis::DataflowV1b3::StageSource, decorator: Google::Apis::DataflowV1b3::StageSource::Representation + + property :name, as: 'name' + end + end + + class SendWorkerMessagesRequest + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :worker_messages, as: 'workerMessages', class: Google::Apis::DataflowV1b3::WorkerMessage, decorator: Google::Apis::DataflowV1b3::WorkerMessage::Representation + + end + end + + class SourceSplitShard + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :derivation_mode, as: 'derivationMode' + property :source, as: 'source', class: Google::Apis::DataflowV1b3::Source, decorator: Google::Apis::DataflowV1b3::Source::Representation + + end + end + + class CpuTime + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :rate, as: 'rate' + property :timestamp, as: 'timestamp' + property :total_ms, :numeric_string => true, as: 'totalMs' + end + end + + class Environment + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :cluster_manager_api_service, as: 'clusterManagerApiService' + property :temp_storage_prefix, as: 'tempStoragePrefix' + collection :worker_pools, as: 'workerPools', class: Google::Apis::DataflowV1b3::WorkerPool, decorator: Google::Apis::DataflowV1b3::WorkerPool::Representation + + property :dataset, as: 'dataset' + collection :experiments, as: 'experiments' + hash :version, as: 'version' + hash :internal_experiments, as: 'internalExperiments' + property :service_account_email, as: 'serviceAccountEmail' + hash :sdk_pipeline_options, as: 'sdkPipelineOptions' + hash :user_agent, as: 'userAgent' + end + end + + class StreamingComputationTask + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :data_disks, as: 'dataDisks', class: Google::Apis::DataflowV1b3::MountedDataDisk, decorator: Google::Apis::DataflowV1b3::MountedDataDisk::Representation + + property :task_type, as: 'taskType' + collection :computation_ranges, as: 'computationRanges', class: Google::Apis::DataflowV1b3::StreamingComputationRanges, decorator: Google::Apis::DataflowV1b3::StreamingComputationRanges::Representation + + end + end + + class SendDebugCaptureRequest + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :data, as: 'data' + property :component_id, as: 'componentId' + property :worker_id, as: 'workerId' + end + end + + class GetDebugConfigResponse + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :config, as: 'config' + end + end + + class ComponentTransform + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :name, as: 'name' + property :user_name, as: 'userName' + property :original_transform, as: 'originalTransform' + end + end + + class StreamingSetupTask + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :worker_harness_port, as: 'workerHarnessPort' + property :drain, as: 'drain' + property :receive_work_port, as: 'receiveWorkPort' + property :streaming_computation_topology, as: 'streamingComputationTopology', class: Google::Apis::DataflowV1b3::TopologyConfig, decorator: Google::Apis::DataflowV1b3::TopologyConfig::Representation + + end + end + + class PubsubLocation + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :with_attributes, as: 'withAttributes' + property :id_label, as: 'idLabel' + property :topic, as: 'topic' + property :timestamp_label, as: 'timestampLabel' + property :subscription, as: 'subscription' + property :drop_late_data, as: 'dropLateData' + property :tracking_subscription, as: 'trackingSubscription' + end + end + + class WorkerHealthReport + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :pods, as: 'pods' + property :vm_startup_time, as: 'vmStartupTime' + property :vm_is_healthy, as: 'vmIsHealthy' + property :report_interval, as: 'reportInterval' + end + end + + class JobMessage + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :message_text, as: 'messageText' + property :message_importance, as: 'messageImportance' + property :time, as: 'time' + property :id, as: 'id' + end + end + + class ParameterMetadata + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :is_optional, as: 'isOptional' + property :name, as: 'name' + collection :regexes, as: 'regexes' + property :label, as: 'label' + property :help_text, as: 'helpText' + end + end + + class MultiOutputInfo + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :tag, as: 'tag' + end + end + + class SourceSplitRequest + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :source, as: 'source', class: Google::Apis::DataflowV1b3::Source, decorator: Google::Apis::DataflowV1b3::Source::Representation + + property :options, as: 'options', class: Google::Apis::DataflowV1b3::SourceSplitOptions, decorator: Google::Apis::DataflowV1b3::SourceSplitOptions::Representation + + end + end + + class SourceGetMetadataResponse + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :metadata, as: 'metadata', class: Google::Apis::DataflowV1b3::SourceMetadata, decorator: Google::Apis::DataflowV1b3::SourceMetadata::Representation + + end + end end end end diff --git a/generated/google/apis/dataflow_v1b3/service.rb b/generated/google/apis/dataflow_v1b3/service.rb index 77269db59..2abf81465 100644 --- a/generated/google/apis/dataflow_v1b3/service.rb +++ b/generated/google/apis/dataflow_v1b3/service.rb @@ -44,6 +44,7 @@ module Google def initialize super('https://dataflow.googleapis.com/', '') + @batch_path = 'batch' end # Send a worker_message to the service. @@ -163,8 +164,6 @@ module Google # The project which owns the jobs. # @param [String] location # The location that contains this job. - # @param [String] filter - # The kind of filter to use. # @param [String] page_token # Set this to the 'next_page_token' field of a previous response # to request additional results in a long list. @@ -174,6 +173,8 @@ module Google # and an unspecified server-defined limit. # @param [String] view # Level of information requested in response. Default is `JOB_VIEW_SUMMARY`. + # @param [String] filter + # The kind of filter to use. # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user @@ -191,16 +192,16 @@ module Google # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required - def list_project_location_jobs(project_id, location, filter: nil, page_token: nil, page_size: nil, view: nil, fields: nil, quota_user: nil, options: nil, &block) + def list_project_location_jobs(project_id, location, page_token: nil, page_size: nil, view: nil, filter: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1b3/projects/{projectId}/locations/{location}/jobs', options) command.response_representation = Google::Apis::DataflowV1b3::ListJobsResponse::Representation command.response_class = Google::Apis::DataflowV1b3::ListJobsResponse command.params['projectId'] = project_id unless project_id.nil? command.params['location'] = location unless location.nil? - command.query['filter'] = filter unless filter.nil? command.query['pageToken'] = page_token unless page_token.nil? command.query['pageSize'] = page_size unless page_size.nil? command.query['view'] = view unless view.nil? + command.query['filter'] = filter unless filter.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) @@ -251,10 +252,10 @@ module Google # @param [String] location # The location that contains this job. # @param [Google::Apis::DataflowV1b3::Job] job_object - # @param [String] replace_job_id - # Deprecated. This field is now in the Job message. # @param [String] view # The level of information requested in response. + # @param [String] replace_job_id + # Deprecated. This field is now in the Job message. # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user @@ -272,7 +273,7 @@ module Google # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required - def create_project_location_job(project_id, location, job_object = nil, replace_job_id: nil, view: nil, fields: nil, quota_user: nil, options: nil, &block) + def create_project_location_job(project_id, location, job_object = nil, view: nil, replace_job_id: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'v1b3/projects/{projectId}/locations/{location}/jobs', options) command.request_representation = Google::Apis::DataflowV1b3::Job::Representation command.request_object = job_object @@ -280,8 +281,8 @@ module Google command.response_class = Google::Apis::DataflowV1b3::Job command.params['projectId'] = project_id unless project_id.nil? command.params['location'] = location unless location.nil? - command.query['replaceJobId'] = replace_job_id unless replace_job_id.nil? command.query['view'] = view unless view.nil? + command.query['replaceJobId'] = replace_job_id unless replace_job_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) @@ -426,14 +427,14 @@ module Google # @param [String] project_id # Required. The ID of the Cloud Platform project that the job belongs to. # @param [Google::Apis::DataflowV1b3::LaunchTemplateParameters] launch_template_parameters_object - # @param [String] gcs_path - # Required. A Cloud Storage path to the template from which to create - # the job. - # Must be valid Cloud Storage URL, beginning with 'gs://'. # @param [Boolean] dry_run # Whether or not the job should actually be executed after # validating parameters. Defaults to false. Validation errors do # not cause the HTTP request to fail if true. + # @param [String] gcs_path + # Required. A Cloud Storage path to the template from which to create + # the job. + # Must be valid Cloud Storage URL, beginning with 'gs://'. # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user @@ -451,15 +452,15 @@ module Google # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required - def launch_project_template(project_id, launch_template_parameters_object = nil, gcs_path: nil, dry_run: nil, fields: nil, quota_user: nil, options: nil, &block) + def launch_project_template(project_id, launch_template_parameters_object = nil, dry_run: nil, gcs_path: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'v1b3/projects/{projectId}/templates:launch', options) command.request_representation = Google::Apis::DataflowV1b3::LaunchTemplateParameters::Representation command.request_object = launch_template_parameters_object command.response_representation = Google::Apis::DataflowV1b3::LaunchTemplateResponse::Representation command.response_class = Google::Apis::DataflowV1b3::LaunchTemplateResponse command.params['projectId'] = project_id unless project_id.nil? - command.query['gcsPath'] = gcs_path unless gcs_path.nil? command.query['dryRun'] = dry_run unless dry_run.nil? + command.query['gcsPath'] = gcs_path unless gcs_path.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) @@ -536,127 +537,6 @@ module Google execute_or_queue_command(command, &block) end - # Updates the state of an existing Cloud Dataflow job. - # @param [String] project_id - # The ID of the Cloud Platform project that the job belongs to. - # @param [String] job_id - # The job ID. - # @param [Google::Apis::DataflowV1b3::Job] job_object - # @param [String] location - # The location that contains this job. - # @param [String] fields - # Selector specifying which fields to include in a partial response. - # @param [String] quota_user - # Available to use for quota purposes for server-side applications. Can be any - # arbitrary string assigned to a user, but should not exceed 40 characters. - # @param [Google::Apis::RequestOptions] options - # Request-specific options - # - # @yield [result, err] Result & error if block supplied - # @yieldparam result [Google::Apis::DataflowV1b3::Job] parsed result object - # @yieldparam err [StandardError] error object if request failed - # - # @return [Google::Apis::DataflowV1b3::Job] - # - # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried - # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification - # @raise [Google::Apis::AuthorizationError] Authorization is required - def update_project_job(project_id, job_id, job_object = nil, location: nil, fields: nil, quota_user: nil, options: nil, &block) - command = make_simple_command(:put, 'v1b3/projects/{projectId}/jobs/{jobId}', options) - command.request_representation = Google::Apis::DataflowV1b3::Job::Representation - command.request_object = job_object - command.response_representation = Google::Apis::DataflowV1b3::Job::Representation - command.response_class = Google::Apis::DataflowV1b3::Job - command.params['projectId'] = project_id unless project_id.nil? - command.params['jobId'] = job_id unless job_id.nil? - command.query['location'] = location unless location.nil? - command.query['fields'] = fields unless fields.nil? - command.query['quotaUser'] = quota_user unless quota_user.nil? - execute_or_queue_command(command, &block) - end - - # Creates a Cloud Dataflow job. - # @param [String] project_id - # The ID of the Cloud Platform project that the job belongs to. - # @param [Google::Apis::DataflowV1b3::Job] job_object - # @param [String] replace_job_id - # Deprecated. This field is now in the Job message. - # @param [String] view - # The level of information requested in response. - # @param [String] location - # The location that contains this job. - # @param [String] fields - # Selector specifying which fields to include in a partial response. - # @param [String] quota_user - # Available to use for quota purposes for server-side applications. Can be any - # arbitrary string assigned to a user, but should not exceed 40 characters. - # @param [Google::Apis::RequestOptions] options - # Request-specific options - # - # @yield [result, err] Result & error if block supplied - # @yieldparam result [Google::Apis::DataflowV1b3::Job] parsed result object - # @yieldparam err [StandardError] error object if request failed - # - # @return [Google::Apis::DataflowV1b3::Job] - # - # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried - # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification - # @raise [Google::Apis::AuthorizationError] Authorization is required - def create_project_job(project_id, job_object = nil, replace_job_id: nil, view: nil, location: nil, fields: nil, quota_user: nil, options: nil, &block) - command = make_simple_command(:post, 'v1b3/projects/{projectId}/jobs', options) - command.request_representation = Google::Apis::DataflowV1b3::Job::Representation - command.request_object = job_object - command.response_representation = Google::Apis::DataflowV1b3::Job::Representation - command.response_class = Google::Apis::DataflowV1b3::Job - command.params['projectId'] = project_id unless project_id.nil? - command.query['replaceJobId'] = replace_job_id unless replace_job_id.nil? - command.query['view'] = view unless view.nil? - command.query['location'] = location unless location.nil? - command.query['fields'] = fields unless fields.nil? - command.query['quotaUser'] = quota_user unless quota_user.nil? - execute_or_queue_command(command, &block) - end - - # Request the job status. - # @param [String] project_id - # A project id. - # @param [String] job_id - # The job to get messages for. - # @param [String] location - # The location which contains the job specified by job_id. - # @param [String] start_time - # Return only metric data that has changed since this time. - # Default is to return all information about all metrics for the job. - # @param [String] fields - # Selector specifying which fields to include in a partial response. - # @param [String] quota_user - # Available to use for quota purposes for server-side applications. Can be any - # arbitrary string assigned to a user, but should not exceed 40 characters. - # @param [Google::Apis::RequestOptions] options - # Request-specific options - # - # @yield [result, err] Result & error if block supplied - # @yieldparam result [Google::Apis::DataflowV1b3::JobMetrics] parsed result object - # @yieldparam err [StandardError] error object if request failed - # - # @return [Google::Apis::DataflowV1b3::JobMetrics] - # - # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried - # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification - # @raise [Google::Apis::AuthorizationError] Authorization is required - def get_project_job_metrics(project_id, job_id, location: nil, start_time: nil, fields: nil, quota_user: nil, options: nil, &block) - command = make_simple_command(:get, 'v1b3/projects/{projectId}/jobs/{jobId}/metrics', options) - command.response_representation = Google::Apis::DataflowV1b3::JobMetrics::Representation - command.response_class = Google::Apis::DataflowV1b3::JobMetrics - command.params['projectId'] = project_id unless project_id.nil? - command.params['jobId'] = job_id unless job_id.nil? - command.query['location'] = location unless location.nil? - command.query['startTime'] = start_time unless start_time.nil? - command.query['fields'] = fields unless fields.nil? - command.query['quotaUser'] = quota_user unless quota_user.nil? - execute_or_queue_command(command, &block) - end - # Gets the state of the specified Cloud Dataflow job. # @param [String] project_id # The ID of the Cloud Platform project that the job belongs to. @@ -744,6 +624,127 @@ module Google execute_or_queue_command(command, &block) end + # Updates the state of an existing Cloud Dataflow job. + # @param [String] project_id + # The ID of the Cloud Platform project that the job belongs to. + # @param [String] job_id + # The job ID. + # @param [Google::Apis::DataflowV1b3::Job] job_object + # @param [String] location + # The location that contains this job. + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # Available to use for quota purposes for server-side applications. Can be any + # arbitrary string assigned to a user, but should not exceed 40 characters. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::DataflowV1b3::Job] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::DataflowV1b3::Job] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def update_project_job(project_id, job_id, job_object = nil, location: nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:put, 'v1b3/projects/{projectId}/jobs/{jobId}', options) + command.request_representation = Google::Apis::DataflowV1b3::Job::Representation + command.request_object = job_object + command.response_representation = Google::Apis::DataflowV1b3::Job::Representation + command.response_class = Google::Apis::DataflowV1b3::Job + command.params['projectId'] = project_id unless project_id.nil? + command.params['jobId'] = job_id unless job_id.nil? + command.query['location'] = location unless location.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + execute_or_queue_command(command, &block) + end + + # Creates a Cloud Dataflow job. + # @param [String] project_id + # The ID of the Cloud Platform project that the job belongs to. + # @param [Google::Apis::DataflowV1b3::Job] job_object + # @param [String] location + # The location that contains this job. + # @param [String] replace_job_id + # Deprecated. This field is now in the Job message. + # @param [String] view + # The level of information requested in response. + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # Available to use for quota purposes for server-side applications. Can be any + # arbitrary string assigned to a user, but should not exceed 40 characters. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::DataflowV1b3::Job] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::DataflowV1b3::Job] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def create_project_job(project_id, job_object = nil, location: nil, replace_job_id: nil, view: nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:post, 'v1b3/projects/{projectId}/jobs', options) + command.request_representation = Google::Apis::DataflowV1b3::Job::Representation + command.request_object = job_object + command.response_representation = Google::Apis::DataflowV1b3::Job::Representation + command.response_class = Google::Apis::DataflowV1b3::Job + command.params['projectId'] = project_id unless project_id.nil? + command.query['location'] = location unless location.nil? + command.query['replaceJobId'] = replace_job_id unless replace_job_id.nil? + command.query['view'] = view unless view.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + execute_or_queue_command(command, &block) + end + + # Request the job status. + # @param [String] project_id + # A project id. + # @param [String] job_id + # The job to get messages for. + # @param [String] location + # The location which contains the job specified by job_id. + # @param [String] start_time + # Return only metric data that has changed since this time. + # Default is to return all information about all metrics for the job. + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # Available to use for quota purposes for server-side applications. Can be any + # arbitrary string assigned to a user, but should not exceed 40 characters. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::DataflowV1b3::JobMetrics] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::DataflowV1b3::JobMetrics] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def get_project_job_metrics(project_id, job_id, location: nil, start_time: nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:get, 'v1b3/projects/{projectId}/jobs/{jobId}/metrics', options) + command.response_representation = Google::Apis::DataflowV1b3::JobMetrics::Representation + command.response_class = Google::Apis::DataflowV1b3::JobMetrics + command.params['projectId'] = project_id unless project_id.nil? + command.params['jobId'] = job_id unless job_id.nil? + command.query['location'] = location unless location.nil? + command.query['startTime'] = start_time unless start_time.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + execute_or_queue_command(command, &block) + end + # Get encoded debug configuration for component. Not cacheable. # @param [String] project_id # The project id. @@ -816,42 +817,6 @@ module Google execute_or_queue_command(command, &block) end - # Reports the status of dataflow WorkItems leased by a worker. - # @param [String] project_id - # The project which owns the WorkItem's job. - # @param [String] job_id - # The job which the WorkItem is part of. - # @param [Google::Apis::DataflowV1b3::ReportWorkItemStatusRequest] report_work_item_status_request_object - # @param [String] fields - # Selector specifying which fields to include in a partial response. - # @param [String] quota_user - # Available to use for quota purposes for server-side applications. Can be any - # arbitrary string assigned to a user, but should not exceed 40 characters. - # @param [Google::Apis::RequestOptions] options - # Request-specific options - # - # @yield [result, err] Result & error if block supplied - # @yieldparam result [Google::Apis::DataflowV1b3::ReportWorkItemStatusResponse] parsed result object - # @yieldparam err [StandardError] error object if request failed - # - # @return [Google::Apis::DataflowV1b3::ReportWorkItemStatusResponse] - # - # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried - # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification - # @raise [Google::Apis::AuthorizationError] Authorization is required - def report_project_job_work_item_status(project_id, job_id, report_work_item_status_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) - command = make_simple_command(:post, 'v1b3/projects/{projectId}/jobs/{jobId}/workItems:reportStatus', options) - command.request_representation = Google::Apis::DataflowV1b3::ReportWorkItemStatusRequest::Representation - command.request_object = report_work_item_status_request_object - command.response_representation = Google::Apis::DataflowV1b3::ReportWorkItemStatusResponse::Representation - command.response_class = Google::Apis::DataflowV1b3::ReportWorkItemStatusResponse - command.params['projectId'] = project_id unless project_id.nil? - command.params['jobId'] = job_id unless job_id.nil? - command.query['fields'] = fields unless fields.nil? - command.query['quotaUser'] = quota_user unless quota_user.nil? - execute_or_queue_command(command, &block) - end - # Leases a dataflow WorkItem to run. # @param [String] project_id # Identifies the project this worker belongs to. @@ -888,6 +853,42 @@ module Google execute_or_queue_command(command, &block) end + # Reports the status of dataflow WorkItems leased by a worker. + # @param [String] project_id + # The project which owns the WorkItem's job. + # @param [String] job_id + # The job which the WorkItem is part of. + # @param [Google::Apis::DataflowV1b3::ReportWorkItemStatusRequest] report_work_item_status_request_object + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # Available to use for quota purposes for server-side applications. Can be any + # arbitrary string assigned to a user, but should not exceed 40 characters. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::DataflowV1b3::ReportWorkItemStatusResponse] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::DataflowV1b3::ReportWorkItemStatusResponse] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def report_project_job_work_item_status(project_id, job_id, report_work_item_status_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:post, 'v1b3/projects/{projectId}/jobs/{jobId}/workItems:reportStatus', options) + command.request_representation = Google::Apis::DataflowV1b3::ReportWorkItemStatusRequest::Representation + command.request_object = report_work_item_status_request_object + command.response_representation = Google::Apis::DataflowV1b3::ReportWorkItemStatusResponse::Representation + command.response_class = Google::Apis::DataflowV1b3::ReportWorkItemStatusResponse + command.params['projectId'] = project_id unless project_id.nil? + command.params['jobId'] = job_id unless job_id.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + execute_or_queue_command(command, &block) + end + # Request the job status. # @param [String] project_id # A project id. diff --git a/generated/google/apis/dataproc_v1/classes.rb b/generated/google/apis/dataproc_v1/classes.rb index 96637bc3a..3d432a428 100644 --- a/generated/google/apis/dataproc_v1/classes.rb +++ b/generated/google/apis/dataproc_v1/classes.rb @@ -22,6 +22,54 @@ module Google module Apis module DataprocV1 + # Encapsulates the full scoping used to reference a job. + class JobReference + include Google::Apis::Core::Hashable + + # Required The ID of the Google Cloud Platform project that the job belongs to. + # Corresponds to the JSON property `projectId` + # @return [String] + attr_accessor :project_id + + # Optional The job ID, which must be unique within the project. The job ID is + # generated by the server upon job submission or provided by the user as a means + # to perform retries without creating duplicate jobs. The ID must contain only + # letters (a-z, A-Z), numbers (0-9), underscores (_), or hyphens (-). The + # maximum length is 100 characters. + # Corresponds to the JSON property `jobId` + # @return [String] + attr_accessor :job_id + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @project_id = args[:project_id] if args.key?(:project_id) + @job_id = args[:job_id] if args.key?(:job_id) + end + end + + # A request to submit a job. + class SubmitJobRequest + include Google::Apis::Core::Hashable + + # A Cloud Dataproc job resource. + # Corresponds to the JSON property `job` + # @return [Google::Apis::DataprocV1::Job] + attr_accessor :job + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @job = args[:job] if args.key?(:job) + end + end + # The Status type defines a logical error model that is suitable for different # programming environments, including REST APIs and RPC APIs. It is used by gRPC # (https://github.com/grpc). The error model is designed to be: @@ -94,6 +142,13 @@ module Google class InstanceGroupConfig include Google::Apis::Core::Hashable + # Optional The list of instance names. Cloud Dataproc derives the names from + # cluster_name, num_instances, and the instance group if not set by user ( + # recommended practice is to let Cloud Dataproc derive the name). + # Corresponds to the JSON property `instanceNames` + # @return [Array] + attr_accessor :instance_names + # Optional The Google Compute Engine accelerator configuration for these # instances.Beta Feature: This feature is still under development. It may be # changed before final release. @@ -118,11 +173,6 @@ module Google attr_accessor :is_preemptible alias_method :is_preemptible?, :is_preemptible - # Specifies the resources used to actively manage an instance group. - # Corresponds to the JSON property `managedGroupConfig` - # @return [Google::Apis::DataprocV1::ManagedGroupConfig] - attr_accessor :managed_group_config - # Required The Google Compute Engine machine type used for cluster instances. # Example: https://www.googleapis.com/compute/v1/projects/[project_id]/zones/us- # east1-a/machineTypes/n1-standard-2. @@ -136,12 +186,10 @@ module Google # @return [String] attr_accessor :image_uri - # Optional The list of instance names. Cloud Dataproc derives the names from - # cluster_name, num_instances, and the instance group if not set by user ( - # recommended practice is to let Cloud Dataproc derive the name). - # Corresponds to the JSON property `instanceNames` - # @return [Array] - attr_accessor :instance_names + # Specifies the resources used to actively manage an instance group. + # Corresponds to the JSON property `managedGroupConfig` + # @return [Google::Apis::DataprocV1::ManagedGroupConfig] + attr_accessor :managed_group_config def initialize(**args) update!(**args) @@ -149,14 +197,14 @@ module Google # Update properties of this object def update!(**args) + @instance_names = args[:instance_names] if args.key?(:instance_names) @accelerators = args[:accelerators] if args.key?(:accelerators) @num_instances = args[:num_instances] if args.key?(:num_instances) @disk_config = args[:disk_config] if args.key?(:disk_config) @is_preemptible = args[:is_preemptible] if args.key?(:is_preemptible) - @managed_group_config = args[:managed_group_config] if args.key?(:managed_group_config) @machine_type_uri = args[:machine_type_uri] if args.key?(:machine_type_uri) @image_uri = args[:image_uri] if args.key?(:image_uri) - @instance_names = args[:instance_names] if args.key?(:instance_names) + @managed_group_config = args[:managed_group_config] if args.key?(:managed_group_config) end end @@ -257,16 +305,16 @@ module Google class SparkSqlJob include Google::Apis::Core::Hashable - # The HCFS URI of the script that contains SQL queries. - # Corresponds to the JSON property `queryFileUri` - # @return [String] - attr_accessor :query_file_uri - # A list of queries to run on a cluster. # Corresponds to the JSON property `queryList` # @return [Google::Apis::DataprocV1::QueryList] attr_accessor :query_list + # The HCFS URI of the script that contains SQL queries. + # Corresponds to the JSON property `queryFileUri` + # @return [String] + attr_accessor :query_file_uri + # Optional Mapping of query variable names to values (equivalent to the Spark # SQL command: SET name="value";). # Corresponds to the JSON property `scriptVariables` @@ -296,8 +344,8 @@ module Google # Update properties of this object def update!(**args) - @query_file_uri = args[:query_file_uri] if args.key?(:query_file_uri) @query_list = args[:query_list] if args.key?(:query_list) + @query_file_uri = args[:query_file_uri] if args.key?(:query_file_uri) @script_variables = args[:script_variables] if args.key?(:script_variables) @jar_file_uris = args[:jar_file_uris] if args.key?(:jar_file_uris) @logging_config = args[:logging_config] if args.key?(:logging_config) @@ -379,24 +427,24 @@ module Google class ListOperationsResponse include Google::Apis::Core::Hashable - # A list of operations that matches the specified filter in the request. - # Corresponds to the JSON property `operations` - # @return [Array] - attr_accessor :operations - # The standard List next-page token. # Corresponds to the JSON property `nextPageToken` # @return [String] attr_accessor :next_page_token + # A list of operations that matches the specified filter in the request. + # Corresponds to the JSON property `operations` + # @return [Array] + attr_accessor :operations + def initialize(**args) update!(**args) end # Update properties of this object def update!(**args) - @operations = args[:operations] if args.key?(:operations) @next_page_token = args[:next_page_token] if args.key?(:next_page_token) + @operations = args[:operations] if args.key?(:operations) end end @@ -491,6 +539,32 @@ module Google end end + # Cloud Dataproc job config. + class JobPlacement + include Google::Apis::Core::Hashable + + # Required The name of the cluster where the job will be submitted. + # Corresponds to the JSON property `clusterName` + # @return [String] + attr_accessor :cluster_name + + # Output-only A cluster UUID generated by the Cloud Dataproc service when the + # job is submitted. + # Corresponds to the JSON property `clusterUuid` + # @return [String] + attr_accessor :cluster_uuid + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @cluster_name = args[:cluster_name] if args.key?(:cluster_name) + @cluster_uuid = args[:cluster_uuid] if args.key?(:cluster_uuid) + end + end + # Specifies the selection and config of software inside the cluster. class SoftwareConfig include Google::Apis::Core::Hashable @@ -527,55 +601,11 @@ module Google end end - # Cloud Dataproc job config. - class JobPlacement - include Google::Apis::Core::Hashable - - # Required The name of the cluster where the job will be submitted. - # Corresponds to the JSON property `clusterName` - # @return [String] - attr_accessor :cluster_name - - # Output-only A cluster UUID generated by the Cloud Dataproc service when the - # job is submitted. - # Corresponds to the JSON property `clusterUuid` - # @return [String] - attr_accessor :cluster_uuid - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @cluster_name = args[:cluster_name] if args.key?(:cluster_name) - @cluster_uuid = args[:cluster_uuid] if args.key?(:cluster_uuid) - end - end - # A Cloud Dataproc job for running Apache Pig (https://pig.apache.org/) queries # on YARN. class PigJob include Google::Apis::Core::Hashable - # Optional Whether to continue executing queries if a query fails. The default - # value is false. Setting to true can be useful when executing independent - # parallel queries. - # Corresponds to the JSON property `continueOnFailure` - # @return [Boolean] - attr_accessor :continue_on_failure - alias_method :continue_on_failure?, :continue_on_failure - - # A list of queries to run on a cluster. - # Corresponds to the JSON property `queryList` - # @return [Google::Apis::DataprocV1::QueryList] - attr_accessor :query_list - - # The HCFS URI of the script that contains the Pig queries. - # Corresponds to the JSON property `queryFileUri` - # @return [String] - attr_accessor :query_file_uri - # Optional HCFS URIs of jar files to add to the CLASSPATH of the Pig Client and # Hadoop MapReduce (MR) tasks. Can contain Pig UDFs. # Corresponds to the JSON property `jarFileUris` @@ -601,19 +631,37 @@ module Google # @return [Hash] attr_accessor :properties + # Optional Whether to continue executing queries if a query fails. The default + # value is false. Setting to true can be useful when executing independent + # parallel queries. + # Corresponds to the JSON property `continueOnFailure` + # @return [Boolean] + attr_accessor :continue_on_failure + alias_method :continue_on_failure?, :continue_on_failure + + # A list of queries to run on a cluster. + # Corresponds to the JSON property `queryList` + # @return [Google::Apis::DataprocV1::QueryList] + attr_accessor :query_list + + # The HCFS URI of the script that contains the Pig queries. + # Corresponds to the JSON property `queryFileUri` + # @return [String] + attr_accessor :query_file_uri + def initialize(**args) update!(**args) end # Update properties of this object def update!(**args) - @continue_on_failure = args[:continue_on_failure] if args.key?(:continue_on_failure) - @query_list = args[:query_list] if args.key?(:query_list) - @query_file_uri = args[:query_file_uri] if args.key?(:query_file_uri) @jar_file_uris = args[:jar_file_uris] if args.key?(:jar_file_uris) @script_variables = args[:script_variables] if args.key?(:script_variables) @logging_config = args[:logging_config] if args.key?(:logging_config) @properties = args[:properties] if args.key?(:properties) + @continue_on_failure = args[:continue_on_failure] if args.key?(:continue_on_failure) + @query_list = args[:query_list] if args.key?(:query_list) + @query_file_uri = args[:query_file_uri] if args.key?(:query_file_uri) end end @@ -621,6 +669,11 @@ module Google class ClusterStatus include Google::Apis::Core::Hashable + # Output-only The cluster's state. + # Corresponds to the JSON property `state` + # @return [String] + attr_accessor :state + # Output-only Time when this state was entered. # Corresponds to the JSON property `stateStartTime` # @return [String] @@ -637,21 +690,16 @@ module Google # @return [String] attr_accessor :detail - # Output-only The cluster's state. - # Corresponds to the JSON property `state` - # @return [String] - attr_accessor :state - def initialize(**args) update!(**args) end # Update properties of this object def update!(**args) + @state = args[:state] if args.key?(:state) @state_start_time = args[:state_start_time] if args.key?(:state_start_time) @substate = args[:substate] if args.key?(:substate) @detail = args[:detail] if args.key?(:detail) - @state = args[:state] if args.key?(:state) end end @@ -687,24 +735,6 @@ module Google class SparkJob include Google::Apis::Core::Hashable - # The name of the driver's main class. The jar file that contains the class must - # be in the default CLASSPATH or specified in jar_file_uris. - # Corresponds to the JSON property `mainClass` - # @return [String] - attr_accessor :main_class - - # Optional HCFS URIs of archives to be extracted in the working directory of - # Spark drivers and tasks. Supported file types: .jar, .tar, .tar.gz, .tgz, and . - # zip. - # Corresponds to the JSON property `archiveUris` - # @return [Array] - attr_accessor :archive_uris - - # The HCFS URI of the jar file that contains the main class. - # Corresponds to the JSON property `mainJarFileUri` - # @return [String] - attr_accessor :main_jar_file_uri - # Optional HCFS URIs of jar files to add to the CLASSPATHs of the Spark driver # and tasks. # Corresponds to the JSON property `jarFileUris` @@ -737,20 +767,38 @@ module Google # @return [Array] attr_accessor :file_uris + # The name of the driver's main class. The jar file that contains the class must + # be in the default CLASSPATH or specified in jar_file_uris. + # Corresponds to the JSON property `mainClass` + # @return [String] + attr_accessor :main_class + + # Optional HCFS URIs of archives to be extracted in the working directory of + # Spark drivers and tasks. Supported file types: .jar, .tar, .tar.gz, .tgz, and . + # zip. + # Corresponds to the JSON property `archiveUris` + # @return [Array] + attr_accessor :archive_uris + + # The HCFS URI of the jar file that contains the main class. + # Corresponds to the JSON property `mainJarFileUri` + # @return [String] + attr_accessor :main_jar_file_uri + def initialize(**args) update!(**args) end # Update properties of this object def update!(**args) - @main_class = args[:main_class] if args.key?(:main_class) - @archive_uris = args[:archive_uris] if args.key?(:archive_uris) - @main_jar_file_uri = args[:main_jar_file_uri] if args.key?(:main_jar_file_uri) @jar_file_uris = args[:jar_file_uris] if args.key?(:jar_file_uris) @logging_config = args[:logging_config] if args.key?(:logging_config) @properties = args[:properties] if args.key?(:properties) @args = args[:args] if args.key?(:args) @file_uris = args[:file_uris] if args.key?(:file_uris) + @main_class = args[:main_class] if args.key?(:main_class) + @archive_uris = args[:archive_uris] if args.key?(:archive_uris) + @main_jar_file_uri = args[:main_jar_file_uri] if args.key?(:main_jar_file_uri) end end @@ -758,42 +806,6 @@ module Google class Job include Google::Apis::Core::Hashable - # Output-only The collection of YARN applications spun up by this job.Beta - # Feature: This report is available for testing purposes only. It may be changed - # before final release. - # Corresponds to the JSON property `yarnApplications` - # @return [Array] - attr_accessor :yarn_applications - - # A Cloud Dataproc job for running Apache PySpark (https://spark.apache.org/docs/ - # 0.9.0/python-programming-guide.html) applications on YARN. - # Corresponds to the JSON property `pysparkJob` - # @return [Google::Apis::DataprocV1::PySparkJob] - attr_accessor :pyspark_job - - # Encapsulates the full scoping used to reference a job. - # Corresponds to the JSON property `reference` - # @return [Google::Apis::DataprocV1::JobReference] - attr_accessor :reference - - # A Cloud Dataproc job for running Apache Hadoop MapReduce (https://hadoop. - # apache.org/docs/current/hadoop-mapreduce-client/hadoop-mapreduce-client-core/ - # MapReduceTutorial.html) jobs on Apache Hadoop YARN (https://hadoop.apache.org/ - # docs/r2.7.1/hadoop-yarn/hadoop-yarn-site/YARN.html). - # Corresponds to the JSON property `hadoopJob` - # @return [Google::Apis::DataprocV1::HadoopJob] - attr_accessor :hadoop_job - - # Cloud Dataproc job status. - # Corresponds to the JSON property `status` - # @return [Google::Apis::DataprocV1::JobStatus] - attr_accessor :status - - # Cloud Dataproc job config. - # Corresponds to the JSON property `placement` - # @return [Google::Apis::DataprocV1::JobPlacement] - attr_accessor :placement - # Output-only If present, the location of miscellaneous control files which may # be used as part of job setup and handling. If not present, control files may # be placed in the same location as driver_output_uri. @@ -839,17 +851,53 @@ module Google # @return [Array] attr_accessor :status_history + # A Cloud Dataproc job for running Apache Spark SQL (http://spark.apache.org/sql/ + # ) queries. + # Corresponds to the JSON property `sparkSqlJob` + # @return [Google::Apis::DataprocV1::SparkSqlJob] + attr_accessor :spark_sql_job + # A Cloud Dataproc job for running Apache Spark (http://spark.apache.org/) # applications on YARN. # Corresponds to the JSON property `sparkJob` # @return [Google::Apis::DataprocV1::SparkJob] attr_accessor :spark_job - # A Cloud Dataproc job for running Apache Spark SQL (http://spark.apache.org/sql/ - # ) queries. - # Corresponds to the JSON property `sparkSqlJob` - # @return [Google::Apis::DataprocV1::SparkSqlJob] - attr_accessor :spark_sql_job + # Output-only The collection of YARN applications spun up by this job.Beta + # Feature: This report is available for testing purposes only. It may be changed + # before final release. + # Corresponds to the JSON property `yarnApplications` + # @return [Array] + attr_accessor :yarn_applications + + # A Cloud Dataproc job for running Apache PySpark (https://spark.apache.org/docs/ + # 0.9.0/python-programming-guide.html) applications on YARN. + # Corresponds to the JSON property `pysparkJob` + # @return [Google::Apis::DataprocV1::PySparkJob] + attr_accessor :pyspark_job + + # Encapsulates the full scoping used to reference a job. + # Corresponds to the JSON property `reference` + # @return [Google::Apis::DataprocV1::JobReference] + attr_accessor :reference + + # A Cloud Dataproc job for running Apache Hadoop MapReduce (https://hadoop. + # apache.org/docs/current/hadoop-mapreduce-client/hadoop-mapreduce-client-core/ + # MapReduceTutorial.html) jobs on Apache Hadoop YARN (https://hadoop.apache.org/ + # docs/r2.7.1/hadoop-yarn/hadoop-yarn-site/YARN.html). + # Corresponds to the JSON property `hadoopJob` + # @return [Google::Apis::DataprocV1::HadoopJob] + attr_accessor :hadoop_job + + # Cloud Dataproc job status. + # Corresponds to the JSON property `status` + # @return [Google::Apis::DataprocV1::JobStatus] + attr_accessor :status + + # Cloud Dataproc job config. + # Corresponds to the JSON property `placement` + # @return [Google::Apis::DataprocV1::JobPlacement] + attr_accessor :placement def initialize(**args) update!(**args) @@ -857,12 +905,6 @@ module Google # Update properties of this object def update!(**args) - @yarn_applications = args[:yarn_applications] if args.key?(:yarn_applications) - @pyspark_job = args[:pyspark_job] if args.key?(:pyspark_job) - @reference = args[:reference] if args.key?(:reference) - @hadoop_job = args[:hadoop_job] if args.key?(:hadoop_job) - @status = args[:status] if args.key?(:status) - @placement = args[:placement] if args.key?(:placement) @driver_control_files_uri = args[:driver_control_files_uri] if args.key?(:driver_control_files_uri) @scheduling = args[:scheduling] if args.key?(:scheduling) @pig_job = args[:pig_job] if args.key?(:pig_job) @@ -870,8 +912,14 @@ module Google @labels = args[:labels] if args.key?(:labels) @driver_output_resource_uri = args[:driver_output_resource_uri] if args.key?(:driver_output_resource_uri) @status_history = args[:status_history] if args.key?(:status_history) - @spark_job = args[:spark_job] if args.key?(:spark_job) @spark_sql_job = args[:spark_sql_job] if args.key?(:spark_sql_job) + @spark_job = args[:spark_job] if args.key?(:spark_job) + @yarn_applications = args[:yarn_applications] if args.key?(:yarn_applications) + @pyspark_job = args[:pyspark_job] if args.key?(:pyspark_job) + @reference = args[:reference] if args.key?(:reference) + @hadoop_job = args[:hadoop_job] if args.key?(:hadoop_job) + @status = args[:status] if args.key?(:status) + @placement = args[:placement] if args.key?(:placement) end end @@ -879,17 +927,6 @@ module Google class JobStatus include Google::Apis::Core::Hashable - # Output-only A state message specifying the overall job state. - # Corresponds to the JSON property `state` - # @return [String] - attr_accessor :state - - # Output-only Optional job state details, such as an error description if the - # state is ERROR. - # Corresponds to the JSON property `details` - # @return [String] - attr_accessor :details - # Output-only The time when this state was entered. # Corresponds to the JSON property `stateStartTime` # @return [String] @@ -901,16 +938,27 @@ module Google # @return [String] attr_accessor :substate + # Output-only A state message specifying the overall job state. + # Corresponds to the JSON property `state` + # @return [String] + attr_accessor :state + + # Output-only Optional job state details, such as an error description if the + # state is ERROR. + # Corresponds to the JSON property `details` + # @return [String] + attr_accessor :details + def initialize(**args) update!(**args) end # Update properties of this object def update!(**args) - @state = args[:state] if args.key?(:state) - @details = args[:details] if args.key?(:details) @state_start_time = args[:state_start_time] if args.key?(:state_start_time) @substate = args[:substate] if args.key?(:substate) + @state = args[:state] if args.key?(:state) + @details = args[:details] if args.key?(:details) end end @@ -977,6 +1025,83 @@ module Google end end + # A Cloud Dataproc job for running Apache Hadoop MapReduce (https://hadoop. + # apache.org/docs/current/hadoop-mapreduce-client/hadoop-mapreduce-client-core/ + # MapReduceTutorial.html) jobs on Apache Hadoop YARN (https://hadoop.apache.org/ + # docs/r2.7.1/hadoop-yarn/hadoop-yarn-site/YARN.html). + class HadoopJob + include Google::Apis::Core::Hashable + + # Optional A mapping of property names to values, used to configure Hadoop. + # Properties that conflict with values set by the Cloud Dataproc API may be + # overwritten. Can include properties set in /etc/hadoop/conf/*-site and classes + # in user code. + # Corresponds to the JSON property `properties` + # @return [Hash] + attr_accessor :properties + + # Optional The arguments to pass to the driver. Do not include arguments, such + # as -libjars or -Dfoo=bar, that can be set as job properties, since a collision + # may occur that causes an incorrect job submission. + # Corresponds to the JSON property `args` + # @return [Array] + attr_accessor :args + + # Optional HCFS (Hadoop Compatible Filesystem) URIs of files to be copied to the + # working directory of Hadoop drivers and distributed tasks. Useful for naively + # parallel tasks. + # Corresponds to the JSON property `fileUris` + # @return [Array] + attr_accessor :file_uris + + # The name of the driver's main class. The jar file containing the class must be + # in the default CLASSPATH or specified in jar_file_uris. + # Corresponds to the JSON property `mainClass` + # @return [String] + attr_accessor :main_class + + # Optional HCFS URIs of archives to be extracted in the working directory of + # Hadoop drivers and tasks. Supported file types: .jar, .tar, .tar.gz, .tgz, or . + # zip. + # Corresponds to the JSON property `archiveUris` + # @return [Array] + attr_accessor :archive_uris + + # The HCFS URI of the jar file containing the main class. Examples: 'gs://foo- + # bucket/analytics-binaries/extract-useful-metrics-mr.jar' 'hdfs:/tmp/test- + # samples/custom-wordcount.jar' 'file:///home/usr/lib/hadoop-mapreduce/hadoop- + # mapreduce-examples.jar' + # Corresponds to the JSON property `mainJarFileUri` + # @return [String] + attr_accessor :main_jar_file_uri + + # Optional Jar file URIs to add to the CLASSPATHs of the Hadoop driver and tasks. + # Corresponds to the JSON property `jarFileUris` + # @return [Array] + attr_accessor :jar_file_uris + + # The runtime logging config of the job. + # Corresponds to the JSON property `loggingConfig` + # @return [Google::Apis::DataprocV1::LoggingConfig] + attr_accessor :logging_config + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @properties = args[:properties] if args.key?(:properties) + @args = args[:args] if args.key?(:args) + @file_uris = args[:file_uris] if args.key?(:file_uris) + @main_class = args[:main_class] if args.key?(:main_class) + @archive_uris = args[:archive_uris] if args.key?(:archive_uris) + @main_jar_file_uri = args[:main_jar_file_uri] if args.key?(:main_jar_file_uri) + @jar_file_uris = args[:jar_file_uris] if args.key?(:jar_file_uris) + @logging_config = args[:logging_config] if args.key?(:logging_config) + end + end + # A list of queries to run on a cluster. class QueryList include Google::Apis::Core::Hashable @@ -1051,83 +1176,6 @@ module Google end end - # A Cloud Dataproc job for running Apache Hadoop MapReduce (https://hadoop. - # apache.org/docs/current/hadoop-mapreduce-client/hadoop-mapreduce-client-core/ - # MapReduceTutorial.html) jobs on Apache Hadoop YARN (https://hadoop.apache.org/ - # docs/r2.7.1/hadoop-yarn/hadoop-yarn-site/YARN.html). - class HadoopJob - include Google::Apis::Core::Hashable - - # Optional Jar file URIs to add to the CLASSPATHs of the Hadoop driver and tasks. - # Corresponds to the JSON property `jarFileUris` - # @return [Array] - attr_accessor :jar_file_uris - - # The runtime logging config of the job. - # Corresponds to the JSON property `loggingConfig` - # @return [Google::Apis::DataprocV1::LoggingConfig] - attr_accessor :logging_config - - # Optional A mapping of property names to values, used to configure Hadoop. - # Properties that conflict with values set by the Cloud Dataproc API may be - # overwritten. Can include properties set in /etc/hadoop/conf/*-site and classes - # in user code. - # Corresponds to the JSON property `properties` - # @return [Hash] - attr_accessor :properties - - # Optional The arguments to pass to the driver. Do not include arguments, such - # as -libjars or -Dfoo=bar, that can be set as job properties, since a collision - # may occur that causes an incorrect job submission. - # Corresponds to the JSON property `args` - # @return [Array] - attr_accessor :args - - # Optional HCFS (Hadoop Compatible Filesystem) URIs of files to be copied to the - # working directory of Hadoop drivers and distributed tasks. Useful for naively - # parallel tasks. - # Corresponds to the JSON property `fileUris` - # @return [Array] - attr_accessor :file_uris - - # The name of the driver's main class. The jar file containing the class must be - # in the default CLASSPATH or specified in jar_file_uris. - # Corresponds to the JSON property `mainClass` - # @return [String] - attr_accessor :main_class - - # Optional HCFS URIs of archives to be extracted in the working directory of - # Hadoop drivers and tasks. Supported file types: .jar, .tar, .tar.gz, .tgz, or . - # zip. - # Corresponds to the JSON property `archiveUris` - # @return [Array] - attr_accessor :archive_uris - - # The HCFS URI of the jar file containing the main class. Examples: 'gs://foo- - # bucket/analytics-binaries/extract-useful-metrics-mr.jar' 'hdfs:/tmp/test- - # samples/custom-wordcount.jar' 'file:///home/usr/lib/hadoop-mapreduce/hadoop- - # mapreduce-examples.jar' - # Corresponds to the JSON property `mainJarFileUri` - # @return [String] - attr_accessor :main_jar_file_uri - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @jar_file_uris = args[:jar_file_uris] if args.key?(:jar_file_uris) - @logging_config = args[:logging_config] if args.key?(:logging_config) - @properties = args[:properties] if args.key?(:properties) - @args = args[:args] if args.key?(:args) - @file_uris = args[:file_uris] if args.key?(:file_uris) - @main_class = args[:main_class] if args.key?(:main_class) - @archive_uris = args[:archive_uris] if args.key?(:archive_uris) - @main_jar_file_uri = args[:main_jar_file_uri] if args.key?(:main_jar_file_uri) - end - end - # A request to collect cluster diagnostic information. class DiagnoseClusterRequest include Google::Apis::Core::Hashable @@ -1145,6 +1193,11 @@ module Google class DiskConfig include Google::Apis::Core::Hashable + # Optional Size in GB of the boot disk (default is 500GB). + # Corresponds to the JSON property `bootDiskSizeGb` + # @return [Fixnum] + attr_accessor :boot_disk_size_gb + # Optional Number of attached SSDs, from 0 to 4 (default is 0). If SSDs are not # attached, the boot disk is used to store runtime logs and HDFS (https://hadoop. # apache.org/docs/r1.2.1/hdfs_user_guide.html) data. If one or more SSDs are @@ -1154,19 +1207,14 @@ module Google # @return [Fixnum] attr_accessor :num_local_ssds - # Optional Size in GB of the boot disk (default is 500GB). - # Corresponds to the JSON property `bootDiskSizeGb` - # @return [Fixnum] - attr_accessor :boot_disk_size_gb - def initialize(**args) update!(**args) end # Update properties of this object def update!(**args) - @num_local_ssds = args[:num_local_ssds] if args.key?(:num_local_ssds) @boot_disk_size_gb = args[:boot_disk_size_gb] if args.key?(:boot_disk_size_gb) + @num_local_ssds = args[:num_local_ssds] if args.key?(:num_local_ssds) end end @@ -1174,6 +1222,11 @@ module Google class ClusterOperationMetadata include Google::Apis::Core::Hashable + # Output-only Errors encountered during operation execution. + # Corresponds to the JSON property `warnings` + # @return [Array] + attr_accessor :warnings + # Output-only Labels associated with the operation # Corresponds to the JSON property `labels` # @return [Hash] @@ -1209,17 +1262,13 @@ module Google # @return [String] attr_accessor :description - # Output-only Errors encountered during operation execution. - # Corresponds to the JSON property `warnings` - # @return [Array] - attr_accessor :warnings - def initialize(**args) update!(**args) end # Update properties of this object def update!(**args) + @warnings = args[:warnings] if args.key?(:warnings) @labels = args[:labels] if args.key?(:labels) @status = args[:status] if args.key?(:status) @status_history = args[:status_history] if args.key?(:status_history) @@ -1227,7 +1276,6 @@ module Google @cluster_uuid = args[:cluster_uuid] if args.key?(:cluster_uuid) @operation_type = args[:operation_type] if args.key?(:operation_type) @description = args[:description] if args.key?(:description) - @warnings = args[:warnings] if args.key?(:warnings) end end @@ -1263,16 +1311,16 @@ module Google attr_accessor :continue_on_failure alias_method :continue_on_failure?, :continue_on_failure - # A list of queries to run on a cluster. - # Corresponds to the JSON property `queryList` - # @return [Google::Apis::DataprocV1::QueryList] - attr_accessor :query_list - # The HCFS URI of the script that contains Hive queries. # Corresponds to the JSON property `queryFileUri` # @return [String] attr_accessor :query_file_uri + # A list of queries to run on a cluster. + # Corresponds to the JSON property `queryList` + # @return [Google::Apis::DataprocV1::QueryList] + attr_accessor :query_list + # Optional HCFS URIs of jar files to add to the CLASSPATH of the Hive server and # Hadoop MapReduce (MR) tasks. Can contain Hive SerDes and UDFs. # Corresponds to the JSON property `jarFileUris` @@ -1300,8 +1348,8 @@ module Google # Update properties of this object def update!(**args) @continue_on_failure = args[:continue_on_failure] if args.key?(:continue_on_failure) - @query_list = args[:query_list] if args.key?(:query_list) @query_file_uri = args[:query_file_uri] if args.key?(:query_file_uri) + @query_list = args[:query_list] if args.key?(:query_list) @jar_file_uris = args[:jar_file_uris] if args.key?(:jar_file_uris) @script_variables = args[:script_variables] if args.key?(:script_variables) @properties = args[:properties] if args.key?(:properties) @@ -1332,31 +1380,6 @@ module Google class ClusterConfig include Google::Apis::Core::Hashable - # Optional Commands to execute on each node after config is completed. By - # default, executables are run on master and all worker nodes. You can test a - # node's role metadata to run an executable on a master or worker - # node, as shown below using curl (you can also use wget): - # ROLE=$(curl -H Metadata-Flavor:Google http://metadata/computeMetadata/v1/ - # instance/attributes/dataproc-role) - # if [[ "$`ROLE`" == 'Master' ]]; then - # ... master specific actions ... - # else - # ... worker specific actions ... - # fi - # Corresponds to the JSON property `initializationActions` - # @return [Array] - attr_accessor :initialization_actions - - # Optional A Google Cloud Storage staging bucket used for sharing generated SSH - # keys and config. If you do not specify a staging bucket, Cloud Dataproc will - # determine an appropriate Cloud Storage location (US, ASIA, or EU) for your - # cluster's staging bucket according to the Google Compute Engine zone where - # your cluster is deployed, and then it will create and manage this project- - # level, per-location bucket for you. - # Corresponds to the JSON property `configBucket` - # @return [String] - attr_accessor :config_bucket - # Optional The config settings for Google Compute Engine resources in an # instance group, such as a master or worker group. # Corresponds to the JSON property `workerConfig` @@ -1386,19 +1409,44 @@ module Google # @return [Google::Apis::DataprocV1::InstanceGroupConfig] attr_accessor :secondary_worker_config + # Optional Commands to execute on each node after config is completed. By + # default, executables are run on master and all worker nodes. You can test a + # node's role metadata to run an executable on a master or worker + # node, as shown below using curl (you can also use wget): + # ROLE=$(curl -H Metadata-Flavor:Google http://metadata/computeMetadata/v1/ + # instance/attributes/dataproc-role) + # if [[ "$`ROLE`" == 'Master' ]]; then + # ... master specific actions ... + # else + # ... worker specific actions ... + # fi + # Corresponds to the JSON property `initializationActions` + # @return [Array] + attr_accessor :initialization_actions + + # Optional A Google Cloud Storage staging bucket used for sharing generated SSH + # keys and config. If you do not specify a staging bucket, Cloud Dataproc will + # determine an appropriate Cloud Storage location (US, ASIA, or EU) for your + # cluster's staging bucket according to the Google Compute Engine zone where + # your cluster is deployed, and then it will create and manage this project- + # level, per-location bucket for you. + # Corresponds to the JSON property `configBucket` + # @return [String] + attr_accessor :config_bucket + def initialize(**args) update!(**args) end # Update properties of this object def update!(**args) - @initialization_actions = args[:initialization_actions] if args.key?(:initialization_actions) - @config_bucket = args[:config_bucket] if args.key?(:config_bucket) @worker_config = args[:worker_config] if args.key?(:worker_config) @gce_cluster_config = args[:gce_cluster_config] if args.key?(:gce_cluster_config) @software_config = args[:software_config] if args.key?(:software_config) @master_config = args[:master_config] if args.key?(:master_config) @secondary_worker_config = args[:secondary_worker_config] if args.key?(:secondary_worker_config) + @initialization_actions = args[:initialization_actions] if args.key?(:initialization_actions) + @config_bucket = args[:config_bucket] if args.key?(:config_bucket) end end @@ -1407,17 +1455,6 @@ module Google class PySparkJob include Google::Apis::Core::Hashable - # Optional HCFS URIs of jar files to add to the CLASSPATHs of the Python driver - # and tasks. - # Corresponds to the JSON property `jarFileUris` - # @return [Array] - attr_accessor :jar_file_uris - - # The runtime logging config of the job. - # Corresponds to the JSON property `loggingConfig` - # @return [Google::Apis::DataprocV1::LoggingConfig] - attr_accessor :logging_config - # Optional A mapping of property names to values, used to configure PySpark. # Properties that conflict with values set by the Cloud Dataproc API may be # overwritten. Can include properties set in /etc/spark/conf/spark-defaults.conf @@ -1457,20 +1494,31 @@ module Google # @return [Array] attr_accessor :archive_uris + # Optional HCFS URIs of jar files to add to the CLASSPATHs of the Python driver + # and tasks. + # Corresponds to the JSON property `jarFileUris` + # @return [Array] + attr_accessor :jar_file_uris + + # The runtime logging config of the job. + # Corresponds to the JSON property `loggingConfig` + # @return [Google::Apis::DataprocV1::LoggingConfig] + attr_accessor :logging_config + def initialize(**args) update!(**args) end # Update properties of this object def update!(**args) - @jar_file_uris = args[:jar_file_uris] if args.key?(:jar_file_uris) - @logging_config = args[:logging_config] if args.key?(:logging_config) @properties = args[:properties] if args.key?(:properties) @args = args[:args] if args.key?(:args) @file_uris = args[:file_uris] if args.key?(:file_uris) @python_file_uris = args[:python_file_uris] if args.key?(:python_file_uris) @main_python_file_uri = args[:main_python_file_uri] if args.key?(:main_python_file_uri) @archive_uris = args[:archive_uris] if args.key?(:archive_uris) + @jar_file_uris = args[:jar_file_uris] if args.key?(:jar_file_uris) + @logging_config = args[:logging_config] if args.key?(:logging_config) end end @@ -1479,13 +1527,6 @@ module Google class GceClusterConfig include Google::Apis::Core::Hashable - # The Google Compute Engine metadata entries to add to all instances (see - # Project and instance metadata (https://cloud.google.com/compute/docs/storing- - # retrieving-metadata#project_and_instance_metadata)). - # Corresponds to the JSON property `metadata` - # @return [Hash] - attr_accessor :metadata - # Optional If true, all instances in the cluster will only have internal IP # addresses. By default, clusters are not restricted to internal IP addresses, # and will have ephemeral external IP addresses assigned to each instance. This @@ -1497,6 +1538,13 @@ module Google attr_accessor :internal_ip_only alias_method :internal_ip_only?, :internal_ip_only + # The Google Compute Engine metadata entries to add to all instances (see + # Project and instance metadata (https://cloud.google.com/compute/docs/storing- + # retrieving-metadata#project_and_instance_metadata)). + # Corresponds to the JSON property `metadata` + # @return [Hash] + attr_accessor :metadata + # Optional The URIs of service account scopes to be included in Google Compute # Engine instances. The following base set of scopes is always included: # https://www.googleapis.com/auth/cloud.useraccounts.readonly @@ -1557,8 +1605,8 @@ module Google # Update properties of this object def update!(**args) - @metadata = args[:metadata] if args.key?(:metadata) @internal_ip_only = args[:internal_ip_only] if args.key?(:internal_ip_only) + @metadata = args[:metadata] if args.key?(:metadata) @service_account_scopes = args[:service_account_scopes] if args.key?(:service_account_scopes) @tags = args[:tags] if args.key?(:tags) @service_account = args[:service_account] if args.key?(:service_account) @@ -1574,24 +1622,24 @@ module Google class ClusterMetrics include Google::Apis::Core::Hashable - # The HDFS metrics. - # Corresponds to the JSON property `hdfsMetrics` - # @return [Hash] - attr_accessor :hdfs_metrics - # The YARN metrics. # Corresponds to the JSON property `yarnMetrics` - # @return [Hash] + # @return [Hash] attr_accessor :yarn_metrics + # The HDFS metrics. + # Corresponds to the JSON property `hdfsMetrics` + # @return [Hash] + attr_accessor :hdfs_metrics + def initialize(**args) update!(**args) end # Update properties of this object def update!(**args) - @hdfs_metrics = args[:hdfs_metrics] if args.key?(:hdfs_metrics) @yarn_metrics = args[:yarn_metrics] if args.key?(:yarn_metrics) + @hdfs_metrics = args[:hdfs_metrics] if args.key?(:hdfs_metrics) end end @@ -1669,6 +1717,31 @@ module Google class Operation include Google::Apis::Core::Hashable + # If the value is false, it means the operation is still in progress. If true, + # the operation is completed, and either error or response is available. + # Corresponds to the JSON property `done` + # @return [Boolean] + attr_accessor :done + alias_method :done?, :done + + # The normal response of the operation in case of success. If the original + # method returns no data on success, such as Delete, the response is google. + # protobuf.Empty. If the original method is standard Get/Create/Update, the + # response should be the resource. For other methods, the response should have + # the type XxxResponse, where Xxx is the original method name. For example, if + # the original method name is TakeSnapshot(), the inferred response type is + # TakeSnapshotResponse. + # Corresponds to the JSON property `response` + # @return [Hash] + attr_accessor :response + + # The server-assigned name, which is only unique within the same service that + # originally returns it. If you use the default HTTP mapping, the name should + # have the format of operations/some/unique/name. + # Corresponds to the JSON property `name` + # @return [String] + attr_accessor :name + # The Status type defines a logical error model that is suitable for different # programming environments, including REST APIs and RPC APIs. It is used by gRPC # (https://github.com/grpc). The error model is designed to be: @@ -1715,42 +1788,17 @@ module Google # @return [Hash] attr_accessor :metadata - # If the value is false, it means the operation is still in progress. If true, - # the operation is completed, and either error or response is available. - # Corresponds to the JSON property `done` - # @return [Boolean] - attr_accessor :done - alias_method :done?, :done - - # The normal response of the operation in case of success. If the original - # method returns no data on success, such as Delete, the response is google. - # protobuf.Empty. If the original method is standard Get/Create/Update, the - # response should be the resource. For other methods, the response should have - # the type XxxResponse, where Xxx is the original method name. For example, if - # the original method name is TakeSnapshot(), the inferred response type is - # TakeSnapshotResponse. - # Corresponds to the JSON property `response` - # @return [Hash] - attr_accessor :response - - # The server-assigned name, which is only unique within the same service that - # originally returns it. If you use the default HTTP mapping, the name should - # have the format of operations/some/unique/name. - # Corresponds to the JSON property `name` - # @return [String] - attr_accessor :name - def initialize(**args) update!(**args) end # Update properties of this object def update!(**args) - @error = args[:error] if args.key?(:error) - @metadata = args[:metadata] if args.key?(:metadata) @done = args[:done] if args.key?(:done) @response = args[:response] if args.key?(:response) @name = args[:name] if args.key?(:name) + @error = args[:error] if args.key?(:error) + @metadata = args[:metadata] if args.key?(:metadata) end end @@ -1758,16 +1806,6 @@ module Google class OperationStatus include Google::Apis::Core::Hashable - # A message containing the detailed operation state. - # Corresponds to the JSON property `innerState` - # @return [String] - attr_accessor :inner_state - - # The time this state was entered. - # Corresponds to the JSON property `stateStartTime` - # @return [String] - attr_accessor :state_start_time - # A message containing the operation state. # Corresponds to the JSON property `state` # @return [String] @@ -1778,64 +1816,26 @@ module Google # @return [String] attr_accessor :details + # A message containing the detailed operation state. + # Corresponds to the JSON property `innerState` + # @return [String] + attr_accessor :inner_state + + # The time this state was entered. + # Corresponds to the JSON property `stateStartTime` + # @return [String] + attr_accessor :state_start_time + def initialize(**args) update!(**args) end # Update properties of this object def update!(**args) - @inner_state = args[:inner_state] if args.key?(:inner_state) - @state_start_time = args[:state_start_time] if args.key?(:state_start_time) @state = args[:state] if args.key?(:state) @details = args[:details] if args.key?(:details) - end - end - - # Encapsulates the full scoping used to reference a job. - class JobReference - include Google::Apis::Core::Hashable - - # Required The ID of the Google Cloud Platform project that the job belongs to. - # Corresponds to the JSON property `projectId` - # @return [String] - attr_accessor :project_id - - # Optional The job ID, which must be unique within the project. The job ID is - # generated by the server upon job submission or provided by the user as a means - # to perform retries without creating duplicate jobs. The ID must contain only - # letters (a-z, A-Z), numbers (0-9), underscores (_), or hyphens (-). The - # maximum length is 100 characters. - # Corresponds to the JSON property `jobId` - # @return [String] - attr_accessor :job_id - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @project_id = args[:project_id] if args.key?(:project_id) - @job_id = args[:job_id] if args.key?(:job_id) - end - end - - # A request to submit a job. - class SubmitJobRequest - include Google::Apis::Core::Hashable - - # A Cloud Dataproc job resource. - # Corresponds to the JSON property `job` - # @return [Google::Apis::DataprocV1::Job] - attr_accessor :job - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @job = args[:job] if args.key?(:job) + @inner_state = args[:inner_state] if args.key?(:inner_state) + @state_start_time = args[:state_start_time] if args.key?(:state_start_time) end end end diff --git a/generated/google/apis/dataproc_v1/representations.rb b/generated/google/apis/dataproc_v1/representations.rb index a9d9e6ad4..82036b071 100644 --- a/generated/google/apis/dataproc_v1/representations.rb +++ b/generated/google/apis/dataproc_v1/representations.rb @@ -22,6 +22,18 @@ module Google module Apis module DataprocV1 + class JobReference + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class SubmitJobRequest + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + class Status class Representation < Google::Apis::Core::JsonRepresentation; end @@ -82,13 +94,13 @@ module Google include Google::Apis::Core::JsonObjectSupport end - class SoftwareConfig + class JobPlacement class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end - class JobPlacement + class SoftwareConfig class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport @@ -142,6 +154,12 @@ module Google include Google::Apis::Core::JsonObjectSupport end + class HadoopJob + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + class QueryList class Representation < Google::Apis::Core::JsonRepresentation; end @@ -154,12 +172,6 @@ module Google include Google::Apis::Core::JsonObjectSupport end - class HadoopJob - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - class DiagnoseClusterRequest class Representation < Google::Apis::Core::JsonRepresentation; end @@ -251,15 +263,19 @@ module Google end class JobReference - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :project_id, as: 'projectId' + property :job_id, as: 'jobId' + end end class SubmitJobRequest - class Representation < Google::Apis::Core::JsonRepresentation; end + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :job, as: 'job', class: Google::Apis::DataprocV1::Job, decorator: Google::Apis::DataprocV1::Job::Representation - include Google::Apis::Core::JsonObjectSupport + end end class Status @@ -274,17 +290,17 @@ module Google class InstanceGroupConfig # @private class Representation < Google::Apis::Core::JsonRepresentation + collection :instance_names, as: 'instanceNames' collection :accelerators, as: 'accelerators', class: Google::Apis::DataprocV1::AcceleratorConfig, decorator: Google::Apis::DataprocV1::AcceleratorConfig::Representation property :num_instances, as: 'numInstances' property :disk_config, as: 'diskConfig', class: Google::Apis::DataprocV1::DiskConfig, decorator: Google::Apis::DataprocV1::DiskConfig::Representation property :is_preemptible, as: 'isPreemptible' - property :managed_group_config, as: 'managedGroupConfig', class: Google::Apis::DataprocV1::ManagedGroupConfig, decorator: Google::Apis::DataprocV1::ManagedGroupConfig::Representation - property :machine_type_uri, as: 'machineTypeUri' property :image_uri, as: 'imageUri' - collection :instance_names, as: 'instanceNames' + property :managed_group_config, as: 'managedGroupConfig', class: Google::Apis::DataprocV1::ManagedGroupConfig, decorator: Google::Apis::DataprocV1::ManagedGroupConfig::Representation + end end @@ -321,9 +337,9 @@ module Google class SparkSqlJob # @private class Representation < Google::Apis::Core::JsonRepresentation - property :query_file_uri, as: 'queryFileUri' property :query_list, as: 'queryList', class: Google::Apis::DataprocV1::QueryList, decorator: Google::Apis::DataprocV1::QueryList::Representation + property :query_file_uri, as: 'queryFileUri' hash :script_variables, as: 'scriptVariables' collection :jar_file_uris, as: 'jarFileUris' property :logging_config, as: 'loggingConfig', class: Google::Apis::DataprocV1::LoggingConfig, decorator: Google::Apis::DataprocV1::LoggingConfig::Representation @@ -353,9 +369,9 @@ module Google class ListOperationsResponse # @private class Representation < Google::Apis::Core::JsonRepresentation + property :next_page_token, as: 'nextPageToken' collection :operations, as: 'operations', class: Google::Apis::DataprocV1::Operation, decorator: Google::Apis::DataprocV1::Operation::Representation - property :next_page_token, as: 'nextPageToken' end end @@ -380,14 +396,6 @@ module Google end end - class SoftwareConfig - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :image_version, as: 'imageVersion' - hash :properties, as: 'properties' - end - end - class JobPlacement # @private class Representation < Google::Apis::Core::JsonRepresentation @@ -396,28 +404,36 @@ module Google end end + class SoftwareConfig + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :image_version, as: 'imageVersion' + hash :properties, as: 'properties' + end + end + class PigJob # @private class Representation < Google::Apis::Core::JsonRepresentation - property :continue_on_failure, as: 'continueOnFailure' - property :query_list, as: 'queryList', class: Google::Apis::DataprocV1::QueryList, decorator: Google::Apis::DataprocV1::QueryList::Representation - - property :query_file_uri, as: 'queryFileUri' collection :jar_file_uris, as: 'jarFileUris' hash :script_variables, as: 'scriptVariables' property :logging_config, as: 'loggingConfig', class: Google::Apis::DataprocV1::LoggingConfig, decorator: Google::Apis::DataprocV1::LoggingConfig::Representation hash :properties, as: 'properties' + property :continue_on_failure, as: 'continueOnFailure' + property :query_list, as: 'queryList', class: Google::Apis::DataprocV1::QueryList, decorator: Google::Apis::DataprocV1::QueryList::Representation + + property :query_file_uri, as: 'queryFileUri' end end class ClusterStatus # @private class Representation < Google::Apis::Core::JsonRepresentation + property :state, as: 'state' property :state_start_time, as: 'stateStartTime' property :substate, as: 'substate' property :detail, as: 'detail' - property :state, as: 'state' end end @@ -433,21 +449,36 @@ module Google class SparkJob # @private class Representation < Google::Apis::Core::JsonRepresentation - property :main_class, as: 'mainClass' - collection :archive_uris, as: 'archiveUris' - property :main_jar_file_uri, as: 'mainJarFileUri' collection :jar_file_uris, as: 'jarFileUris' property :logging_config, as: 'loggingConfig', class: Google::Apis::DataprocV1::LoggingConfig, decorator: Google::Apis::DataprocV1::LoggingConfig::Representation hash :properties, as: 'properties' collection :args, as: 'args' collection :file_uris, as: 'fileUris' + property :main_class, as: 'mainClass' + collection :archive_uris, as: 'archiveUris' + property :main_jar_file_uri, as: 'mainJarFileUri' end end class Job # @private class Representation < Google::Apis::Core::JsonRepresentation + property :driver_control_files_uri, as: 'driverControlFilesUri' + property :scheduling, as: 'scheduling', class: Google::Apis::DataprocV1::JobScheduling, decorator: Google::Apis::DataprocV1::JobScheduling::Representation + + property :pig_job, as: 'pigJob', class: Google::Apis::DataprocV1::PigJob, decorator: Google::Apis::DataprocV1::PigJob::Representation + + property :hive_job, as: 'hiveJob', class: Google::Apis::DataprocV1::HiveJob, decorator: Google::Apis::DataprocV1::HiveJob::Representation + + hash :labels, as: 'labels' + property :driver_output_resource_uri, as: 'driverOutputResourceUri' + collection :status_history, as: 'statusHistory', class: Google::Apis::DataprocV1::JobStatus, decorator: Google::Apis::DataprocV1::JobStatus::Representation + + property :spark_sql_job, as: 'sparkSqlJob', class: Google::Apis::DataprocV1::SparkSqlJob, decorator: Google::Apis::DataprocV1::SparkSqlJob::Representation + + property :spark_job, as: 'sparkJob', class: Google::Apis::DataprocV1::SparkJob, decorator: Google::Apis::DataprocV1::SparkJob::Representation + collection :yarn_applications, as: 'yarnApplications', class: Google::Apis::DataprocV1::YarnApplication, decorator: Google::Apis::DataprocV1::YarnApplication::Representation property :pyspark_job, as: 'pysparkJob', class: Google::Apis::DataprocV1::PySparkJob, decorator: Google::Apis::DataprocV1::PySparkJob::Representation @@ -460,31 +491,16 @@ module Google property :placement, as: 'placement', class: Google::Apis::DataprocV1::JobPlacement, decorator: Google::Apis::DataprocV1::JobPlacement::Representation - property :driver_control_files_uri, as: 'driverControlFilesUri' - property :scheduling, as: 'scheduling', class: Google::Apis::DataprocV1::JobScheduling, decorator: Google::Apis::DataprocV1::JobScheduling::Representation - - property :pig_job, as: 'pigJob', class: Google::Apis::DataprocV1::PigJob, decorator: Google::Apis::DataprocV1::PigJob::Representation - - property :hive_job, as: 'hiveJob', class: Google::Apis::DataprocV1::HiveJob, decorator: Google::Apis::DataprocV1::HiveJob::Representation - - hash :labels, as: 'labels' - property :driver_output_resource_uri, as: 'driverOutputResourceUri' - collection :status_history, as: 'statusHistory', class: Google::Apis::DataprocV1::JobStatus, decorator: Google::Apis::DataprocV1::JobStatus::Representation - - property :spark_job, as: 'sparkJob', class: Google::Apis::DataprocV1::SparkJob, decorator: Google::Apis::DataprocV1::SparkJob::Representation - - property :spark_sql_job, as: 'sparkSqlJob', class: Google::Apis::DataprocV1::SparkSqlJob, decorator: Google::Apis::DataprocV1::SparkSqlJob::Representation - end end class JobStatus # @private class Representation < Google::Apis::Core::JsonRepresentation - property :state, as: 'state' - property :details, as: 'details' property :state_start_time, as: 'stateStartTime' property :substate, as: 'substate' + property :state, as: 'state' + property :details, as: 'details' end end @@ -506,6 +522,21 @@ module Google end end + class HadoopJob + # @private + class Representation < Google::Apis::Core::JsonRepresentation + hash :properties, as: 'properties' + collection :args, as: 'args' + collection :file_uris, as: 'fileUris' + property :main_class, as: 'mainClass' + collection :archive_uris, as: 'archiveUris' + property :main_jar_file_uri, as: 'mainJarFileUri' + collection :jar_file_uris, as: 'jarFileUris' + property :logging_config, as: 'loggingConfig', class: Google::Apis::DataprocV1::LoggingConfig, decorator: Google::Apis::DataprocV1::LoggingConfig::Representation + + end + end + class QueryList # @private class Representation < Google::Apis::Core::JsonRepresentation @@ -523,21 +554,6 @@ module Google end end - class HadoopJob - # @private - class Representation < Google::Apis::Core::JsonRepresentation - collection :jar_file_uris, as: 'jarFileUris' - property :logging_config, as: 'loggingConfig', class: Google::Apis::DataprocV1::LoggingConfig, decorator: Google::Apis::DataprocV1::LoggingConfig::Representation - - hash :properties, as: 'properties' - collection :args, as: 'args' - collection :file_uris, as: 'fileUris' - property :main_class, as: 'mainClass' - collection :archive_uris, as: 'archiveUris' - property :main_jar_file_uri, as: 'mainJarFileUri' - end - end - class DiagnoseClusterRequest # @private class Representation < Google::Apis::Core::JsonRepresentation @@ -547,14 +563,15 @@ module Google class DiskConfig # @private class Representation < Google::Apis::Core::JsonRepresentation - property :num_local_ssds, as: 'numLocalSsds' property :boot_disk_size_gb, as: 'bootDiskSizeGb' + property :num_local_ssds, as: 'numLocalSsds' end end class ClusterOperationMetadata # @private class Representation < Google::Apis::Core::JsonRepresentation + collection :warnings, as: 'warnings' hash :labels, as: 'labels' property :status, as: 'status', class: Google::Apis::DataprocV1::ClusterOperationStatus, decorator: Google::Apis::DataprocV1::ClusterOperationStatus::Representation @@ -564,7 +581,6 @@ module Google property :cluster_uuid, as: 'clusterUuid' property :operation_type, as: 'operationType' property :description, as: 'description' - collection :warnings, as: 'warnings' end end @@ -578,9 +594,9 @@ module Google # @private class Representation < Google::Apis::Core::JsonRepresentation property :continue_on_failure, as: 'continueOnFailure' + property :query_file_uri, as: 'queryFileUri' property :query_list, as: 'queryList', class: Google::Apis::DataprocV1::QueryList, decorator: Google::Apis::DataprocV1::QueryList::Representation - property :query_file_uri, as: 'queryFileUri' collection :jar_file_uris, as: 'jarFileUris' hash :script_variables, as: 'scriptVariables' hash :properties, as: 'properties' @@ -597,9 +613,6 @@ module Google class ClusterConfig # @private class Representation < Google::Apis::Core::JsonRepresentation - collection :initialization_actions, as: 'initializationActions', class: Google::Apis::DataprocV1::NodeInitializationAction, decorator: Google::Apis::DataprocV1::NodeInitializationAction::Representation - - property :config_bucket, as: 'configBucket' property :worker_config, as: 'workerConfig', class: Google::Apis::DataprocV1::InstanceGroupConfig, decorator: Google::Apis::DataprocV1::InstanceGroupConfig::Representation property :gce_cluster_config, as: 'gceClusterConfig', class: Google::Apis::DataprocV1::GceClusterConfig, decorator: Google::Apis::DataprocV1::GceClusterConfig::Representation @@ -610,29 +623,32 @@ module Google property :secondary_worker_config, as: 'secondaryWorkerConfig', class: Google::Apis::DataprocV1::InstanceGroupConfig, decorator: Google::Apis::DataprocV1::InstanceGroupConfig::Representation + collection :initialization_actions, as: 'initializationActions', class: Google::Apis::DataprocV1::NodeInitializationAction, decorator: Google::Apis::DataprocV1::NodeInitializationAction::Representation + + property :config_bucket, as: 'configBucket' end end class PySparkJob # @private class Representation < Google::Apis::Core::JsonRepresentation - collection :jar_file_uris, as: 'jarFileUris' - property :logging_config, as: 'loggingConfig', class: Google::Apis::DataprocV1::LoggingConfig, decorator: Google::Apis::DataprocV1::LoggingConfig::Representation - hash :properties, as: 'properties' collection :args, as: 'args' collection :file_uris, as: 'fileUris' collection :python_file_uris, as: 'pythonFileUris' property :main_python_file_uri, as: 'mainPythonFileUri' collection :archive_uris, as: 'archiveUris' + collection :jar_file_uris, as: 'jarFileUris' + property :logging_config, as: 'loggingConfig', class: Google::Apis::DataprocV1::LoggingConfig, decorator: Google::Apis::DataprocV1::LoggingConfig::Representation + end end class GceClusterConfig # @private class Representation < Google::Apis::Core::JsonRepresentation - hash :metadata, as: 'metadata' property :internal_ip_only, as: 'internalIpOnly' + hash :metadata, as: 'metadata' collection :service_account_scopes, as: 'serviceAccountScopes' collection :tags, as: 'tags' property :service_account, as: 'serviceAccount' @@ -645,8 +661,8 @@ module Google class ClusterMetrics # @private class Representation < Google::Apis::Core::JsonRepresentation - hash :hdfs_metrics, as: 'hdfsMetrics' hash :yarn_metrics, as: 'yarnMetrics' + hash :hdfs_metrics, as: 'hdfsMetrics' end end @@ -675,38 +691,22 @@ module Google class Operation # @private class Representation < Google::Apis::Core::JsonRepresentation - property :error, as: 'error', class: Google::Apis::DataprocV1::Status, decorator: Google::Apis::DataprocV1::Status::Representation - - hash :metadata, as: 'metadata' property :done, as: 'done' hash :response, as: 'response' property :name, as: 'name' + property :error, as: 'error', class: Google::Apis::DataprocV1::Status, decorator: Google::Apis::DataprocV1::Status::Representation + + hash :metadata, as: 'metadata' end end class OperationStatus # @private class Representation < Google::Apis::Core::JsonRepresentation - property :inner_state, as: 'innerState' - property :state_start_time, as: 'stateStartTime' property :state, as: 'state' property :details, as: 'details' - end - end - - class JobReference - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :project_id, as: 'projectId' - property :job_id, as: 'jobId' - end - end - - class SubmitJobRequest - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :job, as: 'job', class: Google::Apis::DataprocV1::Job, decorator: Google::Apis::DataprocV1::Job::Representation - + property :inner_state, as: 'innerState' + property :state_start_time, as: 'stateStartTime' end end end diff --git a/generated/google/apis/dataproc_v1/service.rb b/generated/google/apis/dataproc_v1/service.rb index 013e6b472..81ba854cd 100644 --- a/generated/google/apis/dataproc_v1/service.rb +++ b/generated/google/apis/dataproc_v1/service.rb @@ -32,141 +32,34 @@ module Google # # @see https://cloud.google.com/dataproc/ class DataprocService < Google::Apis::Core::BaseService - # @return [String] - # Available to use for quota purposes for server-side applications. Can be any - # arbitrary string assigned to a user, but should not exceed 40 characters. - attr_accessor :quota_user - # @return [String] # API key. Your API key identifies your project and provides you with API access, # quota, and reports. Required unless you provide an OAuth 2.0 token. attr_accessor :key + # @return [String] + # Available to use for quota purposes for server-side applications. Can be any + # arbitrary string assigned to a user, but should not exceed 40 characters. + attr_accessor :quota_user + def initialize super('https://dataproc.googleapis.com/', '') + @batch_path = 'batch' end - # Starts asynchronous cancellation on a long-running operation. The server makes - # a best effort to cancel the operation, but success is not guaranteed. If the - # server doesn't support this method, it returns google.rpc.Code.UNIMPLEMENTED. - # Clients can use Operations.GetOperation or other methods to check whether the - # cancellation succeeded or whether the operation completed despite cancellation. - # On successful cancellation, the operation is not deleted; instead, it becomes - # an operation with an Operation.error value with a google.rpc.Status.code of 1, - # corresponding to Code.CANCELLED. - # @param [String] name - # The name of the operation resource to be cancelled. + # Deletes a cluster in a project. + # @param [String] project_id + # Required The ID of the Google Cloud Platform project that the cluster belongs + # to. + # @param [String] region + # Required The Cloud Dataproc region in which to handle the request. + # @param [String] cluster_name + # Required The cluster name. + # @param [String] fields + # Selector specifying which fields to include in a partial response. # @param [String] quota_user # Available to use for quota purposes for server-side applications. Can be any # arbitrary string assigned to a user, but should not exceed 40 characters. - # @param [String] fields - # Selector specifying which fields to include in a partial response. - # @param [Google::Apis::RequestOptions] options - # Request-specific options - # - # @yield [result, err] Result & error if block supplied - # @yieldparam result [Google::Apis::DataprocV1::Empty] parsed result object - # @yieldparam err [StandardError] error object if request failed - # - # @return [Google::Apis::DataprocV1::Empty] - # - # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried - # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification - # @raise [Google::Apis::AuthorizationError] Authorization is required - def cancel_operation(name, quota_user: nil, fields: nil, options: nil, &block) - command = make_simple_command(:post, 'v1/{+name}:cancel', options) - command.response_representation = Google::Apis::DataprocV1::Empty::Representation - command.response_class = Google::Apis::DataprocV1::Empty - command.params['name'] = name unless name.nil? - command.query['quotaUser'] = quota_user unless quota_user.nil? - command.query['fields'] = fields unless fields.nil? - execute_or_queue_command(command, &block) - end - - # Deletes a long-running operation. This method indicates that the client is no - # longer interested in the operation result. It does not cancel the operation. - # If the server doesn't support this method, it returns google.rpc.Code. - # UNIMPLEMENTED. - # @param [String] name - # The name of the operation resource to be deleted. - # @param [String] quota_user - # Available to use for quota purposes for server-side applications. Can be any - # arbitrary string assigned to a user, but should not exceed 40 characters. - # @param [String] fields - # Selector specifying which fields to include in a partial response. - # @param [Google::Apis::RequestOptions] options - # Request-specific options - # - # @yield [result, err] Result & error if block supplied - # @yieldparam result [Google::Apis::DataprocV1::Empty] parsed result object - # @yieldparam err [StandardError] error object if request failed - # - # @return [Google::Apis::DataprocV1::Empty] - # - # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried - # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification - # @raise [Google::Apis::AuthorizationError] Authorization is required - def delete_operation(name, quota_user: nil, fields: nil, options: nil, &block) - command = make_simple_command(:delete, 'v1/{+name}', options) - command.response_representation = Google::Apis::DataprocV1::Empty::Representation - command.response_class = Google::Apis::DataprocV1::Empty - command.params['name'] = name unless name.nil? - command.query['quotaUser'] = quota_user unless quota_user.nil? - command.query['fields'] = fields unless fields.nil? - execute_or_queue_command(command, &block) - end - - # Lists operations that match the specified filter in the request. If the server - # doesn't support this method, it returns UNIMPLEMENTED.NOTE: the name binding - # below allows API services to override the binding to use different resource - # name schemes, such as users/*/operations. - # @param [String] name - # The name of the operation collection. - # @param [Fixnum] page_size - # The standard list page size. - # @param [String] filter - # The standard list filter. - # @param [String] page_token - # The standard list page token. - # @param [String] quota_user - # Available to use for quota purposes for server-side applications. Can be any - # arbitrary string assigned to a user, but should not exceed 40 characters. - # @param [String] fields - # Selector specifying which fields to include in a partial response. - # @param [Google::Apis::RequestOptions] options - # Request-specific options - # - # @yield [result, err] Result & error if block supplied - # @yieldparam result [Google::Apis::DataprocV1::ListOperationsResponse] parsed result object - # @yieldparam err [StandardError] error object if request failed - # - # @return [Google::Apis::DataprocV1::ListOperationsResponse] - # - # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried - # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification - # @raise [Google::Apis::AuthorizationError] Authorization is required - def list_operations(name, page_size: nil, filter: nil, page_token: nil, quota_user: nil, fields: nil, options: nil, &block) - command = make_simple_command(:get, 'v1/{+name}', options) - command.response_representation = Google::Apis::DataprocV1::ListOperationsResponse::Representation - command.response_class = Google::Apis::DataprocV1::ListOperationsResponse - command.params['name'] = name unless name.nil? - command.query['pageSize'] = page_size unless page_size.nil? - command.query['filter'] = filter unless filter.nil? - command.query['pageToken'] = page_token unless page_token.nil? - command.query['quotaUser'] = quota_user unless quota_user.nil? - command.query['fields'] = fields unless fields.nil? - execute_or_queue_command(command, &block) - end - - # Gets the latest state of a long-running operation. Clients can use this method - # to poll the operation result at intervals as recommended by the API service. - # @param [String] name - # The name of the operation resource. - # @param [String] quota_user - # Available to use for quota purposes for server-side applications. Can be any - # arbitrary string assigned to a user, but should not exceed 40 characters. - # @param [String] fields - # Selector specifying which fields to include in a partial response. # @param [Google::Apis::RequestOptions] options # Request-specific options # @@ -179,265 +72,56 @@ module Google # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required - def get_operation(name, quota_user: nil, fields: nil, options: nil, &block) - command = make_simple_command(:get, 'v1/{+name}', options) + def delete_cluster(project_id, region, cluster_name, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:delete, 'v1/projects/{projectId}/regions/{region}/clusters/{clusterName}', options) command.response_representation = Google::Apis::DataprocV1::Operation::Representation command.response_class = Google::Apis::DataprocV1::Operation - command.params['name'] = name unless name.nil? - command.query['quotaUser'] = quota_user unless quota_user.nil? - command.query['fields'] = fields unless fields.nil? - execute_or_queue_command(command, &block) - end - - # Starts a job cancellation request. To access the job resource after - # cancellation, call regions/`region`/jobs.list or regions/`region`/jobs.get. - # @param [String] project_id - # Required The ID of the Google Cloud Platform project that the job belongs to. - # @param [String] region - # Required The Cloud Dataproc region in which to handle the request. - # @param [String] job_id - # Required The job ID. - # @param [Google::Apis::DataprocV1::CancelJobRequest] cancel_job_request_object - # @param [String] quota_user - # Available to use for quota purposes for server-side applications. Can be any - # arbitrary string assigned to a user, but should not exceed 40 characters. - # @param [String] fields - # Selector specifying which fields to include in a partial response. - # @param [Google::Apis::RequestOptions] options - # Request-specific options - # - # @yield [result, err] Result & error if block supplied - # @yieldparam result [Google::Apis::DataprocV1::Job] parsed result object - # @yieldparam err [StandardError] error object if request failed - # - # @return [Google::Apis::DataprocV1::Job] - # - # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried - # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification - # @raise [Google::Apis::AuthorizationError] Authorization is required - def cancel_job(project_id, region, job_id, cancel_job_request_object = nil, quota_user: nil, fields: nil, options: nil, &block) - command = make_simple_command(:post, 'v1/projects/{projectId}/regions/{region}/jobs/{jobId}:cancel', options) - command.request_representation = Google::Apis::DataprocV1::CancelJobRequest::Representation - command.request_object = cancel_job_request_object - command.response_representation = Google::Apis::DataprocV1::Job::Representation - command.response_class = Google::Apis::DataprocV1::Job command.params['projectId'] = project_id unless project_id.nil? command.params['region'] = region unless region.nil? - command.params['jobId'] = job_id unless job_id.nil? - command.query['quotaUser'] = quota_user unless quota_user.nil? + command.params['clusterName'] = cluster_name unless cluster_name.nil? command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end - # Gets the resource representation for a job in a project. + # Gets cluster diagnostic information. After the operation completes, the + # Operation.response field contains DiagnoseClusterOutputLocation. # @param [String] project_id - # Required The ID of the Google Cloud Platform project that the job belongs to. + # Required The ID of the Google Cloud Platform project that the cluster belongs + # to. # @param [String] region # Required The Cloud Dataproc region in which to handle the request. - # @param [String] job_id - # Required The job ID. - # @param [String] quota_user - # Available to use for quota purposes for server-side applications. Can be any - # arbitrary string assigned to a user, but should not exceed 40 characters. - # @param [String] fields - # Selector specifying which fields to include in a partial response. - # @param [Google::Apis::RequestOptions] options - # Request-specific options - # - # @yield [result, err] Result & error if block supplied - # @yieldparam result [Google::Apis::DataprocV1::Job] parsed result object - # @yieldparam err [StandardError] error object if request failed - # - # @return [Google::Apis::DataprocV1::Job] - # - # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried - # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification - # @raise [Google::Apis::AuthorizationError] Authorization is required - def get_job(project_id, region, job_id, quota_user: nil, fields: nil, options: nil, &block) - command = make_simple_command(:get, 'v1/projects/{projectId}/regions/{region}/jobs/{jobId}', options) - command.response_representation = Google::Apis::DataprocV1::Job::Representation - command.response_class = Google::Apis::DataprocV1::Job - command.params['projectId'] = project_id unless project_id.nil? - command.params['region'] = region unless region.nil? - command.params['jobId'] = job_id unless job_id.nil? - command.query['quotaUser'] = quota_user unless quota_user.nil? - command.query['fields'] = fields unless fields.nil? - execute_or_queue_command(command, &block) - end - - # Updates a job in a project. - # @param [String] project_id - # Required The ID of the Google Cloud Platform project that the job belongs to. - # @param [String] region - # Required The Cloud Dataproc region in which to handle the request. - # @param [String] job_id - # Required The job ID. - # @param [Google::Apis::DataprocV1::Job] job_object - # @param [String] update_mask - # Required Specifies the path, relative to Job, of the field to - # update. For example, to update the labels of a Job the update_mask - # parameter would be specified as labels, and the PATCH request - # body would specify the new value. Note: Currently, - # labels is the only field that can be updated. - # @param [String] quota_user - # Available to use for quota purposes for server-side applications. Can be any - # arbitrary string assigned to a user, but should not exceed 40 characters. - # @param [String] fields - # Selector specifying which fields to include in a partial response. - # @param [Google::Apis::RequestOptions] options - # Request-specific options - # - # @yield [result, err] Result & error if block supplied - # @yieldparam result [Google::Apis::DataprocV1::Job] parsed result object - # @yieldparam err [StandardError] error object if request failed - # - # @return [Google::Apis::DataprocV1::Job] - # - # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried - # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification - # @raise [Google::Apis::AuthorizationError] Authorization is required - def patch_project_region_job(project_id, region, job_id, job_object = nil, update_mask: nil, quota_user: nil, fields: nil, options: nil, &block) - command = make_simple_command(:patch, 'v1/projects/{projectId}/regions/{region}/jobs/{jobId}', options) - command.request_representation = Google::Apis::DataprocV1::Job::Representation - command.request_object = job_object - command.response_representation = Google::Apis::DataprocV1::Job::Representation - command.response_class = Google::Apis::DataprocV1::Job - command.params['projectId'] = project_id unless project_id.nil? - command.params['region'] = region unless region.nil? - command.params['jobId'] = job_id unless job_id.nil? - command.query['updateMask'] = update_mask unless update_mask.nil? - command.query['quotaUser'] = quota_user unless quota_user.nil? - command.query['fields'] = fields unless fields.nil? - execute_or_queue_command(command, &block) - end - - # Submits a job to a cluster. - # @param [String] project_id - # Required The ID of the Google Cloud Platform project that the job belongs to. - # @param [String] region - # Required The Cloud Dataproc region in which to handle the request. - # @param [Google::Apis::DataprocV1::SubmitJobRequest] submit_job_request_object - # @param [String] quota_user - # Available to use for quota purposes for server-side applications. Can be any - # arbitrary string assigned to a user, but should not exceed 40 characters. - # @param [String] fields - # Selector specifying which fields to include in a partial response. - # @param [Google::Apis::RequestOptions] options - # Request-specific options - # - # @yield [result, err] Result & error if block supplied - # @yieldparam result [Google::Apis::DataprocV1::Job] parsed result object - # @yieldparam err [StandardError] error object if request failed - # - # @return [Google::Apis::DataprocV1::Job] - # - # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried - # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification - # @raise [Google::Apis::AuthorizationError] Authorization is required - def submit_job(project_id, region, submit_job_request_object = nil, quota_user: nil, fields: nil, options: nil, &block) - command = make_simple_command(:post, 'v1/projects/{projectId}/regions/{region}/jobs:submit', options) - command.request_representation = Google::Apis::DataprocV1::SubmitJobRequest::Representation - command.request_object = submit_job_request_object - command.response_representation = Google::Apis::DataprocV1::Job::Representation - command.response_class = Google::Apis::DataprocV1::Job - command.params['projectId'] = project_id unless project_id.nil? - command.params['region'] = region unless region.nil? - command.query['quotaUser'] = quota_user unless quota_user.nil? - command.query['fields'] = fields unless fields.nil? - execute_or_queue_command(command, &block) - end - - # Deletes the job from the project. If the job is active, the delete fails, and - # the response returns FAILED_PRECONDITION. - # @param [String] project_id - # Required The ID of the Google Cloud Platform project that the job belongs to. - # @param [String] region - # Required The Cloud Dataproc region in which to handle the request. - # @param [String] job_id - # Required The job ID. - # @param [String] quota_user - # Available to use for quota purposes for server-side applications. Can be any - # arbitrary string assigned to a user, but should not exceed 40 characters. - # @param [String] fields - # Selector specifying which fields to include in a partial response. - # @param [Google::Apis::RequestOptions] options - # Request-specific options - # - # @yield [result, err] Result & error if block supplied - # @yieldparam result [Google::Apis::DataprocV1::Empty] parsed result object - # @yieldparam err [StandardError] error object if request failed - # - # @return [Google::Apis::DataprocV1::Empty] - # - # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried - # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification - # @raise [Google::Apis::AuthorizationError] Authorization is required - def delete_job(project_id, region, job_id, quota_user: nil, fields: nil, options: nil, &block) - command = make_simple_command(:delete, 'v1/projects/{projectId}/regions/{region}/jobs/{jobId}', options) - command.response_representation = Google::Apis::DataprocV1::Empty::Representation - command.response_class = Google::Apis::DataprocV1::Empty - command.params['projectId'] = project_id unless project_id.nil? - command.params['region'] = region unless region.nil? - command.params['jobId'] = job_id unless job_id.nil? - command.query['quotaUser'] = quota_user unless quota_user.nil? - command.query['fields'] = fields unless fields.nil? - execute_or_queue_command(command, &block) - end - - # Lists regions/`region`/jobs in a project. - # @param [String] project_id - # Required The ID of the Google Cloud Platform project that the job belongs to. - # @param [String] region - # Required The Cloud Dataproc region in which to handle the request. - # @param [String] filter - # Optional A filter constraining the jobs to list. Filters are case-sensitive - # and have the following syntax:field = value AND field = value ...where field - # is status.state or labels.[KEY], and [KEY] is a label key. value can be * to - # match all values. status.state can be either ACTIVE or INACTIVE. Only the - # logical AND operator is supported; space-separated items are treated as having - # an implicit AND operator.Example filter:status.state = ACTIVE AND labels.env = - # staging AND labels.starred = * - # @param [String] job_state_matcher - # Optional Specifies enumerated categories of jobs to list (default = match ALL - # jobs). - # @param [String] page_token - # Optional The page token, returned by a previous call, to request the next page - # of results. - # @param [Fixnum] page_size - # Optional The number of results to return in each response. # @param [String] cluster_name - # Optional If set, the returned jobs list includes only jobs that were submitted - # to the named cluster. + # Required The cluster name. + # @param [Google::Apis::DataprocV1::DiagnoseClusterRequest] diagnose_cluster_request_object + # @param [String] fields + # Selector specifying which fields to include in a partial response. # @param [String] quota_user # Available to use for quota purposes for server-side applications. Can be any # arbitrary string assigned to a user, but should not exceed 40 characters. - # @param [String] fields - # Selector specifying which fields to include in a partial response. # @param [Google::Apis::RequestOptions] options # Request-specific options # # @yield [result, err] Result & error if block supplied - # @yieldparam result [Google::Apis::DataprocV1::ListJobsResponse] parsed result object + # @yieldparam result [Google::Apis::DataprocV1::Operation] parsed result object # @yieldparam err [StandardError] error object if request failed # - # @return [Google::Apis::DataprocV1::ListJobsResponse] + # @return [Google::Apis::DataprocV1::Operation] # # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required - def list_jobs(project_id, region, filter: nil, job_state_matcher: nil, page_token: nil, page_size: nil, cluster_name: nil, quota_user: nil, fields: nil, options: nil, &block) - command = make_simple_command(:get, 'v1/projects/{projectId}/regions/{region}/jobs', options) - command.response_representation = Google::Apis::DataprocV1::ListJobsResponse::Representation - command.response_class = Google::Apis::DataprocV1::ListJobsResponse + def diagnose_cluster(project_id, region, cluster_name, diagnose_cluster_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:post, 'v1/projects/{projectId}/regions/{region}/clusters/{clusterName}:diagnose', options) + command.request_representation = Google::Apis::DataprocV1::DiagnoseClusterRequest::Representation + command.request_object = diagnose_cluster_request_object + command.response_representation = Google::Apis::DataprocV1::Operation::Representation + command.response_class = Google::Apis::DataprocV1::Operation command.params['projectId'] = project_id unless project_id.nil? command.params['region'] = region unless region.nil? - command.query['filter'] = filter unless filter.nil? - command.query['jobStateMatcher'] = job_state_matcher unless job_state_matcher.nil? - command.query['pageToken'] = page_token unless page_token.nil? - command.query['pageSize'] = page_size unless page_size.nil? - command.query['clusterName'] = cluster_name unless cluster_name.nil? - command.query['quotaUser'] = quota_user unless quota_user.nil? + command.params['clusterName'] = cluster_name unless cluster_name.nil? command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end @@ -463,11 +147,11 @@ module Google # Optional The standard List page token. # @param [Fixnum] page_size # Optional The standard List page size. + # @param [String] fields + # Selector specifying which fields to include in a partial response. # @param [String] quota_user # Available to use for quota purposes for server-side applications. Can be any # arbitrary string assigned to a user, but should not exceed 40 characters. - # @param [String] fields - # Selector specifying which fields to include in a partial response. # @param [Google::Apis::RequestOptions] options # Request-specific options # @@ -480,7 +164,7 @@ module Google # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required - def list_clusters(project_id, region, filter: nil, page_token: nil, page_size: nil, quota_user: nil, fields: nil, options: nil, &block) + def list_clusters(project_id, region, filter: nil, page_token: nil, page_size: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1/projects/{projectId}/regions/{region}/clusters', options) command.response_representation = Google::Apis::DataprocV1::ListClustersResponse::Representation command.response_class = Google::Apis::DataprocV1::ListClustersResponse @@ -489,8 +173,8 @@ module Google command.query['filter'] = filter unless filter.nil? command.query['pageToken'] = page_token unless page_token.nil? command.query['pageSize'] = page_size unless page_size.nil? - command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end @@ -501,11 +185,11 @@ module Google # @param [String] region # Required The Cloud Dataproc region in which to handle the request. # @param [Google::Apis::DataprocV1::Cluster] cluster_object + # @param [String] fields + # Selector specifying which fields to include in a partial response. # @param [String] quota_user # Available to use for quota purposes for server-side applications. Can be any # arbitrary string assigned to a user, but should not exceed 40 characters. - # @param [String] fields - # Selector specifying which fields to include in a partial response. # @param [Google::Apis::RequestOptions] options # Request-specific options # @@ -518,7 +202,7 @@ module Google # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required - def create_cluster(project_id, region, cluster_object = nil, quota_user: nil, fields: nil, options: nil, &block) + def create_cluster(project_id, region, cluster_object = nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'v1/projects/{projectId}/regions/{region}/clusters', options) command.request_representation = Google::Apis::DataprocV1::Cluster::Representation command.request_object = cluster_object @@ -526,45 +210,8 @@ module Google command.response_class = Google::Apis::DataprocV1::Operation command.params['projectId'] = project_id unless project_id.nil? command.params['region'] = region unless region.nil? - command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['fields'] = fields unless fields.nil? - execute_or_queue_command(command, &block) - end - - # Gets the resource representation for a cluster in a project. - # @param [String] project_id - # Required The ID of the Google Cloud Platform project that the cluster belongs - # to. - # @param [String] region - # Required The Cloud Dataproc region in which to handle the request. - # @param [String] cluster_name - # Required The cluster name. - # @param [String] quota_user - # Available to use for quota purposes for server-side applications. Can be any - # arbitrary string assigned to a user, but should not exceed 40 characters. - # @param [String] fields - # Selector specifying which fields to include in a partial response. - # @param [Google::Apis::RequestOptions] options - # Request-specific options - # - # @yield [result, err] Result & error if block supplied - # @yieldparam result [Google::Apis::DataprocV1::Cluster] parsed result object - # @yieldparam err [StandardError] error object if request failed - # - # @return [Google::Apis::DataprocV1::Cluster] - # - # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried - # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification - # @raise [Google::Apis::AuthorizationError] Authorization is required - def get_cluster(project_id, region, cluster_name, quota_user: nil, fields: nil, options: nil, &block) - command = make_simple_command(:get, 'v1/projects/{projectId}/regions/{region}/clusters/{clusterName}', options) - command.response_representation = Google::Apis::DataprocV1::Cluster::Representation - command.response_class = Google::Apis::DataprocV1::Cluster - command.params['projectId'] = project_id unless project_id.nil? - command.params['region'] = region unless region.nil? - command.params['clusterName'] = cluster_name unless cluster_name.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? - command.query['fields'] = fields unless fields.nil? execute_or_queue_command(command, &block) end @@ -603,11 +250,11 @@ module Google # Note: Currently, config.worker_config.num_instances and config.secondary_worker_config.num_instances are the # only fields that can be updated. + # @param [String] fields + # Selector specifying which fields to include in a partial response. # @param [String] quota_user # Available to use for quota purposes for server-side applications. Can be any # arbitrary string assigned to a user, but should not exceed 40 characters. - # @param [String] fields - # Selector specifying which fields to include in a partial response. # @param [Google::Apis::RequestOptions] options # Request-specific options # @@ -620,7 +267,7 @@ module Google # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required - def patch_cluster(project_id, region, cluster_name, cluster_object = nil, update_mask: nil, quota_user: nil, fields: nil, options: nil, &block) + def patch_cluster(project_id, region, cluster_name, cluster_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:patch, 'v1/projects/{projectId}/regions/{region}/clusters/{clusterName}', options) command.request_representation = Google::Apis::DataprocV1::Cluster::Representation command.request_object = cluster_object @@ -630,12 +277,12 @@ module Google command.params['region'] = region unless region.nil? command.params['clusterName'] = cluster_name unless cluster_name.nil? command.query['updateMask'] = update_mask unless update_mask.nil? - command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end - # Deletes a cluster in a project. + # Gets the resource representation for a cluster in a project. # @param [String] project_id # Required The ID of the Google Cloud Platform project that the cluster belongs # to. @@ -643,11 +290,156 @@ module Google # Required The Cloud Dataproc region in which to handle the request. # @param [String] cluster_name # Required The cluster name. + # @param [String] fields + # Selector specifying which fields to include in a partial response. # @param [String] quota_user # Available to use for quota purposes for server-side applications. Can be any # arbitrary string assigned to a user, but should not exceed 40 characters. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::DataprocV1::Cluster] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::DataprocV1::Cluster] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def get_cluster(project_id, region, cluster_name, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:get, 'v1/projects/{projectId}/regions/{region}/clusters/{clusterName}', options) + command.response_representation = Google::Apis::DataprocV1::Cluster::Representation + command.response_class = Google::Apis::DataprocV1::Cluster + command.params['projectId'] = project_id unless project_id.nil? + command.params['region'] = region unless region.nil? + command.params['clusterName'] = cluster_name unless cluster_name.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + execute_or_queue_command(command, &block) + end + + # Starts asynchronous cancellation on a long-running operation. The server makes + # a best effort to cancel the operation, but success is not guaranteed. If the + # server doesn't support this method, it returns google.rpc.Code.UNIMPLEMENTED. + # Clients can use Operations.GetOperation or other methods to check whether the + # cancellation succeeded or whether the operation completed despite cancellation. + # On successful cancellation, the operation is not deleted; instead, it becomes + # an operation with an Operation.error value with a google.rpc.Status.code of 1, + # corresponding to Code.CANCELLED. + # @param [String] name + # The name of the operation resource to be cancelled. # @param [String] fields # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # Available to use for quota purposes for server-side applications. Can be any + # arbitrary string assigned to a user, but should not exceed 40 characters. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::DataprocV1::Empty] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::DataprocV1::Empty] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def cancel_operation(name, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:post, 'v1/{+name}:cancel', options) + command.response_representation = Google::Apis::DataprocV1::Empty::Representation + command.response_class = Google::Apis::DataprocV1::Empty + command.params['name'] = name unless name.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + execute_or_queue_command(command, &block) + end + + # Deletes a long-running operation. This method indicates that the client is no + # longer interested in the operation result. It does not cancel the operation. + # If the server doesn't support this method, it returns google.rpc.Code. + # UNIMPLEMENTED. + # @param [String] name + # The name of the operation resource to be deleted. + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # Available to use for quota purposes for server-side applications. Can be any + # arbitrary string assigned to a user, but should not exceed 40 characters. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::DataprocV1::Empty] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::DataprocV1::Empty] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def delete_operation(name, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:delete, 'v1/{+name}', options) + command.response_representation = Google::Apis::DataprocV1::Empty::Representation + command.response_class = Google::Apis::DataprocV1::Empty + command.params['name'] = name unless name.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + execute_or_queue_command(command, &block) + end + + # Lists operations that match the specified filter in the request. If the server + # doesn't support this method, it returns UNIMPLEMENTED.NOTE: the name binding + # below allows API services to override the binding to use different resource + # name schemes, such as users/*/operations. + # @param [String] name + # The name of the operation collection. + # @param [String] page_token + # The standard list page token. + # @param [Fixnum] page_size + # The standard list page size. + # @param [String] filter + # The standard list filter. + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # Available to use for quota purposes for server-side applications. Can be any + # arbitrary string assigned to a user, but should not exceed 40 characters. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::DataprocV1::ListOperationsResponse] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::DataprocV1::ListOperationsResponse] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def list_operations(name, page_token: nil, page_size: nil, filter: nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:get, 'v1/{+name}', options) + command.response_representation = Google::Apis::DataprocV1::ListOperationsResponse::Representation + command.response_class = Google::Apis::DataprocV1::ListOperationsResponse + command.params['name'] = name unless name.nil? + command.query['pageToken'] = page_token unless page_token.nil? + command.query['pageSize'] = page_size unless page_size.nil? + command.query['filter'] = filter unless filter.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + execute_or_queue_command(command, &block) + end + + # Gets the latest state of a long-running operation. Clients can use this method + # to poll the operation result at intervals as recommended by the API service. + # @param [String] name + # The name of the operation resource. + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # Available to use for quota purposes for server-side applications. Can be any + # arbitrary string assigned to a user, but should not exceed 40 characters. # @param [Google::Apis::RequestOptions] options # Request-specific options # @@ -660,64 +452,273 @@ module Google # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required - def delete_cluster(project_id, region, cluster_name, quota_user: nil, fields: nil, options: nil, &block) - command = make_simple_command(:delete, 'v1/projects/{projectId}/regions/{region}/clusters/{clusterName}', options) + def get_operation(name, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:get, 'v1/{+name}', options) command.response_representation = Google::Apis::DataprocV1::Operation::Representation command.response_class = Google::Apis::DataprocV1::Operation - command.params['projectId'] = project_id unless project_id.nil? - command.params['region'] = region unless region.nil? - command.params['clusterName'] = cluster_name unless cluster_name.nil? - command.query['quotaUser'] = quota_user unless quota_user.nil? + command.params['name'] = name unless name.nil? command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end - # Gets cluster diagnostic information. After the operation completes, the - # Operation.response field contains DiagnoseClusterOutputLocation. + # Starts a job cancellation request. To access the job resource after + # cancellation, call regions/`region`/jobs.list or regions/`region`/jobs.get. # @param [String] project_id - # Required The ID of the Google Cloud Platform project that the cluster belongs - # to. + # Required The ID of the Google Cloud Platform project that the job belongs to. # @param [String] region # Required The Cloud Dataproc region in which to handle the request. - # @param [String] cluster_name - # Required The cluster name. - # @param [Google::Apis::DataprocV1::DiagnoseClusterRequest] diagnose_cluster_request_object + # @param [String] job_id + # Required The job ID. + # @param [Google::Apis::DataprocV1::CancelJobRequest] cancel_job_request_object + # @param [String] fields + # Selector specifying which fields to include in a partial response. # @param [String] quota_user # Available to use for quota purposes for server-side applications. Can be any # arbitrary string assigned to a user, but should not exceed 40 characters. - # @param [String] fields - # Selector specifying which fields to include in a partial response. # @param [Google::Apis::RequestOptions] options # Request-specific options # # @yield [result, err] Result & error if block supplied - # @yieldparam result [Google::Apis::DataprocV1::Operation] parsed result object + # @yieldparam result [Google::Apis::DataprocV1::Job] parsed result object # @yieldparam err [StandardError] error object if request failed # - # @return [Google::Apis::DataprocV1::Operation] + # @return [Google::Apis::DataprocV1::Job] # # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required - def diagnose_cluster(project_id, region, cluster_name, diagnose_cluster_request_object = nil, quota_user: nil, fields: nil, options: nil, &block) - command = make_simple_command(:post, 'v1/projects/{projectId}/regions/{region}/clusters/{clusterName}:diagnose', options) - command.request_representation = Google::Apis::DataprocV1::DiagnoseClusterRequest::Representation - command.request_object = diagnose_cluster_request_object - command.response_representation = Google::Apis::DataprocV1::Operation::Representation - command.response_class = Google::Apis::DataprocV1::Operation + def cancel_job(project_id, region, job_id, cancel_job_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:post, 'v1/projects/{projectId}/regions/{region}/jobs/{jobId}:cancel', options) + command.request_representation = Google::Apis::DataprocV1::CancelJobRequest::Representation + command.request_object = cancel_job_request_object + command.response_representation = Google::Apis::DataprocV1::Job::Representation + command.response_class = Google::Apis::DataprocV1::Job command.params['projectId'] = project_id unless project_id.nil? command.params['region'] = region unless region.nil? - command.params['clusterName'] = cluster_name unless cluster_name.nil? - command.query['quotaUser'] = quota_user unless quota_user.nil? + command.params['jobId'] = job_id unless job_id.nil? command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + execute_or_queue_command(command, &block) + end + + # Updates a job in a project. + # @param [String] project_id + # Required The ID of the Google Cloud Platform project that the job belongs to. + # @param [String] region + # Required The Cloud Dataproc region in which to handle the request. + # @param [String] job_id + # Required The job ID. + # @param [Google::Apis::DataprocV1::Job] job_object + # @param [String] update_mask + # Required Specifies the path, relative to Job, of the field to + # update. For example, to update the labels of a Job the update_mask + # parameter would be specified as labels, and the PATCH request + # body would specify the new value. Note: Currently, + # labels is the only field that can be updated. + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # Available to use for quota purposes for server-side applications. Can be any + # arbitrary string assigned to a user, but should not exceed 40 characters. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::DataprocV1::Job] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::DataprocV1::Job] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def patch_project_region_job(project_id, region, job_id, job_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:patch, 'v1/projects/{projectId}/regions/{region}/jobs/{jobId}', options) + command.request_representation = Google::Apis::DataprocV1::Job::Representation + command.request_object = job_object + command.response_representation = Google::Apis::DataprocV1::Job::Representation + command.response_class = Google::Apis::DataprocV1::Job + command.params['projectId'] = project_id unless project_id.nil? + command.params['region'] = region unless region.nil? + command.params['jobId'] = job_id unless job_id.nil? + command.query['updateMask'] = update_mask unless update_mask.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + execute_or_queue_command(command, &block) + end + + # Gets the resource representation for a job in a project. + # @param [String] project_id + # Required The ID of the Google Cloud Platform project that the job belongs to. + # @param [String] region + # Required The Cloud Dataproc region in which to handle the request. + # @param [String] job_id + # Required The job ID. + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # Available to use for quota purposes for server-side applications. Can be any + # arbitrary string assigned to a user, but should not exceed 40 characters. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::DataprocV1::Job] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::DataprocV1::Job] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def get_job(project_id, region, job_id, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:get, 'v1/projects/{projectId}/regions/{region}/jobs/{jobId}', options) + command.response_representation = Google::Apis::DataprocV1::Job::Representation + command.response_class = Google::Apis::DataprocV1::Job + command.params['projectId'] = project_id unless project_id.nil? + command.params['region'] = region unless region.nil? + command.params['jobId'] = job_id unless job_id.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + execute_or_queue_command(command, &block) + end + + # Submits a job to a cluster. + # @param [String] project_id + # Required The ID of the Google Cloud Platform project that the job belongs to. + # @param [String] region + # Required The Cloud Dataproc region in which to handle the request. + # @param [Google::Apis::DataprocV1::SubmitJobRequest] submit_job_request_object + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # Available to use for quota purposes for server-side applications. Can be any + # arbitrary string assigned to a user, but should not exceed 40 characters. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::DataprocV1::Job] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::DataprocV1::Job] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def submit_job(project_id, region, submit_job_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:post, 'v1/projects/{projectId}/regions/{region}/jobs:submit', options) + command.request_representation = Google::Apis::DataprocV1::SubmitJobRequest::Representation + command.request_object = submit_job_request_object + command.response_representation = Google::Apis::DataprocV1::Job::Representation + command.response_class = Google::Apis::DataprocV1::Job + command.params['projectId'] = project_id unless project_id.nil? + command.params['region'] = region unless region.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + execute_or_queue_command(command, &block) + end + + # Deletes the job from the project. If the job is active, the delete fails, and + # the response returns FAILED_PRECONDITION. + # @param [String] project_id + # Required The ID of the Google Cloud Platform project that the job belongs to. + # @param [String] region + # Required The Cloud Dataproc region in which to handle the request. + # @param [String] job_id + # Required The job ID. + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # Available to use for quota purposes for server-side applications. Can be any + # arbitrary string assigned to a user, but should not exceed 40 characters. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::DataprocV1::Empty] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::DataprocV1::Empty] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def delete_job(project_id, region, job_id, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:delete, 'v1/projects/{projectId}/regions/{region}/jobs/{jobId}', options) + command.response_representation = Google::Apis::DataprocV1::Empty::Representation + command.response_class = Google::Apis::DataprocV1::Empty + command.params['projectId'] = project_id unless project_id.nil? + command.params['region'] = region unless region.nil? + command.params['jobId'] = job_id unless job_id.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + execute_or_queue_command(command, &block) + end + + # Lists regions/`region`/jobs in a project. + # @param [String] project_id + # Required The ID of the Google Cloud Platform project that the job belongs to. + # @param [String] region + # Required The Cloud Dataproc region in which to handle the request. + # @param [String] page_token + # Optional The page token, returned by a previous call, to request the next page + # of results. + # @param [Fixnum] page_size + # Optional The number of results to return in each response. + # @param [String] cluster_name + # Optional If set, the returned jobs list includes only jobs that were submitted + # to the named cluster. + # @param [String] filter + # Optional A filter constraining the jobs to list. Filters are case-sensitive + # and have the following syntax:field = value AND field = value ...where field + # is status.state or labels.[KEY], and [KEY] is a label key. value can be * to + # match all values. status.state can be either ACTIVE or INACTIVE. Only the + # logical AND operator is supported; space-separated items are treated as having + # an implicit AND operator.Example filter:status.state = ACTIVE AND labels.env = + # staging AND labels.starred = * + # @param [String] job_state_matcher + # Optional Specifies enumerated categories of jobs to list (default = match ALL + # jobs). + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # Available to use for quota purposes for server-side applications. Can be any + # arbitrary string assigned to a user, but should not exceed 40 characters. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::DataprocV1::ListJobsResponse] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::DataprocV1::ListJobsResponse] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def list_jobs(project_id, region, page_token: nil, page_size: nil, cluster_name: nil, filter: nil, job_state_matcher: nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:get, 'v1/projects/{projectId}/regions/{region}/jobs', options) + command.response_representation = Google::Apis::DataprocV1::ListJobsResponse::Representation + command.response_class = Google::Apis::DataprocV1::ListJobsResponse + command.params['projectId'] = project_id unless project_id.nil? + command.params['region'] = region unless region.nil? + command.query['pageToken'] = page_token unless page_token.nil? + command.query['pageSize'] = page_size unless page_size.nil? + command.query['clusterName'] = cluster_name unless cluster_name.nil? + command.query['filter'] = filter unless filter.nil? + command.query['jobStateMatcher'] = job_state_matcher unless job_state_matcher.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end protected def apply_command_defaults(command) - command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['key'] = key unless key.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? end end end diff --git a/generated/google/apis/datastore_v1/classes.rb b/generated/google/apis/datastore_v1/classes.rb index e4096b7f3..36611eb04 100644 --- a/generated/google/apis/datastore_v1/classes.rb +++ b/generated/google/apis/datastore_v1/classes.rb @@ -22,207 +22,6 @@ module Google module Apis module DatastoreV1 - # The request for Datastore.RunQuery. - class RunQueryRequest - include Google::Apis::Core::Hashable - - # The options shared by read requests. - # Corresponds to the JSON property `readOptions` - # @return [Google::Apis::DatastoreV1::ReadOptions] - attr_accessor :read_options - - # A query for entities. - # Corresponds to the JSON property `query` - # @return [Google::Apis::DatastoreV1::Query] - attr_accessor :query - - # A partition ID identifies a grouping of entities. The grouping is always - # by project and namespace, however the namespace ID may be empty. - # A partition ID contains several dimensions: - # project ID and namespace ID. - # Partition dimensions: - # - May be `""`. - # - Must be valid UTF-8 bytes. - # - Must have values that match regex `[A-Za-z\d\.\-_]`1,100`` - # If the value of any dimension matches regex `__.*__`, the partition is - # reserved/read-only. - # A reserved/read-only partition ID is forbidden in certain documented - # contexts. - # Foreign partition IDs (in which the project ID does - # not match the context project ID ) are discouraged. - # Reads and writes of foreign partition IDs may fail if the project is not in an - # active state. - # Corresponds to the JSON property `partitionId` - # @return [Google::Apis::DatastoreV1::PartitionId] - attr_accessor :partition_id - - # A [GQL query](https://cloud.google.com/datastore/docs/apis/gql/gql_reference). - # Corresponds to the JSON property `gqlQuery` - # @return [Google::Apis::DatastoreV1::GqlQuery] - attr_accessor :gql_query - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @read_options = args[:read_options] if args.key?(:read_options) - @query = args[:query] if args.key?(:query) - @partition_id = args[:partition_id] if args.key?(:partition_id) - @gql_query = args[:gql_query] if args.key?(:gql_query) - end - end - - # The request for Datastore.Rollback. - class RollbackRequest - include Google::Apis::Core::Hashable - - # The transaction identifier, returned by a call to - # Datastore.BeginTransaction. - # Corresponds to the JSON property `transaction` - # NOTE: Values are automatically base64 encoded/decoded in the client library. - # @return [String] - attr_accessor :transaction - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @transaction = args[:transaction] if args.key?(:transaction) - end - end - - # A filter that merges multiple other filters using the given operator. - class CompositeFilter - include Google::Apis::Core::Hashable - - # The list of filters to combine. - # Must contain at least one filter. - # Corresponds to the JSON property `filters` - # @return [Array] - attr_accessor :filters - - # The operator for combining multiple filters. - # Corresponds to the JSON property `op` - # @return [String] - attr_accessor :op - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @filters = args[:filters] if args.key?(:filters) - @op = args[:op] if args.key?(:op) - end - end - - # The response for Datastore.AllocateIds. - class AllocateIdsResponse - include Google::Apis::Core::Hashable - - # The keys specified in the request (in the same order), each with - # its key path completed with a newly allocated ID. - # Corresponds to the JSON property `keys` - # @return [Array] - attr_accessor :keys - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @keys = args[:keys] if args.key?(:keys) - end - end - - # A query for entities. - class Query - include Google::Apis::Core::Hashable - - # The maximum number of results to return. Applies after all other - # constraints. Optional. - # Unspecified is interpreted as no limit. - # Must be >= 0 if specified. - # Corresponds to the JSON property `limit` - # @return [Fixnum] - attr_accessor :limit - - # A holder for any type of filter. - # Corresponds to the JSON property `filter` - # @return [Google::Apis::DatastoreV1::Filter] - attr_accessor :filter - - # A starting point for the query results. Query cursors are - # returned in query result batches and - # [can only be used to continue the same query](https://cloud.google.com/ - # datastore/docs/concepts/queries#cursors_limits_and_offsets). - # Corresponds to the JSON property `startCursor` - # NOTE: Values are automatically base64 encoded/decoded in the client library. - # @return [String] - attr_accessor :start_cursor - - # The number of results to skip. Applies before limit, but after all other - # constraints. Optional. Must be >= 0 if specified. - # Corresponds to the JSON property `offset` - # @return [Fixnum] - attr_accessor :offset - - # The kinds to query (if empty, returns entities of all kinds). - # Currently at most 1 kind may be specified. - # Corresponds to the JSON property `kind` - # @return [Array] - attr_accessor :kind - - # The properties to make distinct. The query results will contain the first - # result for each distinct combination of values for the given properties - # (if empty, all results are returned). - # Corresponds to the JSON property `distinctOn` - # @return [Array] - attr_accessor :distinct_on - - # The order to apply to the query results (if empty, order is unspecified). - # Corresponds to the JSON property `order` - # @return [Array] - attr_accessor :order - - # The projection to return. Defaults to returning all properties. - # Corresponds to the JSON property `projection` - # @return [Array] - attr_accessor :projection - - # An ending point for the query results. Query cursors are - # returned in query result batches and - # [can only be used to limit the same query](https://cloud.google.com/datastore/ - # docs/concepts/queries#cursors_limits_and_offsets). - # Corresponds to the JSON property `endCursor` - # NOTE: Values are automatically base64 encoded/decoded in the client library. - # @return [String] - attr_accessor :end_cursor - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @limit = args[:limit] if args.key?(:limit) - @filter = args[:filter] if args.key?(:filter) - @start_cursor = args[:start_cursor] if args.key?(:start_cursor) - @offset = args[:offset] if args.key?(:offset) - @kind = args[:kind] if args.key?(:kind) - @distinct_on = args[:distinct_on] if args.key?(:distinct_on) - @order = args[:order] if args.key?(:order) - @projection = args[:projection] if args.key?(:projection) - @end_cursor = args[:end_cursor] if args.key?(:end_cursor) - end - end - # A filter on a specific property. class PropertyFilter include Google::Apis::Core::Hashable @@ -259,6 +58,13 @@ module Google class EntityResult include Google::Apis::Core::Hashable + # A cursor that points to the position after the result entity. + # Set only when the `EntityResult` is part of a `QueryResultBatch` message. + # Corresponds to the JSON property `cursor` + # NOTE: Values are automatically base64 encoded/decoded in the client library. + # @return [String] + attr_accessor :cursor + # The version of the entity, a strictly positive number that monotonically # increases with changes to the entity. # This field is set for `FULL` entity @@ -267,7 +73,7 @@ module Google # is the version of the snapshot that was used to look up the entity, and it # is always set except for eventually consistent reads. # Corresponds to the JSON property `version` - # @return [String] + # @return [Fixnum] attr_accessor :version # A Datastore data object. @@ -278,12 +84,33 @@ module Google # @return [Google::Apis::DatastoreV1::Entity] attr_accessor :entity - # A cursor that points to the position after the result entity. - # Set only when the `EntityResult` is part of a `QueryResultBatch` message. - # Corresponds to the JSON property `cursor` - # NOTE: Values are automatically base64 encoded/decoded in the client library. - # @return [String] - attr_accessor :cursor + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @cursor = args[:cursor] if args.key?(:cursor) + @version = args[:version] if args.key?(:version) + @entity = args[:entity] if args.key?(:entity) + end + end + + # The response for Datastore.Commit. + class CommitResponse + include Google::Apis::Core::Hashable + + # The result of performing the mutations. + # The i-th mutation result corresponds to the i-th mutation in the request. + # Corresponds to the JSON property `mutationResults` + # @return [Array] + attr_accessor :mutation_results + + # The number of index entries updated during the commit, or zero if none were + # updated. + # Corresponds to the JSON property `indexUpdates` + # @return [Fixnum] + attr_accessor :index_updates def initialize(**args) update!(**args) @@ -291,9 +118,8 @@ module Google # Update properties of this object def update!(**args) - @version = args[:version] if args.key?(:version) - @entity = args[:entity] if args.key?(:entity) - @cursor = args[:cursor] if args.key?(:cursor) + @mutation_results = args[:mutation_results] if args.key?(:mutation_results) + @index_updates = args[:index_updates] if args.key?(:index_updates) end end @@ -302,6 +128,16 @@ module Google class Value include Google::Apis::Core::Hashable + # The `meaning` field should only be populated for backwards compatibility. + # Corresponds to the JSON property `meaning` + # @return [Fixnum] + attr_accessor :meaning + + # An array value. + # Corresponds to the JSON property `arrayValue` + # @return [Google::Apis::DatastoreV1::ArrayValue] + attr_accessor :array_value + # A Datastore data object. # An entity is limited to 1 megabyte when stored. That _roughly_ # corresponds to a limit of 1 megabyte for the serialized form of this @@ -361,7 +197,7 @@ module Google # An integer value. # Corresponds to the JSON property `integerValue` - # @return [String] + # @return [Fixnum] attr_accessor :integer_value # A UTF-8 encoded string value. @@ -411,22 +247,14 @@ module Google # @return [String] attr_accessor :blob_value - # The `meaning` field should only be populated for backwards compatibility. - # Corresponds to the JSON property `meaning` - # @return [Fixnum] - attr_accessor :meaning - - # An array value. - # Corresponds to the JSON property `arrayValue` - # @return [Google::Apis::DatastoreV1::ArrayValue] - attr_accessor :array_value - def initialize(**args) update!(**args) end # Update properties of this object def update!(**args) + @meaning = args[:meaning] if args.key?(:meaning) + @array_value = args[:array_value] if args.key?(:array_value) @entity_value = args[:entity_value] if args.key?(:entity_value) @geo_point_value = args[:geo_point_value] if args.key?(:geo_point_value) @key_value = args[:key_value] if args.key?(:key_value) @@ -438,35 +266,6 @@ module Google @boolean_value = args[:boolean_value] if args.key?(:boolean_value) @null_value = args[:null_value] if args.key?(:null_value) @blob_value = args[:blob_value] if args.key?(:blob_value) - @meaning = args[:meaning] if args.key?(:meaning) - @array_value = args[:array_value] if args.key?(:array_value) - end - end - - # The response for Datastore.Commit. - class CommitResponse - include Google::Apis::Core::Hashable - - # The result of performing the mutations. - # The i-th mutation result corresponds to the i-th mutation in the request. - # Corresponds to the JSON property `mutationResults` - # @return [Array] - attr_accessor :mutation_results - - # The number of index entries updated during the commit, or zero if none were - # updated. - # Corresponds to the JSON property `indexUpdates` - # @return [Fixnum] - attr_accessor :index_updates - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @mutation_results = args[:mutation_results] if args.key?(:mutation_results) - @index_updates = args[:index_updates] if args.key?(:index_updates) end end @@ -517,14 +316,6 @@ module Google class Entity include Google::Apis::Core::Hashable - # A unique identifier for an entity. - # If a key's partition ID or any of its path kinds or names are - # reserved/read-only, the key is reserved/read-only. - # A reserved/read-only key is forbidden in certain documented contexts. - # Corresponds to the JSON property `key` - # @return [Google::Apis::DatastoreV1::Key] - attr_accessor :key - # The entity's properties. # The map's keys are property names. # A property name matching regex `__.*__` is reserved. @@ -535,14 +326,87 @@ module Google # @return [Hash] attr_accessor :properties + # A unique identifier for an entity. + # If a key's partition ID or any of its path kinds or names are + # reserved/read-only, the key is reserved/read-only. + # A reserved/read-only key is forbidden in certain documented contexts. + # Corresponds to the JSON property `key` + # @return [Google::Apis::DatastoreV1::Key] + attr_accessor :key + def initialize(**args) update!(**args) end # Update properties of this object def update!(**args) - @key = args[:key] if args.key?(:key) @properties = args[:properties] if args.key?(:properties) + @key = args[:key] if args.key?(:key) + end + end + + # A batch of results produced by a query. + class QueryResultBatch + include Google::Apis::Core::Hashable + + # A cursor that points to the position after the last skipped result. + # Will be set when `skipped_results` != 0. + # Corresponds to the JSON property `skippedCursor` + # NOTE: Values are automatically base64 encoded/decoded in the client library. + # @return [String] + attr_accessor :skipped_cursor + + # The number of results skipped, typically because of an offset. + # Corresponds to the JSON property `skippedResults` + # @return [Fixnum] + attr_accessor :skipped_results + + # The result type for every entity in `entity_results`. + # Corresponds to the JSON property `entityResultType` + # @return [String] + attr_accessor :entity_result_type + + # The results for this batch. + # Corresponds to the JSON property `entityResults` + # @return [Array] + attr_accessor :entity_results + + # A cursor that points to the position after the last result in the batch. + # Corresponds to the JSON property `endCursor` + # NOTE: Values are automatically base64 encoded/decoded in the client library. + # @return [String] + attr_accessor :end_cursor + + # The state of the query after the current batch. + # Corresponds to the JSON property `moreResults` + # @return [String] + attr_accessor :more_results + + # The version number of the snapshot this batch was returned from. + # This applies to the range of results from the query's `start_cursor` (or + # the beginning of the query if no cursor was given) to this batch's + # `end_cursor` (not the query's `end_cursor`). + # In a single transaction, subsequent query result batches for the same query + # can have a greater snapshot version number. Each batch's snapshot version + # is valid for all preceding batches. + # The value will be zero for eventually consistent queries. + # Corresponds to the JSON property `snapshotVersion` + # @return [Fixnum] + attr_accessor :snapshot_version + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @skipped_cursor = args[:skipped_cursor] if args.key?(:skipped_cursor) + @skipped_results = args[:skipped_results] if args.key?(:skipped_results) + @entity_result_type = args[:entity_result_type] if args.key?(:entity_result_type) + @entity_results = args[:entity_results] if args.key?(:entity_results) + @end_cursor = args[:end_cursor] if args.key?(:end_cursor) + @more_results = args[:more_results] if args.key?(:more_results) + @snapshot_version = args[:snapshot_version] if args.key?(:snapshot_version) end end @@ -571,84 +435,12 @@ module Google end end - # A batch of results produced by a query. - class QueryResultBatch - include Google::Apis::Core::Hashable - - # A cursor that points to the position after the last result in the batch. - # Corresponds to the JSON property `endCursor` - # NOTE: Values are automatically base64 encoded/decoded in the client library. - # @return [String] - attr_accessor :end_cursor - - # The state of the query after the current batch. - # Corresponds to the JSON property `moreResults` - # @return [String] - attr_accessor :more_results - - # The version number of the snapshot this batch was returned from. - # This applies to the range of results from the query's `start_cursor` (or - # the beginning of the query if no cursor was given) to this batch's - # `end_cursor` (not the query's `end_cursor`). - # In a single transaction, subsequent query result batches for the same query - # can have a greater snapshot version number. Each batch's snapshot version - # is valid for all preceding batches. - # The value will be zero for eventually consistent queries. - # Corresponds to the JSON property `snapshotVersion` - # @return [String] - attr_accessor :snapshot_version - - # A cursor that points to the position after the last skipped result. - # Will be set when `skipped_results` != 0. - # Corresponds to the JSON property `skippedCursor` - # NOTE: Values are automatically base64 encoded/decoded in the client library. - # @return [String] - attr_accessor :skipped_cursor - - # The number of results skipped, typically because of an offset. - # Corresponds to the JSON property `skippedResults` - # @return [Fixnum] - attr_accessor :skipped_results - - # The result type for every entity in `entity_results`. - # Corresponds to the JSON property `entityResultType` - # @return [String] - attr_accessor :entity_result_type - - # The results for this batch. - # Corresponds to the JSON property `entityResults` - # @return [Array] - attr_accessor :entity_results - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @end_cursor = args[:end_cursor] if args.key?(:end_cursor) - @more_results = args[:more_results] if args.key?(:more_results) - @snapshot_version = args[:snapshot_version] if args.key?(:snapshot_version) - @skipped_cursor = args[:skipped_cursor] if args.key?(:skipped_cursor) - @skipped_results = args[:skipped_results] if args.key?(:skipped_results) - @entity_result_type = args[:entity_result_type] if args.key?(:entity_result_type) - @entity_results = args[:entity_results] if args.key?(:entity_results) - end - end - # A (kind, ID/name) pair used to construct a key path. # If either name or ID is set, the element is complete. # If neither is set, the element is incomplete. class PathElement include Google::Apis::Core::Hashable - # The auto-allocated ID of the entity. - # Never equal to zero. Values less than zero are discouraged and may not - # be supported in the future. - # Corresponds to the JSON property `id` - # @return [String] - attr_accessor :id - # The name of the entity. # A name matching regex `__.*__` is reserved/read-only. # A name must not be more than 1500 bytes when UTF-8 encoded. @@ -665,15 +457,22 @@ module Google # @return [String] attr_accessor :kind + # The auto-allocated ID of the entity. + # Never equal to zero. Values less than zero are discouraged and may not + # be supported in the future. + # Corresponds to the JSON property `id` + # @return [Fixnum] + attr_accessor :id + def initialize(**args) update!(**args) end # Update properties of this object def update!(**args) - @id = args[:id] if args.key?(:id) @name = args[:name] if args.key?(:name) @kind = args[:kind] if args.key?(:kind) + @id = args[:id] if args.key?(:id) end end @@ -681,12 +480,6 @@ module Google class GqlQueryParameter include Google::Apis::Core::Hashable - # A message that can hold any of the supported value types and associated - # metadata. - # Corresponds to the JSON property `value` - # @return [Google::Apis::DatastoreV1::Value] - attr_accessor :value - # A query cursor. Query cursors are returned in query # result batches. # Corresponds to the JSON property `cursor` @@ -694,14 +487,20 @@ module Google # @return [String] attr_accessor :cursor + # A message that can hold any of the supported value types and associated + # metadata. + # Corresponds to the JSON property `value` + # @return [Google::Apis::DatastoreV1::Value] + attr_accessor :value + def initialize(**args) update!(**args) end # Update properties of this object def update!(**args) - @value = args[:value] if args.key?(:value) @cursor = args[:cursor] if args.key?(:cursor) + @value = args[:value] if args.key?(:value) end end @@ -725,6 +524,68 @@ module Google end end + # The response for Datastore.RunQuery. + class RunQueryResponse + include Google::Apis::Core::Hashable + + # A query for entities. + # Corresponds to the JSON property `query` + # @return [Google::Apis::DatastoreV1::Query] + attr_accessor :query + + # A batch of results produced by a query. + # Corresponds to the JSON property `batch` + # @return [Google::Apis::DatastoreV1::QueryResultBatch] + attr_accessor :batch + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @query = args[:query] if args.key?(:query) + @batch = args[:batch] if args.key?(:batch) + end + end + + # The response for Datastore.Lookup. + class LookupResponse + include Google::Apis::Core::Hashable + + # A list of keys that were not looked up due to resource constraints. The + # order of results in this field is undefined and has no relation to the + # order of the keys in the input. + # Corresponds to the JSON property `deferred` + # @return [Array] + attr_accessor :deferred + + # Entities found as `ResultType.FULL` entities. The order of results in this + # field is undefined and has no relation to the order of the keys in the + # input. + # Corresponds to the JSON property `found` + # @return [Array] + attr_accessor :found + + # Entities not found as `ResultType.KEY_ONLY` entities. The order of results + # in this field is undefined and has no relation to the order of the keys + # in the input. + # Corresponds to the JSON property `missing` + # @return [Array] + attr_accessor :missing + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @deferred = args[:deferred] if args.key?(:deferred) + @found = args[:found] if args.key?(:found) + @missing = args[:missing] if args.key?(:missing) + end + end + # The request for Datastore.AllocateIds. class AllocateIdsRequest include Google::Apis::Core::Hashable @@ -745,108 +606,16 @@ module Google end end - # The response for Datastore.Lookup. - class LookupResponse + # The request for Datastore.BeginTransaction. + class BeginTransactionRequest include Google::Apis::Core::Hashable - # Entities found as `ResultType.FULL` entities. The order of results in this - # field is undefined and has no relation to the order of the keys in the - # input. - # Corresponds to the JSON property `found` - # @return [Array] - attr_accessor :found - - # Entities not found as `ResultType.KEY_ONLY` entities. The order of results - # in this field is undefined and has no relation to the order of the keys - # in the input. - # Corresponds to the JSON property `missing` - # @return [Array] - attr_accessor :missing - - # A list of keys that were not looked up due to resource constraints. The - # order of results in this field is undefined and has no relation to the - # order of the keys in the input. - # Corresponds to the JSON property `deferred` - # @return [Array] - attr_accessor :deferred - def initialize(**args) update!(**args) end # Update properties of this object def update!(**args) - @found = args[:found] if args.key?(:found) - @missing = args[:missing] if args.key?(:missing) - @deferred = args[:deferred] if args.key?(:deferred) - end - end - - # The response for Datastore.RunQuery. - class RunQueryResponse - include Google::Apis::Core::Hashable - - # A batch of results produced by a query. - # Corresponds to the JSON property `batch` - # @return [Google::Apis::DatastoreV1::QueryResultBatch] - attr_accessor :batch - - # A query for entities. - # Corresponds to the JSON property `query` - # @return [Google::Apis::DatastoreV1::Query] - attr_accessor :query - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @batch = args[:batch] if args.key?(:batch) - @query = args[:query] if args.key?(:query) - end - end - - # The request for Datastore.Commit. - class CommitRequest - include Google::Apis::Core::Hashable - - # The type of commit to perform. Defaults to `TRANSACTIONAL`. - # Corresponds to the JSON property `mode` - # @return [String] - attr_accessor :mode - - # The mutations to perform. - # When mode is `TRANSACTIONAL`, mutations affecting a single entity are - # applied in order. The following sequences of mutations affecting a single - # entity are not permitted in a single `Commit` request: - # - `insert` followed by `insert` - # - `update` followed by `insert` - # - `upsert` followed by `insert` - # - `delete` followed by `update` - # When mode is `NON_TRANSACTIONAL`, no two mutations may affect a single - # entity. - # Corresponds to the JSON property `mutations` - # @return [Array] - attr_accessor :mutations - - # The identifier of the transaction associated with the commit. A - # transaction identifier is returned by a call to - # Datastore.BeginTransaction. - # Corresponds to the JSON property `transaction` - # NOTE: Values are automatically base64 encoded/decoded in the client library. - # @return [String] - attr_accessor :transaction - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @mode = args[:mode] if args.key?(:mode) - @mutations = args[:mutations] if args.key?(:mutations) - @transaction = args[:transaction] if args.key?(:transaction) end end @@ -875,16 +644,46 @@ module Google end end - # The request for Datastore.BeginTransaction. - class BeginTransactionRequest + # The request for Datastore.Commit. + class CommitRequest include Google::Apis::Core::Hashable + # The identifier of the transaction associated with the commit. A + # transaction identifier is returned by a call to + # Datastore.BeginTransaction. + # Corresponds to the JSON property `transaction` + # NOTE: Values are automatically base64 encoded/decoded in the client library. + # @return [String] + attr_accessor :transaction + + # The type of commit to perform. Defaults to `TRANSACTIONAL`. + # Corresponds to the JSON property `mode` + # @return [String] + attr_accessor :mode + + # The mutations to perform. + # When mode is `TRANSACTIONAL`, mutations affecting a single entity are + # applied in order. The following sequences of mutations affecting a single + # entity are not permitted in a single `Commit` request: + # - `insert` followed by `insert` + # - `update` followed by `insert` + # - `upsert` followed by `insert` + # - `delete` followed by `update` + # When mode is `NON_TRANSACTIONAL`, no two mutations may affect a single + # entity. + # Corresponds to the JSON property `mutations` + # @return [Array] + attr_accessor :mutations + def initialize(**args) update!(**args) end # Update properties of this object def update!(**args) + @transaction = args[:transaction] if args.key?(:transaction) + @mode = args[:mode] if args.key?(:mode) + @mutations = args[:mutations] if args.key?(:mutations) end end @@ -907,6 +706,62 @@ module Google end end + # A unique identifier for an entity. + # If a key's partition ID or any of its path kinds or names are + # reserved/read-only, the key is reserved/read-only. + # A reserved/read-only key is forbidden in certain documented contexts. + class Key + include Google::Apis::Core::Hashable + + # The entity path. + # An entity path consists of one or more elements composed of a kind and a + # string or numerical identifier, which identify entities. The first + # element identifies a _root entity_, the second element identifies + # a _child_ of the root entity, the third element identifies a child of the + # second entity, and so forth. The entities identified by all prefixes of + # the path are called the element's _ancestors_. + # An entity path is always fully complete: *all* of the entity's ancestors + # are required to be in the path along with the entity identifier itself. + # The only exception is that in some documented cases, the identifier in the + # last path element (for the entity) itself may be omitted. For example, + # the last path element of the key of `Mutation.insert` may have no + # identifier. + # A path can never be empty, and a path can have at most 100 elements. + # Corresponds to the JSON property `path` + # @return [Array] + attr_accessor :path + + # A partition ID identifies a grouping of entities. The grouping is always + # by project and namespace, however the namespace ID may be empty. + # A partition ID contains several dimensions: + # project ID and namespace ID. + # Partition dimensions: + # - May be `""`. + # - Must be valid UTF-8 bytes. + # - Must have values that match regex `[A-Za-z\d\.\-_]`1,100`` + # If the value of any dimension matches regex `__.*__`, the partition is + # reserved/read-only. + # A reserved/read-only partition ID is forbidden in certain documented + # contexts. + # Foreign partition IDs (in which the project ID does + # not match the context project ID ) are discouraged. + # Reads and writes of foreign partition IDs may fail if the project is not in an + # active state. + # Corresponds to the JSON property `partitionId` + # @return [Google::Apis::DatastoreV1::PartitionId] + attr_accessor :partition_id + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @path = args[:path] if args.key?(:path) + @partition_id = args[:partition_id] if args.key?(:partition_id) + end + end + # An object representing a latitude/longitude pair. This is expressed as a pair # of doubles representing degrees latitude and degrees longitude. Unless # specified otherwise, this must conform to the @@ -968,62 +823,6 @@ module Google end end - # A unique identifier for an entity. - # If a key's partition ID or any of its path kinds or names are - # reserved/read-only, the key is reserved/read-only. - # A reserved/read-only key is forbidden in certain documented contexts. - class Key - include Google::Apis::Core::Hashable - - # The entity path. - # An entity path consists of one or more elements composed of a kind and a - # string or numerical identifier, which identify entities. The first - # element identifies a _root entity_, the second element identifies - # a _child_ of the root entity, the third element identifies a child of the - # second entity, and so forth. The entities identified by all prefixes of - # the path are called the element's _ancestors_. - # An entity path is always fully complete: *all* of the entity's ancestors - # are required to be in the path along with the entity identifier itself. - # The only exception is that in some documented cases, the identifier in the - # last path element (for the entity) itself may be omitted. For example, - # the last path element of the key of `Mutation.insert` may have no - # identifier. - # A path can never be empty, and a path can have at most 100 elements. - # Corresponds to the JSON property `path` - # @return [Array] - attr_accessor :path - - # A partition ID identifies a grouping of entities. The grouping is always - # by project and namespace, however the namespace ID may be empty. - # A partition ID contains several dimensions: - # project ID and namespace ID. - # Partition dimensions: - # - May be `""`. - # - Must be valid UTF-8 bytes. - # - Must have values that match regex `[A-Za-z\d\.\-_]`1,100`` - # If the value of any dimension matches regex `__.*__`, the partition is - # reserved/read-only. - # A reserved/read-only partition ID is forbidden in certain documented - # contexts. - # Foreign partition IDs (in which the project ID does - # not match the context project ID ) are discouraged. - # Reads and writes of foreign partition IDs may fail if the project is not in an - # active state. - # Corresponds to the JSON property `partitionId` - # @return [Google::Apis::DatastoreV1::PartitionId] - attr_accessor :partition_id - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @path = args[:path] if args.key?(:path) - @partition_id = args[:partition_id] if args.key?(:partition_id) - end - end - # A reference to a property relative to the kind expressions. class PropertyReference include Google::Apis::Core::Hashable @@ -1044,25 +843,6 @@ module Google end end - # A representation of a property in a projection. - class Projection - include Google::Apis::Core::Hashable - - # A reference to a property relative to the kind expressions. - # Corresponds to the JSON property `property` - # @return [Google::Apis::DatastoreV1::PropertyReference] - attr_accessor :property - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @property = args[:property] if args.key?(:property) - end - end - # An array value. class ArrayValue include Google::Apis::Core::Hashable @@ -1084,18 +864,29 @@ module Google end end + # A representation of a property in a projection. + class Projection + include Google::Apis::Core::Hashable + + # A reference to a property relative to the kind expressions. + # Corresponds to the JSON property `property` + # @return [Google::Apis::DatastoreV1::PropertyReference] + attr_accessor :property + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @property = args[:property] if args.key?(:property) + end + end + # A mutation to apply to an entity. class Mutation include Google::Apis::Core::Hashable - # A Datastore data object. - # An entity is limited to 1 megabyte when stored. That _roughly_ - # corresponds to a limit of 1 megabyte for the serialized form of this - # message. - # Corresponds to the JSON property `upsert` - # @return [Google::Apis::DatastoreV1::Entity] - attr_accessor :upsert - # A unique identifier for an entity. # If a key's partition ID or any of its path kinds or names are # reserved/read-only, the key is reserved/read-only. @@ -1115,7 +906,7 @@ module Google # The version of the entity that this mutation is being applied to. If this # does not match the current version on the server, the mutation conflicts. # Corresponds to the JSON property `baseVersion` - # @return [String] + # @return [Fixnum] attr_accessor :base_version # A Datastore data object. @@ -1126,17 +917,25 @@ module Google # @return [Google::Apis::DatastoreV1::Entity] attr_accessor :update + # A Datastore data object. + # An entity is limited to 1 megabyte when stored. That _roughly_ + # corresponds to a limit of 1 megabyte for the serialized form of this + # message. + # Corresponds to the JSON property `upsert` + # @return [Google::Apis::DatastoreV1::Entity] + attr_accessor :upsert + def initialize(**args) update!(**args) end # Update properties of this object def update!(**args) - @upsert = args[:upsert] if args.key?(:upsert) @delete = args[:delete] if args.key?(:delete) @insert = args[:insert] if args.key?(:insert) @base_version = args[:base_version] if args.key?(:base_version) @update = args[:update] if args.key?(:update) + @upsert = args[:upsert] if args.key?(:upsert) end end @@ -1187,6 +986,13 @@ module Google class MutationResult include Google::Apis::Core::Hashable + # Whether a conflict was detected for this mutation. Always false when a + # conflict detection strategy field is not set in the mutation. + # Corresponds to the JSON property `conflictDetected` + # @return [Boolean] + attr_accessor :conflict_detected + alias_method :conflict_detected?, :conflict_detected + # A unique identifier for an entity. # If a key's partition ID or any of its path kinds or names are # reserved/read-only, the key is reserved/read-only. @@ -1201,25 +1007,18 @@ module Google # that is strictly greater than the version of any previous entity and less # than the version of any possible future entity. # Corresponds to the JSON property `version` - # @return [String] + # @return [Fixnum] attr_accessor :version - # Whether a conflict was detected for this mutation. Always false when a - # conflict detection strategy field is not set in the mutation. - # Corresponds to the JSON property `conflictDetected` - # @return [Boolean] - attr_accessor :conflict_detected - alias_method :conflict_detected?, :conflict_detected - def initialize(**args) update!(**args) end # Update properties of this object def update!(**args) + @conflict_detected = args[:conflict_detected] if args.key?(:conflict_detected) @key = args[:key] if args.key?(:key) @version = args[:version] if args.key?(:version) - @conflict_detected = args[:conflict_detected] if args.key?(:conflict_detected) end end @@ -1227,12 +1026,6 @@ module Google class GqlQuery include Google::Apis::Core::Hashable - # A string of the format described - # [here](https://cloud.google.com/datastore/docs/apis/gql/gql_reference). - # Corresponds to the JSON property `queryString` - # @return [String] - attr_accessor :query_string - # When false, the query string must not contain any literals and instead must # bind all values. For example, # `SELECT * FROM Kind WHERE a = 'string literal'` is not allowed, while @@ -1258,16 +1051,22 @@ module Google # @return [Array] attr_accessor :positional_bindings + # A string of the format described + # [here](https://cloud.google.com/datastore/docs/apis/gql/gql_reference). + # Corresponds to the JSON property `queryString` + # @return [String] + attr_accessor :query_string + def initialize(**args) update!(**args) end # Update properties of this object def update!(**args) - @query_string = args[:query_string] if args.key?(:query_string) @allow_literals = args[:allow_literals] if args.key?(:allow_literals) @named_bindings = args[:named_bindings] if args.key?(:named_bindings) @positional_bindings = args[:positional_bindings] if args.key?(:positional_bindings) + @query_string = args[:query_string] if args.key?(:query_string) end end @@ -1275,24 +1074,225 @@ module Google class Filter include Google::Apis::Core::Hashable - # A filter that merges multiple other filters using the given operator. - # Corresponds to the JSON property `compositeFilter` - # @return [Google::Apis::DatastoreV1::CompositeFilter] - attr_accessor :composite_filter - # A filter on a specific property. # Corresponds to the JSON property `propertyFilter` # @return [Google::Apis::DatastoreV1::PropertyFilter] attr_accessor :property_filter + # A filter that merges multiple other filters using the given operator. + # Corresponds to the JSON property `compositeFilter` + # @return [Google::Apis::DatastoreV1::CompositeFilter] + attr_accessor :composite_filter + def initialize(**args) update!(**args) end # Update properties of this object def update!(**args) - @composite_filter = args[:composite_filter] if args.key?(:composite_filter) @property_filter = args[:property_filter] if args.key?(:property_filter) + @composite_filter = args[:composite_filter] if args.key?(:composite_filter) + end + end + + # The request for Datastore.Rollback. + class RollbackRequest + include Google::Apis::Core::Hashable + + # The transaction identifier, returned by a call to + # Datastore.BeginTransaction. + # Corresponds to the JSON property `transaction` + # NOTE: Values are automatically base64 encoded/decoded in the client library. + # @return [String] + attr_accessor :transaction + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @transaction = args[:transaction] if args.key?(:transaction) + end + end + + # The request for Datastore.RunQuery. + class RunQueryRequest + include Google::Apis::Core::Hashable + + # A query for entities. + # Corresponds to the JSON property `query` + # @return [Google::Apis::DatastoreV1::Query] + attr_accessor :query + + # A partition ID identifies a grouping of entities. The grouping is always + # by project and namespace, however the namespace ID may be empty. + # A partition ID contains several dimensions: + # project ID and namespace ID. + # Partition dimensions: + # - May be `""`. + # - Must be valid UTF-8 bytes. + # - Must have values that match regex `[A-Za-z\d\.\-_]`1,100`` + # If the value of any dimension matches regex `__.*__`, the partition is + # reserved/read-only. + # A reserved/read-only partition ID is forbidden in certain documented + # contexts. + # Foreign partition IDs (in which the project ID does + # not match the context project ID ) are discouraged. + # Reads and writes of foreign partition IDs may fail if the project is not in an + # active state. + # Corresponds to the JSON property `partitionId` + # @return [Google::Apis::DatastoreV1::PartitionId] + attr_accessor :partition_id + + # A [GQL query](https://cloud.google.com/datastore/docs/apis/gql/gql_reference). + # Corresponds to the JSON property `gqlQuery` + # @return [Google::Apis::DatastoreV1::GqlQuery] + attr_accessor :gql_query + + # The options shared by read requests. + # Corresponds to the JSON property `readOptions` + # @return [Google::Apis::DatastoreV1::ReadOptions] + attr_accessor :read_options + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @query = args[:query] if args.key?(:query) + @partition_id = args[:partition_id] if args.key?(:partition_id) + @gql_query = args[:gql_query] if args.key?(:gql_query) + @read_options = args[:read_options] if args.key?(:read_options) + end + end + + # A filter that merges multiple other filters using the given operator. + class CompositeFilter + include Google::Apis::Core::Hashable + + # The list of filters to combine. + # Must contain at least one filter. + # Corresponds to the JSON property `filters` + # @return [Array] + attr_accessor :filters + + # The operator for combining multiple filters. + # Corresponds to the JSON property `op` + # @return [String] + attr_accessor :op + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @filters = args[:filters] if args.key?(:filters) + @op = args[:op] if args.key?(:op) + end + end + + # The response for Datastore.AllocateIds. + class AllocateIdsResponse + include Google::Apis::Core::Hashable + + # The keys specified in the request (in the same order), each with + # its key path completed with a newly allocated ID. + # Corresponds to the JSON property `keys` + # @return [Array] + attr_accessor :keys + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @keys = args[:keys] if args.key?(:keys) + end + end + + # A query for entities. + class Query + include Google::Apis::Core::Hashable + + # The projection to return. Defaults to returning all properties. + # Corresponds to the JSON property `projection` + # @return [Array] + attr_accessor :projection + + # An ending point for the query results. Query cursors are + # returned in query result batches and + # [can only be used to limit the same query](https://cloud.google.com/datastore/ + # docs/concepts/queries#cursors_limits_and_offsets). + # Corresponds to the JSON property `endCursor` + # NOTE: Values are automatically base64 encoded/decoded in the client library. + # @return [String] + attr_accessor :end_cursor + + # The maximum number of results to return. Applies after all other + # constraints. Optional. + # Unspecified is interpreted as no limit. + # Must be >= 0 if specified. + # Corresponds to the JSON property `limit` + # @return [Fixnum] + attr_accessor :limit + + # A holder for any type of filter. + # Corresponds to the JSON property `filter` + # @return [Google::Apis::DatastoreV1::Filter] + attr_accessor :filter + + # The number of results to skip. Applies before limit, but after all other + # constraints. Optional. Must be >= 0 if specified. + # Corresponds to the JSON property `offset` + # @return [Fixnum] + attr_accessor :offset + + # A starting point for the query results. Query cursors are + # returned in query result batches and + # [can only be used to continue the same query](https://cloud.google.com/ + # datastore/docs/concepts/queries#cursors_limits_and_offsets). + # Corresponds to the JSON property `startCursor` + # NOTE: Values are automatically base64 encoded/decoded in the client library. + # @return [String] + attr_accessor :start_cursor + + # The kinds to query (if empty, returns entities of all kinds). + # Currently at most 1 kind may be specified. + # Corresponds to the JSON property `kind` + # @return [Array] + attr_accessor :kind + + # The properties to make distinct. The query results will contain the first + # result for each distinct combination of values for the given properties + # (if empty, all results are returned). + # Corresponds to the JSON property `distinctOn` + # @return [Array] + attr_accessor :distinct_on + + # The order to apply to the query results (if empty, order is unspecified). + # Corresponds to the JSON property `order` + # @return [Array] + attr_accessor :order + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @projection = args[:projection] if args.key?(:projection) + @end_cursor = args[:end_cursor] if args.key?(:end_cursor) + @limit = args[:limit] if args.key?(:limit) + @filter = args[:filter] if args.key?(:filter) + @offset = args[:offset] if args.key?(:offset) + @start_cursor = args[:start_cursor] if args.key?(:start_cursor) + @kind = args[:kind] if args.key?(:kind) + @distinct_on = args[:distinct_on] if args.key?(:distinct_on) + @order = args[:order] if args.key?(:order) end end end diff --git a/generated/google/apis/datastore_v1/representations.rb b/generated/google/apis/datastore_v1/representations.rb index 384b2d9b4..090171f48 100644 --- a/generated/google/apis/datastore_v1/representations.rb +++ b/generated/google/apis/datastore_v1/representations.rb @@ -22,36 +22,6 @@ module Google module Apis module DatastoreV1 - class RunQueryRequest - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class RollbackRequest - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class CompositeFilter - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class AllocateIdsResponse - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class Query - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - class PropertyFilter class Representation < Google::Apis::Core::JsonRepresentation; end @@ -64,13 +34,13 @@ module Google include Google::Apis::Core::JsonObjectSupport end - class Value + class CommitResponse class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end - class CommitResponse + class Value class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport @@ -88,13 +58,13 @@ module Google include Google::Apis::Core::JsonObjectSupport end - class LookupRequest + class QueryResultBatch class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end - class QueryResultBatch + class LookupRequest class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport @@ -118,7 +88,7 @@ module Google include Google::Apis::Core::JsonObjectSupport end - class AllocateIdsRequest + class RunQueryResponse class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport @@ -130,19 +100,7 @@ module Google include Google::Apis::Core::JsonObjectSupport end - class RunQueryResponse - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class CommitRequest - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class PropertyOrder + class AllocateIdsRequest class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport @@ -154,13 +112,19 @@ module Google include Google::Apis::Core::JsonObjectSupport end - class KindExpression + class PropertyOrder class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end - class LatLng + class CommitRequest + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class KindExpression class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport @@ -172,19 +136,25 @@ module Google include Google::Apis::Core::JsonObjectSupport end + class LatLng + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + class PropertyReference class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end - class Projection + class ArrayValue class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end - class ArrayValue + class Projection class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport @@ -226,16 +196,316 @@ module Google include Google::Apis::Core::JsonObjectSupport end + class RollbackRequest + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + class RunQueryRequest + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class CompositeFilter + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class AllocateIdsResponse + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class Query + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class PropertyFilter # @private class Representation < Google::Apis::Core::JsonRepresentation + property :value, as: 'value', class: Google::Apis::DatastoreV1::Value, decorator: Google::Apis::DatastoreV1::Value::Representation + + property :property, as: 'property', class: Google::Apis::DatastoreV1::PropertyReference, decorator: Google::Apis::DatastoreV1::PropertyReference::Representation + + property :op, as: 'op' + end + end + + class EntityResult + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :cursor, :base64 => true, as: 'cursor' + property :version, :numeric_string => true, as: 'version' + property :entity, as: 'entity', class: Google::Apis::DatastoreV1::Entity, decorator: Google::Apis::DatastoreV1::Entity::Representation + + end + end + + class CommitResponse + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :mutation_results, as: 'mutationResults', class: Google::Apis::DatastoreV1::MutationResult, decorator: Google::Apis::DatastoreV1::MutationResult::Representation + + property :index_updates, as: 'indexUpdates' + end + end + + class Value + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :meaning, as: 'meaning' + property :array_value, as: 'arrayValue', class: Google::Apis::DatastoreV1::ArrayValue, decorator: Google::Apis::DatastoreV1::ArrayValue::Representation + + property :entity_value, as: 'entityValue', class: Google::Apis::DatastoreV1::Entity, decorator: Google::Apis::DatastoreV1::Entity::Representation + + property :geo_point_value, as: 'geoPointValue', class: Google::Apis::DatastoreV1::LatLng, decorator: Google::Apis::DatastoreV1::LatLng::Representation + + property :key_value, as: 'keyValue', class: Google::Apis::DatastoreV1::Key, decorator: Google::Apis::DatastoreV1::Key::Representation + + property :integer_value, :numeric_string => true, as: 'integerValue' + property :string_value, as: 'stringValue' + property :exclude_from_indexes, as: 'excludeFromIndexes' + property :double_value, as: 'doubleValue' + property :timestamp_value, as: 'timestampValue' + property :boolean_value, as: 'booleanValue' + property :null_value, as: 'nullValue' + property :blob_value, :base64 => true, as: 'blobValue' + end + end + + class PartitionId + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :namespace_id, as: 'namespaceId' + property :project_id, as: 'projectId' + end + end + + class Entity + # @private + class Representation < Google::Apis::Core::JsonRepresentation + hash :properties, as: 'properties', class: Google::Apis::DatastoreV1::Value, decorator: Google::Apis::DatastoreV1::Value::Representation + + property :key, as: 'key', class: Google::Apis::DatastoreV1::Key, decorator: Google::Apis::DatastoreV1::Key::Representation + + end + end + + class QueryResultBatch + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :skipped_cursor, :base64 => true, as: 'skippedCursor' + property :skipped_results, as: 'skippedResults' + property :entity_result_type, as: 'entityResultType' + collection :entity_results, as: 'entityResults', class: Google::Apis::DatastoreV1::EntityResult, decorator: Google::Apis::DatastoreV1::EntityResult::Representation + + property :end_cursor, :base64 => true, as: 'endCursor' + property :more_results, as: 'moreResults' + property :snapshot_version, :numeric_string => true, as: 'snapshotVersion' + end + end + + class LookupRequest + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :keys, as: 'keys', class: Google::Apis::DatastoreV1::Key, decorator: Google::Apis::DatastoreV1::Key::Representation + property :read_options, as: 'readOptions', class: Google::Apis::DatastoreV1::ReadOptions, decorator: Google::Apis::DatastoreV1::ReadOptions::Representation + end + end + + class PathElement + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :name, as: 'name' + property :kind, as: 'kind' + property :id, :numeric_string => true, as: 'id' + end + end + + class GqlQueryParameter + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :cursor, :base64 => true, as: 'cursor' + property :value, as: 'value', class: Google::Apis::DatastoreV1::Value, decorator: Google::Apis::DatastoreV1::Value::Representation + + end + end + + class BeginTransactionResponse + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :transaction, :base64 => true, as: 'transaction' + end + end + + class RunQueryResponse + # @private + class Representation < Google::Apis::Core::JsonRepresentation property :query, as: 'query', class: Google::Apis::DatastoreV1::Query, decorator: Google::Apis::DatastoreV1::Query::Representation + property :batch, as: 'batch', class: Google::Apis::DatastoreV1::QueryResultBatch, decorator: Google::Apis::DatastoreV1::QueryResultBatch::Representation + + end + end + + class LookupResponse + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :deferred, as: 'deferred', class: Google::Apis::DatastoreV1::Key, decorator: Google::Apis::DatastoreV1::Key::Representation + + collection :found, as: 'found', class: Google::Apis::DatastoreV1::EntityResult, decorator: Google::Apis::DatastoreV1::EntityResult::Representation + + collection :missing, as: 'missing', class: Google::Apis::DatastoreV1::EntityResult, decorator: Google::Apis::DatastoreV1::EntityResult::Representation + + end + end + + class AllocateIdsRequest + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :keys, as: 'keys', class: Google::Apis::DatastoreV1::Key, decorator: Google::Apis::DatastoreV1::Key::Representation + + end + end + + class BeginTransactionRequest + # @private + class Representation < Google::Apis::Core::JsonRepresentation + end + end + + class PropertyOrder + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :property, as: 'property', class: Google::Apis::DatastoreV1::PropertyReference, decorator: Google::Apis::DatastoreV1::PropertyReference::Representation + + property :direction, as: 'direction' + end + end + + class CommitRequest + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :transaction, :base64 => true, as: 'transaction' + property :mode, as: 'mode' + collection :mutations, as: 'mutations', class: Google::Apis::DatastoreV1::Mutation, decorator: Google::Apis::DatastoreV1::Mutation::Representation + + end + end + + class KindExpression + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :name, as: 'name' + end + end + + class Key + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :path, as: 'path', class: Google::Apis::DatastoreV1::PathElement, decorator: Google::Apis::DatastoreV1::PathElement::Representation + property :partition_id, as: 'partitionId', class: Google::Apis::DatastoreV1::PartitionId, decorator: Google::Apis::DatastoreV1::PartitionId::Representation - property :gql_query, as: 'gqlQuery', class: Google::Apis::DatastoreV1::GqlQuery, decorator: Google::Apis::DatastoreV1::GqlQuery::Representation + end + end + + class LatLng + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :latitude, as: 'latitude' + property :longitude, as: 'longitude' + end + end + + class PropertyReference + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :name, as: 'name' + end + end + + class ArrayValue + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :values, as: 'values', class: Google::Apis::DatastoreV1::Value, decorator: Google::Apis::DatastoreV1::Value::Representation + + end + end + + class Projection + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :property, as: 'property', class: Google::Apis::DatastoreV1::PropertyReference, decorator: Google::Apis::DatastoreV1::PropertyReference::Representation + + end + end + + class Mutation + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :delete, as: 'delete', class: Google::Apis::DatastoreV1::Key, decorator: Google::Apis::DatastoreV1::Key::Representation + + property :insert, as: 'insert', class: Google::Apis::DatastoreV1::Entity, decorator: Google::Apis::DatastoreV1::Entity::Representation + + property :base_version, :numeric_string => true, as: 'baseVersion' + property :update, as: 'update', class: Google::Apis::DatastoreV1::Entity, decorator: Google::Apis::DatastoreV1::Entity::Representation + + property :upsert, as: 'upsert', class: Google::Apis::DatastoreV1::Entity, decorator: Google::Apis::DatastoreV1::Entity::Representation + + end + end + + class ReadOptions + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :read_consistency, as: 'readConsistency' + property :transaction, :base64 => true, as: 'transaction' + end + end + + class RollbackResponse + # @private + class Representation < Google::Apis::Core::JsonRepresentation + end + end + + class MutationResult + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :conflict_detected, as: 'conflictDetected' + property :key, as: 'key', class: Google::Apis::DatastoreV1::Key, decorator: Google::Apis::DatastoreV1::Key::Representation + + property :version, :numeric_string => true, as: 'version' + end + end + + class GqlQuery + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :allow_literals, as: 'allowLiterals' + hash :named_bindings, as: 'namedBindings', class: Google::Apis::DatastoreV1::GqlQueryParameter, decorator: Google::Apis::DatastoreV1::GqlQueryParameter::Representation + + collection :positional_bindings, as: 'positionalBindings', class: Google::Apis::DatastoreV1::GqlQueryParameter, decorator: Google::Apis::DatastoreV1::GqlQueryParameter::Representation + + property :query_string, as: 'queryString' + end + end + + class Filter + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :property_filter, as: 'propertyFilter', class: Google::Apis::DatastoreV1::PropertyFilter, decorator: Google::Apis::DatastoreV1::PropertyFilter::Representation + + property :composite_filter, as: 'compositeFilter', class: Google::Apis::DatastoreV1::CompositeFilter, decorator: Google::Apis::DatastoreV1::CompositeFilter::Representation end end @@ -247,6 +517,20 @@ module Google end end + class RunQueryRequest + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :query, as: 'query', class: Google::Apis::DatastoreV1::Query, decorator: Google::Apis::DatastoreV1::Query::Representation + + property :partition_id, as: 'partitionId', class: Google::Apis::DatastoreV1::PartitionId, decorator: Google::Apis::DatastoreV1::PartitionId::Representation + + property :gql_query, as: 'gqlQuery', class: Google::Apis::DatastoreV1::GqlQuery, decorator: Google::Apis::DatastoreV1::GqlQuery::Representation + + property :read_options, as: 'readOptions', class: Google::Apis::DatastoreV1::ReadOptions, decorator: Google::Apis::DatastoreV1::ReadOptions::Representation + + end + end + class CompositeFilter # @private class Representation < Google::Apis::Core::JsonRepresentation @@ -267,304 +551,20 @@ module Google class Query # @private class Representation < Google::Apis::Core::JsonRepresentation + collection :projection, as: 'projection', class: Google::Apis::DatastoreV1::Projection, decorator: Google::Apis::DatastoreV1::Projection::Representation + + property :end_cursor, :base64 => true, as: 'endCursor' property :limit, as: 'limit' property :filter, as: 'filter', class: Google::Apis::DatastoreV1::Filter, decorator: Google::Apis::DatastoreV1::Filter::Representation - property :start_cursor, :base64 => true, as: 'startCursor' property :offset, as: 'offset' + property :start_cursor, :base64 => true, as: 'startCursor' collection :kind, as: 'kind', class: Google::Apis::DatastoreV1::KindExpression, decorator: Google::Apis::DatastoreV1::KindExpression::Representation collection :distinct_on, as: 'distinctOn', class: Google::Apis::DatastoreV1::PropertyReference, decorator: Google::Apis::DatastoreV1::PropertyReference::Representation collection :order, as: 'order', class: Google::Apis::DatastoreV1::PropertyOrder, decorator: Google::Apis::DatastoreV1::PropertyOrder::Representation - collection :projection, as: 'projection', class: Google::Apis::DatastoreV1::Projection, decorator: Google::Apis::DatastoreV1::Projection::Representation - - property :end_cursor, :base64 => true, as: 'endCursor' - end - end - - class PropertyFilter - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :value, as: 'value', class: Google::Apis::DatastoreV1::Value, decorator: Google::Apis::DatastoreV1::Value::Representation - - property :property, as: 'property', class: Google::Apis::DatastoreV1::PropertyReference, decorator: Google::Apis::DatastoreV1::PropertyReference::Representation - - property :op, as: 'op' - end - end - - class EntityResult - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :version, as: 'version' - property :entity, as: 'entity', class: Google::Apis::DatastoreV1::Entity, decorator: Google::Apis::DatastoreV1::Entity::Representation - - property :cursor, :base64 => true, as: 'cursor' - end - end - - class Value - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :entity_value, as: 'entityValue', class: Google::Apis::DatastoreV1::Entity, decorator: Google::Apis::DatastoreV1::Entity::Representation - - property :geo_point_value, as: 'geoPointValue', class: Google::Apis::DatastoreV1::LatLng, decorator: Google::Apis::DatastoreV1::LatLng::Representation - - property :key_value, as: 'keyValue', class: Google::Apis::DatastoreV1::Key, decorator: Google::Apis::DatastoreV1::Key::Representation - - property :integer_value, as: 'integerValue' - property :string_value, as: 'stringValue' - property :exclude_from_indexes, as: 'excludeFromIndexes' - property :double_value, as: 'doubleValue' - property :timestamp_value, as: 'timestampValue' - property :boolean_value, as: 'booleanValue' - property :null_value, as: 'nullValue' - property :blob_value, :base64 => true, as: 'blobValue' - property :meaning, as: 'meaning' - property :array_value, as: 'arrayValue', class: Google::Apis::DatastoreV1::ArrayValue, decorator: Google::Apis::DatastoreV1::ArrayValue::Representation - - end - end - - class CommitResponse - # @private - class Representation < Google::Apis::Core::JsonRepresentation - collection :mutation_results, as: 'mutationResults', class: Google::Apis::DatastoreV1::MutationResult, decorator: Google::Apis::DatastoreV1::MutationResult::Representation - - property :index_updates, as: 'indexUpdates' - end - end - - class PartitionId - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :namespace_id, as: 'namespaceId' - property :project_id, as: 'projectId' - end - end - - class Entity - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :key, as: 'key', class: Google::Apis::DatastoreV1::Key, decorator: Google::Apis::DatastoreV1::Key::Representation - - hash :properties, as: 'properties', class: Google::Apis::DatastoreV1::Value, decorator: Google::Apis::DatastoreV1::Value::Representation - - end - end - - class LookupRequest - # @private - class Representation < Google::Apis::Core::JsonRepresentation - collection :keys, as: 'keys', class: Google::Apis::DatastoreV1::Key, decorator: Google::Apis::DatastoreV1::Key::Representation - - property :read_options, as: 'readOptions', class: Google::Apis::DatastoreV1::ReadOptions, decorator: Google::Apis::DatastoreV1::ReadOptions::Representation - - end - end - - class QueryResultBatch - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :end_cursor, :base64 => true, as: 'endCursor' - property :more_results, as: 'moreResults' - property :snapshot_version, as: 'snapshotVersion' - property :skipped_cursor, :base64 => true, as: 'skippedCursor' - property :skipped_results, as: 'skippedResults' - property :entity_result_type, as: 'entityResultType' - collection :entity_results, as: 'entityResults', class: Google::Apis::DatastoreV1::EntityResult, decorator: Google::Apis::DatastoreV1::EntityResult::Representation - - end - end - - class PathElement - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :id, as: 'id' - property :name, as: 'name' - property :kind, as: 'kind' - end - end - - class GqlQueryParameter - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :value, as: 'value', class: Google::Apis::DatastoreV1::Value, decorator: Google::Apis::DatastoreV1::Value::Representation - - property :cursor, :base64 => true, as: 'cursor' - end - end - - class BeginTransactionResponse - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :transaction, :base64 => true, as: 'transaction' - end - end - - class AllocateIdsRequest - # @private - class Representation < Google::Apis::Core::JsonRepresentation - collection :keys, as: 'keys', class: Google::Apis::DatastoreV1::Key, decorator: Google::Apis::DatastoreV1::Key::Representation - - end - end - - class LookupResponse - # @private - class Representation < Google::Apis::Core::JsonRepresentation - collection :found, as: 'found', class: Google::Apis::DatastoreV1::EntityResult, decorator: Google::Apis::DatastoreV1::EntityResult::Representation - - collection :missing, as: 'missing', class: Google::Apis::DatastoreV1::EntityResult, decorator: Google::Apis::DatastoreV1::EntityResult::Representation - - collection :deferred, as: 'deferred', class: Google::Apis::DatastoreV1::Key, decorator: Google::Apis::DatastoreV1::Key::Representation - - end - end - - class RunQueryResponse - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :batch, as: 'batch', class: Google::Apis::DatastoreV1::QueryResultBatch, decorator: Google::Apis::DatastoreV1::QueryResultBatch::Representation - - property :query, as: 'query', class: Google::Apis::DatastoreV1::Query, decorator: Google::Apis::DatastoreV1::Query::Representation - - end - end - - class CommitRequest - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :mode, as: 'mode' - collection :mutations, as: 'mutations', class: Google::Apis::DatastoreV1::Mutation, decorator: Google::Apis::DatastoreV1::Mutation::Representation - - property :transaction, :base64 => true, as: 'transaction' - end - end - - class PropertyOrder - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :property, as: 'property', class: Google::Apis::DatastoreV1::PropertyReference, decorator: Google::Apis::DatastoreV1::PropertyReference::Representation - - property :direction, as: 'direction' - end - end - - class BeginTransactionRequest - # @private - class Representation < Google::Apis::Core::JsonRepresentation - end - end - - class KindExpression - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :name, as: 'name' - end - end - - class LatLng - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :latitude, as: 'latitude' - property :longitude, as: 'longitude' - end - end - - class Key - # @private - class Representation < Google::Apis::Core::JsonRepresentation - collection :path, as: 'path', class: Google::Apis::DatastoreV1::PathElement, decorator: Google::Apis::DatastoreV1::PathElement::Representation - - property :partition_id, as: 'partitionId', class: Google::Apis::DatastoreV1::PartitionId, decorator: Google::Apis::DatastoreV1::PartitionId::Representation - - end - end - - class PropertyReference - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :name, as: 'name' - end - end - - class Projection - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :property, as: 'property', class: Google::Apis::DatastoreV1::PropertyReference, decorator: Google::Apis::DatastoreV1::PropertyReference::Representation - - end - end - - class ArrayValue - # @private - class Representation < Google::Apis::Core::JsonRepresentation - collection :values, as: 'values', class: Google::Apis::DatastoreV1::Value, decorator: Google::Apis::DatastoreV1::Value::Representation - - end - end - - class Mutation - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :upsert, as: 'upsert', class: Google::Apis::DatastoreV1::Entity, decorator: Google::Apis::DatastoreV1::Entity::Representation - - property :delete, as: 'delete', class: Google::Apis::DatastoreV1::Key, decorator: Google::Apis::DatastoreV1::Key::Representation - - property :insert, as: 'insert', class: Google::Apis::DatastoreV1::Entity, decorator: Google::Apis::DatastoreV1::Entity::Representation - - property :base_version, as: 'baseVersion' - property :update, as: 'update', class: Google::Apis::DatastoreV1::Entity, decorator: Google::Apis::DatastoreV1::Entity::Representation - - end - end - - class ReadOptions - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :read_consistency, as: 'readConsistency' - property :transaction, :base64 => true, as: 'transaction' - end - end - - class RollbackResponse - # @private - class Representation < Google::Apis::Core::JsonRepresentation - end - end - - class MutationResult - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :key, as: 'key', class: Google::Apis::DatastoreV1::Key, decorator: Google::Apis::DatastoreV1::Key::Representation - - property :version, as: 'version' - property :conflict_detected, as: 'conflictDetected' - end - end - - class GqlQuery - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :query_string, as: 'queryString' - property :allow_literals, as: 'allowLiterals' - hash :named_bindings, as: 'namedBindings', class: Google::Apis::DatastoreV1::GqlQueryParameter, decorator: Google::Apis::DatastoreV1::GqlQueryParameter::Representation - - collection :positional_bindings, as: 'positionalBindings', class: Google::Apis::DatastoreV1::GqlQueryParameter, decorator: Google::Apis::DatastoreV1::GqlQueryParameter::Representation - - end - end - - class Filter - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :composite_filter, as: 'compositeFilter', class: Google::Apis::DatastoreV1::CompositeFilter, decorator: Google::Apis::DatastoreV1::CompositeFilter::Representation - - property :property_filter, as: 'propertyFilter', class: Google::Apis::DatastoreV1::PropertyFilter, decorator: Google::Apis::DatastoreV1::PropertyFilter::Representation - end end end diff --git a/generated/google/apis/datastore_v1/service.rb b/generated/google/apis/datastore_v1/service.rb index 438b77dba..8c6ae3911 100644 --- a/generated/google/apis/datastore_v1/service.rb +++ b/generated/google/apis/datastore_v1/service.rb @@ -45,13 +45,14 @@ module Google def initialize super('https://datastore.googleapis.com/', '') + @batch_path = 'batch' end - # Allocates IDs for the given keys, which is useful for referencing an entity - # before it is inserted. + # Commits a transaction, optionally creating, deleting or modifying some + # entities. # @param [String] project_id # The ID of the project against which to make the request. - # @param [Google::Apis::DatastoreV1::AllocateIdsRequest] allocate_ids_request_object + # @param [Google::Apis::DatastoreV1::CommitRequest] commit_request_object # @param [String] quota_user # Available to use for quota purposes for server-side applications. Can be any # arbitrary string assigned to a user, but should not exceed 40 characters. @@ -61,20 +62,20 @@ module Google # Request-specific options # # @yield [result, err] Result & error if block supplied - # @yieldparam result [Google::Apis::DatastoreV1::AllocateIdsResponse] parsed result object + # @yieldparam result [Google::Apis::DatastoreV1::CommitResponse] parsed result object # @yieldparam err [StandardError] error object if request failed # - # @return [Google::Apis::DatastoreV1::AllocateIdsResponse] + # @return [Google::Apis::DatastoreV1::CommitResponse] # # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required - def allocate_project_ids(project_id, allocate_ids_request_object = nil, quota_user: nil, fields: nil, options: nil, &block) - command = make_simple_command(:post, 'v1/projects/{projectId}:allocateIds', options) - command.request_representation = Google::Apis::DatastoreV1::AllocateIdsRequest::Representation - command.request_object = allocate_ids_request_object - command.response_representation = Google::Apis::DatastoreV1::AllocateIdsResponse::Representation - command.response_class = Google::Apis::DatastoreV1::AllocateIdsResponse + def commit_project(project_id, commit_request_object = nil, quota_user: nil, fields: nil, options: nil, &block) + command = make_simple_command(:post, 'v1/projects/{projectId}:commit', options) + command.request_representation = Google::Apis::DatastoreV1::CommitRequest::Representation + command.request_object = commit_request_object + command.response_representation = Google::Apis::DatastoreV1::CommitResponse::Representation + command.response_class = Google::Apis::DatastoreV1::CommitResponse command.params['projectId'] = project_id unless project_id.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['fields'] = fields unless fields.nil? @@ -114,40 +115,6 @@ module Google execute_or_queue_command(command, &block) end - # Commits a transaction, optionally creating, deleting or modifying some - # entities. - # @param [String] project_id - # The ID of the project against which to make the request. - # @param [Google::Apis::DatastoreV1::CommitRequest] commit_request_object - # @param [String] quota_user - # Available to use for quota purposes for server-side applications. Can be any - # arbitrary string assigned to a user, but should not exceed 40 characters. - # @param [String] fields - # Selector specifying which fields to include in a partial response. - # @param [Google::Apis::RequestOptions] options - # Request-specific options - # - # @yield [result, err] Result & error if block supplied - # @yieldparam result [Google::Apis::DatastoreV1::CommitResponse] parsed result object - # @yieldparam err [StandardError] error object if request failed - # - # @return [Google::Apis::DatastoreV1::CommitResponse] - # - # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried - # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification - # @raise [Google::Apis::AuthorizationError] Authorization is required - def commit_project(project_id, commit_request_object = nil, quota_user: nil, fields: nil, options: nil, &block) - command = make_simple_command(:post, 'v1/projects/{projectId}:commit', options) - command.request_representation = Google::Apis::DatastoreV1::CommitRequest::Representation - command.request_object = commit_request_object - command.response_representation = Google::Apis::DatastoreV1::CommitResponse::Representation - command.response_class = Google::Apis::DatastoreV1::CommitResponse - command.params['projectId'] = project_id unless project_id.nil? - command.query['quotaUser'] = quota_user unless quota_user.nil? - command.query['fields'] = fields unless fields.nil? - execute_or_queue_command(command, &block) - end - # Queries for entities. # @param [String] project_id # The ID of the project against which to make the request. @@ -246,6 +213,40 @@ module Google command.query['fields'] = fields unless fields.nil? execute_or_queue_command(command, &block) end + + # Allocates IDs for the given keys, which is useful for referencing an entity + # before it is inserted. + # @param [String] project_id + # The ID of the project against which to make the request. + # @param [Google::Apis::DatastoreV1::AllocateIdsRequest] allocate_ids_request_object + # @param [String] quota_user + # Available to use for quota purposes for server-side applications. Can be any + # arbitrary string assigned to a user, but should not exceed 40 characters. + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::DatastoreV1::AllocateIdsResponse] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::DatastoreV1::AllocateIdsResponse] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def allocate_project_ids(project_id, allocate_ids_request_object = nil, quota_user: nil, fields: nil, options: nil, &block) + command = make_simple_command(:post, 'v1/projects/{projectId}:allocateIds', options) + command.request_representation = Google::Apis::DatastoreV1::AllocateIdsRequest::Representation + command.request_object = allocate_ids_request_object + command.response_representation = Google::Apis::DatastoreV1::AllocateIdsResponse::Representation + command.response_class = Google::Apis::DatastoreV1::AllocateIdsResponse + command.params['projectId'] = project_id unless project_id.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + command.query['fields'] = fields unless fields.nil? + execute_or_queue_command(command, &block) + end protected diff --git a/generated/google/apis/deploymentmanager_v2/classes.rb b/generated/google/apis/deploymentmanager_v2/classes.rb index 37c73d80c..5aa824dd6 100644 --- a/generated/google/apis/deploymentmanager_v2/classes.rb +++ b/generated/google/apis/deploymentmanager_v2/classes.rb @@ -231,7 +231,7 @@ module Google # [Output Only] Unique identifier for the resource; defined by the server. # Corresponds to the JSON property `id` - # @return [String] + # @return [Fixnum] attr_accessor :id # [Output Only] Timestamp when the deployment was created, in RFC3339 text @@ -560,7 +560,7 @@ module Google # [Output Only] Unique identifier for the resource; defined by the server. # Corresponds to the JSON property `id` - # @return [String] + # @return [Fixnum] attr_accessor :id # [Output Only] The imported files for this manifest. @@ -679,7 +679,7 @@ module Google # [Output Only] The unique identifier for the resource. This identifier is # defined by the server. # Corresponds to the JSON property `id` - # @return [String] + # @return [Fixnum] attr_accessor :id # [Output Only] The time that this operation was requested. This value is in @@ -745,7 +745,7 @@ module Google # [Output Only] The unique target ID, which identifies a specific incarnation of # the target resource. # Corresponds to the JSON property `targetId` - # @return [String] + # @return [Fixnum] attr_accessor :target_id # [Output Only] The URL of the resource that the operation modifies. For @@ -1042,7 +1042,7 @@ module Google # [Output Only] Unique identifier for the resource; defined by the server. # Corresponds to the JSON property `id` - # @return [String] + # @return [Fixnum] attr_accessor :id # [Output Only] Timestamp when the resource was created or acquired, in RFC3339 @@ -1539,7 +1539,7 @@ module Google # [Output Only] Unique identifier for the resource; defined by the server. # Corresponds to the JSON property `id` - # @return [String] + # @return [Fixnum] attr_accessor :id # [Output Only] Timestamp when the type was created, in RFC3339 text format. diff --git a/generated/google/apis/deploymentmanager_v2/representations.rb b/generated/google/apis/deploymentmanager_v2/representations.rb index 0796cbd0d..632abb6ff 100644 --- a/generated/google/apis/deploymentmanager_v2/representations.rb +++ b/generated/google/apis/deploymentmanager_v2/representations.rb @@ -312,7 +312,7 @@ module Google class Representation < Google::Apis::Core::JsonRepresentation property :description, as: 'description' property :fingerprint, :base64 => true, as: 'fingerprint' - property :id, as: 'id' + property :id, :numeric_string => true, as: 'id' property :insert_time, as: 'insertTime' collection :labels, as: 'labels', class: Google::Apis::DeploymentmanagerV2::DeploymentLabelEntry, decorator: Google::Apis::DeploymentmanagerV2::DeploymentLabelEntry::Representation @@ -407,7 +407,7 @@ module Google property :config, as: 'config', class: Google::Apis::DeploymentmanagerV2::ConfigFile, decorator: Google::Apis::DeploymentmanagerV2::ConfigFile::Representation property :expanded_config, as: 'expandedConfig' - property :id, as: 'id' + property :id, :numeric_string => true, as: 'id' collection :imports, as: 'imports', class: Google::Apis::DeploymentmanagerV2::ImportFile, decorator: Google::Apis::DeploymentmanagerV2::ImportFile::Representation property :insert_time, as: 'insertTime' @@ -437,7 +437,7 @@ module Google property :http_error_message, as: 'httpErrorMessage' property :http_error_status_code, as: 'httpErrorStatusCode' - property :id, as: 'id' + property :id, :numeric_string => true, as: 'id' property :insert_time, as: 'insertTime' property :kind, as: 'kind' property :name, as: 'name' @@ -448,7 +448,7 @@ module Google property :start_time, as: 'startTime' property :status, as: 'status' property :status_message, as: 'statusMessage' - property :target_id, as: 'targetId' + property :target_id, :numeric_string => true, as: 'targetId' property :target_link, as: 'targetLink' property :user, as: 'user' collection :warnings, as: 'warnings', class: Google::Apis::DeploymentmanagerV2::Operation::Warning, decorator: Google::Apis::DeploymentmanagerV2::Operation::Warning::Representation @@ -522,7 +522,7 @@ module Google property :access_control, as: 'accessControl', class: Google::Apis::DeploymentmanagerV2::ResourceAccessControl, decorator: Google::Apis::DeploymentmanagerV2::ResourceAccessControl::Representation property :final_properties, as: 'finalProperties' - property :id, as: 'id' + property :id, :numeric_string => true, as: 'id' property :insert_time, as: 'insertTime' property :manifest, as: 'manifest' property :name, as: 'name' @@ -665,7 +665,7 @@ module Google class Type # @private class Representation < Google::Apis::Core::JsonRepresentation - property :id, as: 'id' + property :id, :numeric_string => true, as: 'id' property :insert_time, as: 'insertTime' property :name, as: 'name' property :operation, as: 'operation', class: Google::Apis::DeploymentmanagerV2::Operation, decorator: Google::Apis::DeploymentmanagerV2::Operation::Representation diff --git a/generated/google/apis/deploymentmanager_v2/service.rb b/generated/google/apis/deploymentmanager_v2/service.rb index 51bd51e8b..aef1253d0 100644 --- a/generated/google/apis/deploymentmanager_v2/service.rb +++ b/generated/google/apis/deploymentmanager_v2/service.rb @@ -50,6 +50,7 @@ module Google def initialize super('https://www.googleapis.com/', 'deploymentmanager/v2/projects/') + @batch_path = 'batch' end # Cancels and removes the preview currently associated with the deployment. diff --git a/generated/google/apis/dfareporting_v2_6/classes.rb b/generated/google/apis/dfareporting_v2_6/classes.rb index cf90c96b1..a507b5b6b 100644 --- a/generated/google/apis/dfareporting_v2_6/classes.rb +++ b/generated/google/apis/dfareporting_v2_6/classes.rb @@ -28,7 +28,7 @@ module Google # Account permissions assigned to this account. # Corresponds to the JSON property `accountPermissionIds` - # @return [Array] + # @return [Array] attr_accessor :account_permission_ids # Profile for this account. This is a read-only field that can be left blank. @@ -56,12 +56,12 @@ module Google # User role permissions available to the user roles of this account. # Corresponds to the JSON property `availablePermissionIds` - # @return [Array] + # @return [Array] attr_accessor :available_permission_ids # ID of the country associated with this account. # Corresponds to the JSON property `countryId` - # @return [String] + # @return [Fixnum] attr_accessor :country_id # ID of currency associated with this account. This is a required field. @@ -114,12 +114,12 @@ module Google # - "47" for BGN # - "48" for HRK # Corresponds to the JSON property `currencyId` - # @return [String] + # @return [Fixnum] attr_accessor :currency_id # Default placement dimensions for this account. # Corresponds to the JSON property `defaultCreativeSizeId` - # @return [String] + # @return [Fixnum] attr_accessor :default_creative_size_id # Description of this account. @@ -129,7 +129,7 @@ module Google # ID of this account. This is a read-only, auto-generated field. # Corresponds to the JSON property `id` - # @return [String] + # @return [Fixnum] attr_accessor :id # Identifies what kind of resource this is. Value: the fixed string " @@ -162,7 +162,7 @@ module Google # Maximum image size allowed for this account. # Corresponds to the JSON property `maximumImageSize` - # @return [String] + # @return [Fixnum] attr_accessor :maximum_image_size # Name of this account. This is a required field, and must be less than 128 @@ -192,7 +192,7 @@ module Google # File size limit in kilobytes of Rich Media teaser creatives. Must be between 1 # and 10240. # Corresponds to the JSON property `teaserSizeLimit` - # @return [String] + # @return [Fixnum] attr_accessor :teaser_size_limit def initialize(**args) @@ -229,12 +229,12 @@ module Google # ID of the account. # Corresponds to the JSON property `accountId` - # @return [String] + # @return [Fixnum] attr_accessor :account_id # Ads that have been activated for the account # Corresponds to the JSON property `activeAds` - # @return [String] + # @return [Fixnum] attr_accessor :active_ads # Maximum number of active ads allowed for the account. @@ -244,7 +244,7 @@ module Google # Ads that can be activated for the account. # Corresponds to the JSON property `availableAds` - # @return [String] + # @return [Fixnum] attr_accessor :available_ads # Identifies what kind of resource this is. Value: the fixed string " @@ -283,7 +283,7 @@ module Google # ID of this account permission. # Corresponds to the JSON property `id` - # @return [String] + # @return [Fixnum] attr_accessor :id # Identifies what kind of resource this is. Value: the fixed string " @@ -304,7 +304,7 @@ module Google # Permission group of this account permission. # Corresponds to the JSON property `permissionGroupId` - # @return [String] + # @return [Fixnum] attr_accessor :permission_group_id def initialize(**args) @@ -329,7 +329,7 @@ module Google # ID of this account permission group. # Corresponds to the JSON property `id` - # @return [String] + # @return [Fixnum] attr_accessor :id # Identifies what kind of resource this is. Value: the fixed string " @@ -416,7 +416,7 @@ module Google # Account ID of the user profile. This is a read-only field that can be left # blank. # Corresponds to the JSON property `accountId` - # @return [String] + # @return [Fixnum] attr_accessor :account_id # Whether this user profile is active. This defaults to false, and must be set @@ -449,7 +449,7 @@ module Google # ID of the user profile. This is a read-only, auto-generated field. # Corresponds to the JSON property `id` - # @return [String] + # @return [Fixnum] attr_accessor :id # Identifies what kind of resource this is. Value: the fixed string " @@ -495,7 +495,7 @@ module Google # Subaccount ID of the user profile. This is a read-only field that can be left # blank. # Corresponds to the JSON property `subaccountId` - # @return [String] + # @return [Fixnum] attr_accessor :subaccount_id # Trafficker type of this user profile. @@ -516,7 +516,7 @@ module Google # User role ID of the user profile. This is a required field. # Corresponds to the JSON property `userRoleId` - # @return [String] + # @return [Fixnum] attr_accessor :user_role_id def initialize(**args) @@ -646,7 +646,7 @@ module Google # Account ID of this ad. This is a read-only field that can be left blank. # Corresponds to the JSON property `accountId` - # @return [String] + # @return [Fixnum] attr_accessor :account_id # Whether this ad is active. When true, archived must be false. @@ -657,7 +657,7 @@ module Google # Advertiser ID of this ad. This is a required field on insertion. # Corresponds to the JSON property `advertiserId` - # @return [String] + # @return [Fixnum] attr_accessor :advertiser_id # Represents a DimensionValue resource. @@ -674,12 +674,12 @@ module Google # Audience segment ID that is being targeted for this ad. Applicable when type # is AD_SERVING_STANDARD_AD. # Corresponds to the JSON property `audienceSegmentId` - # @return [String] + # @return [Fixnum] attr_accessor :audience_segment_id # Campaign ID of this ad. This is a required field on insertion. # Corresponds to the JSON property `campaignId` - # @return [String] + # @return [Fixnum] attr_accessor :campaign_id # Represents a DimensionValue resource. @@ -774,7 +774,7 @@ module Google # ID of this ad. This is a read-only, auto-generated field. # Corresponds to the JSON property `id` - # @return [String] + # @return [Fixnum] attr_accessor :id # Represents a DimensionValue resource. @@ -846,7 +846,7 @@ module Google # Subaccount ID of this ad. This is a read-only field that can be left blank. # Corresponds to the JSON property `subaccountId` - # @return [String] + # @return [Fixnum] attr_accessor :subaccount_id # Targeting template ID, used to apply preconfigured targeting information to @@ -854,7 +854,7 @@ module Google # keyValueTargetingExpression, languageTargeting, remarketingListExpression, or # technologyTargeting are set. Applicable when type is AD_SERVING_STANDARD_AD. # Corresponds to the JSON property `targetingTemplateId` - # @return [String] + # @return [Fixnum] attr_accessor :targeting_template_id # Technology Targeting. @@ -936,12 +936,12 @@ module Google # Height of this ad slot. # Corresponds to the JSON property `height` - # @return [String] + # @return [Fixnum] attr_accessor :height # ID of the placement from an external platform that is linked to this ad slot. # Corresponds to the JSON property `linkedPlacementId` - # @return [String] + # @return [Fixnum] attr_accessor :linked_placement_id # Name of this ad slot. @@ -962,7 +962,7 @@ module Google # Width of this ad slot. # Corresponds to the JSON property `width` - # @return [String] + # @return [Fixnum] attr_accessor :width def initialize(**args) @@ -1020,14 +1020,14 @@ module Google # Account ID of this advertiser.This is a read-only field that can be left blank. # Corresponds to the JSON property `accountId` - # @return [String] + # @return [Fixnum] attr_accessor :account_id # ID of the advertiser group this advertiser belongs to. You can group # advertisers for reporting purposes, allowing you to see aggregated information # for all advertisers in each group. # Corresponds to the JSON property `advertiserGroupId` - # @return [String] + # @return [Fixnum] attr_accessor :advertiser_group_id # Suffix added to click-through URL of ad creative associations under this @@ -1039,7 +1039,7 @@ module Google # ID of the click-through event tag to apply by default to the landing pages of # this advertiser's campaigns. # Corresponds to the JSON property `defaultClickThroughEventTagId` - # @return [String] + # @return [Fixnum] attr_accessor :default_click_through_event_tag_id # Default email address used in sender field for tag emails. @@ -1057,7 +1057,7 @@ module Google # - This advertiser's original floodlight configuration is not already shared # with another advertiser. # Corresponds to the JSON property `floodlightConfigurationId` - # @return [String] + # @return [Fixnum] attr_accessor :floodlight_configuration_id # Represents a DimensionValue resource. @@ -1067,7 +1067,7 @@ module Google # ID of this advertiser. This is a read-only, auto-generated field. # Corresponds to the JSON property `id` - # @return [String] + # @return [Fixnum] attr_accessor :id # Represents a DimensionValue resource. @@ -1094,7 +1094,7 @@ module Google # configuration if the shared configuration has activities associated with any # campaign or placement. # Corresponds to the JSON property `originalFloodlightConfigurationId` - # @return [String] + # @return [Fixnum] attr_accessor :original_floodlight_configuration_id # Status of this advertiser. @@ -1105,7 +1105,7 @@ module Google # Subaccount ID of this advertiser.This is a read-only field that can be left # blank. # Corresponds to the JSON property `subaccountId` - # @return [String] + # @return [Fixnum] attr_accessor :subaccount_id # Suspension status of this advertiser. @@ -1146,12 +1146,12 @@ module Google # Account ID of this advertiser group. This is a read-only field that can be # left blank. # Corresponds to the JSON property `accountId` - # @return [String] + # @return [Fixnum] attr_accessor :account_id # ID of this advertiser group. This is a read-only, auto-generated field. # Corresponds to the JSON property `id` - # @return [String] + # @return [Fixnum] attr_accessor :id # Identifies what kind of resource this is. Value: the fixed string " @@ -1256,7 +1256,7 @@ module Google # ID of this audience segment. This is a read-only, auto-generated field. # Corresponds to the JSON property `id` - # @return [String] + # @return [Fixnum] attr_accessor :id # Name of this audience segment. This is a required field and must be less than @@ -1289,7 +1289,7 @@ module Google # ID of this audience segment group. This is a read-only, auto-generated field. # Corresponds to the JSON property `id` - # @return [String] + # @return [Fixnum] attr_accessor :id # Name of this audience segment group. This is a required field and must be less @@ -1317,12 +1317,12 @@ module Google # ID referring to this grouping of browser and version numbers. This is the ID # used for targeting. # Corresponds to the JSON property `browserVersionId` - # @return [String] + # @return [Fixnum] attr_accessor :browser_version_id # DART ID of this browser. This is the ID used when generating reports. # Corresponds to the JSON property `dartId` - # @return [String] + # @return [Fixnum] attr_accessor :dart_id # Identifies what kind of resource this is. Value: the fixed string " @@ -1406,7 +1406,7 @@ module Google # Account ID of this campaign. This is a read-only field that can be left blank. # Corresponds to the JSON property `accountId` - # @return [String] + # @return [Fixnum] attr_accessor :account_id # Additional creative optimization configurations for the campaign. @@ -1416,12 +1416,12 @@ module Google # Advertiser group ID of the associated advertiser. # Corresponds to the JSON property `advertiserGroupId` - # @return [String] + # @return [Fixnum] attr_accessor :advertiser_group_id # Advertiser ID of this campaign. This is a required field. # Corresponds to the JSON property `advertiserId` - # @return [String] + # @return [Fixnum] attr_accessor :advertiser_id # Represents a DimensionValue resource. @@ -1464,7 +1464,7 @@ module Google # List of creative group IDs that are assigned to the campaign. # Corresponds to the JSON property `creativeGroupIds` - # @return [Array] + # @return [Array] attr_accessor :creative_group_ids # Creative optimization settings. @@ -1501,7 +1501,7 @@ module Google # ID of this campaign. This is a read-only auto-generated field. # Corresponds to the JSON property `id` - # @return [String] + # @return [Fixnum] attr_accessor :id # Represents a DimensionValue resource. @@ -1547,7 +1547,7 @@ module Google # Subaccount ID of this campaign. This is a read-only field that can be left # blank. # Corresponds to the JSON property `subaccountId` - # @return [String] + # @return [Fixnum] attr_accessor :subaccount_id # Campaign trafficker contact emails. @@ -1597,7 +1597,7 @@ module Google # ID of the creative associated with the campaign. This is a required field. # Corresponds to the JSON property `creativeId` - # @return [String] + # @return [Fixnum] attr_accessor :creative_id # Identifies what kind of resource this is. Value: the fixed string " @@ -1687,7 +1687,7 @@ module Google # Account ID of the modified object. # Corresponds to the JSON property `accountId` - # @return [String] + # @return [Fixnum] attr_accessor :account_id # Action which caused the change. @@ -1707,7 +1707,7 @@ module Google # ID of this change log. # Corresponds to the JSON property `id` - # @return [String] + # @return [Fixnum] attr_accessor :id # Identifies what kind of resource this is. Value: the fixed string " @@ -1724,7 +1724,7 @@ module Google # ID of the object of this change log. The object could be a campaign, placement, # ad, or other type. # Corresponds to the JSON property `objectId` - # @return [String] + # @return [Fixnum] attr_accessor :obj_id # Object type of the change log. @@ -1739,19 +1739,19 @@ module Google # Subaccount ID of the modified object. # Corresponds to the JSON property `subaccountId` - # @return [String] + # @return [Fixnum] attr_accessor :subaccount_id # Transaction ID of this change log. When a single API call results in many # changes, each change will have a separate ID in the change log but will share # the same transactionId. # Corresponds to the JSON property `transactionId` - # @return [String] + # @return [Fixnum] attr_accessor :transaction_id # ID of the user who modified the object. # Corresponds to the JSON property `userProfileId` - # @return [String] + # @return [Fixnum] attr_accessor :user_profile_id # User profile name of the user who modified the object. @@ -1851,12 +1851,12 @@ module Google # DART ID of the country to which this city belongs. # Corresponds to the JSON property `countryDartId` - # @return [String] + # @return [Fixnum] attr_accessor :country_dart_id # DART ID of this city. This is the ID used for targeting and generating reports. # Corresponds to the JSON property `dartId` - # @return [String] + # @return [Fixnum] attr_accessor :dart_id # Identifies what kind of resource this is. Value: the fixed string " @@ -1872,7 +1872,7 @@ module Google # ID of the metro region (DMA) to which this city belongs. # Corresponds to the JSON property `metroDmaId` - # @return [String] + # @return [Fixnum] attr_accessor :metro_dma_id # Name of this city. @@ -1887,7 +1887,7 @@ module Google # DART ID of the region to which this city belongs. # Corresponds to the JSON property `regionDartId` - # @return [String] + # @return [Fixnum] attr_accessor :region_dart_id def initialize(**args) @@ -1975,7 +1975,7 @@ module Google # ID of the landing page for the click-through URL. Applicable if the # defaultLandingPage field is set to false. # Corresponds to the JSON property `landingPageId` - # @return [String] + # @return [Fixnum] attr_accessor :landing_page_id def initialize(**args) @@ -2030,7 +2030,7 @@ module Google # ID of the creative for this companion click-through override. # Corresponds to the JSON property `creativeId` - # @return [String] + # @return [Fixnum] attr_accessor :creative_id def initialize(**args) @@ -2105,7 +2105,7 @@ module Google # ID of this connection type. # Corresponds to the JSON property `id` - # @return [String] + # @return [Fixnum] attr_accessor :id # Identifies what kind of resource this is. Value: the fixed string " @@ -2196,12 +2196,12 @@ module Google # Account ID of this content category. This is a read-only field that can be # left blank. # Corresponds to the JSON property `accountId` - # @return [String] + # @return [Fixnum] attr_accessor :account_id # ID of this content category. This is a read-only, auto-generated field. # Corresponds to the JSON property `id` - # @return [String] + # @return [Fixnum] attr_accessor :id # Identifies what kind of resource this is. Value: the fixed string " @@ -2266,12 +2266,12 @@ module Google # Floodlight Activity ID of this conversion. This is a required field. # Corresponds to the JSON property `floodlightActivityId` - # @return [String] + # @return [Fixnum] attr_accessor :floodlight_activity_id # Floodlight Configuration ID of this conversion. This is a required field. # Corresponds to the JSON property `floodlightConfigurationId` - # @return [String] + # @return [Fixnum] attr_accessor :floodlight_configuration_id # Identifies what kind of resource this is. Value: the fixed string " @@ -2302,12 +2302,12 @@ module Google # The quantity of the conversion. # Corresponds to the JSON property `quantity` - # @return [String] + # @return [Fixnum] attr_accessor :quantity # The timestamp of conversion, in Unix epoch micros. This is a required field. # Corresponds to the JSON property `timestampMicros` - # @return [String] + # @return [Fixnum] attr_accessor :timestamp_micros # The value of the conversion. @@ -2508,7 +2508,7 @@ module Google # DART ID of this country. This is the ID used for targeting and generating # reports. # Corresponds to the JSON property `dartId` - # @return [String] + # @return [Fixnum] attr_accessor :dart_id # Identifies what kind of resource this is. Value: the fixed string " @@ -2549,7 +2549,7 @@ module Google # Account ID of this creative. This field, if left unset, will be auto-generated # for both insert and update operations. Applicable to all creative types. # Corresponds to the JSON property `accountId` - # @return [String] + # @return [Fixnum] attr_accessor :account_id # Whether the creative is active. Applicable to all creative types. @@ -2576,7 +2576,7 @@ module Google # Advertiser ID of this creative. This is a required field. Applicable to all # creative types. # Corresponds to the JSON property `advertiserId` - # @return [String] + # @return [Fixnum] attr_accessor :advertiser_id # Whether script access is allowed for this creative. This is a read-only and @@ -2683,7 +2683,7 @@ module Google # following creative types: all VPAID and all INSTREAM_VIDEO with # dynamicAssetSelection set to false. # Corresponds to the JSON property `companionCreatives` - # @return [Array] + # @return [Array] attr_accessor :companion_creatives # Compatibilities associated with this creative. This is a read-only field. @@ -2792,7 +2792,7 @@ module Google # ID of this creative. This is a read-only, auto-generated field. Applicable to # all creative types. # Corresponds to the JSON property `id` - # @return [String] + # @return [Fixnum] attr_accessor :id # Represents a DimensionValue resource. @@ -2815,7 +2815,7 @@ module Google # creatives. This is a read-only field. Applicable to the following creative # types: all RICH_MEDIA, and all VPAID. # Corresponds to the JSON property `latestTraffickedCreativeId` - # @return [String] + # @return [Fixnum] attr_accessor :latest_trafficked_creative_id # Name of the creative. This is a required field and must be less than 256 @@ -2843,7 +2843,7 @@ module Google # ID of current rendering version. This is a read-only field. Applicable to all # creative types. # Corresponds to the JSON property `renderingId` - # @return [String] + # @return [Fixnum] attr_accessor :rendering_id # Represents a DimensionValue resource. @@ -2896,28 +2896,28 @@ module Google # read-only field. Applicable to the following creative types: all RICH_MEDIA, # and all VPAID. # Corresponds to the JSON property `studioAdvertiserId` - # @return [String] + # @return [Fixnum] attr_accessor :studio_advertiser_id # Studio creative ID associated with rich media and VPAID creatives. This is a # read-only field. Applicable to the following creative types: all RICH_MEDIA, # and all VPAID. # Corresponds to the JSON property `studioCreativeId` - # @return [String] + # @return [Fixnum] attr_accessor :studio_creative_id # Studio trafficked creative ID associated with rich media and VPAID creatives. # This is a read-only field. Applicable to the following creative types: all # RICH_MEDIA, and all VPAID. # Corresponds to the JSON property `studioTraffickedCreativeId` - # @return [String] + # @return [Fixnum] attr_accessor :studio_trafficked_creative_id # Subaccount ID of this creative. This field, if left unset, will be auto- # generated for both insert and update operations. Applicable to all creative # types. # Corresponds to the JSON property `subaccountId` - # @return [String] + # @return [Fixnum] attr_accessor :subaccount_id # Third-party URL used to record backup image impressions. Applicable to the @@ -2949,7 +2949,7 @@ module Google # Combined size of all creative assets. This is a read-only field. Applicable to # the following creative types: all RICH_MEDIA, and all VPAID. # Corresponds to the JSON property `totalFileSize` - # @return [String] + # @return [Fixnum] attr_accessor :total_file_size # Type of this creative. This is a required field. Applicable to all creative @@ -3116,7 +3116,7 @@ module Google # Applicable to INSTREAM_VIDEO creative type with dynamicAssetSelection set to # true. # Corresponds to the JSON property `companionCreativeIds` - # @return [Array] + # @return [Array] attr_accessor :companion_creative_ids # Custom start time in seconds for making the asset visible. Applicable to the @@ -3161,7 +3161,7 @@ module Google # Applicable to all but the following creative types: all REDIRECT and # TRACKING_TEXT. # Corresponds to the JSON property `fileSize` - # @return [String] + # @return [Fixnum] attr_accessor :file_size # Flash version of the asset. This is a read-only field. Applicable to the @@ -3196,7 +3196,7 @@ module Google # modified. Applicable to all but the following creative types: all REDIRECT and # TRACKING_TEXT. # Corresponds to the JSON property `id` - # @return [String] + # @return [Fixnum] attr_accessor :id # Represents a DimensionValue resource. @@ -3470,7 +3470,7 @@ module Google # Numeric ID of the asset. This is a read-only, auto-generated field. # Corresponds to the JSON property `id` - # @return [String] + # @return [Fixnum] attr_accessor :id # Represents a DimensionValue resource. @@ -3540,7 +3540,7 @@ module Google # creative, and will be served if none of the rules match. This is a required # field. # Corresponds to the JSON property `defaultAssetId` - # @return [String] + # @return [Fixnum] attr_accessor :default_asset_id # Rules determine which asset will be served to a viewer. Rules will be @@ -3600,7 +3600,7 @@ module Google # ID of the creative to be assigned. This is a required field. # Corresponds to the JSON property `creativeId` - # @return [String] + # @return [Fixnum] attr_accessor :creative_id # Represents a DimensionValue resource. @@ -3684,7 +3684,7 @@ module Google # Unique ID of this event used by DDM Reporting and Data Transfer. This is a # read-only field. # Corresponds to the JSON property `advertiserCustomEventId` - # @return [String] + # @return [Fixnum] attr_accessor :advertiser_custom_event_id # User-entered name for the event. @@ -3716,7 +3716,7 @@ module Google # ID of this event. This is a required field and should not be modified after # insertion. # Corresponds to the JSON property `id` - # @return [String] + # @return [Fixnum] attr_accessor :id # Popup Window Properties. @@ -3761,12 +3761,12 @@ module Google # Account ID of this creative field. This is a read-only field that can be left # blank. # Corresponds to the JSON property `accountId` - # @return [String] + # @return [Fixnum] attr_accessor :account_id # Advertiser ID of this creative field. This is a required field on insertion. # Corresponds to the JSON property `advertiserId` - # @return [String] + # @return [Fixnum] attr_accessor :advertiser_id # Represents a DimensionValue resource. @@ -3776,7 +3776,7 @@ module Google # ID of this creative field. This is a read-only, auto-generated field. # Corresponds to the JSON property `id` - # @return [String] + # @return [Fixnum] attr_accessor :id # Identifies what kind of resource this is. Value: the fixed string " @@ -3794,7 +3794,7 @@ module Google # Subaccount ID of this creative field. This is a read-only field that can be # left blank. # Corresponds to the JSON property `subaccountId` - # @return [String] + # @return [Fixnum] attr_accessor :subaccount_id def initialize(**args) @@ -3819,12 +3819,12 @@ module Google # ID of the creative field. # Corresponds to the JSON property `creativeFieldId` - # @return [String] + # @return [Fixnum] attr_accessor :creative_field_id # ID of the creative field value. # Corresponds to the JSON property `creativeFieldValueId` - # @return [String] + # @return [Fixnum] attr_accessor :creative_field_value_id def initialize(**args) @@ -3844,7 +3844,7 @@ module Google # ID of this creative field value. This is a read-only, auto-generated field. # Corresponds to the JSON property `id` - # @return [String] + # @return [Fixnum] attr_accessor :id # Identifies what kind of resource this is. Value: the fixed string " @@ -3942,12 +3942,12 @@ module Google # Account ID of this creative group. This is a read-only field that can be left # blank. # Corresponds to the JSON property `accountId` - # @return [String] + # @return [Fixnum] attr_accessor :account_id # Advertiser ID of this creative group. This is a required field on insertion. # Corresponds to the JSON property `advertiserId` - # @return [String] + # @return [Fixnum] attr_accessor :advertiser_id # Represents a DimensionValue resource. @@ -3967,7 +3967,7 @@ module Google # ID of this creative group. This is a read-only, auto-generated field. # Corresponds to the JSON property `id` - # @return [String] + # @return [Fixnum] attr_accessor :id # Identifies what kind of resource this is. Value: the fixed string " @@ -3985,7 +3985,7 @@ module Google # Subaccount ID of this creative group. This is a read-only field that can be # left blank. # Corresponds to the JSON property `subaccountId` - # @return [String] + # @return [Fixnum] attr_accessor :subaccount_id def initialize(**args) @@ -4011,7 +4011,7 @@ module Google # ID of the creative group to be assigned. # Corresponds to the JSON property `creativeGroupId` - # @return [String] + # @return [Fixnum] attr_accessor :creative_group_id # Creative group number of the creative group assignment. @@ -4069,7 +4069,7 @@ module Google # ID of this creative optimization config. This field is auto-generated when the # campaign is inserted or updated. It can be null for existing campaigns. # Corresponds to the JSON property `id` - # @return [String] + # @return [Fixnum] attr_accessor :id # Name of this creative optimization config. This is a required field and must @@ -4115,7 +4115,7 @@ module Google # is unset or set to 0, then the campaign's default optimization configuration # will be used for this ad. # Corresponds to the JSON property `creativeOptimizationConfigurationId` - # @return [String] + # @return [Fixnum] attr_accessor :creative_optimization_configuration_id # Type of creative rotation. Can be used to specify whether to use sequential or @@ -4403,7 +4403,7 @@ module Google # ID of the click-through event tag to apply to all ads in this entity's scope. # Corresponds to the JSON property `defaultClickThroughEventTagId` - # @return [String] + # @return [Fixnum] attr_accessor :default_click_through_event_tag_id # Whether this entity should override the inherited default click-through event @@ -4446,7 +4446,7 @@ module Google # 1 and ad B has an impression ratio of 3, then DCM will serve ad B three times # as often as ad A. Must be between 1 and 10. # Corresponds to the JSON property `impressionRatio` - # @return [String] + # @return [Fixnum] attr_accessor :impression_ratio # Serving priority of an ad, with respect to other ads. The lower the priority @@ -4727,7 +4727,7 @@ module Google # Country ID of this directory site. # Corresponds to the JSON property `countryId` - # @return [String] + # @return [Fixnum] attr_accessor :country_id # Currency ID of this directory site. @@ -4780,7 +4780,7 @@ module Google # - "47" for BGN # - "48" for HRK # Corresponds to the JSON property `currencyId` - # @return [String] + # @return [Fixnum] attr_accessor :currency_id # Description of this directory site. @@ -4790,7 +4790,7 @@ module Google # ID of this directory site. This is a read-only, auto-generated field. # Corresponds to the JSON property `id` - # @return [String] + # @return [Fixnum] attr_accessor :id # Represents a DimensionValue resource. @@ -4830,7 +4830,7 @@ module Google # Parent directory site ID. # Corresponds to the JSON property `parentId` - # @return [String] + # @return [Fixnum] attr_accessor :parent_id # Directory Site Settings @@ -4887,7 +4887,7 @@ module Google # ID of this directory site contact. This is a read-only, auto-generated field. # Corresponds to the JSON property `id` - # @return [String] + # @return [Fixnum] attr_accessor :id # Identifies what kind of resource this is. Value: the fixed string " @@ -4946,7 +4946,7 @@ module Google # ID of this directory site contact. This is a read-only, auto-generated field. # Corresponds to the JSON property `contactId` - # @return [String] + # @return [Fixnum] attr_accessor :contact_id # Visibility of this directory site contact assignment. When set to PUBLIC this @@ -5117,7 +5117,7 @@ module Google # ID of the object of this dynamic targeting key. This is a required field. # Corresponds to the JSON property `objectId` - # @return [String] + # @return [Fixnum] attr_accessor :object_id_prop # Type of the object of this dynamic targeting key. This is a required field. @@ -5171,7 +5171,7 @@ module Google # The encryption entity ID. This should match the encryption configuration for # ad serving or Data Transfer. # Corresponds to the JSON property `encryptionEntityId` - # @return [String] + # @return [Fixnum] attr_accessor :encryption_entity_id # The encryption entity type. This should match the encryption configuration for @@ -5211,13 +5211,13 @@ module Google # Account ID of this event tag. This is a read-only field that can be left blank. # Corresponds to the JSON property `accountId` - # @return [String] + # @return [Fixnum] attr_accessor :account_id # Advertiser ID of this event tag. This field or the campaignId field is # required on insertion. # Corresponds to the JSON property `advertiserId` - # @return [String] + # @return [Fixnum] attr_accessor :advertiser_id # Represents a DimensionValue resource. @@ -5228,7 +5228,7 @@ module Google # Campaign ID of this event tag. This field or the advertiserId field is # required on insertion. # Corresponds to the JSON property `campaignId` - # @return [String] + # @return [Fixnum] attr_accessor :campaign_id # Represents a DimensionValue resource. @@ -5254,7 +5254,7 @@ module Google # ID of this event tag. This is a read-only, auto-generated field. # Corresponds to the JSON property `id` - # @return [String] + # @return [Fixnum] attr_accessor :id # Identifies what kind of resource this is. Value: the fixed string " @@ -5278,7 +5278,7 @@ module Google # Filter list of site IDs associated with this event tag. The siteFilterType # determines whether this is a whitelist or blacklist filter. # Corresponds to the JSON property `siteIds` - # @return [Array] + # @return [Array] attr_accessor :site_ids # Whether this tag is SSL-compliant or not. This is a read-only field. @@ -5296,7 +5296,7 @@ module Google # Subaccount ID of this event tag. This is a read-only field that can be left # blank. # Corresponds to the JSON property `subaccountId` - # @return [String] + # @return [Fixnum] attr_accessor :subaccount_id # Event tag type. Can be used to specify whether to use a third-party pixel, a @@ -5359,7 +5359,7 @@ module Google # ID of this event tag override. This is a read-only, auto-generated field. # Corresponds to the JSON property `id` - # @return [String] + # @return [Fixnum] attr_accessor :id def initialize(**args) @@ -5427,7 +5427,7 @@ module Google # The unique ID of this report file. # Corresponds to the JSON property `id` - # @return [String] + # @return [Fixnum] attr_accessor :id # The kind of resource this is, in this case dfareporting#file. @@ -5437,12 +5437,12 @@ module Google # The timestamp in milliseconds since epoch when this file was last modified. # Corresponds to the JSON property `lastModifiedTime` - # @return [String] + # @return [Fixnum] attr_accessor :last_modified_time # The ID of the report this file was generated from. # Corresponds to the JSON property `reportId` - # @return [String] + # @return [Fixnum] attr_accessor :report_id # The status of the report file. @@ -5550,7 +5550,7 @@ module Google # Rate or cost of this flight. # Corresponds to the JSON property `rateOrCost` - # @return [String] + # @return [Fixnum] attr_accessor :rate_or_cost # Inventory item flight start date. @@ -5560,7 +5560,7 @@ module Google # Units of this flight. # Corresponds to the JSON property `units` - # @return [String] + # @return [Fixnum] attr_accessor :units def initialize(**args) @@ -5641,14 +5641,14 @@ module Google # Account ID of this floodlight activity. This is a read-only field that can be # left blank. # Corresponds to the JSON property `accountId` - # @return [String] + # @return [Fixnum] attr_accessor :account_id # Advertiser ID of this floodlight activity. If this field is left blank, the # value will be copied over either from the activity group's advertiser or the # existing activity's advertiser. # Corresponds to the JSON property `advertiserId` - # @return [String] + # @return [Fixnum] attr_accessor :advertiser_id # Represents a DimensionValue resource. @@ -5681,7 +5681,7 @@ module Google # Floodlight activity group ID of this floodlight activity. This is a required # field. # Corresponds to the JSON property `floodlightActivityGroupId` - # @return [String] + # @return [Fixnum] attr_accessor :floodlight_activity_group_id # Name of the associated floodlight activity group. This is a read-only field. @@ -5705,7 +5705,7 @@ module Google # floodlight configuration or from the existing activity's floodlight # configuration. # Corresponds to the JSON property `floodlightConfigurationId` - # @return [String] + # @return [Fixnum] attr_accessor :floodlight_configuration_id # Represents a DimensionValue resource. @@ -5721,7 +5721,7 @@ module Google # ID of this floodlight activity. This is a read-only, auto-generated field. # Corresponds to the JSON property `id` - # @return [String] + # @return [Fixnum] attr_accessor :id # Represents a DimensionValue resource. @@ -5779,7 +5779,7 @@ module Google # Subaccount ID of this floodlight activity. This is a read-only field that can # be left blank. # Corresponds to the JSON property `subaccountId` - # @return [String] + # @return [Fixnum] attr_accessor :subaccount_id # Tag format type for the floodlight activity. If left blank, the tag format @@ -5868,7 +5868,7 @@ module Google # ID of this dynamic tag. This is a read-only, auto-generated field. # Corresponds to the JSON property `id` - # @return [String] + # @return [Fixnum] attr_accessor :id # Name of this tag. @@ -5900,14 +5900,14 @@ module Google # Account ID of this floodlight activity group. This is a read-only field that # can be left blank. # Corresponds to the JSON property `accountId` - # @return [String] + # @return [Fixnum] attr_accessor :account_id # Advertiser ID of this floodlight activity group. If this field is left blank, # the value will be copied over either from the floodlight configuration's # advertiser or from the existing activity group's advertiser. # Corresponds to the JSON property `advertiserId` - # @return [String] + # @return [Fixnum] attr_accessor :advertiser_id # Represents a DimensionValue resource. @@ -5918,7 +5918,7 @@ module Google # Floodlight configuration ID of this floodlight activity group. This is a # required field. # Corresponds to the JSON property `floodlightConfigurationId` - # @return [String] + # @return [Fixnum] attr_accessor :floodlight_configuration_id # Represents a DimensionValue resource. @@ -5929,7 +5929,7 @@ module Google # ID of this floodlight activity group. This is a read-only, auto-generated # field. # Corresponds to the JSON property `id` - # @return [String] + # @return [Fixnum] attr_accessor :id # Represents a DimensionValue resource. @@ -5952,7 +5952,7 @@ module Google # Subaccount ID of this floodlight activity group. This is a read-only field # that can be left blank. # Corresponds to the JSON property `subaccountId` - # @return [String] + # @return [Fixnum] attr_accessor :subaccount_id # Value of the type= parameter in the floodlight tag, which the ad servers use @@ -6038,7 +6038,7 @@ module Google # used as an alternative to the siteId field. When this resource is retrieved, # only the siteId field will be populated. # Corresponds to the JSON property `directorySiteId` - # @return [String] + # @return [Fixnum] attr_accessor :directory_site_id # Dynamic Tag @@ -6048,7 +6048,7 @@ module Google # Site ID of this dynamic tag. # Corresponds to the JSON property `siteId` - # @return [String] + # @return [Fixnum] attr_accessor :site_id # Represents a DimensionValue resource. @@ -6084,12 +6084,12 @@ module Google # Account ID of this floodlight configuration. This is a read-only field that # can be left blank. # Corresponds to the JSON property `accountId` - # @return [String] + # @return [Fixnum] attr_accessor :account_id # Advertiser ID of the parent advertiser of this floodlight configuration. # Corresponds to the JSON property `advertiserId` - # @return [String] + # @return [Fixnum] attr_accessor :advertiser_id # Represents a DimensionValue resource. @@ -6119,7 +6119,7 @@ module Google # ID of this floodlight configuration. This is a read-only, auto-generated field. # Corresponds to the JSON property `id` - # @return [String] + # @return [Fixnum] attr_accessor :id # Represents a DimensionValue resource. @@ -6165,7 +6165,7 @@ module Google # Subaccount ID of this floodlight configuration. This is a read-only field that # can be left blank. # Corresponds to the JSON property `subaccountId` - # @return [String] + # @return [Fixnum] attr_accessor :subaccount_id # Dynamic and Image Tag Settings. @@ -6285,13 +6285,13 @@ module Google # Duration of time, in seconds, for this frequency cap. The maximum duration is # 90 days in seconds, or 7,776,000. # Corresponds to the JSON property `duration` - # @return [String] + # @return [Fixnum] attr_accessor :duration # Number of times an individual user can be served the ad within the specified # duration. The maximum allowed is 15. # Corresponds to the JSON property `impressions` - # @return [String] + # @return [Fixnum] attr_accessor :impressions def initialize(**args) @@ -6422,7 +6422,7 @@ module Google # Account ID of this inventory item. # Corresponds to the JSON property `accountId` - # @return [String] + # @return [Fixnum] attr_accessor :account_id # Ad slots of this inventory item. If this inventory item represents a @@ -6435,27 +6435,27 @@ module Google # Advertiser ID of this inventory item. # Corresponds to the JSON property `advertiserId` - # @return [String] + # @return [Fixnum] attr_accessor :advertiser_id # Content category ID of this inventory item. # Corresponds to the JSON property `contentCategoryId` - # @return [String] + # @return [Fixnum] attr_accessor :content_category_id # Estimated click-through rate of this inventory item. # Corresponds to the JSON property `estimatedClickThroughRate` - # @return [String] + # @return [Fixnum] attr_accessor :estimated_click_through_rate # Estimated conversion rate of this inventory item. # Corresponds to the JSON property `estimatedConversionRate` - # @return [String] + # @return [Fixnum] attr_accessor :estimated_conversion_rate # ID of this inventory item. # Corresponds to the JSON property `id` - # @return [String] + # @return [Fixnum] attr_accessor :id # Whether this inventory item is in plan. @@ -6484,17 +6484,17 @@ module Google # Negotiation channel ID of this inventory item. # Corresponds to the JSON property `negotiationChannelId` - # @return [String] + # @return [Fixnum] attr_accessor :negotiation_channel_id # Order ID of this inventory item. # Corresponds to the JSON property `orderId` - # @return [String] + # @return [Fixnum] attr_accessor :order_id # Placement strategy ID of this inventory item. # Corresponds to the JSON property `placementStrategyId` - # @return [String] + # @return [Fixnum] attr_accessor :placement_strategy_id # Pricing Information @@ -6504,22 +6504,22 @@ module Google # Project ID of this inventory item. # Corresponds to the JSON property `projectId` - # @return [String] + # @return [Fixnum] attr_accessor :project_id # RFP ID of this inventory item. # Corresponds to the JSON property `rfpId` - # @return [String] + # @return [Fixnum] attr_accessor :rfp_id # ID of the site this inventory item is associated with. # Corresponds to the JSON property `siteId` - # @return [String] + # @return [Fixnum] attr_accessor :site_id # Subaccount ID of this inventory item. # Corresponds to the JSON property `subaccountId` - # @return [String] + # @return [Fixnum] attr_accessor :subaccount_id # Type of inventory item. @@ -6622,7 +6622,7 @@ module Google # ID of this landing page. This is a read-only, auto-generated field. # Corresponds to the JSON property `id` - # @return [String] + # @return [Fixnum] attr_accessor :id # Identifies what kind of resource this is. Value: the fixed string " @@ -6689,7 +6689,7 @@ module Google # Language ID of this language. This is the ID used for targeting and generating # reports. # Corresponds to the JSON property `id` - # @return [String] + # @return [Fixnum] attr_accessor :id # Identifies what kind of resource this is. Value: the fixed string " @@ -6776,7 +6776,7 @@ module Google # Timestamp of the last change in milliseconds since epoch. # Corresponds to the JSON property `time` - # @return [String] + # @return [Fixnum] attr_accessor :time def initialize(**args) @@ -6816,7 +6816,7 @@ module Google # Floodlight activity ID associated with this rule. This field can be left blank. # Corresponds to the JSON property `floodlightActivityId` - # @return [String] + # @return [Fixnum] attr_accessor :floodlight_activity_id # Name of floodlight activity associated with this rule. This is a read-only, @@ -6873,7 +6873,7 @@ module Google # ID of the list in question. This field is only relevant when type is set to # LIST_MEMBERSHIP_TERM. # Corresponds to the JSON property `remarketingListId` - # @return [String] + # @return [Fixnum] attr_accessor :remarketing_list_id # List population term type determines the applicable fields in this object. If @@ -7007,18 +7007,18 @@ module Google # DART ID of the country to which this metro region belongs. # Corresponds to the JSON property `countryDartId` - # @return [String] + # @return [Fixnum] attr_accessor :country_dart_id # DART ID of this metro region. # Corresponds to the JSON property `dartId` - # @return [String] + # @return [Fixnum] attr_accessor :dart_id # DMA ID of this metro region. This is the ID used for targeting and generating # reports, and is equivalent to metro_code. # Corresponds to the JSON property `dmaId` - # @return [String] + # @return [Fixnum] attr_accessor :dma_id # Identifies what kind of resource this is. Value: the fixed string " @@ -7090,12 +7090,12 @@ module Google # DART ID of the country to which this mobile carrier belongs. # Corresponds to the JSON property `countryDartId` - # @return [String] + # @return [Fixnum] attr_accessor :country_dart_id # ID of this mobile carrier. # Corresponds to the JSON property `id` - # @return [String] + # @return [Fixnum] attr_accessor :id # Identifies what kind of resource this is. Value: the fixed string " @@ -7162,7 +7162,7 @@ module Google # Applicable when status is ASSIGNED. The user has access to objects with these # object IDs. # Corresponds to the JSON property `objectIds` - # @return [Array] + # @return [Array] attr_accessor :object_ids # Status of the filter. NONE means the user has access to none of the objects. @@ -7244,7 +7244,7 @@ module Google # DART ID of this operating system. This is the ID used for targeting. # Corresponds to the JSON property `dartId` - # @return [String] + # @return [Fixnum] attr_accessor :dart_id # Whether this operating system is for desktop. @@ -7291,7 +7291,7 @@ module Google # ID of this operating system version. # Corresponds to the JSON property `id` - # @return [String] + # @return [Fixnum] attr_accessor :id # Identifies what kind of resource this is. Value: the fixed string " @@ -7393,7 +7393,7 @@ module Google # Floodlight activity ID of this optimization activity. This is a required field. # Corresponds to the JSON property `floodlightActivityId` - # @return [String] + # @return [Fixnum] attr_accessor :floodlight_activity_id # Represents a DimensionValue resource. @@ -7426,17 +7426,17 @@ module Google # Account ID of this order. # Corresponds to the JSON property `accountId` - # @return [String] + # @return [Fixnum] attr_accessor :account_id # Advertiser ID of this order. # Corresponds to the JSON property `advertiserId` - # @return [String] + # @return [Fixnum] attr_accessor :advertiser_id # IDs for users that have to approve documents created for this order. # Corresponds to the JSON property `approverUserProfileIds` - # @return [Array] + # @return [Array] attr_accessor :approver_user_profile_ids # Buyer invoice ID associated with this order. @@ -7461,7 +7461,7 @@ module Google # ID of this order. This is a read-only, auto-generated field. # Corresponds to the JSON property `id` - # @return [String] + # @return [Fixnum] attr_accessor :id # Identifies what kind of resource this is. Value: the fixed string " @@ -7487,12 +7487,12 @@ module Google # ID of the terms and conditions template used in this order. # Corresponds to the JSON property `planningTermId` - # @return [String] + # @return [Fixnum] attr_accessor :planning_term_id # Project ID of this order. # Corresponds to the JSON property `projectId` - # @return [String] + # @return [Fixnum] attr_accessor :project_id # Seller order ID associated with this order. @@ -7507,7 +7507,7 @@ module Google # Site IDs this order is associated with. # Corresponds to the JSON property `siteId` - # @return [Array] + # @return [Array] attr_accessor :site_id # Free-form site names this order is associated with. @@ -7517,7 +7517,7 @@ module Google # Subaccount ID of this order. # Corresponds to the JSON property `subaccountId` - # @return [String] + # @return [Fixnum] attr_accessor :subaccount_id # Terms and conditions of this order. @@ -7583,7 +7583,7 @@ module Google # ID of the user profile containing the signature that will be embedded into # order documents. # Corresponds to the JSON property `signatureUserProfileId` - # @return [String] + # @return [Fixnum] attr_accessor :signature_user_profile_id def initialize(**args) @@ -7606,24 +7606,24 @@ module Google # Account ID of this order document. # Corresponds to the JSON property `accountId` - # @return [String] + # @return [Fixnum] attr_accessor :account_id # Advertiser ID of this order document. # Corresponds to the JSON property `advertiserId` - # @return [String] + # @return [Fixnum] attr_accessor :advertiser_id # The amended order document ID of this order document. An order document can be # created by optionally amending another order document so that the change # history can be preserved. # Corresponds to the JSON property `amendedOrderDocumentId` - # @return [String] + # @return [Fixnum] attr_accessor :amended_order_document_id # IDs of users who have approved this order document. # Corresponds to the JSON property `approvedByUserProfileIds` - # @return [Array] + # @return [Array] attr_accessor :approved_by_user_profile_ids # Whether this order document is cancelled. @@ -7644,7 +7644,7 @@ module Google # ID of this order document. # Corresponds to the JSON property `id` - # @return [String] + # @return [Fixnum] attr_accessor :id # Identifies what kind of resource this is. Value: the fixed string " @@ -7665,12 +7665,12 @@ module Google # ID of the order from which this order document is created. # Corresponds to the JSON property `orderId` - # @return [String] + # @return [Fixnum] attr_accessor :order_id # Project ID of this order document. # Corresponds to the JSON property `projectId` - # @return [String] + # @return [Fixnum] attr_accessor :project_id # Whether this order document has been signed. @@ -7681,7 +7681,7 @@ module Google # Subaccount ID of this order document. # Corresponds to the JSON property `subaccountId` - # @return [String] + # @return [Fixnum] attr_accessor :subaccount_id # Title of this order document. @@ -7839,12 +7839,12 @@ module Google # Account ID of this placement. This field can be left blank. # Corresponds to the JSON property `accountId` - # @return [String] + # @return [Fixnum] attr_accessor :account_id # Advertiser ID of this placement. This field can be left blank. # Corresponds to the JSON property `advertiserId` - # @return [String] + # @return [Fixnum] attr_accessor :advertiser_id # Represents a DimensionValue resource. @@ -7860,7 +7860,7 @@ module Google # Campaign ID of this placement. This field is a required field on insertion. # Corresponds to the JSON property `campaignId` - # @return [String] + # @return [Fixnum] attr_accessor :campaign_id # Represents a DimensionValue resource. @@ -7885,7 +7885,7 @@ module Google # ID of the content category assigned to this placement. # Corresponds to the JSON property `contentCategoryId` - # @return [String] + # @return [Fixnum] attr_accessor :content_category_id # Modification timestamp. @@ -7897,7 +7897,7 @@ module Google # or the siteId field to specify the site associated with this placement. This # is a required field that is read-only after insertion. # Corresponds to the JSON property `directorySiteId` - # @return [String] + # @return [Fixnum] attr_accessor :directory_site_id # Represents a DimensionValue resource. @@ -7912,7 +7912,7 @@ module Google # ID of this placement. This is a read-only, auto-generated field. # Corresponds to the JSON property `id` - # @return [String] + # @return [Fixnum] attr_accessor :id # Represents a DimensionValue resource. @@ -7962,7 +7962,7 @@ module Google # ID of this placement's group, if applicable. # Corresponds to the JSON property `placementGroupId` - # @return [String] + # @return [Fixnum] attr_accessor :placement_group_id # Represents a DimensionValue resource. @@ -7972,7 +7972,7 @@ module Google # ID of the placement strategy assigned to this placement. # Corresponds to the JSON property `placementStrategyId` - # @return [String] + # @return [Fixnum] attr_accessor :placement_strategy_id # Pricing Schedule @@ -7999,7 +7999,7 @@ module Google # field or the directorySiteId field to specify the site associated with this # placement. This is a required field that is read-only after insertion. # Corresponds to the JSON property `siteId` - # @return [String] + # @return [Fixnum] attr_accessor :site_id # Represents a DimensionValue resource. @@ -8025,7 +8025,7 @@ module Google # Subaccount ID of this placement. This field can be left blank. # Corresponds to the JSON property `subaccountId` - # @return [String] + # @return [Fixnum] attr_accessor :subaccount_id # Tag formats to generate for this placement. This field is required on @@ -8111,7 +8111,7 @@ module Google # ID of the placement to be assigned. This is a required field. # Corresponds to the JSON property `placementId` - # @return [String] + # @return [Fixnum] attr_accessor :placement_id # Represents a DimensionValue resource. @@ -8146,12 +8146,12 @@ module Google # Account ID of this placement group. This is a read-only field that can be left # blank. # Corresponds to the JSON property `accountId` - # @return [String] + # @return [Fixnum] attr_accessor :account_id # Advertiser ID of this placement group. This is a required field on insertion. # Corresponds to the JSON property `advertiserId` - # @return [String] + # @return [Fixnum] attr_accessor :advertiser_id # Represents a DimensionValue resource. @@ -8167,7 +8167,7 @@ module Google # Campaign ID of this placement group. This field is required on insertion. # Corresponds to the JSON property `campaignId` - # @return [String] + # @return [Fixnum] attr_accessor :campaign_id # Represents a DimensionValue resource. @@ -8178,7 +8178,7 @@ module Google # IDs of placements which are assigned to this placement group. This is a read- # only, auto-generated field. # Corresponds to the JSON property `childPlacementIds` - # @return [Array] + # @return [Array] attr_accessor :child_placement_ids # Comments for this placement group. @@ -8188,7 +8188,7 @@ module Google # ID of the content category assigned to this placement group. # Corresponds to the JSON property `contentCategoryId` - # @return [String] + # @return [Fixnum] attr_accessor :content_category_id # Modification timestamp. @@ -8201,7 +8201,7 @@ module Google # this placement group. This is a required field that is read-only after # insertion. # Corresponds to the JSON property `directorySiteId` - # @return [String] + # @return [Fixnum] attr_accessor :directory_site_id # Represents a DimensionValue resource. @@ -8216,7 +8216,7 @@ module Google # ID of this placement group. This is a read-only, auto-generated field. # Corresponds to the JSON property `id` - # @return [String] + # @return [Fixnum] attr_accessor :id # Represents a DimensionValue resource. @@ -8253,7 +8253,7 @@ module Google # ID of the placement strategy assigned to this placement group. # Corresponds to the JSON property `placementStrategyId` - # @return [String] + # @return [Fixnum] attr_accessor :placement_strategy_id # Pricing Schedule @@ -8265,7 +8265,7 @@ module Google # placement group). Modifying this field will automatically modify the primary # field on all affected roadblock child placements. # Corresponds to the JSON property `primaryPlacementId` - # @return [String] + # @return [Fixnum] attr_accessor :primary_placement_id # Represents a DimensionValue resource. @@ -8278,7 +8278,7 @@ module Google # this placement group. This is a required field that is read-only after # insertion. # Corresponds to the JSON property `siteId` - # @return [String] + # @return [Fixnum] attr_accessor :site_id # Represents a DimensionValue resource. @@ -8289,7 +8289,7 @@ module Google # Subaccount ID of this placement group. This is a read-only field that can be # left blank. # Corresponds to the JSON property `subaccountId` - # @return [String] + # @return [Fixnum] attr_accessor :subaccount_id def initialize(**args) @@ -8398,12 +8398,12 @@ module Google # Account ID of this placement strategy.This is a read-only field that can be # left blank. # Corresponds to the JSON property `accountId` - # @return [String] + # @return [Fixnum] attr_accessor :account_id # ID of this placement strategy. This is a read-only, auto-generated field. # Corresponds to the JSON property `id` - # @return [String] + # @return [Fixnum] attr_accessor :id # Identifies what kind of resource this is. Value: the fixed string " @@ -8438,7 +8438,7 @@ module Google # Placement ID # Corresponds to the JSON property `placementId` - # @return [String] + # @return [Fixnum] attr_accessor :placement_id # Tags generated for this placement. @@ -8521,7 +8521,7 @@ module Google # ID of this platform type. # Corresponds to the JSON property `id` - # @return [String] + # @return [Fixnum] attr_accessor :id # Identifies what kind of resource this is. Value: the fixed string " @@ -8661,7 +8661,7 @@ module Google # DART ID of the country to which this postal code belongs. # Corresponds to the JSON property `countryDartId` - # @return [String] + # @return [Fixnum] attr_accessor :country_dart_id # ID of this postal code. @@ -8807,7 +8807,7 @@ module Google # Floodlight activity ID associated with this placement. This field should be # set when placement pricing type is set to PRICING_TYPE_CPA. # Corresponds to the JSON property `floodlightActivityId` - # @return [String] + # @return [Fixnum] attr_accessor :floodlight_activity_id # Pricing periods for this placement. @@ -8873,7 +8873,7 @@ module Google # Rate or cost of this pricing period. # Corresponds to the JSON property `rateOrCostNanos` - # @return [String] + # @return [Fixnum] attr_accessor :rate_or_cost_nanos # Pricing period start date. This date must be later than, or the same day as, @@ -8885,7 +8885,7 @@ module Google # Units of this pricing period. # Corresponds to the JSON property `units` - # @return [String] + # @return [Fixnum] attr_accessor :units def initialize(**args) @@ -8908,12 +8908,12 @@ module Google # Account ID of this project. # Corresponds to the JSON property `accountId` - # @return [String] + # @return [Fixnum] attr_accessor :account_id # Advertiser ID of this project. # Corresponds to the JSON property `advertiserId` - # @return [String] + # @return [Fixnum] attr_accessor :advertiser_id # Audience age group of this project. @@ -8931,7 +8931,7 @@ module Google # example, for USD, the smallest value that can be represented by this field is # 1 US dollar. # Corresponds to the JSON property `budget` - # @return [String] + # @return [Fixnum] attr_accessor :budget # Client billing code of this project. @@ -8951,7 +8951,7 @@ module Google # ID of this project. This is a read-only, auto-generated field. # Corresponds to the JSON property `id` - # @return [String] + # @return [Fixnum] attr_accessor :id # Identifies what kind of resource this is. Value: the fixed string " @@ -8982,42 +8982,42 @@ module Google # Subaccount ID of this project. # Corresponds to the JSON property `subaccountId` - # @return [String] + # @return [Fixnum] attr_accessor :subaccount_id # Number of clicks that the advertiser is targeting. # Corresponds to the JSON property `targetClicks` - # @return [String] + # @return [Fixnum] attr_accessor :target_clicks # Number of conversions that the advertiser is targeting. # Corresponds to the JSON property `targetConversions` - # @return [String] + # @return [Fixnum] attr_accessor :target_conversions # CPA that the advertiser is targeting. # Corresponds to the JSON property `targetCpaNanos` - # @return [String] + # @return [Fixnum] attr_accessor :target_cpa_nanos # CPC that the advertiser is targeting. # Corresponds to the JSON property `targetCpcNanos` - # @return [String] + # @return [Fixnum] attr_accessor :target_cpc_nanos # vCPM from Active View that the advertiser is targeting. # Corresponds to the JSON property `targetCpmActiveViewNanos` - # @return [String] + # @return [Fixnum] attr_accessor :target_cpm_active_view_nanos # CPM that the advertiser is targeting. # Corresponds to the JSON property `targetCpmNanos` - # @return [String] + # @return [Fixnum] attr_accessor :target_cpm_nanos # Number of impressions that the advertiser is targeting. # Corresponds to the JSON property `targetImpressions` - # @return [String] + # @return [Fixnum] attr_accessor :target_impressions def initialize(**args) @@ -9181,12 +9181,12 @@ module Google # DART ID of the country to which this region belongs. # Corresponds to the JSON property `countryDartId` - # @return [String] + # @return [Fixnum] attr_accessor :country_dart_id # DART ID of this region. # Corresponds to the JSON property `dartId` - # @return [String] + # @return [Fixnum] attr_accessor :dart_id # Identifies what kind of resource this is. Value: the fixed string " @@ -9258,7 +9258,7 @@ module Google # Account ID of this remarketing list. This is a read-only, auto-generated field # that is only returned in GET requests. # Corresponds to the JSON property `accountId` - # @return [String] + # @return [Fixnum] attr_accessor :account_id # Whether this remarketing list is active. @@ -9270,7 +9270,7 @@ module Google # Dimension value for the advertiser ID that owns this remarketing list. This is # a required field. # Corresponds to the JSON property `advertiserId` - # @return [String] + # @return [Fixnum] attr_accessor :advertiser_id # Represents a DimensionValue resource. @@ -9285,7 +9285,7 @@ module Google # Remarketing list ID. This is a read-only, auto-generated field. # Corresponds to the JSON property `id` - # @return [String] + # @return [Fixnum] attr_accessor :id # Identifies what kind of resource this is. Value: the fixed string " @@ -9297,7 +9297,7 @@ module Google # Number of days that a user should remain in the remarketing list without an # impression. # Corresponds to the JSON property `lifeSpan` - # @return [String] + # @return [Fixnum] attr_accessor :life_span # Remarketing List Population Rule. @@ -9307,7 +9307,7 @@ module Google # Number of users currently in the list. This is a read-only field. # Corresponds to the JSON property `listSize` - # @return [String] + # @return [Fixnum] attr_accessor :list_size # Product from which this remarketing list was originated. @@ -9324,7 +9324,7 @@ module Google # Subaccount ID of this remarketing list. This is a read-only, auto-generated # field that is only returned in GET requests. # Corresponds to the JSON property `subaccountId` - # @return [String] + # @return [Fixnum] attr_accessor :subaccount_id def initialize(**args) @@ -9364,17 +9364,17 @@ module Google # Remarketing list ID. This is a read-only, auto-generated field. # Corresponds to the JSON property `remarketingListId` - # @return [String] + # @return [Fixnum] attr_accessor :remarketing_list_id # Accounts that the remarketing list is shared with. # Corresponds to the JSON property `sharedAccountIds` - # @return [Array] + # @return [Array] attr_accessor :shared_account_ids # Advertisers that the remarketing list is shared with. # Corresponds to the JSON property `sharedAdvertiserIds` - # @return [Array] + # @return [Array] attr_accessor :shared_advertiser_ids def initialize(**args) @@ -9428,7 +9428,7 @@ module Google # The account ID to which this report belongs. # Corresponds to the JSON property `accountId` - # @return [String] + # @return [Fixnum] attr_accessor :account_id # The report criteria for a report of type "STANDARD". @@ -9471,7 +9471,7 @@ module Google # The unique ID identifying this report resource. # Corresponds to the JSON property `id` - # @return [String] + # @return [Fixnum] attr_accessor :id # The kind of resource this is, in this case dfareporting#report. @@ -9482,7 +9482,7 @@ module Google # The timestamp (in milliseconds since epoch) of when this report was last # modified. # Corresponds to the JSON property `lastModifiedTime` - # @return [String] + # @return [Fixnum] attr_accessor :last_modified_time # The name of the report. @@ -9492,7 +9492,7 @@ module Google # The user profile id of the owner of this report. # Corresponds to the JSON property `ownerProfileId` - # @return [String] + # @return [Fixnum] attr_accessor :owner_profile_id # The report criteria for a report of type "PATH_TO_CONVERSION". @@ -9513,7 +9513,7 @@ module Google # The subaccount ID to which this report belongs if applicable. # Corresponds to the JSON property `subAccountId` - # @return [String] + # @return [Fixnum] attr_accessor :sub_account_id # The type of the report. @@ -10195,7 +10195,7 @@ module Google # - "12" for "Pacific/Auckland" # - "13" for "America/Sao_Paulo" # Corresponds to the JSON property `reportGenerationTimeZoneId` - # @return [String] + # @return [Fixnum] attr_accessor :report_generation_time_zone_id def initialize(**args) @@ -10228,7 +10228,7 @@ module Google # ID for the override to refer to a specific exit in the creative. # Corresponds to the JSON property `exitId` - # @return [String] + # @return [Fixnum] attr_accessor :exit_id def initialize(**args) @@ -10251,7 +10251,7 @@ module Google # A creativeAssets[].id. This should refer to one of the parent assets in this # creative. This is a required field. # Corresponds to the JSON property `assetId` - # @return [String] + # @return [Fixnum] attr_accessor :asset_id # A user-friendly name for this rule. This is a required field. @@ -10263,7 +10263,7 @@ module Google # used to determine whether this asset should be served. This is a required # field. # Corresponds to the JSON property `targetingTemplateId` - # @return [String] + # @return [Fixnum] attr_accessor :targeting_template_id def initialize(**args) @@ -10284,7 +10284,7 @@ module Google # Account ID of this site. This is a read-only field that can be left blank. # Corresponds to the JSON property `accountId` - # @return [String] + # @return [Fixnum] attr_accessor :account_id # Whether this site is approved. @@ -10296,7 +10296,7 @@ module Google # Directory site associated with this site. This is a required field that is # read-only after insertion. # Corresponds to the JSON property `directorySiteId` - # @return [String] + # @return [Fixnum] attr_accessor :directory_site_id # Represents a DimensionValue resource. @@ -10306,7 +10306,7 @@ module Google # ID of this site. This is a read-only, auto-generated field. # Corresponds to the JSON property `id` - # @return [String] + # @return [Fixnum] attr_accessor :id # Represents a DimensionValue resource. @@ -10345,7 +10345,7 @@ module Google # Subaccount ID of this site. This is a read-only field that can be left blank. # Corresponds to the JSON property `subaccountId` - # @return [String] + # @return [Fixnum] attr_accessor :subaccount_id def initialize(**args) @@ -10395,7 +10395,7 @@ module Google # ID of this site contact. This is a read-only, auto-generated field. # Corresponds to the JSON property `id` - # @return [String] + # @return [Fixnum] attr_accessor :id # Last name of this site contact. @@ -10544,7 +10544,7 @@ module Google # ID of this size. This is a read-only, auto-generated field. # Corresponds to the JSON property `id` - # @return [String] + # @return [Fixnum] attr_accessor :id # Identifies what kind of resource this is. Value: the fixed string " @@ -10636,17 +10636,17 @@ module Google # ID of the account that contains this subaccount. This is a read-only field # that can be left blank. # Corresponds to the JSON property `accountId` - # @return [String] + # @return [Fixnum] attr_accessor :account_id # IDs of the available user role permissions for this subaccount. # Corresponds to the JSON property `availablePermissionIds` - # @return [Array] + # @return [Array] attr_accessor :available_permission_ids # ID of this subaccount. This is a read-only, auto-generated field. # Corresponds to the JSON property `id` - # @return [String] + # @return [Fixnum] attr_accessor :id # Identifies what kind of resource this is. Value: the fixed string " @@ -10713,7 +10713,7 @@ module Google # Ad associated with this placement tag. # Corresponds to the JSON property `adId` - # @return [String] + # @return [Fixnum] attr_accessor :ad_id # Tag string to record a click. @@ -10723,7 +10723,7 @@ module Google # Creative associated with this placement tag. # Corresponds to the JSON property `creativeId` - # @return [String] + # @return [Fixnum] attr_accessor :creative_id # TagData tag format of this tag. @@ -10862,7 +10862,7 @@ module Google # Account ID of this remarketing list. This is a read-only, auto-generated field # that is only returned in GET requests. # Corresponds to the JSON property `accountId` - # @return [String] + # @return [Fixnum] attr_accessor :account_id # Whether this targetable remarketing list is active. @@ -10874,7 +10874,7 @@ module Google # Dimension value for the advertiser ID that owns this targetable remarketing # list. # Corresponds to the JSON property `advertiserId` - # @return [String] + # @return [Fixnum] attr_accessor :advertiser_id # Represents a DimensionValue resource. @@ -10889,7 +10889,7 @@ module Google # Targetable remarketing list ID. # Corresponds to the JSON property `id` - # @return [String] + # @return [Fixnum] attr_accessor :id # Identifies what kind of resource this is. Value: the fixed string " @@ -10901,12 +10901,12 @@ module Google # Number of days that a user should remain in the targetable remarketing list # without an impression. # Corresponds to the JSON property `lifeSpan` - # @return [String] + # @return [Fixnum] attr_accessor :life_span # Number of users currently in the list. This is a read-only field. # Corresponds to the JSON property `listSize` - # @return [String] + # @return [Fixnum] attr_accessor :list_size # Product from which this targetable remarketing list was originated. @@ -10923,7 +10923,7 @@ module Google # Subaccount ID of this remarketing list. This is a read-only, auto-generated # field that is only returned in GET requests. # Corresponds to the JSON property `subaccountId` - # @return [String] + # @return [Fixnum] attr_accessor :subaccount_id def initialize(**args) @@ -10987,13 +10987,13 @@ module Google # Account ID of this targeting template. This field, if left unset, will be auto- # generated on insert and is read-only after insert. # Corresponds to the JSON property `accountId` - # @return [String] + # @return [Fixnum] attr_accessor :account_id # Advertiser ID of this targeting template. This is a required field on insert # and is read-only after insert. # Corresponds to the JSON property `advertiserId` - # @return [String] + # @return [Fixnum] attr_accessor :advertiser_id # Represents a DimensionValue resource. @@ -11013,7 +11013,7 @@ module Google # ID of this targeting template. This is a read-only, auto-generated field. # Corresponds to the JSON property `id` - # @return [String] + # @return [Fixnum] attr_accessor :id # Key Value Targeting Expression. @@ -11046,7 +11046,7 @@ module Google # Subaccount ID of this targeting template. This field, if left unset, will be # auto-generated on insert and is read-only after insert. # Corresponds to the JSON property `subaccountId` - # @return [String] + # @return [Fixnum] attr_accessor :subaccount_id # Technology Targeting. @@ -11265,7 +11265,7 @@ module Google # The account ID to which this profile belongs. # Corresponds to the JSON property `accountId` - # @return [String] + # @return [Fixnum] attr_accessor :account_id # The account name this profile belongs to. @@ -11285,12 +11285,12 @@ module Google # The unique ID of the user profile. # Corresponds to the JSON property `profileId` - # @return [String] + # @return [Fixnum] attr_accessor :profile_id # The sub account ID this profile belongs to if applicable. # Corresponds to the JSON property `subAccountId` - # @return [String] + # @return [Fixnum] attr_accessor :sub_account_id # The sub account name this profile belongs to if applicable. @@ -11357,7 +11357,7 @@ module Google # Account ID of this user role. This is a read-only field that can be left blank. # Corresponds to the JSON property `accountId` - # @return [String] + # @return [Fixnum] attr_accessor :account_id # Whether this is a default user role. Default user roles are created by the @@ -11370,7 +11370,7 @@ module Google # ID of this user role. This is a read-only, auto-generated field. # Corresponds to the JSON property `id` - # @return [String] + # @return [Fixnum] attr_accessor :id # Identifies what kind of resource this is. Value: the fixed string " @@ -11391,7 +11391,7 @@ module Google # ID of the user role that this user role is based on or copied from. This is a # required field. # Corresponds to the JSON property `parentUserRoleId` - # @return [String] + # @return [Fixnum] attr_accessor :parent_user_role_id # List of permissions associated with this user role. @@ -11402,7 +11402,7 @@ module Google # Subaccount ID of this user role. This is a read-only field that can be left # blank. # Corresponds to the JSON property `subaccountId` - # @return [String] + # @return [Fixnum] attr_accessor :subaccount_id def initialize(**args) @@ -11433,7 +11433,7 @@ module Google # ID of this user role permission. # Corresponds to the JSON property `id` - # @return [String] + # @return [Fixnum] attr_accessor :id # Identifies what kind of resource this is. Value: the fixed string " @@ -11449,7 +11449,7 @@ module Google # ID of the permission group that this user role permission belongs to. # Corresponds to the JSON property `permissionGroupId` - # @return [String] + # @return [Fixnum] attr_accessor :permission_group_id def initialize(**args) @@ -11472,7 +11472,7 @@ module Google # ID of this user role permission. # Corresponds to the JSON property `id` - # @return [String] + # @return [Fixnum] attr_accessor :id # Identifies what kind of resource this is. Value: the fixed string " diff --git a/generated/google/apis/dfareporting_v2_6/representations.rb b/generated/google/apis/dfareporting_v2_6/representations.rb index cdb29771a..5af147db0 100644 --- a/generated/google/apis/dfareporting_v2_6/representations.rb +++ b/generated/google/apis/dfareporting_v2_6/representations.rb @@ -1285,30 +1285,30 @@ module Google property :active_ads_limit_tier, as: 'activeAdsLimitTier' property :active_view_opt_out, as: 'activeViewOptOut' collection :available_permission_ids, as: 'availablePermissionIds' - property :country_id, as: 'countryId' - property :currency_id, as: 'currencyId' - property :default_creative_size_id, as: 'defaultCreativeSizeId' + property :country_id, :numeric_string => true, as: 'countryId' + property :currency_id, :numeric_string => true, as: 'currencyId' + property :default_creative_size_id, :numeric_string => true, as: 'defaultCreativeSizeId' property :description, as: 'description' - property :id, as: 'id' + property :id, :numeric_string => true, as: 'id' property :kind, as: 'kind' property :locale, as: 'locale' - property :maximum_image_size, as: 'maximumImageSize' + property :maximum_image_size, :numeric_string => true, as: 'maximumImageSize' property :name, as: 'name' property :nielsen_ocr_enabled, as: 'nielsenOcrEnabled' property :reports_configuration, as: 'reportsConfiguration', class: Google::Apis::DfareportingV2_6::ReportsConfiguration, decorator: Google::Apis::DfareportingV2_6::ReportsConfiguration::Representation property :share_reports_with_twitter, as: 'shareReportsWithTwitter' - property :teaser_size_limit, as: 'teaserSizeLimit' + property :teaser_size_limit, :numeric_string => true, as: 'teaserSizeLimit' end end class AccountActiveAdSummary # @private class Representation < Google::Apis::Core::JsonRepresentation - property :account_id, as: 'accountId' - property :active_ads, as: 'activeAds' + property :account_id, :numeric_string => true, as: 'accountId' + property :active_ads, :numeric_string => true, as: 'activeAds' property :active_ads_limit_tier, as: 'activeAdsLimitTier' - property :available_ads, as: 'availableAds' + property :available_ads, :numeric_string => true, as: 'availableAds' property :kind, as: 'kind' end end @@ -1317,18 +1317,18 @@ module Google # @private class Representation < Google::Apis::Core::JsonRepresentation collection :account_profiles, as: 'accountProfiles' - property :id, as: 'id' + property :id, :numeric_string => true, as: 'id' property :kind, as: 'kind' property :level, as: 'level' property :name, as: 'name' - property :permission_group_id, as: 'permissionGroupId' + property :permission_group_id, :numeric_string => true, as: 'permissionGroupId' end end class AccountPermissionGroup # @private class Representation < Google::Apis::Core::JsonRepresentation - property :id, as: 'id' + property :id, :numeric_string => true, as: 'id' property :kind, as: 'kind' property :name, as: 'name' end @@ -1355,7 +1355,7 @@ module Google class AccountUserProfile # @private class Representation < Google::Apis::Core::JsonRepresentation - property :account_id, as: 'accountId' + property :account_id, :numeric_string => true, as: 'accountId' property :active, as: 'active' property :advertiser_filter, as: 'advertiserFilter', class: Google::Apis::DfareportingV2_6::ObjectFilter, decorator: Google::Apis::DfareportingV2_6::ObjectFilter::Representation @@ -1363,18 +1363,18 @@ module Google property :comments, as: 'comments' property :email, as: 'email' - property :id, as: 'id' + property :id, :numeric_string => true, as: 'id' property :kind, as: 'kind' property :locale, as: 'locale' property :name, as: 'name' property :site_filter, as: 'siteFilter', class: Google::Apis::DfareportingV2_6::ObjectFilter, decorator: Google::Apis::DfareportingV2_6::ObjectFilter::Representation - property :subaccount_id, as: 'subaccountId' + property :subaccount_id, :numeric_string => true, as: 'subaccountId' property :trafficker_type, as: 'traffickerType' property :user_access_type, as: 'userAccessType' property :user_role_filter, as: 'userRoleFilter', class: Google::Apis::DfareportingV2_6::ObjectFilter, decorator: Google::Apis::DfareportingV2_6::ObjectFilter::Representation - property :user_role_id, as: 'userRoleId' + property :user_role_id, :numeric_string => true, as: 'userRoleId' end end @@ -1411,14 +1411,14 @@ module Google class Ad # @private class Representation < Google::Apis::Core::JsonRepresentation - property :account_id, as: 'accountId' + property :account_id, :numeric_string => true, as: 'accountId' property :active, as: 'active' - property :advertiser_id, as: 'advertiserId' + property :advertiser_id, :numeric_string => true, as: 'advertiserId' property :advertiser_id_dimension_value, as: 'advertiserIdDimensionValue', class: Google::Apis::DfareportingV2_6::DimensionValue, decorator: Google::Apis::DfareportingV2_6::DimensionValue::Representation property :archived, as: 'archived' - property :audience_segment_id, as: 'audienceSegmentId' - property :campaign_id, as: 'campaignId' + property :audience_segment_id, :numeric_string => true, as: 'audienceSegmentId' + property :campaign_id, :numeric_string => true, as: 'campaignId' property :campaign_id_dimension_value, as: 'campaignIdDimensionValue', class: Google::Apis::DfareportingV2_6::DimensionValue, decorator: Google::Apis::DfareportingV2_6::DimensionValue::Representation property :click_through_url, as: 'clickThroughUrl', class: Google::Apis::DfareportingV2_6::ClickThroughUrl, decorator: Google::Apis::DfareportingV2_6::ClickThroughUrl::Representation @@ -1446,7 +1446,7 @@ module Google property :geo_targeting, as: 'geoTargeting', class: Google::Apis::DfareportingV2_6::GeoTargeting, decorator: Google::Apis::DfareportingV2_6::GeoTargeting::Representation - property :id, as: 'id' + property :id, :numeric_string => true, as: 'id' property :id_dimension_value, as: 'idDimensionValue', class: Google::Apis::DfareportingV2_6::DimensionValue, decorator: Google::Apis::DfareportingV2_6::DimensionValue::Representation property :key_value_targeting_expression, as: 'keyValueTargetingExpression', class: Google::Apis::DfareportingV2_6::KeyValueTargetingExpression, decorator: Google::Apis::DfareportingV2_6::KeyValueTargetingExpression::Representation @@ -1467,8 +1467,8 @@ module Google property :ssl_required, as: 'sslRequired' property :start_time, as: 'startTime', type: DateTime - property :subaccount_id, as: 'subaccountId' - property :targeting_template_id, as: 'targetingTemplateId' + property :subaccount_id, :numeric_string => true, as: 'subaccountId' + property :targeting_template_id, :numeric_string => true, as: 'targetingTemplateId' property :technology_targeting, as: 'technologyTargeting', class: Google::Apis::DfareportingV2_6::TechnologyTargeting, decorator: Google::Apis::DfareportingV2_6::TechnologyTargeting::Representation property :type, as: 'type' @@ -1480,12 +1480,12 @@ module Google class Representation < Google::Apis::Core::JsonRepresentation property :comment, as: 'comment' property :compatibility, as: 'compatibility' - property :height, as: 'height' - property :linked_placement_id, as: 'linkedPlacementId' + property :height, :numeric_string => true, as: 'height' + property :linked_placement_id, :numeric_string => true, as: 'linkedPlacementId' property :name, as: 'name' property :payment_source_type, as: 'paymentSourceType' property :primary, as: 'primary' - property :width, as: 'width' + property :width, :numeric_string => true, as: 'width' end end @@ -1502,22 +1502,22 @@ module Google class Advertiser # @private class Representation < Google::Apis::Core::JsonRepresentation - property :account_id, as: 'accountId' - property :advertiser_group_id, as: 'advertiserGroupId' + property :account_id, :numeric_string => true, as: 'accountId' + property :advertiser_group_id, :numeric_string => true, as: 'advertiserGroupId' property :click_through_url_suffix, as: 'clickThroughUrlSuffix' - property :default_click_through_event_tag_id, as: 'defaultClickThroughEventTagId' + property :default_click_through_event_tag_id, :numeric_string => true, as: 'defaultClickThroughEventTagId' property :default_email, as: 'defaultEmail' - property :floodlight_configuration_id, as: 'floodlightConfigurationId' + property :floodlight_configuration_id, :numeric_string => true, as: 'floodlightConfigurationId' property :floodlight_configuration_id_dimension_value, as: 'floodlightConfigurationIdDimensionValue', class: Google::Apis::DfareportingV2_6::DimensionValue, decorator: Google::Apis::DfareportingV2_6::DimensionValue::Representation - property :id, as: 'id' + property :id, :numeric_string => true, as: 'id' property :id_dimension_value, as: 'idDimensionValue', class: Google::Apis::DfareportingV2_6::DimensionValue, decorator: Google::Apis::DfareportingV2_6::DimensionValue::Representation property :kind, as: 'kind' property :name, as: 'name' - property :original_floodlight_configuration_id, as: 'originalFloodlightConfigurationId' + property :original_floodlight_configuration_id, :numeric_string => true, as: 'originalFloodlightConfigurationId' property :status, as: 'status' - property :subaccount_id, as: 'subaccountId' + property :subaccount_id, :numeric_string => true, as: 'subaccountId' property :suspended, as: 'suspended' end end @@ -1525,8 +1525,8 @@ module Google class AdvertiserGroup # @private class Representation < Google::Apis::Core::JsonRepresentation - property :account_id, as: 'accountId' - property :id, as: 'id' + property :account_id, :numeric_string => true, as: 'accountId' + property :id, :numeric_string => true, as: 'id' property :kind, as: 'kind' property :name, as: 'name' end @@ -1556,7 +1556,7 @@ module Google # @private class Representation < Google::Apis::Core::JsonRepresentation property :allocation, as: 'allocation' - property :id, as: 'id' + property :id, :numeric_string => true, as: 'id' property :name, as: 'name' end end @@ -1566,7 +1566,7 @@ module Google class Representation < Google::Apis::Core::JsonRepresentation collection :audience_segments, as: 'audienceSegments', class: Google::Apis::DfareportingV2_6::AudienceSegment, decorator: Google::Apis::DfareportingV2_6::AudienceSegment::Representation - property :id, as: 'id' + property :id, :numeric_string => true, as: 'id' property :name, as: 'name' end end @@ -1574,8 +1574,8 @@ module Google class Browser # @private class Representation < Google::Apis::Core::JsonRepresentation - property :browser_version_id, as: 'browserVersionId' - property :dart_id, as: 'dartId' + property :browser_version_id, :numeric_string => true, as: 'browserVersionId' + property :dart_id, :numeric_string => true, as: 'dartId' property :kind, as: 'kind' property :major_version, as: 'majorVersion' property :minor_version, as: 'minorVersion' @@ -1595,11 +1595,11 @@ module Google class Campaign # @private class Representation < Google::Apis::Core::JsonRepresentation - property :account_id, as: 'accountId' + property :account_id, :numeric_string => true, as: 'accountId' collection :additional_creative_optimization_configurations, as: 'additionalCreativeOptimizationConfigurations', class: Google::Apis::DfareportingV2_6::CreativeOptimizationConfiguration, decorator: Google::Apis::DfareportingV2_6::CreativeOptimizationConfiguration::Representation - property :advertiser_group_id, as: 'advertiserGroupId' - property :advertiser_id, as: 'advertiserId' + property :advertiser_group_id, :numeric_string => true, as: 'advertiserGroupId' + property :advertiser_id, :numeric_string => true, as: 'advertiserId' property :advertiser_id_dimension_value, as: 'advertiserIdDimensionValue', class: Google::Apis::DfareportingV2_6::DimensionValue, decorator: Google::Apis::DfareportingV2_6::DimensionValue::Representation property :archived, as: 'archived' @@ -1621,7 +1621,7 @@ module Google collection :event_tag_overrides, as: 'eventTagOverrides', class: Google::Apis::DfareportingV2_6::EventTagOverride, decorator: Google::Apis::DfareportingV2_6::EventTagOverride::Representation property :external_id, as: 'externalId' - property :id, as: 'id' + property :id, :numeric_string => true, as: 'id' property :id_dimension_value, as: 'idDimensionValue', class: Google::Apis::DfareportingV2_6::DimensionValue, decorator: Google::Apis::DfareportingV2_6::DimensionValue::Representation property :kind, as: 'kind' @@ -1633,7 +1633,7 @@ module Google property :nielsen_ocr_enabled, as: 'nielsenOcrEnabled' property :start_date, as: 'startDate', type: Date - property :subaccount_id, as: 'subaccountId' + property :subaccount_id, :numeric_string => true, as: 'subaccountId' collection :trafficker_emails, as: 'traffickerEmails' end end @@ -1641,7 +1641,7 @@ module Google class CampaignCreativeAssociation # @private class Representation < Google::Apis::Core::JsonRepresentation - property :creative_id, as: 'creativeId' + property :creative_id, :numeric_string => true, as: 'creativeId' property :kind, as: 'kind' end end @@ -1669,20 +1669,20 @@ module Google class ChangeLog # @private class Representation < Google::Apis::Core::JsonRepresentation - property :account_id, as: 'accountId' + property :account_id, :numeric_string => true, as: 'accountId' property :action, as: 'action' property :change_time, as: 'changeTime', type: DateTime property :field_name, as: 'fieldName' - property :id, as: 'id' + property :id, :numeric_string => true, as: 'id' property :kind, as: 'kind' property :new_value, as: 'newValue' - property :obj_id, as: 'objectId' + property :obj_id, :numeric_string => true, as: 'objectId' property :object_type, as: 'objectType' property :old_value, as: 'oldValue' - property :subaccount_id, as: 'subaccountId' - property :transaction_id, as: 'transactionId' - property :user_profile_id, as: 'userProfileId' + property :subaccount_id, :numeric_string => true, as: 'subaccountId' + property :transaction_id, :numeric_string => true, as: 'transactionId' + property :user_profile_id, :numeric_string => true, as: 'userProfileId' property :user_profile_name, as: 'userProfileName' end end @@ -1710,14 +1710,14 @@ module Google # @private class Representation < Google::Apis::Core::JsonRepresentation property :country_code, as: 'countryCode' - property :country_dart_id, as: 'countryDartId' - property :dart_id, as: 'dartId' + property :country_dart_id, :numeric_string => true, as: 'countryDartId' + property :dart_id, :numeric_string => true, as: 'dartId' property :kind, as: 'kind' property :metro_code, as: 'metroCode' - property :metro_dma_id, as: 'metroDmaId' + property :metro_dma_id, :numeric_string => true, as: 'metroDmaId' property :name, as: 'name' property :region_code, as: 'regionCode' - property :region_dart_id, as: 'regionDartId' + property :region_dart_id, :numeric_string => true, as: 'regionDartId' end end @@ -1736,7 +1736,7 @@ module Google property :computed_click_through_url, as: 'computedClickThroughUrl' property :custom_click_through_url, as: 'customClickThroughUrl' property :default_landing_page, as: 'defaultLandingPage' - property :landing_page_id, as: 'landingPageId' + property :landing_page_id, :numeric_string => true, as: 'landingPageId' end end @@ -1753,7 +1753,7 @@ module Google class Representation < Google::Apis::Core::JsonRepresentation property :click_through_url, as: 'clickThroughUrl', class: Google::Apis::DfareportingV2_6::ClickThroughUrl, decorator: Google::Apis::DfareportingV2_6::ClickThroughUrl::Representation - property :creative_id, as: 'creativeId' + property :creative_id, :numeric_string => true, as: 'creativeId' end end @@ -1777,7 +1777,7 @@ module Google class ConnectionType # @private class Representation < Google::Apis::Core::JsonRepresentation - property :id, as: 'id' + property :id, :numeric_string => true, as: 'id' property :kind, as: 'kind' property :name, as: 'name' end @@ -1805,8 +1805,8 @@ module Google class ContentCategory # @private class Representation < Google::Apis::Core::JsonRepresentation - property :account_id, as: 'accountId' - property :id, as: 'id' + property :account_id, :numeric_string => true, as: 'accountId' + property :id, :numeric_string => true, as: 'id' property :kind, as: 'kind' property :name, as: 'name' end @@ -1820,14 +1820,14 @@ module Google property :encrypted_user_id, as: 'encryptedUserId' collection :encrypted_user_id_candidates, as: 'encryptedUserIdCandidates' - property :floodlight_activity_id, as: 'floodlightActivityId' - property :floodlight_configuration_id, as: 'floodlightConfigurationId' + property :floodlight_activity_id, :numeric_string => true, as: 'floodlightActivityId' + property :floodlight_configuration_id, :numeric_string => true, as: 'floodlightConfigurationId' property :kind, as: 'kind' property :limit_ad_tracking, as: 'limitAdTracking' property :mobile_device_id, as: 'mobileDeviceId' property :ordinal, as: 'ordinal' - property :quantity, as: 'quantity' - property :timestamp_micros, as: 'timestampMicros' + property :quantity, :numeric_string => true, as: 'quantity' + property :timestamp_micros, :numeric_string => true, as: 'timestampMicros' property :value, as: 'value' end end @@ -1886,7 +1886,7 @@ module Google # @private class Representation < Google::Apis::Core::JsonRepresentation property :country_code, as: 'countryCode' - property :dart_id, as: 'dartId' + property :dart_id, :numeric_string => true, as: 'dartId' property :kind, as: 'kind' property :name, as: 'name' property :ssl_enabled, as: 'sslEnabled' @@ -1896,11 +1896,11 @@ module Google class Creative # @private class Representation < Google::Apis::Core::JsonRepresentation - property :account_id, as: 'accountId' + property :account_id, :numeric_string => true, as: 'accountId' property :active, as: 'active' property :ad_parameters, as: 'adParameters' collection :ad_tag_keys, as: 'adTagKeys' - property :advertiser_id, as: 'advertiserId' + property :advertiser_id, :numeric_string => true, as: 'advertiserId' property :allow_script_access, as: 'allowScriptAccess' property :archived, as: 'archived' property :artwork_type, as: 'artworkType' @@ -1935,17 +1935,17 @@ module Google property :html_code, as: 'htmlCode' property :html_code_locked, as: 'htmlCodeLocked' - property :id, as: 'id' + property :id, :numeric_string => true, as: 'id' property :id_dimension_value, as: 'idDimensionValue', class: Google::Apis::DfareportingV2_6::DimensionValue, decorator: Google::Apis::DfareportingV2_6::DimensionValue::Representation property :kind, as: 'kind' property :last_modified_info, as: 'lastModifiedInfo', class: Google::Apis::DfareportingV2_6::LastModifiedInfo, decorator: Google::Apis::DfareportingV2_6::LastModifiedInfo::Representation - property :latest_trafficked_creative_id, as: 'latestTraffickedCreativeId' + property :latest_trafficked_creative_id, :numeric_string => true, as: 'latestTraffickedCreativeId' property :name, as: 'name' property :override_css, as: 'overrideCss' property :redirect_url, as: 'redirectUrl' - property :rendering_id, as: 'renderingId' + property :rendering_id, :numeric_string => true, as: 'renderingId' property :rendering_id_dimension_value, as: 'renderingIdDimensionValue', class: Google::Apis::DfareportingV2_6::DimensionValue, decorator: Google::Apis::DfareportingV2_6::DimensionValue::Representation property :required_flash_plugin_version, as: 'requiredFlashPluginVersion' @@ -1955,17 +1955,17 @@ module Google property :skippable, as: 'skippable' property :ssl_compliant, as: 'sslCompliant' property :ssl_override, as: 'sslOverride' - property :studio_advertiser_id, as: 'studioAdvertiserId' - property :studio_creative_id, as: 'studioCreativeId' - property :studio_trafficked_creative_id, as: 'studioTraffickedCreativeId' - property :subaccount_id, as: 'subaccountId' + property :studio_advertiser_id, :numeric_string => true, as: 'studioAdvertiserId' + property :studio_creative_id, :numeric_string => true, as: 'studioCreativeId' + property :studio_trafficked_creative_id, :numeric_string => true, as: 'studioTraffickedCreativeId' + property :subaccount_id, :numeric_string => true, as: 'subaccountId' property :third_party_backup_image_impressions_url, as: 'thirdPartyBackupImageImpressionsUrl' property :third_party_rich_media_impressions_url, as: 'thirdPartyRichMediaImpressionsUrl' collection :third_party_urls, as: 'thirdPartyUrls', class: Google::Apis::DfareportingV2_6::ThirdPartyTrackingUrl, decorator: Google::Apis::DfareportingV2_6::ThirdPartyTrackingUrl::Representation collection :timer_custom_events, as: 'timerCustomEvents', class: Google::Apis::DfareportingV2_6::CreativeCustomEvent, decorator: Google::Apis::DfareportingV2_6::CreativeCustomEvent::Representation - property :total_file_size, as: 'totalFileSize' + property :total_file_size, :numeric_string => true, as: 'totalFileSize' property :type, as: 'type' property :version, as: 'version' property :video_description, as: 'videoDescription' @@ -1996,12 +1996,12 @@ module Google property :duration_type, as: 'durationType' property :expanded_dimension, as: 'expandedDimension', class: Google::Apis::DfareportingV2_6::Size, decorator: Google::Apis::DfareportingV2_6::Size::Representation - property :file_size, as: 'fileSize' + property :file_size, :numeric_string => true, as: 'fileSize' property :flash_version, as: 'flashVersion' property :hide_flash_objects, as: 'hideFlashObjects' property :hide_selection_boxes, as: 'hideSelectionBoxes' property :horizontally_locked, as: 'horizontallyLocked' - property :id, as: 'id' + property :id, :numeric_string => true, as: 'id' property :id_dimension_value, as: 'idDimensionValue', class: Google::Apis::DfareportingV2_6::DimensionValue, decorator: Google::Apis::DfareportingV2_6::DimensionValue::Representation property :mime_type, as: 'mimeType' @@ -2047,7 +2047,7 @@ module Google collection :click_tags, as: 'clickTags', class: Google::Apis::DfareportingV2_6::ClickTag, decorator: Google::Apis::DfareportingV2_6::ClickTag::Representation collection :detected_features, as: 'detectedFeatures' - property :id, as: 'id' + property :id, :numeric_string => true, as: 'id' property :id_dimension_value, as: 'idDimensionValue', class: Google::Apis::DfareportingV2_6::DimensionValue, decorator: Google::Apis::DfareportingV2_6::DimensionValue::Representation property :kind, as: 'kind' @@ -2058,7 +2058,7 @@ module Google class CreativeAssetSelection # @private class Representation < Google::Apis::Core::JsonRepresentation - property :default_asset_id, as: 'defaultAssetId' + property :default_asset_id, :numeric_string => true, as: 'defaultAssetId' collection :rules, as: 'rules', class: Google::Apis::DfareportingV2_6::Rule, decorator: Google::Apis::DfareportingV2_6::Rule::Representation end @@ -2075,7 +2075,7 @@ module Google collection :creative_group_assignments, as: 'creativeGroupAssignments', class: Google::Apis::DfareportingV2_6::CreativeGroupAssignment, decorator: Google::Apis::DfareportingV2_6::CreativeGroupAssignment::Representation - property :creative_id, as: 'creativeId' + property :creative_id, :numeric_string => true, as: 'creativeId' property :creative_id_dimension_value, as: 'creativeIdDimensionValue', class: Google::Apis::DfareportingV2_6::DimensionValue, decorator: Google::Apis::DfareportingV2_6::DimensionValue::Representation property :end_time, as: 'endTime', type: DateTime @@ -2093,13 +2093,13 @@ module Google class CreativeCustomEvent # @private class Representation < Google::Apis::Core::JsonRepresentation - property :advertiser_custom_event_id, as: 'advertiserCustomEventId' + property :advertiser_custom_event_id, :numeric_string => true, as: 'advertiserCustomEventId' property :advertiser_custom_event_name, as: 'advertiserCustomEventName' property :advertiser_custom_event_type, as: 'advertiserCustomEventType' property :artwork_label, as: 'artworkLabel' property :artwork_type, as: 'artworkType' property :exit_url, as: 'exitUrl' - property :id, as: 'id' + property :id, :numeric_string => true, as: 'id' property :popup_window_properties, as: 'popupWindowProperties', class: Google::Apis::DfareportingV2_6::PopupWindowProperties, decorator: Google::Apis::DfareportingV2_6::PopupWindowProperties::Representation property :target_type, as: 'targetType' @@ -2110,29 +2110,29 @@ module Google class CreativeField # @private class Representation < Google::Apis::Core::JsonRepresentation - property :account_id, as: 'accountId' - property :advertiser_id, as: 'advertiserId' + property :account_id, :numeric_string => true, as: 'accountId' + property :advertiser_id, :numeric_string => true, as: 'advertiserId' property :advertiser_id_dimension_value, as: 'advertiserIdDimensionValue', class: Google::Apis::DfareportingV2_6::DimensionValue, decorator: Google::Apis::DfareportingV2_6::DimensionValue::Representation - property :id, as: 'id' + property :id, :numeric_string => true, as: 'id' property :kind, as: 'kind' property :name, as: 'name' - property :subaccount_id, as: 'subaccountId' + property :subaccount_id, :numeric_string => true, as: 'subaccountId' end end class CreativeFieldAssignment # @private class Representation < Google::Apis::Core::JsonRepresentation - property :creative_field_id, as: 'creativeFieldId' - property :creative_field_value_id, as: 'creativeFieldValueId' + property :creative_field_id, :numeric_string => true, as: 'creativeFieldId' + property :creative_field_value_id, :numeric_string => true, as: 'creativeFieldValueId' end end class CreativeFieldValue # @private class Representation < Google::Apis::Core::JsonRepresentation - property :id, as: 'id' + property :id, :numeric_string => true, as: 'id' property :kind, as: 'kind' property :value, as: 'value' end @@ -2161,22 +2161,22 @@ module Google class CreativeGroup # @private class Representation < Google::Apis::Core::JsonRepresentation - property :account_id, as: 'accountId' - property :advertiser_id, as: 'advertiserId' + property :account_id, :numeric_string => true, as: 'accountId' + property :advertiser_id, :numeric_string => true, as: 'advertiserId' property :advertiser_id_dimension_value, as: 'advertiserIdDimensionValue', class: Google::Apis::DfareportingV2_6::DimensionValue, decorator: Google::Apis::DfareportingV2_6::DimensionValue::Representation property :group_number, as: 'groupNumber' - property :id, as: 'id' + property :id, :numeric_string => true, as: 'id' property :kind, as: 'kind' property :name, as: 'name' - property :subaccount_id, as: 'subaccountId' + property :subaccount_id, :numeric_string => true, as: 'subaccountId' end end class CreativeGroupAssignment # @private class Representation < Google::Apis::Core::JsonRepresentation - property :creative_group_id, as: 'creativeGroupId' + property :creative_group_id, :numeric_string => true, as: 'creativeGroupId' property :creative_group_number, as: 'creativeGroupNumber' end end @@ -2194,7 +2194,7 @@ module Google class CreativeOptimizationConfiguration # @private class Representation < Google::Apis::Core::JsonRepresentation - property :id, as: 'id' + property :id, :numeric_string => true, as: 'id' property :name, as: 'name' collection :optimization_activitys, as: 'optimizationActivitys', class: Google::Apis::DfareportingV2_6::OptimizationActivity, decorator: Google::Apis::DfareportingV2_6::OptimizationActivity::Representation @@ -2207,7 +2207,7 @@ module Google class Representation < Google::Apis::Core::JsonRepresentation collection :creative_assignments, as: 'creativeAssignments', class: Google::Apis::DfareportingV2_6::CreativeAssignment, decorator: Google::Apis::DfareportingV2_6::CreativeAssignment::Representation - property :creative_optimization_configuration_id, as: 'creativeOptimizationConfigurationId' + property :creative_optimization_configuration_id, :numeric_string => true, as: 'creativeOptimizationConfigurationId' property :type, as: 'type' property :weight_calculation_strategy, as: 'weightCalculationStrategy' end @@ -2288,7 +2288,7 @@ module Google class DefaultClickThroughEventTagProperties # @private class Representation < Google::Apis::Core::JsonRepresentation - property :default_click_through_event_tag_id, as: 'defaultClickThroughEventTagId' + property :default_click_through_event_tag_id, :numeric_string => true, as: 'defaultClickThroughEventTagId' property :override_inherited_event_tag, as: 'overrideInheritedEventTag' end end @@ -2299,7 +2299,7 @@ module Google property :frequency_cap, as: 'frequencyCap', class: Google::Apis::DfareportingV2_6::FrequencyCap, decorator: Google::Apis::DfareportingV2_6::FrequencyCap::Representation property :hard_cutoff, as: 'hardCutoff' - property :impression_ratio, as: 'impressionRatio' + property :impression_ratio, :numeric_string => true, as: 'impressionRatio' property :priority, as: 'priority' end end @@ -2375,17 +2375,17 @@ module Google property :active, as: 'active' collection :contact_assignments, as: 'contactAssignments', class: Google::Apis::DfareportingV2_6::DirectorySiteContactAssignment, decorator: Google::Apis::DfareportingV2_6::DirectorySiteContactAssignment::Representation - property :country_id, as: 'countryId' - property :currency_id, as: 'currencyId' + property :country_id, :numeric_string => true, as: 'countryId' + property :currency_id, :numeric_string => true, as: 'currencyId' property :description, as: 'description' - property :id, as: 'id' + property :id, :numeric_string => true, as: 'id' property :id_dimension_value, as: 'idDimensionValue', class: Google::Apis::DfareportingV2_6::DimensionValue, decorator: Google::Apis::DfareportingV2_6::DimensionValue::Representation collection :inpage_tag_formats, as: 'inpageTagFormats' collection :interstitial_tag_formats, as: 'interstitialTagFormats' property :kind, as: 'kind' property :name, as: 'name' - property :parent_id, as: 'parentId' + property :parent_id, :numeric_string => true, as: 'parentId' property :settings, as: 'settings', class: Google::Apis::DfareportingV2_6::DirectorySiteSettings, decorator: Google::Apis::DfareportingV2_6::DirectorySiteSettings::Representation property :url, as: 'url' @@ -2398,7 +2398,7 @@ module Google property :address, as: 'address' property :email, as: 'email' property :first_name, as: 'firstName' - property :id, as: 'id' + property :id, :numeric_string => true, as: 'id' property :kind, as: 'kind' property :last_name, as: 'lastName' property :phone, as: 'phone' @@ -2411,7 +2411,7 @@ module Google class DirectorySiteContactAssignment # @private class Representation < Google::Apis::Core::JsonRepresentation - property :contact_id, as: 'contactId' + property :contact_id, :numeric_string => true, as: 'contactId' property :visibility, as: 'visibility' end end @@ -2455,7 +2455,7 @@ module Google class Representation < Google::Apis::Core::JsonRepresentation property :kind, as: 'kind' property :name, as: 'name' - property :object_id_prop, as: 'objectId' + property :object_id_prop, :numeric_string => true, as: 'objectId' property :object_type, as: 'objectType' end end @@ -2472,7 +2472,7 @@ module Google class EncryptionInfo # @private class Representation < Google::Apis::Core::JsonRepresentation - property :encryption_entity_id, as: 'encryptionEntityId' + property :encryption_entity_id, :numeric_string => true, as: 'encryptionEntityId' property :encryption_entity_type, as: 'encryptionEntityType' property :encryption_source, as: 'encryptionSource' property :kind, as: 'kind' @@ -2482,23 +2482,23 @@ module Google class EventTag # @private class Representation < Google::Apis::Core::JsonRepresentation - property :account_id, as: 'accountId' - property :advertiser_id, as: 'advertiserId' + property :account_id, :numeric_string => true, as: 'accountId' + property :advertiser_id, :numeric_string => true, as: 'advertiserId' property :advertiser_id_dimension_value, as: 'advertiserIdDimensionValue', class: Google::Apis::DfareportingV2_6::DimensionValue, decorator: Google::Apis::DfareportingV2_6::DimensionValue::Representation - property :campaign_id, as: 'campaignId' + property :campaign_id, :numeric_string => true, as: 'campaignId' property :campaign_id_dimension_value, as: 'campaignIdDimensionValue', class: Google::Apis::DfareportingV2_6::DimensionValue, decorator: Google::Apis::DfareportingV2_6::DimensionValue::Representation property :enabled_by_default, as: 'enabledByDefault' property :exclude_from_adx_requests, as: 'excludeFromAdxRequests' - property :id, as: 'id' + property :id, :numeric_string => true, as: 'id' property :kind, as: 'kind' property :name, as: 'name' property :site_filter_type, as: 'siteFilterType' collection :site_ids, as: 'siteIds' property :ssl_compliant, as: 'sslCompliant' property :status, as: 'status' - property :subaccount_id, as: 'subaccountId' + property :subaccount_id, :numeric_string => true, as: 'subaccountId' property :type, as: 'type' property :url, as: 'url' property :url_escape_levels, as: 'urlEscapeLevels' @@ -2509,7 +2509,7 @@ module Google # @private class Representation < Google::Apis::Core::JsonRepresentation property :enabled, as: 'enabled' - property :id, as: 'id' + property :id, :numeric_string => true, as: 'id' end end @@ -2530,10 +2530,10 @@ module Google property :etag, as: 'etag' property :file_name, as: 'fileName' property :format, as: 'format' - property :id, as: 'id' + property :id, :numeric_string => true, as: 'id' property :kind, as: 'kind' - property :last_modified_time, as: 'lastModifiedTime' - property :report_id, as: 'reportId' + property :last_modified_time, :numeric_string => true, as: 'lastModifiedTime' + property :report_id, :numeric_string => true, as: 'reportId' property :status, as: 'status' property :urls, as: 'urls', class: Google::Apis::DfareportingV2_6::File::Urls, decorator: Google::Apis::DfareportingV2_6::File::Urls::Representation @@ -2564,10 +2564,10 @@ module Google class Representation < Google::Apis::Core::JsonRepresentation property :end_date, as: 'endDate', type: Date - property :rate_or_cost, as: 'rateOrCost' + property :rate_or_cost, :numeric_string => true, as: 'rateOrCost' property :start_date, as: 'startDate', type: Date - property :units, as: 'units' + property :units, :numeric_string => true, as: 'units' end end @@ -2592,8 +2592,8 @@ module Google class FloodlightActivity # @private class Representation < Google::Apis::Core::JsonRepresentation - property :account_id, as: 'accountId' - property :advertiser_id, as: 'advertiserId' + property :account_id, :numeric_string => true, as: 'accountId' + property :advertiser_id, :numeric_string => true, as: 'advertiserId' property :advertiser_id_dimension_value, as: 'advertiserIdDimensionValue', class: Google::Apis::DfareportingV2_6::DimensionValue, decorator: Google::Apis::DfareportingV2_6::DimensionValue::Representation property :cache_busting_type, as: 'cacheBustingType' @@ -2601,15 +2601,15 @@ module Google collection :default_tags, as: 'defaultTags', class: Google::Apis::DfareportingV2_6::FloodlightActivityDynamicTag, decorator: Google::Apis::DfareportingV2_6::FloodlightActivityDynamicTag::Representation property :expected_url, as: 'expectedUrl' - property :floodlight_activity_group_id, as: 'floodlightActivityGroupId' + property :floodlight_activity_group_id, :numeric_string => true, as: 'floodlightActivityGroupId' property :floodlight_activity_group_name, as: 'floodlightActivityGroupName' property :floodlight_activity_group_tag_string, as: 'floodlightActivityGroupTagString' property :floodlight_activity_group_type, as: 'floodlightActivityGroupType' - property :floodlight_configuration_id, as: 'floodlightConfigurationId' + property :floodlight_configuration_id, :numeric_string => true, as: 'floodlightConfigurationId' property :floodlight_configuration_id_dimension_value, as: 'floodlightConfigurationIdDimensionValue', class: Google::Apis::DfareportingV2_6::DimensionValue, decorator: Google::Apis::DfareportingV2_6::DimensionValue::Representation property :hidden, as: 'hidden' - property :id, as: 'id' + property :id, :numeric_string => true, as: 'id' property :id_dimension_value, as: 'idDimensionValue', class: Google::Apis::DfareportingV2_6::DimensionValue, decorator: Google::Apis::DfareportingV2_6::DimensionValue::Representation property :image_tag_enabled, as: 'imageTagEnabled' @@ -2621,7 +2621,7 @@ module Google property :secure, as: 'secure' property :ssl_compliant, as: 'sslCompliant' property :ssl_required, as: 'sslRequired' - property :subaccount_id, as: 'subaccountId' + property :subaccount_id, :numeric_string => true, as: 'subaccountId' property :tag_format, as: 'tagFormat' property :tag_string, as: 'tagString' collection :user_defined_variable_types, as: 'userDefinedVariableTypes' @@ -2631,7 +2631,7 @@ module Google class FloodlightActivityDynamicTag # @private class Representation < Google::Apis::Core::JsonRepresentation - property :id, as: 'id' + property :id, :numeric_string => true, as: 'id' property :name, as: 'name' property :tag, as: 'tag' end @@ -2640,19 +2640,19 @@ module Google class FloodlightActivityGroup # @private class Representation < Google::Apis::Core::JsonRepresentation - property :account_id, as: 'accountId' - property :advertiser_id, as: 'advertiserId' + property :account_id, :numeric_string => true, as: 'accountId' + property :advertiser_id, :numeric_string => true, as: 'advertiserId' property :advertiser_id_dimension_value, as: 'advertiserIdDimensionValue', class: Google::Apis::DfareportingV2_6::DimensionValue, decorator: Google::Apis::DfareportingV2_6::DimensionValue::Representation - property :floodlight_configuration_id, as: 'floodlightConfigurationId' + property :floodlight_configuration_id, :numeric_string => true, as: 'floodlightConfigurationId' property :floodlight_configuration_id_dimension_value, as: 'floodlightConfigurationIdDimensionValue', class: Google::Apis::DfareportingV2_6::DimensionValue, decorator: Google::Apis::DfareportingV2_6::DimensionValue::Representation - property :id, as: 'id' + property :id, :numeric_string => true, as: 'id' property :id_dimension_value, as: 'idDimensionValue', class: Google::Apis::DfareportingV2_6::DimensionValue, decorator: Google::Apis::DfareportingV2_6::DimensionValue::Representation property :kind, as: 'kind' property :name, as: 'name' - property :subaccount_id, as: 'subaccountId' + property :subaccount_id, :numeric_string => true, as: 'subaccountId' property :tag_string, as: 'tagString' property :type, as: 'type' end @@ -2672,10 +2672,10 @@ module Google # @private class Representation < Google::Apis::Core::JsonRepresentation property :click_through, as: 'clickThrough' - property :directory_site_id, as: 'directorySiteId' + property :directory_site_id, :numeric_string => true, as: 'directorySiteId' property :dynamic_tag, as: 'dynamicTag', class: Google::Apis::DfareportingV2_6::FloodlightActivityDynamicTag, decorator: Google::Apis::DfareportingV2_6::FloodlightActivityDynamicTag::Representation - property :site_id, as: 'siteId' + property :site_id, :numeric_string => true, as: 'siteId' property :site_id_dimension_value, as: 'siteIdDimensionValue', class: Google::Apis::DfareportingV2_6::DimensionValue, decorator: Google::Apis::DfareportingV2_6::DimensionValue::Representation property :view_through, as: 'viewThrough' @@ -2685,14 +2685,14 @@ module Google class FloodlightConfiguration # @private class Representation < Google::Apis::Core::JsonRepresentation - property :account_id, as: 'accountId' - property :advertiser_id, as: 'advertiserId' + property :account_id, :numeric_string => true, as: 'accountId' + property :advertiser_id, :numeric_string => true, as: 'advertiserId' property :advertiser_id_dimension_value, as: 'advertiserIdDimensionValue', class: Google::Apis::DfareportingV2_6::DimensionValue, decorator: Google::Apis::DfareportingV2_6::DimensionValue::Representation property :analytics_data_sharing_enabled, as: 'analyticsDataSharingEnabled' property :exposure_to_conversion_enabled, as: 'exposureToConversionEnabled' property :first_day_of_week, as: 'firstDayOfWeek' - property :id, as: 'id' + property :id, :numeric_string => true, as: 'id' property :id_dimension_value, as: 'idDimensionValue', class: Google::Apis::DfareportingV2_6::DimensionValue, decorator: Google::Apis::DfareportingV2_6::DimensionValue::Representation property :in_app_attribution_tracking_enabled, as: 'inAppAttributionTrackingEnabled' @@ -2703,7 +2703,7 @@ module Google property :omniture_settings, as: 'omnitureSettings', class: Google::Apis::DfareportingV2_6::OmnitureSettings, decorator: Google::Apis::DfareportingV2_6::OmnitureSettings::Representation collection :standard_variable_types, as: 'standardVariableTypes' - property :subaccount_id, as: 'subaccountId' + property :subaccount_id, :numeric_string => true, as: 'subaccountId' property :tag_settings, as: 'tagSettings', class: Google::Apis::DfareportingV2_6::TagSettings, decorator: Google::Apis::DfareportingV2_6::TagSettings::Representation collection :third_party_authentication_tokens, as: 'thirdPartyAuthenticationTokens', class: Google::Apis::DfareportingV2_6::ThirdPartyAuthenticationToken, decorator: Google::Apis::DfareportingV2_6::ThirdPartyAuthenticationToken::Representation @@ -2738,8 +2738,8 @@ module Google class FrequencyCap # @private class Representation < Google::Apis::Core::JsonRepresentation - property :duration, as: 'duration' - property :impressions, as: 'impressions' + property :duration, :numeric_string => true, as: 'duration' + property :impressions, :numeric_string => true, as: 'impressions' end end @@ -2774,28 +2774,28 @@ module Google class InventoryItem # @private class Representation < Google::Apis::Core::JsonRepresentation - property :account_id, as: 'accountId' + property :account_id, :numeric_string => true, as: 'accountId' collection :ad_slots, as: 'adSlots', class: Google::Apis::DfareportingV2_6::AdSlot, decorator: Google::Apis::DfareportingV2_6::AdSlot::Representation - property :advertiser_id, as: 'advertiserId' - property :content_category_id, as: 'contentCategoryId' - property :estimated_click_through_rate, as: 'estimatedClickThroughRate' - property :estimated_conversion_rate, as: 'estimatedConversionRate' - property :id, as: 'id' + property :advertiser_id, :numeric_string => true, as: 'advertiserId' + property :content_category_id, :numeric_string => true, as: 'contentCategoryId' + property :estimated_click_through_rate, :numeric_string => true, as: 'estimatedClickThroughRate' + property :estimated_conversion_rate, :numeric_string => true, as: 'estimatedConversionRate' + property :id, :numeric_string => true, as: 'id' property :in_plan, as: 'inPlan' property :kind, as: 'kind' property :last_modified_info, as: 'lastModifiedInfo', class: Google::Apis::DfareportingV2_6::LastModifiedInfo, decorator: Google::Apis::DfareportingV2_6::LastModifiedInfo::Representation property :name, as: 'name' - property :negotiation_channel_id, as: 'negotiationChannelId' - property :order_id, as: 'orderId' - property :placement_strategy_id, as: 'placementStrategyId' + property :negotiation_channel_id, :numeric_string => true, as: 'negotiationChannelId' + property :order_id, :numeric_string => true, as: 'orderId' + property :placement_strategy_id, :numeric_string => true, as: 'placementStrategyId' property :pricing, as: 'pricing', class: Google::Apis::DfareportingV2_6::Pricing, decorator: Google::Apis::DfareportingV2_6::Pricing::Representation - property :project_id, as: 'projectId' - property :rfp_id, as: 'rfpId' - property :site_id, as: 'siteId' - property :subaccount_id, as: 'subaccountId' + property :project_id, :numeric_string => true, as: 'projectId' + property :rfp_id, :numeric_string => true, as: 'rfpId' + property :site_id, :numeric_string => true, as: 'siteId' + property :subaccount_id, :numeric_string => true, as: 'subaccountId' property :type, as: 'type' end end @@ -2821,7 +2821,7 @@ module Google # @private class Representation < Google::Apis::Core::JsonRepresentation property :default, as: 'default' - property :id, as: 'id' + property :id, :numeric_string => true, as: 'id' property :kind, as: 'kind' property :name, as: 'name' property :url, as: 'url' @@ -2840,7 +2840,7 @@ module Google class Language # @private class Representation < Google::Apis::Core::JsonRepresentation - property :id, as: 'id' + property :id, :numeric_string => true, as: 'id' property :kind, as: 'kind' property :language_code, as: 'languageCode' property :name, as: 'name' @@ -2867,7 +2867,7 @@ module Google class LastModifiedInfo # @private class Representation < Google::Apis::Core::JsonRepresentation - property :time, as: 'time' + property :time, :numeric_string => true, as: 'time' end end @@ -2882,7 +2882,7 @@ module Google class ListPopulationRule # @private class Representation < Google::Apis::Core::JsonRepresentation - property :floodlight_activity_id, as: 'floodlightActivityId' + property :floodlight_activity_id, :numeric_string => true, as: 'floodlightActivityId' property :floodlight_activity_name, as: 'floodlightActivityName' collection :list_population_clauses, as: 'listPopulationClauses', class: Google::Apis::DfareportingV2_6::ListPopulationClause, decorator: Google::Apis::DfareportingV2_6::ListPopulationClause::Representation @@ -2895,7 +2895,7 @@ module Google property :contains, as: 'contains' property :negation, as: 'negation' property :operator, as: 'operator' - property :remarketing_list_id, as: 'remarketingListId' + property :remarketing_list_id, :numeric_string => true, as: 'remarketingListId' property :type, as: 'type' property :value, as: 'value' property :variable_friendly_name, as: 'variableFriendlyName' @@ -2930,9 +2930,9 @@ module Google # @private class Representation < Google::Apis::Core::JsonRepresentation property :country_code, as: 'countryCode' - property :country_dart_id, as: 'countryDartId' - property :dart_id, as: 'dartId' - property :dma_id, as: 'dmaId' + property :country_dart_id, :numeric_string => true, as: 'countryDartId' + property :dart_id, :numeric_string => true, as: 'dartId' + property :dma_id, :numeric_string => true, as: 'dmaId' property :kind, as: 'kind' property :metro_code, as: 'metroCode' property :name, as: 'name' @@ -2952,8 +2952,8 @@ module Google # @private class Representation < Google::Apis::Core::JsonRepresentation property :country_code, as: 'countryCode' - property :country_dart_id, as: 'countryDartId' - property :id, as: 'id' + property :country_dart_id, :numeric_string => true, as: 'countryDartId' + property :id, :numeric_string => true, as: 'id' property :kind, as: 'kind' property :name, as: 'name' end @@ -2996,7 +2996,7 @@ module Google class OperatingSystem # @private class Representation < Google::Apis::Core::JsonRepresentation - property :dart_id, as: 'dartId' + property :dart_id, :numeric_string => true, as: 'dartId' property :desktop, as: 'desktop' property :kind, as: 'kind' property :mobile, as: 'mobile' @@ -3007,7 +3007,7 @@ module Google class OperatingSystemVersion # @private class Representation < Google::Apis::Core::JsonRepresentation - property :id, as: 'id' + property :id, :numeric_string => true, as: 'id' property :kind, as: 'kind' property :major_version, as: 'majorVersion' property :minor_version, as: 'minorVersion' @@ -3038,7 +3038,7 @@ module Google class OptimizationActivity # @private class Representation < Google::Apis::Core::JsonRepresentation - property :floodlight_activity_id, as: 'floodlightActivityId' + property :floodlight_activity_id, :numeric_string => true, as: 'floodlightActivityId' property :floodlight_activity_id_dimension_value, as: 'floodlightActivityIdDimensionValue', class: Google::Apis::DfareportingV2_6::DimensionValue, decorator: Google::Apis::DfareportingV2_6::DimensionValue::Representation property :weight, as: 'weight' @@ -3048,27 +3048,27 @@ module Google class Order # @private class Representation < Google::Apis::Core::JsonRepresentation - property :account_id, as: 'accountId' - property :advertiser_id, as: 'advertiserId' + property :account_id, :numeric_string => true, as: 'accountId' + property :advertiser_id, :numeric_string => true, as: 'advertiserId' collection :approver_user_profile_ids, as: 'approverUserProfileIds' property :buyer_invoice_id, as: 'buyerInvoiceId' property :buyer_organization_name, as: 'buyerOrganizationName' property :comments, as: 'comments' collection :contacts, as: 'contacts', class: Google::Apis::DfareportingV2_6::OrderContact, decorator: Google::Apis::DfareportingV2_6::OrderContact::Representation - property :id, as: 'id' + property :id, :numeric_string => true, as: 'id' property :kind, as: 'kind' property :last_modified_info, as: 'lastModifiedInfo', class: Google::Apis::DfareportingV2_6::LastModifiedInfo, decorator: Google::Apis::DfareportingV2_6::LastModifiedInfo::Representation property :name, as: 'name' property :notes, as: 'notes' - property :planning_term_id, as: 'planningTermId' - property :project_id, as: 'projectId' + property :planning_term_id, :numeric_string => true, as: 'planningTermId' + property :project_id, :numeric_string => true, as: 'projectId' property :seller_order_id, as: 'sellerOrderId' property :seller_organization_name, as: 'sellerOrganizationName' collection :site_id, as: 'siteId' collection :site_names, as: 'siteNames' - property :subaccount_id, as: 'subaccountId' + property :subaccount_id, :numeric_string => true, as: 'subaccountId' property :terms_and_conditions, as: 'termsAndConditions' end end @@ -3080,31 +3080,31 @@ module Google property :contact_name, as: 'contactName' property :contact_title, as: 'contactTitle' property :contact_type, as: 'contactType' - property :signature_user_profile_id, as: 'signatureUserProfileId' + property :signature_user_profile_id, :numeric_string => true, as: 'signatureUserProfileId' end end class OrderDocument # @private class Representation < Google::Apis::Core::JsonRepresentation - property :account_id, as: 'accountId' - property :advertiser_id, as: 'advertiserId' - property :amended_order_document_id, as: 'amendedOrderDocumentId' + property :account_id, :numeric_string => true, as: 'accountId' + property :advertiser_id, :numeric_string => true, as: 'advertiserId' + property :amended_order_document_id, :numeric_string => true, as: 'amendedOrderDocumentId' collection :approved_by_user_profile_ids, as: 'approvedByUserProfileIds' property :cancelled, as: 'cancelled' property :created_info, as: 'createdInfo', class: Google::Apis::DfareportingV2_6::LastModifiedInfo, decorator: Google::Apis::DfareportingV2_6::LastModifiedInfo::Representation property :effective_date, as: 'effectiveDate', type: Date - property :id, as: 'id' + property :id, :numeric_string => true, as: 'id' property :kind, as: 'kind' collection :last_sent_recipients, as: 'lastSentRecipients' property :last_sent_time, as: 'lastSentTime', type: DateTime - property :order_id, as: 'orderId' - property :project_id, as: 'projectId' + property :order_id, :numeric_string => true, as: 'orderId' + property :project_id, :numeric_string => true, as: 'projectId' property :signed, as: 'signed' - property :subaccount_id, as: 'subaccountId' + property :subaccount_id, :numeric_string => true, as: 'subaccountId' property :title, as: 'title' property :type, as: 'type' end @@ -3148,24 +3148,24 @@ module Google class Placement # @private class Representation < Google::Apis::Core::JsonRepresentation - property :account_id, as: 'accountId' - property :advertiser_id, as: 'advertiserId' + property :account_id, :numeric_string => true, as: 'accountId' + property :advertiser_id, :numeric_string => true, as: 'advertiserId' property :advertiser_id_dimension_value, as: 'advertiserIdDimensionValue', class: Google::Apis::DfareportingV2_6::DimensionValue, decorator: Google::Apis::DfareportingV2_6::DimensionValue::Representation property :archived, as: 'archived' - property :campaign_id, as: 'campaignId' + property :campaign_id, :numeric_string => true, as: 'campaignId' property :campaign_id_dimension_value, as: 'campaignIdDimensionValue', class: Google::Apis::DfareportingV2_6::DimensionValue, decorator: Google::Apis::DfareportingV2_6::DimensionValue::Representation property :comment, as: 'comment' property :compatibility, as: 'compatibility' - property :content_category_id, as: 'contentCategoryId' + property :content_category_id, :numeric_string => true, as: 'contentCategoryId' property :create_info, as: 'createInfo', class: Google::Apis::DfareportingV2_6::LastModifiedInfo, decorator: Google::Apis::DfareportingV2_6::LastModifiedInfo::Representation - property :directory_site_id, as: 'directorySiteId' + property :directory_site_id, :numeric_string => true, as: 'directorySiteId' property :directory_site_id_dimension_value, as: 'directorySiteIdDimensionValue', class: Google::Apis::DfareportingV2_6::DimensionValue, decorator: Google::Apis::DfareportingV2_6::DimensionValue::Representation property :external_id, as: 'externalId' - property :id, as: 'id' + property :id, :numeric_string => true, as: 'id' property :id_dimension_value, as: 'idDimensionValue', class: Google::Apis::DfareportingV2_6::DimensionValue, decorator: Google::Apis::DfareportingV2_6::DimensionValue::Representation property :key_name, as: 'keyName' @@ -3177,23 +3177,23 @@ module Google property :name, as: 'name' property :payment_approved, as: 'paymentApproved' property :payment_source, as: 'paymentSource' - property :placement_group_id, as: 'placementGroupId' + property :placement_group_id, :numeric_string => true, as: 'placementGroupId' property :placement_group_id_dimension_value, as: 'placementGroupIdDimensionValue', class: Google::Apis::DfareportingV2_6::DimensionValue, decorator: Google::Apis::DfareportingV2_6::DimensionValue::Representation - property :placement_strategy_id, as: 'placementStrategyId' + property :placement_strategy_id, :numeric_string => true, as: 'placementStrategyId' property :pricing_schedule, as: 'pricingSchedule', class: Google::Apis::DfareportingV2_6::PricingSchedule, decorator: Google::Apis::DfareportingV2_6::PricingSchedule::Representation property :primary, as: 'primary' property :publisher_update_info, as: 'publisherUpdateInfo', class: Google::Apis::DfareportingV2_6::LastModifiedInfo, decorator: Google::Apis::DfareportingV2_6::LastModifiedInfo::Representation - property :site_id, as: 'siteId' + property :site_id, :numeric_string => true, as: 'siteId' property :site_id_dimension_value, as: 'siteIdDimensionValue', class: Google::Apis::DfareportingV2_6::DimensionValue, decorator: Google::Apis::DfareportingV2_6::DimensionValue::Representation property :size, as: 'size', class: Google::Apis::DfareportingV2_6::Size, decorator: Google::Apis::DfareportingV2_6::Size::Representation property :ssl_required, as: 'sslRequired' property :status, as: 'status' - property :subaccount_id, as: 'subaccountId' + property :subaccount_id, :numeric_string => true, as: 'subaccountId' collection :tag_formats, as: 'tagFormats' property :tag_setting, as: 'tagSetting', class: Google::Apis::DfareportingV2_6::TagSetting, decorator: Google::Apis::DfareportingV2_6::TagSetting::Representation @@ -3204,7 +3204,7 @@ module Google # @private class Representation < Google::Apis::Core::JsonRepresentation property :active, as: 'active' - property :placement_id, as: 'placementId' + property :placement_id, :numeric_string => true, as: 'placementId' property :placement_id_dimension_value, as: 'placementIdDimensionValue', class: Google::Apis::DfareportingV2_6::DimensionValue, decorator: Google::Apis::DfareportingV2_6::DimensionValue::Representation property :ssl_required, as: 'sslRequired' @@ -3214,24 +3214,24 @@ module Google class PlacementGroup # @private class Representation < Google::Apis::Core::JsonRepresentation - property :account_id, as: 'accountId' - property :advertiser_id, as: 'advertiserId' + property :account_id, :numeric_string => true, as: 'accountId' + property :advertiser_id, :numeric_string => true, as: 'advertiserId' property :advertiser_id_dimension_value, as: 'advertiserIdDimensionValue', class: Google::Apis::DfareportingV2_6::DimensionValue, decorator: Google::Apis::DfareportingV2_6::DimensionValue::Representation property :archived, as: 'archived' - property :campaign_id, as: 'campaignId' + property :campaign_id, :numeric_string => true, as: 'campaignId' property :campaign_id_dimension_value, as: 'campaignIdDimensionValue', class: Google::Apis::DfareportingV2_6::DimensionValue, decorator: Google::Apis::DfareportingV2_6::DimensionValue::Representation collection :child_placement_ids, as: 'childPlacementIds' property :comment, as: 'comment' - property :content_category_id, as: 'contentCategoryId' + property :content_category_id, :numeric_string => true, as: 'contentCategoryId' property :create_info, as: 'createInfo', class: Google::Apis::DfareportingV2_6::LastModifiedInfo, decorator: Google::Apis::DfareportingV2_6::LastModifiedInfo::Representation - property :directory_site_id, as: 'directorySiteId' + property :directory_site_id, :numeric_string => true, as: 'directorySiteId' property :directory_site_id_dimension_value, as: 'directorySiteIdDimensionValue', class: Google::Apis::DfareportingV2_6::DimensionValue, decorator: Google::Apis::DfareportingV2_6::DimensionValue::Representation property :external_id, as: 'externalId' - property :id, as: 'id' + property :id, :numeric_string => true, as: 'id' property :id_dimension_value, as: 'idDimensionValue', class: Google::Apis::DfareportingV2_6::DimensionValue, decorator: Google::Apis::DfareportingV2_6::DimensionValue::Representation property :kind, as: 'kind' @@ -3239,16 +3239,16 @@ module Google property :name, as: 'name' property :placement_group_type, as: 'placementGroupType' - property :placement_strategy_id, as: 'placementStrategyId' + property :placement_strategy_id, :numeric_string => true, as: 'placementStrategyId' property :pricing_schedule, as: 'pricingSchedule', class: Google::Apis::DfareportingV2_6::PricingSchedule, decorator: Google::Apis::DfareportingV2_6::PricingSchedule::Representation - property :primary_placement_id, as: 'primaryPlacementId' + property :primary_placement_id, :numeric_string => true, as: 'primaryPlacementId' property :primary_placement_id_dimension_value, as: 'primaryPlacementIdDimensionValue', class: Google::Apis::DfareportingV2_6::DimensionValue, decorator: Google::Apis::DfareportingV2_6::DimensionValue::Representation - property :site_id, as: 'siteId' + property :site_id, :numeric_string => true, as: 'siteId' property :site_id_dimension_value, as: 'siteIdDimensionValue', class: Google::Apis::DfareportingV2_6::DimensionValue, decorator: Google::Apis::DfareportingV2_6::DimensionValue::Representation - property :subaccount_id, as: 'subaccountId' + property :subaccount_id, :numeric_string => true, as: 'subaccountId' end end @@ -3275,8 +3275,8 @@ module Google class PlacementStrategy # @private class Representation < Google::Apis::Core::JsonRepresentation - property :account_id, as: 'accountId' - property :id, as: 'id' + property :account_id, :numeric_string => true, as: 'accountId' + property :id, :numeric_string => true, as: 'id' property :kind, as: 'kind' property :name, as: 'name' end @@ -3285,7 +3285,7 @@ module Google class PlacementTag # @private class Representation < Google::Apis::Core::JsonRepresentation - property :placement_id, as: 'placementId' + property :placement_id, :numeric_string => true, as: 'placementId' collection :tag_datas, as: 'tagDatas', class: Google::Apis::DfareportingV2_6::TagData, decorator: Google::Apis::DfareportingV2_6::TagData::Representation end @@ -3313,7 +3313,7 @@ module Google class PlatformType # @private class Representation < Google::Apis::Core::JsonRepresentation - property :id, as: 'id' + property :id, :numeric_string => true, as: 'id' property :kind, as: 'kind' property :name, as: 'name' end @@ -3350,7 +3350,7 @@ module Google class Representation < Google::Apis::Core::JsonRepresentation property :code, as: 'code' property :country_code, as: 'countryCode' - property :country_dart_id, as: 'countryDartId' + property :country_dart_id, :numeric_string => true, as: 'countryDartId' property :id, as: 'id' property :kind, as: 'kind' end @@ -3388,7 +3388,7 @@ module Google property :end_date, as: 'endDate', type: Date property :flighted, as: 'flighted' - property :floodlight_activity_id, as: 'floodlightActivityId' + property :floodlight_activity_id, :numeric_string => true, as: 'floodlightActivityId' collection :pricing_periods, as: 'pricingPeriods', class: Google::Apis::DfareportingV2_6::PricingSchedulePricingPeriod, decorator: Google::Apis::DfareportingV2_6::PricingSchedulePricingPeriod::Representation property :pricing_type, as: 'pricingType' @@ -3405,26 +3405,26 @@ module Google property :end_date, as: 'endDate', type: Date property :pricing_comment, as: 'pricingComment' - property :rate_or_cost_nanos, as: 'rateOrCostNanos' + property :rate_or_cost_nanos, :numeric_string => true, as: 'rateOrCostNanos' property :start_date, as: 'startDate', type: Date - property :units, as: 'units' + property :units, :numeric_string => true, as: 'units' end end class Project # @private class Representation < Google::Apis::Core::JsonRepresentation - property :account_id, as: 'accountId' - property :advertiser_id, as: 'advertiserId' + property :account_id, :numeric_string => true, as: 'accountId' + property :advertiser_id, :numeric_string => true, as: 'advertiserId' property :audience_age_group, as: 'audienceAgeGroup' property :audience_gender, as: 'audienceGender' - property :budget, as: 'budget' + property :budget, :numeric_string => true, as: 'budget' property :client_billing_code, as: 'clientBillingCode' property :client_name, as: 'clientName' property :end_date, as: 'endDate', type: Date - property :id, as: 'id' + property :id, :numeric_string => true, as: 'id' property :kind, as: 'kind' property :last_modified_info, as: 'lastModifiedInfo', class: Google::Apis::DfareportingV2_6::LastModifiedInfo, decorator: Google::Apis::DfareportingV2_6::LastModifiedInfo::Representation @@ -3432,14 +3432,14 @@ module Google property :overview, as: 'overview' property :start_date, as: 'startDate', type: Date - property :subaccount_id, as: 'subaccountId' - property :target_clicks, as: 'targetClicks' - property :target_conversions, as: 'targetConversions' - property :target_cpa_nanos, as: 'targetCpaNanos' - property :target_cpc_nanos, as: 'targetCpcNanos' - property :target_cpm_active_view_nanos, as: 'targetCpmActiveViewNanos' - property :target_cpm_nanos, as: 'targetCpmNanos' - property :target_impressions, as: 'targetImpressions' + property :subaccount_id, :numeric_string => true, as: 'subaccountId' + property :target_clicks, :numeric_string => true, as: 'targetClicks' + property :target_conversions, :numeric_string => true, as: 'targetConversions' + property :target_cpa_nanos, :numeric_string => true, as: 'targetCpaNanos' + property :target_cpc_nanos, :numeric_string => true, as: 'targetCpcNanos' + property :target_cpm_active_view_nanos, :numeric_string => true, as: 'targetCpmActiveViewNanos' + property :target_cpm_nanos, :numeric_string => true, as: 'targetCpmNanos' + property :target_impressions, :numeric_string => true, as: 'targetImpressions' end end @@ -3483,8 +3483,8 @@ module Google # @private class Representation < Google::Apis::Core::JsonRepresentation property :country_code, as: 'countryCode' - property :country_dart_id, as: 'countryDartId' - property :dart_id, as: 'dartId' + property :country_dart_id, :numeric_string => true, as: 'countryDartId' + property :dart_id, :numeric_string => true, as: 'dartId' property :kind, as: 'kind' property :name, as: 'name' property :region_code, as: 'regionCode' @@ -3503,21 +3503,21 @@ module Google class RemarketingList # @private class Representation < Google::Apis::Core::JsonRepresentation - property :account_id, as: 'accountId' + property :account_id, :numeric_string => true, as: 'accountId' property :active, as: 'active' - property :advertiser_id, as: 'advertiserId' + property :advertiser_id, :numeric_string => true, as: 'advertiserId' property :advertiser_id_dimension_value, as: 'advertiserIdDimensionValue', class: Google::Apis::DfareportingV2_6::DimensionValue, decorator: Google::Apis::DfareportingV2_6::DimensionValue::Representation property :description, as: 'description' - property :id, as: 'id' + property :id, :numeric_string => true, as: 'id' property :kind, as: 'kind' - property :life_span, as: 'lifeSpan' + property :life_span, :numeric_string => true, as: 'lifeSpan' property :list_population_rule, as: 'listPopulationRule', class: Google::Apis::DfareportingV2_6::ListPopulationRule, decorator: Google::Apis::DfareportingV2_6::ListPopulationRule::Representation - property :list_size, as: 'listSize' + property :list_size, :numeric_string => true, as: 'listSize' property :list_source, as: 'listSource' property :name, as: 'name' - property :subaccount_id, as: 'subaccountId' + property :subaccount_id, :numeric_string => true, as: 'subaccountId' end end @@ -3525,7 +3525,7 @@ module Google # @private class Representation < Google::Apis::Core::JsonRepresentation property :kind, as: 'kind' - property :remarketing_list_id, as: 'remarketingListId' + property :remarketing_list_id, :numeric_string => true, as: 'remarketingListId' collection :shared_account_ids, as: 'sharedAccountIds' collection :shared_advertiser_ids, as: 'sharedAdvertiserIds' end @@ -3544,7 +3544,7 @@ module Google class Report # @private class Representation < Google::Apis::Core::JsonRepresentation - property :account_id, as: 'accountId' + property :account_id, :numeric_string => true, as: 'accountId' property :criteria, as: 'criteria', class: Google::Apis::DfareportingV2_6::Report::Criteria, decorator: Google::Apis::DfareportingV2_6::Report::Criteria::Representation property :cross_dimension_reach_criteria, as: 'crossDimensionReachCriteria', class: Google::Apis::DfareportingV2_6::Report::CrossDimensionReachCriteria, decorator: Google::Apis::DfareportingV2_6::Report::CrossDimensionReachCriteria::Representation @@ -3556,18 +3556,18 @@ module Google property :floodlight_criteria, as: 'floodlightCriteria', class: Google::Apis::DfareportingV2_6::Report::FloodlightCriteria, decorator: Google::Apis::DfareportingV2_6::Report::FloodlightCriteria::Representation property :format, as: 'format' - property :id, as: 'id' + property :id, :numeric_string => true, as: 'id' property :kind, as: 'kind' - property :last_modified_time, as: 'lastModifiedTime' + property :last_modified_time, :numeric_string => true, as: 'lastModifiedTime' property :name, as: 'name' - property :owner_profile_id, as: 'ownerProfileId' + property :owner_profile_id, :numeric_string => true, as: 'ownerProfileId' property :path_to_conversion_criteria, as: 'pathToConversionCriteria', class: Google::Apis::DfareportingV2_6::Report::PathToConversionCriteria, decorator: Google::Apis::DfareportingV2_6::Report::PathToConversionCriteria::Representation property :reach_criteria, as: 'reachCriteria', class: Google::Apis::DfareportingV2_6::Report::ReachCriteria, decorator: Google::Apis::DfareportingV2_6::Report::ReachCriteria::Representation property :schedule, as: 'schedule', class: Google::Apis::DfareportingV2_6::Report::Schedule, decorator: Google::Apis::DfareportingV2_6::Report::Schedule::Representation - property :sub_account_id, as: 'subAccountId' + property :sub_account_id, :numeric_string => true, as: 'subAccountId' property :type, as: 'type' end @@ -3748,7 +3748,7 @@ module Google property :exposure_to_conversion_enabled, as: 'exposureToConversionEnabled' property :lookback_configuration, as: 'lookbackConfiguration', class: Google::Apis::DfareportingV2_6::LookbackConfiguration, decorator: Google::Apis::DfareportingV2_6::LookbackConfiguration::Representation - property :report_generation_time_zone_id, as: 'reportGenerationTimeZoneId' + property :report_generation_time_zone_id, :numeric_string => true, as: 'reportGenerationTimeZoneId' end end @@ -3758,28 +3758,28 @@ module Google property :click_through_url, as: 'clickThroughUrl', class: Google::Apis::DfareportingV2_6::ClickThroughUrl, decorator: Google::Apis::DfareportingV2_6::ClickThroughUrl::Representation property :enabled, as: 'enabled' - property :exit_id, as: 'exitId' + property :exit_id, :numeric_string => true, as: 'exitId' end end class Rule # @private class Representation < Google::Apis::Core::JsonRepresentation - property :asset_id, as: 'assetId' + property :asset_id, :numeric_string => true, as: 'assetId' property :name, as: 'name' - property :targeting_template_id, as: 'targetingTemplateId' + property :targeting_template_id, :numeric_string => true, as: 'targetingTemplateId' end end class Site # @private class Representation < Google::Apis::Core::JsonRepresentation - property :account_id, as: 'accountId' + property :account_id, :numeric_string => true, as: 'accountId' property :approved, as: 'approved' - property :directory_site_id, as: 'directorySiteId' + property :directory_site_id, :numeric_string => true, as: 'directorySiteId' property :directory_site_id_dimension_value, as: 'directorySiteIdDimensionValue', class: Google::Apis::DfareportingV2_6::DimensionValue, decorator: Google::Apis::DfareportingV2_6::DimensionValue::Representation - property :id, as: 'id' + property :id, :numeric_string => true, as: 'id' property :id_dimension_value, as: 'idDimensionValue', class: Google::Apis::DfareportingV2_6::DimensionValue, decorator: Google::Apis::DfareportingV2_6::DimensionValue::Representation property :key_name, as: 'keyName' @@ -3789,7 +3789,7 @@ module Google property :site_settings, as: 'siteSettings', class: Google::Apis::DfareportingV2_6::SiteSettings, decorator: Google::Apis::DfareportingV2_6::SiteSettings::Representation - property :subaccount_id, as: 'subaccountId' + property :subaccount_id, :numeric_string => true, as: 'subaccountId' end end @@ -3800,7 +3800,7 @@ module Google property :contact_type, as: 'contactType' property :email, as: 'email' property :first_name, as: 'firstName' - property :id, as: 'id' + property :id, :numeric_string => true, as: 'id' property :last_name, as: 'lastName' property :phone, as: 'phone' property :title, as: 'title' @@ -3838,7 +3838,7 @@ module Google class Representation < Google::Apis::Core::JsonRepresentation property :height, as: 'height' property :iab, as: 'iab' - property :id, as: 'id' + property :id, :numeric_string => true, as: 'id' property :kind, as: 'kind' property :width, as: 'width' end @@ -3865,9 +3865,9 @@ module Google class Subaccount # @private class Representation < Google::Apis::Core::JsonRepresentation - property :account_id, as: 'accountId' + property :account_id, :numeric_string => true, as: 'accountId' collection :available_permission_ids, as: 'availablePermissionIds' - property :id, as: 'id' + property :id, :numeric_string => true, as: 'id' property :kind, as: 'kind' property :name, as: 'name' end @@ -3886,9 +3886,9 @@ module Google class TagData # @private class Representation < Google::Apis::Core::JsonRepresentation - property :ad_id, as: 'adId' + property :ad_id, :numeric_string => true, as: 'adId' property :click_tag, as: 'clickTag' - property :creative_id, as: 'creativeId' + property :creative_id, :numeric_string => true, as: 'creativeId' property :format, as: 'format' property :impression_tag, as: 'impressionTag' end @@ -3923,19 +3923,19 @@ module Google class TargetableRemarketingList # @private class Representation < Google::Apis::Core::JsonRepresentation - property :account_id, as: 'accountId' + property :account_id, :numeric_string => true, as: 'accountId' property :active, as: 'active' - property :advertiser_id, as: 'advertiserId' + property :advertiser_id, :numeric_string => true, as: 'advertiserId' property :advertiser_id_dimension_value, as: 'advertiserIdDimensionValue', class: Google::Apis::DfareportingV2_6::DimensionValue, decorator: Google::Apis::DfareportingV2_6::DimensionValue::Representation property :description, as: 'description' - property :id, as: 'id' + property :id, :numeric_string => true, as: 'id' property :kind, as: 'kind' - property :life_span, as: 'lifeSpan' - property :list_size, as: 'listSize' + property :life_span, :numeric_string => true, as: 'lifeSpan' + property :list_size, :numeric_string => true, as: 'listSize' property :list_source, as: 'listSource' property :name, as: 'name' - property :subaccount_id, as: 'subaccountId' + property :subaccount_id, :numeric_string => true, as: 'subaccountId' end end @@ -3952,15 +3952,15 @@ module Google class TargetingTemplate # @private class Representation < Google::Apis::Core::JsonRepresentation - property :account_id, as: 'accountId' - property :advertiser_id, as: 'advertiserId' + property :account_id, :numeric_string => true, as: 'accountId' + property :advertiser_id, :numeric_string => true, as: 'advertiserId' property :advertiser_id_dimension_value, as: 'advertiserIdDimensionValue', class: Google::Apis::DfareportingV2_6::DimensionValue, decorator: Google::Apis::DfareportingV2_6::DimensionValue::Representation property :day_part_targeting, as: 'dayPartTargeting', class: Google::Apis::DfareportingV2_6::DayPartTargeting, decorator: Google::Apis::DfareportingV2_6::DayPartTargeting::Representation property :geo_targeting, as: 'geoTargeting', class: Google::Apis::DfareportingV2_6::GeoTargeting, decorator: Google::Apis::DfareportingV2_6::GeoTargeting::Representation - property :id, as: 'id' + property :id, :numeric_string => true, as: 'id' property :key_value_targeting_expression, as: 'keyValueTargetingExpression', class: Google::Apis::DfareportingV2_6::KeyValueTargetingExpression, decorator: Google::Apis::DfareportingV2_6::KeyValueTargetingExpression::Representation property :kind, as: 'kind' @@ -3969,7 +3969,7 @@ module Google property :list_targeting_expression, as: 'listTargetingExpression', class: Google::Apis::DfareportingV2_6::ListTargetingExpression, decorator: Google::Apis::DfareportingV2_6::ListTargetingExpression::Representation property :name, as: 'name' - property :subaccount_id, as: 'subaccountId' + property :subaccount_id, :numeric_string => true, as: 'subaccountId' property :technology_targeting, as: 'technologyTargeting', class: Google::Apis::DfareportingV2_6::TechnologyTargeting, decorator: Google::Apis::DfareportingV2_6::TechnologyTargeting::Representation end @@ -4031,12 +4031,12 @@ module Google class UserProfile # @private class Representation < Google::Apis::Core::JsonRepresentation - property :account_id, as: 'accountId' + property :account_id, :numeric_string => true, as: 'accountId' property :account_name, as: 'accountName' property :etag, as: 'etag' property :kind, as: 'kind' - property :profile_id, as: 'profileId' - property :sub_account_id, as: 'subAccountId' + property :profile_id, :numeric_string => true, as: 'profileId' + property :sub_account_id, :numeric_string => true, as: 'subAccountId' property :sub_account_name, as: 'subAccountName' property :user_name, as: 'userName' end @@ -4055,15 +4055,15 @@ module Google class UserRole # @private class Representation < Google::Apis::Core::JsonRepresentation - property :account_id, as: 'accountId' + property :account_id, :numeric_string => true, as: 'accountId' property :default_user_role, as: 'defaultUserRole' - property :id, as: 'id' + property :id, :numeric_string => true, as: 'id' property :kind, as: 'kind' property :name, as: 'name' - property :parent_user_role_id, as: 'parentUserRoleId' + property :parent_user_role_id, :numeric_string => true, as: 'parentUserRoleId' collection :permissions, as: 'permissions', class: Google::Apis::DfareportingV2_6::UserRolePermission, decorator: Google::Apis::DfareportingV2_6::UserRolePermission::Representation - property :subaccount_id, as: 'subaccountId' + property :subaccount_id, :numeric_string => true, as: 'subaccountId' end end @@ -4071,17 +4071,17 @@ module Google # @private class Representation < Google::Apis::Core::JsonRepresentation property :availability, as: 'availability' - property :id, as: 'id' + property :id, :numeric_string => true, as: 'id' property :kind, as: 'kind' property :name, as: 'name' - property :permission_group_id, as: 'permissionGroupId' + property :permission_group_id, :numeric_string => true, as: 'permissionGroupId' end end class UserRolePermissionGroup # @private class Representation < Google::Apis::Core::JsonRepresentation - property :id, as: 'id' + property :id, :numeric_string => true, as: 'id' property :kind, as: 'kind' property :name, as: 'name' end diff --git a/generated/google/apis/dfareporting_v2_6/service.rb b/generated/google/apis/dfareporting_v2_6/service.rb index e7f8b47d1..bbf0038f8 100644 --- a/generated/google/apis/dfareporting_v2_6/service.rb +++ b/generated/google/apis/dfareporting_v2_6/service.rb @@ -50,12 +50,13 @@ module Google def initialize super('https://www.googleapis.com/', 'dfareporting/v2.6/') + @batch_path = 'batch' end # Gets the account's active ad summary by account ID. - # @param [String] profile_id + # @param [Fixnum] profile_id # User profile ID associated with this request. - # @param [String] summary_account_id + # @param [Fixnum] summary_account_id # Account ID. # @param [String] fields # Selector specifying which fields to include in a partial response. @@ -91,9 +92,9 @@ module Google end # Gets one account permission group by ID. - # @param [String] profile_id + # @param [Fixnum] profile_id # User profile ID associated with this request. - # @param [String] id + # @param [Fixnum] id # Account permission group ID. # @param [String] fields # Selector specifying which fields to include in a partial response. @@ -129,7 +130,7 @@ module Google end # Retrieves the list of account permission groups. - # @param [String] profile_id + # @param [Fixnum] profile_id # User profile ID associated with this request. # @param [String] fields # Selector specifying which fields to include in a partial response. @@ -164,9 +165,9 @@ module Google end # Gets one account permission by ID. - # @param [String] profile_id + # @param [Fixnum] profile_id # User profile ID associated with this request. - # @param [String] id + # @param [Fixnum] id # Account permission ID. # @param [String] fields # Selector specifying which fields to include in a partial response. @@ -202,7 +203,7 @@ module Google end # Retrieves the list of account permissions. - # @param [String] profile_id + # @param [Fixnum] profile_id # User profile ID associated with this request. # @param [String] fields # Selector specifying which fields to include in a partial response. @@ -237,9 +238,9 @@ module Google end # Gets one account user profile by ID. - # @param [String] profile_id + # @param [Fixnum] profile_id # User profile ID associated with this request. - # @param [String] id + # @param [Fixnum] id # User profile ID. # @param [String] fields # Selector specifying which fields to include in a partial response. @@ -275,7 +276,7 @@ module Google end # Inserts a new account user profile. - # @param [String] profile_id + # @param [Fixnum] profile_id # User profile ID associated with this request. # @param [Google::Apis::DfareportingV2_6::AccountUserProfile] account_user_profile_object # @param [String] fields @@ -314,11 +315,11 @@ module Google # Retrieves a list of account user profiles, possibly filtered. This method # supports paging. - # @param [String] profile_id + # @param [Fixnum] profile_id # User profile ID associated with this request. # @param [Boolean] active # Select only active user profiles. - # @param [Array, String] ids + # @param [Array, Fixnum] ids # Select only user profiles with these IDs. # @param [Fixnum] max_results # Maximum number of results to return. @@ -336,9 +337,9 @@ module Google # Field by which to sort the list. # @param [String] sort_order # Order of sorted results, default is ASCENDING. - # @param [String] subaccount_id + # @param [Fixnum] subaccount_id # Select only user profiles with the specified subaccount ID. - # @param [String] user_role_id + # @param [Fixnum] user_role_id # Select only user profiles with the specified user role ID. # @param [String] fields # Selector specifying which fields to include in a partial response. @@ -382,9 +383,9 @@ module Google end # Updates an existing account user profile. This method supports patch semantics. - # @param [String] profile_id + # @param [Fixnum] profile_id # User profile ID associated with this request. - # @param [String] id + # @param [Fixnum] id # User profile ID. # @param [Google::Apis::DfareportingV2_6::AccountUserProfile] account_user_profile_object # @param [String] fields @@ -423,7 +424,7 @@ module Google end # Updates an existing account user profile. - # @param [String] profile_id + # @param [Fixnum] profile_id # User profile ID associated with this request. # @param [Google::Apis::DfareportingV2_6::AccountUserProfile] account_user_profile_object # @param [String] fields @@ -461,9 +462,9 @@ module Google end # Gets one account by ID. - # @param [String] profile_id + # @param [Fixnum] profile_id # User profile ID associated with this request. - # @param [String] id + # @param [Fixnum] id # Account ID. # @param [String] fields # Selector specifying which fields to include in a partial response. @@ -499,12 +500,12 @@ module Google end # Retrieves the list of accounts, possibly filtered. This method supports paging. - # @param [String] profile_id + # @param [Fixnum] profile_id # User profile ID associated with this request. # @param [Boolean] active # Select only active accounts. Don't set this field to select both active and # non-active accounts. - # @param [Array, String] ids + # @param [Array, Fixnum] ids # Select only accounts with these IDs. # @param [Fixnum] max_results # Maximum number of results to return. @@ -561,9 +562,9 @@ module Google end # Updates an existing account. This method supports patch semantics. - # @param [String] profile_id + # @param [Fixnum] profile_id # User profile ID associated with this request. - # @param [String] id + # @param [Fixnum] id # Account ID. # @param [Google::Apis::DfareportingV2_6::Account] account_object # @param [String] fields @@ -602,7 +603,7 @@ module Google end # Updates an existing account. - # @param [String] profile_id + # @param [Fixnum] profile_id # User profile ID associated with this request. # @param [Google::Apis::DfareportingV2_6::Account] account_object # @param [String] fields @@ -640,9 +641,9 @@ module Google end # Gets one ad by ID. - # @param [String] profile_id + # @param [Fixnum] profile_id # User profile ID associated with this request. - # @param [String] id + # @param [Fixnum] id # Ad ID. # @param [String] fields # Selector specifying which fields to include in a partial response. @@ -678,7 +679,7 @@ module Google end # Inserts a new ad. - # @param [String] profile_id + # @param [Fixnum] profile_id # User profile ID associated with this request. # @param [Google::Apis::DfareportingV2_6::Ad] ad_object # @param [String] fields @@ -716,17 +717,17 @@ module Google end # Retrieves a list of ads, possibly filtered. This method supports paging. - # @param [String] profile_id + # @param [Fixnum] profile_id # User profile ID associated with this request. # @param [Boolean] active # Select only active ads. - # @param [String] advertiser_id + # @param [Fixnum] advertiser_id # Select only ads with this advertiser ID. # @param [Boolean] archived # Select only archived ads. - # @param [Array, String] audience_segment_ids + # @param [Array, Fixnum] audience_segment_ids # Select only ads with these audience segment IDs. - # @param [Array, String] campaign_ids + # @param [Array, Fixnum] campaign_ids # Select only ads with these campaign IDs. # @param [String] compatibility # Select default ads with the specified compatibility. Applicable when type is @@ -735,9 +736,9 @@ module Google # respectively. APP and APP_INTERSTITIAL are for rendering in mobile apps. # IN_STREAM_VIDEO refers to rendering an in-stream video ads developed with the # VAST standard. - # @param [Array, String] creative_ids + # @param [Array, Fixnum] creative_ids # Select only ads with these creative IDs assigned. - # @param [Array, String] creative_optimization_configuration_ids + # @param [Array, Fixnum] creative_optimization_configuration_ids # Select only ads with these creative optimization configuration IDs. # @param [String] creative_type # Select only ads with the specified creativeType. @@ -745,19 +746,19 @@ module Google # Select only dynamic click trackers. Applicable when type is # AD_SERVING_CLICK_TRACKER. If true, select dynamic click trackers. If false, # select static click trackers. Leave unset to select both. - # @param [Array, String] ids + # @param [Array, Fixnum] ids # Select only ads with these IDs. - # @param [Array, String] landing_page_ids + # @param [Array, Fixnum] landing_page_ids # Select only ads with these landing page IDs. # @param [Fixnum] max_results # Maximum number of results to return. - # @param [String] overridden_event_tag_id + # @param [Fixnum] overridden_event_tag_id # Select only ads with this event tag override ID. # @param [String] page_token # Value of the nextPageToken from the previous result page. - # @param [Array, String] placement_ids + # @param [Array, Fixnum] placement_ids # Select only ads with these placement IDs assigned. - # @param [Array, String] remarketing_list_ids + # @param [Array, Fixnum] remarketing_list_ids # Select only ads whose list targeting expression use these remarketing list IDs. # @param [String] search_string # Allows searching for objects by name or ID. Wildcards (*) are allowed. For @@ -766,7 +767,7 @@ module Google # implicitly at the start and the end of the search string. For example, a # search string of "ad" will match objects with name "my ad", "ad 2015", or # simply "ad". - # @param [Array, String] size_ids + # @param [Array, Fixnum] size_ids # Select only ads with these size IDs. # @param [String] sort_field # Field by which to sort the list. @@ -835,9 +836,9 @@ module Google end # Updates an existing ad. This method supports patch semantics. - # @param [String] profile_id + # @param [Fixnum] profile_id # User profile ID associated with this request. - # @param [String] id + # @param [Fixnum] id # Ad ID. # @param [Google::Apis::DfareportingV2_6::Ad] ad_object # @param [String] fields @@ -876,7 +877,7 @@ module Google end # Updates an existing ad. - # @param [String] profile_id + # @param [Fixnum] profile_id # User profile ID associated with this request. # @param [Google::Apis::DfareportingV2_6::Ad] ad_object # @param [String] fields @@ -914,9 +915,9 @@ module Google end # Deletes an existing advertiser group. - # @param [String] profile_id + # @param [Fixnum] profile_id # User profile ID associated with this request. - # @param [String] id + # @param [Fixnum] id # Advertiser group ID. # @param [String] fields # Selector specifying which fields to include in a partial response. @@ -950,9 +951,9 @@ module Google end # Gets one advertiser group by ID. - # @param [String] profile_id + # @param [Fixnum] profile_id # User profile ID associated with this request. - # @param [String] id + # @param [Fixnum] id # Advertiser group ID. # @param [String] fields # Selector specifying which fields to include in a partial response. @@ -988,7 +989,7 @@ module Google end # Inserts a new advertiser group. - # @param [String] profile_id + # @param [Fixnum] profile_id # User profile ID associated with this request. # @param [Google::Apis::DfareportingV2_6::AdvertiserGroup] advertiser_group_object # @param [String] fields @@ -1027,9 +1028,9 @@ module Google # Retrieves a list of advertiser groups, possibly filtered. This method supports # paging. - # @param [String] profile_id + # @param [Fixnum] profile_id # User profile ID associated with this request. - # @param [Array, String] ids + # @param [Array, Fixnum] ids # Select only advertiser groups with these IDs. # @param [Fixnum] max_results # Maximum number of results to return. @@ -1086,9 +1087,9 @@ module Google end # Updates an existing advertiser group. This method supports patch semantics. - # @param [String] profile_id + # @param [Fixnum] profile_id # User profile ID associated with this request. - # @param [String] id + # @param [Fixnum] id # Advertiser group ID. # @param [Google::Apis::DfareportingV2_6::AdvertiserGroup] advertiser_group_object # @param [String] fields @@ -1127,7 +1128,7 @@ module Google end # Updates an existing advertiser group. - # @param [String] profile_id + # @param [Fixnum] profile_id # User profile ID associated with this request. # @param [Google::Apis::DfareportingV2_6::AdvertiserGroup] advertiser_group_object # @param [String] fields @@ -1165,9 +1166,9 @@ module Google end # Gets one advertiser by ID. - # @param [String] profile_id + # @param [Fixnum] profile_id # User profile ID associated with this request. - # @param [String] id + # @param [Fixnum] id # Advertiser ID. # @param [String] fields # Selector specifying which fields to include in a partial response. @@ -1203,7 +1204,7 @@ module Google end # Inserts a new advertiser. - # @param [String] profile_id + # @param [Fixnum] profile_id # User profile ID associated with this request. # @param [Google::Apis::DfareportingV2_6::Advertiser] advertiser_object # @param [String] fields @@ -1242,13 +1243,13 @@ module Google # Retrieves a list of advertisers, possibly filtered. This method supports # paging. - # @param [String] profile_id + # @param [Fixnum] profile_id # User profile ID associated with this request. - # @param [Array, String] advertiser_group_ids + # @param [Array, Fixnum] advertiser_group_ids # Select only advertisers with these advertiser group IDs. - # @param [Array, String] floodlight_configuration_ids + # @param [Array, Fixnum] floodlight_configuration_ids # Select only advertisers with these floodlight configuration IDs. - # @param [Array, String] ids + # @param [Array, Fixnum] ids # Select only advertisers with these IDs. # @param [Boolean] include_advertisers_without_groups_only # Select only advertisers which do not belong to any advertiser group. @@ -1272,7 +1273,7 @@ module Google # Order of sorted results, default is ASCENDING. # @param [String] status # Select only advertisers with the specified status. - # @param [String] subaccount_id + # @param [Fixnum] subaccount_id # Select only advertisers with these subaccount IDs. # @param [String] fields # Selector specifying which fields to include in a partial response. @@ -1319,9 +1320,9 @@ module Google end # Updates an existing advertiser. This method supports patch semantics. - # @param [String] profile_id + # @param [Fixnum] profile_id # User profile ID associated with this request. - # @param [String] id + # @param [Fixnum] id # Advertiser ID. # @param [Google::Apis::DfareportingV2_6::Advertiser] advertiser_object # @param [String] fields @@ -1360,7 +1361,7 @@ module Google end # Updates an existing advertiser. - # @param [String] profile_id + # @param [Fixnum] profile_id # User profile ID associated with this request. # @param [Google::Apis::DfareportingV2_6::Advertiser] advertiser_object # @param [String] fields @@ -1398,7 +1399,7 @@ module Google end # Retrieves a list of browsers. - # @param [String] profile_id + # @param [Fixnum] profile_id # User profile ID associated with this request. # @param [String] fields # Selector specifying which fields to include in a partial response. @@ -1435,9 +1436,9 @@ module Google # Associates a creative with the specified campaign. This method creates a # default ad with dimensions matching the creative in the campaign if such a # default ad does not exist already. - # @param [String] profile_id + # @param [Fixnum] profile_id # User profile ID associated with this request. - # @param [String] campaign_id + # @param [Fixnum] campaign_id # Campaign ID in this association. # @param [Google::Apis::DfareportingV2_6::CampaignCreativeAssociation] campaign_creative_association_object # @param [String] fields @@ -1477,9 +1478,9 @@ module Google # Retrieves the list of creative IDs associated with the specified campaign. # This method supports paging. - # @param [String] profile_id + # @param [Fixnum] profile_id # User profile ID associated with this request. - # @param [String] campaign_id + # @param [Fixnum] campaign_id # Campaign ID in this association. # @param [Fixnum] max_results # Maximum number of results to return. @@ -1524,9 +1525,9 @@ module Google end # Gets one campaign by ID. - # @param [String] profile_id + # @param [Fixnum] profile_id # User profile ID associated with this request. - # @param [String] id + # @param [Fixnum] id # Campaign ID. # @param [String] fields # Selector specifying which fields to include in a partial response. @@ -1562,7 +1563,7 @@ module Google end # Inserts a new campaign. - # @param [String] profile_id + # @param [Fixnum] profile_id # User profile ID associated with this request. # @param [String] default_landing_page_name # Default landing page name for this new campaign. Must be less than 256 @@ -1607,24 +1608,24 @@ module Google end # Retrieves a list of campaigns, possibly filtered. This method supports paging. - # @param [String] profile_id + # @param [Fixnum] profile_id # User profile ID associated with this request. - # @param [Array, String] advertiser_group_ids + # @param [Array, Fixnum] advertiser_group_ids # Select only campaigns whose advertisers belong to these advertiser groups. - # @param [Array, String] advertiser_ids + # @param [Array, Fixnum] advertiser_ids # Select only campaigns that belong to these advertisers. # @param [Boolean] archived # Select only archived campaigns. Don't set this field to select both archived # and non-archived campaigns. # @param [Boolean] at_least_one_optimization_activity # Select only campaigns that have at least one optimization activity. - # @param [Array, String] excluded_ids + # @param [Array, Fixnum] excluded_ids # Exclude campaigns with these IDs. - # @param [Array, String] ids + # @param [Array, Fixnum] ids # Select only campaigns with these IDs. # @param [Fixnum] max_results # Maximum number of results to return. - # @param [String] overridden_event_tag_id + # @param [Fixnum] overridden_event_tag_id # Select only campaigns that have overridden this event tag ID. # @param [String] page_token # Value of the nextPageToken from the previous result page. @@ -1639,7 +1640,7 @@ module Google # Field by which to sort the list. # @param [String] sort_order # Order of sorted results, default is ASCENDING. - # @param [String] subaccount_id + # @param [Fixnum] subaccount_id # Select only campaigns that belong to this subaccount. # @param [String] fields # Selector specifying which fields to include in a partial response. @@ -1687,9 +1688,9 @@ module Google end # Updates an existing campaign. This method supports patch semantics. - # @param [String] profile_id + # @param [Fixnum] profile_id # User profile ID associated with this request. - # @param [String] id + # @param [Fixnum] id # Campaign ID. # @param [Google::Apis::DfareportingV2_6::Campaign] campaign_object # @param [String] fields @@ -1728,7 +1729,7 @@ module Google end # Updates an existing campaign. - # @param [String] profile_id + # @param [Fixnum] profile_id # User profile ID associated with this request. # @param [Google::Apis::DfareportingV2_6::Campaign] campaign_object # @param [String] fields @@ -1766,9 +1767,9 @@ module Google end # Gets one change log by ID. - # @param [String] profile_id + # @param [Fixnum] profile_id # User profile ID associated with this request. - # @param [String] id + # @param [Fixnum] id # Change log ID. # @param [String] fields # Selector specifying which fields to include in a partial response. @@ -1804,11 +1805,11 @@ module Google end # Retrieves a list of change logs. This method supports paging. - # @param [String] profile_id + # @param [Fixnum] profile_id # User profile ID associated with this request. # @param [String] action # Select only change logs with the specified action. - # @param [Array, String] ids + # @param [Array, Fixnum] ids # Select only change logs with these IDs. # @param [String] max_change_time # Select only change logs whose change time is before the specified @@ -1826,7 +1827,7 @@ module Google # the format is "2015-07-18T22:54:00-04:00". In other words, the year, month, # day, the letter T, the hour (24-hour clock system), minute, second, and then # the time zone offset. - # @param [Array, String] object_ids + # @param [Array, Fixnum] object_ids # Select only change logs with these object IDs. # @param [String] object_type # Select only change logs with the specified object type. @@ -1835,7 +1836,7 @@ module Google # @param [String] search_string # Select only change logs whose object ID, user name, old or new values match # the search string. - # @param [Array, String] user_profile_ids + # @param [Array, Fixnum] user_profile_ids # Select only change logs with these user profile IDs. # @param [String] fields # Selector specifying which fields to include in a partial response. @@ -1880,15 +1881,15 @@ module Google end # Retrieves a list of cities, possibly filtered. - # @param [String] profile_id + # @param [Fixnum] profile_id # User profile ID associated with this request. - # @param [Array, String] country_dart_ids + # @param [Array, Fixnum] country_dart_ids # Select only cities from these countries. - # @param [Array, String] dart_ids + # @param [Array, Fixnum] dart_ids # Select only cities with these DART IDs. # @param [String] name_prefix # Select only cities with names starting with this prefix. - # @param [Array, String] region_dart_ids + # @param [Array, Fixnum] region_dart_ids # Select only cities from these regions. # @param [String] fields # Selector specifying which fields to include in a partial response. @@ -1927,9 +1928,9 @@ module Google end # Gets one connection type by ID. - # @param [String] profile_id + # @param [Fixnum] profile_id # User profile ID associated with this request. - # @param [String] id + # @param [Fixnum] id # Connection type ID. # @param [String] fields # Selector specifying which fields to include in a partial response. @@ -1965,7 +1966,7 @@ module Google end # Retrieves a list of connection types. - # @param [String] profile_id + # @param [Fixnum] profile_id # User profile ID associated with this request. # @param [String] fields # Selector specifying which fields to include in a partial response. @@ -2000,9 +2001,9 @@ module Google end # Deletes an existing content category. - # @param [String] profile_id + # @param [Fixnum] profile_id # User profile ID associated with this request. - # @param [String] id + # @param [Fixnum] id # Content category ID. # @param [String] fields # Selector specifying which fields to include in a partial response. @@ -2036,9 +2037,9 @@ module Google end # Gets one content category by ID. - # @param [String] profile_id + # @param [Fixnum] profile_id # User profile ID associated with this request. - # @param [String] id + # @param [Fixnum] id # Content category ID. # @param [String] fields # Selector specifying which fields to include in a partial response. @@ -2074,7 +2075,7 @@ module Google end # Inserts a new content category. - # @param [String] profile_id + # @param [Fixnum] profile_id # User profile ID associated with this request. # @param [Google::Apis::DfareportingV2_6::ContentCategory] content_category_object # @param [String] fields @@ -2113,9 +2114,9 @@ module Google # Retrieves a list of content categories, possibly filtered. This method # supports paging. - # @param [String] profile_id + # @param [Fixnum] profile_id # User profile ID associated with this request. - # @param [Array, String] ids + # @param [Array, Fixnum] ids # Select only content categories with these IDs. # @param [Fixnum] max_results # Maximum number of results to return. @@ -2172,9 +2173,9 @@ module Google end # Updates an existing content category. This method supports patch semantics. - # @param [String] profile_id + # @param [Fixnum] profile_id # User profile ID associated with this request. - # @param [String] id + # @param [Fixnum] id # Content category ID. # @param [Google::Apis::DfareportingV2_6::ContentCategory] content_category_object # @param [String] fields @@ -2213,7 +2214,7 @@ module Google end # Updates an existing content category. - # @param [String] profile_id + # @param [Fixnum] profile_id # User profile ID associated with this request. # @param [Google::Apis::DfareportingV2_6::ContentCategory] content_category_object # @param [String] fields @@ -2251,7 +2252,7 @@ module Google end # Inserts conversions. - # @param [String] profile_id + # @param [Fixnum] profile_id # User profile ID associated with this request. # @param [Google::Apis::DfareportingV2_6::ConversionsBatchInsertRequest] conversions_batch_insert_request_object # @param [String] fields @@ -2289,9 +2290,9 @@ module Google end # Gets one country by ID. - # @param [String] profile_id + # @param [Fixnum] profile_id # User profile ID associated with this request. - # @param [String] dart_id + # @param [Fixnum] dart_id # Country DART ID. # @param [String] fields # Selector specifying which fields to include in a partial response. @@ -2327,7 +2328,7 @@ module Google end # Retrieves a list of countries. - # @param [String] profile_id + # @param [Fixnum] profile_id # User profile ID associated with this request. # @param [String] fields # Selector specifying which fields to include in a partial response. @@ -2362,9 +2363,9 @@ module Google end # Inserts a new creative asset. - # @param [String] profile_id + # @param [Fixnum] profile_id # User profile ID associated with this request. - # @param [String] advertiser_id + # @param [Fixnum] advertiser_id # Advertiser ID of this creative. This is a required field. # @param [Google::Apis::DfareportingV2_6::CreativeAssetMetadata] creative_asset_metadata_object # @param [String] fields @@ -2413,11 +2414,11 @@ module Google end # Deletes an existing creative field value. - # @param [String] profile_id + # @param [Fixnum] profile_id # User profile ID associated with this request. - # @param [String] creative_field_id + # @param [Fixnum] creative_field_id # Creative field ID for this creative field value. - # @param [String] id + # @param [Fixnum] id # Creative Field Value ID # @param [String] fields # Selector specifying which fields to include in a partial response. @@ -2452,11 +2453,11 @@ module Google end # Gets one creative field value by ID. - # @param [String] profile_id + # @param [Fixnum] profile_id # User profile ID associated with this request. - # @param [String] creative_field_id + # @param [Fixnum] creative_field_id # Creative field ID for this creative field value. - # @param [String] id + # @param [Fixnum] id # Creative Field Value ID # @param [String] fields # Selector specifying which fields to include in a partial response. @@ -2493,9 +2494,9 @@ module Google end # Inserts a new creative field value. - # @param [String] profile_id + # @param [Fixnum] profile_id # User profile ID associated with this request. - # @param [String] creative_field_id + # @param [Fixnum] creative_field_id # Creative field ID for this creative field value. # @param [Google::Apis::DfareportingV2_6::CreativeFieldValue] creative_field_value_object # @param [String] fields @@ -2535,11 +2536,11 @@ module Google # Retrieves a list of creative field values, possibly filtered. This method # supports paging. - # @param [String] profile_id + # @param [Fixnum] profile_id # User profile ID associated with this request. - # @param [String] creative_field_id + # @param [Fixnum] creative_field_id # Creative field ID for this creative field value. - # @param [Array, String] ids + # @param [Array, Fixnum] ids # Select only creative field values with these IDs. # @param [Fixnum] max_results # Maximum number of results to return. @@ -2592,11 +2593,11 @@ module Google end # Updates an existing creative field value. This method supports patch semantics. - # @param [String] profile_id + # @param [Fixnum] profile_id # User profile ID associated with this request. - # @param [String] creative_field_id + # @param [Fixnum] creative_field_id # Creative field ID for this creative field value. - # @param [String] id + # @param [Fixnum] id # Creative Field Value ID # @param [Google::Apis::DfareportingV2_6::CreativeFieldValue] creative_field_value_object # @param [String] fields @@ -2636,9 +2637,9 @@ module Google end # Updates an existing creative field value. - # @param [String] profile_id + # @param [Fixnum] profile_id # User profile ID associated with this request. - # @param [String] creative_field_id + # @param [Fixnum] creative_field_id # Creative field ID for this creative field value. # @param [Google::Apis::DfareportingV2_6::CreativeFieldValue] creative_field_value_object # @param [String] fields @@ -2677,9 +2678,9 @@ module Google end # Deletes an existing creative field. - # @param [String] profile_id + # @param [Fixnum] profile_id # User profile ID associated with this request. - # @param [String] id + # @param [Fixnum] id # Creative Field ID # @param [String] fields # Selector specifying which fields to include in a partial response. @@ -2713,9 +2714,9 @@ module Google end # Gets one creative field by ID. - # @param [String] profile_id + # @param [Fixnum] profile_id # User profile ID associated with this request. - # @param [String] id + # @param [Fixnum] id # Creative Field ID # @param [String] fields # Selector specifying which fields to include in a partial response. @@ -2751,7 +2752,7 @@ module Google end # Inserts a new creative field. - # @param [String] profile_id + # @param [Fixnum] profile_id # User profile ID associated with this request. # @param [Google::Apis::DfareportingV2_6::CreativeField] creative_field_object # @param [String] fields @@ -2790,11 +2791,11 @@ module Google # Retrieves a list of creative fields, possibly filtered. This method supports # paging. - # @param [String] profile_id + # @param [Fixnum] profile_id # User profile ID associated with this request. - # @param [Array, String] advertiser_ids + # @param [Array, Fixnum] advertiser_ids # Select only creative fields that belong to these advertisers. - # @param [Array, String] ids + # @param [Array, Fixnum] ids # Select only creative fields with these IDs. # @param [Fixnum] max_results # Maximum number of results to return. @@ -2852,9 +2853,9 @@ module Google end # Updates an existing creative field. This method supports patch semantics. - # @param [String] profile_id + # @param [Fixnum] profile_id # User profile ID associated with this request. - # @param [String] id + # @param [Fixnum] id # Creative Field ID # @param [Google::Apis::DfareportingV2_6::CreativeField] creative_field_object # @param [String] fields @@ -2893,7 +2894,7 @@ module Google end # Updates an existing creative field. - # @param [String] profile_id + # @param [Fixnum] profile_id # User profile ID associated with this request. # @param [Google::Apis::DfareportingV2_6::CreativeField] creative_field_object # @param [String] fields @@ -2931,9 +2932,9 @@ module Google end # Gets one creative group by ID. - # @param [String] profile_id + # @param [Fixnum] profile_id # User profile ID associated with this request. - # @param [String] id + # @param [Fixnum] id # Creative group ID. # @param [String] fields # Selector specifying which fields to include in a partial response. @@ -2969,7 +2970,7 @@ module Google end # Inserts a new creative group. - # @param [String] profile_id + # @param [Fixnum] profile_id # User profile ID associated with this request. # @param [Google::Apis::DfareportingV2_6::CreativeGroup] creative_group_object # @param [String] fields @@ -3008,13 +3009,13 @@ module Google # Retrieves a list of creative groups, possibly filtered. This method supports # paging. - # @param [String] profile_id + # @param [Fixnum] profile_id # User profile ID associated with this request. - # @param [Array, String] advertiser_ids + # @param [Array, Fixnum] advertiser_ids # Select only creative groups that belong to these advertisers. # @param [Fixnum] group_number # Select only creative groups that belong to this subgroup. - # @param [Array, String] ids + # @param [Array, Fixnum] ids # Select only creative groups with these IDs. # @param [Fixnum] max_results # Maximum number of results to return. @@ -3073,9 +3074,9 @@ module Google end # Updates an existing creative group. This method supports patch semantics. - # @param [String] profile_id + # @param [Fixnum] profile_id # User profile ID associated with this request. - # @param [String] id + # @param [Fixnum] id # Creative group ID. # @param [Google::Apis::DfareportingV2_6::CreativeGroup] creative_group_object # @param [String] fields @@ -3114,7 +3115,7 @@ module Google end # Updates an existing creative group. - # @param [String] profile_id + # @param [Fixnum] profile_id # User profile ID associated with this request. # @param [Google::Apis::DfareportingV2_6::CreativeGroup] creative_group_object # @param [String] fields @@ -3152,9 +3153,9 @@ module Google end # Gets one creative by ID. - # @param [String] profile_id + # @param [Fixnum] profile_id # User profile ID associated with this request. - # @param [String] id + # @param [Fixnum] id # Creative ID. # @param [String] fields # Selector specifying which fields to include in a partial response. @@ -3190,7 +3191,7 @@ module Google end # Inserts a new creative. - # @param [String] profile_id + # @param [Fixnum] profile_id # User profile ID associated with this request. # @param [Google::Apis::DfareportingV2_6::Creative] creative_object # @param [String] fields @@ -3228,29 +3229,29 @@ module Google end # Retrieves a list of creatives, possibly filtered. This method supports paging. - # @param [String] profile_id + # @param [Fixnum] profile_id # User profile ID associated with this request. # @param [Boolean] active # Select only active creatives. Leave blank to select active and inactive # creatives. - # @param [String] advertiser_id + # @param [Fixnum] advertiser_id # Select only creatives with this advertiser ID. # @param [Boolean] archived # Select only archived creatives. Leave blank to select archived and unarchived # creatives. - # @param [String] campaign_id + # @param [Fixnum] campaign_id # Select only creatives with this campaign ID. - # @param [Array, String] companion_creative_ids + # @param [Array, Fixnum] companion_creative_ids # Select only in-stream video creatives with these companion IDs. - # @param [Array, String] creative_field_ids + # @param [Array, Fixnum] creative_field_ids # Select only creatives with these creative field IDs. - # @param [Array, String] ids + # @param [Array, Fixnum] ids # Select only creatives with these IDs. # @param [Fixnum] max_results # Maximum number of results to return. # @param [String] page_token # Value of the nextPageToken from the previous result page. - # @param [Array, String] rendering_ids + # @param [Array, Fixnum] rendering_ids # Select only creatives with these rendering IDs. # @param [String] search_string # Allows searching for objects by name or ID. Wildcards (*) are allowed. For @@ -3259,13 +3260,13 @@ module Google # also add wildcards implicitly at the start and the end of the search string. # For example, a search string of "creative" will match objects with name "my # creative", "creative 2015", or simply "creative". - # @param [Array, String] size_ids + # @param [Array, Fixnum] size_ids # Select only creatives with these size IDs. # @param [String] sort_field # Field by which to sort the list. # @param [String] sort_order # Order of sorted results, default is ASCENDING. - # @param [String] studio_creative_id + # @param [Fixnum] studio_creative_id # Select only creatives corresponding to this Studio creative ID. # @param [Array, String] types # Select only creatives with these creative types. @@ -3318,9 +3319,9 @@ module Google end # Updates an existing creative. This method supports patch semantics. - # @param [String] profile_id + # @param [Fixnum] profile_id # User profile ID associated with this request. - # @param [String] id + # @param [Fixnum] id # Creative ID. # @param [Google::Apis::DfareportingV2_6::Creative] creative_object # @param [String] fields @@ -3359,7 +3360,7 @@ module Google end # Updates an existing creative. - # @param [String] profile_id + # @param [Fixnum] profile_id # User profile ID associated with this request. # @param [Google::Apis::DfareportingV2_6::Creative] creative_object # @param [String] fields @@ -3397,7 +3398,7 @@ module Google end # Retrieves list of report dimension values for a list of filters. - # @param [String] profile_id + # @param [Fixnum] profile_id # The DFA user profile ID. # @param [Google::Apis::DfareportingV2_6::DimensionValueRequest] dimension_value_request_object # @param [Fixnum] max_results @@ -3441,9 +3442,9 @@ module Google end # Gets one directory site contact by ID. - # @param [String] profile_id + # @param [Fixnum] profile_id # User profile ID associated with this request. - # @param [String] id + # @param [Fixnum] id # Directory site contact ID. # @param [String] fields # Selector specifying which fields to include in a partial response. @@ -3480,12 +3481,12 @@ module Google # Retrieves a list of directory site contacts, possibly filtered. This method # supports paging. - # @param [String] profile_id + # @param [Fixnum] profile_id # User profile ID associated with this request. - # @param [Array, String] directory_site_ids + # @param [Array, Fixnum] directory_site_ids # Select only directory site contacts with these directory site IDs. This is a # required field. - # @param [Array, String] ids + # @param [Array, Fixnum] ids # Select only directory site contacts with these IDs. # @param [Fixnum] max_results # Maximum number of results to return. @@ -3544,9 +3545,9 @@ module Google end # Gets one directory site by ID. - # @param [String] profile_id + # @param [Fixnum] profile_id # User profile ID associated with this request. - # @param [String] id + # @param [Fixnum] id # Directory site ID. # @param [String] fields # Selector specifying which fields to include in a partial response. @@ -3582,7 +3583,7 @@ module Google end # Inserts a new directory site. - # @param [String] profile_id + # @param [Fixnum] profile_id # User profile ID associated with this request. # @param [Google::Apis::DfareportingV2_6::DirectorySite] directory_site_object # @param [String] fields @@ -3621,7 +3622,7 @@ module Google # Retrieves a list of directory sites, possibly filtered. This method supports # paging. - # @param [String] profile_id + # @param [Fixnum] profile_id # User profile ID associated with this request. # @param [Boolean] accepts_in_stream_video_placements # This search filter is no longer supported and will have no effect on the @@ -3635,17 +3636,17 @@ module Google # @param [Boolean] active # Select only active directory sites. Leave blank to retrieve both active and # inactive directory sites. - # @param [String] country_id + # @param [Fixnum] country_id # Select only directory sites with this country ID. # @param [String] dfp_network_code # Select only directory sites with this DFP network code. - # @param [Array, String] ids + # @param [Array, Fixnum] ids # Select only directory sites with these IDs. # @param [Fixnum] max_results # Maximum number of results to return. # @param [String] page_token # Value of the nextPageToken from the previous result page. - # @param [String] parent_id + # @param [Fixnum] parent_id # Select only directory sites with this parent ID. # @param [String] search_string # Allows searching for objects by name, ID or URL. Wildcards (*) are allowed. @@ -3705,9 +3706,9 @@ module Google end # Deletes an existing dynamic targeting key. - # @param [String] profile_id + # @param [Fixnum] profile_id # User profile ID associated with this request. - # @param [String] object_id_ + # @param [Fixnum] object_id_ # ID of the object of this dynamic targeting key. This is a required field. # @param [String] name # Name of this dynamic targeting key. This is a required field. Must be less @@ -3752,7 +3753,7 @@ module Google # level before being assigned to the advertiser's ads, creatives, or placements. # There is a maximum of 1000 keys per advertiser, out of which a maximum of 20 # keys can be assigned per ad, creative, or placement. - # @param [String] profile_id + # @param [Fixnum] profile_id # User profile ID associated with this request. # @param [Google::Apis::DfareportingV2_6::DynamicTargetingKey] dynamic_targeting_key_object # @param [String] fields @@ -3790,13 +3791,13 @@ module Google end # Retrieves a list of dynamic targeting keys. - # @param [String] profile_id + # @param [Fixnum] profile_id # User profile ID associated with this request. - # @param [String] advertiser_id + # @param [Fixnum] advertiser_id # Select only dynamic targeting keys whose object has this advertiser ID. # @param [Array, String] names # Select only dynamic targeting keys exactly matching these names. - # @param [String] object_id_ + # @param [Fixnum] object_id_ # Select only dynamic targeting keys with this object ID. # @param [String] object_type # Select only dynamic targeting keys with this object type. @@ -3837,9 +3838,9 @@ module Google end # Deletes an existing event tag. - # @param [String] profile_id + # @param [Fixnum] profile_id # User profile ID associated with this request. - # @param [String] id + # @param [Fixnum] id # Event tag ID. # @param [String] fields # Selector specifying which fields to include in a partial response. @@ -3873,9 +3874,9 @@ module Google end # Gets one event tag by ID. - # @param [String] profile_id + # @param [Fixnum] profile_id # User profile ID associated with this request. - # @param [String] id + # @param [Fixnum] id # Event tag ID. # @param [String] fields # Selector specifying which fields to include in a partial response. @@ -3911,7 +3912,7 @@ module Google end # Inserts a new event tag. - # @param [String] profile_id + # @param [Fixnum] profile_id # User profile ID associated with this request. # @param [Google::Apis::DfareportingV2_6::EventTag] event_tag_object # @param [String] fields @@ -3949,13 +3950,13 @@ module Google end # Retrieves a list of event tags, possibly filtered. - # @param [String] profile_id + # @param [Fixnum] profile_id # User profile ID associated with this request. - # @param [String] ad_id + # @param [Fixnum] ad_id # Select only event tags that belong to this ad. - # @param [String] advertiser_id + # @param [Fixnum] advertiser_id # Select only event tags that belong to this advertiser. - # @param [String] campaign_id + # @param [Fixnum] campaign_id # Select only event tags that belong to this campaign. # @param [Boolean] definitions_only # Examine only the specified campaign or advertiser's event tags for matching @@ -3976,7 +3977,7 @@ module Google # be used to specify whether to use a third-party pixel, a third-party # JavaScript URL, or a third-party click-through URL for either impression or # click tracking. - # @param [Array, String] ids + # @param [Array, Fixnum] ids # Select only event tags with these IDs. # @param [String] search_string # Allows searching for objects by name or ID. Wildcards (*) are allowed. For @@ -4032,9 +4033,9 @@ module Google end # Updates an existing event tag. This method supports patch semantics. - # @param [String] profile_id + # @param [Fixnum] profile_id # User profile ID associated with this request. - # @param [String] id + # @param [Fixnum] id # Event tag ID. # @param [Google::Apis::DfareportingV2_6::EventTag] event_tag_object # @param [String] fields @@ -4073,7 +4074,7 @@ module Google end # Updates an existing event tag. - # @param [String] profile_id + # @param [Fixnum] profile_id # User profile ID associated with this request. # @param [Google::Apis::DfareportingV2_6::EventTag] event_tag_object # @param [String] fields @@ -4111,9 +4112,9 @@ module Google end # Retrieves a report file by its report ID and file ID. - # @param [String] report_id + # @param [Fixnum] report_id # The ID of the report. - # @param [String] file_id + # @param [Fixnum] file_id # The ID of the report file. # @param [String] fields # Selector specifying which fields to include in a partial response. @@ -4156,7 +4157,7 @@ module Google end # Lists files for a user profile. - # @param [String] profile_id + # @param [Fixnum] profile_id # The DFA profile ID. # @param [Fixnum] max_results # Maximum number of results to return. @@ -4206,9 +4207,9 @@ module Google end # Deletes an existing floodlight activity. - # @param [String] profile_id + # @param [Fixnum] profile_id # User profile ID associated with this request. - # @param [String] id + # @param [Fixnum] id # Floodlight activity ID. # @param [String] fields # Selector specifying which fields to include in a partial response. @@ -4242,9 +4243,9 @@ module Google end # Generates a tag for a floodlight activity. - # @param [String] profile_id + # @param [Fixnum] profile_id # User profile ID associated with this request. - # @param [String] floodlight_activity_id + # @param [Fixnum] floodlight_activity_id # Floodlight activity ID for which we want to generate a tag. # @param [String] fields # Selector specifying which fields to include in a partial response. @@ -4280,9 +4281,9 @@ module Google end # Gets one floodlight activity by ID. - # @param [String] profile_id + # @param [Fixnum] profile_id # User profile ID associated with this request. - # @param [String] id + # @param [Fixnum] id # Floodlight activity ID. # @param [String] fields # Selector specifying which fields to include in a partial response. @@ -4318,7 +4319,7 @@ module Google end # Inserts a new floodlight activity. - # @param [String] profile_id + # @param [Fixnum] profile_id # User profile ID associated with this request. # @param [Google::Apis::DfareportingV2_6::FloodlightActivity] floodlight_activity_object # @param [String] fields @@ -4357,13 +4358,13 @@ module Google # Retrieves a list of floodlight activities, possibly filtered. This method # supports paging. - # @param [String] profile_id + # @param [Fixnum] profile_id # User profile ID associated with this request. - # @param [String] advertiser_id + # @param [Fixnum] advertiser_id # Select only floodlight activities for the specified advertiser ID. Must # specify either ids, advertiserId, or floodlightConfigurationId for a non-empty # result. - # @param [Array, String] floodlight_activity_group_ids + # @param [Array, Fixnum] floodlight_activity_group_ids # Select only floodlight activities with the specified floodlight activity group # IDs. # @param [String] floodlight_activity_group_name @@ -4375,11 +4376,11 @@ module Google # @param [String] floodlight_activity_group_type # Select only floodlight activities with the specified floodlight activity group # type. - # @param [String] floodlight_configuration_id + # @param [Fixnum] floodlight_configuration_id # Select only floodlight activities for the specified floodlight configuration # ID. Must specify either ids, advertiserId, or floodlightConfigurationId for a # non-empty result. - # @param [Array, String] ids + # @param [Array, Fixnum] ids # Select only floodlight activities with the specified IDs. Must specify either # ids, advertiserId, or floodlightConfigurationId for a non-empty result. # @param [Fixnum] max_results @@ -4446,9 +4447,9 @@ module Google end # Updates an existing floodlight activity. This method supports patch semantics. - # @param [String] profile_id + # @param [Fixnum] profile_id # User profile ID associated with this request. - # @param [String] id + # @param [Fixnum] id # Floodlight activity ID. # @param [Google::Apis::DfareportingV2_6::FloodlightActivity] floodlight_activity_object # @param [String] fields @@ -4487,7 +4488,7 @@ module Google end # Updates an existing floodlight activity. - # @param [String] profile_id + # @param [Fixnum] profile_id # User profile ID associated with this request. # @param [Google::Apis::DfareportingV2_6::FloodlightActivity] floodlight_activity_object # @param [String] fields @@ -4525,9 +4526,9 @@ module Google end # Gets one floodlight activity group by ID. - # @param [String] profile_id + # @param [Fixnum] profile_id # User profile ID associated with this request. - # @param [String] id + # @param [Fixnum] id # Floodlight activity Group ID. # @param [String] fields # Selector specifying which fields to include in a partial response. @@ -4563,7 +4564,7 @@ module Google end # Inserts a new floodlight activity group. - # @param [String] profile_id + # @param [Fixnum] profile_id # User profile ID associated with this request. # @param [Google::Apis::DfareportingV2_6::FloodlightActivityGroup] floodlight_activity_group_object # @param [String] fields @@ -4602,17 +4603,17 @@ module Google # Retrieves a list of floodlight activity groups, possibly filtered. This method # supports paging. - # @param [String] profile_id + # @param [Fixnum] profile_id # User profile ID associated with this request. - # @param [String] advertiser_id + # @param [Fixnum] advertiser_id # Select only floodlight activity groups with the specified advertiser ID. Must # specify either advertiserId or floodlightConfigurationId for a non-empty # result. - # @param [String] floodlight_configuration_id + # @param [Fixnum] floodlight_configuration_id # Select only floodlight activity groups with the specified floodlight # configuration ID. Must specify either advertiserId, or # floodlightConfigurationId for a non-empty result. - # @param [Array, String] ids + # @param [Array, Fixnum] ids # Select only floodlight activity groups with the specified IDs. Must specify # either advertiserId or floodlightConfigurationId for a non-empty result. # @param [Fixnum] max_results @@ -4678,9 +4679,9 @@ module Google # Updates an existing floodlight activity group. This method supports patch # semantics. - # @param [String] profile_id + # @param [Fixnum] profile_id # User profile ID associated with this request. - # @param [String] id + # @param [Fixnum] id # Floodlight activity Group ID. # @param [Google::Apis::DfareportingV2_6::FloodlightActivityGroup] floodlight_activity_group_object # @param [String] fields @@ -4719,7 +4720,7 @@ module Google end # Updates an existing floodlight activity group. - # @param [String] profile_id + # @param [Fixnum] profile_id # User profile ID associated with this request. # @param [Google::Apis::DfareportingV2_6::FloodlightActivityGroup] floodlight_activity_group_object # @param [String] fields @@ -4757,9 +4758,9 @@ module Google end # Gets one floodlight configuration by ID. - # @param [String] profile_id + # @param [Fixnum] profile_id # User profile ID associated with this request. - # @param [String] id + # @param [Fixnum] id # Floodlight configuration ID. # @param [String] fields # Selector specifying which fields to include in a partial response. @@ -4795,9 +4796,9 @@ module Google end # Retrieves a list of floodlight configurations, possibly filtered. - # @param [String] profile_id + # @param [Fixnum] profile_id # User profile ID associated with this request. - # @param [Array, String] ids + # @param [Array, Fixnum] ids # Set of IDs of floodlight configurations to retrieve. Required field; otherwise # an empty list will be returned. # @param [String] fields @@ -4835,9 +4836,9 @@ module Google # Updates an existing floodlight configuration. This method supports patch # semantics. - # @param [String] profile_id + # @param [Fixnum] profile_id # User profile ID associated with this request. - # @param [String] id + # @param [Fixnum] id # Floodlight configuration ID. # @param [Google::Apis::DfareportingV2_6::FloodlightConfiguration] floodlight_configuration_object # @param [String] fields @@ -4876,7 +4877,7 @@ module Google end # Updates an existing floodlight configuration. - # @param [String] profile_id + # @param [Fixnum] profile_id # User profile ID associated with this request. # @param [Google::Apis::DfareportingV2_6::FloodlightConfiguration] floodlight_configuration_object # @param [String] fields @@ -4914,11 +4915,11 @@ module Google end # Gets one inventory item by ID. - # @param [String] profile_id + # @param [Fixnum] profile_id # User profile ID associated with this request. - # @param [String] project_id + # @param [Fixnum] project_id # Project ID for order documents. - # @param [String] id + # @param [Fixnum] id # Inventory item ID. # @param [String] fields # Selector specifying which fields to include in a partial response. @@ -4956,21 +4957,21 @@ module Google # Retrieves a list of inventory items, possibly filtered. This method supports # paging. - # @param [String] profile_id + # @param [Fixnum] profile_id # User profile ID associated with this request. - # @param [String] project_id + # @param [Fixnum] project_id # Project ID for order documents. - # @param [Array, String] ids + # @param [Array, Fixnum] ids # Select only inventory items with these IDs. # @param [Boolean] in_plan # Select only inventory items that are in plan. # @param [Fixnum] max_results # Maximum number of results to return. - # @param [Array, String] order_id + # @param [Array, Fixnum] order_id # Select only inventory items that belong to specified orders. # @param [String] page_token # Value of the nextPageToken from the previous result page. - # @param [Array, String] site_id + # @param [Array, Fixnum] site_id # Select only inventory items that are associated with these sites. # @param [String] sort_field # Field by which to sort the list. @@ -5021,11 +5022,11 @@ module Google end # Deletes an existing campaign landing page. - # @param [String] profile_id + # @param [Fixnum] profile_id # User profile ID associated with this request. - # @param [String] campaign_id + # @param [Fixnum] campaign_id # Landing page campaign ID. - # @param [String] id + # @param [Fixnum] id # Landing page ID. # @param [String] fields # Selector specifying which fields to include in a partial response. @@ -5060,11 +5061,11 @@ module Google end # Gets one campaign landing page by ID. - # @param [String] profile_id + # @param [Fixnum] profile_id # User profile ID associated with this request. - # @param [String] campaign_id + # @param [Fixnum] campaign_id # Landing page campaign ID. - # @param [String] id + # @param [Fixnum] id # Landing page ID. # @param [String] fields # Selector specifying which fields to include in a partial response. @@ -5101,9 +5102,9 @@ module Google end # Inserts a new landing page for the specified campaign. - # @param [String] profile_id + # @param [Fixnum] profile_id # User profile ID associated with this request. - # @param [String] campaign_id + # @param [Fixnum] campaign_id # Landing page campaign ID. # @param [Google::Apis::DfareportingV2_6::LandingPage] landing_page_object # @param [String] fields @@ -5142,9 +5143,9 @@ module Google end # Retrieves the list of landing pages for the specified campaign. - # @param [String] profile_id + # @param [Fixnum] profile_id # User profile ID associated with this request. - # @param [String] campaign_id + # @param [Fixnum] campaign_id # Landing page campaign ID. # @param [String] fields # Selector specifying which fields to include in a partial response. @@ -5181,11 +5182,11 @@ module Google # Updates an existing campaign landing page. This method supports patch # semantics. - # @param [String] profile_id + # @param [Fixnum] profile_id # User profile ID associated with this request. - # @param [String] campaign_id + # @param [Fixnum] campaign_id # Landing page campaign ID. - # @param [String] id + # @param [Fixnum] id # Landing page ID. # @param [Google::Apis::DfareportingV2_6::LandingPage] landing_page_object # @param [String] fields @@ -5225,9 +5226,9 @@ module Google end # Updates an existing campaign landing page. - # @param [String] profile_id + # @param [Fixnum] profile_id # User profile ID associated with this request. - # @param [String] campaign_id + # @param [Fixnum] campaign_id # Landing page campaign ID. # @param [Google::Apis::DfareportingV2_6::LandingPage] landing_page_object # @param [String] fields @@ -5266,7 +5267,7 @@ module Google end # Retrieves a list of languages. - # @param [String] profile_id + # @param [Fixnum] profile_id # User profile ID associated with this request. # @param [String] fields # Selector specifying which fields to include in a partial response. @@ -5301,7 +5302,7 @@ module Google end # Retrieves a list of metros. - # @param [String] profile_id + # @param [Fixnum] profile_id # User profile ID associated with this request. # @param [String] fields # Selector specifying which fields to include in a partial response. @@ -5336,9 +5337,9 @@ module Google end # Gets one mobile carrier by ID. - # @param [String] profile_id + # @param [Fixnum] profile_id # User profile ID associated with this request. - # @param [String] id + # @param [Fixnum] id # Mobile carrier ID. # @param [String] fields # Selector specifying which fields to include in a partial response. @@ -5374,7 +5375,7 @@ module Google end # Retrieves a list of mobile carriers. - # @param [String] profile_id + # @param [Fixnum] profile_id # User profile ID associated with this request. # @param [String] fields # Selector specifying which fields to include in a partial response. @@ -5409,9 +5410,9 @@ module Google end # Gets one operating system version by ID. - # @param [String] profile_id + # @param [Fixnum] profile_id # User profile ID associated with this request. - # @param [String] id + # @param [Fixnum] id # Operating system version ID. # @param [String] fields # Selector specifying which fields to include in a partial response. @@ -5447,7 +5448,7 @@ module Google end # Retrieves a list of operating system versions. - # @param [String] profile_id + # @param [Fixnum] profile_id # User profile ID associated with this request. # @param [String] fields # Selector specifying which fields to include in a partial response. @@ -5482,9 +5483,9 @@ module Google end # Gets one operating system by DART ID. - # @param [String] profile_id + # @param [Fixnum] profile_id # User profile ID associated with this request. - # @param [String] dart_id + # @param [Fixnum] dart_id # Operating system DART ID. # @param [String] fields # Selector specifying which fields to include in a partial response. @@ -5520,7 +5521,7 @@ module Google end # Retrieves a list of operating systems. - # @param [String] profile_id + # @param [Fixnum] profile_id # User profile ID associated with this request. # @param [String] fields # Selector specifying which fields to include in a partial response. @@ -5555,11 +5556,11 @@ module Google end # Gets one order document by ID. - # @param [String] profile_id + # @param [Fixnum] profile_id # User profile ID associated with this request. - # @param [String] project_id + # @param [Fixnum] project_id # Project ID for order documents. - # @param [String] id + # @param [Fixnum] id # Order document ID. # @param [String] fields # Selector specifying which fields to include in a partial response. @@ -5597,17 +5598,17 @@ module Google # Retrieves a list of order documents, possibly filtered. This method supports # paging. - # @param [String] profile_id + # @param [Fixnum] profile_id # User profile ID associated with this request. - # @param [String] project_id + # @param [Fixnum] project_id # Project ID for order documents. # @param [Boolean] approved # Select only order documents that have been approved by at least one user. - # @param [Array, String] ids + # @param [Array, Fixnum] ids # Select only order documents with these IDs. # @param [Fixnum] max_results # Maximum number of results to return. - # @param [Array, String] order_id + # @param [Array, Fixnum] order_id # Select only order documents for specified orders. # @param [String] page_token # Value of the nextPageToken from the previous result page. @@ -5619,7 +5620,7 @@ module Google # end of the search string. For example, a search string of "orderdocument" will # match order documents with name "my orderdocument", "orderdocument 2015", or # simply "orderdocument". - # @param [Array, String] site_id + # @param [Array, Fixnum] site_id # Select only order documents that are associated with these sites. # @param [String] sort_field # Field by which to sort the list. @@ -5668,11 +5669,11 @@ module Google end # Gets one order by ID. - # @param [String] profile_id + # @param [Fixnum] profile_id # User profile ID associated with this request. - # @param [String] project_id + # @param [Fixnum] project_id # Project ID for orders. - # @param [String] id + # @param [Fixnum] id # Order ID. # @param [String] fields # Selector specifying which fields to include in a partial response. @@ -5709,11 +5710,11 @@ module Google end # Retrieves a list of orders, possibly filtered. This method supports paging. - # @param [String] profile_id + # @param [Fixnum] profile_id # User profile ID associated with this request. - # @param [String] project_id + # @param [Fixnum] project_id # Project ID for orders. - # @param [Array, String] ids + # @param [Array, Fixnum] ids # Select only orders with these IDs. # @param [Fixnum] max_results # Maximum number of results to return. @@ -5726,7 +5727,7 @@ module Google # wildcards implicitly at the start and the end of the search string. For # example, a search string of "order" will match orders with name "my order", " # order 2015", or simply "order". - # @param [Array, String] site_id + # @param [Array, Fixnum] site_id # Select only orders that are associated with these site IDs. # @param [String] sort_field # Field by which to sort the list. @@ -5773,9 +5774,9 @@ module Google end # Gets one placement group by ID. - # @param [String] profile_id + # @param [Fixnum] profile_id # User profile ID associated with this request. - # @param [String] id + # @param [Fixnum] id # Placement group ID. # @param [String] fields # Selector specifying which fields to include in a partial response. @@ -5811,7 +5812,7 @@ module Google end # Inserts a new placement group. - # @param [String] profile_id + # @param [Fixnum] profile_id # User profile ID associated with this request. # @param [Google::Apis::DfareportingV2_6::PlacementGroup] placement_group_object # @param [String] fields @@ -5850,20 +5851,20 @@ module Google # Retrieves a list of placement groups, possibly filtered. This method supports # paging. - # @param [String] profile_id + # @param [Fixnum] profile_id # User profile ID associated with this request. - # @param [Array, String] advertiser_ids + # @param [Array, Fixnum] advertiser_ids # Select only placement groups that belong to these advertisers. # @param [Boolean] archived # Select only archived placements. Don't set this field to select both archived # and non-archived placements. - # @param [Array, String] campaign_ids + # @param [Array, Fixnum] campaign_ids # Select only placement groups that belong to these campaigns. - # @param [Array, String] content_category_ids + # @param [Array, Fixnum] content_category_ids # Select only placement groups that are associated with these content categories. - # @param [Array, String] directory_site_ids + # @param [Array, Fixnum] directory_site_ids # Select only placement groups that are associated with these directory sites. - # @param [Array, String] ids + # @param [Array, Fixnum] ids # Select only placement groups with these IDs. # @param [String] max_end_date # Select only placements or placement groups whose end date is on or before the @@ -5888,7 +5889,7 @@ module Google # pricing point but also assumes that all the tags in it will be served at the # same time. A roadblock requires one of its assigned placements to be marked as # primary for reporting. - # @param [Array, String] placement_strategy_ids + # @param [Array, Fixnum] placement_strategy_ids # Select only placement groups that are associated with these placement # strategies. # @param [Array, String] pricing_types @@ -5901,7 +5902,7 @@ module Google # end of the search string. For example, a search string of "placementgroup" # will match placement groups with name "my placementgroup", "placementgroup # 2015", or simply "placementgroup". - # @param [Array, String] site_ids + # @param [Array, Fixnum] site_ids # Select only placement groups that are associated with these sites. # @param [String] sort_field # Field by which to sort the list. @@ -5959,9 +5960,9 @@ module Google end # Updates an existing placement group. This method supports patch semantics. - # @param [String] profile_id + # @param [Fixnum] profile_id # User profile ID associated with this request. - # @param [String] id + # @param [Fixnum] id # Placement group ID. # @param [Google::Apis::DfareportingV2_6::PlacementGroup] placement_group_object # @param [String] fields @@ -6000,7 +6001,7 @@ module Google end # Updates an existing placement group. - # @param [String] profile_id + # @param [Fixnum] profile_id # User profile ID associated with this request. # @param [Google::Apis::DfareportingV2_6::PlacementGroup] placement_group_object # @param [String] fields @@ -6038,9 +6039,9 @@ module Google end # Deletes an existing placement strategy. - # @param [String] profile_id + # @param [Fixnum] profile_id # User profile ID associated with this request. - # @param [String] id + # @param [Fixnum] id # Placement strategy ID. # @param [String] fields # Selector specifying which fields to include in a partial response. @@ -6074,9 +6075,9 @@ module Google end # Gets one placement strategy by ID. - # @param [String] profile_id + # @param [Fixnum] profile_id # User profile ID associated with this request. - # @param [String] id + # @param [Fixnum] id # Placement strategy ID. # @param [String] fields # Selector specifying which fields to include in a partial response. @@ -6112,7 +6113,7 @@ module Google end # Inserts a new placement strategy. - # @param [String] profile_id + # @param [Fixnum] profile_id # User profile ID associated with this request. # @param [Google::Apis::DfareportingV2_6::PlacementStrategy] placement_strategy_object # @param [String] fields @@ -6151,9 +6152,9 @@ module Google # Retrieves a list of placement strategies, possibly filtered. This method # supports paging. - # @param [String] profile_id + # @param [Fixnum] profile_id # User profile ID associated with this request. - # @param [Array, String] ids + # @param [Array, Fixnum] ids # Select only placement strategies with these IDs. # @param [Fixnum] max_results # Maximum number of results to return. @@ -6210,9 +6211,9 @@ module Google end # Updates an existing placement strategy. This method supports patch semantics. - # @param [String] profile_id + # @param [Fixnum] profile_id # User profile ID associated with this request. - # @param [String] id + # @param [Fixnum] id # Placement strategy ID. # @param [Google::Apis::DfareportingV2_6::PlacementStrategy] placement_strategy_object # @param [String] fields @@ -6251,7 +6252,7 @@ module Google end # Updates an existing placement strategy. - # @param [String] profile_id + # @param [Fixnum] profile_id # User profile ID associated with this request. # @param [Google::Apis::DfareportingV2_6::PlacementStrategy] placement_strategy_object # @param [String] fields @@ -6289,11 +6290,11 @@ module Google end # Generates tags for a placement. - # @param [String] profile_id + # @param [Fixnum] profile_id # User profile ID associated with this request. - # @param [String] campaign_id + # @param [Fixnum] campaign_id # Generate placements belonging to this campaign. This is a required field. - # @param [Array, String] placement_ids + # @param [Array, Fixnum] placement_ids # Generate tags for these placements. # @param [Array, String] tag_formats # Tag formats to generate for these placements. @@ -6333,9 +6334,9 @@ module Google end # Gets one placement by ID. - # @param [String] profile_id + # @param [Fixnum] profile_id # User profile ID associated with this request. - # @param [String] id + # @param [Fixnum] id # Placement ID. # @param [String] fields # Selector specifying which fields to include in a partial response. @@ -6371,7 +6372,7 @@ module Google end # Inserts a new placement. - # @param [String] profile_id + # @param [Fixnum] profile_id # User profile ID associated with this request. # @param [Google::Apis::DfareportingV2_6::Placement] placement_object # @param [String] fields @@ -6409,14 +6410,14 @@ module Google end # Retrieves a list of placements, possibly filtered. This method supports paging. - # @param [String] profile_id + # @param [Fixnum] profile_id # User profile ID associated with this request. - # @param [Array, String] advertiser_ids + # @param [Array, Fixnum] advertiser_ids # Select only placements that belong to these advertisers. # @param [Boolean] archived # Select only archived placements. Don't set this field to select both archived # and non-archived placements. - # @param [Array, String] campaign_ids + # @param [Array, Fixnum] campaign_ids # Select only placements that belong to these campaigns. # @param [Array, String] compatibilities # Select only placements that are associated with these compatibilities. DISPLAY @@ -6424,13 +6425,13 @@ module Google # devices for regular or interstitial ads respectively. APP and APP_INTERSTITIAL # are for rendering in mobile apps. IN_STREAM_VIDEO refers to rendering in in- # stream video ads developed with the VAST standard. - # @param [Array, String] content_category_ids + # @param [Array, Fixnum] content_category_ids # Select only placements that are associated with these content categories. - # @param [Array, String] directory_site_ids + # @param [Array, Fixnum] directory_site_ids # Select only placements that are associated with these directory sites. - # @param [Array, String] group_ids + # @param [Array, Fixnum] group_ids # Select only placements that belong to these placement groups. - # @param [Array, String] ids + # @param [Array, Fixnum] ids # Select only placements with these IDs. # @param [String] max_end_date # Select only placements or placement groups whose end date is on or before the @@ -6450,7 +6451,7 @@ module Google # Value of the nextPageToken from the previous result page. # @param [String] payment_source # Select only placements with this payment source. - # @param [Array, String] placement_strategy_ids + # @param [Array, Fixnum] placement_strategy_ids # Select only placements that are associated with these placement strategies. # @param [Array, String] pricing_types # Select only placements with these pricing types. @@ -6461,9 +6462,9 @@ module Google # searches also add wildcards implicitly at the start and the end of the search # string. For example, a search string of "placement" will match placements with # name "my placement", "placement 2015", or simply "placement". - # @param [Array, String] site_ids + # @param [Array, Fixnum] site_ids # Select only placements that are associated with these sites. - # @param [Array, String] size_ids + # @param [Array, Fixnum] size_ids # Select only placements that are associated with these sizes. # @param [String] sort_field # Field by which to sort the list. @@ -6524,9 +6525,9 @@ module Google end # Updates an existing placement. This method supports patch semantics. - # @param [String] profile_id + # @param [Fixnum] profile_id # User profile ID associated with this request. - # @param [String] id + # @param [Fixnum] id # Placement ID. # @param [Google::Apis::DfareportingV2_6::Placement] placement_object # @param [String] fields @@ -6565,7 +6566,7 @@ module Google end # Updates an existing placement. - # @param [String] profile_id + # @param [Fixnum] profile_id # User profile ID associated with this request. # @param [Google::Apis::DfareportingV2_6::Placement] placement_object # @param [String] fields @@ -6603,9 +6604,9 @@ module Google end # Gets one platform type by ID. - # @param [String] profile_id + # @param [Fixnum] profile_id # User profile ID associated with this request. - # @param [String] id + # @param [Fixnum] id # Platform type ID. # @param [String] fields # Selector specifying which fields to include in a partial response. @@ -6641,7 +6642,7 @@ module Google end # Retrieves a list of platform types. - # @param [String] profile_id + # @param [Fixnum] profile_id # User profile ID associated with this request. # @param [String] fields # Selector specifying which fields to include in a partial response. @@ -6676,7 +6677,7 @@ module Google end # Gets one postal code by ID. - # @param [String] profile_id + # @param [Fixnum] profile_id # User profile ID associated with this request. # @param [String] code # Postal code ID. @@ -6714,7 +6715,7 @@ module Google end # Retrieves a list of postal codes. - # @param [String] profile_id + # @param [Fixnum] profile_id # User profile ID associated with this request. # @param [String] fields # Selector specifying which fields to include in a partial response. @@ -6749,9 +6750,9 @@ module Google end # Gets one project by ID. - # @param [String] profile_id + # @param [Fixnum] profile_id # User profile ID associated with this request. - # @param [String] id + # @param [Fixnum] id # Project ID. # @param [String] fields # Selector specifying which fields to include in a partial response. @@ -6787,11 +6788,11 @@ module Google end # Retrieves a list of projects, possibly filtered. This method supports paging. - # @param [String] profile_id + # @param [Fixnum] profile_id # User profile ID associated with this request. - # @param [Array, String] advertiser_ids + # @param [Array, Fixnum] advertiser_ids # Select only projects with these advertiser IDs. - # @param [Array, String] ids + # @param [Array, Fixnum] ids # Select only projects with these IDs. # @param [Fixnum] max_results # Maximum number of results to return. @@ -6848,7 +6849,7 @@ module Google end # Retrieves a list of regions. - # @param [String] profile_id + # @param [Fixnum] profile_id # User profile ID associated with this request. # @param [String] fields # Selector specifying which fields to include in a partial response. @@ -6883,9 +6884,9 @@ module Google end # Gets one remarketing list share by remarketing list ID. - # @param [String] profile_id + # @param [Fixnum] profile_id # User profile ID associated with this request. - # @param [String] remarketing_list_id + # @param [Fixnum] remarketing_list_id # Remarketing list ID. # @param [String] fields # Selector specifying which fields to include in a partial response. @@ -6922,9 +6923,9 @@ module Google # Updates an existing remarketing list share. This method supports patch # semantics. - # @param [String] profile_id + # @param [Fixnum] profile_id # User profile ID associated with this request. - # @param [String] remarketing_list_id + # @param [Fixnum] remarketing_list_id # Remarketing list ID. # @param [Google::Apis::DfareportingV2_6::RemarketingListShare] remarketing_list_share_object # @param [String] fields @@ -6963,7 +6964,7 @@ module Google end # Updates an existing remarketing list share. - # @param [String] profile_id + # @param [Fixnum] profile_id # User profile ID associated with this request. # @param [Google::Apis::DfareportingV2_6::RemarketingListShare] remarketing_list_share_object # @param [String] fields @@ -7001,9 +7002,9 @@ module Google end # Gets one remarketing list by ID. - # @param [String] profile_id + # @param [Fixnum] profile_id # User profile ID associated with this request. - # @param [String] id + # @param [Fixnum] id # Remarketing list ID. # @param [String] fields # Selector specifying which fields to include in a partial response. @@ -7039,7 +7040,7 @@ module Google end # Inserts a new remarketing list. - # @param [String] profile_id + # @param [Fixnum] profile_id # User profile ID associated with this request. # @param [Google::Apis::DfareportingV2_6::RemarketingList] remarketing_list_object # @param [String] fields @@ -7078,13 +7079,13 @@ module Google # Retrieves a list of remarketing lists, possibly filtered. This method supports # paging. - # @param [String] profile_id + # @param [Fixnum] profile_id # User profile ID associated with this request. - # @param [String] advertiser_id + # @param [Fixnum] advertiser_id # Select only remarketing lists owned by this advertiser. # @param [Boolean] active # Select only active or only inactive remarketing lists. - # @param [String] floodlight_activity_id + # @param [Fixnum] floodlight_activity_id # Select only remarketing lists that have this floodlight activity ID. # @param [Fixnum] max_results # Maximum number of results to return. @@ -7143,9 +7144,9 @@ module Google end # Updates an existing remarketing list. This method supports patch semantics. - # @param [String] profile_id + # @param [Fixnum] profile_id # User profile ID associated with this request. - # @param [String] id + # @param [Fixnum] id # Remarketing list ID. # @param [Google::Apis::DfareportingV2_6::RemarketingList] remarketing_list_object # @param [String] fields @@ -7184,7 +7185,7 @@ module Google end # Updates an existing remarketing list. - # @param [String] profile_id + # @param [Fixnum] profile_id # User profile ID associated with this request. # @param [Google::Apis::DfareportingV2_6::RemarketingList] remarketing_list_object # @param [String] fields @@ -7222,9 +7223,9 @@ module Google end # Deletes a report by its ID. - # @param [String] profile_id + # @param [Fixnum] profile_id # The DFA user profile ID. - # @param [String] report_id + # @param [Fixnum] report_id # The ID of the report. # @param [String] fields # Selector specifying which fields to include in a partial response. @@ -7258,9 +7259,9 @@ module Google end # Retrieves a report by its ID. - # @param [String] profile_id + # @param [Fixnum] profile_id # The DFA user profile ID. - # @param [String] report_id + # @param [Fixnum] report_id # The ID of the report. # @param [String] fields # Selector specifying which fields to include in a partial response. @@ -7296,7 +7297,7 @@ module Google end # Creates a report. - # @param [String] profile_id + # @param [Fixnum] profile_id # The DFA user profile ID. # @param [Google::Apis::DfareportingV2_6::Report] report_object # @param [String] fields @@ -7334,7 +7335,7 @@ module Google end # Retrieves list of reports. - # @param [String] profile_id + # @param [Fixnum] profile_id # The DFA user profile ID. # @param [Fixnum] max_results # Maximum number of results to return. @@ -7384,9 +7385,9 @@ module Google end # Updates a report. This method supports patch semantics. - # @param [String] profile_id + # @param [Fixnum] profile_id # The DFA user profile ID. - # @param [String] report_id + # @param [Fixnum] report_id # The ID of the report. # @param [Google::Apis::DfareportingV2_6::Report] report_object # @param [String] fields @@ -7425,9 +7426,9 @@ module Google end # Runs a report. - # @param [String] profile_id + # @param [Fixnum] profile_id # The DFA profile ID. - # @param [String] report_id + # @param [Fixnum] report_id # The ID of the report. # @param [Boolean] synchronous # If set and true, tries to run the report synchronously. @@ -7466,9 +7467,9 @@ module Google end # Updates a report. - # @param [String] profile_id + # @param [Fixnum] profile_id # The DFA user profile ID. - # @param [String] report_id + # @param [Fixnum] report_id # The ID of the report. # @param [Google::Apis::DfareportingV2_6::Report] report_object # @param [String] fields @@ -7509,7 +7510,7 @@ module Google # Returns the fields that are compatible to be selected in the respective # sections of a report criteria, given the fields already selected in the input # report and user permissions. - # @param [String] profile_id + # @param [Fixnum] profile_id # The DFA user profile ID. # @param [Google::Apis::DfareportingV2_6::Report] report_object # @param [String] fields @@ -7547,11 +7548,11 @@ module Google end # Retrieves a report file. - # @param [String] profile_id + # @param [Fixnum] profile_id # The DFA profile ID. - # @param [String] report_id + # @param [Fixnum] report_id # The ID of the report. - # @param [String] file_id + # @param [Fixnum] file_id # The ID of the report file. # @param [String] fields # Selector specifying which fields to include in a partial response. @@ -7595,9 +7596,9 @@ module Google end # Lists files for a report. - # @param [String] profile_id + # @param [Fixnum] profile_id # The DFA profile ID. - # @param [String] report_id + # @param [Fixnum] report_id # The ID of the parent report. # @param [Fixnum] max_results # Maximum number of results to return. @@ -7645,9 +7646,9 @@ module Google end # Gets one site by ID. - # @param [String] profile_id + # @param [Fixnum] profile_id # User profile ID associated with this request. - # @param [String] id + # @param [Fixnum] id # Site ID. # @param [String] fields # Selector specifying which fields to include in a partial response. @@ -7683,7 +7684,7 @@ module Google end # Inserts a new site. - # @param [String] profile_id + # @param [Fixnum] profile_id # User profile ID associated with this request. # @param [Google::Apis::DfareportingV2_6::Site] site_object # @param [String] fields @@ -7721,7 +7722,7 @@ module Google end # Retrieves a list of sites, possibly filtered. This method supports paging. - # @param [String] profile_id + # @param [Fixnum] profile_id # User profile ID associated with this request. # @param [Boolean] accepts_in_stream_video_placements # This search filter is no longer supported and will have no effect on the @@ -7735,11 +7736,11 @@ module Google # Select only AdWords sites. # @param [Boolean] approved # Select only approved sites. - # @param [Array, String] campaign_ids + # @param [Array, Fixnum] campaign_ids # Select only sites with these campaign IDs. - # @param [Array, String] directory_site_ids + # @param [Array, Fixnum] directory_site_ids # Select only sites with these directory site IDs. - # @param [Array, String] ids + # @param [Array, Fixnum] ids # Select only sites with these IDs. # @param [Fixnum] max_results # Maximum number of results to return. @@ -7756,7 +7757,7 @@ module Google # Field by which to sort the list. # @param [String] sort_order # Order of sorted results, default is ASCENDING. - # @param [String] subaccount_id + # @param [Fixnum] subaccount_id # Select only sites with this subaccount ID. # @param [Boolean] unmapped_site # Select only sites that have not been mapped to a directory site. @@ -7808,9 +7809,9 @@ module Google end # Updates an existing site. This method supports patch semantics. - # @param [String] profile_id + # @param [Fixnum] profile_id # User profile ID associated with this request. - # @param [String] id + # @param [Fixnum] id # Site ID. # @param [Google::Apis::DfareportingV2_6::Site] site_object # @param [String] fields @@ -7849,7 +7850,7 @@ module Google end # Updates an existing site. - # @param [String] profile_id + # @param [Fixnum] profile_id # User profile ID associated with this request. # @param [Google::Apis::DfareportingV2_6::Site] site_object # @param [String] fields @@ -7887,9 +7888,9 @@ module Google end # Gets one size by ID. - # @param [String] profile_id + # @param [Fixnum] profile_id # User profile ID associated with this request. - # @param [String] id + # @param [Fixnum] id # Size ID. # @param [String] fields # Selector specifying which fields to include in a partial response. @@ -7925,7 +7926,7 @@ module Google end # Inserts a new size. - # @param [String] profile_id + # @param [Fixnum] profile_id # User profile ID associated with this request. # @param [Google::Apis::DfareportingV2_6::Size] size_object # @param [String] fields @@ -7963,13 +7964,13 @@ module Google end # Retrieves a list of sizes, possibly filtered. - # @param [String] profile_id + # @param [Fixnum] profile_id # User profile ID associated with this request. # @param [Fixnum] height # Select only sizes with this height. # @param [Boolean] iab_standard # Select only IAB standard sizes. - # @param [Array, String] ids + # @param [Array, Fixnum] ids # Select only sizes with these IDs. # @param [Fixnum] width # Select only sizes with this width. @@ -8010,9 +8011,9 @@ module Google end # Gets one subaccount by ID. - # @param [String] profile_id + # @param [Fixnum] profile_id # User profile ID associated with this request. - # @param [String] id + # @param [Fixnum] id # Subaccount ID. # @param [String] fields # Selector specifying which fields to include in a partial response. @@ -8048,7 +8049,7 @@ module Google end # Inserts a new subaccount. - # @param [String] profile_id + # @param [Fixnum] profile_id # User profile ID associated with this request. # @param [Google::Apis::DfareportingV2_6::Subaccount] subaccount_object # @param [String] fields @@ -8086,9 +8087,9 @@ module Google end # Gets a list of subaccounts, possibly filtered. This method supports paging. - # @param [String] profile_id + # @param [Fixnum] profile_id # User profile ID associated with this request. - # @param [Array, String] ids + # @param [Array, Fixnum] ids # Select only subaccounts with these IDs. # @param [Fixnum] max_results # Maximum number of results to return. @@ -8144,9 +8145,9 @@ module Google end # Updates an existing subaccount. This method supports patch semantics. - # @param [String] profile_id + # @param [Fixnum] profile_id # User profile ID associated with this request. - # @param [String] id + # @param [Fixnum] id # Subaccount ID. # @param [Google::Apis::DfareportingV2_6::Subaccount] subaccount_object # @param [String] fields @@ -8185,7 +8186,7 @@ module Google end # Updates an existing subaccount. - # @param [String] profile_id + # @param [Fixnum] profile_id # User profile ID associated with this request. # @param [Google::Apis::DfareportingV2_6::Subaccount] subaccount_object # @param [String] fields @@ -8223,9 +8224,9 @@ module Google end # Gets one remarketing list by ID. - # @param [String] profile_id + # @param [Fixnum] profile_id # User profile ID associated with this request. - # @param [String] id + # @param [Fixnum] id # Remarketing list ID. # @param [String] fields # Selector specifying which fields to include in a partial response. @@ -8262,9 +8263,9 @@ module Google # Retrieves a list of targetable remarketing lists, possibly filtered. This # method supports paging. - # @param [String] profile_id + # @param [Fixnum] profile_id # User profile ID associated with this request. - # @param [String] advertiser_id + # @param [Fixnum] advertiser_id # Select only targetable remarketing lists targetable by these advertisers. # @param [Boolean] active # Select only active or only inactive targetable remarketing lists. @@ -8324,9 +8325,9 @@ module Google end # Gets one targeting template by ID. - # @param [String] profile_id + # @param [Fixnum] profile_id # User profile ID associated with this request. - # @param [String] id + # @param [Fixnum] id # Targeting template ID. # @param [String] fields # Selector specifying which fields to include in a partial response. @@ -8362,7 +8363,7 @@ module Google end # Inserts a new targeting template. - # @param [String] profile_id + # @param [Fixnum] profile_id # User profile ID associated with this request. # @param [Google::Apis::DfareportingV2_6::TargetingTemplate] targeting_template_object # @param [String] fields @@ -8401,11 +8402,11 @@ module Google # Retrieves a list of targeting templates, optionally filtered. This method # supports paging. - # @param [String] profile_id + # @param [Fixnum] profile_id # User profile ID associated with this request. - # @param [String] advertiser_id + # @param [Fixnum] advertiser_id # Select only targeting templates with this advertiser ID. - # @param [Array, String] ids + # @param [Array, Fixnum] ids # Select only targeting templates with these IDs. # @param [Fixnum] max_results # Maximum number of results to return. @@ -8462,9 +8463,9 @@ module Google end # Updates an existing targeting template. This method supports patch semantics. - # @param [String] profile_id + # @param [Fixnum] profile_id # User profile ID associated with this request. - # @param [String] id + # @param [Fixnum] id # Targeting template ID. # @param [Google::Apis::DfareportingV2_6::TargetingTemplate] targeting_template_object # @param [String] fields @@ -8503,7 +8504,7 @@ module Google end # Updates an existing targeting template. - # @param [String] profile_id + # @param [Fixnum] profile_id # User profile ID associated with this request. # @param [Google::Apis::DfareportingV2_6::TargetingTemplate] targeting_template_object # @param [String] fields @@ -8541,7 +8542,7 @@ module Google end # Gets one user profile by ID. - # @param [String] profile_id + # @param [Fixnum] profile_id # The user profile ID. # @param [String] fields # Selector specifying which fields to include in a partial response. @@ -8608,9 +8609,9 @@ module Google end # Gets one user role permission group by ID. - # @param [String] profile_id + # @param [Fixnum] profile_id # User profile ID associated with this request. - # @param [String] id + # @param [Fixnum] id # User role permission group ID. # @param [String] fields # Selector specifying which fields to include in a partial response. @@ -8646,7 +8647,7 @@ module Google end # Gets a list of all supported user role permission groups. - # @param [String] profile_id + # @param [Fixnum] profile_id # User profile ID associated with this request. # @param [String] fields # Selector specifying which fields to include in a partial response. @@ -8681,9 +8682,9 @@ module Google end # Gets one user role permission by ID. - # @param [String] profile_id + # @param [Fixnum] profile_id # User profile ID associated with this request. - # @param [String] id + # @param [Fixnum] id # User role permission ID. # @param [String] fields # Selector specifying which fields to include in a partial response. @@ -8719,9 +8720,9 @@ module Google end # Gets a list of user role permissions, possibly filtered. - # @param [String] profile_id + # @param [Fixnum] profile_id # User profile ID associated with this request. - # @param [Array, String] ids + # @param [Array, Fixnum] ids # Select only user role permissions with these IDs. # @param [String] fields # Selector specifying which fields to include in a partial response. @@ -8757,9 +8758,9 @@ module Google end # Deletes an existing user role. - # @param [String] profile_id + # @param [Fixnum] profile_id # User profile ID associated with this request. - # @param [String] id + # @param [Fixnum] id # User role ID. # @param [String] fields # Selector specifying which fields to include in a partial response. @@ -8793,9 +8794,9 @@ module Google end # Gets one user role by ID. - # @param [String] profile_id + # @param [Fixnum] profile_id # User profile ID associated with this request. - # @param [String] id + # @param [Fixnum] id # User role ID. # @param [String] fields # Selector specifying which fields to include in a partial response. @@ -8831,7 +8832,7 @@ module Google end # Inserts a new user role. - # @param [String] profile_id + # @param [Fixnum] profile_id # User profile ID associated with this request. # @param [Google::Apis::DfareportingV2_6::UserRole] user_role_object # @param [String] fields @@ -8869,12 +8870,12 @@ module Google end # Retrieves a list of user roles, possibly filtered. This method supports paging. - # @param [String] profile_id + # @param [Fixnum] profile_id # User profile ID associated with this request. # @param [Boolean] account_user_role_only # Select only account level user roles not associated with any specific # subaccount. - # @param [Array, String] ids + # @param [Array, Fixnum] ids # Select only user roles with the specified IDs. # @param [Fixnum] max_results # Maximum number of results to return. @@ -8891,7 +8892,7 @@ module Google # Field by which to sort the list. # @param [String] sort_order # Order of sorted results, default is ASCENDING. - # @param [String] subaccount_id + # @param [Fixnum] subaccount_id # Select only user roles that belong to this subaccount. # @param [String] fields # Selector specifying which fields to include in a partial response. @@ -8934,9 +8935,9 @@ module Google end # Updates an existing user role. This method supports patch semantics. - # @param [String] profile_id + # @param [Fixnum] profile_id # User profile ID associated with this request. - # @param [String] id + # @param [Fixnum] id # User role ID. # @param [Google::Apis::DfareportingV2_6::UserRole] user_role_object # @param [String] fields @@ -8975,7 +8976,7 @@ module Google end # Updates an existing user role. - # @param [String] profile_id + # @param [Fixnum] profile_id # User profile ID associated with this request. # @param [Google::Apis::DfareportingV2_6::UserRole] user_role_object # @param [String] fields diff --git a/generated/google/apis/dfareporting_v2_7/classes.rb b/generated/google/apis/dfareporting_v2_7/classes.rb index 9adcbbfe6..fed259ffd 100644 --- a/generated/google/apis/dfareporting_v2_7/classes.rb +++ b/generated/google/apis/dfareporting_v2_7/classes.rb @@ -28,7 +28,7 @@ module Google # Account permissions assigned to this account. # Corresponds to the JSON property `accountPermissionIds` - # @return [Array] + # @return [Array] attr_accessor :account_permission_ids # Profile for this account. This is a read-only field that can be left blank. @@ -56,12 +56,12 @@ module Google # User role permissions available to the user roles of this account. # Corresponds to the JSON property `availablePermissionIds` - # @return [Array] + # @return [Array] attr_accessor :available_permission_ids # ID of the country associated with this account. # Corresponds to the JSON property `countryId` - # @return [String] + # @return [Fixnum] attr_accessor :country_id # ID of currency associated with this account. This is a required field. @@ -114,12 +114,12 @@ module Google # - "47" for BGN # - "48" for HRK # Corresponds to the JSON property `currencyId` - # @return [String] + # @return [Fixnum] attr_accessor :currency_id # Default placement dimensions for this account. # Corresponds to the JSON property `defaultCreativeSizeId` - # @return [String] + # @return [Fixnum] attr_accessor :default_creative_size_id # Description of this account. @@ -129,7 +129,7 @@ module Google # ID of this account. This is a read-only, auto-generated field. # Corresponds to the JSON property `id` - # @return [String] + # @return [Fixnum] attr_accessor :id # Identifies what kind of resource this is. Value: the fixed string " @@ -162,7 +162,7 @@ module Google # Maximum image size allowed for this account. # Corresponds to the JSON property `maximumImageSize` - # @return [String] + # @return [Fixnum] attr_accessor :maximum_image_size # Name of this account. This is a required field, and must be less than 128 @@ -192,7 +192,7 @@ module Google # File size limit in kilobytes of Rich Media teaser creatives. Must be between 1 # and 10240. # Corresponds to the JSON property `teaserSizeLimit` - # @return [String] + # @return [Fixnum] attr_accessor :teaser_size_limit def initialize(**args) @@ -229,12 +229,12 @@ module Google # ID of the account. # Corresponds to the JSON property `accountId` - # @return [String] + # @return [Fixnum] attr_accessor :account_id # Ads that have been activated for the account # Corresponds to the JSON property `activeAds` - # @return [String] + # @return [Fixnum] attr_accessor :active_ads # Maximum number of active ads allowed for the account. @@ -244,7 +244,7 @@ module Google # Ads that can be activated for the account. # Corresponds to the JSON property `availableAds` - # @return [String] + # @return [Fixnum] attr_accessor :available_ads # Identifies what kind of resource this is. Value: the fixed string " @@ -283,7 +283,7 @@ module Google # ID of this account permission. # Corresponds to the JSON property `id` - # @return [String] + # @return [Fixnum] attr_accessor :id # Identifies what kind of resource this is. Value: the fixed string " @@ -304,7 +304,7 @@ module Google # Permission group of this account permission. # Corresponds to the JSON property `permissionGroupId` - # @return [String] + # @return [Fixnum] attr_accessor :permission_group_id def initialize(**args) @@ -329,7 +329,7 @@ module Google # ID of this account permission group. # Corresponds to the JSON property `id` - # @return [String] + # @return [Fixnum] attr_accessor :id # Identifies what kind of resource this is. Value: the fixed string " @@ -416,7 +416,7 @@ module Google # Account ID of the user profile. This is a read-only field that can be left # blank. # Corresponds to the JSON property `accountId` - # @return [String] + # @return [Fixnum] attr_accessor :account_id # Whether this user profile is active. This defaults to false, and must be set @@ -449,7 +449,7 @@ module Google # ID of the user profile. This is a read-only, auto-generated field. # Corresponds to the JSON property `id` - # @return [String] + # @return [Fixnum] attr_accessor :id # Identifies what kind of resource this is. Value: the fixed string " @@ -495,7 +495,7 @@ module Google # Subaccount ID of the user profile. This is a read-only field that can be left # blank. # Corresponds to the JSON property `subaccountId` - # @return [String] + # @return [Fixnum] attr_accessor :subaccount_id # Trafficker type of this user profile. @@ -516,7 +516,7 @@ module Google # User role ID of the user profile. This is a required field. # Corresponds to the JSON property `userRoleId` - # @return [String] + # @return [Fixnum] attr_accessor :user_role_id def initialize(**args) @@ -646,7 +646,7 @@ module Google # Account ID of this ad. This is a read-only field that can be left blank. # Corresponds to the JSON property `accountId` - # @return [String] + # @return [Fixnum] attr_accessor :account_id # Whether this ad is active. When true, archived must be false. @@ -657,7 +657,7 @@ module Google # Advertiser ID of this ad. This is a required field on insertion. # Corresponds to the JSON property `advertiserId` - # @return [String] + # @return [Fixnum] attr_accessor :advertiser_id # Represents a DimensionValue resource. @@ -674,12 +674,12 @@ module Google # Audience segment ID that is being targeted for this ad. Applicable when type # is AD_SERVING_STANDARD_AD. # Corresponds to the JSON property `audienceSegmentId` - # @return [String] + # @return [Fixnum] attr_accessor :audience_segment_id # Campaign ID of this ad. This is a required field on insertion. # Corresponds to the JSON property `campaignId` - # @return [String] + # @return [Fixnum] attr_accessor :campaign_id # Represents a DimensionValue resource. @@ -774,7 +774,7 @@ module Google # ID of this ad. This is a read-only, auto-generated field. # Corresponds to the JSON property `id` - # @return [String] + # @return [Fixnum] attr_accessor :id # Represents a DimensionValue resource. @@ -846,7 +846,7 @@ module Google # Subaccount ID of this ad. This is a read-only field that can be left blank. # Corresponds to the JSON property `subaccountId` - # @return [String] + # @return [Fixnum] attr_accessor :subaccount_id # Targeting template ID, used to apply preconfigured targeting information to @@ -854,7 +854,7 @@ module Google # keyValueTargetingExpression, languageTargeting, remarketingListExpression, or # technologyTargeting are set. Applicable when type is AD_SERVING_STANDARD_AD. # Corresponds to the JSON property `targetingTemplateId` - # @return [String] + # @return [Fixnum] attr_accessor :targeting_template_id # Technology Targeting. @@ -936,12 +936,12 @@ module Google # Height of this ad slot. # Corresponds to the JSON property `height` - # @return [String] + # @return [Fixnum] attr_accessor :height # ID of the placement from an external platform that is linked to this ad slot. # Corresponds to the JSON property `linkedPlacementId` - # @return [String] + # @return [Fixnum] attr_accessor :linked_placement_id # Name of this ad slot. @@ -962,7 +962,7 @@ module Google # Width of this ad slot. # Corresponds to the JSON property `width` - # @return [String] + # @return [Fixnum] attr_accessor :width def initialize(**args) @@ -1020,14 +1020,14 @@ module Google # Account ID of this advertiser.This is a read-only field that can be left blank. # Corresponds to the JSON property `accountId` - # @return [String] + # @return [Fixnum] attr_accessor :account_id # ID of the advertiser group this advertiser belongs to. You can group # advertisers for reporting purposes, allowing you to see aggregated information # for all advertisers in each group. # Corresponds to the JSON property `advertiserGroupId` - # @return [String] + # @return [Fixnum] attr_accessor :advertiser_group_id # Suffix added to click-through URL of ad creative associations under this @@ -1039,7 +1039,7 @@ module Google # ID of the click-through event tag to apply by default to the landing pages of # this advertiser's campaigns. # Corresponds to the JSON property `defaultClickThroughEventTagId` - # @return [String] + # @return [Fixnum] attr_accessor :default_click_through_event_tag_id # Default email address used in sender field for tag emails. @@ -1057,7 +1057,7 @@ module Google # - This advertiser's original floodlight configuration is not already shared # with another advertiser. # Corresponds to the JSON property `floodlightConfigurationId` - # @return [String] + # @return [Fixnum] attr_accessor :floodlight_configuration_id # Represents a DimensionValue resource. @@ -1067,7 +1067,7 @@ module Google # ID of this advertiser. This is a read-only, auto-generated field. # Corresponds to the JSON property `id` - # @return [String] + # @return [Fixnum] attr_accessor :id # Represents a DimensionValue resource. @@ -1094,7 +1094,7 @@ module Google # configuration if the shared configuration has activities associated with any # campaign or placement. # Corresponds to the JSON property `originalFloodlightConfigurationId` - # @return [String] + # @return [Fixnum] attr_accessor :original_floodlight_configuration_id # Status of this advertiser. @@ -1105,7 +1105,7 @@ module Google # Subaccount ID of this advertiser.This is a read-only field that can be left # blank. # Corresponds to the JSON property `subaccountId` - # @return [String] + # @return [Fixnum] attr_accessor :subaccount_id # Suspension status of this advertiser. @@ -1146,12 +1146,12 @@ module Google # Account ID of this advertiser group. This is a read-only field that can be # left blank. # Corresponds to the JSON property `accountId` - # @return [String] + # @return [Fixnum] attr_accessor :account_id # ID of this advertiser group. This is a read-only, auto-generated field. # Corresponds to the JSON property `id` - # @return [String] + # @return [Fixnum] attr_accessor :id # Identifies what kind of resource this is. Value: the fixed string " @@ -1256,7 +1256,7 @@ module Google # ID of this audience segment. This is a read-only, auto-generated field. # Corresponds to the JSON property `id` - # @return [String] + # @return [Fixnum] attr_accessor :id # Name of this audience segment. This is a required field and must be less than @@ -1289,7 +1289,7 @@ module Google # ID of this audience segment group. This is a read-only, auto-generated field. # Corresponds to the JSON property `id` - # @return [String] + # @return [Fixnum] attr_accessor :id # Name of this audience segment group. This is a required field and must be less @@ -1317,12 +1317,12 @@ module Google # ID referring to this grouping of browser and version numbers. This is the ID # used for targeting. # Corresponds to the JSON property `browserVersionId` - # @return [String] + # @return [Fixnum] attr_accessor :browser_version_id # DART ID of this browser. This is the ID used when generating reports. # Corresponds to the JSON property `dartId` - # @return [String] + # @return [Fixnum] attr_accessor :dart_id # Identifies what kind of resource this is. Value: the fixed string " @@ -1406,7 +1406,7 @@ module Google # Account ID of this campaign. This is a read-only field that can be left blank. # Corresponds to the JSON property `accountId` - # @return [String] + # @return [Fixnum] attr_accessor :account_id # Additional creative optimization configurations for the campaign. @@ -1416,12 +1416,12 @@ module Google # Advertiser group ID of the associated advertiser. # Corresponds to the JSON property `advertiserGroupId` - # @return [String] + # @return [Fixnum] attr_accessor :advertiser_group_id # Advertiser ID of this campaign. This is a required field. # Corresponds to the JSON property `advertiserId` - # @return [String] + # @return [Fixnum] attr_accessor :advertiser_id # Represents a DimensionValue resource. @@ -1464,7 +1464,7 @@ module Google # List of creative group IDs that are assigned to the campaign. # Corresponds to the JSON property `creativeGroupIds` - # @return [Array] + # @return [Array] attr_accessor :creative_group_ids # Creative optimization settings. @@ -1501,7 +1501,7 @@ module Google # ID of this campaign. This is a read-only auto-generated field. # Corresponds to the JSON property `id` - # @return [String] + # @return [Fixnum] attr_accessor :id # Represents a DimensionValue resource. @@ -1547,7 +1547,7 @@ module Google # Subaccount ID of this campaign. This is a read-only field that can be left # blank. # Corresponds to the JSON property `subaccountId` - # @return [String] + # @return [Fixnum] attr_accessor :subaccount_id # Campaign trafficker contact emails. @@ -1597,7 +1597,7 @@ module Google # ID of the creative associated with the campaign. This is a required field. # Corresponds to the JSON property `creativeId` - # @return [String] + # @return [Fixnum] attr_accessor :creative_id # Identifies what kind of resource this is. Value: the fixed string " @@ -1687,7 +1687,7 @@ module Google # Account ID of the modified object. # Corresponds to the JSON property `accountId` - # @return [String] + # @return [Fixnum] attr_accessor :account_id # Action which caused the change. @@ -1707,7 +1707,7 @@ module Google # ID of this change log. # Corresponds to the JSON property `id` - # @return [String] + # @return [Fixnum] attr_accessor :id # Identifies what kind of resource this is. Value: the fixed string " @@ -1724,7 +1724,7 @@ module Google # ID of the object of this change log. The object could be a campaign, placement, # ad, or other type. # Corresponds to the JSON property `objectId` - # @return [String] + # @return [Fixnum] attr_accessor :object_id_prop # Object type of the change log. @@ -1739,19 +1739,19 @@ module Google # Subaccount ID of the modified object. # Corresponds to the JSON property `subaccountId` - # @return [String] + # @return [Fixnum] attr_accessor :subaccount_id # Transaction ID of this change log. When a single API call results in many # changes, each change will have a separate ID in the change log but will share # the same transactionId. # Corresponds to the JSON property `transactionId` - # @return [String] + # @return [Fixnum] attr_accessor :transaction_id # ID of the user who modified the object. # Corresponds to the JSON property `userProfileId` - # @return [String] + # @return [Fixnum] attr_accessor :user_profile_id # User profile name of the user who modified the object. @@ -1851,12 +1851,12 @@ module Google # DART ID of the country to which this city belongs. # Corresponds to the JSON property `countryDartId` - # @return [String] + # @return [Fixnum] attr_accessor :country_dart_id # DART ID of this city. This is the ID used for targeting and generating reports. # Corresponds to the JSON property `dartId` - # @return [String] + # @return [Fixnum] attr_accessor :dart_id # Identifies what kind of resource this is. Value: the fixed string " @@ -1872,7 +1872,7 @@ module Google # ID of the metro region (DMA) to which this city belongs. # Corresponds to the JSON property `metroDmaId` - # @return [String] + # @return [Fixnum] attr_accessor :metro_dma_id # Name of this city. @@ -1887,7 +1887,7 @@ module Google # DART ID of the region to which this city belongs. # Corresponds to the JSON property `regionDartId` - # @return [String] + # @return [Fixnum] attr_accessor :region_dart_id def initialize(**args) @@ -1975,7 +1975,7 @@ module Google # ID of the landing page for the click-through URL. Applicable if the # defaultLandingPage field is set to false. # Corresponds to the JSON property `landingPageId` - # @return [String] + # @return [Fixnum] attr_accessor :landing_page_id def initialize(**args) @@ -2030,7 +2030,7 @@ module Google # ID of the creative for this companion click-through override. # Corresponds to the JSON property `creativeId` - # @return [String] + # @return [Fixnum] attr_accessor :creative_id def initialize(**args) @@ -2146,7 +2146,7 @@ module Google # ID of this connection type. # Corresponds to the JSON property `id` - # @return [String] + # @return [Fixnum] attr_accessor :id # Identifies what kind of resource this is. Value: the fixed string " @@ -2237,12 +2237,12 @@ module Google # Account ID of this content category. This is a read-only field that can be # left blank. # Corresponds to the JSON property `accountId` - # @return [String] + # @return [Fixnum] attr_accessor :account_id # ID of this content category. This is a read-only, auto-generated field. # Corresponds to the JSON property `id` - # @return [String] + # @return [Fixnum] attr_accessor :id # Identifies what kind of resource this is. Value: the fixed string " @@ -2307,12 +2307,12 @@ module Google # Floodlight Activity ID of this conversion. This is a required field. # Corresponds to the JSON property `floodlightActivityId` - # @return [String] + # @return [Fixnum] attr_accessor :floodlight_activity_id # Floodlight Configuration ID of this conversion. This is a required field. # Corresponds to the JSON property `floodlightConfigurationId` - # @return [String] + # @return [Fixnum] attr_accessor :floodlight_configuration_id # Identifies what kind of resource this is. Value: the fixed string " @@ -2343,12 +2343,12 @@ module Google # The quantity of the conversion. # Corresponds to the JSON property `quantity` - # @return [String] + # @return [Fixnum] attr_accessor :quantity # The timestamp of conversion, in Unix epoch micros. This is a required field. # Corresponds to the JSON property `timestampMicros` - # @return [String] + # @return [Fixnum] attr_accessor :timestamp_micros # The value of the conversion. @@ -2549,7 +2549,7 @@ module Google # DART ID of this country. This is the ID used for targeting and generating # reports. # Corresponds to the JSON property `dartId` - # @return [String] + # @return [Fixnum] attr_accessor :dart_id # Identifies what kind of resource this is. Value: the fixed string " @@ -2590,7 +2590,7 @@ module Google # Account ID of this creative. This field, if left unset, will be auto-generated # for both insert and update operations. Applicable to all creative types. # Corresponds to the JSON property `accountId` - # @return [String] + # @return [Fixnum] attr_accessor :account_id # Whether the creative is active. Applicable to all creative types. @@ -2617,7 +2617,7 @@ module Google # Advertiser ID of this creative. This is a required field. Applicable to all # creative types. # Corresponds to the JSON property `advertiserId` - # @return [String] + # @return [Fixnum] attr_accessor :advertiser_id # Whether script access is allowed for this creative. This is a read-only and @@ -2724,7 +2724,7 @@ module Google # following creative types: all VPAID and all INSTREAM_VIDEO with # dynamicAssetSelection set to false. # Corresponds to the JSON property `companionCreatives` - # @return [Array] + # @return [Array] attr_accessor :companion_creatives # Compatibilities associated with this creative. This is a read-only field. @@ -2833,7 +2833,7 @@ module Google # ID of this creative. This is a read-only, auto-generated field. Applicable to # all creative types. # Corresponds to the JSON property `id` - # @return [String] + # @return [Fixnum] attr_accessor :id # Represents a DimensionValue resource. @@ -2856,7 +2856,7 @@ module Google # creatives. This is a read-only field. Applicable to the following creative # types: all RICH_MEDIA, and all VPAID. # Corresponds to the JSON property `latestTraffickedCreativeId` - # @return [String] + # @return [Fixnum] attr_accessor :latest_trafficked_creative_id # Name of the creative. This is a required field and must be less than 256 @@ -2889,7 +2889,7 @@ module Google # ID of current rendering version. This is a read-only field. Applicable to all # creative types. # Corresponds to the JSON property `renderingId` - # @return [String] + # @return [Fixnum] attr_accessor :rendering_id # Represents a DimensionValue resource. @@ -2947,28 +2947,28 @@ module Google # read-only field. Applicable to the following creative types: all RICH_MEDIA, # and all VPAID. # Corresponds to the JSON property `studioAdvertiserId` - # @return [String] + # @return [Fixnum] attr_accessor :studio_advertiser_id # Studio creative ID associated with rich media and VPAID creatives. This is a # read-only field. Applicable to the following creative types: all RICH_MEDIA, # and all VPAID. # Corresponds to the JSON property `studioCreativeId` - # @return [String] + # @return [Fixnum] attr_accessor :studio_creative_id # Studio trafficked creative ID associated with rich media and VPAID creatives. # This is a read-only field. Applicable to the following creative types: all # RICH_MEDIA, and all VPAID. # Corresponds to the JSON property `studioTraffickedCreativeId` - # @return [String] + # @return [Fixnum] attr_accessor :studio_trafficked_creative_id # Subaccount ID of this creative. This field, if left unset, will be auto- # generated for both insert and update operations. Applicable to all creative # types. # Corresponds to the JSON property `subaccountId` - # @return [String] + # @return [Fixnum] attr_accessor :subaccount_id # Third-party URL used to record backup image impressions. Applicable to the @@ -3000,7 +3000,7 @@ module Google # Combined size of all creative assets. This is a read-only field. Applicable to # the following creative types: all RICH_MEDIA, and all VPAID. # Corresponds to the JSON property `totalFileSize` - # @return [String] + # @return [Fixnum] attr_accessor :total_file_size # Type of this creative. This is a required field. Applicable to all creative @@ -3169,7 +3169,7 @@ module Google # Applicable to INSTREAM_VIDEO creative type with dynamicAssetSelection set to # true. # Corresponds to the JSON property `companionCreativeIds` - # @return [Array] + # @return [Array] attr_accessor :companion_creative_ids # Custom start time in seconds for making the asset visible. Applicable to the @@ -3214,7 +3214,7 @@ module Google # Applicable to all but the following creative types: all REDIRECT and # TRACKING_TEXT. # Corresponds to the JSON property `fileSize` - # @return [String] + # @return [Fixnum] attr_accessor :file_size # Flash version of the asset. This is a read-only field. Applicable to the @@ -3249,7 +3249,7 @@ module Google # modified. Applicable to all but the following creative types: all REDIRECT and # TRACKING_TEXT. # Corresponds to the JSON property `id` - # @return [String] + # @return [Fixnum] attr_accessor :id # Represents a DimensionValue resource. @@ -3523,7 +3523,7 @@ module Google # Numeric ID of the asset. This is a read-only, auto-generated field. # Corresponds to the JSON property `id` - # @return [String] + # @return [Fixnum] attr_accessor :id # Represents a DimensionValue resource. @@ -3593,7 +3593,7 @@ module Google # creative, and will be served if none of the rules match. This is a required # field. # Corresponds to the JSON property `defaultAssetId` - # @return [String] + # @return [Fixnum] attr_accessor :default_asset_id # Rules determine which asset will be served to a viewer. Rules will be @@ -3653,7 +3653,7 @@ module Google # ID of the creative to be assigned. This is a required field. # Corresponds to the JSON property `creativeId` - # @return [String] + # @return [Fixnum] attr_accessor :creative_id # Represents a DimensionValue resource. @@ -3737,7 +3737,7 @@ module Google # Unique ID of this event used by DDM Reporting and Data Transfer. This is a # read-only field. # Corresponds to the JSON property `advertiserCustomEventId` - # @return [String] + # @return [Fixnum] attr_accessor :advertiser_custom_event_id # User-entered name for the event. @@ -3769,7 +3769,7 @@ module Google # ID of this event. This is a required field and should not be modified after # insertion. # Corresponds to the JSON property `id` - # @return [String] + # @return [Fixnum] attr_accessor :id # Popup Window Properties. @@ -3814,12 +3814,12 @@ module Google # Account ID of this creative field. This is a read-only field that can be left # blank. # Corresponds to the JSON property `accountId` - # @return [String] + # @return [Fixnum] attr_accessor :account_id # Advertiser ID of this creative field. This is a required field on insertion. # Corresponds to the JSON property `advertiserId` - # @return [String] + # @return [Fixnum] attr_accessor :advertiser_id # Represents a DimensionValue resource. @@ -3829,7 +3829,7 @@ module Google # ID of this creative field. This is a read-only, auto-generated field. # Corresponds to the JSON property `id` - # @return [String] + # @return [Fixnum] attr_accessor :id # Identifies what kind of resource this is. Value: the fixed string " @@ -3847,7 +3847,7 @@ module Google # Subaccount ID of this creative field. This is a read-only field that can be # left blank. # Corresponds to the JSON property `subaccountId` - # @return [String] + # @return [Fixnum] attr_accessor :subaccount_id def initialize(**args) @@ -3872,12 +3872,12 @@ module Google # ID of the creative field. # Corresponds to the JSON property `creativeFieldId` - # @return [String] + # @return [Fixnum] attr_accessor :creative_field_id # ID of the creative field value. # Corresponds to the JSON property `creativeFieldValueId` - # @return [String] + # @return [Fixnum] attr_accessor :creative_field_value_id def initialize(**args) @@ -3897,7 +3897,7 @@ module Google # ID of this creative field value. This is a read-only, auto-generated field. # Corresponds to the JSON property `id` - # @return [String] + # @return [Fixnum] attr_accessor :id # Identifies what kind of resource this is. Value: the fixed string " @@ -3995,12 +3995,12 @@ module Google # Account ID of this creative group. This is a read-only field that can be left # blank. # Corresponds to the JSON property `accountId` - # @return [String] + # @return [Fixnum] attr_accessor :account_id # Advertiser ID of this creative group. This is a required field on insertion. # Corresponds to the JSON property `advertiserId` - # @return [String] + # @return [Fixnum] attr_accessor :advertiser_id # Represents a DimensionValue resource. @@ -4020,7 +4020,7 @@ module Google # ID of this creative group. This is a read-only, auto-generated field. # Corresponds to the JSON property `id` - # @return [String] + # @return [Fixnum] attr_accessor :id # Identifies what kind of resource this is. Value: the fixed string " @@ -4038,7 +4038,7 @@ module Google # Subaccount ID of this creative group. This is a read-only field that can be # left blank. # Corresponds to the JSON property `subaccountId` - # @return [String] + # @return [Fixnum] attr_accessor :subaccount_id def initialize(**args) @@ -4064,7 +4064,7 @@ module Google # ID of the creative group to be assigned. # Corresponds to the JSON property `creativeGroupId` - # @return [String] + # @return [Fixnum] attr_accessor :creative_group_id # Creative group number of the creative group assignment. @@ -4122,7 +4122,7 @@ module Google # ID of this creative optimization config. This field is auto-generated when the # campaign is inserted or updated. It can be null for existing campaigns. # Corresponds to the JSON property `id` - # @return [String] + # @return [Fixnum] attr_accessor :id # Name of this creative optimization config. This is a required field and must @@ -4168,7 +4168,7 @@ module Google # is unset or set to 0, then the campaign's default optimization configuration # will be used for this ad. # Corresponds to the JSON property `creativeOptimizationConfigurationId` - # @return [String] + # @return [Fixnum] attr_accessor :creative_optimization_configuration_id # Type of creative rotation. Can be used to specify whether to use sequential or @@ -4456,7 +4456,7 @@ module Google # ID of the click-through event tag to apply to all ads in this entity's scope. # Corresponds to the JSON property `defaultClickThroughEventTagId` - # @return [String] + # @return [Fixnum] attr_accessor :default_click_through_event_tag_id # Whether this entity should override the inherited default click-through event @@ -4499,7 +4499,7 @@ module Google # 1 and ad B has an impression ratio of 3, then DCM will serve ad B three times # as often as ad A. Must be between 1 and 10. # Corresponds to the JSON property `impressionRatio` - # @return [String] + # @return [Fixnum] attr_accessor :impression_ratio # Serving priority of an ad, with respect to other ads. The lower the priority @@ -4780,7 +4780,7 @@ module Google # Country ID of this directory site. # Corresponds to the JSON property `countryId` - # @return [String] + # @return [Fixnum] attr_accessor :country_id # Currency ID of this directory site. @@ -4833,7 +4833,7 @@ module Google # - "47" for BGN # - "48" for HRK # Corresponds to the JSON property `currencyId` - # @return [String] + # @return [Fixnum] attr_accessor :currency_id # Description of this directory site. @@ -4843,7 +4843,7 @@ module Google # ID of this directory site. This is a read-only, auto-generated field. # Corresponds to the JSON property `id` - # @return [String] + # @return [Fixnum] attr_accessor :id # Represents a DimensionValue resource. @@ -4883,7 +4883,7 @@ module Google # Parent directory site ID. # Corresponds to the JSON property `parentId` - # @return [String] + # @return [Fixnum] attr_accessor :parent_id # Directory Site Settings @@ -4940,7 +4940,7 @@ module Google # ID of this directory site contact. This is a read-only, auto-generated field. # Corresponds to the JSON property `id` - # @return [String] + # @return [Fixnum] attr_accessor :id # Identifies what kind of resource this is. Value: the fixed string " @@ -4999,7 +4999,7 @@ module Google # ID of this directory site contact. This is a read-only, auto-generated field. # Corresponds to the JSON property `contactId` - # @return [String] + # @return [Fixnum] attr_accessor :contact_id # Visibility of this directory site contact assignment. When set to PUBLIC this @@ -5170,7 +5170,7 @@ module Google # ID of the object of this dynamic targeting key. This is a required field. # Corresponds to the JSON property `objectId` - # @return [String] + # @return [Fixnum] attr_accessor :object_id_prop # Type of the object of this dynamic targeting key. This is a required field. @@ -5224,7 +5224,7 @@ module Google # The encryption entity ID. This should match the encryption configuration for # ad serving or Data Transfer. # Corresponds to the JSON property `encryptionEntityId` - # @return [String] + # @return [Fixnum] attr_accessor :encryption_entity_id # The encryption entity type. This should match the encryption configuration for @@ -5264,13 +5264,13 @@ module Google # Account ID of this event tag. This is a read-only field that can be left blank. # Corresponds to the JSON property `accountId` - # @return [String] + # @return [Fixnum] attr_accessor :account_id # Advertiser ID of this event tag. This field or the campaignId field is # required on insertion. # Corresponds to the JSON property `advertiserId` - # @return [String] + # @return [Fixnum] attr_accessor :advertiser_id # Represents a DimensionValue resource. @@ -5281,7 +5281,7 @@ module Google # Campaign ID of this event tag. This field or the advertiserId field is # required on insertion. # Corresponds to the JSON property `campaignId` - # @return [String] + # @return [Fixnum] attr_accessor :campaign_id # Represents a DimensionValue resource. @@ -5307,7 +5307,7 @@ module Google # ID of this event tag. This is a read-only, auto-generated field. # Corresponds to the JSON property `id` - # @return [String] + # @return [Fixnum] attr_accessor :id # Identifies what kind of resource this is. Value: the fixed string " @@ -5331,7 +5331,7 @@ module Google # Filter list of site IDs associated with this event tag. The siteFilterType # determines whether this is a whitelist or blacklist filter. # Corresponds to the JSON property `siteIds` - # @return [Array] + # @return [Array] attr_accessor :site_ids # Whether this tag is SSL-compliant or not. This is a read-only field. @@ -5349,7 +5349,7 @@ module Google # Subaccount ID of this event tag. This is a read-only field that can be left # blank. # Corresponds to the JSON property `subaccountId` - # @return [String] + # @return [Fixnum] attr_accessor :subaccount_id # Event tag type. Can be used to specify whether to use a third-party pixel, a @@ -5412,7 +5412,7 @@ module Google # ID of this event tag override. This is a read-only, auto-generated field. # Corresponds to the JSON property `id` - # @return [String] + # @return [Fixnum] attr_accessor :id def initialize(**args) @@ -5480,7 +5480,7 @@ module Google # The unique ID of this report file. # Corresponds to the JSON property `id` - # @return [String] + # @return [Fixnum] attr_accessor :id # The kind of resource this is, in this case dfareporting#file. @@ -5490,12 +5490,12 @@ module Google # The timestamp in milliseconds since epoch when this file was last modified. # Corresponds to the JSON property `lastModifiedTime` - # @return [String] + # @return [Fixnum] attr_accessor :last_modified_time # The ID of the report this file was generated from. # Corresponds to the JSON property `reportId` - # @return [String] + # @return [Fixnum] attr_accessor :report_id # The status of the report file. @@ -5603,7 +5603,7 @@ module Google # Rate or cost of this flight. # Corresponds to the JSON property `rateOrCost` - # @return [String] + # @return [Fixnum] attr_accessor :rate_or_cost # Inventory item flight start date. @@ -5613,7 +5613,7 @@ module Google # Units of this flight. # Corresponds to the JSON property `units` - # @return [String] + # @return [Fixnum] attr_accessor :units def initialize(**args) @@ -5694,14 +5694,14 @@ module Google # Account ID of this floodlight activity. This is a read-only field that can be # left blank. # Corresponds to the JSON property `accountId` - # @return [String] + # @return [Fixnum] attr_accessor :account_id # Advertiser ID of this floodlight activity. If this field is left blank, the # value will be copied over either from the activity group's advertiser or the # existing activity's advertiser. # Corresponds to the JSON property `advertiserId` - # @return [String] + # @return [Fixnum] attr_accessor :advertiser_id # Represents a DimensionValue resource. @@ -5734,7 +5734,7 @@ module Google # Floodlight activity group ID of this floodlight activity. This is a required # field. # Corresponds to the JSON property `floodlightActivityGroupId` - # @return [String] + # @return [Fixnum] attr_accessor :floodlight_activity_group_id # Name of the associated floodlight activity group. This is a read-only field. @@ -5758,7 +5758,7 @@ module Google # floodlight configuration or from the existing activity's floodlight # configuration. # Corresponds to the JSON property `floodlightConfigurationId` - # @return [String] + # @return [Fixnum] attr_accessor :floodlight_configuration_id # Represents a DimensionValue resource. @@ -5774,7 +5774,7 @@ module Google # ID of this floodlight activity. This is a read-only, auto-generated field. # Corresponds to the JSON property `id` - # @return [String] + # @return [Fixnum] attr_accessor :id # Represents a DimensionValue resource. @@ -5832,7 +5832,7 @@ module Google # Subaccount ID of this floodlight activity. This is a read-only field that can # be left blank. # Corresponds to the JSON property `subaccountId` - # @return [String] + # @return [Fixnum] attr_accessor :subaccount_id # Tag format type for the floodlight activity. If left blank, the tag format @@ -5921,7 +5921,7 @@ module Google # ID of this dynamic tag. This is a read-only, auto-generated field. # Corresponds to the JSON property `id` - # @return [String] + # @return [Fixnum] attr_accessor :id # Name of this tag. @@ -5953,14 +5953,14 @@ module Google # Account ID of this floodlight activity group. This is a read-only field that # can be left blank. # Corresponds to the JSON property `accountId` - # @return [String] + # @return [Fixnum] attr_accessor :account_id # Advertiser ID of this floodlight activity group. If this field is left blank, # the value will be copied over either from the floodlight configuration's # advertiser or from the existing activity group's advertiser. # Corresponds to the JSON property `advertiserId` - # @return [String] + # @return [Fixnum] attr_accessor :advertiser_id # Represents a DimensionValue resource. @@ -5971,7 +5971,7 @@ module Google # Floodlight configuration ID of this floodlight activity group. This is a # required field. # Corresponds to the JSON property `floodlightConfigurationId` - # @return [String] + # @return [Fixnum] attr_accessor :floodlight_configuration_id # Represents a DimensionValue resource. @@ -5982,7 +5982,7 @@ module Google # ID of this floodlight activity group. This is a read-only, auto-generated # field. # Corresponds to the JSON property `id` - # @return [String] + # @return [Fixnum] attr_accessor :id # Represents a DimensionValue resource. @@ -6005,7 +6005,7 @@ module Google # Subaccount ID of this floodlight activity group. This is a read-only field # that can be left blank. # Corresponds to the JSON property `subaccountId` - # @return [String] + # @return [Fixnum] attr_accessor :subaccount_id # Value of the type= parameter in the floodlight tag, which the ad servers use @@ -6091,7 +6091,7 @@ module Google # used as an alternative to the siteId field. When this resource is retrieved, # only the siteId field will be populated. # Corresponds to the JSON property `directorySiteId` - # @return [String] + # @return [Fixnum] attr_accessor :directory_site_id # Dynamic Tag @@ -6101,7 +6101,7 @@ module Google # Site ID of this dynamic tag. # Corresponds to the JSON property `siteId` - # @return [String] + # @return [Fixnum] attr_accessor :site_id # Represents a DimensionValue resource. @@ -6137,12 +6137,12 @@ module Google # Account ID of this floodlight configuration. This is a read-only field that # can be left blank. # Corresponds to the JSON property `accountId` - # @return [String] + # @return [Fixnum] attr_accessor :account_id # Advertiser ID of the parent advertiser of this floodlight configuration. # Corresponds to the JSON property `advertiserId` - # @return [String] + # @return [Fixnum] attr_accessor :advertiser_id # Represents a DimensionValue resource. @@ -6172,7 +6172,7 @@ module Google # ID of this floodlight configuration. This is a read-only, auto-generated field. # Corresponds to the JSON property `id` - # @return [String] + # @return [Fixnum] attr_accessor :id # Represents a DimensionValue resource. @@ -6218,7 +6218,7 @@ module Google # Subaccount ID of this floodlight configuration. This is a read-only field that # can be left blank. # Corresponds to the JSON property `subaccountId` - # @return [String] + # @return [Fixnum] attr_accessor :subaccount_id # Dynamic and Image Tag Settings. @@ -6338,13 +6338,13 @@ module Google # Duration of time, in seconds, for this frequency cap. The maximum duration is # 90 days in seconds, or 7,776,000. # Corresponds to the JSON property `duration` - # @return [String] + # @return [Fixnum] attr_accessor :duration # Number of times an individual user can be served the ad within the specified # duration. The maximum allowed is 15. # Corresponds to the JSON property `impressions` - # @return [String] + # @return [Fixnum] attr_accessor :impressions def initialize(**args) @@ -6475,7 +6475,7 @@ module Google # Account ID of this inventory item. # Corresponds to the JSON property `accountId` - # @return [String] + # @return [Fixnum] attr_accessor :account_id # Ad slots of this inventory item. If this inventory item represents a @@ -6488,27 +6488,27 @@ module Google # Advertiser ID of this inventory item. # Corresponds to the JSON property `advertiserId` - # @return [String] + # @return [Fixnum] attr_accessor :advertiser_id # Content category ID of this inventory item. # Corresponds to the JSON property `contentCategoryId` - # @return [String] + # @return [Fixnum] attr_accessor :content_category_id # Estimated click-through rate of this inventory item. # Corresponds to the JSON property `estimatedClickThroughRate` - # @return [String] + # @return [Fixnum] attr_accessor :estimated_click_through_rate # Estimated conversion rate of this inventory item. # Corresponds to the JSON property `estimatedConversionRate` - # @return [String] + # @return [Fixnum] attr_accessor :estimated_conversion_rate # ID of this inventory item. # Corresponds to the JSON property `id` - # @return [String] + # @return [Fixnum] attr_accessor :id # Whether this inventory item is in plan. @@ -6537,17 +6537,17 @@ module Google # Negotiation channel ID of this inventory item. # Corresponds to the JSON property `negotiationChannelId` - # @return [String] + # @return [Fixnum] attr_accessor :negotiation_channel_id # Order ID of this inventory item. # Corresponds to the JSON property `orderId` - # @return [String] + # @return [Fixnum] attr_accessor :order_id # Placement strategy ID of this inventory item. # Corresponds to the JSON property `placementStrategyId` - # @return [String] + # @return [Fixnum] attr_accessor :placement_strategy_id # Pricing Information @@ -6557,22 +6557,22 @@ module Google # Project ID of this inventory item. # Corresponds to the JSON property `projectId` - # @return [String] + # @return [Fixnum] attr_accessor :project_id # RFP ID of this inventory item. # Corresponds to the JSON property `rfpId` - # @return [String] + # @return [Fixnum] attr_accessor :rfp_id # ID of the site this inventory item is associated with. # Corresponds to the JSON property `siteId` - # @return [String] + # @return [Fixnum] attr_accessor :site_id # Subaccount ID of this inventory item. # Corresponds to the JSON property `subaccountId` - # @return [String] + # @return [Fixnum] attr_accessor :subaccount_id # Type of inventory item. @@ -6675,7 +6675,7 @@ module Google # ID of this landing page. This is a read-only, auto-generated field. # Corresponds to the JSON property `id` - # @return [String] + # @return [Fixnum] attr_accessor :id # Identifies what kind of resource this is. Value: the fixed string " @@ -6742,7 +6742,7 @@ module Google # Language ID of this language. This is the ID used for targeting and generating # reports. # Corresponds to the JSON property `id` - # @return [String] + # @return [Fixnum] attr_accessor :id # Identifies what kind of resource this is. Value: the fixed string " @@ -6829,7 +6829,7 @@ module Google # Timestamp of the last change in milliseconds since epoch. # Corresponds to the JSON property `time` - # @return [String] + # @return [Fixnum] attr_accessor :time def initialize(**args) @@ -6869,7 +6869,7 @@ module Google # Floodlight activity ID associated with this rule. This field can be left blank. # Corresponds to the JSON property `floodlightActivityId` - # @return [String] + # @return [Fixnum] attr_accessor :floodlight_activity_id # Name of floodlight activity associated with this rule. This is a read-only, @@ -6926,7 +6926,7 @@ module Google # ID of the list in question. This field is only relevant when type is set to # LIST_MEMBERSHIP_TERM. # Corresponds to the JSON property `remarketingListId` - # @return [String] + # @return [Fixnum] attr_accessor :remarketing_list_id # List population term type determines the applicable fields in this object. If @@ -7060,18 +7060,18 @@ module Google # DART ID of the country to which this metro region belongs. # Corresponds to the JSON property `countryDartId` - # @return [String] + # @return [Fixnum] attr_accessor :country_dart_id # DART ID of this metro region. # Corresponds to the JSON property `dartId` - # @return [String] + # @return [Fixnum] attr_accessor :dart_id # DMA ID of this metro region. This is the ID used for targeting and generating # reports, and is equivalent to metro_code. # Corresponds to the JSON property `dmaId` - # @return [String] + # @return [Fixnum] attr_accessor :dma_id # Identifies what kind of resource this is. Value: the fixed string " @@ -7143,12 +7143,12 @@ module Google # DART ID of the country to which this mobile carrier belongs. # Corresponds to the JSON property `countryDartId` - # @return [String] + # @return [Fixnum] attr_accessor :country_dart_id # ID of this mobile carrier. # Corresponds to the JSON property `id` - # @return [String] + # @return [Fixnum] attr_accessor :id # Identifies what kind of resource this is. Value: the fixed string " @@ -7215,7 +7215,7 @@ module Google # Applicable when status is ASSIGNED. The user has access to objects with these # object IDs. # Corresponds to the JSON property `objectIds` - # @return [Array] + # @return [Array] attr_accessor :object_ids # Status of the filter. NONE means the user has access to none of the objects. @@ -7297,7 +7297,7 @@ module Google # DART ID of this operating system. This is the ID used for targeting. # Corresponds to the JSON property `dartId` - # @return [String] + # @return [Fixnum] attr_accessor :dart_id # Whether this operating system is for desktop. @@ -7344,7 +7344,7 @@ module Google # ID of this operating system version. # Corresponds to the JSON property `id` - # @return [String] + # @return [Fixnum] attr_accessor :id # Identifies what kind of resource this is. Value: the fixed string " @@ -7446,7 +7446,7 @@ module Google # Floodlight activity ID of this optimization activity. This is a required field. # Corresponds to the JSON property `floodlightActivityId` - # @return [String] + # @return [Fixnum] attr_accessor :floodlight_activity_id # Represents a DimensionValue resource. @@ -7479,17 +7479,17 @@ module Google # Account ID of this order. # Corresponds to the JSON property `accountId` - # @return [String] + # @return [Fixnum] attr_accessor :account_id # Advertiser ID of this order. # Corresponds to the JSON property `advertiserId` - # @return [String] + # @return [Fixnum] attr_accessor :advertiser_id # IDs for users that have to approve documents created for this order. # Corresponds to the JSON property `approverUserProfileIds` - # @return [Array] + # @return [Array] attr_accessor :approver_user_profile_ids # Buyer invoice ID associated with this order. @@ -7514,7 +7514,7 @@ module Google # ID of this order. This is a read-only, auto-generated field. # Corresponds to the JSON property `id` - # @return [String] + # @return [Fixnum] attr_accessor :id # Identifies what kind of resource this is. Value: the fixed string " @@ -7540,12 +7540,12 @@ module Google # ID of the terms and conditions template used in this order. # Corresponds to the JSON property `planningTermId` - # @return [String] + # @return [Fixnum] attr_accessor :planning_term_id # Project ID of this order. # Corresponds to the JSON property `projectId` - # @return [String] + # @return [Fixnum] attr_accessor :project_id # Seller order ID associated with this order. @@ -7560,7 +7560,7 @@ module Google # Site IDs this order is associated with. # Corresponds to the JSON property `siteId` - # @return [Array] + # @return [Array] attr_accessor :site_id # Free-form site names this order is associated with. @@ -7570,7 +7570,7 @@ module Google # Subaccount ID of this order. # Corresponds to the JSON property `subaccountId` - # @return [String] + # @return [Fixnum] attr_accessor :subaccount_id # Terms and conditions of this order. @@ -7636,7 +7636,7 @@ module Google # ID of the user profile containing the signature that will be embedded into # order documents. # Corresponds to the JSON property `signatureUserProfileId` - # @return [String] + # @return [Fixnum] attr_accessor :signature_user_profile_id def initialize(**args) @@ -7659,24 +7659,24 @@ module Google # Account ID of this order document. # Corresponds to the JSON property `accountId` - # @return [String] + # @return [Fixnum] attr_accessor :account_id # Advertiser ID of this order document. # Corresponds to the JSON property `advertiserId` - # @return [String] + # @return [Fixnum] attr_accessor :advertiser_id # The amended order document ID of this order document. An order document can be # created by optionally amending another order document so that the change # history can be preserved. # Corresponds to the JSON property `amendedOrderDocumentId` - # @return [String] + # @return [Fixnum] attr_accessor :amended_order_document_id # IDs of users who have approved this order document. # Corresponds to the JSON property `approvedByUserProfileIds` - # @return [Array] + # @return [Array] attr_accessor :approved_by_user_profile_ids # Whether this order document is cancelled. @@ -7697,7 +7697,7 @@ module Google # ID of this order document. # Corresponds to the JSON property `id` - # @return [String] + # @return [Fixnum] attr_accessor :id # Identifies what kind of resource this is. Value: the fixed string " @@ -7718,12 +7718,12 @@ module Google # ID of the order from which this order document is created. # Corresponds to the JSON property `orderId` - # @return [String] + # @return [Fixnum] attr_accessor :order_id # Project ID of this order document. # Corresponds to the JSON property `projectId` - # @return [String] + # @return [Fixnum] attr_accessor :project_id # Whether this order document has been signed. @@ -7734,7 +7734,7 @@ module Google # Subaccount ID of this order document. # Corresponds to the JSON property `subaccountId` - # @return [String] + # @return [Fixnum] attr_accessor :subaccount_id # Title of this order document. @@ -7892,12 +7892,12 @@ module Google # Account ID of this placement. This field can be left blank. # Corresponds to the JSON property `accountId` - # @return [String] + # @return [Fixnum] attr_accessor :account_id # Advertiser ID of this placement. This field can be left blank. # Corresponds to the JSON property `advertiserId` - # @return [String] + # @return [Fixnum] attr_accessor :advertiser_id # Represents a DimensionValue resource. @@ -7913,7 +7913,7 @@ module Google # Campaign ID of this placement. This field is a required field on insertion. # Corresponds to the JSON property `campaignId` - # @return [String] + # @return [Fixnum] attr_accessor :campaign_id # Represents a DimensionValue resource. @@ -7938,7 +7938,7 @@ module Google # ID of the content category assigned to this placement. # Corresponds to the JSON property `contentCategoryId` - # @return [String] + # @return [Fixnum] attr_accessor :content_category_id # Modification timestamp. @@ -7950,7 +7950,7 @@ module Google # or the siteId field to specify the site associated with this placement. This # is a required field that is read-only after insertion. # Corresponds to the JSON property `directorySiteId` - # @return [String] + # @return [Fixnum] attr_accessor :directory_site_id # Represents a DimensionValue resource. @@ -7965,7 +7965,7 @@ module Google # ID of this placement. This is a read-only, auto-generated field. # Corresponds to the JSON property `id` - # @return [String] + # @return [Fixnum] attr_accessor :id # Represents a DimensionValue resource. @@ -8015,7 +8015,7 @@ module Google # ID of this placement's group, if applicable. # Corresponds to the JSON property `placementGroupId` - # @return [String] + # @return [Fixnum] attr_accessor :placement_group_id # Represents a DimensionValue resource. @@ -8025,7 +8025,7 @@ module Google # ID of the placement strategy assigned to this placement. # Corresponds to the JSON property `placementStrategyId` - # @return [String] + # @return [Fixnum] attr_accessor :placement_strategy_id # Pricing Schedule @@ -8052,7 +8052,7 @@ module Google # field or the directorySiteId field to specify the site associated with this # placement. This is a required field that is read-only after insertion. # Corresponds to the JSON property `siteId` - # @return [String] + # @return [Fixnum] attr_accessor :site_id # Represents a DimensionValue resource. @@ -8078,7 +8078,7 @@ module Google # Subaccount ID of this placement. This field can be left blank. # Corresponds to the JSON property `subaccountId` - # @return [String] + # @return [Fixnum] attr_accessor :subaccount_id # Tag formats to generate for this placement. This field is required on @@ -8191,7 +8191,7 @@ module Google # ID of the placement to be assigned. This is a required field. # Corresponds to the JSON property `placementId` - # @return [String] + # @return [Fixnum] attr_accessor :placement_id # Represents a DimensionValue resource. @@ -8226,12 +8226,12 @@ module Google # Account ID of this placement group. This is a read-only field that can be left # blank. # Corresponds to the JSON property `accountId` - # @return [String] + # @return [Fixnum] attr_accessor :account_id # Advertiser ID of this placement group. This is a required field on insertion. # Corresponds to the JSON property `advertiserId` - # @return [String] + # @return [Fixnum] attr_accessor :advertiser_id # Represents a DimensionValue resource. @@ -8247,7 +8247,7 @@ module Google # Campaign ID of this placement group. This field is required on insertion. # Corresponds to the JSON property `campaignId` - # @return [String] + # @return [Fixnum] attr_accessor :campaign_id # Represents a DimensionValue resource. @@ -8258,7 +8258,7 @@ module Google # IDs of placements which are assigned to this placement group. This is a read- # only, auto-generated field. # Corresponds to the JSON property `childPlacementIds` - # @return [Array] + # @return [Array] attr_accessor :child_placement_ids # Comments for this placement group. @@ -8268,7 +8268,7 @@ module Google # ID of the content category assigned to this placement group. # Corresponds to the JSON property `contentCategoryId` - # @return [String] + # @return [Fixnum] attr_accessor :content_category_id # Modification timestamp. @@ -8281,7 +8281,7 @@ module Google # this placement group. This is a required field that is read-only after # insertion. # Corresponds to the JSON property `directorySiteId` - # @return [String] + # @return [Fixnum] attr_accessor :directory_site_id # Represents a DimensionValue resource. @@ -8296,7 +8296,7 @@ module Google # ID of this placement group. This is a read-only, auto-generated field. # Corresponds to the JSON property `id` - # @return [String] + # @return [Fixnum] attr_accessor :id # Represents a DimensionValue resource. @@ -8333,7 +8333,7 @@ module Google # ID of the placement strategy assigned to this placement group. # Corresponds to the JSON property `placementStrategyId` - # @return [String] + # @return [Fixnum] attr_accessor :placement_strategy_id # Pricing Schedule @@ -8345,7 +8345,7 @@ module Google # placement group). Modifying this field will automatically modify the primary # field on all affected roadblock child placements. # Corresponds to the JSON property `primaryPlacementId` - # @return [String] + # @return [Fixnum] attr_accessor :primary_placement_id # Represents a DimensionValue resource. @@ -8358,7 +8358,7 @@ module Google # this placement group. This is a required field that is read-only after # insertion. # Corresponds to the JSON property `siteId` - # @return [String] + # @return [Fixnum] attr_accessor :site_id # Represents a DimensionValue resource. @@ -8369,7 +8369,7 @@ module Google # Subaccount ID of this placement group. This is a read-only field that can be # left blank. # Corresponds to the JSON property `subaccountId` - # @return [String] + # @return [Fixnum] attr_accessor :subaccount_id def initialize(**args) @@ -8478,12 +8478,12 @@ module Google # Account ID of this placement strategy.This is a read-only field that can be # left blank. # Corresponds to the JSON property `accountId` - # @return [String] + # @return [Fixnum] attr_accessor :account_id # ID of this placement strategy. This is a read-only, auto-generated field. # Corresponds to the JSON property `id` - # @return [String] + # @return [Fixnum] attr_accessor :id # Identifies what kind of resource this is. Value: the fixed string " @@ -8518,7 +8518,7 @@ module Google # Placement ID # Corresponds to the JSON property `placementId` - # @return [String] + # @return [Fixnum] attr_accessor :placement_id # Tags generated for this placement. @@ -8601,7 +8601,7 @@ module Google # ID of this platform type. # Corresponds to the JSON property `id` - # @return [String] + # @return [Fixnum] attr_accessor :id # Identifies what kind of resource this is. Value: the fixed string " @@ -8741,7 +8741,7 @@ module Google # DART ID of the country to which this postal code belongs. # Corresponds to the JSON property `countryDartId` - # @return [String] + # @return [Fixnum] attr_accessor :country_dart_id # ID of this postal code. @@ -8887,7 +8887,7 @@ module Google # Floodlight activity ID associated with this placement. This field should be # set when placement pricing type is set to PRICING_TYPE_CPA. # Corresponds to the JSON property `floodlightActivityId` - # @return [String] + # @return [Fixnum] attr_accessor :floodlight_activity_id # Pricing periods for this placement. @@ -8953,7 +8953,7 @@ module Google # Rate or cost of this pricing period. # Corresponds to the JSON property `rateOrCostNanos` - # @return [String] + # @return [Fixnum] attr_accessor :rate_or_cost_nanos # Pricing period start date. This date must be later than, or the same day as, @@ -8965,7 +8965,7 @@ module Google # Units of this pricing period. # Corresponds to the JSON property `units` - # @return [String] + # @return [Fixnum] attr_accessor :units def initialize(**args) @@ -8988,12 +8988,12 @@ module Google # Account ID of this project. # Corresponds to the JSON property `accountId` - # @return [String] + # @return [Fixnum] attr_accessor :account_id # Advertiser ID of this project. # Corresponds to the JSON property `advertiserId` - # @return [String] + # @return [Fixnum] attr_accessor :advertiser_id # Audience age group of this project. @@ -9011,7 +9011,7 @@ module Google # example, for USD, the smallest value that can be represented by this field is # 1 US dollar. # Corresponds to the JSON property `budget` - # @return [String] + # @return [Fixnum] attr_accessor :budget # Client billing code of this project. @@ -9031,7 +9031,7 @@ module Google # ID of this project. This is a read-only, auto-generated field. # Corresponds to the JSON property `id` - # @return [String] + # @return [Fixnum] attr_accessor :id # Identifies what kind of resource this is. Value: the fixed string " @@ -9062,42 +9062,42 @@ module Google # Subaccount ID of this project. # Corresponds to the JSON property `subaccountId` - # @return [String] + # @return [Fixnum] attr_accessor :subaccount_id # Number of clicks that the advertiser is targeting. # Corresponds to the JSON property `targetClicks` - # @return [String] + # @return [Fixnum] attr_accessor :target_clicks # Number of conversions that the advertiser is targeting. # Corresponds to the JSON property `targetConversions` - # @return [String] + # @return [Fixnum] attr_accessor :target_conversions # CPA that the advertiser is targeting. # Corresponds to the JSON property `targetCpaNanos` - # @return [String] + # @return [Fixnum] attr_accessor :target_cpa_nanos # CPC that the advertiser is targeting. # Corresponds to the JSON property `targetCpcNanos` - # @return [String] + # @return [Fixnum] attr_accessor :target_cpc_nanos # vCPM from Active View that the advertiser is targeting. # Corresponds to the JSON property `targetCpmActiveViewNanos` - # @return [String] + # @return [Fixnum] attr_accessor :target_cpm_active_view_nanos # CPM that the advertiser is targeting. # Corresponds to the JSON property `targetCpmNanos` - # @return [String] + # @return [Fixnum] attr_accessor :target_cpm_nanos # Number of impressions that the advertiser is targeting. # Corresponds to the JSON property `targetImpressions` - # @return [String] + # @return [Fixnum] attr_accessor :target_impressions def initialize(**args) @@ -9261,12 +9261,12 @@ module Google # DART ID of the country to which this region belongs. # Corresponds to the JSON property `countryDartId` - # @return [String] + # @return [Fixnum] attr_accessor :country_dart_id # DART ID of this region. # Corresponds to the JSON property `dartId` - # @return [String] + # @return [Fixnum] attr_accessor :dart_id # Identifies what kind of resource this is. Value: the fixed string " @@ -9338,7 +9338,7 @@ module Google # Account ID of this remarketing list. This is a read-only, auto-generated field # that is only returned in GET requests. # Corresponds to the JSON property `accountId` - # @return [String] + # @return [Fixnum] attr_accessor :account_id # Whether this remarketing list is active. @@ -9350,7 +9350,7 @@ module Google # Dimension value for the advertiser ID that owns this remarketing list. This is # a required field. # Corresponds to the JSON property `advertiserId` - # @return [String] + # @return [Fixnum] attr_accessor :advertiser_id # Represents a DimensionValue resource. @@ -9365,7 +9365,7 @@ module Google # Remarketing list ID. This is a read-only, auto-generated field. # Corresponds to the JSON property `id` - # @return [String] + # @return [Fixnum] attr_accessor :id # Identifies what kind of resource this is. Value: the fixed string " @@ -9377,7 +9377,7 @@ module Google # Number of days that a user should remain in the remarketing list without an # impression. # Corresponds to the JSON property `lifeSpan` - # @return [String] + # @return [Fixnum] attr_accessor :life_span # Remarketing List Population Rule. @@ -9387,7 +9387,7 @@ module Google # Number of users currently in the list. This is a read-only field. # Corresponds to the JSON property `listSize` - # @return [String] + # @return [Fixnum] attr_accessor :list_size # Product from which this remarketing list was originated. @@ -9404,7 +9404,7 @@ module Google # Subaccount ID of this remarketing list. This is a read-only, auto-generated # field that is only returned in GET requests. # Corresponds to the JSON property `subaccountId` - # @return [String] + # @return [Fixnum] attr_accessor :subaccount_id def initialize(**args) @@ -9444,17 +9444,17 @@ module Google # Remarketing list ID. This is a read-only, auto-generated field. # Corresponds to the JSON property `remarketingListId` - # @return [String] + # @return [Fixnum] attr_accessor :remarketing_list_id # Accounts that the remarketing list is shared with. # Corresponds to the JSON property `sharedAccountIds` - # @return [Array] + # @return [Array] attr_accessor :shared_account_ids # Advertisers that the remarketing list is shared with. # Corresponds to the JSON property `sharedAdvertiserIds` - # @return [Array] + # @return [Array] attr_accessor :shared_advertiser_ids def initialize(**args) @@ -9508,7 +9508,7 @@ module Google # The account ID to which this report belongs. # Corresponds to the JSON property `accountId` - # @return [String] + # @return [Fixnum] attr_accessor :account_id # The report criteria for a report of type "STANDARD". @@ -9551,7 +9551,7 @@ module Google # The unique ID identifying this report resource. # Corresponds to the JSON property `id` - # @return [String] + # @return [Fixnum] attr_accessor :id # The kind of resource this is, in this case dfareporting#report. @@ -9562,7 +9562,7 @@ module Google # The timestamp (in milliseconds since epoch) of when this report was last # modified. # Corresponds to the JSON property `lastModifiedTime` - # @return [String] + # @return [Fixnum] attr_accessor :last_modified_time # The name of the report. @@ -9572,7 +9572,7 @@ module Google # The user profile id of the owner of this report. # Corresponds to the JSON property `ownerProfileId` - # @return [String] + # @return [Fixnum] attr_accessor :owner_profile_id # The report criteria for a report of type "PATH_TO_CONVERSION". @@ -9593,7 +9593,7 @@ module Google # The subaccount ID to which this report belongs if applicable. # Corresponds to the JSON property `subAccountId` - # @return [String] + # @return [Fixnum] attr_accessor :sub_account_id # The type of the report. @@ -10275,7 +10275,7 @@ module Google # - "12" for "Pacific/Auckland" # - "13" for "America/Sao_Paulo" # Corresponds to the JSON property `reportGenerationTimeZoneId` - # @return [String] + # @return [Fixnum] attr_accessor :report_generation_time_zone_id def initialize(**args) @@ -10308,7 +10308,7 @@ module Google # ID for the override to refer to a specific exit in the creative. # Corresponds to the JSON property `exitId` - # @return [String] + # @return [Fixnum] attr_accessor :exit_id def initialize(**args) @@ -10331,7 +10331,7 @@ module Google # A creativeAssets[].id. This should refer to one of the parent assets in this # creative. This is a required field. # Corresponds to the JSON property `assetId` - # @return [String] + # @return [Fixnum] attr_accessor :asset_id # A user-friendly name for this rule. This is a required field. @@ -10343,7 +10343,7 @@ module Google # used to determine whether this asset should be served. This is a required # field. # Corresponds to the JSON property `targetingTemplateId` - # @return [String] + # @return [Fixnum] attr_accessor :targeting_template_id def initialize(**args) @@ -10364,7 +10364,7 @@ module Google # Account ID of this site. This is a read-only field that can be left blank. # Corresponds to the JSON property `accountId` - # @return [String] + # @return [Fixnum] attr_accessor :account_id # Whether this site is approved. @@ -10376,7 +10376,7 @@ module Google # Directory site associated with this site. This is a required field that is # read-only after insertion. # Corresponds to the JSON property `directorySiteId` - # @return [String] + # @return [Fixnum] attr_accessor :directory_site_id # Represents a DimensionValue resource. @@ -10386,7 +10386,7 @@ module Google # ID of this site. This is a read-only, auto-generated field. # Corresponds to the JSON property `id` - # @return [String] + # @return [Fixnum] attr_accessor :id # Represents a DimensionValue resource. @@ -10425,7 +10425,7 @@ module Google # Subaccount ID of this site. This is a read-only field that can be left blank. # Corresponds to the JSON property `subaccountId` - # @return [String] + # @return [Fixnum] attr_accessor :subaccount_id def initialize(**args) @@ -10475,7 +10475,7 @@ module Google # ID of this site contact. This is a read-only, auto-generated field. # Corresponds to the JSON property `id` - # @return [String] + # @return [Fixnum] attr_accessor :id # Last name of this site contact. @@ -10634,7 +10634,7 @@ module Google # ID of this size. This is a read-only, auto-generated field. # Corresponds to the JSON property `id` - # @return [String] + # @return [Fixnum] attr_accessor :id # Identifies what kind of resource this is. Value: the fixed string " @@ -10765,17 +10765,17 @@ module Google # ID of the account that contains this subaccount. This is a read-only field # that can be left blank. # Corresponds to the JSON property `accountId` - # @return [String] + # @return [Fixnum] attr_accessor :account_id # IDs of the available user role permissions for this subaccount. # Corresponds to the JSON property `availablePermissionIds` - # @return [Array] + # @return [Array] attr_accessor :available_permission_ids # ID of this subaccount. This is a read-only, auto-generated field. # Corresponds to the JSON property `id` - # @return [String] + # @return [Fixnum] attr_accessor :id # Identifies what kind of resource this is. Value: the fixed string " @@ -10842,7 +10842,7 @@ module Google # Ad associated with this placement tag. # Corresponds to the JSON property `adId` - # @return [String] + # @return [Fixnum] attr_accessor :ad_id # Tag string to record a click. @@ -10852,7 +10852,7 @@ module Google # Creative associated with this placement tag. # Corresponds to the JSON property `creativeId` - # @return [String] + # @return [Fixnum] attr_accessor :creative_id # TagData tag format of this tag. @@ -10991,7 +10991,7 @@ module Google # Account ID of this remarketing list. This is a read-only, auto-generated field # that is only returned in GET requests. # Corresponds to the JSON property `accountId` - # @return [String] + # @return [Fixnum] attr_accessor :account_id # Whether this targetable remarketing list is active. @@ -11003,7 +11003,7 @@ module Google # Dimension value for the advertiser ID that owns this targetable remarketing # list. # Corresponds to the JSON property `advertiserId` - # @return [String] + # @return [Fixnum] attr_accessor :advertiser_id # Represents a DimensionValue resource. @@ -11018,7 +11018,7 @@ module Google # Targetable remarketing list ID. # Corresponds to the JSON property `id` - # @return [String] + # @return [Fixnum] attr_accessor :id # Identifies what kind of resource this is. Value: the fixed string " @@ -11030,12 +11030,12 @@ module Google # Number of days that a user should remain in the targetable remarketing list # without an impression. # Corresponds to the JSON property `lifeSpan` - # @return [String] + # @return [Fixnum] attr_accessor :life_span # Number of users currently in the list. This is a read-only field. # Corresponds to the JSON property `listSize` - # @return [String] + # @return [Fixnum] attr_accessor :list_size # Product from which this targetable remarketing list was originated. @@ -11052,7 +11052,7 @@ module Google # Subaccount ID of this remarketing list. This is a read-only, auto-generated # field that is only returned in GET requests. # Corresponds to the JSON property `subaccountId` - # @return [String] + # @return [Fixnum] attr_accessor :subaccount_id def initialize(**args) @@ -11116,13 +11116,13 @@ module Google # Account ID of this targeting template. This field, if left unset, will be auto- # generated on insert and is read-only after insert. # Corresponds to the JSON property `accountId` - # @return [String] + # @return [Fixnum] attr_accessor :account_id # Advertiser ID of this targeting template. This is a required field on insert # and is read-only after insert. # Corresponds to the JSON property `advertiserId` - # @return [String] + # @return [Fixnum] attr_accessor :advertiser_id # Represents a DimensionValue resource. @@ -11142,7 +11142,7 @@ module Google # ID of this targeting template. This is a read-only, auto-generated field. # Corresponds to the JSON property `id` - # @return [String] + # @return [Fixnum] attr_accessor :id # Key Value Targeting Expression. @@ -11175,7 +11175,7 @@ module Google # Subaccount ID of this targeting template. This field, if left unset, will be # auto-generated on insert and is read-only after insert. # Corresponds to the JSON property `subaccountId` - # @return [String] + # @return [Fixnum] attr_accessor :subaccount_id # Technology Targeting. @@ -11421,7 +11421,7 @@ module Google # The account ID to which this profile belongs. # Corresponds to the JSON property `accountId` - # @return [String] + # @return [Fixnum] attr_accessor :account_id # The account name this profile belongs to. @@ -11441,12 +11441,12 @@ module Google # The unique ID of the user profile. # Corresponds to the JSON property `profileId` - # @return [String] + # @return [Fixnum] attr_accessor :profile_id # The sub account ID this profile belongs to if applicable. # Corresponds to the JSON property `subAccountId` - # @return [String] + # @return [Fixnum] attr_accessor :sub_account_id # The sub account name this profile belongs to if applicable. @@ -11513,7 +11513,7 @@ module Google # Account ID of this user role. This is a read-only field that can be left blank. # Corresponds to the JSON property `accountId` - # @return [String] + # @return [Fixnum] attr_accessor :account_id # Whether this is a default user role. Default user roles are created by the @@ -11526,7 +11526,7 @@ module Google # ID of this user role. This is a read-only, auto-generated field. # Corresponds to the JSON property `id` - # @return [String] + # @return [Fixnum] attr_accessor :id # Identifies what kind of resource this is. Value: the fixed string " @@ -11547,7 +11547,7 @@ module Google # ID of the user role that this user role is based on or copied from. This is a # required field. # Corresponds to the JSON property `parentUserRoleId` - # @return [String] + # @return [Fixnum] attr_accessor :parent_user_role_id # List of permissions associated with this user role. @@ -11558,7 +11558,7 @@ module Google # Subaccount ID of this user role. This is a read-only field that can be left # blank. # Corresponds to the JSON property `subaccountId` - # @return [String] + # @return [Fixnum] attr_accessor :subaccount_id def initialize(**args) @@ -11589,7 +11589,7 @@ module Google # ID of this user role permission. # Corresponds to the JSON property `id` - # @return [String] + # @return [Fixnum] attr_accessor :id # Identifies what kind of resource this is. Value: the fixed string " @@ -11605,7 +11605,7 @@ module Google # ID of the permission group that this user role permission belongs to. # Corresponds to the JSON property `permissionGroupId` - # @return [String] + # @return [Fixnum] attr_accessor :permission_group_id def initialize(**args) @@ -11628,7 +11628,7 @@ module Google # ID of this user role permission. # Corresponds to the JSON property `id` - # @return [String] + # @return [Fixnum] attr_accessor :id # Identifies what kind of resource this is. Value: the fixed string " diff --git a/generated/google/apis/dfareporting_v2_7/representations.rb b/generated/google/apis/dfareporting_v2_7/representations.rb index d1592039a..2c2e5189c 100644 --- a/generated/google/apis/dfareporting_v2_7/representations.rb +++ b/generated/google/apis/dfareporting_v2_7/representations.rb @@ -1327,30 +1327,30 @@ module Google property :active_ads_limit_tier, as: 'activeAdsLimitTier' property :active_view_opt_out, as: 'activeViewOptOut' collection :available_permission_ids, as: 'availablePermissionIds' - property :country_id, as: 'countryId' - property :currency_id, as: 'currencyId' - property :default_creative_size_id, as: 'defaultCreativeSizeId' + property :country_id, :numeric_string => true, as: 'countryId' + property :currency_id, :numeric_string => true, as: 'currencyId' + property :default_creative_size_id, :numeric_string => true, as: 'defaultCreativeSizeId' property :description, as: 'description' - property :id, as: 'id' + property :id, :numeric_string => true, as: 'id' property :kind, as: 'kind' property :locale, as: 'locale' - property :maximum_image_size, as: 'maximumImageSize' + property :maximum_image_size, :numeric_string => true, as: 'maximumImageSize' property :name, as: 'name' property :nielsen_ocr_enabled, as: 'nielsenOcrEnabled' property :reports_configuration, as: 'reportsConfiguration', class: Google::Apis::DfareportingV2_7::ReportsConfiguration, decorator: Google::Apis::DfareportingV2_7::ReportsConfiguration::Representation property :share_reports_with_twitter, as: 'shareReportsWithTwitter' - property :teaser_size_limit, as: 'teaserSizeLimit' + property :teaser_size_limit, :numeric_string => true, as: 'teaserSizeLimit' end end class AccountActiveAdSummary # @private class Representation < Google::Apis::Core::JsonRepresentation - property :account_id, as: 'accountId' - property :active_ads, as: 'activeAds' + property :account_id, :numeric_string => true, as: 'accountId' + property :active_ads, :numeric_string => true, as: 'activeAds' property :active_ads_limit_tier, as: 'activeAdsLimitTier' - property :available_ads, as: 'availableAds' + property :available_ads, :numeric_string => true, as: 'availableAds' property :kind, as: 'kind' end end @@ -1359,18 +1359,18 @@ module Google # @private class Representation < Google::Apis::Core::JsonRepresentation collection :account_profiles, as: 'accountProfiles' - property :id, as: 'id' + property :id, :numeric_string => true, as: 'id' property :kind, as: 'kind' property :level, as: 'level' property :name, as: 'name' - property :permission_group_id, as: 'permissionGroupId' + property :permission_group_id, :numeric_string => true, as: 'permissionGroupId' end end class AccountPermissionGroup # @private class Representation < Google::Apis::Core::JsonRepresentation - property :id, as: 'id' + property :id, :numeric_string => true, as: 'id' property :kind, as: 'kind' property :name, as: 'name' end @@ -1397,7 +1397,7 @@ module Google class AccountUserProfile # @private class Representation < Google::Apis::Core::JsonRepresentation - property :account_id, as: 'accountId' + property :account_id, :numeric_string => true, as: 'accountId' property :active, as: 'active' property :advertiser_filter, as: 'advertiserFilter', class: Google::Apis::DfareportingV2_7::ObjectFilter, decorator: Google::Apis::DfareportingV2_7::ObjectFilter::Representation @@ -1405,18 +1405,18 @@ module Google property :comments, as: 'comments' property :email, as: 'email' - property :id, as: 'id' + property :id, :numeric_string => true, as: 'id' property :kind, as: 'kind' property :locale, as: 'locale' property :name, as: 'name' property :site_filter, as: 'siteFilter', class: Google::Apis::DfareportingV2_7::ObjectFilter, decorator: Google::Apis::DfareportingV2_7::ObjectFilter::Representation - property :subaccount_id, as: 'subaccountId' + property :subaccount_id, :numeric_string => true, as: 'subaccountId' property :trafficker_type, as: 'traffickerType' property :user_access_type, as: 'userAccessType' property :user_role_filter, as: 'userRoleFilter', class: Google::Apis::DfareportingV2_7::ObjectFilter, decorator: Google::Apis::DfareportingV2_7::ObjectFilter::Representation - property :user_role_id, as: 'userRoleId' + property :user_role_id, :numeric_string => true, as: 'userRoleId' end end @@ -1453,14 +1453,14 @@ module Google class Ad # @private class Representation < Google::Apis::Core::JsonRepresentation - property :account_id, as: 'accountId' + property :account_id, :numeric_string => true, as: 'accountId' property :active, as: 'active' - property :advertiser_id, as: 'advertiserId' + property :advertiser_id, :numeric_string => true, as: 'advertiserId' property :advertiser_id_dimension_value, as: 'advertiserIdDimensionValue', class: Google::Apis::DfareportingV2_7::DimensionValue, decorator: Google::Apis::DfareportingV2_7::DimensionValue::Representation property :archived, as: 'archived' - property :audience_segment_id, as: 'audienceSegmentId' - property :campaign_id, as: 'campaignId' + property :audience_segment_id, :numeric_string => true, as: 'audienceSegmentId' + property :campaign_id, :numeric_string => true, as: 'campaignId' property :campaign_id_dimension_value, as: 'campaignIdDimensionValue', class: Google::Apis::DfareportingV2_7::DimensionValue, decorator: Google::Apis::DfareportingV2_7::DimensionValue::Representation property :click_through_url, as: 'clickThroughUrl', class: Google::Apis::DfareportingV2_7::ClickThroughUrl, decorator: Google::Apis::DfareportingV2_7::ClickThroughUrl::Representation @@ -1488,7 +1488,7 @@ module Google property :geo_targeting, as: 'geoTargeting', class: Google::Apis::DfareportingV2_7::GeoTargeting, decorator: Google::Apis::DfareportingV2_7::GeoTargeting::Representation - property :id, as: 'id' + property :id, :numeric_string => true, as: 'id' property :id_dimension_value, as: 'idDimensionValue', class: Google::Apis::DfareportingV2_7::DimensionValue, decorator: Google::Apis::DfareportingV2_7::DimensionValue::Representation property :key_value_targeting_expression, as: 'keyValueTargetingExpression', class: Google::Apis::DfareportingV2_7::KeyValueTargetingExpression, decorator: Google::Apis::DfareportingV2_7::KeyValueTargetingExpression::Representation @@ -1509,8 +1509,8 @@ module Google property :ssl_required, as: 'sslRequired' property :start_time, as: 'startTime', type: DateTime - property :subaccount_id, as: 'subaccountId' - property :targeting_template_id, as: 'targetingTemplateId' + property :subaccount_id, :numeric_string => true, as: 'subaccountId' + property :targeting_template_id, :numeric_string => true, as: 'targetingTemplateId' property :technology_targeting, as: 'technologyTargeting', class: Google::Apis::DfareportingV2_7::TechnologyTargeting, decorator: Google::Apis::DfareportingV2_7::TechnologyTargeting::Representation property :type, as: 'type' @@ -1522,12 +1522,12 @@ module Google class Representation < Google::Apis::Core::JsonRepresentation property :comment, as: 'comment' property :compatibility, as: 'compatibility' - property :height, as: 'height' - property :linked_placement_id, as: 'linkedPlacementId' + property :height, :numeric_string => true, as: 'height' + property :linked_placement_id, :numeric_string => true, as: 'linkedPlacementId' property :name, as: 'name' property :payment_source_type, as: 'paymentSourceType' property :primary, as: 'primary' - property :width, as: 'width' + property :width, :numeric_string => true, as: 'width' end end @@ -1544,22 +1544,22 @@ module Google class Advertiser # @private class Representation < Google::Apis::Core::JsonRepresentation - property :account_id, as: 'accountId' - property :advertiser_group_id, as: 'advertiserGroupId' + property :account_id, :numeric_string => true, as: 'accountId' + property :advertiser_group_id, :numeric_string => true, as: 'advertiserGroupId' property :click_through_url_suffix, as: 'clickThroughUrlSuffix' - property :default_click_through_event_tag_id, as: 'defaultClickThroughEventTagId' + property :default_click_through_event_tag_id, :numeric_string => true, as: 'defaultClickThroughEventTagId' property :default_email, as: 'defaultEmail' - property :floodlight_configuration_id, as: 'floodlightConfigurationId' + property :floodlight_configuration_id, :numeric_string => true, as: 'floodlightConfigurationId' property :floodlight_configuration_id_dimension_value, as: 'floodlightConfigurationIdDimensionValue', class: Google::Apis::DfareportingV2_7::DimensionValue, decorator: Google::Apis::DfareportingV2_7::DimensionValue::Representation - property :id, as: 'id' + property :id, :numeric_string => true, as: 'id' property :id_dimension_value, as: 'idDimensionValue', class: Google::Apis::DfareportingV2_7::DimensionValue, decorator: Google::Apis::DfareportingV2_7::DimensionValue::Representation property :kind, as: 'kind' property :name, as: 'name' - property :original_floodlight_configuration_id, as: 'originalFloodlightConfigurationId' + property :original_floodlight_configuration_id, :numeric_string => true, as: 'originalFloodlightConfigurationId' property :status, as: 'status' - property :subaccount_id, as: 'subaccountId' + property :subaccount_id, :numeric_string => true, as: 'subaccountId' property :suspended, as: 'suspended' end end @@ -1567,8 +1567,8 @@ module Google class AdvertiserGroup # @private class Representation < Google::Apis::Core::JsonRepresentation - property :account_id, as: 'accountId' - property :id, as: 'id' + property :account_id, :numeric_string => true, as: 'accountId' + property :id, :numeric_string => true, as: 'id' property :kind, as: 'kind' property :name, as: 'name' end @@ -1598,7 +1598,7 @@ module Google # @private class Representation < Google::Apis::Core::JsonRepresentation property :allocation, as: 'allocation' - property :id, as: 'id' + property :id, :numeric_string => true, as: 'id' property :name, as: 'name' end end @@ -1608,7 +1608,7 @@ module Google class Representation < Google::Apis::Core::JsonRepresentation collection :audience_segments, as: 'audienceSegments', class: Google::Apis::DfareportingV2_7::AudienceSegment, decorator: Google::Apis::DfareportingV2_7::AudienceSegment::Representation - property :id, as: 'id' + property :id, :numeric_string => true, as: 'id' property :name, as: 'name' end end @@ -1616,8 +1616,8 @@ module Google class Browser # @private class Representation < Google::Apis::Core::JsonRepresentation - property :browser_version_id, as: 'browserVersionId' - property :dart_id, as: 'dartId' + property :browser_version_id, :numeric_string => true, as: 'browserVersionId' + property :dart_id, :numeric_string => true, as: 'dartId' property :kind, as: 'kind' property :major_version, as: 'majorVersion' property :minor_version, as: 'minorVersion' @@ -1637,11 +1637,11 @@ module Google class Campaign # @private class Representation < Google::Apis::Core::JsonRepresentation - property :account_id, as: 'accountId' + property :account_id, :numeric_string => true, as: 'accountId' collection :additional_creative_optimization_configurations, as: 'additionalCreativeOptimizationConfigurations', class: Google::Apis::DfareportingV2_7::CreativeOptimizationConfiguration, decorator: Google::Apis::DfareportingV2_7::CreativeOptimizationConfiguration::Representation - property :advertiser_group_id, as: 'advertiserGroupId' - property :advertiser_id, as: 'advertiserId' + property :advertiser_group_id, :numeric_string => true, as: 'advertiserGroupId' + property :advertiser_id, :numeric_string => true, as: 'advertiserId' property :advertiser_id_dimension_value, as: 'advertiserIdDimensionValue', class: Google::Apis::DfareportingV2_7::DimensionValue, decorator: Google::Apis::DfareportingV2_7::DimensionValue::Representation property :archived, as: 'archived' @@ -1663,7 +1663,7 @@ module Google collection :event_tag_overrides, as: 'eventTagOverrides', class: Google::Apis::DfareportingV2_7::EventTagOverride, decorator: Google::Apis::DfareportingV2_7::EventTagOverride::Representation property :external_id, as: 'externalId' - property :id, as: 'id' + property :id, :numeric_string => true, as: 'id' property :id_dimension_value, as: 'idDimensionValue', class: Google::Apis::DfareportingV2_7::DimensionValue, decorator: Google::Apis::DfareportingV2_7::DimensionValue::Representation property :kind, as: 'kind' @@ -1675,7 +1675,7 @@ module Google property :nielsen_ocr_enabled, as: 'nielsenOcrEnabled' property :start_date, as: 'startDate', type: Date - property :subaccount_id, as: 'subaccountId' + property :subaccount_id, :numeric_string => true, as: 'subaccountId' collection :trafficker_emails, as: 'traffickerEmails' end end @@ -1683,7 +1683,7 @@ module Google class CampaignCreativeAssociation # @private class Representation < Google::Apis::Core::JsonRepresentation - property :creative_id, as: 'creativeId' + property :creative_id, :numeric_string => true, as: 'creativeId' property :kind, as: 'kind' end end @@ -1711,20 +1711,20 @@ module Google class ChangeLog # @private class Representation < Google::Apis::Core::JsonRepresentation - property :account_id, as: 'accountId' + property :account_id, :numeric_string => true, as: 'accountId' property :action, as: 'action' property :change_time, as: 'changeTime', type: DateTime property :field_name, as: 'fieldName' - property :id, as: 'id' + property :id, :numeric_string => true, as: 'id' property :kind, as: 'kind' property :new_value, as: 'newValue' - property :object_id_prop, as: 'objectId' + property :object_id_prop, :numeric_string => true, as: 'objectId' property :object_type, as: 'objectType' property :old_value, as: 'oldValue' - property :subaccount_id, as: 'subaccountId' - property :transaction_id, as: 'transactionId' - property :user_profile_id, as: 'userProfileId' + property :subaccount_id, :numeric_string => true, as: 'subaccountId' + property :transaction_id, :numeric_string => true, as: 'transactionId' + property :user_profile_id, :numeric_string => true, as: 'userProfileId' property :user_profile_name, as: 'userProfileName' end end @@ -1752,14 +1752,14 @@ module Google # @private class Representation < Google::Apis::Core::JsonRepresentation property :country_code, as: 'countryCode' - property :country_dart_id, as: 'countryDartId' - property :dart_id, as: 'dartId' + property :country_dart_id, :numeric_string => true, as: 'countryDartId' + property :dart_id, :numeric_string => true, as: 'dartId' property :kind, as: 'kind' property :metro_code, as: 'metroCode' - property :metro_dma_id, as: 'metroDmaId' + property :metro_dma_id, :numeric_string => true, as: 'metroDmaId' property :name, as: 'name' property :region_code, as: 'regionCode' - property :region_dart_id, as: 'regionDartId' + property :region_dart_id, :numeric_string => true, as: 'regionDartId' end end @@ -1778,7 +1778,7 @@ module Google property :computed_click_through_url, as: 'computedClickThroughUrl' property :custom_click_through_url, as: 'customClickThroughUrl' property :default_landing_page, as: 'defaultLandingPage' - property :landing_page_id, as: 'landingPageId' + property :landing_page_id, :numeric_string => true, as: 'landingPageId' end end @@ -1795,7 +1795,7 @@ module Google class Representation < Google::Apis::Core::JsonRepresentation property :click_through_url, as: 'clickThroughUrl', class: Google::Apis::DfareportingV2_7::ClickThroughUrl, decorator: Google::Apis::DfareportingV2_7::ClickThroughUrl::Representation - property :creative_id, as: 'creativeId' + property :creative_id, :numeric_string => true, as: 'creativeId' end end @@ -1830,7 +1830,7 @@ module Google class ConnectionType # @private class Representation < Google::Apis::Core::JsonRepresentation - property :id, as: 'id' + property :id, :numeric_string => true, as: 'id' property :kind, as: 'kind' property :name, as: 'name' end @@ -1858,8 +1858,8 @@ module Google class ContentCategory # @private class Representation < Google::Apis::Core::JsonRepresentation - property :account_id, as: 'accountId' - property :id, as: 'id' + property :account_id, :numeric_string => true, as: 'accountId' + property :id, :numeric_string => true, as: 'id' property :kind, as: 'kind' property :name, as: 'name' end @@ -1873,14 +1873,14 @@ module Google property :encrypted_user_id, as: 'encryptedUserId' collection :encrypted_user_id_candidates, as: 'encryptedUserIdCandidates' - property :floodlight_activity_id, as: 'floodlightActivityId' - property :floodlight_configuration_id, as: 'floodlightConfigurationId' + property :floodlight_activity_id, :numeric_string => true, as: 'floodlightActivityId' + property :floodlight_configuration_id, :numeric_string => true, as: 'floodlightConfigurationId' property :kind, as: 'kind' property :limit_ad_tracking, as: 'limitAdTracking' property :mobile_device_id, as: 'mobileDeviceId' property :ordinal, as: 'ordinal' - property :quantity, as: 'quantity' - property :timestamp_micros, as: 'timestampMicros' + property :quantity, :numeric_string => true, as: 'quantity' + property :timestamp_micros, :numeric_string => true, as: 'timestampMicros' property :value, as: 'value' end end @@ -1939,7 +1939,7 @@ module Google # @private class Representation < Google::Apis::Core::JsonRepresentation property :country_code, as: 'countryCode' - property :dart_id, as: 'dartId' + property :dart_id, :numeric_string => true, as: 'dartId' property :kind, as: 'kind' property :name, as: 'name' property :ssl_enabled, as: 'sslEnabled' @@ -1949,11 +1949,11 @@ module Google class Creative # @private class Representation < Google::Apis::Core::JsonRepresentation - property :account_id, as: 'accountId' + property :account_id, :numeric_string => true, as: 'accountId' property :active, as: 'active' property :ad_parameters, as: 'adParameters' collection :ad_tag_keys, as: 'adTagKeys' - property :advertiser_id, as: 'advertiserId' + property :advertiser_id, :numeric_string => true, as: 'advertiserId' property :allow_script_access, as: 'allowScriptAccess' property :archived, as: 'archived' property :artwork_type, as: 'artworkType' @@ -1988,19 +1988,19 @@ module Google property :html_code, as: 'htmlCode' property :html_code_locked, as: 'htmlCodeLocked' - property :id, as: 'id' + property :id, :numeric_string => true, as: 'id' property :id_dimension_value, as: 'idDimensionValue', class: Google::Apis::DfareportingV2_7::DimensionValue, decorator: Google::Apis::DfareportingV2_7::DimensionValue::Representation property :kind, as: 'kind' property :last_modified_info, as: 'lastModifiedInfo', class: Google::Apis::DfareportingV2_7::LastModifiedInfo, decorator: Google::Apis::DfareportingV2_7::LastModifiedInfo::Representation - property :latest_trafficked_creative_id, as: 'latestTraffickedCreativeId' + property :latest_trafficked_creative_id, :numeric_string => true, as: 'latestTraffickedCreativeId' property :name, as: 'name' property :override_css, as: 'overrideCss' property :progress_offset, as: 'progressOffset', class: Google::Apis::DfareportingV2_7::VideoOffset, decorator: Google::Apis::DfareportingV2_7::VideoOffset::Representation property :redirect_url, as: 'redirectUrl' - property :rendering_id, as: 'renderingId' + property :rendering_id, :numeric_string => true, as: 'renderingId' property :rendering_id_dimension_value, as: 'renderingIdDimensionValue', class: Google::Apis::DfareportingV2_7::DimensionValue, decorator: Google::Apis::DfareportingV2_7::DimensionValue::Representation property :required_flash_plugin_version, as: 'requiredFlashPluginVersion' @@ -2012,17 +2012,17 @@ module Google property :skippable, as: 'skippable' property :ssl_compliant, as: 'sslCompliant' property :ssl_override, as: 'sslOverride' - property :studio_advertiser_id, as: 'studioAdvertiserId' - property :studio_creative_id, as: 'studioCreativeId' - property :studio_trafficked_creative_id, as: 'studioTraffickedCreativeId' - property :subaccount_id, as: 'subaccountId' + property :studio_advertiser_id, :numeric_string => true, as: 'studioAdvertiserId' + property :studio_creative_id, :numeric_string => true, as: 'studioCreativeId' + property :studio_trafficked_creative_id, :numeric_string => true, as: 'studioTraffickedCreativeId' + property :subaccount_id, :numeric_string => true, as: 'subaccountId' property :third_party_backup_image_impressions_url, as: 'thirdPartyBackupImageImpressionsUrl' property :third_party_rich_media_impressions_url, as: 'thirdPartyRichMediaImpressionsUrl' collection :third_party_urls, as: 'thirdPartyUrls', class: Google::Apis::DfareportingV2_7::ThirdPartyTrackingUrl, decorator: Google::Apis::DfareportingV2_7::ThirdPartyTrackingUrl::Representation collection :timer_custom_events, as: 'timerCustomEvents', class: Google::Apis::DfareportingV2_7::CreativeCustomEvent, decorator: Google::Apis::DfareportingV2_7::CreativeCustomEvent::Representation - property :total_file_size, as: 'totalFileSize' + property :total_file_size, :numeric_string => true, as: 'totalFileSize' property :type, as: 'type' property :version, as: 'version' property :video_description, as: 'videoDescription' @@ -2053,12 +2053,12 @@ module Google property :duration_type, as: 'durationType' property :expanded_dimension, as: 'expandedDimension', class: Google::Apis::DfareportingV2_7::Size, decorator: Google::Apis::DfareportingV2_7::Size::Representation - property :file_size, as: 'fileSize' + property :file_size, :numeric_string => true, as: 'fileSize' property :flash_version, as: 'flashVersion' property :hide_flash_objects, as: 'hideFlashObjects' property :hide_selection_boxes, as: 'hideSelectionBoxes' property :horizontally_locked, as: 'horizontallyLocked' - property :id, as: 'id' + property :id, :numeric_string => true, as: 'id' property :id_dimension_value, as: 'idDimensionValue', class: Google::Apis::DfareportingV2_7::DimensionValue, decorator: Google::Apis::DfareportingV2_7::DimensionValue::Representation property :mime_type, as: 'mimeType' @@ -2104,7 +2104,7 @@ module Google collection :click_tags, as: 'clickTags', class: Google::Apis::DfareportingV2_7::ClickTag, decorator: Google::Apis::DfareportingV2_7::ClickTag::Representation collection :detected_features, as: 'detectedFeatures' - property :id, as: 'id' + property :id, :numeric_string => true, as: 'id' property :id_dimension_value, as: 'idDimensionValue', class: Google::Apis::DfareportingV2_7::DimensionValue, decorator: Google::Apis::DfareportingV2_7::DimensionValue::Representation property :kind, as: 'kind' @@ -2115,7 +2115,7 @@ module Google class CreativeAssetSelection # @private class Representation < Google::Apis::Core::JsonRepresentation - property :default_asset_id, as: 'defaultAssetId' + property :default_asset_id, :numeric_string => true, as: 'defaultAssetId' collection :rules, as: 'rules', class: Google::Apis::DfareportingV2_7::Rule, decorator: Google::Apis::DfareportingV2_7::Rule::Representation end @@ -2132,7 +2132,7 @@ module Google collection :creative_group_assignments, as: 'creativeGroupAssignments', class: Google::Apis::DfareportingV2_7::CreativeGroupAssignment, decorator: Google::Apis::DfareportingV2_7::CreativeGroupAssignment::Representation - property :creative_id, as: 'creativeId' + property :creative_id, :numeric_string => true, as: 'creativeId' property :creative_id_dimension_value, as: 'creativeIdDimensionValue', class: Google::Apis::DfareportingV2_7::DimensionValue, decorator: Google::Apis::DfareportingV2_7::DimensionValue::Representation property :end_time, as: 'endTime', type: DateTime @@ -2150,13 +2150,13 @@ module Google class CreativeCustomEvent # @private class Representation < Google::Apis::Core::JsonRepresentation - property :advertiser_custom_event_id, as: 'advertiserCustomEventId' + property :advertiser_custom_event_id, :numeric_string => true, as: 'advertiserCustomEventId' property :advertiser_custom_event_name, as: 'advertiserCustomEventName' property :advertiser_custom_event_type, as: 'advertiserCustomEventType' property :artwork_label, as: 'artworkLabel' property :artwork_type, as: 'artworkType' property :exit_url, as: 'exitUrl' - property :id, as: 'id' + property :id, :numeric_string => true, as: 'id' property :popup_window_properties, as: 'popupWindowProperties', class: Google::Apis::DfareportingV2_7::PopupWindowProperties, decorator: Google::Apis::DfareportingV2_7::PopupWindowProperties::Representation property :target_type, as: 'targetType' @@ -2167,29 +2167,29 @@ module Google class CreativeField # @private class Representation < Google::Apis::Core::JsonRepresentation - property :account_id, as: 'accountId' - property :advertiser_id, as: 'advertiserId' + property :account_id, :numeric_string => true, as: 'accountId' + property :advertiser_id, :numeric_string => true, as: 'advertiserId' property :advertiser_id_dimension_value, as: 'advertiserIdDimensionValue', class: Google::Apis::DfareportingV2_7::DimensionValue, decorator: Google::Apis::DfareportingV2_7::DimensionValue::Representation - property :id, as: 'id' + property :id, :numeric_string => true, as: 'id' property :kind, as: 'kind' property :name, as: 'name' - property :subaccount_id, as: 'subaccountId' + property :subaccount_id, :numeric_string => true, as: 'subaccountId' end end class CreativeFieldAssignment # @private class Representation < Google::Apis::Core::JsonRepresentation - property :creative_field_id, as: 'creativeFieldId' - property :creative_field_value_id, as: 'creativeFieldValueId' + property :creative_field_id, :numeric_string => true, as: 'creativeFieldId' + property :creative_field_value_id, :numeric_string => true, as: 'creativeFieldValueId' end end class CreativeFieldValue # @private class Representation < Google::Apis::Core::JsonRepresentation - property :id, as: 'id' + property :id, :numeric_string => true, as: 'id' property :kind, as: 'kind' property :value, as: 'value' end @@ -2218,22 +2218,22 @@ module Google class CreativeGroup # @private class Representation < Google::Apis::Core::JsonRepresentation - property :account_id, as: 'accountId' - property :advertiser_id, as: 'advertiserId' + property :account_id, :numeric_string => true, as: 'accountId' + property :advertiser_id, :numeric_string => true, as: 'advertiserId' property :advertiser_id_dimension_value, as: 'advertiserIdDimensionValue', class: Google::Apis::DfareportingV2_7::DimensionValue, decorator: Google::Apis::DfareportingV2_7::DimensionValue::Representation property :group_number, as: 'groupNumber' - property :id, as: 'id' + property :id, :numeric_string => true, as: 'id' property :kind, as: 'kind' property :name, as: 'name' - property :subaccount_id, as: 'subaccountId' + property :subaccount_id, :numeric_string => true, as: 'subaccountId' end end class CreativeGroupAssignment # @private class Representation < Google::Apis::Core::JsonRepresentation - property :creative_group_id, as: 'creativeGroupId' + property :creative_group_id, :numeric_string => true, as: 'creativeGroupId' property :creative_group_number, as: 'creativeGroupNumber' end end @@ -2251,7 +2251,7 @@ module Google class CreativeOptimizationConfiguration # @private class Representation < Google::Apis::Core::JsonRepresentation - property :id, as: 'id' + property :id, :numeric_string => true, as: 'id' property :name, as: 'name' collection :optimization_activitys, as: 'optimizationActivitys', class: Google::Apis::DfareportingV2_7::OptimizationActivity, decorator: Google::Apis::DfareportingV2_7::OptimizationActivity::Representation @@ -2264,7 +2264,7 @@ module Google class Representation < Google::Apis::Core::JsonRepresentation collection :creative_assignments, as: 'creativeAssignments', class: Google::Apis::DfareportingV2_7::CreativeAssignment, decorator: Google::Apis::DfareportingV2_7::CreativeAssignment::Representation - property :creative_optimization_configuration_id, as: 'creativeOptimizationConfigurationId' + property :creative_optimization_configuration_id, :numeric_string => true, as: 'creativeOptimizationConfigurationId' property :type, as: 'type' property :weight_calculation_strategy, as: 'weightCalculationStrategy' end @@ -2345,7 +2345,7 @@ module Google class DefaultClickThroughEventTagProperties # @private class Representation < Google::Apis::Core::JsonRepresentation - property :default_click_through_event_tag_id, as: 'defaultClickThroughEventTagId' + property :default_click_through_event_tag_id, :numeric_string => true, as: 'defaultClickThroughEventTagId' property :override_inherited_event_tag, as: 'overrideInheritedEventTag' end end @@ -2356,7 +2356,7 @@ module Google property :frequency_cap, as: 'frequencyCap', class: Google::Apis::DfareportingV2_7::FrequencyCap, decorator: Google::Apis::DfareportingV2_7::FrequencyCap::Representation property :hard_cutoff, as: 'hardCutoff' - property :impression_ratio, as: 'impressionRatio' + property :impression_ratio, :numeric_string => true, as: 'impressionRatio' property :priority, as: 'priority' end end @@ -2432,17 +2432,17 @@ module Google property :active, as: 'active' collection :contact_assignments, as: 'contactAssignments', class: Google::Apis::DfareportingV2_7::DirectorySiteContactAssignment, decorator: Google::Apis::DfareportingV2_7::DirectorySiteContactAssignment::Representation - property :country_id, as: 'countryId' - property :currency_id, as: 'currencyId' + property :country_id, :numeric_string => true, as: 'countryId' + property :currency_id, :numeric_string => true, as: 'currencyId' property :description, as: 'description' - property :id, as: 'id' + property :id, :numeric_string => true, as: 'id' property :id_dimension_value, as: 'idDimensionValue', class: Google::Apis::DfareportingV2_7::DimensionValue, decorator: Google::Apis::DfareportingV2_7::DimensionValue::Representation collection :inpage_tag_formats, as: 'inpageTagFormats' collection :interstitial_tag_formats, as: 'interstitialTagFormats' property :kind, as: 'kind' property :name, as: 'name' - property :parent_id, as: 'parentId' + property :parent_id, :numeric_string => true, as: 'parentId' property :settings, as: 'settings', class: Google::Apis::DfareportingV2_7::DirectorySiteSettings, decorator: Google::Apis::DfareportingV2_7::DirectorySiteSettings::Representation property :url, as: 'url' @@ -2455,7 +2455,7 @@ module Google property :address, as: 'address' property :email, as: 'email' property :first_name, as: 'firstName' - property :id, as: 'id' + property :id, :numeric_string => true, as: 'id' property :kind, as: 'kind' property :last_name, as: 'lastName' property :phone, as: 'phone' @@ -2468,7 +2468,7 @@ module Google class DirectorySiteContactAssignment # @private class Representation < Google::Apis::Core::JsonRepresentation - property :contact_id, as: 'contactId' + property :contact_id, :numeric_string => true, as: 'contactId' property :visibility, as: 'visibility' end end @@ -2512,7 +2512,7 @@ module Google class Representation < Google::Apis::Core::JsonRepresentation property :kind, as: 'kind' property :name, as: 'name' - property :object_id_prop, as: 'objectId' + property :object_id_prop, :numeric_string => true, as: 'objectId' property :object_type, as: 'objectType' end end @@ -2529,7 +2529,7 @@ module Google class EncryptionInfo # @private class Representation < Google::Apis::Core::JsonRepresentation - property :encryption_entity_id, as: 'encryptionEntityId' + property :encryption_entity_id, :numeric_string => true, as: 'encryptionEntityId' property :encryption_entity_type, as: 'encryptionEntityType' property :encryption_source, as: 'encryptionSource' property :kind, as: 'kind' @@ -2539,23 +2539,23 @@ module Google class EventTag # @private class Representation < Google::Apis::Core::JsonRepresentation - property :account_id, as: 'accountId' - property :advertiser_id, as: 'advertiserId' + property :account_id, :numeric_string => true, as: 'accountId' + property :advertiser_id, :numeric_string => true, as: 'advertiserId' property :advertiser_id_dimension_value, as: 'advertiserIdDimensionValue', class: Google::Apis::DfareportingV2_7::DimensionValue, decorator: Google::Apis::DfareportingV2_7::DimensionValue::Representation - property :campaign_id, as: 'campaignId' + property :campaign_id, :numeric_string => true, as: 'campaignId' property :campaign_id_dimension_value, as: 'campaignIdDimensionValue', class: Google::Apis::DfareportingV2_7::DimensionValue, decorator: Google::Apis::DfareportingV2_7::DimensionValue::Representation property :enabled_by_default, as: 'enabledByDefault' property :exclude_from_adx_requests, as: 'excludeFromAdxRequests' - property :id, as: 'id' + property :id, :numeric_string => true, as: 'id' property :kind, as: 'kind' property :name, as: 'name' property :site_filter_type, as: 'siteFilterType' collection :site_ids, as: 'siteIds' property :ssl_compliant, as: 'sslCompliant' property :status, as: 'status' - property :subaccount_id, as: 'subaccountId' + property :subaccount_id, :numeric_string => true, as: 'subaccountId' property :type, as: 'type' property :url, as: 'url' property :url_escape_levels, as: 'urlEscapeLevels' @@ -2566,7 +2566,7 @@ module Google # @private class Representation < Google::Apis::Core::JsonRepresentation property :enabled, as: 'enabled' - property :id, as: 'id' + property :id, :numeric_string => true, as: 'id' end end @@ -2587,10 +2587,10 @@ module Google property :etag, as: 'etag' property :file_name, as: 'fileName' property :format, as: 'format' - property :id, as: 'id' + property :id, :numeric_string => true, as: 'id' property :kind, as: 'kind' - property :last_modified_time, as: 'lastModifiedTime' - property :report_id, as: 'reportId' + property :last_modified_time, :numeric_string => true, as: 'lastModifiedTime' + property :report_id, :numeric_string => true, as: 'reportId' property :status, as: 'status' property :urls, as: 'urls', class: Google::Apis::DfareportingV2_7::File::Urls, decorator: Google::Apis::DfareportingV2_7::File::Urls::Representation @@ -2621,10 +2621,10 @@ module Google class Representation < Google::Apis::Core::JsonRepresentation property :end_date, as: 'endDate', type: Date - property :rate_or_cost, as: 'rateOrCost' + property :rate_or_cost, :numeric_string => true, as: 'rateOrCost' property :start_date, as: 'startDate', type: Date - property :units, as: 'units' + property :units, :numeric_string => true, as: 'units' end end @@ -2649,8 +2649,8 @@ module Google class FloodlightActivity # @private class Representation < Google::Apis::Core::JsonRepresentation - property :account_id, as: 'accountId' - property :advertiser_id, as: 'advertiserId' + property :account_id, :numeric_string => true, as: 'accountId' + property :advertiser_id, :numeric_string => true, as: 'advertiserId' property :advertiser_id_dimension_value, as: 'advertiserIdDimensionValue', class: Google::Apis::DfareportingV2_7::DimensionValue, decorator: Google::Apis::DfareportingV2_7::DimensionValue::Representation property :cache_busting_type, as: 'cacheBustingType' @@ -2658,15 +2658,15 @@ module Google collection :default_tags, as: 'defaultTags', class: Google::Apis::DfareportingV2_7::FloodlightActivityDynamicTag, decorator: Google::Apis::DfareportingV2_7::FloodlightActivityDynamicTag::Representation property :expected_url, as: 'expectedUrl' - property :floodlight_activity_group_id, as: 'floodlightActivityGroupId' + property :floodlight_activity_group_id, :numeric_string => true, as: 'floodlightActivityGroupId' property :floodlight_activity_group_name, as: 'floodlightActivityGroupName' property :floodlight_activity_group_tag_string, as: 'floodlightActivityGroupTagString' property :floodlight_activity_group_type, as: 'floodlightActivityGroupType' - property :floodlight_configuration_id, as: 'floodlightConfigurationId' + property :floodlight_configuration_id, :numeric_string => true, as: 'floodlightConfigurationId' property :floodlight_configuration_id_dimension_value, as: 'floodlightConfigurationIdDimensionValue', class: Google::Apis::DfareportingV2_7::DimensionValue, decorator: Google::Apis::DfareportingV2_7::DimensionValue::Representation property :hidden, as: 'hidden' - property :id, as: 'id' + property :id, :numeric_string => true, as: 'id' property :id_dimension_value, as: 'idDimensionValue', class: Google::Apis::DfareportingV2_7::DimensionValue, decorator: Google::Apis::DfareportingV2_7::DimensionValue::Representation property :image_tag_enabled, as: 'imageTagEnabled' @@ -2678,7 +2678,7 @@ module Google property :secure, as: 'secure' property :ssl_compliant, as: 'sslCompliant' property :ssl_required, as: 'sslRequired' - property :subaccount_id, as: 'subaccountId' + property :subaccount_id, :numeric_string => true, as: 'subaccountId' property :tag_format, as: 'tagFormat' property :tag_string, as: 'tagString' collection :user_defined_variable_types, as: 'userDefinedVariableTypes' @@ -2688,7 +2688,7 @@ module Google class FloodlightActivityDynamicTag # @private class Representation < Google::Apis::Core::JsonRepresentation - property :id, as: 'id' + property :id, :numeric_string => true, as: 'id' property :name, as: 'name' property :tag, as: 'tag' end @@ -2697,19 +2697,19 @@ module Google class FloodlightActivityGroup # @private class Representation < Google::Apis::Core::JsonRepresentation - property :account_id, as: 'accountId' - property :advertiser_id, as: 'advertiserId' + property :account_id, :numeric_string => true, as: 'accountId' + property :advertiser_id, :numeric_string => true, as: 'advertiserId' property :advertiser_id_dimension_value, as: 'advertiserIdDimensionValue', class: Google::Apis::DfareportingV2_7::DimensionValue, decorator: Google::Apis::DfareportingV2_7::DimensionValue::Representation - property :floodlight_configuration_id, as: 'floodlightConfigurationId' + property :floodlight_configuration_id, :numeric_string => true, as: 'floodlightConfigurationId' property :floodlight_configuration_id_dimension_value, as: 'floodlightConfigurationIdDimensionValue', class: Google::Apis::DfareportingV2_7::DimensionValue, decorator: Google::Apis::DfareportingV2_7::DimensionValue::Representation - property :id, as: 'id' + property :id, :numeric_string => true, as: 'id' property :id_dimension_value, as: 'idDimensionValue', class: Google::Apis::DfareportingV2_7::DimensionValue, decorator: Google::Apis::DfareportingV2_7::DimensionValue::Representation property :kind, as: 'kind' property :name, as: 'name' - property :subaccount_id, as: 'subaccountId' + property :subaccount_id, :numeric_string => true, as: 'subaccountId' property :tag_string, as: 'tagString' property :type, as: 'type' end @@ -2729,10 +2729,10 @@ module Google # @private class Representation < Google::Apis::Core::JsonRepresentation property :click_through, as: 'clickThrough' - property :directory_site_id, as: 'directorySiteId' + property :directory_site_id, :numeric_string => true, as: 'directorySiteId' property :dynamic_tag, as: 'dynamicTag', class: Google::Apis::DfareportingV2_7::FloodlightActivityDynamicTag, decorator: Google::Apis::DfareportingV2_7::FloodlightActivityDynamicTag::Representation - property :site_id, as: 'siteId' + property :site_id, :numeric_string => true, as: 'siteId' property :site_id_dimension_value, as: 'siteIdDimensionValue', class: Google::Apis::DfareportingV2_7::DimensionValue, decorator: Google::Apis::DfareportingV2_7::DimensionValue::Representation property :view_through, as: 'viewThrough' @@ -2742,14 +2742,14 @@ module Google class FloodlightConfiguration # @private class Representation < Google::Apis::Core::JsonRepresentation - property :account_id, as: 'accountId' - property :advertiser_id, as: 'advertiserId' + property :account_id, :numeric_string => true, as: 'accountId' + property :advertiser_id, :numeric_string => true, as: 'advertiserId' property :advertiser_id_dimension_value, as: 'advertiserIdDimensionValue', class: Google::Apis::DfareportingV2_7::DimensionValue, decorator: Google::Apis::DfareportingV2_7::DimensionValue::Representation property :analytics_data_sharing_enabled, as: 'analyticsDataSharingEnabled' property :exposure_to_conversion_enabled, as: 'exposureToConversionEnabled' property :first_day_of_week, as: 'firstDayOfWeek' - property :id, as: 'id' + property :id, :numeric_string => true, as: 'id' property :id_dimension_value, as: 'idDimensionValue', class: Google::Apis::DfareportingV2_7::DimensionValue, decorator: Google::Apis::DfareportingV2_7::DimensionValue::Representation property :in_app_attribution_tracking_enabled, as: 'inAppAttributionTrackingEnabled' @@ -2760,7 +2760,7 @@ module Google property :omniture_settings, as: 'omnitureSettings', class: Google::Apis::DfareportingV2_7::OmnitureSettings, decorator: Google::Apis::DfareportingV2_7::OmnitureSettings::Representation collection :standard_variable_types, as: 'standardVariableTypes' - property :subaccount_id, as: 'subaccountId' + property :subaccount_id, :numeric_string => true, as: 'subaccountId' property :tag_settings, as: 'tagSettings', class: Google::Apis::DfareportingV2_7::TagSettings, decorator: Google::Apis::DfareportingV2_7::TagSettings::Representation collection :third_party_authentication_tokens, as: 'thirdPartyAuthenticationTokens', class: Google::Apis::DfareportingV2_7::ThirdPartyAuthenticationToken, decorator: Google::Apis::DfareportingV2_7::ThirdPartyAuthenticationToken::Representation @@ -2795,8 +2795,8 @@ module Google class FrequencyCap # @private class Representation < Google::Apis::Core::JsonRepresentation - property :duration, as: 'duration' - property :impressions, as: 'impressions' + property :duration, :numeric_string => true, as: 'duration' + property :impressions, :numeric_string => true, as: 'impressions' end end @@ -2831,28 +2831,28 @@ module Google class InventoryItem # @private class Representation < Google::Apis::Core::JsonRepresentation - property :account_id, as: 'accountId' + property :account_id, :numeric_string => true, as: 'accountId' collection :ad_slots, as: 'adSlots', class: Google::Apis::DfareportingV2_7::AdSlot, decorator: Google::Apis::DfareportingV2_7::AdSlot::Representation - property :advertiser_id, as: 'advertiserId' - property :content_category_id, as: 'contentCategoryId' - property :estimated_click_through_rate, as: 'estimatedClickThroughRate' - property :estimated_conversion_rate, as: 'estimatedConversionRate' - property :id, as: 'id' + property :advertiser_id, :numeric_string => true, as: 'advertiserId' + property :content_category_id, :numeric_string => true, as: 'contentCategoryId' + property :estimated_click_through_rate, :numeric_string => true, as: 'estimatedClickThroughRate' + property :estimated_conversion_rate, :numeric_string => true, as: 'estimatedConversionRate' + property :id, :numeric_string => true, as: 'id' property :in_plan, as: 'inPlan' property :kind, as: 'kind' property :last_modified_info, as: 'lastModifiedInfo', class: Google::Apis::DfareportingV2_7::LastModifiedInfo, decorator: Google::Apis::DfareportingV2_7::LastModifiedInfo::Representation property :name, as: 'name' - property :negotiation_channel_id, as: 'negotiationChannelId' - property :order_id, as: 'orderId' - property :placement_strategy_id, as: 'placementStrategyId' + property :negotiation_channel_id, :numeric_string => true, as: 'negotiationChannelId' + property :order_id, :numeric_string => true, as: 'orderId' + property :placement_strategy_id, :numeric_string => true, as: 'placementStrategyId' property :pricing, as: 'pricing', class: Google::Apis::DfareportingV2_7::Pricing, decorator: Google::Apis::DfareportingV2_7::Pricing::Representation - property :project_id, as: 'projectId' - property :rfp_id, as: 'rfpId' - property :site_id, as: 'siteId' - property :subaccount_id, as: 'subaccountId' + property :project_id, :numeric_string => true, as: 'projectId' + property :rfp_id, :numeric_string => true, as: 'rfpId' + property :site_id, :numeric_string => true, as: 'siteId' + property :subaccount_id, :numeric_string => true, as: 'subaccountId' property :type, as: 'type' end end @@ -2878,7 +2878,7 @@ module Google # @private class Representation < Google::Apis::Core::JsonRepresentation property :default, as: 'default' - property :id, as: 'id' + property :id, :numeric_string => true, as: 'id' property :kind, as: 'kind' property :name, as: 'name' property :url, as: 'url' @@ -2897,7 +2897,7 @@ module Google class Language # @private class Representation < Google::Apis::Core::JsonRepresentation - property :id, as: 'id' + property :id, :numeric_string => true, as: 'id' property :kind, as: 'kind' property :language_code, as: 'languageCode' property :name, as: 'name' @@ -2924,7 +2924,7 @@ module Google class LastModifiedInfo # @private class Representation < Google::Apis::Core::JsonRepresentation - property :time, as: 'time' + property :time, :numeric_string => true, as: 'time' end end @@ -2939,7 +2939,7 @@ module Google class ListPopulationRule # @private class Representation < Google::Apis::Core::JsonRepresentation - property :floodlight_activity_id, as: 'floodlightActivityId' + property :floodlight_activity_id, :numeric_string => true, as: 'floodlightActivityId' property :floodlight_activity_name, as: 'floodlightActivityName' collection :list_population_clauses, as: 'listPopulationClauses', class: Google::Apis::DfareportingV2_7::ListPopulationClause, decorator: Google::Apis::DfareportingV2_7::ListPopulationClause::Representation @@ -2952,7 +2952,7 @@ module Google property :contains, as: 'contains' property :negation, as: 'negation' property :operator, as: 'operator' - property :remarketing_list_id, as: 'remarketingListId' + property :remarketing_list_id, :numeric_string => true, as: 'remarketingListId' property :type, as: 'type' property :value, as: 'value' property :variable_friendly_name, as: 'variableFriendlyName' @@ -2987,9 +2987,9 @@ module Google # @private class Representation < Google::Apis::Core::JsonRepresentation property :country_code, as: 'countryCode' - property :country_dart_id, as: 'countryDartId' - property :dart_id, as: 'dartId' - property :dma_id, as: 'dmaId' + property :country_dart_id, :numeric_string => true, as: 'countryDartId' + property :dart_id, :numeric_string => true, as: 'dartId' + property :dma_id, :numeric_string => true, as: 'dmaId' property :kind, as: 'kind' property :metro_code, as: 'metroCode' property :name, as: 'name' @@ -3009,8 +3009,8 @@ module Google # @private class Representation < Google::Apis::Core::JsonRepresentation property :country_code, as: 'countryCode' - property :country_dart_id, as: 'countryDartId' - property :id, as: 'id' + property :country_dart_id, :numeric_string => true, as: 'countryDartId' + property :id, :numeric_string => true, as: 'id' property :kind, as: 'kind' property :name, as: 'name' end @@ -3053,7 +3053,7 @@ module Google class OperatingSystem # @private class Representation < Google::Apis::Core::JsonRepresentation - property :dart_id, as: 'dartId' + property :dart_id, :numeric_string => true, as: 'dartId' property :desktop, as: 'desktop' property :kind, as: 'kind' property :mobile, as: 'mobile' @@ -3064,7 +3064,7 @@ module Google class OperatingSystemVersion # @private class Representation < Google::Apis::Core::JsonRepresentation - property :id, as: 'id' + property :id, :numeric_string => true, as: 'id' property :kind, as: 'kind' property :major_version, as: 'majorVersion' property :minor_version, as: 'minorVersion' @@ -3095,7 +3095,7 @@ module Google class OptimizationActivity # @private class Representation < Google::Apis::Core::JsonRepresentation - property :floodlight_activity_id, as: 'floodlightActivityId' + property :floodlight_activity_id, :numeric_string => true, as: 'floodlightActivityId' property :floodlight_activity_id_dimension_value, as: 'floodlightActivityIdDimensionValue', class: Google::Apis::DfareportingV2_7::DimensionValue, decorator: Google::Apis::DfareportingV2_7::DimensionValue::Representation property :weight, as: 'weight' @@ -3105,27 +3105,27 @@ module Google class Order # @private class Representation < Google::Apis::Core::JsonRepresentation - property :account_id, as: 'accountId' - property :advertiser_id, as: 'advertiserId' + property :account_id, :numeric_string => true, as: 'accountId' + property :advertiser_id, :numeric_string => true, as: 'advertiserId' collection :approver_user_profile_ids, as: 'approverUserProfileIds' property :buyer_invoice_id, as: 'buyerInvoiceId' property :buyer_organization_name, as: 'buyerOrganizationName' property :comments, as: 'comments' collection :contacts, as: 'contacts', class: Google::Apis::DfareportingV2_7::OrderContact, decorator: Google::Apis::DfareportingV2_7::OrderContact::Representation - property :id, as: 'id' + property :id, :numeric_string => true, as: 'id' property :kind, as: 'kind' property :last_modified_info, as: 'lastModifiedInfo', class: Google::Apis::DfareportingV2_7::LastModifiedInfo, decorator: Google::Apis::DfareportingV2_7::LastModifiedInfo::Representation property :name, as: 'name' property :notes, as: 'notes' - property :planning_term_id, as: 'planningTermId' - property :project_id, as: 'projectId' + property :planning_term_id, :numeric_string => true, as: 'planningTermId' + property :project_id, :numeric_string => true, as: 'projectId' property :seller_order_id, as: 'sellerOrderId' property :seller_organization_name, as: 'sellerOrganizationName' collection :site_id, as: 'siteId' collection :site_names, as: 'siteNames' - property :subaccount_id, as: 'subaccountId' + property :subaccount_id, :numeric_string => true, as: 'subaccountId' property :terms_and_conditions, as: 'termsAndConditions' end end @@ -3137,31 +3137,31 @@ module Google property :contact_name, as: 'contactName' property :contact_title, as: 'contactTitle' property :contact_type, as: 'contactType' - property :signature_user_profile_id, as: 'signatureUserProfileId' + property :signature_user_profile_id, :numeric_string => true, as: 'signatureUserProfileId' end end class OrderDocument # @private class Representation < Google::Apis::Core::JsonRepresentation - property :account_id, as: 'accountId' - property :advertiser_id, as: 'advertiserId' - property :amended_order_document_id, as: 'amendedOrderDocumentId' + property :account_id, :numeric_string => true, as: 'accountId' + property :advertiser_id, :numeric_string => true, as: 'advertiserId' + property :amended_order_document_id, :numeric_string => true, as: 'amendedOrderDocumentId' collection :approved_by_user_profile_ids, as: 'approvedByUserProfileIds' property :cancelled, as: 'cancelled' property :created_info, as: 'createdInfo', class: Google::Apis::DfareportingV2_7::LastModifiedInfo, decorator: Google::Apis::DfareportingV2_7::LastModifiedInfo::Representation property :effective_date, as: 'effectiveDate', type: Date - property :id, as: 'id' + property :id, :numeric_string => true, as: 'id' property :kind, as: 'kind' collection :last_sent_recipients, as: 'lastSentRecipients' property :last_sent_time, as: 'lastSentTime', type: DateTime - property :order_id, as: 'orderId' - property :project_id, as: 'projectId' + property :order_id, :numeric_string => true, as: 'orderId' + property :project_id, :numeric_string => true, as: 'projectId' property :signed, as: 'signed' - property :subaccount_id, as: 'subaccountId' + property :subaccount_id, :numeric_string => true, as: 'subaccountId' property :title, as: 'title' property :type, as: 'type' end @@ -3205,24 +3205,24 @@ module Google class Placement # @private class Representation < Google::Apis::Core::JsonRepresentation - property :account_id, as: 'accountId' - property :advertiser_id, as: 'advertiserId' + property :account_id, :numeric_string => true, as: 'accountId' + property :advertiser_id, :numeric_string => true, as: 'advertiserId' property :advertiser_id_dimension_value, as: 'advertiserIdDimensionValue', class: Google::Apis::DfareportingV2_7::DimensionValue, decorator: Google::Apis::DfareportingV2_7::DimensionValue::Representation property :archived, as: 'archived' - property :campaign_id, as: 'campaignId' + property :campaign_id, :numeric_string => true, as: 'campaignId' property :campaign_id_dimension_value, as: 'campaignIdDimensionValue', class: Google::Apis::DfareportingV2_7::DimensionValue, decorator: Google::Apis::DfareportingV2_7::DimensionValue::Representation property :comment, as: 'comment' property :compatibility, as: 'compatibility' - property :content_category_id, as: 'contentCategoryId' + property :content_category_id, :numeric_string => true, as: 'contentCategoryId' property :create_info, as: 'createInfo', class: Google::Apis::DfareportingV2_7::LastModifiedInfo, decorator: Google::Apis::DfareportingV2_7::LastModifiedInfo::Representation - property :directory_site_id, as: 'directorySiteId' + property :directory_site_id, :numeric_string => true, as: 'directorySiteId' property :directory_site_id_dimension_value, as: 'directorySiteIdDimensionValue', class: Google::Apis::DfareportingV2_7::DimensionValue, decorator: Google::Apis::DfareportingV2_7::DimensionValue::Representation property :external_id, as: 'externalId' - property :id, as: 'id' + property :id, :numeric_string => true, as: 'id' property :id_dimension_value, as: 'idDimensionValue', class: Google::Apis::DfareportingV2_7::DimensionValue, decorator: Google::Apis::DfareportingV2_7::DimensionValue::Representation property :key_name, as: 'keyName' @@ -3234,23 +3234,23 @@ module Google property :name, as: 'name' property :payment_approved, as: 'paymentApproved' property :payment_source, as: 'paymentSource' - property :placement_group_id, as: 'placementGroupId' + property :placement_group_id, :numeric_string => true, as: 'placementGroupId' property :placement_group_id_dimension_value, as: 'placementGroupIdDimensionValue', class: Google::Apis::DfareportingV2_7::DimensionValue, decorator: Google::Apis::DfareportingV2_7::DimensionValue::Representation - property :placement_strategy_id, as: 'placementStrategyId' + property :placement_strategy_id, :numeric_string => true, as: 'placementStrategyId' property :pricing_schedule, as: 'pricingSchedule', class: Google::Apis::DfareportingV2_7::PricingSchedule, decorator: Google::Apis::DfareportingV2_7::PricingSchedule::Representation property :primary, as: 'primary' property :publisher_update_info, as: 'publisherUpdateInfo', class: Google::Apis::DfareportingV2_7::LastModifiedInfo, decorator: Google::Apis::DfareportingV2_7::LastModifiedInfo::Representation - property :site_id, as: 'siteId' + property :site_id, :numeric_string => true, as: 'siteId' property :site_id_dimension_value, as: 'siteIdDimensionValue', class: Google::Apis::DfareportingV2_7::DimensionValue, decorator: Google::Apis::DfareportingV2_7::DimensionValue::Representation property :size, as: 'size', class: Google::Apis::DfareportingV2_7::Size, decorator: Google::Apis::DfareportingV2_7::Size::Representation property :ssl_required, as: 'sslRequired' property :status, as: 'status' - property :subaccount_id, as: 'subaccountId' + property :subaccount_id, :numeric_string => true, as: 'subaccountId' collection :tag_formats, as: 'tagFormats' property :tag_setting, as: 'tagSetting', class: Google::Apis::DfareportingV2_7::TagSetting, decorator: Google::Apis::DfareportingV2_7::TagSetting::Representation @@ -3265,7 +3265,7 @@ module Google # @private class Representation < Google::Apis::Core::JsonRepresentation property :active, as: 'active' - property :placement_id, as: 'placementId' + property :placement_id, :numeric_string => true, as: 'placementId' property :placement_id_dimension_value, as: 'placementIdDimensionValue', class: Google::Apis::DfareportingV2_7::DimensionValue, decorator: Google::Apis::DfareportingV2_7::DimensionValue::Representation property :ssl_required, as: 'sslRequired' @@ -3275,24 +3275,24 @@ module Google class PlacementGroup # @private class Representation < Google::Apis::Core::JsonRepresentation - property :account_id, as: 'accountId' - property :advertiser_id, as: 'advertiserId' + property :account_id, :numeric_string => true, as: 'accountId' + property :advertiser_id, :numeric_string => true, as: 'advertiserId' property :advertiser_id_dimension_value, as: 'advertiserIdDimensionValue', class: Google::Apis::DfareportingV2_7::DimensionValue, decorator: Google::Apis::DfareportingV2_7::DimensionValue::Representation property :archived, as: 'archived' - property :campaign_id, as: 'campaignId' + property :campaign_id, :numeric_string => true, as: 'campaignId' property :campaign_id_dimension_value, as: 'campaignIdDimensionValue', class: Google::Apis::DfareportingV2_7::DimensionValue, decorator: Google::Apis::DfareportingV2_7::DimensionValue::Representation collection :child_placement_ids, as: 'childPlacementIds' property :comment, as: 'comment' - property :content_category_id, as: 'contentCategoryId' + property :content_category_id, :numeric_string => true, as: 'contentCategoryId' property :create_info, as: 'createInfo', class: Google::Apis::DfareportingV2_7::LastModifiedInfo, decorator: Google::Apis::DfareportingV2_7::LastModifiedInfo::Representation - property :directory_site_id, as: 'directorySiteId' + property :directory_site_id, :numeric_string => true, as: 'directorySiteId' property :directory_site_id_dimension_value, as: 'directorySiteIdDimensionValue', class: Google::Apis::DfareportingV2_7::DimensionValue, decorator: Google::Apis::DfareportingV2_7::DimensionValue::Representation property :external_id, as: 'externalId' - property :id, as: 'id' + property :id, :numeric_string => true, as: 'id' property :id_dimension_value, as: 'idDimensionValue', class: Google::Apis::DfareportingV2_7::DimensionValue, decorator: Google::Apis::DfareportingV2_7::DimensionValue::Representation property :kind, as: 'kind' @@ -3300,16 +3300,16 @@ module Google property :name, as: 'name' property :placement_group_type, as: 'placementGroupType' - property :placement_strategy_id, as: 'placementStrategyId' + property :placement_strategy_id, :numeric_string => true, as: 'placementStrategyId' property :pricing_schedule, as: 'pricingSchedule', class: Google::Apis::DfareportingV2_7::PricingSchedule, decorator: Google::Apis::DfareportingV2_7::PricingSchedule::Representation - property :primary_placement_id, as: 'primaryPlacementId' + property :primary_placement_id, :numeric_string => true, as: 'primaryPlacementId' property :primary_placement_id_dimension_value, as: 'primaryPlacementIdDimensionValue', class: Google::Apis::DfareportingV2_7::DimensionValue, decorator: Google::Apis::DfareportingV2_7::DimensionValue::Representation - property :site_id, as: 'siteId' + property :site_id, :numeric_string => true, as: 'siteId' property :site_id_dimension_value, as: 'siteIdDimensionValue', class: Google::Apis::DfareportingV2_7::DimensionValue, decorator: Google::Apis::DfareportingV2_7::DimensionValue::Representation - property :subaccount_id, as: 'subaccountId' + property :subaccount_id, :numeric_string => true, as: 'subaccountId' end end @@ -3336,8 +3336,8 @@ module Google class PlacementStrategy # @private class Representation < Google::Apis::Core::JsonRepresentation - property :account_id, as: 'accountId' - property :id, as: 'id' + property :account_id, :numeric_string => true, as: 'accountId' + property :id, :numeric_string => true, as: 'id' property :kind, as: 'kind' property :name, as: 'name' end @@ -3346,7 +3346,7 @@ module Google class PlacementTag # @private class Representation < Google::Apis::Core::JsonRepresentation - property :placement_id, as: 'placementId' + property :placement_id, :numeric_string => true, as: 'placementId' collection :tag_datas, as: 'tagDatas', class: Google::Apis::DfareportingV2_7::TagData, decorator: Google::Apis::DfareportingV2_7::TagData::Representation end @@ -3374,7 +3374,7 @@ module Google class PlatformType # @private class Representation < Google::Apis::Core::JsonRepresentation - property :id, as: 'id' + property :id, :numeric_string => true, as: 'id' property :kind, as: 'kind' property :name, as: 'name' end @@ -3411,7 +3411,7 @@ module Google class Representation < Google::Apis::Core::JsonRepresentation property :code, as: 'code' property :country_code, as: 'countryCode' - property :country_dart_id, as: 'countryDartId' + property :country_dart_id, :numeric_string => true, as: 'countryDartId' property :id, as: 'id' property :kind, as: 'kind' end @@ -3449,7 +3449,7 @@ module Google property :end_date, as: 'endDate', type: Date property :flighted, as: 'flighted' - property :floodlight_activity_id, as: 'floodlightActivityId' + property :floodlight_activity_id, :numeric_string => true, as: 'floodlightActivityId' collection :pricing_periods, as: 'pricingPeriods', class: Google::Apis::DfareportingV2_7::PricingSchedulePricingPeriod, decorator: Google::Apis::DfareportingV2_7::PricingSchedulePricingPeriod::Representation property :pricing_type, as: 'pricingType' @@ -3466,26 +3466,26 @@ module Google property :end_date, as: 'endDate', type: Date property :pricing_comment, as: 'pricingComment' - property :rate_or_cost_nanos, as: 'rateOrCostNanos' + property :rate_or_cost_nanos, :numeric_string => true, as: 'rateOrCostNanos' property :start_date, as: 'startDate', type: Date - property :units, as: 'units' + property :units, :numeric_string => true, as: 'units' end end class Project # @private class Representation < Google::Apis::Core::JsonRepresentation - property :account_id, as: 'accountId' - property :advertiser_id, as: 'advertiserId' + property :account_id, :numeric_string => true, as: 'accountId' + property :advertiser_id, :numeric_string => true, as: 'advertiserId' property :audience_age_group, as: 'audienceAgeGroup' property :audience_gender, as: 'audienceGender' - property :budget, as: 'budget' + property :budget, :numeric_string => true, as: 'budget' property :client_billing_code, as: 'clientBillingCode' property :client_name, as: 'clientName' property :end_date, as: 'endDate', type: Date - property :id, as: 'id' + property :id, :numeric_string => true, as: 'id' property :kind, as: 'kind' property :last_modified_info, as: 'lastModifiedInfo', class: Google::Apis::DfareportingV2_7::LastModifiedInfo, decorator: Google::Apis::DfareportingV2_7::LastModifiedInfo::Representation @@ -3493,14 +3493,14 @@ module Google property :overview, as: 'overview' property :start_date, as: 'startDate', type: Date - property :subaccount_id, as: 'subaccountId' - property :target_clicks, as: 'targetClicks' - property :target_conversions, as: 'targetConversions' - property :target_cpa_nanos, as: 'targetCpaNanos' - property :target_cpc_nanos, as: 'targetCpcNanos' - property :target_cpm_active_view_nanos, as: 'targetCpmActiveViewNanos' - property :target_cpm_nanos, as: 'targetCpmNanos' - property :target_impressions, as: 'targetImpressions' + property :subaccount_id, :numeric_string => true, as: 'subaccountId' + property :target_clicks, :numeric_string => true, as: 'targetClicks' + property :target_conversions, :numeric_string => true, as: 'targetConversions' + property :target_cpa_nanos, :numeric_string => true, as: 'targetCpaNanos' + property :target_cpc_nanos, :numeric_string => true, as: 'targetCpcNanos' + property :target_cpm_active_view_nanos, :numeric_string => true, as: 'targetCpmActiveViewNanos' + property :target_cpm_nanos, :numeric_string => true, as: 'targetCpmNanos' + property :target_impressions, :numeric_string => true, as: 'targetImpressions' end end @@ -3544,8 +3544,8 @@ module Google # @private class Representation < Google::Apis::Core::JsonRepresentation property :country_code, as: 'countryCode' - property :country_dart_id, as: 'countryDartId' - property :dart_id, as: 'dartId' + property :country_dart_id, :numeric_string => true, as: 'countryDartId' + property :dart_id, :numeric_string => true, as: 'dartId' property :kind, as: 'kind' property :name, as: 'name' property :region_code, as: 'regionCode' @@ -3564,21 +3564,21 @@ module Google class RemarketingList # @private class Representation < Google::Apis::Core::JsonRepresentation - property :account_id, as: 'accountId' + property :account_id, :numeric_string => true, as: 'accountId' property :active, as: 'active' - property :advertiser_id, as: 'advertiserId' + property :advertiser_id, :numeric_string => true, as: 'advertiserId' property :advertiser_id_dimension_value, as: 'advertiserIdDimensionValue', class: Google::Apis::DfareportingV2_7::DimensionValue, decorator: Google::Apis::DfareportingV2_7::DimensionValue::Representation property :description, as: 'description' - property :id, as: 'id' + property :id, :numeric_string => true, as: 'id' property :kind, as: 'kind' - property :life_span, as: 'lifeSpan' + property :life_span, :numeric_string => true, as: 'lifeSpan' property :list_population_rule, as: 'listPopulationRule', class: Google::Apis::DfareportingV2_7::ListPopulationRule, decorator: Google::Apis::DfareportingV2_7::ListPopulationRule::Representation - property :list_size, as: 'listSize' + property :list_size, :numeric_string => true, as: 'listSize' property :list_source, as: 'listSource' property :name, as: 'name' - property :subaccount_id, as: 'subaccountId' + property :subaccount_id, :numeric_string => true, as: 'subaccountId' end end @@ -3586,7 +3586,7 @@ module Google # @private class Representation < Google::Apis::Core::JsonRepresentation property :kind, as: 'kind' - property :remarketing_list_id, as: 'remarketingListId' + property :remarketing_list_id, :numeric_string => true, as: 'remarketingListId' collection :shared_account_ids, as: 'sharedAccountIds' collection :shared_advertiser_ids, as: 'sharedAdvertiserIds' end @@ -3605,7 +3605,7 @@ module Google class Report # @private class Representation < Google::Apis::Core::JsonRepresentation - property :account_id, as: 'accountId' + property :account_id, :numeric_string => true, as: 'accountId' property :criteria, as: 'criteria', class: Google::Apis::DfareportingV2_7::Report::Criteria, decorator: Google::Apis::DfareportingV2_7::Report::Criteria::Representation property :cross_dimension_reach_criteria, as: 'crossDimensionReachCriteria', class: Google::Apis::DfareportingV2_7::Report::CrossDimensionReachCriteria, decorator: Google::Apis::DfareportingV2_7::Report::CrossDimensionReachCriteria::Representation @@ -3617,18 +3617,18 @@ module Google property :floodlight_criteria, as: 'floodlightCriteria', class: Google::Apis::DfareportingV2_7::Report::FloodlightCriteria, decorator: Google::Apis::DfareportingV2_7::Report::FloodlightCriteria::Representation property :format, as: 'format' - property :id, as: 'id' + property :id, :numeric_string => true, as: 'id' property :kind, as: 'kind' - property :last_modified_time, as: 'lastModifiedTime' + property :last_modified_time, :numeric_string => true, as: 'lastModifiedTime' property :name, as: 'name' - property :owner_profile_id, as: 'ownerProfileId' + property :owner_profile_id, :numeric_string => true, as: 'ownerProfileId' property :path_to_conversion_criteria, as: 'pathToConversionCriteria', class: Google::Apis::DfareportingV2_7::Report::PathToConversionCriteria, decorator: Google::Apis::DfareportingV2_7::Report::PathToConversionCriteria::Representation property :reach_criteria, as: 'reachCriteria', class: Google::Apis::DfareportingV2_7::Report::ReachCriteria, decorator: Google::Apis::DfareportingV2_7::Report::ReachCriteria::Representation property :schedule, as: 'schedule', class: Google::Apis::DfareportingV2_7::Report::Schedule, decorator: Google::Apis::DfareportingV2_7::Report::Schedule::Representation - property :sub_account_id, as: 'subAccountId' + property :sub_account_id, :numeric_string => true, as: 'subAccountId' property :type, as: 'type' end @@ -3809,7 +3809,7 @@ module Google property :exposure_to_conversion_enabled, as: 'exposureToConversionEnabled' property :lookback_configuration, as: 'lookbackConfiguration', class: Google::Apis::DfareportingV2_7::LookbackConfiguration, decorator: Google::Apis::DfareportingV2_7::LookbackConfiguration::Representation - property :report_generation_time_zone_id, as: 'reportGenerationTimeZoneId' + property :report_generation_time_zone_id, :numeric_string => true, as: 'reportGenerationTimeZoneId' end end @@ -3819,28 +3819,28 @@ module Google property :click_through_url, as: 'clickThroughUrl', class: Google::Apis::DfareportingV2_7::ClickThroughUrl, decorator: Google::Apis::DfareportingV2_7::ClickThroughUrl::Representation property :enabled, as: 'enabled' - property :exit_id, as: 'exitId' + property :exit_id, :numeric_string => true, as: 'exitId' end end class Rule # @private class Representation < Google::Apis::Core::JsonRepresentation - property :asset_id, as: 'assetId' + property :asset_id, :numeric_string => true, as: 'assetId' property :name, as: 'name' - property :targeting_template_id, as: 'targetingTemplateId' + property :targeting_template_id, :numeric_string => true, as: 'targetingTemplateId' end end class Site # @private class Representation < Google::Apis::Core::JsonRepresentation - property :account_id, as: 'accountId' + property :account_id, :numeric_string => true, as: 'accountId' property :approved, as: 'approved' - property :directory_site_id, as: 'directorySiteId' + property :directory_site_id, :numeric_string => true, as: 'directorySiteId' property :directory_site_id_dimension_value, as: 'directorySiteIdDimensionValue', class: Google::Apis::DfareportingV2_7::DimensionValue, decorator: Google::Apis::DfareportingV2_7::DimensionValue::Representation - property :id, as: 'id' + property :id, :numeric_string => true, as: 'id' property :id_dimension_value, as: 'idDimensionValue', class: Google::Apis::DfareportingV2_7::DimensionValue, decorator: Google::Apis::DfareportingV2_7::DimensionValue::Representation property :key_name, as: 'keyName' @@ -3850,7 +3850,7 @@ module Google property :site_settings, as: 'siteSettings', class: Google::Apis::DfareportingV2_7::SiteSettings, decorator: Google::Apis::DfareportingV2_7::SiteSettings::Representation - property :subaccount_id, as: 'subaccountId' + property :subaccount_id, :numeric_string => true, as: 'subaccountId' end end @@ -3861,7 +3861,7 @@ module Google property :contact_type, as: 'contactType' property :email, as: 'email' property :first_name, as: 'firstName' - property :id, as: 'id' + property :id, :numeric_string => true, as: 'id' property :last_name, as: 'lastName' property :phone, as: 'phone' property :title, as: 'title' @@ -3900,7 +3900,7 @@ module Google class Representation < Google::Apis::Core::JsonRepresentation property :height, as: 'height' property :iab, as: 'iab' - property :id, as: 'id' + property :id, :numeric_string => true, as: 'id' property :kind, as: 'kind' property :width, as: 'width' end @@ -3939,9 +3939,9 @@ module Google class Subaccount # @private class Representation < Google::Apis::Core::JsonRepresentation - property :account_id, as: 'accountId' + property :account_id, :numeric_string => true, as: 'accountId' collection :available_permission_ids, as: 'availablePermissionIds' - property :id, as: 'id' + property :id, :numeric_string => true, as: 'id' property :kind, as: 'kind' property :name, as: 'name' end @@ -3960,9 +3960,9 @@ module Google class TagData # @private class Representation < Google::Apis::Core::JsonRepresentation - property :ad_id, as: 'adId' + property :ad_id, :numeric_string => true, as: 'adId' property :click_tag, as: 'clickTag' - property :creative_id, as: 'creativeId' + property :creative_id, :numeric_string => true, as: 'creativeId' property :format, as: 'format' property :impression_tag, as: 'impressionTag' end @@ -3997,19 +3997,19 @@ module Google class TargetableRemarketingList # @private class Representation < Google::Apis::Core::JsonRepresentation - property :account_id, as: 'accountId' + property :account_id, :numeric_string => true, as: 'accountId' property :active, as: 'active' - property :advertiser_id, as: 'advertiserId' + property :advertiser_id, :numeric_string => true, as: 'advertiserId' property :advertiser_id_dimension_value, as: 'advertiserIdDimensionValue', class: Google::Apis::DfareportingV2_7::DimensionValue, decorator: Google::Apis::DfareportingV2_7::DimensionValue::Representation property :description, as: 'description' - property :id, as: 'id' + property :id, :numeric_string => true, as: 'id' property :kind, as: 'kind' - property :life_span, as: 'lifeSpan' - property :list_size, as: 'listSize' + property :life_span, :numeric_string => true, as: 'lifeSpan' + property :list_size, :numeric_string => true, as: 'listSize' property :list_source, as: 'listSource' property :name, as: 'name' - property :subaccount_id, as: 'subaccountId' + property :subaccount_id, :numeric_string => true, as: 'subaccountId' end end @@ -4026,15 +4026,15 @@ module Google class TargetingTemplate # @private class Representation < Google::Apis::Core::JsonRepresentation - property :account_id, as: 'accountId' - property :advertiser_id, as: 'advertiserId' + property :account_id, :numeric_string => true, as: 'accountId' + property :advertiser_id, :numeric_string => true, as: 'advertiserId' property :advertiser_id_dimension_value, as: 'advertiserIdDimensionValue', class: Google::Apis::DfareportingV2_7::DimensionValue, decorator: Google::Apis::DfareportingV2_7::DimensionValue::Representation property :day_part_targeting, as: 'dayPartTargeting', class: Google::Apis::DfareportingV2_7::DayPartTargeting, decorator: Google::Apis::DfareportingV2_7::DayPartTargeting::Representation property :geo_targeting, as: 'geoTargeting', class: Google::Apis::DfareportingV2_7::GeoTargeting, decorator: Google::Apis::DfareportingV2_7::GeoTargeting::Representation - property :id, as: 'id' + property :id, :numeric_string => true, as: 'id' property :key_value_targeting_expression, as: 'keyValueTargetingExpression', class: Google::Apis::DfareportingV2_7::KeyValueTargetingExpression, decorator: Google::Apis::DfareportingV2_7::KeyValueTargetingExpression::Representation property :kind, as: 'kind' @@ -4043,7 +4043,7 @@ module Google property :list_targeting_expression, as: 'listTargetingExpression', class: Google::Apis::DfareportingV2_7::ListTargetingExpression, decorator: Google::Apis::DfareportingV2_7::ListTargetingExpression::Representation property :name, as: 'name' - property :subaccount_id, as: 'subaccountId' + property :subaccount_id, :numeric_string => true, as: 'subaccountId' property :technology_targeting, as: 'technologyTargeting', class: Google::Apis::DfareportingV2_7::TechnologyTargeting, decorator: Google::Apis::DfareportingV2_7::TechnologyTargeting::Representation end @@ -4113,12 +4113,12 @@ module Google class UserProfile # @private class Representation < Google::Apis::Core::JsonRepresentation - property :account_id, as: 'accountId' + property :account_id, :numeric_string => true, as: 'accountId' property :account_name, as: 'accountName' property :etag, as: 'etag' property :kind, as: 'kind' - property :profile_id, as: 'profileId' - property :sub_account_id, as: 'subAccountId' + property :profile_id, :numeric_string => true, as: 'profileId' + property :sub_account_id, :numeric_string => true, as: 'subAccountId' property :sub_account_name, as: 'subAccountName' property :user_name, as: 'userName' end @@ -4137,15 +4137,15 @@ module Google class UserRole # @private class Representation < Google::Apis::Core::JsonRepresentation - property :account_id, as: 'accountId' + property :account_id, :numeric_string => true, as: 'accountId' property :default_user_role, as: 'defaultUserRole' - property :id, as: 'id' + property :id, :numeric_string => true, as: 'id' property :kind, as: 'kind' property :name, as: 'name' - property :parent_user_role_id, as: 'parentUserRoleId' + property :parent_user_role_id, :numeric_string => true, as: 'parentUserRoleId' collection :permissions, as: 'permissions', class: Google::Apis::DfareportingV2_7::UserRolePermission, decorator: Google::Apis::DfareportingV2_7::UserRolePermission::Representation - property :subaccount_id, as: 'subaccountId' + property :subaccount_id, :numeric_string => true, as: 'subaccountId' end end @@ -4153,17 +4153,17 @@ module Google # @private class Representation < Google::Apis::Core::JsonRepresentation property :availability, as: 'availability' - property :id, as: 'id' + property :id, :numeric_string => true, as: 'id' property :kind, as: 'kind' property :name, as: 'name' - property :permission_group_id, as: 'permissionGroupId' + property :permission_group_id, :numeric_string => true, as: 'permissionGroupId' end end class UserRolePermissionGroup # @private class Representation < Google::Apis::Core::JsonRepresentation - property :id, as: 'id' + property :id, :numeric_string => true, as: 'id' property :kind, as: 'kind' property :name, as: 'name' end diff --git a/generated/google/apis/dfareporting_v2_7/service.rb b/generated/google/apis/dfareporting_v2_7/service.rb index 9c8d3762f..42a995f85 100644 --- a/generated/google/apis/dfareporting_v2_7/service.rb +++ b/generated/google/apis/dfareporting_v2_7/service.rb @@ -50,12 +50,13 @@ module Google def initialize super('https://www.googleapis.com/', 'dfareporting/v2.7/') + @batch_path = 'batch' end # Gets the account's active ad summary by account ID. - # @param [String] profile_id + # @param [Fixnum] profile_id # User profile ID associated with this request. - # @param [String] summary_account_id + # @param [Fixnum] summary_account_id # Account ID. # @param [String] fields # Selector specifying which fields to include in a partial response. @@ -91,9 +92,9 @@ module Google end # Gets one account permission group by ID. - # @param [String] profile_id + # @param [Fixnum] profile_id # User profile ID associated with this request. - # @param [String] id + # @param [Fixnum] id # Account permission group ID. # @param [String] fields # Selector specifying which fields to include in a partial response. @@ -129,7 +130,7 @@ module Google end # Retrieves the list of account permission groups. - # @param [String] profile_id + # @param [Fixnum] profile_id # User profile ID associated with this request. # @param [String] fields # Selector specifying which fields to include in a partial response. @@ -164,9 +165,9 @@ module Google end # Gets one account permission by ID. - # @param [String] profile_id + # @param [Fixnum] profile_id # User profile ID associated with this request. - # @param [String] id + # @param [Fixnum] id # Account permission ID. # @param [String] fields # Selector specifying which fields to include in a partial response. @@ -202,7 +203,7 @@ module Google end # Retrieves the list of account permissions. - # @param [String] profile_id + # @param [Fixnum] profile_id # User profile ID associated with this request. # @param [String] fields # Selector specifying which fields to include in a partial response. @@ -237,9 +238,9 @@ module Google end # Gets one account user profile by ID. - # @param [String] profile_id + # @param [Fixnum] profile_id # User profile ID associated with this request. - # @param [String] id + # @param [Fixnum] id # User profile ID. # @param [String] fields # Selector specifying which fields to include in a partial response. @@ -275,7 +276,7 @@ module Google end # Inserts a new account user profile. - # @param [String] profile_id + # @param [Fixnum] profile_id # User profile ID associated with this request. # @param [Google::Apis::DfareportingV2_7::AccountUserProfile] account_user_profile_object # @param [String] fields @@ -314,11 +315,11 @@ module Google # Retrieves a list of account user profiles, possibly filtered. This method # supports paging. - # @param [String] profile_id + # @param [Fixnum] profile_id # User profile ID associated with this request. # @param [Boolean] active # Select only active user profiles. - # @param [Array, String] ids + # @param [Array, Fixnum] ids # Select only user profiles with these IDs. # @param [Fixnum] max_results # Maximum number of results to return. @@ -336,9 +337,9 @@ module Google # Field by which to sort the list. # @param [String] sort_order # Order of sorted results, default is ASCENDING. - # @param [String] subaccount_id + # @param [Fixnum] subaccount_id # Select only user profiles with the specified subaccount ID. - # @param [String] user_role_id + # @param [Fixnum] user_role_id # Select only user profiles with the specified user role ID. # @param [String] fields # Selector specifying which fields to include in a partial response. @@ -382,9 +383,9 @@ module Google end # Updates an existing account user profile. This method supports patch semantics. - # @param [String] profile_id + # @param [Fixnum] profile_id # User profile ID associated with this request. - # @param [String] id + # @param [Fixnum] id # User profile ID. # @param [Google::Apis::DfareportingV2_7::AccountUserProfile] account_user_profile_object # @param [String] fields @@ -423,7 +424,7 @@ module Google end # Updates an existing account user profile. - # @param [String] profile_id + # @param [Fixnum] profile_id # User profile ID associated with this request. # @param [Google::Apis::DfareportingV2_7::AccountUserProfile] account_user_profile_object # @param [String] fields @@ -461,9 +462,9 @@ module Google end # Gets one account by ID. - # @param [String] profile_id + # @param [Fixnum] profile_id # User profile ID associated with this request. - # @param [String] id + # @param [Fixnum] id # Account ID. # @param [String] fields # Selector specifying which fields to include in a partial response. @@ -499,12 +500,12 @@ module Google end # Retrieves the list of accounts, possibly filtered. This method supports paging. - # @param [String] profile_id + # @param [Fixnum] profile_id # User profile ID associated with this request. # @param [Boolean] active # Select only active accounts. Don't set this field to select both active and # non-active accounts. - # @param [Array, String] ids + # @param [Array, Fixnum] ids # Select only accounts with these IDs. # @param [Fixnum] max_results # Maximum number of results to return. @@ -561,9 +562,9 @@ module Google end # Updates an existing account. This method supports patch semantics. - # @param [String] profile_id + # @param [Fixnum] profile_id # User profile ID associated with this request. - # @param [String] id + # @param [Fixnum] id # Account ID. # @param [Google::Apis::DfareportingV2_7::Account] account_object # @param [String] fields @@ -602,7 +603,7 @@ module Google end # Updates an existing account. - # @param [String] profile_id + # @param [Fixnum] profile_id # User profile ID associated with this request. # @param [Google::Apis::DfareportingV2_7::Account] account_object # @param [String] fields @@ -640,9 +641,9 @@ module Google end # Gets one ad by ID. - # @param [String] profile_id + # @param [Fixnum] profile_id # User profile ID associated with this request. - # @param [String] id + # @param [Fixnum] id # Ad ID. # @param [String] fields # Selector specifying which fields to include in a partial response. @@ -678,7 +679,7 @@ module Google end # Inserts a new ad. - # @param [String] profile_id + # @param [Fixnum] profile_id # User profile ID associated with this request. # @param [Google::Apis::DfareportingV2_7::Ad] ad_object # @param [String] fields @@ -716,17 +717,17 @@ module Google end # Retrieves a list of ads, possibly filtered. This method supports paging. - # @param [String] profile_id + # @param [Fixnum] profile_id # User profile ID associated with this request. # @param [Boolean] active # Select only active ads. - # @param [String] advertiser_id + # @param [Fixnum] advertiser_id # Select only ads with this advertiser ID. # @param [Boolean] archived # Select only archived ads. - # @param [Array, String] audience_segment_ids + # @param [Array, Fixnum] audience_segment_ids # Select only ads with these audience segment IDs. - # @param [Array, String] campaign_ids + # @param [Array, Fixnum] campaign_ids # Select only ads with these campaign IDs. # @param [String] compatibility # Select default ads with the specified compatibility. Applicable when type is @@ -735,27 +736,27 @@ module Google # respectively. APP and APP_INTERSTITIAL are for rendering in mobile apps. # IN_STREAM_VIDEO refers to rendering an in-stream video ads developed with the # VAST standard. - # @param [Array, String] creative_ids + # @param [Array, Fixnum] creative_ids # Select only ads with these creative IDs assigned. - # @param [Array, String] creative_optimization_configuration_ids + # @param [Array, Fixnum] creative_optimization_configuration_ids # Select only ads with these creative optimization configuration IDs. # @param [Boolean] dynamic_click_tracker # Select only dynamic click trackers. Applicable when type is # AD_SERVING_CLICK_TRACKER. If true, select dynamic click trackers. If false, # select static click trackers. Leave unset to select both. - # @param [Array, String] ids + # @param [Array, Fixnum] ids # Select only ads with these IDs. - # @param [Array, String] landing_page_ids + # @param [Array, Fixnum] landing_page_ids # Select only ads with these landing page IDs. # @param [Fixnum] max_results # Maximum number of results to return. - # @param [String] overridden_event_tag_id + # @param [Fixnum] overridden_event_tag_id # Select only ads with this event tag override ID. # @param [String] page_token # Value of the nextPageToken from the previous result page. - # @param [Array, String] placement_ids + # @param [Array, Fixnum] placement_ids # Select only ads with these placement IDs assigned. - # @param [Array, String] remarketing_list_ids + # @param [Array, Fixnum] remarketing_list_ids # Select only ads whose list targeting expression use these remarketing list IDs. # @param [String] search_string # Allows searching for objects by name or ID. Wildcards (*) are allowed. For @@ -764,7 +765,7 @@ module Google # implicitly at the start and the end of the search string. For example, a # search string of "ad" will match objects with name "my ad", "ad 2015", or # simply "ad". - # @param [Array, String] size_ids + # @param [Array, Fixnum] size_ids # Select only ads with these size IDs. # @param [String] sort_field # Field by which to sort the list. @@ -832,9 +833,9 @@ module Google end # Updates an existing ad. This method supports patch semantics. - # @param [String] profile_id + # @param [Fixnum] profile_id # User profile ID associated with this request. - # @param [String] id + # @param [Fixnum] id # Ad ID. # @param [Google::Apis::DfareportingV2_7::Ad] ad_object # @param [String] fields @@ -873,7 +874,7 @@ module Google end # Updates an existing ad. - # @param [String] profile_id + # @param [Fixnum] profile_id # User profile ID associated with this request. # @param [Google::Apis::DfareportingV2_7::Ad] ad_object # @param [String] fields @@ -911,9 +912,9 @@ module Google end # Deletes an existing advertiser group. - # @param [String] profile_id + # @param [Fixnum] profile_id # User profile ID associated with this request. - # @param [String] id + # @param [Fixnum] id # Advertiser group ID. # @param [String] fields # Selector specifying which fields to include in a partial response. @@ -947,9 +948,9 @@ module Google end # Gets one advertiser group by ID. - # @param [String] profile_id + # @param [Fixnum] profile_id # User profile ID associated with this request. - # @param [String] id + # @param [Fixnum] id # Advertiser group ID. # @param [String] fields # Selector specifying which fields to include in a partial response. @@ -985,7 +986,7 @@ module Google end # Inserts a new advertiser group. - # @param [String] profile_id + # @param [Fixnum] profile_id # User profile ID associated with this request. # @param [Google::Apis::DfareportingV2_7::AdvertiserGroup] advertiser_group_object # @param [String] fields @@ -1024,9 +1025,9 @@ module Google # Retrieves a list of advertiser groups, possibly filtered. This method supports # paging. - # @param [String] profile_id + # @param [Fixnum] profile_id # User profile ID associated with this request. - # @param [Array, String] ids + # @param [Array, Fixnum] ids # Select only advertiser groups with these IDs. # @param [Fixnum] max_results # Maximum number of results to return. @@ -1083,9 +1084,9 @@ module Google end # Updates an existing advertiser group. This method supports patch semantics. - # @param [String] profile_id + # @param [Fixnum] profile_id # User profile ID associated with this request. - # @param [String] id + # @param [Fixnum] id # Advertiser group ID. # @param [Google::Apis::DfareportingV2_7::AdvertiserGroup] advertiser_group_object # @param [String] fields @@ -1124,7 +1125,7 @@ module Google end # Updates an existing advertiser group. - # @param [String] profile_id + # @param [Fixnum] profile_id # User profile ID associated with this request. # @param [Google::Apis::DfareportingV2_7::AdvertiserGroup] advertiser_group_object # @param [String] fields @@ -1162,9 +1163,9 @@ module Google end # Gets one advertiser by ID. - # @param [String] profile_id + # @param [Fixnum] profile_id # User profile ID associated with this request. - # @param [String] id + # @param [Fixnum] id # Advertiser ID. # @param [String] fields # Selector specifying which fields to include in a partial response. @@ -1200,7 +1201,7 @@ module Google end # Inserts a new advertiser. - # @param [String] profile_id + # @param [Fixnum] profile_id # User profile ID associated with this request. # @param [Google::Apis::DfareportingV2_7::Advertiser] advertiser_object # @param [String] fields @@ -1239,13 +1240,13 @@ module Google # Retrieves a list of advertisers, possibly filtered. This method supports # paging. - # @param [String] profile_id + # @param [Fixnum] profile_id # User profile ID associated with this request. - # @param [Array, String] advertiser_group_ids + # @param [Array, Fixnum] advertiser_group_ids # Select only advertisers with these advertiser group IDs. - # @param [Array, String] floodlight_configuration_ids + # @param [Array, Fixnum] floodlight_configuration_ids # Select only advertisers with these floodlight configuration IDs. - # @param [Array, String] ids + # @param [Array, Fixnum] ids # Select only advertisers with these IDs. # @param [Boolean] include_advertisers_without_groups_only # Select only advertisers which do not belong to any advertiser group. @@ -1269,7 +1270,7 @@ module Google # Order of sorted results, default is ASCENDING. # @param [String] status # Select only advertisers with the specified status. - # @param [String] subaccount_id + # @param [Fixnum] subaccount_id # Select only advertisers with these subaccount IDs. # @param [String] fields # Selector specifying which fields to include in a partial response. @@ -1316,9 +1317,9 @@ module Google end # Updates an existing advertiser. This method supports patch semantics. - # @param [String] profile_id + # @param [Fixnum] profile_id # User profile ID associated with this request. - # @param [String] id + # @param [Fixnum] id # Advertiser ID. # @param [Google::Apis::DfareportingV2_7::Advertiser] advertiser_object # @param [String] fields @@ -1357,7 +1358,7 @@ module Google end # Updates an existing advertiser. - # @param [String] profile_id + # @param [Fixnum] profile_id # User profile ID associated with this request. # @param [Google::Apis::DfareportingV2_7::Advertiser] advertiser_object # @param [String] fields @@ -1395,7 +1396,7 @@ module Google end # Retrieves a list of browsers. - # @param [String] profile_id + # @param [Fixnum] profile_id # User profile ID associated with this request. # @param [String] fields # Selector specifying which fields to include in a partial response. @@ -1432,9 +1433,9 @@ module Google # Associates a creative with the specified campaign. This method creates a # default ad with dimensions matching the creative in the campaign if such a # default ad does not exist already. - # @param [String] profile_id + # @param [Fixnum] profile_id # User profile ID associated with this request. - # @param [String] campaign_id + # @param [Fixnum] campaign_id # Campaign ID in this association. # @param [Google::Apis::DfareportingV2_7::CampaignCreativeAssociation] campaign_creative_association_object # @param [String] fields @@ -1474,9 +1475,9 @@ module Google # Retrieves the list of creative IDs associated with the specified campaign. # This method supports paging. - # @param [String] profile_id + # @param [Fixnum] profile_id # User profile ID associated with this request. - # @param [String] campaign_id + # @param [Fixnum] campaign_id # Campaign ID in this association. # @param [Fixnum] max_results # Maximum number of results to return. @@ -1521,9 +1522,9 @@ module Google end # Gets one campaign by ID. - # @param [String] profile_id + # @param [Fixnum] profile_id # User profile ID associated with this request. - # @param [String] id + # @param [Fixnum] id # Campaign ID. # @param [String] fields # Selector specifying which fields to include in a partial response. @@ -1559,7 +1560,7 @@ module Google end # Inserts a new campaign. - # @param [String] profile_id + # @param [Fixnum] profile_id # User profile ID associated with this request. # @param [String] default_landing_page_name # Default landing page name for this new campaign. Must be less than 256 @@ -1604,24 +1605,24 @@ module Google end # Retrieves a list of campaigns, possibly filtered. This method supports paging. - # @param [String] profile_id + # @param [Fixnum] profile_id # User profile ID associated with this request. - # @param [Array, String] advertiser_group_ids + # @param [Array, Fixnum] advertiser_group_ids # Select only campaigns whose advertisers belong to these advertiser groups. - # @param [Array, String] advertiser_ids + # @param [Array, Fixnum] advertiser_ids # Select only campaigns that belong to these advertisers. # @param [Boolean] archived # Select only archived campaigns. Don't set this field to select both archived # and non-archived campaigns. # @param [Boolean] at_least_one_optimization_activity # Select only campaigns that have at least one optimization activity. - # @param [Array, String] excluded_ids + # @param [Array, Fixnum] excluded_ids # Exclude campaigns with these IDs. - # @param [Array, String] ids + # @param [Array, Fixnum] ids # Select only campaigns with these IDs. # @param [Fixnum] max_results # Maximum number of results to return. - # @param [String] overridden_event_tag_id + # @param [Fixnum] overridden_event_tag_id # Select only campaigns that have overridden this event tag ID. # @param [String] page_token # Value of the nextPageToken from the previous result page. @@ -1636,7 +1637,7 @@ module Google # Field by which to sort the list. # @param [String] sort_order # Order of sorted results, default is ASCENDING. - # @param [String] subaccount_id + # @param [Fixnum] subaccount_id # Select only campaigns that belong to this subaccount. # @param [String] fields # Selector specifying which fields to include in a partial response. @@ -1684,9 +1685,9 @@ module Google end # Updates an existing campaign. This method supports patch semantics. - # @param [String] profile_id + # @param [Fixnum] profile_id # User profile ID associated with this request. - # @param [String] id + # @param [Fixnum] id # Campaign ID. # @param [Google::Apis::DfareportingV2_7::Campaign] campaign_object # @param [String] fields @@ -1725,7 +1726,7 @@ module Google end # Updates an existing campaign. - # @param [String] profile_id + # @param [Fixnum] profile_id # User profile ID associated with this request. # @param [Google::Apis::DfareportingV2_7::Campaign] campaign_object # @param [String] fields @@ -1763,9 +1764,9 @@ module Google end # Gets one change log by ID. - # @param [String] profile_id + # @param [Fixnum] profile_id # User profile ID associated with this request. - # @param [String] id + # @param [Fixnum] id # Change log ID. # @param [String] fields # Selector specifying which fields to include in a partial response. @@ -1801,11 +1802,11 @@ module Google end # Retrieves a list of change logs. This method supports paging. - # @param [String] profile_id + # @param [Fixnum] profile_id # User profile ID associated with this request. # @param [String] action # Select only change logs with the specified action. - # @param [Array, String] ids + # @param [Array, Fixnum] ids # Select only change logs with these IDs. # @param [String] max_change_time # Select only change logs whose change time is before the specified @@ -1823,7 +1824,7 @@ module Google # the format is "2015-07-18T22:54:00-04:00". In other words, the year, month, # day, the letter T, the hour (24-hour clock system), minute, second, and then # the time zone offset. - # @param [Array, String] object_ids + # @param [Array, Fixnum] object_ids # Select only change logs with these object IDs. # @param [String] object_type # Select only change logs with the specified object type. @@ -1832,7 +1833,7 @@ module Google # @param [String] search_string # Select only change logs whose object ID, user name, old or new values match # the search string. - # @param [Array, String] user_profile_ids + # @param [Array, Fixnum] user_profile_ids # Select only change logs with these user profile IDs. # @param [String] fields # Selector specifying which fields to include in a partial response. @@ -1877,15 +1878,15 @@ module Google end # Retrieves a list of cities, possibly filtered. - # @param [String] profile_id + # @param [Fixnum] profile_id # User profile ID associated with this request. - # @param [Array, String] country_dart_ids + # @param [Array, Fixnum] country_dart_ids # Select only cities from these countries. - # @param [Array, String] dart_ids + # @param [Array, Fixnum] dart_ids # Select only cities with these DART IDs. # @param [String] name_prefix # Select only cities with names starting with this prefix. - # @param [Array, String] region_dart_ids + # @param [Array, Fixnum] region_dart_ids # Select only cities from these regions. # @param [String] fields # Selector specifying which fields to include in a partial response. @@ -1924,9 +1925,9 @@ module Google end # Gets one connection type by ID. - # @param [String] profile_id + # @param [Fixnum] profile_id # User profile ID associated with this request. - # @param [String] id + # @param [Fixnum] id # Connection type ID. # @param [String] fields # Selector specifying which fields to include in a partial response. @@ -1962,7 +1963,7 @@ module Google end # Retrieves a list of connection types. - # @param [String] profile_id + # @param [Fixnum] profile_id # User profile ID associated with this request. # @param [String] fields # Selector specifying which fields to include in a partial response. @@ -1997,9 +1998,9 @@ module Google end # Deletes an existing content category. - # @param [String] profile_id + # @param [Fixnum] profile_id # User profile ID associated with this request. - # @param [String] id + # @param [Fixnum] id # Content category ID. # @param [String] fields # Selector specifying which fields to include in a partial response. @@ -2033,9 +2034,9 @@ module Google end # Gets one content category by ID. - # @param [String] profile_id + # @param [Fixnum] profile_id # User profile ID associated with this request. - # @param [String] id + # @param [Fixnum] id # Content category ID. # @param [String] fields # Selector specifying which fields to include in a partial response. @@ -2071,7 +2072,7 @@ module Google end # Inserts a new content category. - # @param [String] profile_id + # @param [Fixnum] profile_id # User profile ID associated with this request. # @param [Google::Apis::DfareportingV2_7::ContentCategory] content_category_object # @param [String] fields @@ -2110,9 +2111,9 @@ module Google # Retrieves a list of content categories, possibly filtered. This method # supports paging. - # @param [String] profile_id + # @param [Fixnum] profile_id # User profile ID associated with this request. - # @param [Array, String] ids + # @param [Array, Fixnum] ids # Select only content categories with these IDs. # @param [Fixnum] max_results # Maximum number of results to return. @@ -2169,9 +2170,9 @@ module Google end # Updates an existing content category. This method supports patch semantics. - # @param [String] profile_id + # @param [Fixnum] profile_id # User profile ID associated with this request. - # @param [String] id + # @param [Fixnum] id # Content category ID. # @param [Google::Apis::DfareportingV2_7::ContentCategory] content_category_object # @param [String] fields @@ -2210,7 +2211,7 @@ module Google end # Updates an existing content category. - # @param [String] profile_id + # @param [Fixnum] profile_id # User profile ID associated with this request. # @param [Google::Apis::DfareportingV2_7::ContentCategory] content_category_object # @param [String] fields @@ -2248,7 +2249,7 @@ module Google end # Inserts conversions. - # @param [String] profile_id + # @param [Fixnum] profile_id # User profile ID associated with this request. # @param [Google::Apis::DfareportingV2_7::ConversionsBatchInsertRequest] conversions_batch_insert_request_object # @param [String] fields @@ -2286,9 +2287,9 @@ module Google end # Gets one country by ID. - # @param [String] profile_id + # @param [Fixnum] profile_id # User profile ID associated with this request. - # @param [String] dart_id + # @param [Fixnum] dart_id # Country DART ID. # @param [String] fields # Selector specifying which fields to include in a partial response. @@ -2324,7 +2325,7 @@ module Google end # Retrieves a list of countries. - # @param [String] profile_id + # @param [Fixnum] profile_id # User profile ID associated with this request. # @param [String] fields # Selector specifying which fields to include in a partial response. @@ -2359,9 +2360,9 @@ module Google end # Inserts a new creative asset. - # @param [String] profile_id + # @param [Fixnum] profile_id # User profile ID associated with this request. - # @param [String] advertiser_id + # @param [Fixnum] advertiser_id # Advertiser ID of this creative. This is a required field. # @param [Google::Apis::DfareportingV2_7::CreativeAssetMetadata] creative_asset_metadata_object # @param [String] fields @@ -2410,11 +2411,11 @@ module Google end # Deletes an existing creative field value. - # @param [String] profile_id + # @param [Fixnum] profile_id # User profile ID associated with this request. - # @param [String] creative_field_id + # @param [Fixnum] creative_field_id # Creative field ID for this creative field value. - # @param [String] id + # @param [Fixnum] id # Creative Field Value ID # @param [String] fields # Selector specifying which fields to include in a partial response. @@ -2449,11 +2450,11 @@ module Google end # Gets one creative field value by ID. - # @param [String] profile_id + # @param [Fixnum] profile_id # User profile ID associated with this request. - # @param [String] creative_field_id + # @param [Fixnum] creative_field_id # Creative field ID for this creative field value. - # @param [String] id + # @param [Fixnum] id # Creative Field Value ID # @param [String] fields # Selector specifying which fields to include in a partial response. @@ -2490,9 +2491,9 @@ module Google end # Inserts a new creative field value. - # @param [String] profile_id + # @param [Fixnum] profile_id # User profile ID associated with this request. - # @param [String] creative_field_id + # @param [Fixnum] creative_field_id # Creative field ID for this creative field value. # @param [Google::Apis::DfareportingV2_7::CreativeFieldValue] creative_field_value_object # @param [String] fields @@ -2532,11 +2533,11 @@ module Google # Retrieves a list of creative field values, possibly filtered. This method # supports paging. - # @param [String] profile_id + # @param [Fixnum] profile_id # User profile ID associated with this request. - # @param [String] creative_field_id + # @param [Fixnum] creative_field_id # Creative field ID for this creative field value. - # @param [Array, String] ids + # @param [Array, Fixnum] ids # Select only creative field values with these IDs. # @param [Fixnum] max_results # Maximum number of results to return. @@ -2589,11 +2590,11 @@ module Google end # Updates an existing creative field value. This method supports patch semantics. - # @param [String] profile_id + # @param [Fixnum] profile_id # User profile ID associated with this request. - # @param [String] creative_field_id + # @param [Fixnum] creative_field_id # Creative field ID for this creative field value. - # @param [String] id + # @param [Fixnum] id # Creative Field Value ID # @param [Google::Apis::DfareportingV2_7::CreativeFieldValue] creative_field_value_object # @param [String] fields @@ -2633,9 +2634,9 @@ module Google end # Updates an existing creative field value. - # @param [String] profile_id + # @param [Fixnum] profile_id # User profile ID associated with this request. - # @param [String] creative_field_id + # @param [Fixnum] creative_field_id # Creative field ID for this creative field value. # @param [Google::Apis::DfareportingV2_7::CreativeFieldValue] creative_field_value_object # @param [String] fields @@ -2674,9 +2675,9 @@ module Google end # Deletes an existing creative field. - # @param [String] profile_id + # @param [Fixnum] profile_id # User profile ID associated with this request. - # @param [String] id + # @param [Fixnum] id # Creative Field ID # @param [String] fields # Selector specifying which fields to include in a partial response. @@ -2710,9 +2711,9 @@ module Google end # Gets one creative field by ID. - # @param [String] profile_id + # @param [Fixnum] profile_id # User profile ID associated with this request. - # @param [String] id + # @param [Fixnum] id # Creative Field ID # @param [String] fields # Selector specifying which fields to include in a partial response. @@ -2748,7 +2749,7 @@ module Google end # Inserts a new creative field. - # @param [String] profile_id + # @param [Fixnum] profile_id # User profile ID associated with this request. # @param [Google::Apis::DfareportingV2_7::CreativeField] creative_field_object # @param [String] fields @@ -2787,11 +2788,11 @@ module Google # Retrieves a list of creative fields, possibly filtered. This method supports # paging. - # @param [String] profile_id + # @param [Fixnum] profile_id # User profile ID associated with this request. - # @param [Array, String] advertiser_ids + # @param [Array, Fixnum] advertiser_ids # Select only creative fields that belong to these advertisers. - # @param [Array, String] ids + # @param [Array, Fixnum] ids # Select only creative fields with these IDs. # @param [Fixnum] max_results # Maximum number of results to return. @@ -2849,9 +2850,9 @@ module Google end # Updates an existing creative field. This method supports patch semantics. - # @param [String] profile_id + # @param [Fixnum] profile_id # User profile ID associated with this request. - # @param [String] id + # @param [Fixnum] id # Creative Field ID # @param [Google::Apis::DfareportingV2_7::CreativeField] creative_field_object # @param [String] fields @@ -2890,7 +2891,7 @@ module Google end # Updates an existing creative field. - # @param [String] profile_id + # @param [Fixnum] profile_id # User profile ID associated with this request. # @param [Google::Apis::DfareportingV2_7::CreativeField] creative_field_object # @param [String] fields @@ -2928,9 +2929,9 @@ module Google end # Gets one creative group by ID. - # @param [String] profile_id + # @param [Fixnum] profile_id # User profile ID associated with this request. - # @param [String] id + # @param [Fixnum] id # Creative group ID. # @param [String] fields # Selector specifying which fields to include in a partial response. @@ -2966,7 +2967,7 @@ module Google end # Inserts a new creative group. - # @param [String] profile_id + # @param [Fixnum] profile_id # User profile ID associated with this request. # @param [Google::Apis::DfareportingV2_7::CreativeGroup] creative_group_object # @param [String] fields @@ -3005,13 +3006,13 @@ module Google # Retrieves a list of creative groups, possibly filtered. This method supports # paging. - # @param [String] profile_id + # @param [Fixnum] profile_id # User profile ID associated with this request. - # @param [Array, String] advertiser_ids + # @param [Array, Fixnum] advertiser_ids # Select only creative groups that belong to these advertisers. # @param [Fixnum] group_number # Select only creative groups that belong to this subgroup. - # @param [Array, String] ids + # @param [Array, Fixnum] ids # Select only creative groups with these IDs. # @param [Fixnum] max_results # Maximum number of results to return. @@ -3070,9 +3071,9 @@ module Google end # Updates an existing creative group. This method supports patch semantics. - # @param [String] profile_id + # @param [Fixnum] profile_id # User profile ID associated with this request. - # @param [String] id + # @param [Fixnum] id # Creative group ID. # @param [Google::Apis::DfareportingV2_7::CreativeGroup] creative_group_object # @param [String] fields @@ -3111,7 +3112,7 @@ module Google end # Updates an existing creative group. - # @param [String] profile_id + # @param [Fixnum] profile_id # User profile ID associated with this request. # @param [Google::Apis::DfareportingV2_7::CreativeGroup] creative_group_object # @param [String] fields @@ -3149,9 +3150,9 @@ module Google end # Gets one creative by ID. - # @param [String] profile_id + # @param [Fixnum] profile_id # User profile ID associated with this request. - # @param [String] id + # @param [Fixnum] id # Creative ID. # @param [String] fields # Selector specifying which fields to include in a partial response. @@ -3187,7 +3188,7 @@ module Google end # Inserts a new creative. - # @param [String] profile_id + # @param [Fixnum] profile_id # User profile ID associated with this request. # @param [Google::Apis::DfareportingV2_7::Creative] creative_object # @param [String] fields @@ -3225,29 +3226,29 @@ module Google end # Retrieves a list of creatives, possibly filtered. This method supports paging. - # @param [String] profile_id + # @param [Fixnum] profile_id # User profile ID associated with this request. # @param [Boolean] active # Select only active creatives. Leave blank to select active and inactive # creatives. - # @param [String] advertiser_id + # @param [Fixnum] advertiser_id # Select only creatives with this advertiser ID. # @param [Boolean] archived # Select only archived creatives. Leave blank to select archived and unarchived # creatives. - # @param [String] campaign_id + # @param [Fixnum] campaign_id # Select only creatives with this campaign ID. - # @param [Array, String] companion_creative_ids + # @param [Array, Fixnum] companion_creative_ids # Select only in-stream video creatives with these companion IDs. - # @param [Array, String] creative_field_ids + # @param [Array, Fixnum] creative_field_ids # Select only creatives with these creative field IDs. - # @param [Array, String] ids + # @param [Array, Fixnum] ids # Select only creatives with these IDs. # @param [Fixnum] max_results # Maximum number of results to return. # @param [String] page_token # Value of the nextPageToken from the previous result page. - # @param [Array, String] rendering_ids + # @param [Array, Fixnum] rendering_ids # Select only creatives with these rendering IDs. # @param [String] search_string # Allows searching for objects by name or ID. Wildcards (*) are allowed. For @@ -3256,13 +3257,13 @@ module Google # also add wildcards implicitly at the start and the end of the search string. # For example, a search string of "creative" will match objects with name "my # creative", "creative 2015", or simply "creative". - # @param [Array, String] size_ids + # @param [Array, Fixnum] size_ids # Select only creatives with these size IDs. # @param [String] sort_field # Field by which to sort the list. # @param [String] sort_order # Order of sorted results, default is ASCENDING. - # @param [String] studio_creative_id + # @param [Fixnum] studio_creative_id # Select only creatives corresponding to this Studio creative ID. # @param [Array, String] types # Select only creatives with these creative types. @@ -3315,9 +3316,9 @@ module Google end # Updates an existing creative. This method supports patch semantics. - # @param [String] profile_id + # @param [Fixnum] profile_id # User profile ID associated with this request. - # @param [String] id + # @param [Fixnum] id # Creative ID. # @param [Google::Apis::DfareportingV2_7::Creative] creative_object # @param [String] fields @@ -3356,7 +3357,7 @@ module Google end # Updates an existing creative. - # @param [String] profile_id + # @param [Fixnum] profile_id # User profile ID associated with this request. # @param [Google::Apis::DfareportingV2_7::Creative] creative_object # @param [String] fields @@ -3394,7 +3395,7 @@ module Google end # Retrieves list of report dimension values for a list of filters. - # @param [String] profile_id + # @param [Fixnum] profile_id # The DFA user profile ID. # @param [Google::Apis::DfareportingV2_7::DimensionValueRequest] dimension_value_request_object # @param [Fixnum] max_results @@ -3438,9 +3439,9 @@ module Google end # Gets one directory site contact by ID. - # @param [String] profile_id + # @param [Fixnum] profile_id # User profile ID associated with this request. - # @param [String] id + # @param [Fixnum] id # Directory site contact ID. # @param [String] fields # Selector specifying which fields to include in a partial response. @@ -3477,12 +3478,12 @@ module Google # Retrieves a list of directory site contacts, possibly filtered. This method # supports paging. - # @param [String] profile_id + # @param [Fixnum] profile_id # User profile ID associated with this request. - # @param [Array, String] directory_site_ids + # @param [Array, Fixnum] directory_site_ids # Select only directory site contacts with these directory site IDs. This is a # required field. - # @param [Array, String] ids + # @param [Array, Fixnum] ids # Select only directory site contacts with these IDs. # @param [Fixnum] max_results # Maximum number of results to return. @@ -3541,9 +3542,9 @@ module Google end # Gets one directory site by ID. - # @param [String] profile_id + # @param [Fixnum] profile_id # User profile ID associated with this request. - # @param [String] id + # @param [Fixnum] id # Directory site ID. # @param [String] fields # Selector specifying which fields to include in a partial response. @@ -3579,7 +3580,7 @@ module Google end # Inserts a new directory site. - # @param [String] profile_id + # @param [Fixnum] profile_id # User profile ID associated with this request. # @param [Google::Apis::DfareportingV2_7::DirectorySite] directory_site_object # @param [String] fields @@ -3618,7 +3619,7 @@ module Google # Retrieves a list of directory sites, possibly filtered. This method supports # paging. - # @param [String] profile_id + # @param [Fixnum] profile_id # User profile ID associated with this request. # @param [Boolean] accepts_in_stream_video_placements # This search filter is no longer supported and will have no effect on the @@ -3632,17 +3633,17 @@ module Google # @param [Boolean] active # Select only active directory sites. Leave blank to retrieve both active and # inactive directory sites. - # @param [String] country_id + # @param [Fixnum] country_id # Select only directory sites with this country ID. # @param [String] dfp_network_code # Select only directory sites with this DFP network code. - # @param [Array, String] ids + # @param [Array, Fixnum] ids # Select only directory sites with these IDs. # @param [Fixnum] max_results # Maximum number of results to return. # @param [String] page_token # Value of the nextPageToken from the previous result page. - # @param [String] parent_id + # @param [Fixnum] parent_id # Select only directory sites with this parent ID. # @param [String] search_string # Allows searching for objects by name, ID or URL. Wildcards (*) are allowed. @@ -3702,9 +3703,9 @@ module Google end # Deletes an existing dynamic targeting key. - # @param [String] profile_id + # @param [Fixnum] profile_id # User profile ID associated with this request. - # @param [String] object_id_ + # @param [Fixnum] object_id_ # ID of the object of this dynamic targeting key. This is a required field. # @param [String] name # Name of this dynamic targeting key. This is a required field. Must be less @@ -3749,7 +3750,7 @@ module Google # level before being assigned to the advertiser's ads, creatives, or placements. # There is a maximum of 1000 keys per advertiser, out of which a maximum of 20 # keys can be assigned per ad, creative, or placement. - # @param [String] profile_id + # @param [Fixnum] profile_id # User profile ID associated with this request. # @param [Google::Apis::DfareportingV2_7::DynamicTargetingKey] dynamic_targeting_key_object # @param [String] fields @@ -3787,13 +3788,13 @@ module Google end # Retrieves a list of dynamic targeting keys. - # @param [String] profile_id + # @param [Fixnum] profile_id # User profile ID associated with this request. - # @param [String] advertiser_id + # @param [Fixnum] advertiser_id # Select only dynamic targeting keys whose object has this advertiser ID. # @param [Array, String] names # Select only dynamic targeting keys exactly matching these names. - # @param [String] object_id_ + # @param [Fixnum] object_id_ # Select only dynamic targeting keys with this object ID. # @param [String] object_type # Select only dynamic targeting keys with this object type. @@ -3834,9 +3835,9 @@ module Google end # Deletes an existing event tag. - # @param [String] profile_id + # @param [Fixnum] profile_id # User profile ID associated with this request. - # @param [String] id + # @param [Fixnum] id # Event tag ID. # @param [String] fields # Selector specifying which fields to include in a partial response. @@ -3870,9 +3871,9 @@ module Google end # Gets one event tag by ID. - # @param [String] profile_id + # @param [Fixnum] profile_id # User profile ID associated with this request. - # @param [String] id + # @param [Fixnum] id # Event tag ID. # @param [String] fields # Selector specifying which fields to include in a partial response. @@ -3908,7 +3909,7 @@ module Google end # Inserts a new event tag. - # @param [String] profile_id + # @param [Fixnum] profile_id # User profile ID associated with this request. # @param [Google::Apis::DfareportingV2_7::EventTag] event_tag_object # @param [String] fields @@ -3946,13 +3947,13 @@ module Google end # Retrieves a list of event tags, possibly filtered. - # @param [String] profile_id + # @param [Fixnum] profile_id # User profile ID associated with this request. - # @param [String] ad_id + # @param [Fixnum] ad_id # Select only event tags that belong to this ad. - # @param [String] advertiser_id + # @param [Fixnum] advertiser_id # Select only event tags that belong to this advertiser. - # @param [String] campaign_id + # @param [Fixnum] campaign_id # Select only event tags that belong to this campaign. # @param [Boolean] definitions_only # Examine only the specified campaign or advertiser's event tags for matching @@ -3973,7 +3974,7 @@ module Google # be used to specify whether to use a third-party pixel, a third-party # JavaScript URL, or a third-party click-through URL for either impression or # click tracking. - # @param [Array, String] ids + # @param [Array, Fixnum] ids # Select only event tags with these IDs. # @param [String] search_string # Allows searching for objects by name or ID. Wildcards (*) are allowed. For @@ -4029,9 +4030,9 @@ module Google end # Updates an existing event tag. This method supports patch semantics. - # @param [String] profile_id + # @param [Fixnum] profile_id # User profile ID associated with this request. - # @param [String] id + # @param [Fixnum] id # Event tag ID. # @param [Google::Apis::DfareportingV2_7::EventTag] event_tag_object # @param [String] fields @@ -4070,7 +4071,7 @@ module Google end # Updates an existing event tag. - # @param [String] profile_id + # @param [Fixnum] profile_id # User profile ID associated with this request. # @param [Google::Apis::DfareportingV2_7::EventTag] event_tag_object # @param [String] fields @@ -4108,9 +4109,9 @@ module Google end # Retrieves a report file by its report ID and file ID. - # @param [String] report_id + # @param [Fixnum] report_id # The ID of the report. - # @param [String] file_id + # @param [Fixnum] file_id # The ID of the report file. # @param [String] fields # Selector specifying which fields to include in a partial response. @@ -4153,7 +4154,7 @@ module Google end # Lists files for a user profile. - # @param [String] profile_id + # @param [Fixnum] profile_id # The DFA profile ID. # @param [Fixnum] max_results # Maximum number of results to return. @@ -4203,9 +4204,9 @@ module Google end # Deletes an existing floodlight activity. - # @param [String] profile_id + # @param [Fixnum] profile_id # User profile ID associated with this request. - # @param [String] id + # @param [Fixnum] id # Floodlight activity ID. # @param [String] fields # Selector specifying which fields to include in a partial response. @@ -4239,9 +4240,9 @@ module Google end # Generates a tag for a floodlight activity. - # @param [String] profile_id + # @param [Fixnum] profile_id # User profile ID associated with this request. - # @param [String] floodlight_activity_id + # @param [Fixnum] floodlight_activity_id # Floodlight activity ID for which we want to generate a tag. # @param [String] fields # Selector specifying which fields to include in a partial response. @@ -4277,9 +4278,9 @@ module Google end # Gets one floodlight activity by ID. - # @param [String] profile_id + # @param [Fixnum] profile_id # User profile ID associated with this request. - # @param [String] id + # @param [Fixnum] id # Floodlight activity ID. # @param [String] fields # Selector specifying which fields to include in a partial response. @@ -4315,7 +4316,7 @@ module Google end # Inserts a new floodlight activity. - # @param [String] profile_id + # @param [Fixnum] profile_id # User profile ID associated with this request. # @param [Google::Apis::DfareportingV2_7::FloodlightActivity] floodlight_activity_object # @param [String] fields @@ -4354,13 +4355,13 @@ module Google # Retrieves a list of floodlight activities, possibly filtered. This method # supports paging. - # @param [String] profile_id + # @param [Fixnum] profile_id # User profile ID associated with this request. - # @param [String] advertiser_id + # @param [Fixnum] advertiser_id # Select only floodlight activities for the specified advertiser ID. Must # specify either ids, advertiserId, or floodlightConfigurationId for a non-empty # result. - # @param [Array, String] floodlight_activity_group_ids + # @param [Array, Fixnum] floodlight_activity_group_ids # Select only floodlight activities with the specified floodlight activity group # IDs. # @param [String] floodlight_activity_group_name @@ -4372,11 +4373,11 @@ module Google # @param [String] floodlight_activity_group_type # Select only floodlight activities with the specified floodlight activity group # type. - # @param [String] floodlight_configuration_id + # @param [Fixnum] floodlight_configuration_id # Select only floodlight activities for the specified floodlight configuration # ID. Must specify either ids, advertiserId, or floodlightConfigurationId for a # non-empty result. - # @param [Array, String] ids + # @param [Array, Fixnum] ids # Select only floodlight activities with the specified IDs. Must specify either # ids, advertiserId, or floodlightConfigurationId for a non-empty result. # @param [Fixnum] max_results @@ -4443,9 +4444,9 @@ module Google end # Updates an existing floodlight activity. This method supports patch semantics. - # @param [String] profile_id + # @param [Fixnum] profile_id # User profile ID associated with this request. - # @param [String] id + # @param [Fixnum] id # Floodlight activity ID. # @param [Google::Apis::DfareportingV2_7::FloodlightActivity] floodlight_activity_object # @param [String] fields @@ -4484,7 +4485,7 @@ module Google end # Updates an existing floodlight activity. - # @param [String] profile_id + # @param [Fixnum] profile_id # User profile ID associated with this request. # @param [Google::Apis::DfareportingV2_7::FloodlightActivity] floodlight_activity_object # @param [String] fields @@ -4522,9 +4523,9 @@ module Google end # Gets one floodlight activity group by ID. - # @param [String] profile_id + # @param [Fixnum] profile_id # User profile ID associated with this request. - # @param [String] id + # @param [Fixnum] id # Floodlight activity Group ID. # @param [String] fields # Selector specifying which fields to include in a partial response. @@ -4560,7 +4561,7 @@ module Google end # Inserts a new floodlight activity group. - # @param [String] profile_id + # @param [Fixnum] profile_id # User profile ID associated with this request. # @param [Google::Apis::DfareportingV2_7::FloodlightActivityGroup] floodlight_activity_group_object # @param [String] fields @@ -4599,17 +4600,17 @@ module Google # Retrieves a list of floodlight activity groups, possibly filtered. This method # supports paging. - # @param [String] profile_id + # @param [Fixnum] profile_id # User profile ID associated with this request. - # @param [String] advertiser_id + # @param [Fixnum] advertiser_id # Select only floodlight activity groups with the specified advertiser ID. Must # specify either advertiserId or floodlightConfigurationId for a non-empty # result. - # @param [String] floodlight_configuration_id + # @param [Fixnum] floodlight_configuration_id # Select only floodlight activity groups with the specified floodlight # configuration ID. Must specify either advertiserId, or # floodlightConfigurationId for a non-empty result. - # @param [Array, String] ids + # @param [Array, Fixnum] ids # Select only floodlight activity groups with the specified IDs. Must specify # either advertiserId or floodlightConfigurationId for a non-empty result. # @param [Fixnum] max_results @@ -4675,9 +4676,9 @@ module Google # Updates an existing floodlight activity group. This method supports patch # semantics. - # @param [String] profile_id + # @param [Fixnum] profile_id # User profile ID associated with this request. - # @param [String] id + # @param [Fixnum] id # Floodlight activity Group ID. # @param [Google::Apis::DfareportingV2_7::FloodlightActivityGroup] floodlight_activity_group_object # @param [String] fields @@ -4716,7 +4717,7 @@ module Google end # Updates an existing floodlight activity group. - # @param [String] profile_id + # @param [Fixnum] profile_id # User profile ID associated with this request. # @param [Google::Apis::DfareportingV2_7::FloodlightActivityGroup] floodlight_activity_group_object # @param [String] fields @@ -4754,9 +4755,9 @@ module Google end # Gets one floodlight configuration by ID. - # @param [String] profile_id + # @param [Fixnum] profile_id # User profile ID associated with this request. - # @param [String] id + # @param [Fixnum] id # Floodlight configuration ID. # @param [String] fields # Selector specifying which fields to include in a partial response. @@ -4792,9 +4793,9 @@ module Google end # Retrieves a list of floodlight configurations, possibly filtered. - # @param [String] profile_id + # @param [Fixnum] profile_id # User profile ID associated with this request. - # @param [Array, String] ids + # @param [Array, Fixnum] ids # Set of IDs of floodlight configurations to retrieve. Required field; otherwise # an empty list will be returned. # @param [String] fields @@ -4832,9 +4833,9 @@ module Google # Updates an existing floodlight configuration. This method supports patch # semantics. - # @param [String] profile_id + # @param [Fixnum] profile_id # User profile ID associated with this request. - # @param [String] id + # @param [Fixnum] id # Floodlight configuration ID. # @param [Google::Apis::DfareportingV2_7::FloodlightConfiguration] floodlight_configuration_object # @param [String] fields @@ -4873,7 +4874,7 @@ module Google end # Updates an existing floodlight configuration. - # @param [String] profile_id + # @param [Fixnum] profile_id # User profile ID associated with this request. # @param [Google::Apis::DfareportingV2_7::FloodlightConfiguration] floodlight_configuration_object # @param [String] fields @@ -4911,11 +4912,11 @@ module Google end # Gets one inventory item by ID. - # @param [String] profile_id + # @param [Fixnum] profile_id # User profile ID associated with this request. - # @param [String] project_id + # @param [Fixnum] project_id # Project ID for order documents. - # @param [String] id + # @param [Fixnum] id # Inventory item ID. # @param [String] fields # Selector specifying which fields to include in a partial response. @@ -4953,21 +4954,21 @@ module Google # Retrieves a list of inventory items, possibly filtered. This method supports # paging. - # @param [String] profile_id + # @param [Fixnum] profile_id # User profile ID associated with this request. - # @param [String] project_id + # @param [Fixnum] project_id # Project ID for order documents. - # @param [Array, String] ids + # @param [Array, Fixnum] ids # Select only inventory items with these IDs. # @param [Boolean] in_plan # Select only inventory items that are in plan. # @param [Fixnum] max_results # Maximum number of results to return. - # @param [Array, String] order_id + # @param [Array, Fixnum] order_id # Select only inventory items that belong to specified orders. # @param [String] page_token # Value of the nextPageToken from the previous result page. - # @param [Array, String] site_id + # @param [Array, Fixnum] site_id # Select only inventory items that are associated with these sites. # @param [String] sort_field # Field by which to sort the list. @@ -5018,11 +5019,11 @@ module Google end # Deletes an existing campaign landing page. - # @param [String] profile_id + # @param [Fixnum] profile_id # User profile ID associated with this request. - # @param [String] campaign_id + # @param [Fixnum] campaign_id # Landing page campaign ID. - # @param [String] id + # @param [Fixnum] id # Landing page ID. # @param [String] fields # Selector specifying which fields to include in a partial response. @@ -5057,11 +5058,11 @@ module Google end # Gets one campaign landing page by ID. - # @param [String] profile_id + # @param [Fixnum] profile_id # User profile ID associated with this request. - # @param [String] campaign_id + # @param [Fixnum] campaign_id # Landing page campaign ID. - # @param [String] id + # @param [Fixnum] id # Landing page ID. # @param [String] fields # Selector specifying which fields to include in a partial response. @@ -5098,9 +5099,9 @@ module Google end # Inserts a new landing page for the specified campaign. - # @param [String] profile_id + # @param [Fixnum] profile_id # User profile ID associated with this request. - # @param [String] campaign_id + # @param [Fixnum] campaign_id # Landing page campaign ID. # @param [Google::Apis::DfareportingV2_7::LandingPage] landing_page_object # @param [String] fields @@ -5139,9 +5140,9 @@ module Google end # Retrieves the list of landing pages for the specified campaign. - # @param [String] profile_id + # @param [Fixnum] profile_id # User profile ID associated with this request. - # @param [String] campaign_id + # @param [Fixnum] campaign_id # Landing page campaign ID. # @param [String] fields # Selector specifying which fields to include in a partial response. @@ -5178,11 +5179,11 @@ module Google # Updates an existing campaign landing page. This method supports patch # semantics. - # @param [String] profile_id + # @param [Fixnum] profile_id # User profile ID associated with this request. - # @param [String] campaign_id + # @param [Fixnum] campaign_id # Landing page campaign ID. - # @param [String] id + # @param [Fixnum] id # Landing page ID. # @param [Google::Apis::DfareportingV2_7::LandingPage] landing_page_object # @param [String] fields @@ -5222,9 +5223,9 @@ module Google end # Updates an existing campaign landing page. - # @param [String] profile_id + # @param [Fixnum] profile_id # User profile ID associated with this request. - # @param [String] campaign_id + # @param [Fixnum] campaign_id # Landing page campaign ID. # @param [Google::Apis::DfareportingV2_7::LandingPage] landing_page_object # @param [String] fields @@ -5263,7 +5264,7 @@ module Google end # Retrieves a list of languages. - # @param [String] profile_id + # @param [Fixnum] profile_id # User profile ID associated with this request. # @param [String] fields # Selector specifying which fields to include in a partial response. @@ -5298,7 +5299,7 @@ module Google end # Retrieves a list of metros. - # @param [String] profile_id + # @param [Fixnum] profile_id # User profile ID associated with this request. # @param [String] fields # Selector specifying which fields to include in a partial response. @@ -5333,9 +5334,9 @@ module Google end # Gets one mobile carrier by ID. - # @param [String] profile_id + # @param [Fixnum] profile_id # User profile ID associated with this request. - # @param [String] id + # @param [Fixnum] id # Mobile carrier ID. # @param [String] fields # Selector specifying which fields to include in a partial response. @@ -5371,7 +5372,7 @@ module Google end # Retrieves a list of mobile carriers. - # @param [String] profile_id + # @param [Fixnum] profile_id # User profile ID associated with this request. # @param [String] fields # Selector specifying which fields to include in a partial response. @@ -5406,9 +5407,9 @@ module Google end # Gets one operating system version by ID. - # @param [String] profile_id + # @param [Fixnum] profile_id # User profile ID associated with this request. - # @param [String] id + # @param [Fixnum] id # Operating system version ID. # @param [String] fields # Selector specifying which fields to include in a partial response. @@ -5444,7 +5445,7 @@ module Google end # Retrieves a list of operating system versions. - # @param [String] profile_id + # @param [Fixnum] profile_id # User profile ID associated with this request. # @param [String] fields # Selector specifying which fields to include in a partial response. @@ -5479,9 +5480,9 @@ module Google end # Gets one operating system by DART ID. - # @param [String] profile_id + # @param [Fixnum] profile_id # User profile ID associated with this request. - # @param [String] dart_id + # @param [Fixnum] dart_id # Operating system DART ID. # @param [String] fields # Selector specifying which fields to include in a partial response. @@ -5517,7 +5518,7 @@ module Google end # Retrieves a list of operating systems. - # @param [String] profile_id + # @param [Fixnum] profile_id # User profile ID associated with this request. # @param [String] fields # Selector specifying which fields to include in a partial response. @@ -5552,11 +5553,11 @@ module Google end # Gets one order document by ID. - # @param [String] profile_id + # @param [Fixnum] profile_id # User profile ID associated with this request. - # @param [String] project_id + # @param [Fixnum] project_id # Project ID for order documents. - # @param [String] id + # @param [Fixnum] id # Order document ID. # @param [String] fields # Selector specifying which fields to include in a partial response. @@ -5594,17 +5595,17 @@ module Google # Retrieves a list of order documents, possibly filtered. This method supports # paging. - # @param [String] profile_id + # @param [Fixnum] profile_id # User profile ID associated with this request. - # @param [String] project_id + # @param [Fixnum] project_id # Project ID for order documents. # @param [Boolean] approved # Select only order documents that have been approved by at least one user. - # @param [Array, String] ids + # @param [Array, Fixnum] ids # Select only order documents with these IDs. # @param [Fixnum] max_results # Maximum number of results to return. - # @param [Array, String] order_id + # @param [Array, Fixnum] order_id # Select only order documents for specified orders. # @param [String] page_token # Value of the nextPageToken from the previous result page. @@ -5616,7 +5617,7 @@ module Google # end of the search string. For example, a search string of "orderdocument" will # match order documents with name "my orderdocument", "orderdocument 2015", or # simply "orderdocument". - # @param [Array, String] site_id + # @param [Array, Fixnum] site_id # Select only order documents that are associated with these sites. # @param [String] sort_field # Field by which to sort the list. @@ -5665,11 +5666,11 @@ module Google end # Gets one order by ID. - # @param [String] profile_id + # @param [Fixnum] profile_id # User profile ID associated with this request. - # @param [String] project_id + # @param [Fixnum] project_id # Project ID for orders. - # @param [String] id + # @param [Fixnum] id # Order ID. # @param [String] fields # Selector specifying which fields to include in a partial response. @@ -5706,11 +5707,11 @@ module Google end # Retrieves a list of orders, possibly filtered. This method supports paging. - # @param [String] profile_id + # @param [Fixnum] profile_id # User profile ID associated with this request. - # @param [String] project_id + # @param [Fixnum] project_id # Project ID for orders. - # @param [Array, String] ids + # @param [Array, Fixnum] ids # Select only orders with these IDs. # @param [Fixnum] max_results # Maximum number of results to return. @@ -5723,7 +5724,7 @@ module Google # wildcards implicitly at the start and the end of the search string. For # example, a search string of "order" will match orders with name "my order", " # order 2015", or simply "order". - # @param [Array, String] site_id + # @param [Array, Fixnum] site_id # Select only orders that are associated with these site IDs. # @param [String] sort_field # Field by which to sort the list. @@ -5770,9 +5771,9 @@ module Google end # Gets one placement group by ID. - # @param [String] profile_id + # @param [Fixnum] profile_id # User profile ID associated with this request. - # @param [String] id + # @param [Fixnum] id # Placement group ID. # @param [String] fields # Selector specifying which fields to include in a partial response. @@ -5808,7 +5809,7 @@ module Google end # Inserts a new placement group. - # @param [String] profile_id + # @param [Fixnum] profile_id # User profile ID associated with this request. # @param [Google::Apis::DfareportingV2_7::PlacementGroup] placement_group_object # @param [String] fields @@ -5847,20 +5848,20 @@ module Google # Retrieves a list of placement groups, possibly filtered. This method supports # paging. - # @param [String] profile_id + # @param [Fixnum] profile_id # User profile ID associated with this request. - # @param [Array, String] advertiser_ids + # @param [Array, Fixnum] advertiser_ids # Select only placement groups that belong to these advertisers. # @param [Boolean] archived # Select only archived placements. Don't set this field to select both archived # and non-archived placements. - # @param [Array, String] campaign_ids + # @param [Array, Fixnum] campaign_ids # Select only placement groups that belong to these campaigns. - # @param [Array, String] content_category_ids + # @param [Array, Fixnum] content_category_ids # Select only placement groups that are associated with these content categories. - # @param [Array, String] directory_site_ids + # @param [Array, Fixnum] directory_site_ids # Select only placement groups that are associated with these directory sites. - # @param [Array, String] ids + # @param [Array, Fixnum] ids # Select only placement groups with these IDs. # @param [String] max_end_date # Select only placements or placement groups whose end date is on or before the @@ -5885,7 +5886,7 @@ module Google # pricing point but also assumes that all the tags in it will be served at the # same time. A roadblock requires one of its assigned placements to be marked as # primary for reporting. - # @param [Array, String] placement_strategy_ids + # @param [Array, Fixnum] placement_strategy_ids # Select only placement groups that are associated with these placement # strategies. # @param [Array, String] pricing_types @@ -5898,7 +5899,7 @@ module Google # end of the search string. For example, a search string of "placementgroup" # will match placement groups with name "my placementgroup", "placementgroup # 2015", or simply "placementgroup". - # @param [Array, String] site_ids + # @param [Array, Fixnum] site_ids # Select only placement groups that are associated with these sites. # @param [String] sort_field # Field by which to sort the list. @@ -5956,9 +5957,9 @@ module Google end # Updates an existing placement group. This method supports patch semantics. - # @param [String] profile_id + # @param [Fixnum] profile_id # User profile ID associated with this request. - # @param [String] id + # @param [Fixnum] id # Placement group ID. # @param [Google::Apis::DfareportingV2_7::PlacementGroup] placement_group_object # @param [String] fields @@ -5997,7 +5998,7 @@ module Google end # Updates an existing placement group. - # @param [String] profile_id + # @param [Fixnum] profile_id # User profile ID associated with this request. # @param [Google::Apis::DfareportingV2_7::PlacementGroup] placement_group_object # @param [String] fields @@ -6035,9 +6036,9 @@ module Google end # Deletes an existing placement strategy. - # @param [String] profile_id + # @param [Fixnum] profile_id # User profile ID associated with this request. - # @param [String] id + # @param [Fixnum] id # Placement strategy ID. # @param [String] fields # Selector specifying which fields to include in a partial response. @@ -6071,9 +6072,9 @@ module Google end # Gets one placement strategy by ID. - # @param [String] profile_id + # @param [Fixnum] profile_id # User profile ID associated with this request. - # @param [String] id + # @param [Fixnum] id # Placement strategy ID. # @param [String] fields # Selector specifying which fields to include in a partial response. @@ -6109,7 +6110,7 @@ module Google end # Inserts a new placement strategy. - # @param [String] profile_id + # @param [Fixnum] profile_id # User profile ID associated with this request. # @param [Google::Apis::DfareportingV2_7::PlacementStrategy] placement_strategy_object # @param [String] fields @@ -6148,9 +6149,9 @@ module Google # Retrieves a list of placement strategies, possibly filtered. This method # supports paging. - # @param [String] profile_id + # @param [Fixnum] profile_id # User profile ID associated with this request. - # @param [Array, String] ids + # @param [Array, Fixnum] ids # Select only placement strategies with these IDs. # @param [Fixnum] max_results # Maximum number of results to return. @@ -6207,9 +6208,9 @@ module Google end # Updates an existing placement strategy. This method supports patch semantics. - # @param [String] profile_id + # @param [Fixnum] profile_id # User profile ID associated with this request. - # @param [String] id + # @param [Fixnum] id # Placement strategy ID. # @param [Google::Apis::DfareportingV2_7::PlacementStrategy] placement_strategy_object # @param [String] fields @@ -6248,7 +6249,7 @@ module Google end # Updates an existing placement strategy. - # @param [String] profile_id + # @param [Fixnum] profile_id # User profile ID associated with this request. # @param [Google::Apis::DfareportingV2_7::PlacementStrategy] placement_strategy_object # @param [String] fields @@ -6286,11 +6287,11 @@ module Google end # Generates tags for a placement. - # @param [String] profile_id + # @param [Fixnum] profile_id # User profile ID associated with this request. - # @param [String] campaign_id + # @param [Fixnum] campaign_id # Generate placements belonging to this campaign. This is a required field. - # @param [Array, String] placement_ids + # @param [Array, Fixnum] placement_ids # Generate tags for these placements. # @param [Array, String] tag_formats # Tag formats to generate for these placements. @@ -6330,9 +6331,9 @@ module Google end # Gets one placement by ID. - # @param [String] profile_id + # @param [Fixnum] profile_id # User profile ID associated with this request. - # @param [String] id + # @param [Fixnum] id # Placement ID. # @param [String] fields # Selector specifying which fields to include in a partial response. @@ -6368,7 +6369,7 @@ module Google end # Inserts a new placement. - # @param [String] profile_id + # @param [Fixnum] profile_id # User profile ID associated with this request. # @param [Google::Apis::DfareportingV2_7::Placement] placement_object # @param [String] fields @@ -6406,14 +6407,14 @@ module Google end # Retrieves a list of placements, possibly filtered. This method supports paging. - # @param [String] profile_id + # @param [Fixnum] profile_id # User profile ID associated with this request. - # @param [Array, String] advertiser_ids + # @param [Array, Fixnum] advertiser_ids # Select only placements that belong to these advertisers. # @param [Boolean] archived # Select only archived placements. Don't set this field to select both archived # and non-archived placements. - # @param [Array, String] campaign_ids + # @param [Array, Fixnum] campaign_ids # Select only placements that belong to these campaigns. # @param [Array, String] compatibilities # Select only placements that are associated with these compatibilities. DISPLAY @@ -6421,13 +6422,13 @@ module Google # devices for regular or interstitial ads respectively. APP and APP_INTERSTITIAL # are for rendering in mobile apps. IN_STREAM_VIDEO refers to rendering in in- # stream video ads developed with the VAST standard. - # @param [Array, String] content_category_ids + # @param [Array, Fixnum] content_category_ids # Select only placements that are associated with these content categories. - # @param [Array, String] directory_site_ids + # @param [Array, Fixnum] directory_site_ids # Select only placements that are associated with these directory sites. - # @param [Array, String] group_ids + # @param [Array, Fixnum] group_ids # Select only placements that belong to these placement groups. - # @param [Array, String] ids + # @param [Array, Fixnum] ids # Select only placements with these IDs. # @param [String] max_end_date # Select only placements or placement groups whose end date is on or before the @@ -6447,7 +6448,7 @@ module Google # Value of the nextPageToken from the previous result page. # @param [String] payment_source # Select only placements with this payment source. - # @param [Array, String] placement_strategy_ids + # @param [Array, Fixnum] placement_strategy_ids # Select only placements that are associated with these placement strategies. # @param [Array, String] pricing_types # Select only placements with these pricing types. @@ -6458,9 +6459,9 @@ module Google # searches also add wildcards implicitly at the start and the end of the search # string. For example, a search string of "placement" will match placements with # name "my placement", "placement 2015", or simply "placement". - # @param [Array, String] site_ids + # @param [Array, Fixnum] site_ids # Select only placements that are associated with these sites. - # @param [Array, String] size_ids + # @param [Array, Fixnum] size_ids # Select only placements that are associated with these sizes. # @param [String] sort_field # Field by which to sort the list. @@ -6521,9 +6522,9 @@ module Google end # Updates an existing placement. This method supports patch semantics. - # @param [String] profile_id + # @param [Fixnum] profile_id # User profile ID associated with this request. - # @param [String] id + # @param [Fixnum] id # Placement ID. # @param [Google::Apis::DfareportingV2_7::Placement] placement_object # @param [String] fields @@ -6562,7 +6563,7 @@ module Google end # Updates an existing placement. - # @param [String] profile_id + # @param [Fixnum] profile_id # User profile ID associated with this request. # @param [Google::Apis::DfareportingV2_7::Placement] placement_object # @param [String] fields @@ -6600,9 +6601,9 @@ module Google end # Gets one platform type by ID. - # @param [String] profile_id + # @param [Fixnum] profile_id # User profile ID associated with this request. - # @param [String] id + # @param [Fixnum] id # Platform type ID. # @param [String] fields # Selector specifying which fields to include in a partial response. @@ -6638,7 +6639,7 @@ module Google end # Retrieves a list of platform types. - # @param [String] profile_id + # @param [Fixnum] profile_id # User profile ID associated with this request. # @param [String] fields # Selector specifying which fields to include in a partial response. @@ -6673,7 +6674,7 @@ module Google end # Gets one postal code by ID. - # @param [String] profile_id + # @param [Fixnum] profile_id # User profile ID associated with this request. # @param [String] code # Postal code ID. @@ -6711,7 +6712,7 @@ module Google end # Retrieves a list of postal codes. - # @param [String] profile_id + # @param [Fixnum] profile_id # User profile ID associated with this request. # @param [String] fields # Selector specifying which fields to include in a partial response. @@ -6746,9 +6747,9 @@ module Google end # Gets one project by ID. - # @param [String] profile_id + # @param [Fixnum] profile_id # User profile ID associated with this request. - # @param [String] id + # @param [Fixnum] id # Project ID. # @param [String] fields # Selector specifying which fields to include in a partial response. @@ -6784,11 +6785,11 @@ module Google end # Retrieves a list of projects, possibly filtered. This method supports paging. - # @param [String] profile_id + # @param [Fixnum] profile_id # User profile ID associated with this request. - # @param [Array, String] advertiser_ids + # @param [Array, Fixnum] advertiser_ids # Select only projects with these advertiser IDs. - # @param [Array, String] ids + # @param [Array, Fixnum] ids # Select only projects with these IDs. # @param [Fixnum] max_results # Maximum number of results to return. @@ -6845,7 +6846,7 @@ module Google end # Retrieves a list of regions. - # @param [String] profile_id + # @param [Fixnum] profile_id # User profile ID associated with this request. # @param [String] fields # Selector specifying which fields to include in a partial response. @@ -6880,9 +6881,9 @@ module Google end # Gets one remarketing list share by remarketing list ID. - # @param [String] profile_id + # @param [Fixnum] profile_id # User profile ID associated with this request. - # @param [String] remarketing_list_id + # @param [Fixnum] remarketing_list_id # Remarketing list ID. # @param [String] fields # Selector specifying which fields to include in a partial response. @@ -6919,9 +6920,9 @@ module Google # Updates an existing remarketing list share. This method supports patch # semantics. - # @param [String] profile_id + # @param [Fixnum] profile_id # User profile ID associated with this request. - # @param [String] remarketing_list_id + # @param [Fixnum] remarketing_list_id # Remarketing list ID. # @param [Google::Apis::DfareportingV2_7::RemarketingListShare] remarketing_list_share_object # @param [String] fields @@ -6960,7 +6961,7 @@ module Google end # Updates an existing remarketing list share. - # @param [String] profile_id + # @param [Fixnum] profile_id # User profile ID associated with this request. # @param [Google::Apis::DfareportingV2_7::RemarketingListShare] remarketing_list_share_object # @param [String] fields @@ -6998,9 +6999,9 @@ module Google end # Gets one remarketing list by ID. - # @param [String] profile_id + # @param [Fixnum] profile_id # User profile ID associated with this request. - # @param [String] id + # @param [Fixnum] id # Remarketing list ID. # @param [String] fields # Selector specifying which fields to include in a partial response. @@ -7036,7 +7037,7 @@ module Google end # Inserts a new remarketing list. - # @param [String] profile_id + # @param [Fixnum] profile_id # User profile ID associated with this request. # @param [Google::Apis::DfareportingV2_7::RemarketingList] remarketing_list_object # @param [String] fields @@ -7075,13 +7076,13 @@ module Google # Retrieves a list of remarketing lists, possibly filtered. This method supports # paging. - # @param [String] profile_id + # @param [Fixnum] profile_id # User profile ID associated with this request. - # @param [String] advertiser_id + # @param [Fixnum] advertiser_id # Select only remarketing lists owned by this advertiser. # @param [Boolean] active # Select only active or only inactive remarketing lists. - # @param [String] floodlight_activity_id + # @param [Fixnum] floodlight_activity_id # Select only remarketing lists that have this floodlight activity ID. # @param [Fixnum] max_results # Maximum number of results to return. @@ -7140,9 +7141,9 @@ module Google end # Updates an existing remarketing list. This method supports patch semantics. - # @param [String] profile_id + # @param [Fixnum] profile_id # User profile ID associated with this request. - # @param [String] id + # @param [Fixnum] id # Remarketing list ID. # @param [Google::Apis::DfareportingV2_7::RemarketingList] remarketing_list_object # @param [String] fields @@ -7181,7 +7182,7 @@ module Google end # Updates an existing remarketing list. - # @param [String] profile_id + # @param [Fixnum] profile_id # User profile ID associated with this request. # @param [Google::Apis::DfareportingV2_7::RemarketingList] remarketing_list_object # @param [String] fields @@ -7219,9 +7220,9 @@ module Google end # Deletes a report by its ID. - # @param [String] profile_id + # @param [Fixnum] profile_id # The DFA user profile ID. - # @param [String] report_id + # @param [Fixnum] report_id # The ID of the report. # @param [String] fields # Selector specifying which fields to include in a partial response. @@ -7255,9 +7256,9 @@ module Google end # Retrieves a report by its ID. - # @param [String] profile_id + # @param [Fixnum] profile_id # The DFA user profile ID. - # @param [String] report_id + # @param [Fixnum] report_id # The ID of the report. # @param [String] fields # Selector specifying which fields to include in a partial response. @@ -7293,7 +7294,7 @@ module Google end # Creates a report. - # @param [String] profile_id + # @param [Fixnum] profile_id # The DFA user profile ID. # @param [Google::Apis::DfareportingV2_7::Report] report_object # @param [String] fields @@ -7331,7 +7332,7 @@ module Google end # Retrieves list of reports. - # @param [String] profile_id + # @param [Fixnum] profile_id # The DFA user profile ID. # @param [Fixnum] max_results # Maximum number of results to return. @@ -7381,9 +7382,9 @@ module Google end # Updates a report. This method supports patch semantics. - # @param [String] profile_id + # @param [Fixnum] profile_id # The DFA user profile ID. - # @param [String] report_id + # @param [Fixnum] report_id # The ID of the report. # @param [Google::Apis::DfareportingV2_7::Report] report_object # @param [String] fields @@ -7422,9 +7423,9 @@ module Google end # Runs a report. - # @param [String] profile_id + # @param [Fixnum] profile_id # The DFA profile ID. - # @param [String] report_id + # @param [Fixnum] report_id # The ID of the report. # @param [Boolean] synchronous # If set and true, tries to run the report synchronously. @@ -7463,9 +7464,9 @@ module Google end # Updates a report. - # @param [String] profile_id + # @param [Fixnum] profile_id # The DFA user profile ID. - # @param [String] report_id + # @param [Fixnum] report_id # The ID of the report. # @param [Google::Apis::DfareportingV2_7::Report] report_object # @param [String] fields @@ -7506,7 +7507,7 @@ module Google # Returns the fields that are compatible to be selected in the respective # sections of a report criteria, given the fields already selected in the input # report and user permissions. - # @param [String] profile_id + # @param [Fixnum] profile_id # The DFA user profile ID. # @param [Google::Apis::DfareportingV2_7::Report] report_object # @param [String] fields @@ -7544,11 +7545,11 @@ module Google end # Retrieves a report file. - # @param [String] profile_id + # @param [Fixnum] profile_id # The DFA profile ID. - # @param [String] report_id + # @param [Fixnum] report_id # The ID of the report. - # @param [String] file_id + # @param [Fixnum] file_id # The ID of the report file. # @param [String] fields # Selector specifying which fields to include in a partial response. @@ -7592,9 +7593,9 @@ module Google end # Lists files for a report. - # @param [String] profile_id + # @param [Fixnum] profile_id # The DFA profile ID. - # @param [String] report_id + # @param [Fixnum] report_id # The ID of the parent report. # @param [Fixnum] max_results # Maximum number of results to return. @@ -7642,9 +7643,9 @@ module Google end # Gets one site by ID. - # @param [String] profile_id + # @param [Fixnum] profile_id # User profile ID associated with this request. - # @param [String] id + # @param [Fixnum] id # Site ID. # @param [String] fields # Selector specifying which fields to include in a partial response. @@ -7680,7 +7681,7 @@ module Google end # Inserts a new site. - # @param [String] profile_id + # @param [Fixnum] profile_id # User profile ID associated with this request. # @param [Google::Apis::DfareportingV2_7::Site] site_object # @param [String] fields @@ -7718,7 +7719,7 @@ module Google end # Retrieves a list of sites, possibly filtered. This method supports paging. - # @param [String] profile_id + # @param [Fixnum] profile_id # User profile ID associated with this request. # @param [Boolean] accepts_in_stream_video_placements # This search filter is no longer supported and will have no effect on the @@ -7732,11 +7733,11 @@ module Google # Select only AdWords sites. # @param [Boolean] approved # Select only approved sites. - # @param [Array, String] campaign_ids + # @param [Array, Fixnum] campaign_ids # Select only sites with these campaign IDs. - # @param [Array, String] directory_site_ids + # @param [Array, Fixnum] directory_site_ids # Select only sites with these directory site IDs. - # @param [Array, String] ids + # @param [Array, Fixnum] ids # Select only sites with these IDs. # @param [Fixnum] max_results # Maximum number of results to return. @@ -7753,7 +7754,7 @@ module Google # Field by which to sort the list. # @param [String] sort_order # Order of sorted results, default is ASCENDING. - # @param [String] subaccount_id + # @param [Fixnum] subaccount_id # Select only sites with this subaccount ID. # @param [Boolean] unmapped_site # Select only sites that have not been mapped to a directory site. @@ -7805,9 +7806,9 @@ module Google end # Updates an existing site. This method supports patch semantics. - # @param [String] profile_id + # @param [Fixnum] profile_id # User profile ID associated with this request. - # @param [String] id + # @param [Fixnum] id # Site ID. # @param [Google::Apis::DfareportingV2_7::Site] site_object # @param [String] fields @@ -7846,7 +7847,7 @@ module Google end # Updates an existing site. - # @param [String] profile_id + # @param [Fixnum] profile_id # User profile ID associated with this request. # @param [Google::Apis::DfareportingV2_7::Site] site_object # @param [String] fields @@ -7884,9 +7885,9 @@ module Google end # Gets one size by ID. - # @param [String] profile_id + # @param [Fixnum] profile_id # User profile ID associated with this request. - # @param [String] id + # @param [Fixnum] id # Size ID. # @param [String] fields # Selector specifying which fields to include in a partial response. @@ -7922,7 +7923,7 @@ module Google end # Inserts a new size. - # @param [String] profile_id + # @param [Fixnum] profile_id # User profile ID associated with this request. # @param [Google::Apis::DfareportingV2_7::Size] size_object # @param [String] fields @@ -7960,13 +7961,13 @@ module Google end # Retrieves a list of sizes, possibly filtered. - # @param [String] profile_id + # @param [Fixnum] profile_id # User profile ID associated with this request. # @param [Fixnum] height # Select only sizes with this height. # @param [Boolean] iab_standard # Select only IAB standard sizes. - # @param [Array, String] ids + # @param [Array, Fixnum] ids # Select only sizes with these IDs. # @param [Fixnum] width # Select only sizes with this width. @@ -8007,9 +8008,9 @@ module Google end # Gets one subaccount by ID. - # @param [String] profile_id + # @param [Fixnum] profile_id # User profile ID associated with this request. - # @param [String] id + # @param [Fixnum] id # Subaccount ID. # @param [String] fields # Selector specifying which fields to include in a partial response. @@ -8045,7 +8046,7 @@ module Google end # Inserts a new subaccount. - # @param [String] profile_id + # @param [Fixnum] profile_id # User profile ID associated with this request. # @param [Google::Apis::DfareportingV2_7::Subaccount] subaccount_object # @param [String] fields @@ -8083,9 +8084,9 @@ module Google end # Gets a list of subaccounts, possibly filtered. This method supports paging. - # @param [String] profile_id + # @param [Fixnum] profile_id # User profile ID associated with this request. - # @param [Array, String] ids + # @param [Array, Fixnum] ids # Select only subaccounts with these IDs. # @param [Fixnum] max_results # Maximum number of results to return. @@ -8141,9 +8142,9 @@ module Google end # Updates an existing subaccount. This method supports patch semantics. - # @param [String] profile_id + # @param [Fixnum] profile_id # User profile ID associated with this request. - # @param [String] id + # @param [Fixnum] id # Subaccount ID. # @param [Google::Apis::DfareportingV2_7::Subaccount] subaccount_object # @param [String] fields @@ -8182,7 +8183,7 @@ module Google end # Updates an existing subaccount. - # @param [String] profile_id + # @param [Fixnum] profile_id # User profile ID associated with this request. # @param [Google::Apis::DfareportingV2_7::Subaccount] subaccount_object # @param [String] fields @@ -8220,9 +8221,9 @@ module Google end # Gets one remarketing list by ID. - # @param [String] profile_id + # @param [Fixnum] profile_id # User profile ID associated with this request. - # @param [String] id + # @param [Fixnum] id # Remarketing list ID. # @param [String] fields # Selector specifying which fields to include in a partial response. @@ -8259,9 +8260,9 @@ module Google # Retrieves a list of targetable remarketing lists, possibly filtered. This # method supports paging. - # @param [String] profile_id + # @param [Fixnum] profile_id # User profile ID associated with this request. - # @param [String] advertiser_id + # @param [Fixnum] advertiser_id # Select only targetable remarketing lists targetable by these advertisers. # @param [Boolean] active # Select only active or only inactive targetable remarketing lists. @@ -8321,9 +8322,9 @@ module Google end # Gets one targeting template by ID. - # @param [String] profile_id + # @param [Fixnum] profile_id # User profile ID associated with this request. - # @param [String] id + # @param [Fixnum] id # Targeting template ID. # @param [String] fields # Selector specifying which fields to include in a partial response. @@ -8359,7 +8360,7 @@ module Google end # Inserts a new targeting template. - # @param [String] profile_id + # @param [Fixnum] profile_id # User profile ID associated with this request. # @param [Google::Apis::DfareportingV2_7::TargetingTemplate] targeting_template_object # @param [String] fields @@ -8398,11 +8399,11 @@ module Google # Retrieves a list of targeting templates, optionally filtered. This method # supports paging. - # @param [String] profile_id + # @param [Fixnum] profile_id # User profile ID associated with this request. - # @param [String] advertiser_id + # @param [Fixnum] advertiser_id # Select only targeting templates with this advertiser ID. - # @param [Array, String] ids + # @param [Array, Fixnum] ids # Select only targeting templates with these IDs. # @param [Fixnum] max_results # Maximum number of results to return. @@ -8459,9 +8460,9 @@ module Google end # Updates an existing targeting template. This method supports patch semantics. - # @param [String] profile_id + # @param [Fixnum] profile_id # User profile ID associated with this request. - # @param [String] id + # @param [Fixnum] id # Targeting template ID. # @param [Google::Apis::DfareportingV2_7::TargetingTemplate] targeting_template_object # @param [String] fields @@ -8500,7 +8501,7 @@ module Google end # Updates an existing targeting template. - # @param [String] profile_id + # @param [Fixnum] profile_id # User profile ID associated with this request. # @param [Google::Apis::DfareportingV2_7::TargetingTemplate] targeting_template_object # @param [String] fields @@ -8538,7 +8539,7 @@ module Google end # Gets one user profile by ID. - # @param [String] profile_id + # @param [Fixnum] profile_id # The user profile ID. # @param [String] fields # Selector specifying which fields to include in a partial response. @@ -8605,9 +8606,9 @@ module Google end # Gets one user role permission group by ID. - # @param [String] profile_id + # @param [Fixnum] profile_id # User profile ID associated with this request. - # @param [String] id + # @param [Fixnum] id # User role permission group ID. # @param [String] fields # Selector specifying which fields to include in a partial response. @@ -8643,7 +8644,7 @@ module Google end # Gets a list of all supported user role permission groups. - # @param [String] profile_id + # @param [Fixnum] profile_id # User profile ID associated with this request. # @param [String] fields # Selector specifying which fields to include in a partial response. @@ -8678,9 +8679,9 @@ module Google end # Gets one user role permission by ID. - # @param [String] profile_id + # @param [Fixnum] profile_id # User profile ID associated with this request. - # @param [String] id + # @param [Fixnum] id # User role permission ID. # @param [String] fields # Selector specifying which fields to include in a partial response. @@ -8716,9 +8717,9 @@ module Google end # Gets a list of user role permissions, possibly filtered. - # @param [String] profile_id + # @param [Fixnum] profile_id # User profile ID associated with this request. - # @param [Array, String] ids + # @param [Array, Fixnum] ids # Select only user role permissions with these IDs. # @param [String] fields # Selector specifying which fields to include in a partial response. @@ -8754,9 +8755,9 @@ module Google end # Deletes an existing user role. - # @param [String] profile_id + # @param [Fixnum] profile_id # User profile ID associated with this request. - # @param [String] id + # @param [Fixnum] id # User role ID. # @param [String] fields # Selector specifying which fields to include in a partial response. @@ -8790,9 +8791,9 @@ module Google end # Gets one user role by ID. - # @param [String] profile_id + # @param [Fixnum] profile_id # User profile ID associated with this request. - # @param [String] id + # @param [Fixnum] id # User role ID. # @param [String] fields # Selector specifying which fields to include in a partial response. @@ -8828,7 +8829,7 @@ module Google end # Inserts a new user role. - # @param [String] profile_id + # @param [Fixnum] profile_id # User profile ID associated with this request. # @param [Google::Apis::DfareportingV2_7::UserRole] user_role_object # @param [String] fields @@ -8866,12 +8867,12 @@ module Google end # Retrieves a list of user roles, possibly filtered. This method supports paging. - # @param [String] profile_id + # @param [Fixnum] profile_id # User profile ID associated with this request. # @param [Boolean] account_user_role_only # Select only account level user roles not associated with any specific # subaccount. - # @param [Array, String] ids + # @param [Array, Fixnum] ids # Select only user roles with the specified IDs. # @param [Fixnum] max_results # Maximum number of results to return. @@ -8888,7 +8889,7 @@ module Google # Field by which to sort the list. # @param [String] sort_order # Order of sorted results, default is ASCENDING. - # @param [String] subaccount_id + # @param [Fixnum] subaccount_id # Select only user roles that belong to this subaccount. # @param [String] fields # Selector specifying which fields to include in a partial response. @@ -8931,9 +8932,9 @@ module Google end # Updates an existing user role. This method supports patch semantics. - # @param [String] profile_id + # @param [Fixnum] profile_id # User profile ID associated with this request. - # @param [String] id + # @param [Fixnum] id # User role ID. # @param [Google::Apis::DfareportingV2_7::UserRole] user_role_object # @param [String] fields @@ -8972,7 +8973,7 @@ module Google end # Updates an existing user role. - # @param [String] profile_id + # @param [Fixnum] profile_id # User profile ID associated with this request. # @param [Google::Apis::DfareportingV2_7::UserRole] user_role_object # @param [String] fields @@ -9010,7 +9011,7 @@ module Google end # Gets one video format by ID. - # @param [String] profile_id + # @param [Fixnum] profile_id # User profile ID associated with this request. # @param [Fixnum] id # Video format ID. @@ -9048,7 +9049,7 @@ module Google end # Lists available video formats. - # @param [String] profile_id + # @param [Fixnum] profile_id # User profile ID associated with this request. # @param [String] fields # Selector specifying which fields to include in a partial response. diff --git a/generated/google/apis/discovery_v1/service.rb b/generated/google/apis/discovery_v1/service.rb index 9d2f292e3..8f19cf166 100644 --- a/generated/google/apis/discovery_v1/service.rb +++ b/generated/google/apis/discovery_v1/service.rb @@ -51,6 +51,7 @@ module Google def initialize super('https://www.googleapis.com/', 'discovery/v1/') + @batch_path = 'batch' end # Retrieve the description of a particular version of an api. diff --git a/generated/google/apis/dns_v1/classes.rb b/generated/google/apis/dns_v1/classes.rb index cd6943f6a..480d25525 100644 --- a/generated/google/apis/dns_v1/classes.rb +++ b/generated/google/apis/dns_v1/classes.rb @@ -136,7 +136,7 @@ module Google # Unique identifier for the resource; defined by the server (output only) # Corresponds to the JSON property `id` - # @return [String] + # @return [Fixnum] attr_accessor :id # Identifies what kind of resource this is. Value: the fixed string "dns# @@ -241,7 +241,7 @@ module Google # Unique numeric identifier for the resource; defined by the server (output only) # . # Corresponds to the JSON property `number` - # @return [String] + # @return [Fixnum] attr_accessor :number # Limits associated with a Project. diff --git a/generated/google/apis/dns_v1/representations.rb b/generated/google/apis/dns_v1/representations.rb index ca7cd065b..3bb0d3f07 100644 --- a/generated/google/apis/dns_v1/representations.rb +++ b/generated/google/apis/dns_v1/representations.rb @@ -100,7 +100,7 @@ module Google property :creation_time, as: 'creationTime' property :description, as: 'description' property :dns_name, as: 'dnsName' - property :id, as: 'id' + property :id, :numeric_string => true, as: 'id' property :kind, as: 'kind' property :name, as: 'name' property :name_server_set, as: 'nameServerSet' @@ -123,7 +123,7 @@ module Google class Representation < Google::Apis::Core::JsonRepresentation property :id, as: 'id' property :kind, as: 'kind' - property :number, as: 'number' + property :number, :numeric_string => true, as: 'number' property :quota, as: 'quota', class: Google::Apis::DnsV1::Quota, decorator: Google::Apis::DnsV1::Quota::Representation end diff --git a/generated/google/apis/dns_v1/service.rb b/generated/google/apis/dns_v1/service.rb index e454ef9ce..a10047f06 100644 --- a/generated/google/apis/dns_v1/service.rb +++ b/generated/google/apis/dns_v1/service.rb @@ -50,6 +50,7 @@ module Google def initialize super('https://www.googleapis.com/', 'dns/v1/projects/') + @batch_path = 'batch' end # Atomically update the ResourceRecordSet collection. diff --git a/generated/google/apis/dns_v2beta1/classes.rb b/generated/google/apis/dns_v2beta1/classes.rb index e33041e9f..5a753001b 100644 --- a/generated/google/apis/dns_v2beta1/classes.rb +++ b/generated/google/apis/dns_v2beta1/classes.rb @@ -363,7 +363,7 @@ module Google # Unique identifier for the resource; defined by the server (output only) # Corresponds to the JSON property `id` - # @return [String] + # @return [Fixnum] attr_accessor :id # Identifies what kind of resource this is. Value: the fixed string "dns# @@ -705,7 +705,7 @@ module Google # Unique numeric identifier for the resource; defined by the server (output only) # . # Corresponds to the JSON property `number` - # @return [String] + # @return [Fixnum] attr_accessor :number # Limits associated with a Project. diff --git a/generated/google/apis/dns_v2beta1/representations.rb b/generated/google/apis/dns_v2beta1/representations.rb index c05a0f26b..492e419aa 100644 --- a/generated/google/apis/dns_v2beta1/representations.rb +++ b/generated/google/apis/dns_v2beta1/representations.rb @@ -219,7 +219,7 @@ module Google property :dns_name, as: 'dnsName' property :dnssec_config, as: 'dnssecConfig', class: Google::Apis::DnsV2beta1::ManagedZoneDnsSecConfig, decorator: Google::Apis::DnsV2beta1::ManagedZoneDnsSecConfig::Representation - property :id, as: 'id' + property :id, :numeric_string => true, as: 'id' property :kind, as: 'kind' property :name, as: 'name' property :name_server_set, as: 'nameServerSet' @@ -311,7 +311,7 @@ module Google class Representation < Google::Apis::Core::JsonRepresentation property :id, as: 'id' property :kind, as: 'kind' - property :number, as: 'number' + property :number, :numeric_string => true, as: 'number' property :quota, as: 'quota', class: Google::Apis::DnsV2beta1::Quota, decorator: Google::Apis::DnsV2beta1::Quota::Representation end diff --git a/generated/google/apis/dns_v2beta1/service.rb b/generated/google/apis/dns_v2beta1/service.rb index 7dd58f166..24b373ee4 100644 --- a/generated/google/apis/dns_v2beta1/service.rb +++ b/generated/google/apis/dns_v2beta1/service.rb @@ -50,6 +50,7 @@ module Google def initialize super('https://www.googleapis.com/', 'dns/v2beta1/projects/') + @batch_path = 'batch' end # Atomically update the ResourceRecordSet collection. diff --git a/generated/google/apis/doubleclickbidmanager_v1/classes.rb b/generated/google/apis/doubleclickbidmanager_v1/classes.rb index 57fc1241a..448e78dc8 100644 --- a/generated/google/apis/doubleclickbidmanager_v1/classes.rb +++ b/generated/google/apis/doubleclickbidmanager_v1/classes.rb @@ -35,7 +35,7 @@ module Google # Ids of the specified filter type used to filter line items to fetch. If # omitted, all the line items will be returned. # Corresponds to the JSON property `filterIds` - # @return [Array] + # @return [Array] attr_accessor :filter_ids # Filter type used to filter line items to fetch. @@ -96,7 +96,7 @@ module Google # ADVERTISER_ID filter type. For INSERTION_ORDER_ID or LINE_ITEM_ID filter types, # all IDs must be from the same Advertiser. # Corresponds to the JSON property `filterIds` - # @return [Array] + # @return [Array] attr_accessor :filter_ids # Filter type used to filter line items to fetch. @@ -303,21 +303,21 @@ module Google # Query ID. # Corresponds to the JSON property `queryId` - # @return [String] + # @return [Fixnum] attr_accessor :query_id # The ending time for the data that is shown in the report. Note, # reportDataEndTimeMs is required if metadata.dataRange is CUSTOM_DATES and # ignored otherwise. # Corresponds to the JSON property `reportDataEndTimeMs` - # @return [String] + # @return [Fixnum] attr_accessor :report_data_end_time_ms # The starting time for the data that is shown in the report. Note, # reportDataStartTimeMs is required if metadata.dataRange is CUSTOM_DATES and # ignored otherwise. # Corresponds to the JSON property `reportDataStartTimeMs` - # @return [String] + # @return [Fixnum] attr_accessor :report_data_start_time_ms # Information on how frequently and when to run a query. @@ -374,7 +374,7 @@ module Google # The time when the latest report started to run. # Corresponds to the JSON property `latestReportRunTimeMs` - # @return [String] + # @return [Fixnum] attr_accessor :latest_report_run_time_ms # Locale of the generated reports. Valid values are cs CZECH de GERMAN en @@ -440,7 +440,7 @@ module Google # Datetime to periodically run the query until. # Corresponds to the JSON property `endTimeMs` - # @return [String] + # @return [Fixnum] attr_accessor :end_time_ms # How often the query is run. @@ -529,12 +529,12 @@ module Google # Query ID. # Corresponds to the JSON property `queryId` - # @return [String] + # @return [Fixnum] attr_accessor :query_id # Report ID. # Corresponds to the JSON property `reportId` - # @return [String] + # @return [Fixnum] attr_accessor :report_id def initialize(**args) @@ -559,12 +559,12 @@ module Google # The ending time for the data that is shown in the report. # Corresponds to the JSON property `reportDataEndTimeMs` - # @return [String] + # @return [Fixnum] attr_accessor :report_data_end_time_ms # The starting time for the data that is shown in the report. # Corresponds to the JSON property `reportDataStartTimeMs` - # @return [String] + # @return [Fixnum] attr_accessor :report_data_start_time_ms # Report status. @@ -596,7 +596,7 @@ module Google # The time when this report either completed successfully or failed. # Corresponds to the JSON property `finishTimeMs` - # @return [String] + # @return [Fixnum] attr_accessor :finish_time_ms # The file type of the report. @@ -634,7 +634,7 @@ module Google # Entity Id. # Corresponds to the JSON property `entityId` - # @return [String] + # @return [Fixnum] attr_accessor :entity_id # Entity name. @@ -686,14 +686,14 @@ module Google # reportDataEndTimeMs is required if dataRange is CUSTOM_DATES and ignored # otherwise. # Corresponds to the JSON property `reportDataEndTimeMs` - # @return [String] + # @return [Fixnum] attr_accessor :report_data_end_time_ms # The starting time for the data that is shown in the report. Note, # reportDataStartTimeMs is required if dataRange is CUSTOM_DATES and ignored # otherwise. # Corresponds to the JSON property `reportDataStartTimeMs` - # @return [String] + # @return [Fixnum] attr_accessor :report_data_start_time_ms # Canonical timezone code for report data time. Defaults to America/New_York. diff --git a/generated/google/apis/doubleclickbidmanager_v1/representations.rb b/generated/google/apis/doubleclickbidmanager_v1/representations.rb index fd8c5ebd2..eb7d07b8d 100644 --- a/generated/google/apis/doubleclickbidmanager_v1/representations.rb +++ b/generated/google/apis/doubleclickbidmanager_v1/representations.rb @@ -231,9 +231,9 @@ module Google property :params, as: 'params', class: Google::Apis::DoubleclickbidmanagerV1::Parameters, decorator: Google::Apis::DoubleclickbidmanagerV1::Parameters::Representation - property :query_id, as: 'queryId' - property :report_data_end_time_ms, as: 'reportDataEndTimeMs' - property :report_data_start_time_ms, as: 'reportDataStartTimeMs' + property :query_id, :numeric_string => true, as: 'queryId' + property :report_data_end_time_ms, :numeric_string => true, as: 'reportDataEndTimeMs' + property :report_data_start_time_ms, :numeric_string => true, as: 'reportDataStartTimeMs' property :schedule, as: 'schedule', class: Google::Apis::DoubleclickbidmanagerV1::QuerySchedule, decorator: Google::Apis::DoubleclickbidmanagerV1::QuerySchedule::Representation property :timezone_code, as: 'timezoneCode' @@ -247,7 +247,7 @@ module Google property :format, as: 'format' property :google_cloud_storage_path_for_latest_report, as: 'googleCloudStoragePathForLatestReport' property :google_drive_path_for_latest_report, as: 'googleDrivePathForLatestReport' - property :latest_report_run_time_ms, as: 'latestReportRunTimeMs' + property :latest_report_run_time_ms, :numeric_string => true, as: 'latestReportRunTimeMs' property :locale, as: 'locale' property :report_count, as: 'reportCount' property :running, as: 'running' @@ -260,7 +260,7 @@ module Google class QuerySchedule # @private class Representation < Google::Apis::Core::JsonRepresentation - property :end_time_ms, as: 'endTimeMs' + property :end_time_ms, :numeric_string => true, as: 'endTimeMs' property :frequency, as: 'frequency' property :next_run_minute_of_day, as: 'nextRunMinuteOfDay' property :next_run_timezone_code, as: 'nextRunTimezoneCode' @@ -289,8 +289,8 @@ module Google class ReportKey # @private class Representation < Google::Apis::Core::JsonRepresentation - property :query_id, as: 'queryId' - property :report_id, as: 'reportId' + property :query_id, :numeric_string => true, as: 'queryId' + property :report_id, :numeric_string => true, as: 'reportId' end end @@ -298,8 +298,8 @@ module Google # @private class Representation < Google::Apis::Core::JsonRepresentation property :google_cloud_storage_path, as: 'googleCloudStoragePath' - property :report_data_end_time_ms, as: 'reportDataEndTimeMs' - property :report_data_start_time_ms, as: 'reportDataStartTimeMs' + property :report_data_end_time_ms, :numeric_string => true, as: 'reportDataEndTimeMs' + property :report_data_start_time_ms, :numeric_string => true, as: 'reportDataStartTimeMs' property :status, as: 'status', class: Google::Apis::DoubleclickbidmanagerV1::ReportStatus, decorator: Google::Apis::DoubleclickbidmanagerV1::ReportStatus::Representation end @@ -310,7 +310,7 @@ module Google class Representation < Google::Apis::Core::JsonRepresentation property :failure, as: 'failure', class: Google::Apis::DoubleclickbidmanagerV1::ReportFailure, decorator: Google::Apis::DoubleclickbidmanagerV1::ReportFailure::Representation - property :finish_time_ms, as: 'finishTimeMs' + property :finish_time_ms, :numeric_string => true, as: 'finishTimeMs' property :format, as: 'format' property :state, as: 'state' end @@ -320,7 +320,7 @@ module Google # @private class Representation < Google::Apis::Core::JsonRepresentation property :changed, as: 'changed' - property :entity_id, as: 'entityId' + property :entity_id, :numeric_string => true, as: 'entityId' property :entity_name, as: 'entityName' collection :errors, as: 'errors' property :persisted, as: 'persisted' @@ -332,8 +332,8 @@ module Google # @private class Representation < Google::Apis::Core::JsonRepresentation property :data_range, as: 'dataRange' - property :report_data_end_time_ms, as: 'reportDataEndTimeMs' - property :report_data_start_time_ms, as: 'reportDataStartTimeMs' + property :report_data_end_time_ms, :numeric_string => true, as: 'reportDataEndTimeMs' + property :report_data_start_time_ms, :numeric_string => true, as: 'reportDataStartTimeMs' property :timezone_code, as: 'timezoneCode' end end diff --git a/generated/google/apis/doubleclickbidmanager_v1/service.rb b/generated/google/apis/doubleclickbidmanager_v1/service.rb index b834a1ef9..95246a237 100644 --- a/generated/google/apis/doubleclickbidmanager_v1/service.rb +++ b/generated/google/apis/doubleclickbidmanager_v1/service.rb @@ -50,6 +50,7 @@ module Google def initialize super('https://www.googleapis.com/', 'doubleclickbidmanager/v1/') + @batch_path = 'batch' end # Retrieves line items in CSV format. @@ -158,7 +159,7 @@ module Google end # Deletes a stored query as well as the associated stored reports. - # @param [String] query_id + # @param [Fixnum] query_id # Query ID to delete. # @param [String] fields # Selector specifying which fields to include in a partial response. @@ -191,7 +192,7 @@ module Google end # Retrieves a stored query. - # @param [String] query_id + # @param [Fixnum] query_id # Query ID to retrieve. # @param [String] fields # Selector specifying which fields to include in a partial response. @@ -258,7 +259,7 @@ module Google end # Runs a stored query to generate a report. - # @param [String] query_id + # @param [Fixnum] query_id # Query ID to run. # @param [Google::Apis::DoubleclickbidmanagerV1::RunQueryRequest] run_query_request_object # @param [String] fields @@ -294,7 +295,7 @@ module Google end # Retrieves stored reports. - # @param [String] query_id + # @param [Fixnum] query_id # Query ID with which the reports are associated. # @param [String] fields # Selector specifying which fields to include in a partial response. diff --git a/generated/google/apis/doubleclicksearch_v2/classes.rb b/generated/google/apis/doubleclicksearch_v2/classes.rb index 2f69d57c4..bfd4a79f4 100644 --- a/generated/google/apis/doubleclicksearch_v2/classes.rb +++ b/generated/google/apis/doubleclicksearch_v2/classes.rb @@ -28,23 +28,23 @@ module Google # DS advertiser ID. # Corresponds to the JSON property `advertiserId` - # @return [String] + # @return [Fixnum] attr_accessor :advertiser_id # DS agency ID. # Corresponds to the JSON property `agencyId` - # @return [String] + # @return [Fixnum] attr_accessor :agency_id # The time by which all conversions have been uploaded, in epoch millis UTC. # Corresponds to the JSON property `availabilityTimestamp` - # @return [String] + # @return [Fixnum] attr_accessor :availability_timestamp # The numeric segmentation identifier (for example, DoubleClick Search # Floodlight activity ID). # Corresponds to the JSON property `segmentationId` - # @return [String] + # @return [Fixnum] attr_accessor :segmentation_id # The friendly segmentation identifier (for example, DoubleClick Search @@ -80,22 +80,22 @@ module Google # DS ad group ID. # Corresponds to the JSON property `adGroupId` - # @return [String] + # @return [Fixnum] attr_accessor :ad_group_id # DS ad ID. # Corresponds to the JSON property `adId` - # @return [String] + # @return [Fixnum] attr_accessor :ad_id # DS advertiser ID. # Corresponds to the JSON property `advertiserId` - # @return [String] + # @return [Fixnum] attr_accessor :advertiser_id # DS agency ID. # Corresponds to the JSON property `agencyId` - # @return [String] + # @return [Fixnum] attr_accessor :agency_id # Available to advertisers only after contacting DoubleClick Search customer @@ -106,7 +106,7 @@ module Google # DS campaign ID. # Corresponds to the JSON property `campaignId` - # @return [String] + # @return [Fixnum] attr_accessor :campaign_id # Sales channel for the product. Acceptable values are: @@ -133,23 +133,23 @@ module Google # The time at which the conversion was last modified, in epoch millis UTC. # Corresponds to the JSON property `conversionModifiedTimestamp` - # @return [String] + # @return [Fixnum] attr_accessor :conversion_modified_timestamp # The time at which the conversion took place, in epoch millis UTC. # Corresponds to the JSON property `conversionTimestamp` - # @return [String] + # @return [Fixnum] attr_accessor :conversion_timestamp # Available to advertisers only after contacting DoubleClick Search customer # support. # Corresponds to the JSON property `countMillis` - # @return [String] + # @return [Fixnum] attr_accessor :count_millis # DS criterion (keyword) ID. # Corresponds to the JSON property `criterionId` - # @return [String] + # @return [Fixnum] attr_accessor :criterion_id # The currency code for the conversion's revenue. Should be in ISO 4217 @@ -176,12 +176,12 @@ module Google # ID that DoubleClick Search generates for each conversion. # Corresponds to the JSON property `dsConversionId` - # @return [String] + # @return [Fixnum] attr_accessor :ds_conversion_id # DS engine account ID. # Corresponds to the JSON property `engineAccountId` - # @return [String] + # @return [Fixnum] attr_accessor :engine_account_id # The Floodlight order ID provided by the advertiser for the conversion. @@ -192,7 +192,7 @@ module Google # ID that DS generates and uses to uniquely identify the inventory account that # contains the product. # Corresponds to the JSON property `inventoryAccountId` - # @return [String] + # @return [Fixnum] attr_accessor :inventory_account_id # The country registered for the Merchant Center feed that contains the product. @@ -203,7 +203,7 @@ module Google # DS product group ID. # Corresponds to the JSON property `productGroupId` - # @return [String] + # @return [Fixnum] attr_accessor :product_group_id # The product ID (SKU). @@ -219,20 +219,20 @@ module Google # The quantity of this conversion, in millis. # Corresponds to the JSON property `quantityMillis` - # @return [String] + # @return [Fixnum] attr_accessor :quantity_millis # The revenue amount of this TRANSACTION conversion, in micros (value multiplied # by 1000000, no decimal). For example, to specify a revenue value of "10" enter # "10000000" (10 million) in your request. # Corresponds to the JSON property `revenueMicros` - # @return [String] + # @return [Fixnum] attr_accessor :revenue_micros # The numeric segmentation identifier (for example, DoubleClick Search # Floodlight activity ID). # Corresponds to the JSON property `segmentationId` - # @return [String] + # @return [Fixnum] attr_accessor :segmentation_id # The friendly segmentation identifier (for example, DoubleClick Search @@ -467,7 +467,7 @@ module Google # The size of this report file in bytes. # Corresponds to the JSON property `byteCount` - # @return [String] + # @return [Fixnum] attr_accessor :byte_count # Use this url to download the report file. @@ -769,37 +769,37 @@ module Google # DS ad group ID. # Corresponds to the JSON property `adGroupId` - # @return [String] + # @return [Fixnum] attr_accessor :ad_group_id # DS ad ID. # Corresponds to the JSON property `adId` - # @return [String] + # @return [Fixnum] attr_accessor :ad_id # DS advertiser ID. # Corresponds to the JSON property `advertiserId` - # @return [String] + # @return [Fixnum] attr_accessor :advertiser_id # DS agency ID. # Corresponds to the JSON property `agencyId` - # @return [String] + # @return [Fixnum] attr_accessor :agency_id # DS campaign ID. # Corresponds to the JSON property `campaignId` - # @return [String] + # @return [Fixnum] attr_accessor :campaign_id # DS engine account ID. # Corresponds to the JSON property `engineAccountId` - # @return [String] + # @return [Fixnum] attr_accessor :engine_account_id # DS keyword ID. # Corresponds to the JSON property `keywordId` - # @return [String] + # @return [Fixnum] attr_accessor :keyword_id def initialize(**args) diff --git a/generated/google/apis/doubleclicksearch_v2/representations.rb b/generated/google/apis/doubleclicksearch_v2/representations.rb index cdf7a83a2..b17810d03 100644 --- a/generated/google/apis/doubleclicksearch_v2/representations.rb +++ b/generated/google/apis/doubleclicksearch_v2/representations.rb @@ -127,10 +127,10 @@ module Google class Availability # @private class Representation < Google::Apis::Core::JsonRepresentation - property :advertiser_id, as: 'advertiserId' - property :agency_id, as: 'agencyId' - property :availability_timestamp, as: 'availabilityTimestamp' - property :segmentation_id, as: 'segmentationId' + property :advertiser_id, :numeric_string => true, as: 'advertiserId' + property :agency_id, :numeric_string => true, as: 'agencyId' + property :availability_timestamp, :numeric_string => true, as: 'availabilityTimestamp' + property :segmentation_id, :numeric_string => true, as: 'segmentationId' property :segmentation_name, as: 'segmentationName' property :segmentation_type, as: 'segmentationType' end @@ -139,36 +139,36 @@ module Google class Conversion # @private class Representation < Google::Apis::Core::JsonRepresentation - property :ad_group_id, as: 'adGroupId' - property :ad_id, as: 'adId' - property :advertiser_id, as: 'advertiserId' - property :agency_id, as: 'agencyId' + property :ad_group_id, :numeric_string => true, as: 'adGroupId' + property :ad_id, :numeric_string => true, as: 'adId' + property :advertiser_id, :numeric_string => true, as: 'advertiserId' + property :agency_id, :numeric_string => true, as: 'agencyId' property :attribution_model, as: 'attributionModel' - property :campaign_id, as: 'campaignId' + property :campaign_id, :numeric_string => true, as: 'campaignId' property :channel, as: 'channel' property :click_id, as: 'clickId' property :conversion_id, as: 'conversionId' - property :conversion_modified_timestamp, as: 'conversionModifiedTimestamp' - property :conversion_timestamp, as: 'conversionTimestamp' - property :count_millis, as: 'countMillis' - property :criterion_id, as: 'criterionId' + property :conversion_modified_timestamp, :numeric_string => true, as: 'conversionModifiedTimestamp' + property :conversion_timestamp, :numeric_string => true, as: 'conversionTimestamp' + property :count_millis, :numeric_string => true, as: 'countMillis' + property :criterion_id, :numeric_string => true, as: 'criterionId' property :currency_code, as: 'currencyCode' collection :custom_dimension, as: 'customDimension', class: Google::Apis::DoubleclicksearchV2::CustomDimension, decorator: Google::Apis::DoubleclicksearchV2::CustomDimension::Representation collection :custom_metric, as: 'customMetric', class: Google::Apis::DoubleclicksearchV2::CustomMetric, decorator: Google::Apis::DoubleclicksearchV2::CustomMetric::Representation property :device_type, as: 'deviceType' - property :ds_conversion_id, as: 'dsConversionId' - property :engine_account_id, as: 'engineAccountId' + property :ds_conversion_id, :numeric_string => true, as: 'dsConversionId' + property :engine_account_id, :numeric_string => true, as: 'engineAccountId' property :floodlight_order_id, as: 'floodlightOrderId' - property :inventory_account_id, as: 'inventoryAccountId' + property :inventory_account_id, :numeric_string => true, as: 'inventoryAccountId' property :product_country, as: 'productCountry' - property :product_group_id, as: 'productGroupId' + property :product_group_id, :numeric_string => true, as: 'productGroupId' property :product_id, as: 'productId' property :product_language, as: 'productLanguage' - property :quantity_millis, as: 'quantityMillis' - property :revenue_micros, as: 'revenueMicros' - property :segmentation_id, as: 'segmentationId' + property :quantity_millis, :numeric_string => true, as: 'quantityMillis' + property :revenue_micros, :numeric_string => true, as: 'revenueMicros' + property :segmentation_id, :numeric_string => true, as: 'segmentationId' property :segmentation_name, as: 'segmentationName' property :segmentation_type, as: 'segmentationType' property :state, as: 'state' @@ -221,7 +221,7 @@ module Google class File # @private class Representation < Google::Apis::Core::JsonRepresentation - property :byte_count, as: 'byteCount' + property :byte_count, :numeric_string => true, as: 'byteCount' property :url, as: 'url' end end @@ -289,13 +289,13 @@ module Google class ReportScope # @private class Representation < Google::Apis::Core::JsonRepresentation - property :ad_group_id, as: 'adGroupId' - property :ad_id, as: 'adId' - property :advertiser_id, as: 'advertiserId' - property :agency_id, as: 'agencyId' - property :campaign_id, as: 'campaignId' - property :engine_account_id, as: 'engineAccountId' - property :keyword_id, as: 'keywordId' + property :ad_group_id, :numeric_string => true, as: 'adGroupId' + property :ad_id, :numeric_string => true, as: 'adId' + property :advertiser_id, :numeric_string => true, as: 'advertiserId' + property :agency_id, :numeric_string => true, as: 'agencyId' + property :campaign_id, :numeric_string => true, as: 'campaignId' + property :engine_account_id, :numeric_string => true, as: 'engineAccountId' + property :keyword_id, :numeric_string => true, as: 'keywordId' end end diff --git a/generated/google/apis/doubleclicksearch_v2/service.rb b/generated/google/apis/doubleclicksearch_v2/service.rb index 6ca16e1bb..f4470448b 100644 --- a/generated/google/apis/doubleclicksearch_v2/service.rb +++ b/generated/google/apis/doubleclicksearch_v2/service.rb @@ -51,14 +51,15 @@ module Google def initialize super('https://www.googleapis.com/', 'doubleclicksearch/v2/') + @batch_path = 'batch' end # Retrieves a list of conversions from a DoubleClick Search engine account. - # @param [String] agency_id + # @param [Fixnum] agency_id # Numeric ID of the agency. - # @param [String] advertiser_id + # @param [Fixnum] advertiser_id # Numeric ID of the advertiser. - # @param [String] engine_account_id + # @param [Fixnum] engine_account_id # Numeric ID of the engine account. # @param [Fixnum] end_date # Last date (inclusive) on which to retrieve conversions. Format is yyyymmdd. @@ -68,13 +69,13 @@ module Google # First date (inclusive) on which to retrieve conversions. Format is yyyymmdd. # @param [Fixnum] start_row # The 0-based starting index for retrieving conversions results. - # @param [String] ad_group_id + # @param [Fixnum] ad_group_id # Numeric ID of the ad group. - # @param [String] ad_id + # @param [Fixnum] ad_id # Numeric ID of the ad. - # @param [String] campaign_id + # @param [Fixnum] campaign_id # Numeric ID of the campaign. - # @param [String] criterion_id + # @param [Fixnum] criterion_id # Numeric ID of the criterion. # @param [String] fields # Selector specifying which fields to include in a partial response. @@ -155,13 +156,13 @@ module Google # Updates a batch of conversions in DoubleClick Search. This method supports # patch semantics. - # @param [String] advertiser_id + # @param [Fixnum] advertiser_id # Numeric ID of the advertiser. - # @param [String] agency_id + # @param [Fixnum] agency_id # Numeric ID of the agency. # @param [Fixnum] end_date # Last date (inclusive) on which to retrieve conversions. Format is yyyymmdd. - # @param [String] engine_account_id + # @param [Fixnum] engine_account_id # Numeric ID of the engine account. # @param [Fixnum] row_count # The number of conversions to return per call. @@ -430,9 +431,9 @@ module Google end # Retrieve the list of saved columns for a specified advertiser. - # @param [String] agency_id + # @param [Fixnum] agency_id # DS ID of the agency. - # @param [String] advertiser_id + # @param [Fixnum] advertiser_id # DS ID of the advertiser. # @param [String] fields # Selector specifying which fields to include in a partial response. diff --git a/generated/google/apis/drive_v2/classes.rb b/generated/google/apis/drive_v2/classes.rb index 81acef269..00ef8fb9c 100644 --- a/generated/google/apis/drive_v2/classes.rb +++ b/generated/google/apis/drive_v2/classes.rb @@ -86,7 +86,7 @@ module Google # The largest change id. # Corresponds to the JSON property `largestChangeId` - # @return [String] + # @return [Fixnum] attr_accessor :largest_change_id # List of max upload sizes for each file type. The most specific type takes @@ -112,22 +112,22 @@ module Google # The total number of quota bytes. # Corresponds to the JSON property `quotaBytesTotal` - # @return [String] + # @return [Fixnum] attr_accessor :quota_bytes_total # The number of quota bytes used by Google Drive. # Corresponds to the JSON property `quotaBytesUsed` - # @return [String] + # @return [Fixnum] attr_accessor :quota_bytes_used # The number of quota bytes used by all Google apps (Drive, Picasa, etc.). # Corresponds to the JSON property `quotaBytesUsedAggregate` - # @return [String] + # @return [Fixnum] attr_accessor :quota_bytes_used_aggregate # The number of quota bytes used by trashed items. # Corresponds to the JSON property `quotaBytesUsedInTrash` - # @return [String] + # @return [Fixnum] attr_accessor :quota_bytes_used_in_trash # The type of the user's storage quota. Possible values are: @@ -139,7 +139,7 @@ module Google # The number of remaining change ids, limited to no more than 2500. # Corresponds to the JSON property `remainingChangeIds` - # @return [String] + # @return [Fixnum] attr_accessor :remaining_change_ids # The id of the root folder. @@ -326,7 +326,7 @@ module Google # The max upload size for this type. # Corresponds to the JSON property `size` - # @return [String] + # @return [Fixnum] attr_accessor :size # The file type. @@ -351,7 +351,7 @@ module Google # The storage quota bytes used by the service. # Corresponds to the JSON property `bytesUsed` - # @return [String] + # @return [Fixnum] attr_accessor :bytes_used # The service's name, e.g. DRIVE, GMAIL, or PHOTOS. @@ -677,7 +677,7 @@ module Google # The ID of the change. # Corresponds to the JSON property `id` - # @return [String] + # @return [Fixnum] attr_accessor :id # This is always drive#change. @@ -751,7 +751,7 @@ module Google # The current largest change ID. # Corresponds to the JSON property `largestChangeId` - # @return [String] + # @return [Fixnum] attr_accessor :largest_change_id # The starting page token for future changes. This will be present only if the @@ -807,7 +807,7 @@ module Google # Date and time of notification channel expiration, expressed as a Unix # timestamp, in milliseconds. Optional. # Corresponds to the JSON property `expiration` - # @return [String] + # @return [Fixnum] attr_accessor :expiration # A UUID or similar unique string that identifies this channel. @@ -1369,7 +1369,7 @@ module Google # The size of the file in bytes. This field is only populated for files with # content stored in Drive; it is not populated for Google Docs or shortcut files. # Corresponds to the JSON property `fileSize` - # @return [String] + # @return [Fixnum] attr_accessor :file_size # Folder color as an RGB hex string if the file is a folder. The list of @@ -1544,7 +1544,7 @@ module Google # The number of quota bytes used by this file. # Corresponds to the JSON property `quotaBytesUsed` - # @return [String] + # @return [Fixnum] attr_accessor :quota_bytes_used # A link back to this file. @@ -1600,7 +1600,7 @@ module Google # The thumbnail version for use in thumbnail cache invalidation. # Corresponds to the JSON property `thumbnailVersion` - # @return [String] + # @return [Fixnum] attr_accessor :thumbnail_version # The title of this file. Note that for immutable items such as the top level @@ -1630,7 +1630,7 @@ module Google # change made to the file on the server, even those not visible to the # requesting user. # Corresponds to the JSON property `version` - # @return [String] + # @return [Fixnum] attr_accessor :version # Metadata about video media. This will only be present for video types. @@ -2152,7 +2152,7 @@ module Google # The duration of the video in milliseconds. # Corresponds to the JSON property `durationMillis` - # @return [String] + # @return [Fixnum] attr_accessor :duration_millis # The height of the video in pixels. @@ -2732,7 +2732,7 @@ module Google # The size of the revision in bytes. This will only be populated on files with # content stored in Drive. # Corresponds to the JSON property `fileSize` - # @return [String] + # @return [Fixnum] attr_accessor :file_size # The ID of the revision. diff --git a/generated/google/apis/drive_v2/representations.rb b/generated/google/apis/drive_v2/representations.rb index 01ca7bad6..e8afa7097 100644 --- a/generated/google/apis/drive_v2/representations.rb +++ b/generated/google/apis/drive_v2/representations.rb @@ -333,19 +333,19 @@ module Google property :is_current_app_installed, as: 'isCurrentAppInstalled' property :kind, as: 'kind' property :language_code, as: 'languageCode' - property :largest_change_id, as: 'largestChangeId' + property :largest_change_id, :numeric_string => true, as: 'largestChangeId' collection :max_upload_sizes, as: 'maxUploadSizes', class: Google::Apis::DriveV2::About::MaxUploadSize, decorator: Google::Apis::DriveV2::About::MaxUploadSize::Representation property :name, as: 'name' property :permission_id, as: 'permissionId' collection :quota_bytes_by_service, as: 'quotaBytesByService', class: Google::Apis::DriveV2::About::QuotaBytesByService, decorator: Google::Apis::DriveV2::About::QuotaBytesByService::Representation - property :quota_bytes_total, as: 'quotaBytesTotal' - property :quota_bytes_used, as: 'quotaBytesUsed' - property :quota_bytes_used_aggregate, as: 'quotaBytesUsedAggregate' - property :quota_bytes_used_in_trash, as: 'quotaBytesUsedInTrash' + property :quota_bytes_total, :numeric_string => true, as: 'quotaBytesTotal' + property :quota_bytes_used, :numeric_string => true, as: 'quotaBytesUsed' + property :quota_bytes_used_aggregate, :numeric_string => true, as: 'quotaBytesUsedAggregate' + property :quota_bytes_used_in_trash, :numeric_string => true, as: 'quotaBytesUsedInTrash' property :quota_type, as: 'quotaType' - property :remaining_change_ids, as: 'remainingChangeIds' + property :remaining_change_ids, :numeric_string => true, as: 'remainingChangeIds' property :root_folder_id, as: 'rootFolderId' property :self_link, as: 'selfLink' collection :team_drive_themes, as: 'teamDriveThemes', class: Google::Apis::DriveV2::About::TeamDriveTheme, decorator: Google::Apis::DriveV2::About::TeamDriveTheme::Representation @@ -398,7 +398,7 @@ module Google class MaxUploadSize # @private class Representation < Google::Apis::Core::JsonRepresentation - property :size, as: 'size' + property :size, :numeric_string => true, as: 'size' property :type, as: 'type' end end @@ -406,7 +406,7 @@ module Google class QuotaBytesByService # @private class Representation < Google::Apis::Core::JsonRepresentation - property :bytes_used, as: 'bytesUsed' + property :bytes_used, :numeric_string => true, as: 'bytesUsed' property :service_name, as: 'serviceName' end end @@ -480,7 +480,7 @@ module Google property :file, as: 'file', class: Google::Apis::DriveV2::File, decorator: Google::Apis::DriveV2::File::Representation property :file_id, as: 'fileId' - property :id, as: 'id' + property :id, :numeric_string => true, as: 'id' property :kind, as: 'kind' property :modification_date, as: 'modificationDate', type: DateTime @@ -499,7 +499,7 @@ module Google collection :items, as: 'items', class: Google::Apis::DriveV2::Change, decorator: Google::Apis::DriveV2::Change::Representation property :kind, as: 'kind' - property :largest_change_id, as: 'largestChangeId' + property :largest_change_id, :numeric_string => true, as: 'largestChangeId' property :new_start_page_token, as: 'newStartPageToken' property :next_link, as: 'nextLink' property :next_page_token, as: 'nextPageToken' @@ -511,7 +511,7 @@ module Google # @private class Representation < Google::Apis::Core::JsonRepresentation property :address, as: 'address' - property :expiration, as: 'expiration' + property :expiration, :numeric_string => true, as: 'expiration' property :id, as: 'id' property :kind, as: 'kind' hash :params, as: 'params' @@ -643,7 +643,7 @@ module Google property :explicitly_trashed, as: 'explicitlyTrashed' hash :export_links, as: 'exportLinks' property :file_extension, as: 'fileExtension' - property :file_size, as: 'fileSize' + property :file_size, :numeric_string => true, as: 'fileSize' property :folder_color_rgb, as: 'folderColorRgb' property :full_file_extension, as: 'fullFileExtension' property :has_augmented_permissions, as: 'hasAugmentedPermissions' @@ -684,7 +684,7 @@ module Google collection :properties, as: 'properties', class: Google::Apis::DriveV2::Property, decorator: Google::Apis::DriveV2::Property::Representation - property :quota_bytes_used, as: 'quotaBytesUsed' + property :quota_bytes_used, :numeric_string => true, as: 'quotaBytesUsed' property :self_link, as: 'selfLink' property :shareable, as: 'shareable' property :shared, as: 'shared' @@ -697,7 +697,7 @@ module Google property :thumbnail, as: 'thumbnail', class: Google::Apis::DriveV2::File::Thumbnail, decorator: Google::Apis::DriveV2::File::Thumbnail::Representation property :thumbnail_link, as: 'thumbnailLink' - property :thumbnail_version, as: 'thumbnailVersion' + property :thumbnail_version, :numeric_string => true, as: 'thumbnailVersion' property :title, as: 'title' property :trashed_date, as: 'trashedDate', type: DateTime @@ -705,7 +705,7 @@ module Google property :user_permission, as: 'userPermission', class: Google::Apis::DriveV2::Permission, decorator: Google::Apis::DriveV2::Permission::Representation - property :version, as: 'version' + property :version, :numeric_string => true, as: 'version' property :video_media_metadata, as: 'videoMediaMetadata', class: Google::Apis::DriveV2::File::VideoMediaMetadata, decorator: Google::Apis::DriveV2::File::VideoMediaMetadata::Representation property :web_content_link, as: 'webContentLink' @@ -802,7 +802,7 @@ module Google class VideoMediaMetadata # @private class Representation < Google::Apis::Core::JsonRepresentation - property :duration_millis, as: 'durationMillis' + property :duration_millis, :numeric_string => true, as: 'durationMillis' property :height, as: 'height' property :width, as: 'width' end @@ -938,7 +938,7 @@ module Google property :download_url, as: 'downloadUrl' property :etag, as: 'etag' hash :export_links, as: 'exportLinks' - property :file_size, as: 'fileSize' + property :file_size, :numeric_string => true, as: 'fileSize' property :id, as: 'id' property :kind, as: 'kind' property :last_modifying_user, as: 'lastModifyingUser', class: Google::Apis::DriveV2::User, decorator: Google::Apis::DriveV2::User::Representation diff --git a/generated/google/apis/drive_v2/service.rb b/generated/google/apis/drive_v2/service.rb index 9191fd884..396d108ab 100644 --- a/generated/google/apis/drive_v2/service.rb +++ b/generated/google/apis/drive_v2/service.rb @@ -51,6 +51,7 @@ module Google def initialize super('https://www.googleapis.com/', 'drive/v2/') + @batch_path = 'batch' end # Gets the information about the current user along with Drive API settings @@ -59,9 +60,9 @@ module Google # files the user has opened and shared files. When set to false, this counts # only change IDs for owned files and any shared or public files that the user # has explicitly added to a folder they own. - # @param [String] max_change_id_count + # @param [Fixnum] max_change_id_count # Maximum number of remaining change IDs to count - # @param [String] start_change_id + # @param [Fixnum] start_change_id # Change ID to start counting from when calculating number of remaining change # IDs # @param [String] fields @@ -285,7 +286,7 @@ module Google # @param [String] spaces # A comma-separated list of spaces to query. Supported values are 'drive', ' # appDataFolder' and 'photos'. - # @param [String] start_change_id + # @param [Fixnum] start_change_id # Change ID to start listing changes from. # @param [Boolean] supports_team_drives # Whether the requesting application supports Team Drives. @@ -359,7 +360,7 @@ module Google # @param [String] spaces # A comma-separated list of spaces to query. Supported values are 'drive', ' # appDataFolder' and 'photos'. - # @param [String] start_change_id + # @param [Fixnum] start_change_id # Change ID to start listing changes from. # @param [Boolean] supports_team_drives # Whether the requesting application supports Team Drives. diff --git a/generated/google/apis/drive_v3/classes.rb b/generated/google/apis/drive_v3/classes.rb index 7d11b3eae..e0210dd92 100644 --- a/generated/google/apis/drive_v3/classes.rb +++ b/generated/google/apis/drive_v3/classes.rb @@ -55,12 +55,12 @@ module Google # A map of maximum import sizes by MIME type, in bytes. # Corresponds to the JSON property `maxImportSizes` - # @return [Hash] + # @return [Hash] attr_accessor :max_import_sizes # The maximum upload size in bytes. # Corresponds to the JSON property `maxUploadSize` - # @return [String] + # @return [Fixnum] attr_accessor :max_upload_size # The user's storage quota limits and usage. All fields are measured in bytes. @@ -103,22 +103,22 @@ module Google # The usage limit, if applicable. This will not be present if the user has # unlimited storage. # Corresponds to the JSON property `limit` - # @return [String] + # @return [Fixnum] attr_accessor :limit # The total usage across all services. # Corresponds to the JSON property `usage` - # @return [String] + # @return [Fixnum] attr_accessor :usage # The usage by all files in Google Drive. # Corresponds to the JSON property `usageInDrive` - # @return [String] + # @return [Fixnum] attr_accessor :usage_in_drive # The usage by trashed files in Google Drive. # Corresponds to the JSON property `usageInDriveTrash` - # @return [String] + # @return [Fixnum] attr_accessor :usage_in_drive_trash def initialize(**args) @@ -285,7 +285,7 @@ module Google # Date and time of notification channel expiration, expressed as a Unix # timestamp, in milliseconds. Optional. # Corresponds to the JSON property `expiration` - # @return [String] + # @return [Fixnum] attr_accessor :expiration # A UUID or similar unique string that identifies this channel. @@ -704,7 +704,7 @@ module Google # The number of storage quota bytes used by the file. This includes the head # revision as well as previous revisions with keepForever enabled. # Corresponds to the JSON property `quotaBytesUsed` - # @return [String] + # @return [Fixnum] attr_accessor :quota_bytes_used # Whether the file has been shared. Not populated for Team Drive files. @@ -727,7 +727,7 @@ module Google # The size of the file's content in bytes. This is only applicable to files with # binary content in Drive. # Corresponds to the JSON property `size` - # @return [String] + # @return [Fixnum] attr_accessor :size # The list of spaces which contain the file. The currently supported values are ' @@ -756,7 +756,7 @@ module Google # The thumbnail version for use in thumbnail cache invalidation. # Corresponds to the JSON property `thumbnailVersion` - # @return [String] + # @return [Fixnum] attr_accessor :thumbnail_version # Whether the file has been trashed, either explicitly or from a trashed parent @@ -781,7 +781,7 @@ module Google # A monotonically increasing version number for the file. This reflects every # change made to the file on the server, even those not visible to the user. # Corresponds to the JSON property `version` - # @return [String] + # @return [Fixnum] attr_accessor :version # Additional metadata about video media. This may not be available immediately @@ -1257,7 +1257,7 @@ module Google # The duration of the video in milliseconds. # Corresponds to the JSON property `durationMillis` - # @return [String] + # @return [Fixnum] attr_accessor :duration_millis # The height of the video in pixels. @@ -1732,7 +1732,7 @@ module Google # The size of the revision's content in bytes. This is only applicable to files # with binary content in Drive. # Corresponds to the JSON property `size` - # @return [String] + # @return [Fixnum] attr_accessor :size def initialize(**args) diff --git a/generated/google/apis/drive_v3/representations.rb b/generated/google/apis/drive_v3/representations.rb index 0700c3c16..28cae7428 100644 --- a/generated/google/apis/drive_v3/representations.rb +++ b/generated/google/apis/drive_v3/representations.rb @@ -225,7 +225,7 @@ module Google property :kind, as: 'kind' hash :max_import_sizes, as: 'maxImportSizes' - property :max_upload_size, as: 'maxUploadSize' + property :max_upload_size, :numeric_string => true, as: 'maxUploadSize' property :storage_quota, as: 'storageQuota', class: Google::Apis::DriveV3::About::StorageQuota, decorator: Google::Apis::DriveV3::About::StorageQuota::Representation collection :team_drive_themes, as: 'teamDriveThemes', class: Google::Apis::DriveV3::About::TeamDriveTheme, decorator: Google::Apis::DriveV3::About::TeamDriveTheme::Representation @@ -237,10 +237,10 @@ module Google class StorageQuota # @private class Representation < Google::Apis::Core::JsonRepresentation - property :limit, as: 'limit' - property :usage, as: 'usage' - property :usage_in_drive, as: 'usageInDrive' - property :usage_in_drive_trash, as: 'usageInDriveTrash' + property :limit, :numeric_string => true, as: 'limit' + property :usage, :numeric_string => true, as: 'usage' + property :usage_in_drive, :numeric_string => true, as: 'usageInDrive' + property :usage_in_drive_trash, :numeric_string => true, as: 'usageInDriveTrash' end end @@ -286,7 +286,7 @@ module Google # @private class Representation < Google::Apis::Core::JsonRepresentation property :address, as: 'address' - property :expiration, as: 'expiration' + property :expiration, :numeric_string => true, as: 'expiration' property :id, as: 'id' property :kind, as: 'kind' hash :params, as: 'params' @@ -381,24 +381,24 @@ module Google collection :permissions, as: 'permissions', class: Google::Apis::DriveV3::Permission, decorator: Google::Apis::DriveV3::Permission::Representation hash :properties, as: 'properties' - property :quota_bytes_used, as: 'quotaBytesUsed' + property :quota_bytes_used, :numeric_string => true, as: 'quotaBytesUsed' property :shared, as: 'shared' property :shared_with_me_time, as: 'sharedWithMeTime', type: DateTime property :sharing_user, as: 'sharingUser', class: Google::Apis::DriveV3::User, decorator: Google::Apis::DriveV3::User::Representation - property :size, as: 'size' + property :size, :numeric_string => true, as: 'size' collection :spaces, as: 'spaces' property :starred, as: 'starred' property :team_drive_id, as: 'teamDriveId' property :thumbnail_link, as: 'thumbnailLink' - property :thumbnail_version, as: 'thumbnailVersion' + property :thumbnail_version, :numeric_string => true, as: 'thumbnailVersion' property :trashed, as: 'trashed' property :trashed_time, as: 'trashedTime', type: DateTime property :trashing_user, as: 'trashingUser', class: Google::Apis::DriveV3::User, decorator: Google::Apis::DriveV3::User::Representation - property :version, as: 'version' + property :version, :numeric_string => true, as: 'version' property :video_media_metadata, as: 'videoMediaMetadata', class: Google::Apis::DriveV3::File::VideoMediaMetadata, decorator: Google::Apis::DriveV3::File::VideoMediaMetadata::Representation property :viewed_by_me, as: 'viewedByMe' @@ -489,7 +489,7 @@ module Google class VideoMediaMetadata # @private class Representation < Google::Apis::Core::JsonRepresentation - property :duration_millis, as: 'durationMillis' + property :duration_millis, :numeric_string => true, as: 'durationMillis' property :height, as: 'height' property :width, as: 'width' end @@ -599,7 +599,7 @@ module Google property :publish_auto, as: 'publishAuto' property :published, as: 'published' property :published_outside_domain, as: 'publishedOutsideDomain' - property :size, as: 'size' + property :size, :numeric_string => true, as: 'size' end end diff --git a/generated/google/apis/drive_v3/service.rb b/generated/google/apis/drive_v3/service.rb index afce2aeb3..ed623812c 100644 --- a/generated/google/apis/drive_v3/service.rb +++ b/generated/google/apis/drive_v3/service.rb @@ -51,6 +51,7 @@ module Google def initialize super('https://www.googleapis.com/', 'drive/v3/') + @batch_path = 'batch' end # Gets information about the user, the user's Drive, and system capabilities. diff --git a/generated/google/apis/firebasedynamiclinks_v1.rb b/generated/google/apis/firebasedynamiclinks_v1.rb index 354f4d039..9f4a1d17f 100644 --- a/generated/google/apis/firebasedynamiclinks_v1.rb +++ b/generated/google/apis/firebasedynamiclinks_v1.rb @@ -26,7 +26,7 @@ module Google # @see https://firebase.google.com/docs/dynamic-links/ module FirebasedynamiclinksV1 VERSION = 'V1' - REVISION = '20170330' + REVISION = '20170323' # View and administer all your Firebase data and settings AUTH_FIREBASE = 'https://www.googleapis.com/auth/firebase' diff --git a/generated/google/apis/firebasedynamiclinks_v1/classes.rb b/generated/google/apis/firebasedynamiclinks_v1/classes.rb index 5cac00302..61580f008 100644 --- a/generated/google/apis/firebasedynamiclinks_v1/classes.rb +++ b/generated/google/apis/firebasedynamiclinks_v1/classes.rb @@ -22,38 +22,6 @@ module Google module Apis module FirebasedynamiclinksV1 - # Parameters for social meta tag params. - # Used to set meta tag data for link previews on social sites. - class SocialMetaTagInfo - include Google::Apis::Core::Hashable - - # A short description of the link. Optional. - # Corresponds to the JSON property `socialDescription` - # @return [String] - attr_accessor :social_description - - # Title to be displayed. Optional. - # Corresponds to the JSON property `socialTitle` - # @return [String] - attr_accessor :social_title - - # An image url string. Optional. - # Corresponds to the JSON property `socialImageLink` - # @return [String] - attr_accessor :social_image_link - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @social_description = args[:social_description] if args.key?(:social_description) - @social_title = args[:social_title] if args.key?(:social_title) - @social_image_link = args[:social_image_link] if args.key?(:social_image_link) - end - end - # Dynamic Links warning messages. class DynamicLinkWarning include Google::Apis::Core::Hashable @@ -83,6 +51,16 @@ module Google class AndroidInfo include Google::Apis::Core::Hashable + # If specified, this overrides the ‘link’ parameter on Android. + # Corresponds to the JSON property `androidLink` + # @return [String] + attr_accessor :android_link + + # Link to open on Android if the app is not installed. + # Corresponds to the JSON property `androidFallbackLink` + # @return [String] + attr_accessor :android_fallback_link + # Android package name of the app. # Corresponds to the JSON property `androidPackageName` # @return [String] @@ -94,26 +72,16 @@ module Google # @return [String] attr_accessor :android_min_package_version_code - # If specified, this overrides the ‘link’ parameter on Android. - # Corresponds to the JSON property `androidLink` - # @return [String] - attr_accessor :android_link - - # Link to open on Android if the app is not installed. - # Corresponds to the JSON property `androidFallbackLink` - # @return [String] - attr_accessor :android_fallback_link - def initialize(**args) update!(**args) end # Update properties of this object def update!(**args) - @android_package_name = args[:android_package_name] if args.key?(:android_package_name) - @android_min_package_version_code = args[:android_min_package_version_code] if args.key?(:android_min_package_version_code) @android_link = args[:android_link] if args.key?(:android_link) @android_fallback_link = args[:android_fallback_link] if args.key?(:android_fallback_link) + @android_package_name = args[:android_package_name] if args.key?(:android_package_name) + @android_min_package_version_code = args[:android_min_package_version_code] if args.key?(:android_min_package_version_code) end end @@ -142,6 +110,11 @@ module Google class IosInfo include Google::Apis::Core::Hashable + # iOS App Store ID. + # Corresponds to the JSON property `iosAppStoreId` + # @return [String] + attr_accessor :ios_app_store_id + # If specified, this overrides the ios_fallback_link value on iPads. # Corresponds to the JSON property `iosIpadFallbackLink` # @return [String] @@ -169,23 +142,18 @@ module Google # @return [String] attr_accessor :ios_fallback_link - # iOS App Store ID. - # Corresponds to the JSON property `iosAppStoreId` - # @return [String] - attr_accessor :ios_app_store_id - def initialize(**args) update!(**args) end # Update properties of this object def update!(**args) + @ios_app_store_id = args[:ios_app_store_id] if args.key?(:ios_app_store_id) @ios_ipad_fallback_link = args[:ios_ipad_fallback_link] if args.key?(:ios_ipad_fallback_link) @ios_ipad_bundle_id = args[:ios_ipad_bundle_id] if args.key?(:ios_ipad_bundle_id) @ios_custom_scheme = args[:ios_custom_scheme] if args.key?(:ios_custom_scheme) @ios_bundle_id = args[:ios_bundle_id] if args.key?(:ios_bundle_id) @ios_fallback_link = args[:ios_fallback_link] if args.key?(:ios_fallback_link) - @ios_app_store_id = args[:ios_app_store_id] if args.key?(:ios_app_store_id) end end @@ -193,6 +161,11 @@ module Google class AnalyticsInfo include Google::Apis::Core::Hashable + # Parameters for iTunes Connect App Analytics. + # Corresponds to the JSON property `itunesConnectAnalytics` + # @return [Google::Apis::FirebasedynamiclinksV1::ITunesConnectAnalytics] + attr_accessor :itunes_connect_analytics + # Parameters for Google Play Campaign Measurements. # [Learn more](https://developers.google.com/analytics/devguides/collection/ # android/v4/campaigns#campaign-params) @@ -200,19 +173,14 @@ module Google # @return [Google::Apis::FirebasedynamiclinksV1::GooglePlayAnalytics] attr_accessor :google_play_analytics - # Parameters for iTunes Connect App Analytics. - # Corresponds to the JSON property `itunesConnectAnalytics` - # @return [Google::Apis::FirebasedynamiclinksV1::ITunesConnectAnalytics] - attr_accessor :itunes_connect_analytics - def initialize(**args) update!(**args) end # Update properties of this object def update!(**args) - @google_play_analytics = args[:google_play_analytics] if args.key?(:google_play_analytics) @itunes_connect_analytics = args[:itunes_connect_analytics] if args.key?(:itunes_connect_analytics) + @google_play_analytics = args[:google_play_analytics] if args.key?(:google_play_analytics) end end @@ -255,6 +223,11 @@ module Google class CreateShortDynamicLinkResponse include Google::Apis::Core::Hashable + # Information about potential warnings on link creation. + # Corresponds to the JSON property `warning` + # @return [Array] + attr_accessor :warning + # Short Dynamic Link value. e.g. https://abcd.app.goo.gl/wxyz # Corresponds to the JSON property `shortLink` # @return [String] @@ -265,20 +238,15 @@ module Google # @return [String] attr_accessor :preview_link - # Information about potential warnings on link creation. - # Corresponds to the JSON property `warning` - # @return [Array] - attr_accessor :warning - def initialize(**args) update!(**args) end # Update properties of this object def update!(**args) + @warning = args[:warning] if args.key?(:warning) @short_link = args[:short_link] if args.key?(:short_link) @preview_link = args[:preview_link] if args.key?(:preview_link) - @warning = args[:warning] if args.key?(:warning) end end @@ -307,12 +275,6 @@ module Google class GooglePlayAnalytics include Google::Apis::Core::Hashable - # Campaign content; used for A/B testing and content-targeted ads to - # differentiate ads or links that point to the same URL. - # Corresponds to the JSON property `utmContent` - # @return [String] - attr_accessor :utm_content - # Campaign medium; used to identify a medium such as email or cost-per-click. # Corresponds to the JSON property `utmMedium` # @return [String] @@ -343,18 +305,24 @@ module Google # @return [String] attr_accessor :gclid + # Campaign content; used for A/B testing and content-targeted ads to + # differentiate ads or links that point to the same URL. + # Corresponds to the JSON property `utmContent` + # @return [String] + attr_accessor :utm_content + def initialize(**args) update!(**args) end # Update properties of this object def update!(**args) - @utm_content = args[:utm_content] if args.key?(:utm_content) @utm_medium = args[:utm_medium] if args.key?(:utm_medium) @utm_term = args[:utm_term] if args.key?(:utm_term) @utm_source = args[:utm_source] if args.key?(:utm_source) @utm_campaign = args[:utm_campaign] if args.key?(:utm_campaign) @gclid = args[:gclid] if args.key?(:gclid) + @utm_content = args[:utm_content] if args.key?(:utm_content) end end @@ -362,16 +330,6 @@ module Google class DynamicLinkInfo include Google::Apis::Core::Hashable - # Android related attributes to the Dynamic Link. - # Corresponds to the JSON property `androidInfo` - # @return [Google::Apis::FirebasedynamiclinksV1::AndroidInfo] - attr_accessor :android_info - - # Information of navigation behavior. - # Corresponds to the JSON property `navigationInfo` - # @return [Google::Apis::FirebasedynamiclinksV1::NavigationInfo] - attr_accessor :navigation_info - # Tracking parameters supported by Dynamic Link. # Corresponds to the JSON property `analyticsInfo` # @return [Google::Apis::FirebasedynamiclinksV1::AnalyticsInfo] @@ -407,19 +365,29 @@ module Google # @return [Google::Apis::FirebasedynamiclinksV1::SocialMetaTagInfo] attr_accessor :social_meta_tag_info + # Android related attributes to the Dynamic Link. + # Corresponds to the JSON property `androidInfo` + # @return [Google::Apis::FirebasedynamiclinksV1::AndroidInfo] + attr_accessor :android_info + + # Information of navigation behavior. + # Corresponds to the JSON property `navigationInfo` + # @return [Google::Apis::FirebasedynamiclinksV1::NavigationInfo] + attr_accessor :navigation_info + def initialize(**args) update!(**args) end # Update properties of this object def update!(**args) - @android_info = args[:android_info] if args.key?(:android_info) - @navigation_info = args[:navigation_info] if args.key?(:navigation_info) @analytics_info = args[:analytics_info] if args.key?(:analytics_info) @dynamic_link_domain = args[:dynamic_link_domain] if args.key?(:dynamic_link_domain) @link = args[:link] if args.key?(:link) @ios_info = args[:ios_info] if args.key?(:ios_info) @social_meta_tag_info = args[:social_meta_tag_info] if args.key?(:social_meta_tag_info) + @android_info = args[:android_info] if args.key?(:android_info) + @navigation_info = args[:navigation_info] if args.key?(:navigation_info) end end @@ -461,6 +429,38 @@ module Google @pt = args[:pt] if args.key?(:pt) end end + + # Parameters for social meta tag params. + # Used to set meta tag data for link previews on social sites. + class SocialMetaTagInfo + include Google::Apis::Core::Hashable + + # Title to be displayed. Optional. + # Corresponds to the JSON property `socialTitle` + # @return [String] + attr_accessor :social_title + + # An image url string. Optional. + # Corresponds to the JSON property `socialImageLink` + # @return [String] + attr_accessor :social_image_link + + # A short description of the link. Optional. + # Corresponds to the JSON property `socialDescription` + # @return [String] + attr_accessor :social_description + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @social_title = args[:social_title] if args.key?(:social_title) + @social_image_link = args[:social_image_link] if args.key?(:social_image_link) + @social_description = args[:social_description] if args.key?(:social_description) + end + end end end end diff --git a/generated/google/apis/firebasedynamiclinks_v1/representations.rb b/generated/google/apis/firebasedynamiclinks_v1/representations.rb index 44a182614..3b0f5e4e2 100644 --- a/generated/google/apis/firebasedynamiclinks_v1/representations.rb +++ b/generated/google/apis/firebasedynamiclinks_v1/representations.rb @@ -22,12 +22,6 @@ module Google module Apis module FirebasedynamiclinksV1 - class SocialMetaTagInfo - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - class DynamicLinkWarning class Representation < Google::Apis::Core::JsonRepresentation; end @@ -95,12 +89,9 @@ module Google end class SocialMetaTagInfo - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :social_description, as: 'socialDescription' - property :social_title, as: 'socialTitle' - property :social_image_link, as: 'socialImageLink' - end + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class DynamicLinkWarning @@ -114,10 +105,10 @@ module Google class AndroidInfo # @private class Representation < Google::Apis::Core::JsonRepresentation - property :android_package_name, as: 'androidPackageName' - property :android_min_package_version_code, as: 'androidMinPackageVersionCode' property :android_link, as: 'androidLink' property :android_fallback_link, as: 'androidFallbackLink' + property :android_package_name, as: 'androidPackageName' + property :android_min_package_version_code, as: 'androidMinPackageVersionCode' end end @@ -131,22 +122,22 @@ module Google class IosInfo # @private class Representation < Google::Apis::Core::JsonRepresentation + property :ios_app_store_id, as: 'iosAppStoreId' property :ios_ipad_fallback_link, as: 'iosIpadFallbackLink' property :ios_ipad_bundle_id, as: 'iosIpadBundleId' property :ios_custom_scheme, as: 'iosCustomScheme' property :ios_bundle_id, as: 'iosBundleId' property :ios_fallback_link, as: 'iosFallbackLink' - property :ios_app_store_id, as: 'iosAppStoreId' end end class AnalyticsInfo # @private class Representation < Google::Apis::Core::JsonRepresentation - property :google_play_analytics, as: 'googlePlayAnalytics', class: Google::Apis::FirebasedynamiclinksV1::GooglePlayAnalytics, decorator: Google::Apis::FirebasedynamiclinksV1::GooglePlayAnalytics::Representation - property :itunes_connect_analytics, as: 'itunesConnectAnalytics', class: Google::Apis::FirebasedynamiclinksV1::ITunesConnectAnalytics, decorator: Google::Apis::FirebasedynamiclinksV1::ITunesConnectAnalytics::Representation + property :google_play_analytics, as: 'googlePlayAnalytics', class: Google::Apis::FirebasedynamiclinksV1::GooglePlayAnalytics, decorator: Google::Apis::FirebasedynamiclinksV1::GooglePlayAnalytics::Representation + end end @@ -164,10 +155,10 @@ module Google class CreateShortDynamicLinkResponse # @private class Representation < Google::Apis::Core::JsonRepresentation - property :short_link, as: 'shortLink' - property :preview_link, as: 'previewLink' collection :warning, as: 'warning', class: Google::Apis::FirebasedynamiclinksV1::DynamicLinkWarning, decorator: Google::Apis::FirebasedynamiclinksV1::DynamicLinkWarning::Representation + property :short_link, as: 'shortLink' + property :preview_link, as: 'previewLink' end end @@ -181,22 +172,18 @@ module Google class GooglePlayAnalytics # @private class Representation < Google::Apis::Core::JsonRepresentation - property :utm_content, as: 'utmContent' property :utm_medium, as: 'utmMedium' property :utm_term, as: 'utmTerm' property :utm_source, as: 'utmSource' property :utm_campaign, as: 'utmCampaign' property :gclid, as: 'gclid' + property :utm_content, as: 'utmContent' end end class DynamicLinkInfo # @private class Representation < Google::Apis::Core::JsonRepresentation - property :android_info, as: 'androidInfo', class: Google::Apis::FirebasedynamiclinksV1::AndroidInfo, decorator: Google::Apis::FirebasedynamiclinksV1::AndroidInfo::Representation - - property :navigation_info, as: 'navigationInfo', class: Google::Apis::FirebasedynamiclinksV1::NavigationInfo, decorator: Google::Apis::FirebasedynamiclinksV1::NavigationInfo::Representation - property :analytics_info, as: 'analyticsInfo', class: Google::Apis::FirebasedynamiclinksV1::AnalyticsInfo, decorator: Google::Apis::FirebasedynamiclinksV1::AnalyticsInfo::Representation property :dynamic_link_domain, as: 'dynamicLinkDomain' @@ -205,6 +192,10 @@ module Google property :social_meta_tag_info, as: 'socialMetaTagInfo', class: Google::Apis::FirebasedynamiclinksV1::SocialMetaTagInfo, decorator: Google::Apis::FirebasedynamiclinksV1::SocialMetaTagInfo::Representation + property :android_info, as: 'androidInfo', class: Google::Apis::FirebasedynamiclinksV1::AndroidInfo, decorator: Google::Apis::FirebasedynamiclinksV1::AndroidInfo::Representation + + property :navigation_info, as: 'navigationInfo', class: Google::Apis::FirebasedynamiclinksV1::NavigationInfo, decorator: Google::Apis::FirebasedynamiclinksV1::NavigationInfo::Representation + end end @@ -217,6 +208,15 @@ module Google property :pt, as: 'pt' end end + + class SocialMetaTagInfo + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :social_title, as: 'socialTitle' + property :social_image_link, as: 'socialImageLink' + property :social_description, as: 'socialDescription' + end + end end end end diff --git a/generated/google/apis/firebasedynamiclinks_v1/service.rb b/generated/google/apis/firebasedynamiclinks_v1/service.rb index fb2679f52..e9d6e7f79 100644 --- a/generated/google/apis/firebasedynamiclinks_v1/service.rb +++ b/generated/google/apis/firebasedynamiclinks_v1/service.rb @@ -45,6 +45,7 @@ module Google def initialize super('https://firebasedynamiclinks.googleapis.com/', '') + @batch_path = 'batch' end # Creates a short Dynamic Link given either a valid long Dynamic Link or diff --git a/generated/google/apis/firebaserules_v1/classes.rb b/generated/google/apis/firebaserules_v1/classes.rb index cec322408..37e5feb67 100644 --- a/generated/google/apis/firebaserules_v1/classes.rb +++ b/generated/google/apis/firebaserules_v1/classes.rb @@ -22,268 +22,6 @@ module Google module Apis module FirebaserulesV1 - # Represents a service-defined function call that was invoked during test - # execution. - class FunctionCall - include Google::Apis::Core::Hashable - - # Name of the function invoked. - # Corresponds to the JSON property `function` - # @return [String] - attr_accessor :function - - # The arguments that were provided to the function. - # Corresponds to the JSON property `args` - # @return [Array] - attr_accessor :args - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @function = args[:function] if args.key?(:function) - @args = args[:args] if args.key?(:args) - end - end - - # `File` containing source content. - class File - include Google::Apis::Core::Hashable - - # Fingerprint (e.g. github sha) associated with the `File`. - # Corresponds to the JSON property `fingerprint` - # NOTE: Values are automatically base64 encoded/decoded in the client library. - # @return [String] - attr_accessor :fingerprint - - # File name. - # Corresponds to the JSON property `name` - # @return [String] - attr_accessor :name - - # Textual Content. - # Corresponds to the JSON property `content` - # @return [String] - attr_accessor :content - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @fingerprint = args[:fingerprint] if args.key?(:fingerprint) - @name = args[:name] if args.key?(:name) - @content = args[:content] if args.key?(:content) - end - end - - # The response for FirebaseRulesService.ListReleases. - class ListReleasesResponse - include Google::Apis::Core::Hashable - - # List of `Release` instances. - # Corresponds to the JSON property `releases` - # @return [Array] - attr_accessor :releases - - # The pagination token to retrieve the next page of results. If the value is - # empty, no further results remain. - # Corresponds to the JSON property `nextPageToken` - # @return [String] - attr_accessor :next_page_token - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @releases = args[:releases] if args.key?(:releases) - @next_page_token = args[:next_page_token] if args.key?(:next_page_token) - end - end - - # `Release` is a named reference to a `Ruleset`. Once a `Release` refers to a - # `Ruleset`, rules-enabled services will be able to enforce the `Ruleset`. - class Release - include Google::Apis::Core::Hashable - - # Time the release was updated. - # Output only. - # Corresponds to the JSON property `updateTime` - # @return [String] - attr_accessor :update_time - - # Resource name for the `Release`. - # `Release` names may be structured `app1/prod/v2` or flat `app1_prod_v2` - # which affords developers a great deal of flexibility in mapping the name - # to the style that best fits their existing development practices. For - # example, a name could refer to an environment, an app, a version, or some - # combination of three. - # In the table below, for the project name `projects/foo`, the following - # relative release paths show how flat and structured names might be chosen - # to match a desired development / deployment strategy. - # Use Case | Flat Name | Structured Name - # -------------|---------------------|---------------- - # Environments | releases/qa | releases/qa - # Apps | releases/app1_qa | releases/app1/qa - # Versions | releases/app1_v2_qa | releases/app1/v2/qa - # The delimiter between the release name path elements can be almost anything - # and it should work equally well with the release name list filter, but in - # many ways the structured paths provide a clearer picture of the - # relationship between `Release` instances. - # Format: `projects/`project_id`/releases/`release_id`` - # Corresponds to the JSON property `name` - # @return [String] - attr_accessor :name - - # Name of the `Ruleset` referred to by this `Release`. The `Ruleset` must - # exist the `Release` to be created. - # Corresponds to the JSON property `rulesetName` - # @return [String] - attr_accessor :ruleset_name - - # Time the release was created. - # Output only. - # Corresponds to the JSON property `createTime` - # @return [String] - attr_accessor :create_time - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @update_time = args[:update_time] if args.key?(:update_time) - @name = args[:name] if args.key?(:name) - @ruleset_name = args[:ruleset_name] if args.key?(:ruleset_name) - @create_time = args[:create_time] if args.key?(:create_time) - end - end - - # The response for FirebaseRulesService.TestRuleset. - class TestRulesetResponse - include Google::Apis::Core::Hashable - - # Syntactic and semantic `Source` issues of varying severity. Issues of - # `ERROR` severity will prevent tests from executing. - # Corresponds to the JSON property `issues` - # @return [Array] - attr_accessor :issues - - # The set of test results given the test cases in the `TestSuite`. - # The results will appear in the same order as the test cases appear in the - # `TestSuite`. - # Corresponds to the JSON property `testResults` - # @return [Array] - attr_accessor :test_results - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @issues = args[:issues] if args.key?(:issues) - @test_results = args[:test_results] if args.key?(:test_results) - end - end - - # Test result message containing the state of the test as well as a - # description and source position for test failures. - class TestResult - include Google::Apis::Core::Hashable - - # The set of function calls made to service-defined methods. - # Function calls are included in the order in which they are encountered - # during evaluation, are provided for both mocked and unmocked functions, - # and included on the response regardless of the test `state`. - # Corresponds to the JSON property `functionCalls` - # @return [Array] - attr_accessor :function_calls - - # State of the test. - # Corresponds to the JSON property `state` - # @return [String] - attr_accessor :state - - # Debug messages related to test execution issues encountered during - # evaluation. - # Debug messages may be related to too many or too few invocations of - # function mocks or to runtime errors that occur during evaluation. - # For example: ```Unable to read variable [name: "resource"]``` - # Corresponds to the JSON property `debugMessages` - # @return [Array] - attr_accessor :debug_messages - - # Position in the `Source` content including its line, column number, and an - # index of the `File` in the `Source` message. Used for debug purposes. - # Corresponds to the JSON property `errorPosition` - # @return [Google::Apis::FirebaserulesV1::SourcePosition] - attr_accessor :error_position - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @function_calls = args[:function_calls] if args.key?(:function_calls) - @state = args[:state] if args.key?(:state) - @debug_messages = args[:debug_messages] if args.key?(:debug_messages) - @error_position = args[:error_position] if args.key?(:error_position) - end - end - - # The response for FirebaseRulesService.ListRulesets. - class ListRulesetsResponse - include Google::Apis::Core::Hashable - - # List of `Ruleset` instances. - # Corresponds to the JSON property `rulesets` - # @return [Array] - attr_accessor :rulesets - - # The pagination token to retrieve the next page of results. If the value is - # empty, no further results remain. - # Corresponds to the JSON property `nextPageToken` - # @return [String] - attr_accessor :next_page_token - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @rulesets = args[:rulesets] if args.key?(:rulesets) - @next_page_token = args[:next_page_token] if args.key?(:next_page_token) - end - end - - # A generic empty message that you can re-use to avoid defining duplicated - # empty messages in your APIs. A typical example is to use it as the request - # or the response type of an API method. For instance: - # service Foo ` - # rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty); - # ` - # The JSON representation for `Empty` is empty JSON object ````. - class Empty - include Google::Apis::Core::Hashable - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - end - end - # `Source` is one or more `File` messages comprising a logical set of rules. class Source include Google::Apis::Core::Hashable @@ -335,6 +73,25 @@ module Google end end + # The request for FirebaseRulesService.TestRuleset. + class TestRulesetRequest + include Google::Apis::Core::Hashable + + # `Source` is one or more `File` messages comprising a logical set of rules. + # Corresponds to the JSON property `source` + # @return [Google::Apis::FirebaserulesV1::Source] + attr_accessor :source + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @source = args[:source] if args.key?(:source) + end + end + # Issues include warnings, errors, and deprecation notices. class Issue include Google::Apis::Core::Hashable @@ -367,25 +124,6 @@ module Google end end - # The request for FirebaseRulesService.TestRuleset. - class TestRulesetRequest - include Google::Apis::Core::Hashable - - # `Source` is one or more `File` messages comprising a logical set of rules. - # Corresponds to the JSON property `source` - # @return [Google::Apis::FirebaserulesV1::Source] - attr_accessor :source - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @source = args[:source] if args.key?(:source) - end - end - # `Ruleset` is an immutable copy of `Source` with a globally unique identifier # and a creation time. class Ruleset @@ -420,6 +158,268 @@ module Google @create_time = args[:create_time] if args.key?(:create_time) end end + + # The response for FirebaseRulesService.ListReleases. + class ListReleasesResponse + include Google::Apis::Core::Hashable + + # List of `Release` instances. + # Corresponds to the JSON property `releases` + # @return [Array] + attr_accessor :releases + + # The pagination token to retrieve the next page of results. If the value is + # empty, no further results remain. + # Corresponds to the JSON property `nextPageToken` + # @return [String] + attr_accessor :next_page_token + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @releases = args[:releases] if args.key?(:releases) + @next_page_token = args[:next_page_token] if args.key?(:next_page_token) + end + end + + # `File` containing source content. + class File + include Google::Apis::Core::Hashable + + # Fingerprint (e.g. github sha) associated with the `File`. + # Corresponds to the JSON property `fingerprint` + # NOTE: Values are automatically base64 encoded/decoded in the client library. + # @return [String] + attr_accessor :fingerprint + + # File name. + # Corresponds to the JSON property `name` + # @return [String] + attr_accessor :name + + # Textual Content. + # Corresponds to the JSON property `content` + # @return [String] + attr_accessor :content + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @fingerprint = args[:fingerprint] if args.key?(:fingerprint) + @name = args[:name] if args.key?(:name) + @content = args[:content] if args.key?(:content) + end + end + + # Represents a service-defined function call that was invoked during test + # execution. + class FunctionCall + include Google::Apis::Core::Hashable + + # Name of the function invoked. + # Corresponds to the JSON property `function` + # @return [String] + attr_accessor :function + + # The arguments that were provided to the function. + # Corresponds to the JSON property `args` + # @return [Array] + attr_accessor :args + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @function = args[:function] if args.key?(:function) + @args = args[:args] if args.key?(:args) + end + end + + # `Release` is a named reference to a `Ruleset`. Once a `Release` refers to a + # `Ruleset`, rules-enabled services will be able to enforce the `Ruleset`. + class Release + include Google::Apis::Core::Hashable + + # Time the release was created. + # Output only. + # Corresponds to the JSON property `createTime` + # @return [String] + attr_accessor :create_time + + # Time the release was updated. + # Output only. + # Corresponds to the JSON property `updateTime` + # @return [String] + attr_accessor :update_time + + # Resource name for the `Release`. + # `Release` names may be structured `app1/prod/v2` or flat `app1_prod_v2` + # which affords developers a great deal of flexibility in mapping the name + # to the style that best fits their existing development practices. For + # example, a name could refer to an environment, an app, a version, or some + # combination of three. + # In the table below, for the project name `projects/foo`, the following + # relative release paths show how flat and structured names might be chosen + # to match a desired development / deployment strategy. + # Use Case | Flat Name | Structured Name + # -------------|---------------------|---------------- + # Environments | releases/qa | releases/qa + # Apps | releases/app1_qa | releases/app1/qa + # Versions | releases/app1_v2_qa | releases/app1/v2/qa + # The delimiter between the release name path elements can be almost anything + # and it should work equally well with the release name list filter, but in + # many ways the structured paths provide a clearer picture of the + # relationship between `Release` instances. + # Format: `projects/`project_id`/releases/`release_id`` + # Corresponds to the JSON property `name` + # @return [String] + attr_accessor :name + + # Name of the `Ruleset` referred to by this `Release`. The `Ruleset` must + # exist the `Release` to be created. + # Corresponds to the JSON property `rulesetName` + # @return [String] + attr_accessor :ruleset_name + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @create_time = args[:create_time] if args.key?(:create_time) + @update_time = args[:update_time] if args.key?(:update_time) + @name = args[:name] if args.key?(:name) + @ruleset_name = args[:ruleset_name] if args.key?(:ruleset_name) + end + end + + # The response for FirebaseRulesService.TestRuleset. + class TestRulesetResponse + include Google::Apis::Core::Hashable + + # The set of test results given the test cases in the `TestSuite`. + # The results will appear in the same order as the test cases appear in the + # `TestSuite`. + # Corresponds to the JSON property `testResults` + # @return [Array] + attr_accessor :test_results + + # Syntactic and semantic `Source` issues of varying severity. Issues of + # `ERROR` severity will prevent tests from executing. + # Corresponds to the JSON property `issues` + # @return [Array] + attr_accessor :issues + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @test_results = args[:test_results] if args.key?(:test_results) + @issues = args[:issues] if args.key?(:issues) + end + end + + # The response for FirebaseRulesService.ListRulesets. + class ListRulesetsResponse + include Google::Apis::Core::Hashable + + # The pagination token to retrieve the next page of results. If the value is + # empty, no further results remain. + # Corresponds to the JSON property `nextPageToken` + # @return [String] + attr_accessor :next_page_token + + # List of `Ruleset` instances. + # Corresponds to the JSON property `rulesets` + # @return [Array] + attr_accessor :rulesets + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @next_page_token = args[:next_page_token] if args.key?(:next_page_token) + @rulesets = args[:rulesets] if args.key?(:rulesets) + end + end + + # Test result message containing the state of the test as well as a + # description and source position for test failures. + class TestResult + include Google::Apis::Core::Hashable + + # The set of function calls made to service-defined methods. + # Function calls are included in the order in which they are encountered + # during evaluation, are provided for both mocked and unmocked functions, + # and included on the response regardless of the test `state`. + # Corresponds to the JSON property `functionCalls` + # @return [Array] + attr_accessor :function_calls + + # State of the test. + # Corresponds to the JSON property `state` + # @return [String] + attr_accessor :state + + # Debug messages related to test execution issues encountered during + # evaluation. + # Debug messages may be related to too many or too few invocations of + # function mocks or to runtime errors that occur during evaluation. + # For example: ```Unable to read variable [name: "resource"]``` + # Corresponds to the JSON property `debugMessages` + # @return [Array] + attr_accessor :debug_messages + + # Position in the `Source` content including its line, column number, and an + # index of the `File` in the `Source` message. Used for debug purposes. + # Corresponds to the JSON property `errorPosition` + # @return [Google::Apis::FirebaserulesV1::SourcePosition] + attr_accessor :error_position + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @function_calls = args[:function_calls] if args.key?(:function_calls) + @state = args[:state] if args.key?(:state) + @debug_messages = args[:debug_messages] if args.key?(:debug_messages) + @error_position = args[:error_position] if args.key?(:error_position) + end + end + + # A generic empty message that you can re-use to avoid defining duplicated + # empty messages in your APIs. A typical example is to use it as the request + # or the response type of an API method. For instance: + # service Foo ` + # rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty); + # ` + # The JSON representation for `Empty` is empty JSON object ````. + class Empty + include Google::Apis::Core::Hashable + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + end + end end end end diff --git a/generated/google/apis/firebaserules_v1/representations.rb b/generated/google/apis/firebaserules_v1/representations.rb index e0acf7853..fbd9eeebe 100644 --- a/generated/google/apis/firebaserules_v1/representations.rb +++ b/generated/google/apis/firebaserules_v1/representations.rb @@ -22,54 +22,6 @@ module Google module Apis module FirebaserulesV1 - class FunctionCall - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class File - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class ListReleasesResponse - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class Release - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class TestRulesetResponse - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class TestResult - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class ListRulesetsResponse - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class Empty - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - class Source class Representation < Google::Apis::Core::JsonRepresentation; end @@ -82,13 +34,13 @@ module Google include Google::Apis::Core::JsonObjectSupport end - class Issue + class TestRulesetRequest class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end - class TestRulesetRequest + class Issue class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport @@ -100,77 +52,52 @@ module Google include Google::Apis::Core::JsonObjectSupport end - class FunctionCall - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :function, as: 'function' - collection :args, as: 'args' - end + class ListReleasesResponse + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class File - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :fingerprint, :base64 => true, as: 'fingerprint' - property :name, as: 'name' - property :content, as: 'content' - end + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end - class ListReleasesResponse - # @private - class Representation < Google::Apis::Core::JsonRepresentation - collection :releases, as: 'releases', class: Google::Apis::FirebaserulesV1::Release, decorator: Google::Apis::FirebaserulesV1::Release::Representation + class FunctionCall + class Representation < Google::Apis::Core::JsonRepresentation; end - property :next_page_token, as: 'nextPageToken' - end + include Google::Apis::Core::JsonObjectSupport end class Release - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :update_time, as: 'updateTime' - property :name, as: 'name' - property :ruleset_name, as: 'rulesetName' - property :create_time, as: 'createTime' - end + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class TestRulesetResponse - # @private - class Representation < Google::Apis::Core::JsonRepresentation - collection :issues, as: 'issues', class: Google::Apis::FirebaserulesV1::Issue, decorator: Google::Apis::FirebaserulesV1::Issue::Representation + class Representation < Google::Apis::Core::JsonRepresentation; end - collection :test_results, as: 'testResults', class: Google::Apis::FirebaserulesV1::TestResult, decorator: Google::Apis::FirebaserulesV1::TestResult::Representation - - end - end - - class TestResult - # @private - class Representation < Google::Apis::Core::JsonRepresentation - collection :function_calls, as: 'functionCalls', class: Google::Apis::FirebaserulesV1::FunctionCall, decorator: Google::Apis::FirebaserulesV1::FunctionCall::Representation - - property :state, as: 'state' - collection :debug_messages, as: 'debugMessages' - property :error_position, as: 'errorPosition', class: Google::Apis::FirebaserulesV1::SourcePosition, decorator: Google::Apis::FirebaserulesV1::SourcePosition::Representation - - end + include Google::Apis::Core::JsonObjectSupport end class ListRulesetsResponse - # @private - class Representation < Google::Apis::Core::JsonRepresentation - collection :rulesets, as: 'rulesets', class: Google::Apis::FirebaserulesV1::Ruleset, decorator: Google::Apis::FirebaserulesV1::Ruleset::Representation + class Representation < Google::Apis::Core::JsonRepresentation; end - property :next_page_token, as: 'nextPageToken' - end + include Google::Apis::Core::JsonObjectSupport + end + + class TestResult + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class Empty - # @private - class Representation < Google::Apis::Core::JsonRepresentation - end + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class Source @@ -190,6 +117,14 @@ module Google end end + class TestRulesetRequest + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :source, as: 'source', class: Google::Apis::FirebaserulesV1::Source, decorator: Google::Apis::FirebaserulesV1::Source::Representation + + end + end + class Issue # @private class Representation < Google::Apis::Core::JsonRepresentation @@ -200,14 +135,6 @@ module Google end end - class TestRulesetRequest - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :source, as: 'source', class: Google::Apis::FirebaserulesV1::Source, decorator: Google::Apis::FirebaserulesV1::Source::Representation - - end - end - class Ruleset # @private class Representation < Google::Apis::Core::JsonRepresentation @@ -217,6 +144,79 @@ module Google property :create_time, as: 'createTime' end end + + class ListReleasesResponse + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :releases, as: 'releases', class: Google::Apis::FirebaserulesV1::Release, decorator: Google::Apis::FirebaserulesV1::Release::Representation + + property :next_page_token, as: 'nextPageToken' + end + end + + class File + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :fingerprint, :base64 => true, as: 'fingerprint' + property :name, as: 'name' + property :content, as: 'content' + end + end + + class FunctionCall + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :function, as: 'function' + collection :args, as: 'args' + end + end + + class Release + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :create_time, as: 'createTime' + property :update_time, as: 'updateTime' + property :name, as: 'name' + property :ruleset_name, as: 'rulesetName' + end + end + + class TestRulesetResponse + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :test_results, as: 'testResults', class: Google::Apis::FirebaserulesV1::TestResult, decorator: Google::Apis::FirebaserulesV1::TestResult::Representation + + collection :issues, as: 'issues', class: Google::Apis::FirebaserulesV1::Issue, decorator: Google::Apis::FirebaserulesV1::Issue::Representation + + end + end + + class ListRulesetsResponse + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :next_page_token, as: 'nextPageToken' + collection :rulesets, as: 'rulesets', class: Google::Apis::FirebaserulesV1::Ruleset, decorator: Google::Apis::FirebaserulesV1::Ruleset::Representation + + end + end + + class TestResult + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :function_calls, as: 'functionCalls', class: Google::Apis::FirebaserulesV1::FunctionCall, decorator: Google::Apis::FirebaserulesV1::FunctionCall::Representation + + property :state, as: 'state' + collection :debug_messages, as: 'debugMessages' + property :error_position, as: 'errorPosition', class: Google::Apis::FirebaserulesV1::SourcePosition, decorator: Google::Apis::FirebaserulesV1::SourcePosition::Representation + + end + end + + class Empty + # @private + class Representation < Google::Apis::Core::JsonRepresentation + end + end end end end diff --git a/generated/google/apis/firebaserules_v1/service.rb b/generated/google/apis/firebaserules_v1/service.rb index ba1eae426..5ca85e7f5 100644 --- a/generated/google/apis/firebaserules_v1/service.rb +++ b/generated/google/apis/firebaserules_v1/service.rb @@ -45,6 +45,7 @@ module Google def initialize super('https://firebaserules.googleapis.com/', '') + @batch_path = 'batch' end # Test `Source` for syntactic and semantic correctness. Issues present, if diff --git a/generated/google/apis/fitness_v1/classes.rb b/generated/google/apis/fitness_v1/classes.rb index d07e01a5c..b4bd0cac2 100644 --- a/generated/google/apis/fitness_v1/classes.rb +++ b/generated/google/apis/fitness_v1/classes.rb @@ -38,7 +38,7 @@ module Google # The end time for the aggregated data, in milliseconds since epoch, inclusive. # Corresponds to the JSON property `endTimeMillis` - # @return [String] + # @return [Fixnum] attr_accessor :end_time_millis # Sessions contain metadata, such as a user-friendly name and time interval @@ -49,7 +49,7 @@ module Google # The start time for the aggregated data, in milliseconds since epoch, inclusive. # Corresponds to the JSON property `startTimeMillis` - # @return [String] + # @return [Fixnum] attr_accessor :start_time_millis # The type of a bucket signifies how the data aggregation is performed in the @@ -148,7 +148,7 @@ module Google # The end of a window of time. Data that intersects with this time window will # be aggregated. The time is in milliseconds since epoch, inclusive. # Corresponds to the JSON property `endTimeMillis` - # @return [String] + # @return [Fixnum] attr_accessor :end_time_millis # A list of acceptable data quality standards. Only data points which conform to @@ -161,7 +161,7 @@ module Google # The start of a window of time. Data that intersects with this time window will # be aggregated. The time is in milliseconds since epoch, inclusive. # Corresponds to the JSON property `startTimeMillis` - # @return [String] + # @return [Fixnum] attr_accessor :start_time_millis def initialize(**args) @@ -257,7 +257,7 @@ module Google # Specifies that only activity segments of duration longer than # minDurationMillis are considered and used as a container for aggregated data. # Corresponds to the JSON property `minDurationMillis` - # @return [String] + # @return [Fixnum] attr_accessor :min_duration_millis def initialize(**args) @@ -278,7 +278,7 @@ module Google # Specifies that only sessions of duration longer than minDurationMillis are # considered and used as a container for aggregated data. # Corresponds to the JSON property `minDurationMillis` - # @return [String] + # @return [Fixnum] attr_accessor :min_duration_millis def initialize(**args) @@ -299,7 +299,7 @@ module Google # frames. Time frames that contain no data will be included in the response with # an empty dataset. # Corresponds to the JSON property `durationMillis` - # @return [String] + # @return [Fixnum] attr_accessor :duration_millis # @@ -364,7 +364,7 @@ module Google # Used for version checking during transformation; that is, a datapoint can only # replace another datapoint that has an older computation time stamp. # Corresponds to the JSON property `computationTimeMillis` - # @return [String] + # @return [Fixnum] attr_accessor :computation_time_millis # The data type defining the format of the values in this data point. @@ -375,14 +375,14 @@ module Google # The end time of the interval represented by this data point, in nanoseconds # since epoch. # Corresponds to the JSON property `endTimeNanos` - # @return [String] + # @return [Fixnum] attr_accessor :end_time_nanos # Indicates the last time this data point was modified. Useful only in contexts # where we are listing the data changes, rather than representing the current # state of the data. # Corresponds to the JSON property `modifiedTimeMillis` - # @return [String] + # @return [Fixnum] attr_accessor :modified_time_millis # If the data point is contained in a dataset for a derived data source, this @@ -394,13 +394,13 @@ module Google # The raw timestamp from the original SensorEvent. # Corresponds to the JSON property `rawTimestampNanos` - # @return [String] + # @return [Fixnum] attr_accessor :raw_timestamp_nanos # The start time of the interval represented by this data point, in nanoseconds # since epoch. # Corresponds to the JSON property `startTimeNanos` - # @return [String] + # @return [Fixnum] attr_accessor :start_time_nanos # Values of each data type field for the data point. It is expected that each @@ -620,14 +620,14 @@ module Google # representation of the dataset. Time is in nanoseconds from epoch. This should # also match the first part of the dataset identifier. # Corresponds to the JSON property `maxEndTimeNs` - # @return [String] + # @return [Fixnum] attr_accessor :max_end_time_ns # The smallest start time of all data points in this possibly partial # representation of the dataset. Time is in nanoseconds from epoch. This should # also match the first part of the dataset identifier. # Corresponds to the JSON property `minStartTimeNs` - # @return [String] + # @return [Fixnum] attr_accessor :min_start_time_ns # This token will be set when a dataset is received in response to a GET request @@ -807,7 +807,7 @@ module Google # should also be inserted via a com.google.activity.segment data point with a # STILL activity value # Corresponds to the JSON property `activeTimeMillis` - # @return [String] + # @return [Fixnum] attr_accessor :active_time_millis # The type of activity this session represents. @@ -827,7 +827,7 @@ module Google # An end time, in milliseconds since epoch, inclusive. # Corresponds to the JSON property `endTimeMillis` - # @return [String] + # @return [Fixnum] attr_accessor :end_time_millis # A client-generated identifier that is unique across all sessions owned by this @@ -838,7 +838,7 @@ module Google # A timestamp that indicates when the session was last modified. # Corresponds to the JSON property `modifiedTimeMillis` - # @return [String] + # @return [Fixnum] attr_accessor :modified_time_millis # A human readable name of the session. @@ -848,7 +848,7 @@ module Google # A start time, in milliseconds since epoch, inclusive. # Corresponds to the JSON property `startTimeMillis` - # @return [String] + # @return [Fixnum] attr_accessor :start_time_millis def initialize(**args) diff --git a/generated/google/apis/fitness_v1/representations.rb b/generated/google/apis/fitness_v1/representations.rb index 77451ad1b..47f213757 100644 --- a/generated/google/apis/fitness_v1/representations.rb +++ b/generated/google/apis/fitness_v1/representations.rb @@ -154,10 +154,10 @@ module Google property :activity, as: 'activity' collection :dataset, as: 'dataset', class: Google::Apis::FitnessV1::Dataset, decorator: Google::Apis::FitnessV1::Dataset::Representation - property :end_time_millis, as: 'endTimeMillis' + property :end_time_millis, :numeric_string => true, as: 'endTimeMillis' property :session, as: 'session', class: Google::Apis::FitnessV1::Session, decorator: Google::Apis::FitnessV1::Session::Representation - property :start_time_millis, as: 'startTimeMillis' + property :start_time_millis, :numeric_string => true, as: 'startTimeMillis' property :type, as: 'type' end end @@ -183,9 +183,9 @@ module Google property :bucket_by_time, as: 'bucketByTime', class: Google::Apis::FitnessV1::BucketByTime, decorator: Google::Apis::FitnessV1::BucketByTime::Representation - property :end_time_millis, as: 'endTimeMillis' + property :end_time_millis, :numeric_string => true, as: 'endTimeMillis' collection :filtered_data_quality_standard, as: 'filteredDataQualityStandard' - property :start_time_millis, as: 'startTimeMillis' + property :start_time_millis, :numeric_string => true, as: 'startTimeMillis' end end @@ -211,21 +211,21 @@ module Google # @private class Representation < Google::Apis::Core::JsonRepresentation property :activity_data_source_id, as: 'activityDataSourceId' - property :min_duration_millis, as: 'minDurationMillis' + property :min_duration_millis, :numeric_string => true, as: 'minDurationMillis' end end class BucketBySession # @private class Representation < Google::Apis::Core::JsonRepresentation - property :min_duration_millis, as: 'minDurationMillis' + property :min_duration_millis, :numeric_string => true, as: 'minDurationMillis' end end class BucketByTime # @private class Representation < Google::Apis::Core::JsonRepresentation - property :duration_millis, as: 'durationMillis' + property :duration_millis, :numeric_string => true, as: 'durationMillis' property :period, as: 'period', class: Google::Apis::FitnessV1::BucketByTimePeriod, decorator: Google::Apis::FitnessV1::BucketByTimePeriod::Representation end @@ -243,13 +243,13 @@ module Google class DataPoint # @private class Representation < Google::Apis::Core::JsonRepresentation - property :computation_time_millis, as: 'computationTimeMillis' + property :computation_time_millis, :numeric_string => true, as: 'computationTimeMillis' property :data_type_name, as: 'dataTypeName' - property :end_time_nanos, as: 'endTimeNanos' - property :modified_time_millis, as: 'modifiedTimeMillis' + property :end_time_nanos, :numeric_string => true, as: 'endTimeNanos' + property :modified_time_millis, :numeric_string => true, as: 'modifiedTimeMillis' property :origin_data_source_id, as: 'originDataSourceId' - property :raw_timestamp_nanos, as: 'rawTimestampNanos' - property :start_time_nanos, as: 'startTimeNanos' + property :raw_timestamp_nanos, :numeric_string => true, as: 'rawTimestampNanos' + property :start_time_nanos, :numeric_string => true, as: 'startTimeNanos' collection :value, as: 'value', class: Google::Apis::FitnessV1::Value, decorator: Google::Apis::FitnessV1::Value::Representation end @@ -294,8 +294,8 @@ module Google # @private class Representation < Google::Apis::Core::JsonRepresentation property :data_source_id, as: 'dataSourceId' - property :max_end_time_ns, as: 'maxEndTimeNs' - property :min_start_time_ns, as: 'minStartTimeNs' + property :max_end_time_ns, :numeric_string => true, as: 'maxEndTimeNs' + property :min_start_time_ns, :numeric_string => true, as: 'minStartTimeNs' property :next_page_token, as: 'nextPageToken' collection :point, as: 'point', class: Google::Apis::FitnessV1::DataPoint, decorator: Google::Apis::FitnessV1::DataPoint::Representation @@ -343,16 +343,16 @@ module Google class Session # @private class Representation < Google::Apis::Core::JsonRepresentation - property :active_time_millis, as: 'activeTimeMillis' + property :active_time_millis, :numeric_string => true, as: 'activeTimeMillis' property :activity_type, as: 'activityType' property :application, as: 'application', class: Google::Apis::FitnessV1::Application, decorator: Google::Apis::FitnessV1::Application::Representation property :description, as: 'description' - property :end_time_millis, as: 'endTimeMillis' + property :end_time_millis, :numeric_string => true, as: 'endTimeMillis' property :id, as: 'id' - property :modified_time_millis, as: 'modifiedTimeMillis' + property :modified_time_millis, :numeric_string => true, as: 'modifiedTimeMillis' property :name, as: 'name' - property :start_time_millis, as: 'startTimeMillis' + property :start_time_millis, :numeric_string => true, as: 'startTimeMillis' end end diff --git a/generated/google/apis/fitness_v1/service.rb b/generated/google/apis/fitness_v1/service.rb index a1d80c9d2..ee33d3f22 100644 --- a/generated/google/apis/fitness_v1/service.rb +++ b/generated/google/apis/fitness_v1/service.rb @@ -50,6 +50,7 @@ module Google def initialize super('https://www.googleapis.com/', 'fitness/v1/users/') + @batch_path = 'batch' end # Creates a new data source that is unique across all data sources belonging to @@ -326,9 +327,9 @@ module Google # and maximum data point end time represented as nanoseconds from the epoch. The # ID is formatted like: "startTime-endTime" where startTime and endTime are 64 # bit integers. - # @param [String] current_time_millis + # @param [Fixnum] current_time_millis # The client's current time in milliseconds since epoch. - # @param [String] modified_time_millis + # @param [Fixnum] modified_time_millis # When the operation was performed on the client. # @param [String] fields # Selector specifying which fields to include in a partial response. @@ -440,7 +441,7 @@ module Google # ID is formatted like: "startTime-endTime" where startTime and endTime are 64 # bit integers. # @param [Google::Apis::FitnessV1::Dataset] dataset_object - # @param [String] current_time_millis + # @param [Fixnum] current_time_millis # The client's current time in milliseconds since epoch. Note that the # minStartTimeNs and maxEndTimeNs properties in the request body are in # nanoseconds instead of milliseconds. @@ -528,7 +529,7 @@ module Google # authenticated user. Only me is supported at this time. # @param [String] session_id # The ID of the session to be deleted. - # @param [String] current_time_millis + # @param [Fixnum] current_time_millis # The client's current time in milliseconds since epoch. # @param [String] fields # Selector specifying which fields to include in a partial response. @@ -623,7 +624,7 @@ module Google # @param [String] session_id # The ID of the session to be created. # @param [Google::Apis::FitnessV1::Session] session_object - # @param [String] current_time_millis + # @param [Fixnum] current_time_millis # The client's current time in milliseconds since epoch. # @param [String] fields # Selector specifying which fields to include in a partial response. diff --git a/generated/google/apis/fusiontables_v2/classes.rb b/generated/google/apis/fusiontables_v2/classes.rb index e93146a76..e523a669d 100644 --- a/generated/google/apis/fusiontables_v2/classes.rb +++ b/generated/google/apis/fusiontables_v2/classes.rb @@ -294,7 +294,7 @@ module Google # The number of rows received from the import request. # Corresponds to the JSON property `numRowsReceived` - # @return [String] + # @return [Fixnum] attr_accessor :num_rows_received def initialize(**args) @@ -894,7 +894,7 @@ module Google # Identifier for the task. # Corresponds to the JSON property `taskId` - # @return [String] + # @return [Fixnum] attr_accessor :task_id # Type of background task. diff --git a/generated/google/apis/fusiontables_v2/representations.rb b/generated/google/apis/fusiontables_v2/representations.rb index 017387ffd..9504bc105 100644 --- a/generated/google/apis/fusiontables_v2/representations.rb +++ b/generated/google/apis/fusiontables_v2/representations.rb @@ -229,7 +229,7 @@ module Google # @private class Representation < Google::Apis::Core::JsonRepresentation property :kind, as: 'kind' - property :num_rows_received, as: 'numRowsReceived' + property :num_rows_received, :numeric_string => true, as: 'numRowsReceived' end end @@ -414,7 +414,7 @@ module Google property :kind, as: 'kind' property :progress, as: 'progress' property :started, as: 'started' - property :task_id, as: 'taskId' + property :task_id, :numeric_string => true, as: 'taskId' property :type, as: 'type' end end diff --git a/generated/google/apis/fusiontables_v2/service.rb b/generated/google/apis/fusiontables_v2/service.rb index f112f6a3c..dac88977f 100644 --- a/generated/google/apis/fusiontables_v2/service.rb +++ b/generated/google/apis/fusiontables_v2/service.rb @@ -50,6 +50,7 @@ module Google def initialize super('https://www.googleapis.com/', 'fusiontables/v2/') + @batch_path = 'batch' end # Deletes the specified column. diff --git a/generated/google/apis/games_configuration_v1configuration.rb b/generated/google/apis/games_configuration_v1configuration.rb index 505ef1910..dc14588cf 100644 --- a/generated/google/apis/games_configuration_v1configuration.rb +++ b/generated/google/apis/games_configuration_v1configuration.rb @@ -25,7 +25,7 @@ module Google # @see https://developers.google.com/games/services module GamesConfigurationV1configuration VERSION = 'V1configuration' - REVISION = '20170323' + REVISION = '20170329' # View and manage your Google Play Developer account AUTH_ANDROIDPUBLISHER = 'https://www.googleapis.com/auth/androidpublisher' diff --git a/generated/google/apis/games_configuration_v1configuration/classes.rb b/generated/google/apis/games_configuration_v1configuration/classes.rb index 69588d47b..f3153312f 100644 --- a/generated/google/apis/games_configuration_v1configuration/classes.rb +++ b/generated/google/apis/games_configuration_v1configuration/classes.rb @@ -330,12 +330,12 @@ module Google # Maximum score that can be posted to this leaderboard. # Corresponds to the JSON property `scoreMax` - # @return [String] + # @return [Fixnum] attr_accessor :score_max # Minimum score that can be posted to this leaderboard. # Corresponds to the JSON property `scoreMin` - # @return [String] + # @return [Fixnum] attr_accessor :score_min # The type of the leaderboard. diff --git a/generated/google/apis/games_configuration_v1configuration/representations.rb b/generated/google/apis/games_configuration_v1configuration/representations.rb index a94d04e81..88c0a0ddd 100644 --- a/generated/google/apis/games_configuration_v1configuration/representations.rb +++ b/generated/google/apis/games_configuration_v1configuration/representations.rb @@ -176,8 +176,8 @@ module Google property :kind, as: 'kind' property :published, as: 'published', class: Google::Apis::GamesConfigurationV1configuration::LeaderboardConfigurationDetail, decorator: Google::Apis::GamesConfigurationV1configuration::LeaderboardConfigurationDetail::Representation - property :score_max, as: 'scoreMax' - property :score_min, as: 'scoreMin' + property :score_max, :numeric_string => true, as: 'scoreMax' + property :score_min, :numeric_string => true, as: 'scoreMin' property :score_order, as: 'scoreOrder' property :token, as: 'token' end diff --git a/generated/google/apis/games_configuration_v1configuration/service.rb b/generated/google/apis/games_configuration_v1configuration/service.rb index 07dbf8880..6eea25537 100644 --- a/generated/google/apis/games_configuration_v1configuration/service.rb +++ b/generated/google/apis/games_configuration_v1configuration/service.rb @@ -50,6 +50,7 @@ module Google def initialize super('https://www.googleapis.com/', 'games/v1configuration/') + @batch_path = 'batch' end # Delete the achievement configuration with the given ID. diff --git a/generated/google/apis/games_management_v1management.rb b/generated/google/apis/games_management_v1management.rb index f6c587152..fd3da368c 100644 --- a/generated/google/apis/games_management_v1management.rb +++ b/generated/google/apis/games_management_v1management.rb @@ -25,7 +25,7 @@ module Google # @see https://developers.google.com/games/services module GamesManagementV1management VERSION = 'V1management' - REVISION = '20170323' + REVISION = '20170329' # Share your Google+ profile information and view and manage your game activity AUTH_GAMES = 'https://www.googleapis.com/auth/games' diff --git a/generated/google/apis/games_management_v1management/classes.rb b/generated/google/apis/games_management_v1management/classes.rb index 11736e387..39c796049 100644 --- a/generated/google/apis/games_management_v1management/classes.rb +++ b/generated/google/apis/games_management_v1management/classes.rb @@ -158,7 +158,7 @@ module Google # The last time the player played the game in milliseconds since the epoch in # UTC. # Corresponds to the JSON property `timeMillis` - # @return [String] + # @return [Fixnum] attr_accessor :time_millis def initialize(**args) @@ -178,7 +178,7 @@ module Google # The current number of experience points for the player. # Corresponds to the JSON property `currentExperiencePoints` - # @return [String] + # @return [Fixnum] attr_accessor :current_experience_points # This is a JSON template for 1P/3P metadata about a user's level. @@ -188,7 +188,7 @@ module Google # The timestamp when the player was leveled up, in millis since Unix epoch UTC. # Corresponds to the JSON property `lastLevelUpTimestampMillis` - # @return [String] + # @return [Fixnum] attr_accessor :last_level_up_timestamp_millis # This is a JSON template for 1P/3P metadata about a user's level. @@ -220,12 +220,12 @@ module Google # The maximum experience points for this level. # Corresponds to the JSON property `maxExperiencePoints` - # @return [String] + # @return [Fixnum] attr_accessor :max_experience_points # The minimum experience points for this level. # Corresponds to the JSON property `minExperiencePoints` - # @return [String] + # @return [Fixnum] attr_accessor :min_experience_points def initialize(**args) @@ -246,7 +246,7 @@ module Google # The time this player was hidden. # Corresponds to the JSON property `hiddenTimeMillis` - # @return [String] + # @return [Fixnum] attr_accessor :hidden_time_millis # Uniquely identifies the type of this resource. Value is always the fixed diff --git a/generated/google/apis/games_management_v1management/representations.rb b/generated/google/apis/games_management_v1management/representations.rb index 316de97da..aebeb6202 100644 --- a/generated/google/apis/games_management_v1management/representations.rb +++ b/generated/google/apis/games_management_v1management/representations.rb @@ -157,17 +157,17 @@ module Google # @private class Representation < Google::Apis::Core::JsonRepresentation property :auto_matched, as: 'autoMatched' - property :time_millis, as: 'timeMillis' + property :time_millis, :numeric_string => true, as: 'timeMillis' end end class GamesPlayerExperienceInfoResource # @private class Representation < Google::Apis::Core::JsonRepresentation - property :current_experience_points, as: 'currentExperiencePoints' + property :current_experience_points, :numeric_string => true, as: 'currentExperiencePoints' property :current_level, as: 'currentLevel', class: Google::Apis::GamesManagementV1management::GamesPlayerLevelResource, decorator: Google::Apis::GamesManagementV1management::GamesPlayerLevelResource::Representation - property :last_level_up_timestamp_millis, as: 'lastLevelUpTimestampMillis' + property :last_level_up_timestamp_millis, :numeric_string => true, as: 'lastLevelUpTimestampMillis' property :next_level, as: 'nextLevel', class: Google::Apis::GamesManagementV1management::GamesPlayerLevelResource, decorator: Google::Apis::GamesManagementV1management::GamesPlayerLevelResource::Representation end @@ -177,15 +177,15 @@ module Google # @private class Representation < Google::Apis::Core::JsonRepresentation property :level, as: 'level' - property :max_experience_points, as: 'maxExperiencePoints' - property :min_experience_points, as: 'minExperiencePoints' + property :max_experience_points, :numeric_string => true, as: 'maxExperiencePoints' + property :min_experience_points, :numeric_string => true, as: 'minExperiencePoints' end end class HiddenPlayer # @private class Representation < Google::Apis::Core::JsonRepresentation - property :hidden_time_millis, as: 'hiddenTimeMillis' + property :hidden_time_millis, :numeric_string => true, as: 'hiddenTimeMillis' property :kind, as: 'kind' property :player, as: 'player', class: Google::Apis::GamesManagementV1management::Player, decorator: Google::Apis::GamesManagementV1management::Player::Representation diff --git a/generated/google/apis/games_management_v1management/service.rb b/generated/google/apis/games_management_v1management/service.rb index 5631ffbfb..a6f18a1d0 100644 --- a/generated/google/apis/games_management_v1management/service.rb +++ b/generated/google/apis/games_management_v1management/service.rb @@ -50,6 +50,7 @@ module Google def initialize super('https://www.googleapis.com/', 'games/v1management/') + @batch_path = 'batch' end # Resets the achievement with the given ID for the currently authenticated diff --git a/generated/google/apis/games_v1.rb b/generated/google/apis/games_v1.rb index 7c536ad7b..f6241c5b4 100644 --- a/generated/google/apis/games_v1.rb +++ b/generated/google/apis/games_v1.rb @@ -25,7 +25,7 @@ module Google # @see https://developers.google.com/games/services/ module GamesV1 VERSION = 'V1' - REVISION = '20170323' + REVISION = '20170329' # View and manage its own configuration data in your Google Drive AUTH_DRIVE_APPDATA = 'https://www.googleapis.com/auth/drive.appdata' diff --git a/generated/google/apis/games_v1/classes.rb b/generated/google/apis/games_v1/classes.rb index 97ccc262f..e0f94512e 100644 --- a/generated/google/apis/games_v1/classes.rb +++ b/generated/google/apis/games_v1/classes.rb @@ -41,7 +41,7 @@ module Google # Experience points which will be earned when unlocking this achievement. # Corresponds to the JSON property `experiencePoints` - # @return [String] + # @return [Fixnum] attr_accessor :experience_points # The total steps for an incremental achievement as a string. @@ -448,7 +448,7 @@ module Google # The number of messages sent between a pair of peers. # Corresponds to the JSON property `count` - # @return [String] + # @return [Fixnum] attr_accessor :count # Uniquely identifies the type of this resource. Value is always the fixed @@ -459,17 +459,17 @@ module Google # The maximum amount. # Corresponds to the JSON property `max` - # @return [String] + # @return [Fixnum] attr_accessor :max # The minimum amount. # Corresponds to the JSON property `min` - # @return [String] + # @return [Fixnum] attr_accessor :min # The total number of bytes sent for messages between a pair of peers. # Corresponds to the JSON property `sum` - # @return [String] + # @return [Fixnum] attr_accessor :sum def initialize(**args) @@ -572,7 +572,7 @@ module Google # The last updated timestamp of the application. # Corresponds to the JSON property `lastUpdatedTimestamp` - # @return [String] + # @return [Fixnum] attr_accessor :last_updated_timestamp # The number of leaderboards visible to the currently authenticated player. @@ -690,7 +690,7 @@ module Google # Experience points earned in this category. # Corresponds to the JSON property `experiencePoints` - # @return [String] + # @return [Fixnum] attr_accessor :experience_points # Uniquely identifies the type of this resource. Value is always the fixed @@ -924,13 +924,13 @@ module Google # The time when this update period ends, in millis, since 1970 UTC (Unix Epoch). # Corresponds to the JSON property `periodEndMillis` - # @return [String] + # @return [Fixnum] attr_accessor :period_end_millis # The time when this update period begins, in millis, since 1970 UTC (Unix Epoch) # . # Corresponds to the JSON property `periodStartMillis` - # @return [String] + # @return [Fixnum] attr_accessor :period_start_millis def initialize(**args) @@ -1020,7 +1020,7 @@ module Google # The current time when this update was sent, in milliseconds, since 1970 UTC ( # Unix Epoch). # Corresponds to the JSON property `currentTimeMillis` - # @return [String] + # @return [Fixnum] attr_accessor :current_time_millis # Uniquely identifies the type of this resource. Value is always the fixed @@ -1031,7 +1031,7 @@ module Google # The request ID used to identify this attempt to record events. # Corresponds to the JSON property `requestId` - # @return [String] + # @return [Fixnum] attr_accessor :request_id # A list of the time period updates being made in this request. @@ -1069,7 +1069,7 @@ module Google # The number of times this event occurred in this time period. # Corresponds to the JSON property `updateCount` - # @return [String] + # @return [Fixnum] attr_accessor :update_count def initialize(**args) @@ -1134,7 +1134,7 @@ module Google # The requestId associated with an increment to an achievement. # Corresponds to the JSON property `requestId` - # @return [String] + # @return [Fixnum] attr_accessor :request_id # The number of steps to be incremented. @@ -1517,7 +1517,7 @@ module Google # The rank of this score for this leaderboard. # Corresponds to the JSON property `scoreRank` - # @return [String] + # @return [Fixnum] attr_accessor :score_rank # Additional information about the score. Values must contain no more than 64 @@ -1528,7 +1528,7 @@ module Google # The numerical value of this score. # Corresponds to the JSON property `scoreValue` - # @return [String] + # @return [Fixnum] attr_accessor :score_value # The time span of this high score. @@ -1543,7 +1543,7 @@ module Google # The timestamp at which this score was recorded, in milliseconds since the # epoch in UTC. # Corresponds to the JSON property `writeTimestampMillis` - # @return [String] + # @return [Fixnum] attr_accessor :write_timestamp_millis def initialize(**args) @@ -1618,12 +1618,12 @@ module Google # The number of scores in the leaderboard. # Corresponds to the JSON property `numScores` - # @return [String] + # @return [Fixnum] attr_accessor :num_scores # The rank in the leaderboard. # Corresponds to the JSON property `rank` - # @return [String] + # @return [Fixnum] attr_accessor :rank def initialize(**args) @@ -1662,7 +1662,7 @@ module Google # The total number of scores in the leaderboard. # Corresponds to the JSON property `numScores` - # @return [String] + # @return [Fixnum] attr_accessor :num_scores # This is a JSON template for the Leaderboard Entry resource. @@ -1905,7 +1905,7 @@ module Google # Connected time in milliseconds. # Corresponds to the JSON property `connectedTimestampMillis` - # @return [String] + # @return [Fixnum] attr_accessor :connected_timestamp_millis # Uniquely identifies the type of this resource. Value is always the fixed @@ -1963,7 +1963,7 @@ module Google # The last time the player played the game in milliseconds since the epoch in # UTC. # Corresponds to the JSON property `timeMillis` - # @return [String] + # @return [Fixnum] attr_accessor :time_millis def initialize(**args) @@ -2117,7 +2117,7 @@ module Google # achievements that have not yet been unlocked and 0 for achievements that have # been unlocked by testers but that are unpublished. # Corresponds to the JSON property `experiencePoints` - # @return [String] + # @return [Fixnum] attr_accessor :experience_points # The current steps for an incremental achievement as a string. @@ -2138,7 +2138,7 @@ module Google # The timestamp of the last modification to this achievement's state. # Corresponds to the JSON property `lastUpdatedTimestamp` - # @return [String] + # @return [Fixnum] attr_accessor :last_updated_timestamp def initialize(**args) @@ -2213,7 +2213,7 @@ module Google # The current number of times this event has occurred. # Corresponds to the JSON property `numEvents` - # @return [String] + # @return [Fixnum] attr_accessor :num_events # The ID of the player. @@ -2273,7 +2273,7 @@ module Google # The current number of experience points for the player. # Corresponds to the JSON property `currentExperiencePoints` - # @return [String] + # @return [Fixnum] attr_accessor :current_experience_points # This is a JSON template for 1P/3P metadata about a user's level. @@ -2289,7 +2289,7 @@ module Google # The timestamp when the player was leveled up, in millis since Unix epoch UTC. # Corresponds to the JSON property `lastLevelUpTimestampMillis` - # @return [String] + # @return [Fixnum] attr_accessor :last_level_up_timestamp_millis # This is a JSON template for 1P/3P metadata about a user's level. @@ -2344,7 +2344,7 @@ module Google # The numerical value of this score. # Corresponds to the JSON property `scoreValue` - # @return [String] + # @return [Fixnum] attr_accessor :score_value # This is a JSON template for a score rank in a leaderboard. @@ -2364,7 +2364,7 @@ module Google # The timestamp at which this score was recorded, in milliseconds since the # epoch in UTC. # Corresponds to the JSON property `writeTimestamp` - # @return [String] + # @return [Fixnum] attr_accessor :write_timestamp def initialize(**args) @@ -2440,12 +2440,12 @@ module Google # The maximum experience points for this level. # Corresponds to the JSON property `maxExperiencePoints` - # @return [String] + # @return [Fixnum] attr_accessor :max_experience_points # The minimum experience points for this level. # Corresponds to the JSON property `minExperiencePoints` - # @return [String] + # @return [Fixnum] attr_accessor :min_experience_points def initialize(**args) @@ -2510,7 +2510,7 @@ module Google # The numerical value for this player score. # Corresponds to the JSON property `score` - # @return [String] + # @return [Fixnum] attr_accessor :score # Additional information about this score. Values will contain no more than 64 @@ -2783,7 +2783,7 @@ module Google # The timestamp at which the user accepted the quest in milliseconds since the # epoch in UTC. Only present if the player has accepted the quest. # Corresponds to the JSON property `acceptedTimestampMillis` - # @return [String] + # @return [Fixnum] attr_accessor :accepted_timestamp_millis # The ID of the application this quest is part of. @@ -2804,7 +2804,7 @@ module Google # The timestamp at which the quest ceases to be active in milliseconds since the # epoch in UTC. # Corresponds to the JSON property `endTimestampMillis` - # @return [String] + # @return [Fixnum] attr_accessor :end_timestamp_millis # The icon image URL for the quest. @@ -2840,7 +2840,7 @@ module Google # The timestamp at which the quest was last updated by the user in milliseconds # since the epoch in UTC. Only present if the player has accepted the quest. # Corresponds to the JSON property `lastUpdatedTimestampMillis` - # @return [String] + # @return [Fixnum] attr_accessor :last_updated_timestamp_millis # The quest milestones. @@ -2856,13 +2856,13 @@ module Google # The timestamp at which the user should be notified that the quest will end # soon in milliseconds since the epoch in UTC. # Corresponds to the JSON property `notifyTimestampMillis` - # @return [String] + # @return [Fixnum] attr_accessor :notify_timestamp_millis # The timestamp at which the quest becomes active in milliseconds since the # epoch in UTC. # Corresponds to the JSON property `startTimestampMillis` - # @return [String] + # @return [Fixnum] attr_accessor :start_timestamp_millis # The state of the quest. @@ -2924,7 +2924,7 @@ module Google # The value of the contribution. # Corresponds to the JSON property `value` - # @return [String] + # @return [Fixnum] attr_accessor :value def initialize(**args) @@ -3248,7 +3248,7 @@ module Google # exclusive bitmasks, the result must be zero. Can be used to support exclusive # roles within a game. # Corresponds to the JSON property `exclusiveBitmask` - # @return [String] + # @return [Fixnum] attr_accessor :exclusive_bitmask # Uniquely identifies the type of this resource. Value is always the fixed @@ -3346,7 +3346,7 @@ module Google # A randomly generated numeric ID. This number is used at the server to ensure # that the request is handled correctly across retries. # Corresponds to the JSON property `requestId` - # @return [String] + # @return [Fixnum] attr_accessor :request_id # The variant / mode of the application to be played. This can be any integer @@ -3581,7 +3581,7 @@ module Google # The timestamp at which they modified the room, in milliseconds since the epoch # in UTC. # Corresponds to the JSON property `modifiedTimestampMillis` - # @return [String] + # @return [Fixnum] attr_accessor :modified_timestamp_millis # The ID of the participant that modified the room. @@ -3871,7 +3871,7 @@ module Google # The new score being submitted. # Corresponds to the JSON property `score` - # @return [String] + # @return [Fixnum] attr_accessor :score # Additional information about this score. Values will contain no more than 64 @@ -3922,7 +3922,7 @@ module Google # The duration associated with this snapshot, in millis. # Corresponds to the JSON property `durationMillis` - # @return [String] + # @return [Fixnum] attr_accessor :duration_millis # The ID of the snapshot. @@ -3939,13 +3939,13 @@ module Google # The timestamp (in millis since Unix epoch) of the last modification to this # snapshot. # Corresponds to the JSON property `lastModifiedMillis` - # @return [String] + # @return [Fixnum] attr_accessor :last_modified_millis # The progress value (64-bit integer set by developer) associated with this # snapshot. # Corresponds to the JSON property `progressValue` - # @return [String] + # @return [Fixnum] attr_accessor :progress_value # The title of this snapshot. @@ -4071,7 +4071,7 @@ module Google # exclusive bitmasks, the result must be zero. Can be used to support exclusive # roles within a game. # Corresponds to the JSON property `exclusiveBitmask` - # @return [String] + # @return [Fixnum] attr_accessor :exclusive_bitmask # Uniquely identifies the type of this resource. Value is always the fixed @@ -4289,7 +4289,7 @@ module Google # A randomly generated numeric ID. This number is used at the server to ensure # that the request is handled correctly across retries. # Corresponds to the JSON property `requestId` - # @return [String] + # @return [Fixnum] attr_accessor :request_id # The variant / mode of the application to be played. This can be any integer @@ -4422,7 +4422,7 @@ module Google # The timestamp at which they modified the match, in milliseconds since the # epoch in UTC. # Corresponds to the JSON property `modifiedTimestampMillis` - # @return [String] + # @return [Fixnum] attr_accessor :modified_timestamp_millis # The ID of the participant that modified the match. diff --git a/generated/google/apis/games_v1/representations.rb b/generated/google/apis/games_v1/representations.rb index dd3d109ab..c19000e81 100644 --- a/generated/google/apis/games_v1/representations.rb +++ b/generated/google/apis/games_v1/representations.rb @@ -627,7 +627,7 @@ module Google class Representation < Google::Apis::Core::JsonRepresentation property :achievement_type, as: 'achievementType' property :description, as: 'description' - property :experience_points, as: 'experiencePoints' + property :experience_points, :numeric_string => true, as: 'experiencePoints' property :formatted_total_steps, as: 'formattedTotalSteps' property :id, as: 'id' property :initial_state, as: 'initialState' @@ -731,11 +731,11 @@ module Google class AggregateStats # @private class Representation < Google::Apis::Core::JsonRepresentation - property :count, as: 'count' + property :count, :numeric_string => true, as: 'count' property :kind, as: 'kind' - property :max, as: 'max' - property :min, as: 'min' - property :sum, as: 'sum' + property :max, :numeric_string => true, as: 'max' + property :min, :numeric_string => true, as: 'min' + property :sum, :numeric_string => true, as: 'sum' end end @@ -763,7 +763,7 @@ module Google collection :instances, as: 'instances', class: Google::Apis::GamesV1::Instance, decorator: Google::Apis::GamesV1::Instance::Representation property :kind, as: 'kind' - property :last_updated_timestamp, as: 'lastUpdatedTimestamp' + property :last_updated_timestamp, :numeric_string => true, as: 'lastUpdatedTimestamp' property :leaderboard_count, as: 'leaderboard_count' property :name, as: 'name' property :theme_color, as: 'themeColor' @@ -792,7 +792,7 @@ module Google # @private class Representation < Google::Apis::Core::JsonRepresentation property :category, as: 'category' - property :experience_points, as: 'experiencePoints' + property :experience_points, :numeric_string => true, as: 'experiencePoints' property :kind, as: 'kind' end end @@ -854,8 +854,8 @@ module Google # @private class Representation < Google::Apis::Core::JsonRepresentation property :kind, as: 'kind' - property :period_end_millis, as: 'periodEndMillis' - property :period_start_millis, as: 'periodStartMillis' + property :period_end_millis, :numeric_string => true, as: 'periodEndMillis' + property :period_start_millis, :numeric_string => true, as: 'periodStartMillis' end end @@ -882,9 +882,9 @@ module Google class EventRecordRequest # @private class Representation < Google::Apis::Core::JsonRepresentation - property :current_time_millis, as: 'currentTimeMillis' + property :current_time_millis, :numeric_string => true, as: 'currentTimeMillis' property :kind, as: 'kind' - property :request_id, as: 'requestId' + property :request_id, :numeric_string => true, as: 'requestId' collection :time_periods, as: 'timePeriods', class: Google::Apis::GamesV1::EventPeriodUpdate, decorator: Google::Apis::GamesV1::EventPeriodUpdate::Representation end @@ -895,7 +895,7 @@ module Google class Representation < Google::Apis::Core::JsonRepresentation property :definition_id, as: 'definitionId' property :kind, as: 'kind' - property :update_count, as: 'updateCount' + property :update_count, :numeric_string => true, as: 'updateCount' end end @@ -916,7 +916,7 @@ module Google # @private class Representation < Google::Apis::Core::JsonRepresentation property :kind, as: 'kind' - property :request_id, as: 'requestId' + property :request_id, :numeric_string => true, as: 'requestId' property :steps, as: 'steps' end end @@ -1010,11 +1010,11 @@ module Google property :kind, as: 'kind' property :player, as: 'player', class: Google::Apis::GamesV1::Player, decorator: Google::Apis::GamesV1::Player::Representation - property :score_rank, as: 'scoreRank' + property :score_rank, :numeric_string => true, as: 'scoreRank' property :score_tag, as: 'scoreTag' - property :score_value, as: 'scoreValue' + property :score_value, :numeric_string => true, as: 'scoreValue' property :time_span, as: 'timeSpan' - property :write_timestamp_millis, as: 'writeTimestampMillis' + property :write_timestamp_millis, :numeric_string => true, as: 'writeTimestampMillis' end end @@ -1034,8 +1034,8 @@ module Google property :formatted_num_scores, as: 'formattedNumScores' property :formatted_rank, as: 'formattedRank' property :kind, as: 'kind' - property :num_scores, as: 'numScores' - property :rank, as: 'rank' + property :num_scores, :numeric_string => true, as: 'numScores' + property :rank, :numeric_string => true, as: 'rank' end end @@ -1046,7 +1046,7 @@ module Google property :kind, as: 'kind' property :next_page_token, as: 'nextPageToken' - property :num_scores, as: 'numScores' + property :num_scores, :numeric_string => true, as: 'numScores' property :player_score, as: 'playerScore', class: Google::Apis::GamesV1::LeaderboardEntry, decorator: Google::Apis::GamesV1::LeaderboardEntry::Representation property :prev_page_token, as: 'prevPageToken' @@ -1106,7 +1106,7 @@ module Google class PeerSessionDiagnostics # @private class Representation < Google::Apis::Core::JsonRepresentation - property :connected_timestamp_millis, as: 'connectedTimestampMillis' + property :connected_timestamp_millis, :numeric_string => true, as: 'connectedTimestampMillis' property :kind, as: 'kind' property :participant_id, as: 'participantId' property :reliable_channel, as: 'reliableChannel', class: Google::Apis::GamesV1::PeerChannelDiagnostics, decorator: Google::Apis::GamesV1::PeerChannelDiagnostics::Representation @@ -1121,7 +1121,7 @@ module Google class Representation < Google::Apis::Core::JsonRepresentation property :auto_matched, as: 'autoMatched' property :kind, as: 'kind' - property :time_millis, as: 'timeMillis' + property :time_millis, :numeric_string => true, as: 'timeMillis' end end @@ -1160,11 +1160,11 @@ module Google class Representation < Google::Apis::Core::JsonRepresentation property :achievement_state, as: 'achievementState' property :current_steps, as: 'currentSteps' - property :experience_points, as: 'experiencePoints' + property :experience_points, :numeric_string => true, as: 'experiencePoints' property :formatted_current_steps_string, as: 'formattedCurrentStepsString' property :id, as: 'id' property :kind, as: 'kind' - property :last_updated_timestamp, as: 'lastUpdatedTimestamp' + property :last_updated_timestamp, :numeric_string => true, as: 'lastUpdatedTimestamp' end end @@ -1184,7 +1184,7 @@ module Google property :definition_id, as: 'definitionId' property :formatted_num_events, as: 'formattedNumEvents' property :kind, as: 'kind' - property :num_events, as: 'numEvents' + property :num_events, :numeric_string => true, as: 'numEvents' property :player_id, as: 'playerId' end end @@ -1202,11 +1202,11 @@ module Google class PlayerExperienceInfo # @private class Representation < Google::Apis::Core::JsonRepresentation - property :current_experience_points, as: 'currentExperiencePoints' + property :current_experience_points, :numeric_string => true, as: 'currentExperiencePoints' property :current_level, as: 'currentLevel', class: Google::Apis::GamesV1::PlayerLevel, decorator: Google::Apis::GamesV1::PlayerLevel::Representation property :kind, as: 'kind' - property :last_level_up_timestamp_millis, as: 'lastLevelUpTimestampMillis' + property :last_level_up_timestamp_millis, :numeric_string => true, as: 'lastLevelUpTimestampMillis' property :next_level, as: 'nextLevel', class: Google::Apis::GamesV1::PlayerLevel, decorator: Google::Apis::GamesV1::PlayerLevel::Representation end @@ -1221,11 +1221,11 @@ module Google property :score_string, as: 'scoreString' property :score_tag, as: 'scoreTag' - property :score_value, as: 'scoreValue' + property :score_value, :numeric_string => true, as: 'scoreValue' property :social_rank, as: 'socialRank', class: Google::Apis::GamesV1::LeaderboardScoreRank, decorator: Google::Apis::GamesV1::LeaderboardScoreRank::Representation property :time_span, as: 'timeSpan' - property :write_timestamp, as: 'writeTimestamp' + property :write_timestamp, :numeric_string => true, as: 'writeTimestamp' end end @@ -1246,8 +1246,8 @@ module Google class Representation < Google::Apis::Core::JsonRepresentation property :kind, as: 'kind' property :level, as: 'level' - property :max_experience_points, as: 'maxExperiencePoints' - property :min_experience_points, as: 'minExperiencePoints' + property :max_experience_points, :numeric_string => true, as: 'maxExperiencePoints' + property :min_experience_points, :numeric_string => true, as: 'minExperiencePoints' end end @@ -1266,7 +1266,7 @@ module Google class Representation < Google::Apis::Core::JsonRepresentation property :formatted_score, as: 'formattedScore' property :kind, as: 'kind' - property :score, as: 'score' + property :score, :numeric_string => true, as: 'score' property :score_tag, as: 'scoreTag' property :time_span, as: 'timeSpan' end @@ -1342,22 +1342,22 @@ module Google class Quest # @private class Representation < Google::Apis::Core::JsonRepresentation - property :accepted_timestamp_millis, as: 'acceptedTimestampMillis' + property :accepted_timestamp_millis, :numeric_string => true, as: 'acceptedTimestampMillis' property :application_id, as: 'applicationId' property :banner_url, as: 'bannerUrl' property :description, as: 'description' - property :end_timestamp_millis, as: 'endTimestampMillis' + property :end_timestamp_millis, :numeric_string => true, as: 'endTimestampMillis' property :icon_url, as: 'iconUrl' property :id, as: 'id' property :is_default_banner_url, as: 'isDefaultBannerUrl' property :is_default_icon_url, as: 'isDefaultIconUrl' property :kind, as: 'kind' - property :last_updated_timestamp_millis, as: 'lastUpdatedTimestampMillis' + property :last_updated_timestamp_millis, :numeric_string => true, as: 'lastUpdatedTimestampMillis' collection :milestones, as: 'milestones', class: Google::Apis::GamesV1::QuestMilestone, decorator: Google::Apis::GamesV1::QuestMilestone::Representation property :name, as: 'name' - property :notify_timestamp_millis, as: 'notifyTimestampMillis' - property :start_timestamp_millis, as: 'startTimestampMillis' + property :notify_timestamp_millis, :numeric_string => true, as: 'notifyTimestampMillis' + property :start_timestamp_millis, :numeric_string => true, as: 'startTimestampMillis' property :state, as: 'state' end end @@ -1367,7 +1367,7 @@ module Google class Representation < Google::Apis::Core::JsonRepresentation property :formatted_value, as: 'formattedValue' property :kind, as: 'kind' - property :value, as: 'value' + property :value, :numeric_string => true, as: 'value' end end @@ -1451,7 +1451,7 @@ module Google class RoomAutoMatchingCriteria # @private class Representation < Google::Apis::Core::JsonRepresentation - property :exclusive_bitmask, as: 'exclusiveBitmask' + property :exclusive_bitmask, :numeric_string => true, as: 'exclusiveBitmask' property :kind, as: 'kind' property :max_auto_matching_players, as: 'maxAutoMatchingPlayers' property :min_auto_matching_players, as: 'minAutoMatchingPlayers' @@ -1478,7 +1478,7 @@ module Google property :kind, as: 'kind' property :network_diagnostics, as: 'networkDiagnostics', class: Google::Apis::GamesV1::NetworkDiagnostics, decorator: Google::Apis::GamesV1::NetworkDiagnostics::Representation - property :request_id, as: 'requestId' + property :request_id, :numeric_string => true, as: 'requestId' property :variant, as: 'variant' end end @@ -1534,7 +1534,7 @@ module Google # @private class Representation < Google::Apis::Core::JsonRepresentation property :kind, as: 'kind' - property :modified_timestamp_millis, as: 'modifiedTimestampMillis' + property :modified_timestamp_millis, :numeric_string => true, as: 'modifiedTimestampMillis' property :participant_id, as: 'participantId' end end @@ -1599,7 +1599,7 @@ module Google class Representation < Google::Apis::Core::JsonRepresentation property :kind, as: 'kind' property :leaderboard_id, as: 'leaderboardId' - property :score, as: 'score' + property :score, :numeric_string => true, as: 'score' property :score_tag, as: 'scoreTag' property :signature, as: 'signature' end @@ -1612,11 +1612,11 @@ module Google property :description, as: 'description' property :drive_id, as: 'driveId' - property :duration_millis, as: 'durationMillis' + property :duration_millis, :numeric_string => true, as: 'durationMillis' property :id, as: 'id' property :kind, as: 'kind' - property :last_modified_millis, as: 'lastModifiedMillis' - property :progress_value, as: 'progressValue' + property :last_modified_millis, :numeric_string => true, as: 'lastModifiedMillis' + property :progress_value, :numeric_string => true, as: 'progressValue' property :title, as: 'title' property :type, as: 'type' property :unique_name, as: 'uniqueName' @@ -1647,7 +1647,7 @@ module Google class TurnBasedAutoMatchingCriteria # @private class Representation < Google::Apis::Core::JsonRepresentation - property :exclusive_bitmask, as: 'exclusiveBitmask' + property :exclusive_bitmask, :numeric_string => true, as: 'exclusiveBitmask' property :kind, as: 'kind' property :max_auto_matching_players, as: 'maxAutoMatchingPlayers' property :min_auto_matching_players, as: 'minAutoMatchingPlayers' @@ -1694,7 +1694,7 @@ module Google collection :invited_player_ids, as: 'invitedPlayerIds' property :kind, as: 'kind' - property :request_id, as: 'requestId' + property :request_id, :numeric_string => true, as: 'requestId' property :variant, as: 'variant' end end @@ -1730,7 +1730,7 @@ module Google # @private class Representation < Google::Apis::Core::JsonRepresentation property :kind, as: 'kind' - property :modified_timestamp_millis, as: 'modifiedTimestampMillis' + property :modified_timestamp_millis, :numeric_string => true, as: 'modifiedTimestampMillis' property :participant_id, as: 'participantId' end end diff --git a/generated/google/apis/games_v1/service.rb b/generated/google/apis/games_v1/service.rb index 26241a64b..2765d08ec 100644 --- a/generated/google/apis/games_v1/service.rb +++ b/generated/google/apis/games_v1/service.rb @@ -50,10 +50,11 @@ module Google def initialize super('https://www.googleapis.com/', 'games/v1/') + @batch_path = 'batch' end # Lists all the achievement definitions for your application. - # @param [String] consistency_token + # @param [Fixnum] consistency_token # The last-seen mutation timestamp. # @param [String] language # The preferred language to use for strings returned by this method. @@ -104,9 +105,9 @@ module Google # The ID of the achievement used by this method. # @param [Fixnum] steps_to_increment # The number of steps to increment. - # @param [String] consistency_token + # @param [Fixnum] consistency_token # The last-seen mutation timestamp. - # @param [String] request_id + # @param [Fixnum] request_id # A randomly generated numeric ID for each request specified by the caller. This # number is used at the server to ensure that the request is handled correctly # across retries. @@ -150,7 +151,7 @@ module Google # @param [String] player_id # A player ID. A value of me may be used in place of the authenticated player's # ID. - # @param [String] consistency_token + # @param [Fixnum] consistency_token # The last-seen mutation timestamp. # @param [String] language # The preferred language to use for strings returned by this method. @@ -204,7 +205,7 @@ module Google # currently authenticated player. # @param [String] achievement_id # The ID of the achievement used by this method. - # @param [String] consistency_token + # @param [Fixnum] consistency_token # The last-seen mutation timestamp. # @param [String] fields # Selector specifying which fields to include in a partial response. @@ -247,7 +248,7 @@ module Google # The ID of the achievement used by this method. # @param [Fixnum] steps # The minimum value to set the steps to. - # @param [String] consistency_token + # @param [Fixnum] consistency_token # The last-seen mutation timestamp. # @param [String] fields # Selector specifying which fields to include in a partial response. @@ -286,7 +287,7 @@ module Google # Unlocks this achievement for the currently authenticated player. # @param [String] achievement_id # The ID of the achievement used by this method. - # @param [String] consistency_token + # @param [Fixnum] consistency_token # The last-seen mutation timestamp. # @param [String] fields # Selector specifying which fields to include in a partial response. @@ -323,7 +324,7 @@ module Google # Updates multiple achievements for the currently authenticated player. # @param [Google::Apis::GamesV1::AchievementUpdateMultipleRequest] achievement_update_multiple_request_object - # @param [String] consistency_token + # @param [Fixnum] consistency_token # The last-seen mutation timestamp. # @param [String] fields # Selector specifying which fields to include in a partial response. @@ -364,7 +365,7 @@ module Google # response will not include any instance data. # @param [String] application_id # The application ID from the Google Play developer console. - # @param [String] consistency_token + # @param [Fixnum] consistency_token # The last-seen mutation timestamp. # @param [String] language # The preferred language to use for strings returned by this method. @@ -406,7 +407,7 @@ module Google end # Indicate that the the currently authenticated user is playing your application. - # @param [String] consistency_token + # @param [Fixnum] consistency_token # The last-seen mutation timestamp. # @param [String] fields # Selector specifying which fields to include in a partial response. @@ -442,7 +443,7 @@ module Google # the specified ID, and returns the ID of the player it was granted for. # @param [String] application_id # The application ID from the Google Play developer console. - # @param [String] consistency_token + # @param [Fixnum] consistency_token # The last-seen mutation timestamp. # @param [String] fields # Selector specifying which fields to include in a partial response. @@ -479,7 +480,7 @@ module Google # Returns a list showing the current progress on events in this application for # the currently authenticated user. - # @param [String] consistency_token + # @param [Fixnum] consistency_token # The last-seen mutation timestamp. # @param [String] language # The preferred language to use for strings returned by this method. @@ -525,7 +526,7 @@ module Google end # Returns a list of the event definitions in this application. - # @param [String] consistency_token + # @param [Fixnum] consistency_token # The last-seen mutation timestamp. # @param [String] language # The preferred language to use for strings returned by this method. @@ -573,7 +574,7 @@ module Google # Records a batch of changes to the number of times events have occurred for the # currently authenticated user of this application. # @param [Google::Apis::GamesV1::EventRecordRequest] event_record_request_object - # @param [String] consistency_token + # @param [Fixnum] consistency_token # The last-seen mutation timestamp. # @param [String] language # The preferred language to use for strings returned by this method. @@ -615,7 +616,7 @@ module Google # Retrieves the metadata of the leaderboard with the given ID. # @param [String] leaderboard_id # The ID of the leaderboard. - # @param [String] consistency_token + # @param [Fixnum] consistency_token # The last-seen mutation timestamp. # @param [String] language # The preferred language to use for strings returned by this method. @@ -654,7 +655,7 @@ module Google end # Lists all the leaderboard metadata for your application. - # @param [String] consistency_token + # @param [Fixnum] consistency_token # The last-seen mutation timestamp. # @param [String] language # The preferred language to use for strings returned by this method. @@ -700,7 +701,7 @@ module Google end # Return the metagame configuration data for the calling application. - # @param [String] consistency_token + # @param [Fixnum] consistency_token # The last-seen mutation timestamp. # @param [String] fields # Selector specifying which fields to include in a partial response. @@ -741,7 +742,7 @@ module Google # ID. # @param [String] collection # The collection of categories for which data will be returned. - # @param [String] consistency_token + # @param [Fixnum] consistency_token # The last-seen mutation timestamp. # @param [String] language # The preferred language to use for strings returned by this method. @@ -793,7 +794,7 @@ module Google # @param [String] player_id # A player ID. A value of me may be used in place of the authenticated player's # ID. - # @param [String] consistency_token + # @param [Fixnum] consistency_token # The last-seen mutation timestamp. # @param [String] language # The preferred language to use for strings returned by this method. @@ -834,7 +835,7 @@ module Google # Get the collection of players for the currently authenticated user. # @param [String] collection # Collection of players being retrieved - # @param [String] consistency_token + # @param [Fixnum] consistency_token # The last-seen mutation timestamp. # @param [String] language # The preferred language to use for strings returned by this method. @@ -883,7 +884,7 @@ module Google # Removes a push token for the current user and application. Removing a non- # existent push token will report success. # @param [Google::Apis::GamesV1::PushTokenId] push_token_id_object - # @param [String] consistency_token + # @param [Fixnum] consistency_token # The last-seen mutation timestamp. # @param [String] fields # Selector specifying which fields to include in a partial response. @@ -919,7 +920,7 @@ module Google # Registers a push token for the current user and application. # @param [Google::Apis::GamesV1::PushToken] push_token_object - # @param [String] consistency_token + # @param [Fixnum] consistency_token # The last-seen mutation timestamp. # @param [String] fields # Selector specifying which fields to include in a partial response. @@ -960,10 +961,10 @@ module Google # The ID of the quest. # @param [String] milestone_id # The ID of the milestone. - # @param [String] request_id + # @param [Fixnum] request_id # A numeric ID to ensure that the request is handled correctly across retries. # Your client application must generate this ID randomly. - # @param [String] consistency_token + # @param [Fixnum] consistency_token # The last-seen mutation timestamp. # @param [String] fields # Selector specifying which fields to include in a partial response. @@ -1001,7 +1002,7 @@ module Google # Indicates that the currently authorized user will participate in the quest. # @param [String] quest_id # The ID of the quest. - # @param [String] consistency_token + # @param [Fixnum] consistency_token # The last-seen mutation timestamp. # @param [String] language # The preferred language to use for strings returned by this method. @@ -1044,7 +1045,7 @@ module Google # @param [String] player_id # A player ID. A value of me may be used in place of the authenticated player's # ID. - # @param [String] consistency_token + # @param [Fixnum] consistency_token # The last-seen mutation timestamp. # @param [String] language # The preferred language to use for strings returned by this method. @@ -1099,7 +1100,7 @@ module Google # - "ANDROID" - Client is running the Android SDK. # - "IOS" - Client is running the iOS SDK. # - "WEB_APP" - Client is running as a Web App. - # @param [String] consistency_token + # @param [Fixnum] consistency_token # The last-seen mutation timestamp. # @param [String] fields # Selector specifying which fields to include in a partial response. @@ -1137,7 +1138,7 @@ module Google # Create a room. For internal use by the Games SDK only. Calling this method # directly is unsupported. # @param [Google::Apis::GamesV1::CreateRoomRequest] create_room_request_object - # @param [String] consistency_token + # @param [Fixnum] consistency_token # The last-seen mutation timestamp. # @param [String] language # The preferred language to use for strings returned by this method. @@ -1180,7 +1181,7 @@ module Google # Calling this method directly is unsupported. # @param [String] room_id # The ID of the room. - # @param [String] consistency_token + # @param [Fixnum] consistency_token # The last-seen mutation timestamp. # @param [String] language # The preferred language to use for strings returned by this method. @@ -1222,7 +1223,7 @@ module Google # Calling this method directly is unsupported. # @param [String] room_id # The ID of the room. - # @param [String] consistency_token + # @param [Fixnum] consistency_token # The last-seen mutation timestamp. # @param [String] fields # Selector specifying which fields to include in a partial response. @@ -1258,7 +1259,7 @@ module Google # Get the data for a room. # @param [String] room_id # The ID of the room. - # @param [String] consistency_token + # @param [Fixnum] consistency_token # The last-seen mutation timestamp. # @param [String] language # The preferred language to use for strings returned by this method. @@ -1301,7 +1302,7 @@ module Google # @param [String] room_id # The ID of the room. # @param [Google::Apis::GamesV1::JoinRoomRequest] join_room_request_object - # @param [String] consistency_token + # @param [Fixnum] consistency_token # The last-seen mutation timestamp. # @param [String] language # The preferred language to use for strings returned by this method. @@ -1346,7 +1347,7 @@ module Google # @param [String] room_id # The ID of the room. # @param [Google::Apis::GamesV1::LeaveRoomRequest] leave_room_request_object - # @param [String] consistency_token + # @param [Fixnum] consistency_token # The last-seen mutation timestamp. # @param [String] language # The preferred language to use for strings returned by this method. @@ -1387,7 +1388,7 @@ module Google end # Returns invitations to join rooms. - # @param [String] consistency_token + # @param [Fixnum] consistency_token # The last-seen mutation timestamp. # @param [String] language # The preferred language to use for strings returned by this method. @@ -1437,7 +1438,7 @@ module Google # @param [String] room_id # The ID of the room. # @param [Google::Apis::GamesV1::RoomP2PStatuses] room_p2_p_statuses_object - # @param [String] consistency_token + # @param [Fixnum] consistency_token # The last-seen mutation timestamp. # @param [String] language # The preferred language to use for strings returned by this method. @@ -1490,7 +1491,7 @@ module Google # leaderboards for this application. # @param [String] time_span # The time span for the scores and ranks you're requesting. - # @param [String] consistency_token + # @param [Fixnum] consistency_token # The last-seen mutation timestamp. # @param [String] include_rank_type # The types of ranks to return. If the parameter is omitted, no ranks will be @@ -1549,7 +1550,7 @@ module Google # The collection of scores you're requesting. # @param [String] time_span # The time span for the scores and ranks you're requesting. - # @param [String] consistency_token + # @param [Fixnum] consistency_token # The last-seen mutation timestamp. # @param [String] language # The preferred language to use for strings returned by this method. @@ -1604,7 +1605,7 @@ module Google # The collection of scores you're requesting. # @param [String] time_span # The time span for the scores and ranks you're requesting. - # @param [String] consistency_token + # @param [Fixnum] consistency_token # The last-seen mutation timestamp. # @param [String] language # The preferred language to use for strings returned by this method. @@ -1665,14 +1666,14 @@ module Google # Submits a score to the specified leaderboard. # @param [String] leaderboard_id # The ID of the leaderboard. - # @param [String] score + # @param [Fixnum] score # The score you're submitting. The submitted score is ignored if it is worse # than a previously submitted score, where worse depends on the leaderboard sort # order. The meaning of the score value depends on the leaderboard format type. # For fixed-point, the score represents the raw value. For time, the score # represents elapsed time in milliseconds. For currency, the score represents a # value in micro units. - # @param [String] consistency_token + # @param [Fixnum] consistency_token # The last-seen mutation timestamp. # @param [String] language # The preferred language to use for strings returned by this method. @@ -1717,7 +1718,7 @@ module Google # Submits multiple scores to leaderboards. # @param [Google::Apis::GamesV1::PlayerScoreSubmissionList] player_score_submission_list_object - # @param [String] consistency_token + # @param [Fixnum] consistency_token # The last-seen mutation timestamp. # @param [String] language # The preferred language to use for strings returned by this method. @@ -1759,7 +1760,7 @@ module Google # Retrieves the metadata for a given snapshot ID. # @param [String] snapshot_id # The ID of the snapshot. - # @param [String] consistency_token + # @param [Fixnum] consistency_token # The last-seen mutation timestamp. # @param [String] language # The preferred language to use for strings returned by this method. @@ -1802,7 +1803,7 @@ module Google # @param [String] player_id # A player ID. A value of me may be used in place of the authenticated player's # ID. - # @param [String] consistency_token + # @param [Fixnum] consistency_token # The last-seen mutation timestamp. # @param [String] language # The preferred language to use for strings returned by this method. @@ -1851,7 +1852,7 @@ module Google # Cancel a turn-based match. # @param [String] match_id # The ID of the match. - # @param [String] consistency_token + # @param [Fixnum] consistency_token # The last-seen mutation timestamp. # @param [String] fields # Selector specifying which fields to include in a partial response. @@ -1886,7 +1887,7 @@ module Google # Create a turn-based match. # @param [Google::Apis::GamesV1::CreateTurnBasedMatchRequest] create_turn_based_match_request_object - # @param [String] consistency_token + # @param [Fixnum] consistency_token # The last-seen mutation timestamp. # @param [String] language # The preferred language to use for strings returned by this method. @@ -1928,7 +1929,7 @@ module Google # Decline an invitation to play a turn-based match. # @param [String] match_id # The ID of the match. - # @param [String] consistency_token + # @param [Fixnum] consistency_token # The last-seen mutation timestamp. # @param [String] language # The preferred language to use for strings returned by this method. @@ -1970,7 +1971,7 @@ module Google # up in the list and will not generate notifications. # @param [String] match_id # The ID of the match. - # @param [String] consistency_token + # @param [Fixnum] consistency_token # The last-seen mutation timestamp. # @param [String] fields # Selector specifying which fields to include in a partial response. @@ -2009,7 +2010,7 @@ module Google # @param [String] match_id # The ID of the match. # @param [Google::Apis::GamesV1::TurnBasedMatchResults] turn_based_match_results_object - # @param [String] consistency_token + # @param [Fixnum] consistency_token # The last-seen mutation timestamp. # @param [String] language # The preferred language to use for strings returned by this method. @@ -2052,7 +2053,7 @@ module Google # Get the data for a turn-based match. # @param [String] match_id # The ID of the match. - # @param [String] consistency_token + # @param [Fixnum] consistency_token # The last-seen mutation timestamp. # @param [Boolean] include_match_data # Get match data along with metadata. @@ -2096,7 +2097,7 @@ module Google # Join a turn-based match. # @param [String] match_id # The ID of the match. - # @param [String] consistency_token + # @param [Fixnum] consistency_token # The last-seen mutation timestamp. # @param [String] language # The preferred language to use for strings returned by this method. @@ -2138,7 +2139,7 @@ module Google # canceling the match. # @param [String] match_id # The ID of the match. - # @param [String] consistency_token + # @param [Fixnum] consistency_token # The last-seen mutation timestamp. # @param [String] language # The preferred language to use for strings returned by this method. @@ -2182,7 +2183,7 @@ module Google # The ID of the match. # @param [Fixnum] match_version # The version of the match being updated. - # @param [String] consistency_token + # @param [Fixnum] consistency_token # The last-seen mutation timestamp. # @param [String] language # The preferred language to use for strings returned by this method. @@ -2228,7 +2229,7 @@ module Google end # Returns turn-based matches the player is or was involved in. - # @param [String] consistency_token + # @param [Fixnum] consistency_token # The last-seen mutation timestamp. # @param [Boolean] include_match_data # True if match data should be returned in the response. Note that not all data @@ -2290,11 +2291,11 @@ module Google # match; it will be the caller's turn. # @param [String] match_id # The ID of the match. - # @param [String] consistency_token + # @param [Fixnum] consistency_token # The last-seen mutation timestamp. # @param [String] language # The preferred language to use for strings returned by this method. - # @param [String] request_id + # @param [Fixnum] request_id # A randomly generated numeric ID for each request specified by the caller. This # number is used at the server to ensure that the request is handled correctly # across retries. @@ -2336,7 +2337,7 @@ module Google # Returns turn-based matches the player is or was involved in that changed since # the last sync call, with the least recent changes coming first. Matches that # should be removed from the local cache will have a status of MATCH_DELETED. - # @param [String] consistency_token + # @param [Fixnum] consistency_token # The last-seen mutation timestamp. # @param [Boolean] include_match_data # True if match data should be returned in the response. Note that not all data @@ -2396,7 +2397,7 @@ module Google # @param [String] match_id # The ID of the match. # @param [Google::Apis::GamesV1::TurnBasedMatchTurn] turn_based_match_turn_object - # @param [String] consistency_token + # @param [Fixnum] consistency_token # The last-seen mutation timestamp. # @param [String] language # The preferred language to use for strings returned by this method. diff --git a/generated/google/apis/genomics_v1.rb b/generated/google/apis/genomics_v1.rb index 7923f8a7c..fbfb9cc50 100644 --- a/generated/google/apis/genomics_v1.rb +++ b/generated/google/apis/genomics_v1.rb @@ -27,12 +27,6 @@ module Google VERSION = 'V1' REVISION = '20170330' - # View and manage your data in Google BigQuery - AUTH_BIGQUERY = 'https://www.googleapis.com/auth/bigquery' - - # Manage your data in Google Cloud Storage - AUTH_DEVSTORAGE_READ_WRITE = 'https://www.googleapis.com/auth/devstorage.read_write' - # View and manage your data across Google Cloud Platform services AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform' @@ -41,6 +35,12 @@ module Google # View and manage Genomics data AUTH_GENOMICS = 'https://www.googleapis.com/auth/genomics' + + # View and manage your data in Google BigQuery + AUTH_BIGQUERY = 'https://www.googleapis.com/auth/bigquery' + + # Manage your data in Google Cloud Storage + AUTH_DEVSTORAGE_READ_WRITE = 'https://www.googleapis.com/auth/devstorage.read_write' end end end diff --git a/generated/google/apis/genomics_v1/classes.rb b/generated/google/apis/genomics_v1/classes.rb index 937783c9f..9275a7297 100644 --- a/generated/google/apis/genomics_v1/classes.rb +++ b/generated/google/apis/genomics_v1/classes.rb @@ -22,851 +22,6 @@ module Google module Apis module GenomicsV1 - # - class SearchAnnotationSetsResponse - include Google::Apis::Core::Hashable - - # The continuation token, which is used to page through large result sets. - # Provide this value in a subsequent request to return the next page of - # results. This field will be empty if there aren't any additional results. - # Corresponds to the JSON property `nextPageToken` - # @return [String] - attr_accessor :next_page_token - - # The matching annotation sets. - # Corresponds to the JSON property `annotationSets` - # @return [Array] - attr_accessor :annotation_sets - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @next_page_token = args[:next_page_token] if args.key?(:next_page_token) - @annotation_sets = args[:annotation_sets] if args.key?(:annotation_sets) - end - end - - # The variant data import request. - class ImportVariantsRequest - include Google::Apis::Core::Hashable - - # A mapping between info field keys and the InfoMergeOperations to - # be performed on them. This is plumbed down to the MergeVariantRequests - # generated by the resulting import job. - # Corresponds to the JSON property `infoMergeConfig` - # @return [Hash] - attr_accessor :info_merge_config - - # Required. The variant set to which variant data should be imported. - # Corresponds to the JSON property `variantSetId` - # @return [String] - attr_accessor :variant_set_id - - # A list of URIs referencing variant files in Google Cloud Storage. URIs can - # include wildcards [as described - # here](https://cloud.google.com/storage/docs/gsutil/addlhelp/WildcardNames). - # Note that recursive wildcards ('**') are not supported. - # Corresponds to the JSON property `sourceUris` - # @return [Array] - attr_accessor :source_uris - - # Convert reference names to the canonical representation. - # hg19 haploytypes (those reference names containing "_hap") - # are not modified in any way. - # All other reference names are modified according to the following rules: - # The reference name is capitalized. - # The "chr" prefix is dropped for all autosomes and sex chromsomes. - # For example "chr17" becomes "17" and "chrX" becomes "X". - # All mitochondrial chromosomes ("chrM", "chrMT", etc) become "MT". - # Corresponds to the JSON property `normalizeReferenceNames` - # @return [Boolean] - attr_accessor :normalize_reference_names - alias_method :normalize_reference_names?, :normalize_reference_names - - # The format of the variant data being imported. If unspecified, defaults to - # to `VCF`. - # Corresponds to the JSON property `format` - # @return [String] - attr_accessor :format - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @info_merge_config = args[:info_merge_config] if args.key?(:info_merge_config) - @variant_set_id = args[:variant_set_id] if args.key?(:variant_set_id) - @source_uris = args[:source_uris] if args.key?(:source_uris) - @normalize_reference_names = args[:normalize_reference_names] if args.key?(:normalize_reference_names) - @format = args[:format] if args.key?(:format) - end - end - - # - class VariantAnnotation - include Google::Apis::Core::Hashable - - # Google annotation IDs of the transcripts affected by this variant. These - # should be provided when the variant is created. - # Corresponds to the JSON property `transcriptIds` - # @return [Array] - attr_accessor :transcript_ids - - # Type has been adapted from ClinVar's list of variant types. - # Corresponds to the JSON property `type` - # @return [String] - attr_accessor :type - - # The alternate allele for this variant. If multiple alternate alleles - # exist at this location, create a separate variant for each one, as they - # may represent distinct conditions. - # Corresponds to the JSON property `alternateBases` - # @return [String] - attr_accessor :alternate_bases - - # Google annotation ID of the gene affected by this variant. This should - # be provided when the variant is created. - # Corresponds to the JSON property `geneId` - # @return [String] - attr_accessor :gene_id - - # Describes the clinical significance of a variant. - # It is adapted from the ClinVar controlled vocabulary for clinical - # significance described at: - # http://www.ncbi.nlm.nih.gov/clinvar/docs/clinsig/ - # Corresponds to the JSON property `clinicalSignificance` - # @return [String] - attr_accessor :clinical_significance - - # The set of conditions associated with this variant. - # A condition describes the way a variant influences human health. - # Corresponds to the JSON property `conditions` - # @return [Array] - attr_accessor :conditions - - # Effect of the variant on the coding sequence. - # Corresponds to the JSON property `effect` - # @return [String] - attr_accessor :effect - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @transcript_ids = args[:transcript_ids] if args.key?(:transcript_ids) - @type = args[:type] if args.key?(:type) - @alternate_bases = args[:alternate_bases] if args.key?(:alternate_bases) - @gene_id = args[:gene_id] if args.key?(:gene_id) - @clinical_significance = args[:clinical_significance] if args.key?(:clinical_significance) - @conditions = args[:conditions] if args.key?(:conditions) - @effect = args[:effect] if args.key?(:effect) - end - end - - # - class ListCoverageBucketsResponse - include Google::Apis::Core::Hashable - - # The continuation token, which is used to page through large result sets. - # Provide this value in a subsequent request to return the next page of - # results. This field will be empty if there aren't any additional results. - # Corresponds to the JSON property `nextPageToken` - # @return [String] - attr_accessor :next_page_token - - # The length of each coverage bucket in base pairs. Note that buckets at the - # end of a reference sequence may be shorter. This value is omitted if the - # bucket width is infinity (the default behaviour, with no range or - # `targetBucketWidth`). - # Corresponds to the JSON property `bucketWidth` - # @return [String] - attr_accessor :bucket_width - - # The coverage buckets. The list of buckets is sparse; a bucket with 0 - # overlapping reads is not returned. A bucket never crosses more than one - # reference sequence. Each bucket has width `bucketWidth`, unless - # its end is the end of the reference sequence. - # Corresponds to the JSON property `coverageBuckets` - # @return [Array] - attr_accessor :coverage_buckets - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @next_page_token = args[:next_page_token] if args.key?(:next_page_token) - @bucket_width = args[:bucket_width] if args.key?(:bucket_width) - @coverage_buckets = args[:coverage_buckets] if args.key?(:coverage_buckets) - end - end - - # The variant data export request. - class ExportVariantSetRequest - include Google::Apis::Core::Hashable - - # The format for the exported data. - # Corresponds to the JSON property `format` - # @return [String] - attr_accessor :format - - # Required. The BigQuery dataset to export data to. This dataset must already - # exist. Note that this is distinct from the Genomics concept of "dataset". - # Corresponds to the JSON property `bigqueryDataset` - # @return [String] - attr_accessor :bigquery_dataset - - # Required. The BigQuery table to export data to. - # If the table doesn't exist, it will be created. If it already exists, it - # will be overwritten. - # Corresponds to the JSON property `bigqueryTable` - # @return [String] - attr_accessor :bigquery_table - - # If provided, only variant call information from the specified call sets - # will be exported. By default all variant calls are exported. - # Corresponds to the JSON property `callSetIds` - # @return [Array] - attr_accessor :call_set_ids - - # Required. The Google Cloud project ID that owns the destination - # BigQuery dataset. The caller must have WRITE access to this project. This - # project will also own the resulting export job. - # Corresponds to the JSON property `projectId` - # @return [String] - attr_accessor :project_id - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @format = args[:format] if args.key?(:format) - @bigquery_dataset = args[:bigquery_dataset] if args.key?(:bigquery_dataset) - @bigquery_table = args[:bigquery_table] if args.key?(:bigquery_table) - @call_set_ids = args[:call_set_ids] if args.key?(:call_set_ids) - @project_id = args[:project_id] if args.key?(:project_id) - end - end - - # - class SearchAnnotationsRequest - include Google::Apis::Core::Hashable - - # The maximum number of results to return in a single page. If unspecified, - # defaults to 256. The maximum value is 2048. - # Corresponds to the JSON property `pageSize` - # @return [Fixnum] - attr_accessor :page_size - - # The start position of the range on the reference, 0-based inclusive. If - # specified, - # referenceId or - # referenceName - # must be specified. Defaults to 0. - # Corresponds to the JSON property `start` - # @return [String] - attr_accessor :start - - # Required. The annotation sets to search within. The caller must have - # `READ` access to these annotation sets. - # All queried annotation sets must have the same type. - # Corresponds to the JSON property `annotationSetIds` - # @return [Array] - attr_accessor :annotation_set_ids - - # The name of the reference to query, within the reference set associated - # with this query. - # Corresponds to the JSON property `referenceName` - # @return [String] - attr_accessor :reference_name - - # The ID of the reference to query. - # Corresponds to the JSON property `referenceId` - # @return [String] - attr_accessor :reference_id - - # The end position of the range on the reference, 0-based exclusive. If - # referenceId or - # referenceName - # must be specified, Defaults to the length of the reference. - # Corresponds to the JSON property `end` - # @return [String] - attr_accessor :end - - # The continuation token, which is used to page through large result sets. - # To get the next page of results, set this parameter to the value of - # `nextPageToken` from the previous response. - # Corresponds to the JSON property `pageToken` - # @return [String] - attr_accessor :page_token - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @page_size = args[:page_size] if args.key?(:page_size) - @start = args[:start] if args.key?(:start) - @annotation_set_ids = args[:annotation_set_ids] if args.key?(:annotation_set_ids) - @reference_name = args[:reference_name] if args.key?(:reference_name) - @reference_id = args[:reference_id] if args.key?(:reference_id) - @end = args[:end] if args.key?(:end) - @page_token = args[:page_token] if args.key?(:page_token) - end - end - - # An event that occurred during an Operation. - class OperationEvent - include Google::Apis::Core::Hashable - - # Required description of event. - # Corresponds to the JSON property `description` - # @return [String] - attr_accessor :description - - # Optional time of when event finished. An event can have a start time and no - # finish time. If an event has a finish time, there must be a start time. - # Corresponds to the JSON property `endTime` - # @return [String] - attr_accessor :end_time - - # Optional time of when event started. - # Corresponds to the JSON property `startTime` - # @return [String] - attr_accessor :start_time - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @description = args[:description] if args.key?(:description) - @end_time = args[:end_time] if args.key?(:end_time) - @start_time = args[:start_time] if args.key?(:start_time) - end - end - - # - class CodingSequence - include Google::Apis::Core::Hashable - - # The start of the coding sequence on this annotation's reference sequence, - # 0-based inclusive. Note that this position is relative to the reference - # start, and *not* the containing annotation start. - # Corresponds to the JSON property `start` - # @return [String] - attr_accessor :start - - # The end of the coding sequence on this annotation's reference sequence, - # 0-based exclusive. Note that this position is relative to the reference - # start, and *not* the containing annotation start. - # Corresponds to the JSON property `end` - # @return [String] - attr_accessor :end - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @start = args[:start] if args.key?(:start) - @end = args[:end] if args.key?(:end) - end - end - - # Response message for `TestIamPermissions` method. - class TestIamPermissionsResponse - include Google::Apis::Core::Hashable - - # A subset of `TestPermissionsRequest.permissions` that the caller is - # allowed. - # Corresponds to the JSON property `permissions` - # @return [Array] - attr_accessor :permissions - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @permissions = args[:permissions] if args.key?(:permissions) - end - end - - # Request message for `GetIamPolicy` method. - class GetIamPolicyRequest - include Google::Apis::Core::Hashable - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - end - end - - # - class SearchReferencesResponse - include Google::Apis::Core::Hashable - - # The continuation token, which is used to page through large result sets. - # Provide this value in a subsequent request to return the next page of - # results. This field will be empty if there aren't any additional results. - # Corresponds to the JSON property `nextPageToken` - # @return [String] - attr_accessor :next_page_token - - # The matching references. - # Corresponds to the JSON property `references` - # @return [Array] - attr_accessor :references - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @next_page_token = args[:next_page_token] if args.key?(:next_page_token) - @references = args[:references] if args.key?(:references) - end - end - - # - class SearchAnnotationSetsRequest - include Google::Apis::Core::Hashable - - # Required. The dataset IDs to search within. Caller must have `READ` access - # to these datasets. - # Corresponds to the JSON property `datasetIds` - # @return [Array] - attr_accessor :dataset_ids - - # If specified, only annotation sets that have any of these types are - # returned. - # Corresponds to the JSON property `types` - # @return [Array] - attr_accessor :types - - # Only return annotations sets for which a substring of the name matches this - # string (case insensitive). - # Corresponds to the JSON property `name` - # @return [String] - attr_accessor :name - - # If specified, only annotation sets associated with the given reference set - # are returned. - # Corresponds to the JSON property `referenceSetId` - # @return [String] - attr_accessor :reference_set_id - - # The continuation token, which is used to page through large result sets. - # To get the next page of results, set this parameter to the value of - # `nextPageToken` from the previous response. - # Corresponds to the JSON property `pageToken` - # @return [String] - attr_accessor :page_token - - # The maximum number of results to return in a single page. If unspecified, - # defaults to 128. The maximum value is 1024. - # Corresponds to the JSON property `pageSize` - # @return [Fixnum] - attr_accessor :page_size - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @dataset_ids = args[:dataset_ids] if args.key?(:dataset_ids) - @types = args[:types] if args.key?(:types) - @name = args[:name] if args.key?(:name) - @reference_set_id = args[:reference_set_id] if args.key?(:reference_set_id) - @page_token = args[:page_token] if args.key?(:page_token) - @page_size = args[:page_size] if args.key?(:page_size) - end - end - - # The read group set search response. - class SearchReadGroupSetsResponse - include Google::Apis::Core::Hashable - - # The list of matching read group sets. - # Corresponds to the JSON property `readGroupSets` - # @return [Array] - attr_accessor :read_group_sets - - # The continuation token, which is used to page through large result sets. - # Provide this value in a subsequent request to return the next page of - # results. This field will be empty if there aren't any additional results. - # Corresponds to the JSON property `nextPageToken` - # @return [String] - attr_accessor :next_page_token - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @read_group_sets = args[:read_group_sets] if args.key?(:read_group_sets) - @next_page_token = args[:next_page_token] if args.key?(:next_page_token) - end - end - - # A linear alignment can be represented by one CIGAR string. Describes the - # mapped position and local alignment of the read to the reference. - class LinearAlignment - include Google::Apis::Core::Hashable - - # An abstraction for referring to a genomic position, in relation to some - # already known reference. For now, represents a genomic position as a - # reference name, a base number on that reference (0-based), and a - # determination of forward or reverse strand. - # Corresponds to the JSON property `position` - # @return [Google::Apis::GenomicsV1::Position] - attr_accessor :position - - # Represents the local alignment of this sequence (alignment matches, indels, - # etc) against the reference. - # Corresponds to the JSON property `cigar` - # @return [Array] - attr_accessor :cigar - - # The mapping quality of this alignment. Represents how likely - # the read maps to this position as opposed to other locations. - # Specifically, this is -10 log10 Pr(mapping position is wrong), rounded to - # the nearest integer. - # Corresponds to the JSON property `mappingQuality` - # @return [Fixnum] - attr_accessor :mapping_quality - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @position = args[:position] if args.key?(:position) - @cigar = args[:cigar] if args.key?(:cigar) - @mapping_quality = args[:mapping_quality] if args.key?(:mapping_quality) - end - end - - # - class SearchReferencesRequest - include Google::Apis::Core::Hashable - - # If present, return references for which a prefix of any of - # sourceAccessions match - # any of these strings. Accession numbers typically have a main number and a - # version, for example `GCF_000001405.26`. - # Corresponds to the JSON property `accessions` - # @return [Array] - attr_accessor :accessions - - # The continuation token, which is used to page through large result sets. - # To get the next page of results, set this parameter to the value of - # `nextPageToken` from the previous response. - # Corresponds to the JSON property `pageToken` - # @return [String] - attr_accessor :page_token - - # If present, return only references which belong to this reference set. - # Corresponds to the JSON property `referenceSetId` - # @return [String] - attr_accessor :reference_set_id - - # The maximum number of results to return in a single page. If unspecified, - # defaults to 1024. The maximum value is 4096. - # Corresponds to the JSON property `pageSize` - # @return [Fixnum] - attr_accessor :page_size - - # If present, return references for which the - # md5checksum matches exactly. - # Corresponds to the JSON property `md5checksums` - # @return [Array] - attr_accessor :md5checksums - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @accessions = args[:accessions] if args.key?(:accessions) - @page_token = args[:page_token] if args.key?(:page_token) - @reference_set_id = args[:reference_set_id] if args.key?(:reference_set_id) - @page_size = args[:page_size] if args.key?(:page_size) - @md5checksums = args[:md5checksums] if args.key?(:md5checksums) - end - end - - # A Dataset is a collection of genomic data. - # For more genomics resource definitions, see [Fundamentals of Google - # Genomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics) - class Dataset - include Google::Apis::Core::Hashable - - # The dataset name. - # Corresponds to the JSON property `name` - # @return [String] - attr_accessor :name - - # The Google Cloud project ID that this dataset belongs to. - # Corresponds to the JSON property `projectId` - # @return [String] - attr_accessor :project_id - - # The server-generated dataset ID, unique across all datasets. - # Corresponds to the JSON property `id` - # @return [String] - attr_accessor :id - - # The time this dataset was created, in seconds from the epoch. - # Corresponds to the JSON property `createTime` - # @return [String] - attr_accessor :create_time - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @name = args[:name] if args.key?(:name) - @project_id = args[:project_id] if args.key?(:project_id) - @id = args[:id] if args.key?(:id) - @create_time = args[:create_time] if args.key?(:create_time) - end - end - - # The variant data import response. - class ImportVariantsResponse - include Google::Apis::Core::Hashable - - # IDs of the call sets created during the import. - # Corresponds to the JSON property `callSetIds` - # @return [Array] - attr_accessor :call_set_ids - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @call_set_ids = args[:call_set_ids] if args.key?(:call_set_ids) - end - end - - # A read group is all the data that's processed the same way by the sequencer. - class ReadGroup - include Google::Apis::Core::Hashable - - # The server-generated read group ID, unique for all read groups. - # Note: This is different than the @RG ID field in the SAM spec. For that - # value, see name. - # Corresponds to the JSON property `id` - # @return [String] - attr_accessor :id - - # The programs used to generate this read group. Programs are always - # identical for all read groups within a read group set. For this reason, - # only the first read group in a returned set will have this field - # populated. - # Corresponds to the JSON property `programs` - # @return [Array] - attr_accessor :programs - - # The predicted insert size of this read group. The insert size is the length - # the sequenced DNA fragment from end-to-end, not including the adapters. - # Corresponds to the JSON property `predictedInsertSize` - # @return [Fixnum] - attr_accessor :predicted_insert_size - - # A free-form text description of this read group. - # Corresponds to the JSON property `description` - # @return [String] - attr_accessor :description - - # A client-supplied sample identifier for the reads in this read group. - # Corresponds to the JSON property `sampleId` - # @return [String] - attr_accessor :sample_id - - # The dataset to which this read group belongs. - # Corresponds to the JSON property `datasetId` - # @return [String] - attr_accessor :dataset_id - - # The experiment used to generate this read group. - # Corresponds to the JSON property `experiment` - # @return [Google::Apis::GenomicsV1::Experiment] - attr_accessor :experiment - - # The read group name. This corresponds to the @RG ID field in the SAM spec. - # Corresponds to the JSON property `name` - # @return [String] - attr_accessor :name - - # The reference set the reads in this read group are aligned to. - # Corresponds to the JSON property `referenceSetId` - # @return [String] - attr_accessor :reference_set_id - - # A map of additional read group information. This must be of the form - # map (string key mapping to a list of string values). - # Corresponds to the JSON property `info` - # @return [Hash>] - attr_accessor :info - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @id = args[:id] if args.key?(:id) - @programs = args[:programs] if args.key?(:programs) - @predicted_insert_size = args[:predicted_insert_size] if args.key?(:predicted_insert_size) - @description = args[:description] if args.key?(:description) - @sample_id = args[:sample_id] if args.key?(:sample_id) - @dataset_id = args[:dataset_id] if args.key?(:dataset_id) - @experiment = args[:experiment] if args.key?(:experiment) - @name = args[:name] if args.key?(:name) - @reference_set_id = args[:reference_set_id] if args.key?(:reference_set_id) - @info = args[:info] if args.key?(:info) - end - end - - # A read group set is a logical collection of read groups, which are - # collections of reads produced by a sequencer. A read group set typically - # models reads corresponding to one sample, sequenced one way, and aligned one - # way. - # * A read group set belongs to one dataset. - # * A read group belongs to one read group set. - # * A read belongs to one read group. - # For more genomics resource definitions, see [Fundamentals of Google - # Genomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics) - class ReadGroupSet - include Google::Apis::Core::Hashable - - # The dataset to which this read group set belongs. - # Corresponds to the JSON property `datasetId` - # @return [String] - attr_accessor :dataset_id - - # The filename of the original source file for this read group set, if any. - # Corresponds to the JSON property `filename` - # @return [String] - attr_accessor :filename - - # The read groups in this set. There are typically 1-10 read groups in a read - # group set. - # Corresponds to the JSON property `readGroups` - # @return [Array] - attr_accessor :read_groups - - # The read group set name. By default this will be initialized to the sample - # name of the sequenced data contained in this set. - # Corresponds to the JSON property `name` - # @return [String] - attr_accessor :name - - # The reference set to which the reads in this read group set are aligned. - # Corresponds to the JSON property `referenceSetId` - # @return [String] - attr_accessor :reference_set_id - - # A map of additional read group set information. - # Corresponds to the JSON property `info` - # @return [Hash>] - attr_accessor :info - - # The server-generated read group set ID, unique for all read group sets. - # Corresponds to the JSON property `id` - # @return [String] - attr_accessor :id - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @dataset_id = args[:dataset_id] if args.key?(:dataset_id) - @filename = args[:filename] if args.key?(:filename) - @read_groups = args[:read_groups] if args.key?(:read_groups) - @name = args[:name] if args.key?(:name) - @reference_set_id = args[:reference_set_id] if args.key?(:reference_set_id) - @info = args[:info] if args.key?(:info) - @id = args[:id] if args.key?(:id) - end - end - - # The search variant sets response. - class SearchVariantSetsResponse - include Google::Apis::Core::Hashable - - # The variant sets belonging to the requested dataset. - # Corresponds to the JSON property `variantSets` - # @return [Array] - attr_accessor :variant_sets - - # The continuation token, which is used to page through large result sets. - # Provide this value in a subsequent request to return the next page of - # results. This field will be empty if there aren't any additional results. - # Corresponds to the JSON property `nextPageToken` - # @return [String] - attr_accessor :next_page_token - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @variant_sets = args[:variant_sets] if args.key?(:variant_sets) - @next_page_token = args[:next_page_token] if args.key?(:next_page_token) - end - end - - # A generic empty message that you can re-use to avoid defining duplicated - # empty messages in your APIs. A typical example is to use it as the request - # or the response type of an API method. For instance: - # service Foo ` - # rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty); - # ` - # The JSON representation for `Empty` is empty JSON object ````. - class Empty - include Google::Apis::Core::Hashable - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - end - end - # class Entry include Google::Apis::Core::Hashable @@ -944,7 +99,7 @@ module Google # The 0-based offset from the start of the forward strand for that reference. # Corresponds to the JSON property `position` - # @return [String] + # @return [Fixnum] attr_accessor :position # The name of the reference in whatever reference set is being used. @@ -975,11 +130,6 @@ module Google class SearchReferenceSetsResponse include Google::Apis::Core::Hashable - # The matching references sets. - # Corresponds to the JSON property `referenceSets` - # @return [Array] - attr_accessor :reference_sets - # The continuation token, which is used to page through large result sets. # Provide this value in a subsequent request to return the next page of # results. This field will be empty if there aren't any additional results. @@ -987,14 +137,19 @@ module Google # @return [String] attr_accessor :next_page_token + # The matching references sets. + # Corresponds to the JSON property `referenceSets` + # @return [Array] + attr_accessor :reference_sets + def initialize(**args) update!(**args) end # Update properties of this object def update!(**args) - @reference_sets = args[:reference_sets] if args.key?(:reference_sets) @next_page_token = args[:next_page_token] if args.key?(:next_page_token) + @reference_sets = args[:reference_sets] if args.key?(:reference_sets) end end @@ -1044,6 +199,19 @@ module Google class ImportReadGroupSetsRequest include Google::Apis::Core::Hashable + # A list of URIs pointing at [BAM + # files](https://samtools.github.io/hts-specs/SAMv1.pdf) + # in Google Cloud Storage. + # Those URIs can include wildcards (*), but do not add or remove + # matching files before import has completed. + # Note that Google Cloud Storage object listing is only eventually + # consistent: files added may be not be immediately visible to + # everyone. Thus, if using a wildcard it is preferable not to start + # the import immediately after the files are created. + # Corresponds to the JSON property `sourceUris` + # @return [Array] + attr_accessor :source_uris + # The reference set to which the imported read group sets are aligned to, if # any. The reference names of this reference set must be a superset of those # found in the imported file headers. If no reference set id is provided, a @@ -1064,29 +232,16 @@ module Google # @return [String] attr_accessor :dataset_id - # A list of URIs pointing at [BAM - # files](https://samtools.github.io/hts-specs/SAMv1.pdf) - # in Google Cloud Storage. - # Those URIs can include wildcards (*), but do not add or remove - # matching files before import has completed. - # Note that Google Cloud Storage object listing is only eventually - # consistent: files added may be not be immediately visible to - # everyone. Thus, if using a wildcard it is preferable not to start - # the import immediately after the files are created. - # Corresponds to the JSON property `sourceUris` - # @return [Array] - attr_accessor :source_uris - def initialize(**args) update!(**args) end # Update properties of this object def update!(**args) + @source_uris = args[:source_uris] if args.key?(:source_uris) @reference_set_id = args[:reference_set_id] if args.key?(:reference_set_id) @partition_strategy = args[:partition_strategy] if args.key?(:partition_strategy) @dataset_id = args[:dataset_id] if args.key?(:dataset_id) - @source_uris = args[:source_uris] if args.key?(:source_uris) end end @@ -1119,13 +274,6 @@ module Google class Policy include Google::Apis::Core::Hashable - # Associates a list of `members` to a `role`. - # Multiple `bindings` must not be specified for the same `role`. - # `bindings` with no members will result in an error. - # Corresponds to the JSON property `bindings` - # @return [Array] - attr_accessor :bindings - # `etag` is used for optimistic concurrency control as a way to help # prevent simultaneous updates of a policy from overwriting each other. # It is strongly suggested that systems make use of the `etag` in the @@ -1145,15 +293,135 @@ module Google # @return [Fixnum] attr_accessor :version + # Associates a list of `members` to a `role`. + # Multiple `bindings` must not be specified for the same `role`. + # `bindings` with no members will result in an error. + # Corresponds to the JSON property `bindings` + # @return [Array] + attr_accessor :bindings + def initialize(**args) update!(**args) end # Update properties of this object def update!(**args) - @bindings = args[:bindings] if args.key?(:bindings) @etag = args[:etag] if args.key?(:etag) @version = args[:version] if args.key?(:version) + @bindings = args[:bindings] if args.key?(:bindings) + end + end + + # An annotation describes a region of reference genome. The value of an + # annotation may be one of several canonical types, supplemented by arbitrary + # info tags. An annotation is not inherently associated with a specific + # sample or individual (though a client could choose to use annotations in + # this way). Example canonical annotation types are `GENE` and + # `VARIANT`. + class Annotation + include Google::Apis::Core::Hashable + + # The start position of the range on the reference, 0-based inclusive. + # Corresponds to the JSON property `start` + # @return [Fixnum] + attr_accessor :start + + # The annotation set to which this annotation belongs. + # Corresponds to the JSON property `annotationSetId` + # @return [String] + attr_accessor :annotation_set_id + + # The display name of this annotation. + # Corresponds to the JSON property `name` + # @return [String] + attr_accessor :name + + # A variant annotation, which describes the effect of a variant on the + # genome, the coding sequence, and/or higher level consequences at the + # organism level e.g. pathogenicity. This field is only set for annotations + # of type `VARIANT`. + # Corresponds to the JSON property `variant` + # @return [Google::Apis::GenomicsV1::VariantAnnotation] + attr_accessor :variant + + # The server-generated annotation ID, unique across all annotations. + # Corresponds to the JSON property `id` + # @return [String] + attr_accessor :id + + # The ID of the Google Genomics reference associated with this range. + # Corresponds to the JSON property `referenceId` + # @return [String] + attr_accessor :reference_id + + # Whether this range refers to the reverse strand, as opposed to the forward + # strand. Note that regardless of this field, the start/end position of the + # range always refer to the forward strand. + # Corresponds to the JSON property `reverseStrand` + # @return [Boolean] + attr_accessor :reverse_strand + alias_method :reverse_strand?, :reverse_strand + + # The display name corresponding to the reference specified by + # `referenceId`, for example `chr1`, `1`, or `chrX`. + # Corresponds to the JSON property `referenceName` + # @return [String] + attr_accessor :reference_name + + # The data type for this annotation. Must match the containing annotation + # set's type. + # Corresponds to the JSON property `type` + # @return [String] + attr_accessor :type + + # A map of additional read alignment information. This must be of the form + # map (string key mapping to a list of string values). + # Corresponds to the JSON property `info` + # @return [Hash>] + attr_accessor :info + + # The end position of the range on the reference, 0-based exclusive. + # Corresponds to the JSON property `end` + # @return [Fixnum] + attr_accessor :end + + # A transcript represents the assertion that a particular region of the + # reference genome may be transcribed as RNA. + # Corresponds to the JSON property `transcript` + # @return [Google::Apis::GenomicsV1::Transcript] + attr_accessor :transcript + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @start = args[:start] if args.key?(:start) + @annotation_set_id = args[:annotation_set_id] if args.key?(:annotation_set_id) + @name = args[:name] if args.key?(:name) + @variant = args[:variant] if args.key?(:variant) + @id = args[:id] if args.key?(:id) + @reference_id = args[:reference_id] if args.key?(:reference_id) + @reverse_strand = args[:reverse_strand] if args.key?(:reverse_strand) + @reference_name = args[:reference_name] if args.key?(:reference_name) + @type = args[:type] if args.key?(:type) + @info = args[:info] if args.key?(:info) + @end = args[:end] if args.key?(:end) + @transcript = args[:transcript] if args.key?(:transcript) + end + end + + # The request message for Operations.CancelOperation. + class CancelOperationRequest + include Google::Apis::Core::Hashable + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) end end @@ -1161,6 +429,12 @@ module Google class SearchReadsRequest include Google::Apis::Core::Hashable + # The start position of the range on the reference, 0-based inclusive. If + # specified, `referenceName` must also be specified. + # Corresponds to the JSON property `start` + # @return [Fixnum] + attr_accessor :start + # The reference sequence name, for example `chr1`, `1`, or `chrX`. If set to # `*`, only unmapped reads are returned. If unspecified, all reads (mapped # and unmapped) are returned. @@ -1186,7 +460,7 @@ module Google # The end position of the range on the reference, 0-based exclusive. If # specified, `referenceName` must also be specified. # Corresponds to the JSON property `end` - # @return [String] + # @return [Fixnum] attr_accessor :end # The continuation token, which is used to page through large result sets. @@ -1202,138 +476,19 @@ module Google # @return [Fixnum] attr_accessor :page_size - # The start position of the range on the reference, 0-based inclusive. If - # specified, `referenceName` must also be specified. - # Corresponds to the JSON property `start` - # @return [String] - attr_accessor :start - def initialize(**args) update!(**args) end # Update properties of this object def update!(**args) + @start = args[:start] if args.key?(:start) @reference_name = args[:reference_name] if args.key?(:reference_name) @read_group_set_ids = args[:read_group_set_ids] if args.key?(:read_group_set_ids) @read_group_ids = args[:read_group_ids] if args.key?(:read_group_ids) @end = args[:end] if args.key?(:end) @page_token = args[:page_token] if args.key?(:page_token) @page_size = args[:page_size] if args.key?(:page_size) - @start = args[:start] if args.key?(:start) - end - end - - # The request message for Operations.CancelOperation. - class CancelOperationRequest - include Google::Apis::Core::Hashable - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - end - end - - # An annotation describes a region of reference genome. The value of an - # annotation may be one of several canonical types, supplemented by arbitrary - # info tags. An annotation is not inherently associated with a specific - # sample or individual (though a client could choose to use annotations in - # this way). Example canonical annotation types are `GENE` and - # `VARIANT`. - class Annotation - include Google::Apis::Core::Hashable - - # A map of additional read alignment information. This must be of the form - # map (string key mapping to a list of string values). - # Corresponds to the JSON property `info` - # @return [Hash>] - attr_accessor :info - - # The data type for this annotation. Must match the containing annotation - # set's type. - # Corresponds to the JSON property `type` - # @return [String] - attr_accessor :type - - # The end position of the range on the reference, 0-based exclusive. - # Corresponds to the JSON property `end` - # @return [String] - attr_accessor :end - - # A transcript represents the assertion that a particular region of the - # reference genome may be transcribed as RNA. - # Corresponds to the JSON property `transcript` - # @return [Google::Apis::GenomicsV1::Transcript] - attr_accessor :transcript - - # The start position of the range on the reference, 0-based inclusive. - # Corresponds to the JSON property `start` - # @return [String] - attr_accessor :start - - # The annotation set to which this annotation belongs. - # Corresponds to the JSON property `annotationSetId` - # @return [String] - attr_accessor :annotation_set_id - - # The display name of this annotation. - # Corresponds to the JSON property `name` - # @return [String] - attr_accessor :name - - # A variant annotation, which describes the effect of a variant on the - # genome, the coding sequence, and/or higher level consequences at the - # organism level e.g. pathogenicity. This field is only set for annotations - # of type `VARIANT`. - # Corresponds to the JSON property `variant` - # @return [Google::Apis::GenomicsV1::VariantAnnotation] - attr_accessor :variant - - # The ID of the Google Genomics reference associated with this range. - # Corresponds to the JSON property `referenceId` - # @return [String] - attr_accessor :reference_id - - # The server-generated annotation ID, unique across all annotations. - # Corresponds to the JSON property `id` - # @return [String] - attr_accessor :id - - # Whether this range refers to the reverse strand, as opposed to the forward - # strand. Note that regardless of this field, the start/end position of the - # range always refer to the forward strand. - # Corresponds to the JSON property `reverseStrand` - # @return [Boolean] - attr_accessor :reverse_strand - alias_method :reverse_strand?, :reverse_strand - - # The display name corresponding to the reference specified by - # `referenceId`, for example `chr1`, `1`, or `chrX`. - # Corresponds to the JSON property `referenceName` - # @return [String] - attr_accessor :reference_name - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @info = args[:info] if args.key?(:info) - @type = args[:type] if args.key?(:type) - @end = args[:end] if args.key?(:end) - @transcript = args[:transcript] if args.key?(:transcript) - @start = args[:start] if args.key?(:start) - @annotation_set_id = args[:annotation_set_id] if args.key?(:annotation_set_id) - @name = args[:name] if args.key?(:name) - @variant = args[:variant] if args.key?(:variant) - @reference_id = args[:reference_id] if args.key?(:reference_id) - @id = args[:id] if args.key?(:id) - @reverse_strand = args[:reverse_strand] if args.key?(:reverse_strand) - @reference_name = args[:reference_name] if args.key?(:reference_name) end end @@ -1364,6 +519,20 @@ module Google class Operation include Google::Apis::Core::Hashable + # If importing ReadGroupSets, an ImportReadGroupSetsResponse is returned. If + # importing Variants, an ImportVariantsResponse is returned. For pipelines and + # exports, an empty response is returned. + # Corresponds to the JSON property `response` + # @return [Hash] + attr_accessor :response + + # The server-assigned name, which is only unique within the same service that + # originally returns it. For example: `operations/CJHU7Oi_ChDrveSpBRjfuL- + # qzoWAgEw` + # Corresponds to the JSON property `name` + # @return [String] + attr_accessor :name + # The `Status` type defines a logical error model that is suitable for different # programming environments, including REST APIs and RPC APIs. It is used by # [gRPC](https://github.com/grpc). The error model is designed to be: @@ -1420,31 +589,17 @@ module Google attr_accessor :done alias_method :done?, :done - # If importing ReadGroupSets, an ImportReadGroupSetsResponse is returned. If - # importing Variants, an ImportVariantsResponse is returned. For pipelines and - # exports, an empty response is returned. - # Corresponds to the JSON property `response` - # @return [Hash] - attr_accessor :response - - # The server-assigned name, which is only unique within the same service that - # originally returns it. For example: `operations/CJHU7Oi_ChDrveSpBRjfuL- - # qzoWAgEw` - # Corresponds to the JSON property `name` - # @return [String] - attr_accessor :name - def initialize(**args) update!(**args) end # Update properties of this object def update!(**args) + @response = args[:response] if args.key?(:response) + @name = args[:name] if args.key?(:name) @error = args[:error] if args.key?(:error) @metadata = args[:metadata] if args.key?(:metadata) @done = args[:done] if args.key?(:done) - @response = args[:response] if args.key?(:response) - @name = args[:name] if args.key?(:name) end end @@ -1474,6 +629,12 @@ module Google class VariantCall include Google::Apis::Core::Hashable + # A map of additional variant call information. This must be of the form + # map (string key mapping to a list of string values). + # Corresponds to the JSON property `info` + # @return [Hash>] + attr_accessor :info + # The name of the call set this variant call belongs to. # Corresponds to the JSON property `callSetName` # @return [String] @@ -1519,24 +680,18 @@ module Google # @return [String] attr_accessor :phaseset - # A map of additional variant call information. This must be of the form - # map (string key mapping to a list of string values). - # Corresponds to the JSON property `info` - # @return [Hash>] - attr_accessor :info - def initialize(**args) update!(**args) end # Update properties of this object def update!(**args) + @info = args[:info] if args.key?(:info) @call_set_name = args[:call_set_name] if args.key?(:call_set_name) @genotype_likelihood = args[:genotype_likelihood] if args.key?(:genotype_likelihood) @call_set_id = args[:call_set_id] if args.key?(:call_set_id) @genotype = args[:genotype] if args.key?(:genotype) @phaseset = args[:phaseset] if args.key?(:phaseset) - @info = args[:info] if args.key?(:info) end end @@ -1580,7 +735,7 @@ module Google # start of this `Reference`. This value will differ for each page # in a paginated request. # Corresponds to the JSON property `offset` - # @return [String] + # @return [Fixnum] attr_accessor :offset # The continuation token, which is used to page through large result sets. @@ -1644,6 +799,12 @@ module Google class Status include Google::Apis::Core::Hashable + # A list of messages that carry the error details. There will be a + # common set of message types for APIs to use. + # Corresponds to the JSON property `details` + # @return [Array>] + attr_accessor :details + # The status code, which should be an enum value of google.rpc.Code. # Corresponds to the JSON property `code` # @return [Fixnum] @@ -1656,21 +817,15 @@ module Google # @return [String] attr_accessor :message - # A list of messages that carry the error details. There will be a - # common set of message types for APIs to use. - # Corresponds to the JSON property `details` - # @return [Array>] - attr_accessor :details - def initialize(**args) update!(**args) end # Update properties of this object def update!(**args) + @details = args[:details] if args.key?(:details) @code = args[:code] if args.key?(:code) @message = args[:message] if args.key?(:message) - @details = args[:details] if args.key?(:details) end end @@ -1739,12 +894,12 @@ module Google # The start position of the range on the reference, 0-based inclusive. # Corresponds to the JSON property `start` - # @return [String] + # @return [Fixnum] attr_accessor :start # The end position of the range on the reference, 0-based exclusive. # Corresponds to the JSON property `end` - # @return [String] + # @return [Fixnum] attr_accessor :end def initialize(**args) @@ -1766,24 +921,6 @@ module Google class VariantSet include Google::Apis::Core::Hashable - # User-specified, mutable name. - # Corresponds to the JSON property `name` - # @return [String] - attr_accessor :name - - # The reference set to which the variant set is mapped. The reference set - # describes the alignment provenance of the variant set, while the - # `referenceBounds` describe the shape of the actual variant data. The - # reference set's reference names are a superset of those found in the - # `referenceBounds`. - # For example, given a variant set that is mapped to the GRCh38 reference set - # and contains a single variant on reference 'X', `referenceBounds` would - # contain only an entry for 'X', while the associated reference set - # enumerates all possible references: '1', '2', 'X', 'Y', 'MT', etc. - # Corresponds to the JSON property `referenceSetId` - # @return [String] - attr_accessor :reference_set_id - # The metadata associated with this variant set. # Corresponds to the JSON property `metadata` # @return [Array] @@ -1810,19 +947,64 @@ module Google # @return [String] attr_accessor :dataset_id + # User-specified, mutable name. + # Corresponds to the JSON property `name` + # @return [String] + attr_accessor :name + + # The reference set to which the variant set is mapped. The reference set + # describes the alignment provenance of the variant set, while the + # `referenceBounds` describe the shape of the actual variant data. The + # reference set's reference names are a superset of those found in the + # `referenceBounds`. + # For example, given a variant set that is mapped to the GRCh38 reference set + # and contains a single variant on reference 'X', `referenceBounds` would + # contain only an entry for 'X', while the associated reference set + # enumerates all possible references: '1', '2', 'X', 'Y', 'MT', etc. + # Corresponds to the JSON property `referenceSetId` + # @return [String] + attr_accessor :reference_set_id + def initialize(**args) update!(**args) end # Update properties of this object def update!(**args) - @name = args[:name] if args.key?(:name) - @reference_set_id = args[:reference_set_id] if args.key?(:reference_set_id) @metadata = args[:metadata] if args.key?(:metadata) @reference_bounds = args[:reference_bounds] if args.key?(:reference_bounds) @id = args[:id] if args.key?(:id) @description = args[:description] if args.key?(:description) @dataset_id = args[:dataset_id] if args.key?(:dataset_id) + @name = args[:name] if args.key?(:name) + @reference_set_id = args[:reference_set_id] if args.key?(:reference_set_id) + end + end + + # ReferenceBound records an upper bound for the starting coordinate of + # variants in a particular reference. + class ReferenceBound + include Google::Apis::Core::Hashable + + # The name of the reference associated with this reference bound. + # Corresponds to the JSON property `referenceName` + # @return [String] + attr_accessor :reference_name + + # An upper bound (inclusive) on the starting coordinate of any + # variant in the reference sequence. + # Corresponds to the JSON property `upperBound` + # @return [Fixnum] + attr_accessor :upper_bound + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @reference_name = args[:reference_name] if args.key?(:reference_name) + @upper_bound = args[:upper_bound] if args.key?(:upper_bound) end end @@ -1846,55 +1028,28 @@ module Google end end - # ReferenceBound records an upper bound for the starting coordinate of - # variants in a particular reference. - class ReferenceBound - include Google::Apis::Core::Hashable - - # The name of the reference associated with this reference bound. - # Corresponds to the JSON property `referenceName` - # @return [String] - attr_accessor :reference_name - - # An upper bound (inclusive) on the starting coordinate of any - # variant in the reference sequence. - # Corresponds to the JSON property `upperBound` - # @return [String] - attr_accessor :upper_bound - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @reference_name = args[:reference_name] if args.key?(:reference_name) - @upper_bound = args[:upper_bound] if args.key?(:upper_bound) - end - end - # The response message for Operations.ListOperations. class ListOperationsResponse include Google::Apis::Core::Hashable - # The standard List next-page token. - # Corresponds to the JSON property `nextPageToken` - # @return [String] - attr_accessor :next_page_token - # A list of operations that matches the specified filter in the request. # Corresponds to the JSON property `operations` # @return [Array] attr_accessor :operations + # The standard List next-page token. + # Corresponds to the JSON property `nextPageToken` + # @return [String] + attr_accessor :next_page_token + def initialize(**args) update!(**args) end # Update properties of this object def update!(**args) - @next_page_token = args[:next_page_token] if args.key?(:next_page_token) @operations = args[:operations] if args.key?(:operations) + @next_page_token = args[:next_page_token] if args.key?(:next_page_token) end end @@ -1911,17 +1066,6 @@ module Google class Variant include Google::Apis::Core::Hashable - # The ID of the variant set this variant belongs to. - # Corresponds to the JSON property `variantSetId` - # @return [String] - attr_accessor :variant_set_id - - # The reference on which this variant occurs. - # (such as `chr20` or `X`) - # Corresponds to the JSON property `referenceName` - # @return [String] - attr_accessor :reference_name - # A map of additional variant information. This must be of the form # map (string key mapping to a list of string values). # Corresponds to the JSON property `info` @@ -1944,20 +1088,20 @@ module Google # @return [Array] attr_accessor :names - # A list of filters (normally quality filters) this variant has failed. - # `PASS` indicates this variant has passed all filters. - # Corresponds to the JSON property `filter` - # @return [Array] - attr_accessor :filter - # The end position (0-based) of this variant. This corresponds to the first # base after the last base in the reference allele. So, the length of # the reference allele is (end - start). This is useful for variants # that don't explicitly give alternate bases, for example large deletions. # Corresponds to the JSON property `end` - # @return [String] + # @return [Fixnum] attr_accessor :end + # A list of filters (normally quality filters) this variant has failed. + # `PASS` indicates this variant has passed all filters. + # Corresponds to the JSON property `filter` + # @return [Array] + attr_accessor :filter + # The variant calls for this particular variant. Each one represents the # determination of genotype with respect to this variant. # Corresponds to the JSON property `calls` @@ -1966,13 +1110,13 @@ module Google # The date this variant was created, in milliseconds from the epoch. # Corresponds to the JSON property `created` - # @return [String] + # @return [Fixnum] attr_accessor :created # The position at which this variant occurs (0-based). # This corresponds to the first base of the string of reference bases. # Corresponds to the JSON property `start` - # @return [String] + # @return [Fixnum] attr_accessor :start # A measure of how likely this variant is to be real. @@ -1986,25 +1130,36 @@ module Google # @return [String] attr_accessor :id + # The ID of the variant set this variant belongs to. + # Corresponds to the JSON property `variantSetId` + # @return [String] + attr_accessor :variant_set_id + + # The reference on which this variant occurs. + # (such as `chr20` or `X`) + # Corresponds to the JSON property `referenceName` + # @return [String] + attr_accessor :reference_name + def initialize(**args) update!(**args) end # Update properties of this object def update!(**args) - @variant_set_id = args[:variant_set_id] if args.key?(:variant_set_id) - @reference_name = args[:reference_name] if args.key?(:reference_name) @info = args[:info] if args.key?(:info) @reference_bases = args[:reference_bases] if args.key?(:reference_bases) @alternate_bases = args[:alternate_bases] if args.key?(:alternate_bases) @names = args[:names] if args.key?(:names) - @filter = args[:filter] if args.key?(:filter) @end = args[:end] if args.key?(:end) + @filter = args[:filter] if args.key?(:filter) @calls = args[:calls] if args.key?(:calls) @created = args[:created] if args.key?(:created) @start = args[:start] if args.key?(:start) @quality = args[:quality] if args.key?(:quality) @id = args[:id] if args.key?(:id) + @variant_set_id = args[:variant_set_id] if args.key?(:variant_set_id) + @reference_name = args[:reference_name] if args.key?(:reference_name) end end @@ -2035,85 +1190,6 @@ module Google end end - # The variant search request. - class SearchVariantsRequest - include Google::Apis::Core::Hashable - - # At most one variant set ID must be provided. Only variants from this - # variant set will be returned. If omitted, a call set id must be included in - # the request. - # Corresponds to the JSON property `variantSetIds` - # @return [Array] - attr_accessor :variant_set_ids - - # The end of the window, 0-based exclusive. If unspecified or 0, defaults to - # the length of the reference. - # Corresponds to the JSON property `end` - # @return [String] - attr_accessor :end - - # The maximum number of calls to return in a single page. Note that this - # limit may be exceeded in the event that a matching variant contains more - # calls than the requested maximum. If unspecified, defaults to 5000. The - # maximum value is 10000. - # Corresponds to the JSON property `maxCalls` - # @return [Fixnum] - attr_accessor :max_calls - - # The continuation token, which is used to page through large result sets. - # To get the next page of results, set this parameter to the value of - # `nextPageToken` from the previous response. - # Corresponds to the JSON property `pageToken` - # @return [String] - attr_accessor :page_token - - # The maximum number of variants to return in a single page. If unspecified, - # defaults to 5000. The maximum value is 10000. - # Corresponds to the JSON property `pageSize` - # @return [Fixnum] - attr_accessor :page_size - - # Only return variant calls which belong to call sets with these ids. - # Leaving this blank returns all variant calls. If a variant has no - # calls belonging to any of these call sets, it won't be returned at all. - # Corresponds to the JSON property `callSetIds` - # @return [Array] - attr_accessor :call_set_ids - - # The beginning of the window (0-based, inclusive) for which - # overlapping variants should be returned. If unspecified, defaults to 0. - # Corresponds to the JSON property `start` - # @return [String] - attr_accessor :start - - # Only return variants which have exactly this name. - # Corresponds to the JSON property `variantName` - # @return [String] - attr_accessor :variant_name - - # Required. Only return variants in this reference sequence. - # Corresponds to the JSON property `referenceName` - # @return [String] - attr_accessor :reference_name - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @variant_set_ids = args[:variant_set_ids] if args.key?(:variant_set_ids) - @end = args[:end] if args.key?(:end) - @max_calls = args[:max_calls] if args.key?(:max_calls) - @page_token = args[:page_token] if args.key?(:page_token) - @page_size = args[:page_size] if args.key?(:page_size) - @call_set_ids = args[:call_set_ids] if args.key?(:call_set_ids) - @start = args[:start] if args.key?(:start) - @variant_name = args[:variant_name] if args.key?(:variant_name) - @reference_name = args[:reference_name] if args.key?(:reference_name) - end - end - # Metadata describing an Operation. class OperationMetadata include Google::Apis::Core::Hashable @@ -2187,16 +1263,89 @@ module Google end end + # The variant search request. + class SearchVariantsRequest + include Google::Apis::Core::Hashable + + # Required. Only return variants in this reference sequence. + # Corresponds to the JSON property `referenceName` + # @return [String] + attr_accessor :reference_name + + # At most one variant set ID must be provided. Only variants from this + # variant set will be returned. If omitted, a call set id must be included in + # the request. + # Corresponds to the JSON property `variantSetIds` + # @return [Array] + attr_accessor :variant_set_ids + + # The end of the window, 0-based exclusive. If unspecified or 0, defaults to + # the length of the reference. + # Corresponds to the JSON property `end` + # @return [Fixnum] + attr_accessor :end + + # The continuation token, which is used to page through large result sets. + # To get the next page of results, set this parameter to the value of + # `nextPageToken` from the previous response. + # Corresponds to the JSON property `pageToken` + # @return [String] + attr_accessor :page_token + + # The maximum number of calls to return in a single page. Note that this + # limit may be exceeded in the event that a matching variant contains more + # calls than the requested maximum. If unspecified, defaults to 5000. The + # maximum value is 10000. + # Corresponds to the JSON property `maxCalls` + # @return [Fixnum] + attr_accessor :max_calls + + # The maximum number of variants to return in a single page. If unspecified, + # defaults to 5000. The maximum value is 10000. + # Corresponds to the JSON property `pageSize` + # @return [Fixnum] + attr_accessor :page_size + + # Only return variant calls which belong to call sets with these ids. + # Leaving this blank returns all variant calls. If a variant has no + # calls belonging to any of these call sets, it won't be returned at all. + # Corresponds to the JSON property `callSetIds` + # @return [Array] + attr_accessor :call_set_ids + + # Only return variants which have exactly this name. + # Corresponds to the JSON property `variantName` + # @return [String] + attr_accessor :variant_name + + # The beginning of the window (0-based, inclusive) for which + # overlapping variants should be returned. If unspecified, defaults to 0. + # Corresponds to the JSON property `start` + # @return [Fixnum] + attr_accessor :start + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @reference_name = args[:reference_name] if args.key?(:reference_name) + @variant_set_ids = args[:variant_set_ids] if args.key?(:variant_set_ids) + @end = args[:end] if args.key?(:end) + @page_token = args[:page_token] if args.key?(:page_token) + @max_calls = args[:max_calls] if args.key?(:max_calls) + @page_size = args[:page_size] if args.key?(:page_size) + @call_set_ids = args[:call_set_ids] if args.key?(:call_set_ids) + @variant_name = args[:variant_name] if args.key?(:variant_name) + @start = args[:start] if args.key?(:start) + end + end + # The read group set search request. class SearchReadGroupSetsRequest include Google::Apis::Core::Hashable - # Restricts this query to read group sets within the given datasets. At least - # one ID must be provided. - # Corresponds to the JSON property `datasetIds` - # @return [Array] - attr_accessor :dataset_ids - # Only return read group sets for which a substring of the name matches this # string. # Corresponds to the JSON property `name` @@ -2216,16 +1365,22 @@ module Google # @return [Fixnum] attr_accessor :page_size + # Restricts this query to read group sets within the given datasets. At least + # one ID must be provided. + # Corresponds to the JSON property `datasetIds` + # @return [Array] + attr_accessor :dataset_ids + def initialize(**args) update!(**args) end # Update properties of this object def update!(**args) - @dataset_ids = args[:dataset_ids] if args.key?(:dataset_ids) @name = args[:name] if args.key?(:name) @page_token = args[:page_token] if args.key?(:page_token) @page_size = args[:page_size] if args.key?(:page_size) + @dataset_ids = args[:dataset_ids] if args.key?(:dataset_ids) end end @@ -2233,56 +1388,26 @@ module Google class SearchAnnotationsResponse include Google::Apis::Core::Hashable + # The continuation token, which is used to page through large result sets. + # Provide this value in a subsequent request to return the next page of + # results. This field will be empty if there aren't any additional results. + # Corresponds to the JSON property `nextPageToken` + # @return [String] + attr_accessor :next_page_token + # The matching annotations. # Corresponds to the JSON property `annotations` # @return [Array] attr_accessor :annotations - # The continuation token, which is used to page through large result sets. - # Provide this value in a subsequent request to return the next page of - # results. This field will be empty if there aren't any additional results. - # Corresponds to the JSON property `nextPageToken` - # @return [String] - attr_accessor :next_page_token - def initialize(**args) update!(**args) end # Update properties of this object def update!(**args) + @next_page_token = args[:next_page_token] if args.key?(:next_page_token) @annotations = args[:annotations] if args.key?(:annotations) - @next_page_token = args[:next_page_token] if args.key?(:next_page_token) - end - end - - # The read search response. - class SearchReadsResponse - include Google::Apis::Core::Hashable - - # The continuation token, which is used to page through large result sets. - # Provide this value in a subsequent request to return the next page of - # results. This field will be empty if there aren't any additional results. - # Corresponds to the JSON property `nextPageToken` - # @return [String] - attr_accessor :next_page_token - - # The list of matching alignments sorted by mapped genomic coordinate, - # if any, ascending in position within the same reference. Unmapped reads, - # which have no position, are returned contiguously and are sorted in - # ascending lexicographic order by fragment name. - # Corresponds to the JSON property `alignments` - # @return [Array] - attr_accessor :alignments - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @next_page_token = args[:next_page_token] if args.key?(:next_page_token) - @alignments = args[:alignments] if args.key?(:alignments) end end @@ -2325,16 +1450,40 @@ module Google end end + # The read search response. + class SearchReadsResponse + include Google::Apis::Core::Hashable + + # The continuation token, which is used to page through large result sets. + # Provide this value in a subsequent request to return the next page of + # results. This field will be empty if there aren't any additional results. + # Corresponds to the JSON property `nextPageToken` + # @return [String] + attr_accessor :next_page_token + + # The list of matching alignments sorted by mapped genomic coordinate, + # if any, ascending in position within the same reference. Unmapped reads, + # which have no position, are returned contiguously and are sorted in + # ascending lexicographic order by fragment name. + # Corresponds to the JSON property `alignments` + # @return [Array] + attr_accessor :alignments + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @next_page_token = args[:next_page_token] if args.key?(:next_page_token) + @alignments = args[:alignments] if args.key?(:alignments) + end + end + # class Program include Google::Apis::Core::Hashable - # The display name of the program. This is typically the colloquial name of - # the tool used, for example 'bwa' or 'picard'. - # Corresponds to the JSON property `name` - # @return [String] - attr_accessor :name - # The command line used to run this program. # Corresponds to the JSON property `commandLine` # @return [String] @@ -2356,44 +1505,23 @@ module Google # @return [String] attr_accessor :version + # The display name of the program. This is typically the colloquial name of + # the tool used, for example 'bwa' or 'picard'. + # Corresponds to the JSON property `name` + # @return [String] + attr_accessor :name + def initialize(**args) update!(**args) end # Update properties of this object def update!(**args) - @name = args[:name] if args.key?(:name) @command_line = args[:command_line] if args.key?(:command_line) @prev_program_id = args[:prev_program_id] if args.key?(:prev_program_id) @id = args[:id] if args.key?(:id) @version = args[:version] if args.key?(:version) - end - end - - # A bucket over which read coverage has been precomputed. A bucket corresponds - # to a specific range of the reference sequence. - class CoverageBucket - include Google::Apis::Core::Hashable - - # A 0-based half-open genomic coordinate range for search requests. - # Corresponds to the JSON property `range` - # @return [Google::Apis::GenomicsV1::Range] - attr_accessor :range - - # The average number of reads which are aligned to each individual - # reference base in this bucket. - # Corresponds to the JSON property `meanCoverage` - # @return [Float] - attr_accessor :mean_coverage - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @range = args[:range] if args.key?(:range) - @mean_coverage = args[:mean_coverage] if args.key?(:mean_coverage) + @name = args[:name] if args.key?(:name) end end @@ -2435,19 +1563,46 @@ module Google end end - # - class ExternalId + # A bucket over which read coverage has been precomputed. A bucket corresponds + # to a specific range of the reference sequence. + class CoverageBucket include Google::Apis::Core::Hashable - # The name of the source of this data. - # Corresponds to the JSON property `sourceName` - # @return [String] - attr_accessor :source_name + # A 0-based half-open genomic coordinate range for search requests. + # Corresponds to the JSON property `range` + # @return [Google::Apis::GenomicsV1::Range] + attr_accessor :range - # The id used by the source of this data. - # Corresponds to the JSON property `id` - # @return [String] - attr_accessor :id + # The average number of reads which are aligned to each individual + # reference base in this bucket. + # Corresponds to the JSON property `meanCoverage` + # @return [Float] + attr_accessor :mean_coverage + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @range = args[:range] if args.key?(:range) + @mean_coverage = args[:mean_coverage] if args.key?(:mean_coverage) + end + end + + # + class ExternalId + include Google::Apis::Core::Hashable + + # The id used by the source of this data. + # Corresponds to the JSON property `id` + # @return [String] + attr_accessor :id + + # The name of the source of this data. + # Corresponds to the JSON property `sourceName` + # @return [String] + attr_accessor :source_name def initialize(**args) update!(**args) @@ -2455,8 +1610,106 @@ module Google # Update properties of this object def update!(**args) - @source_name = args[:source_name] if args.key?(:source_name) @id = args[:id] if args.key?(:id) + @source_name = args[:source_name] if args.key?(:source_name) + end + end + + # The search variant sets request. + class SearchVariantSetsRequest + include Google::Apis::Core::Hashable + + # The continuation token, which is used to page through large result sets. + # To get the next page of results, set this parameter to the value of + # `nextPageToken` from the previous response. + # Corresponds to the JSON property `pageToken` + # @return [String] + attr_accessor :page_token + + # The maximum number of results to return in a single page. If unspecified, + # defaults to 1024. + # Corresponds to the JSON property `pageSize` + # @return [Fixnum] + attr_accessor :page_size + + # Exactly one dataset ID must be provided here. Only variant sets which + # belong to this dataset will be returned. + # Corresponds to the JSON property `datasetIds` + # @return [Array] + attr_accessor :dataset_ids + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @page_token = args[:page_token] if args.key?(:page_token) + @page_size = args[:page_size] if args.key?(:page_size) + @dataset_ids = args[:dataset_ids] if args.key?(:dataset_ids) + end + end + + # Metadata describes a single piece of variant call metadata. + # These data include a top level key and either a single value string (value) + # or a list of key-value pairs (info.) + # Value and info are mutually exclusive. + class VariantSetMetadata + include Google::Apis::Core::Hashable + + # Remaining structured metadata key-value pairs. This must be of the form + # map (string key mapping to a list of string values). + # Corresponds to the JSON property `info` + # @return [Hash>] + attr_accessor :info + + # The type of data. Possible types include: Integer, Float, + # Flag, Character, and String. + # Corresponds to the JSON property `type` + # @return [String] + attr_accessor :type + + # The value field for simple metadata + # Corresponds to the JSON property `value` + # @return [String] + attr_accessor :value + + # User-provided ID field, not enforced by this API. + # Two or more pieces of structured metadata with identical + # id and key fields are considered equivalent. + # Corresponds to the JSON property `id` + # @return [String] + attr_accessor :id + + # The number of values that can be included in a field described by this + # metadata. + # Corresponds to the JSON property `number` + # @return [String] + attr_accessor :number + + # The top-level key. + # Corresponds to the JSON property `key` + # @return [String] + attr_accessor :key + + # A textual description of this metadata. + # Corresponds to the JSON property `description` + # @return [String] + attr_accessor :description + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @info = args[:info] if args.key?(:info) + @type = args[:type] if args.key?(:type) + @value = args[:value] if args.key?(:value) + @id = args[:id] if args.key?(:id) + @number = args[:number] if args.key?(:number) + @key = args[:key] if args.key?(:key) + @description = args[:description] if args.key?(:description) end end @@ -2469,6 +1722,12 @@ module Google class Reference include Google::Apis::Core::Hashable + # All known corresponding accession IDs in INSDC (GenBank/ENA/DDBJ) ideally + # with a version number, for example `GCF_000001405.26`. + # Corresponds to the JSON property `sourceAccessions` + # @return [Array] + attr_accessor :source_accessions + # ID from http://www.ncbi.nlm.nih.gov/taxonomy. For example, 9606 for human. # Corresponds to the JSON property `ncbiTaxonId` # @return [Fixnum] @@ -2499,126 +1758,22 @@ module Google # The length of this reference's sequence. # Corresponds to the JSON property `length` - # @return [String] + # @return [Fixnum] attr_accessor :length - # All known corresponding accession IDs in INSDC (GenBank/ENA/DDBJ) ideally - # with a version number, for example `GCF_000001405.26`. - # Corresponds to the JSON property `sourceAccessions` - # @return [Array] - attr_accessor :source_accessions - def initialize(**args) update!(**args) end # Update properties of this object def update!(**args) + @source_accessions = args[:source_accessions] if args.key?(:source_accessions) @ncbi_taxon_id = args[:ncbi_taxon_id] if args.key?(:ncbi_taxon_id) @source_uri = args[:source_uri] if args.key?(:source_uri) @name = args[:name] if args.key?(:name) @md5checksum = args[:md5checksum] if args.key?(:md5checksum) @id = args[:id] if args.key?(:id) @length = args[:length] if args.key?(:length) - @source_accessions = args[:source_accessions] if args.key?(:source_accessions) - end - end - - # Metadata describes a single piece of variant call metadata. - # These data include a top level key and either a single value string (value) - # or a list of key-value pairs (info.) - # Value and info are mutually exclusive. - class VariantSetMetadata - include Google::Apis::Core::Hashable - - # The number of values that can be included in a field described by this - # metadata. - # Corresponds to the JSON property `number` - # @return [String] - attr_accessor :number - - # The value field for simple metadata - # Corresponds to the JSON property `value` - # @return [String] - attr_accessor :value - - # User-provided ID field, not enforced by this API. - # Two or more pieces of structured metadata with identical - # id and key fields are considered equivalent. - # Corresponds to the JSON property `id` - # @return [String] - attr_accessor :id - - # The top-level key. - # Corresponds to the JSON property `key` - # @return [String] - attr_accessor :key - - # A textual description of this metadata. - # Corresponds to the JSON property `description` - # @return [String] - attr_accessor :description - - # Remaining structured metadata key-value pairs. This must be of the form - # map (string key mapping to a list of string values). - # Corresponds to the JSON property `info` - # @return [Hash>] - attr_accessor :info - - # The type of data. Possible types include: Integer, Float, - # Flag, Character, and String. - # Corresponds to the JSON property `type` - # @return [String] - attr_accessor :type - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @number = args[:number] if args.key?(:number) - @value = args[:value] if args.key?(:value) - @id = args[:id] if args.key?(:id) - @key = args[:key] if args.key?(:key) - @description = args[:description] if args.key?(:description) - @info = args[:info] if args.key?(:info) - @type = args[:type] if args.key?(:type) - end - end - - # The search variant sets request. - class SearchVariantSetsRequest - include Google::Apis::Core::Hashable - - # Exactly one dataset ID must be provided here. Only variant sets which - # belong to this dataset will be returned. - # Corresponds to the JSON property `datasetIds` - # @return [Array] - attr_accessor :dataset_ids - - # The continuation token, which is used to page through large result sets. - # To get the next page of results, set this parameter to the value of - # `nextPageToken` from the previous response. - # Corresponds to the JSON property `pageToken` - # @return [String] - attr_accessor :page_token - - # The maximum number of results to return in a single page. If unspecified, - # defaults to 1024. - # Corresponds to the JSON property `pageSize` - # @return [Fixnum] - attr_accessor :page_size - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @dataset_ids = args[:dataset_ids] if args.key?(:dataset_ids) - @page_token = args[:page_token] if args.key?(:page_token) - @page_size = args[:page_size] if args.key?(:page_size) end end @@ -2626,12 +1781,6 @@ module Google class SearchReferenceSetsRequest include Google::Apis::Core::Hashable - # The maximum number of results to return in a single page. If unspecified, - # defaults to 1024. The maximum value is 4096. - # Corresponds to the JSON property `pageSize` - # @return [Fixnum] - attr_accessor :page_size - # If present, return reference sets for which a substring of their # `assemblyId` matches this string (case insensitive). # Corresponds to the JSON property `assemblyId` @@ -2659,17 +1808,23 @@ module Google # @return [String] attr_accessor :page_token + # The maximum number of results to return in a single page. If unspecified, + # defaults to 1024. The maximum value is 4096. + # Corresponds to the JSON property `pageSize` + # @return [Fixnum] + attr_accessor :page_size + def initialize(**args) update!(**args) end # Update properties of this object def update!(**args) - @page_size = args[:page_size] if args.key?(:page_size) @assembly_id = args[:assembly_id] if args.key?(:assembly_id) @md5checksums = args[:md5checksums] if args.key?(:md5checksums) @accessions = args[:accessions] if args.key?(:accessions) @page_token = args[:page_token] if args.key?(:page_token) + @page_size = args[:page_size] if args.key?(:page_size) end end @@ -2824,12 +1979,6 @@ module Google class Read include Google::Apis::Core::Hashable - # The ID of the read group set this read belongs to. A read belongs to - # exactly one read group set. - # Corresponds to the JSON property `readGroupSetId` - # @return [String] - attr_accessor :read_group_set_id - # The fragment is a PCR or optical duplicate (SAM flag 0x400). # Corresponds to the JSON property `duplicateFragment` # @return [Boolean] @@ -2842,6 +1991,14 @@ module Google # @return [Fixnum] attr_accessor :read_number + # The ID of the read group this read belongs to. A read belongs to exactly + # one read group. This is a server-generated ID which is distinct from SAM's + # RG tag (for that value, see + # ReadGroup.name). + # Corresponds to the JSON property `readGroupId` + # @return [String] + attr_accessor :read_group_id + # The bases of the read sequence contained in this alignment record, # **without CIGAR operations applied** (equivalent to SEQ in SAM). # `alignedSequence` and `alignedQuality` may be @@ -2853,13 +2010,11 @@ module Google # @return [String] attr_accessor :aligned_sequence - # The ID of the read group this read belongs to. A read belongs to exactly - # one read group. This is a server-generated ID which is distinct from SAM's - # RG tag (for that value, see - # ReadGroup.name). - # Corresponds to the JSON property `readGroupId` - # @return [String] - attr_accessor :read_group_id + # A map of additional read alignment information. This must be of the form + # map (string key mapping to a list of string values). + # Corresponds to the JSON property `info` + # @return [Hash>] + attr_accessor :info # An abstraction for referring to a genomic position, in relation to some # already known reference. For now, represents a genomic position as a @@ -2869,19 +2024,6 @@ module Google # @return [Google::Apis::GenomicsV1::Position] attr_accessor :next_mate_position - # A map of additional read alignment information. This must be of the form - # map (string key mapping to a list of string values). - # Corresponds to the JSON property `info` - # @return [Hash>] - attr_accessor :info - - # The orientation and the distance between reads from the fragment are - # consistent with the sequencing protocol (SAM flag 0x2). - # Corresponds to the JSON property `properPlacement` - # @return [Boolean] - attr_accessor :proper_placement - alias_method :proper_placement?, :proper_placement - # Whether this alignment is supplementary. Equivalent to SAM flag 0x800. # Supplementary alignments are used in the representation of a chimeric # alignment. In a chimeric alignment, a read is split into multiple @@ -2898,6 +2040,13 @@ module Google attr_accessor :supplementary_alignment alias_method :supplementary_alignment?, :supplementary_alignment + # The orientation and the distance between reads from the fragment are + # consistent with the sequencing protocol (SAM flag 0x2). + # Corresponds to the JSON property `properPlacement` + # @return [Boolean] + attr_accessor :proper_placement + alias_method :proper_placement?, :proper_placement + # The observed length of the fragment, equivalent to TLEN in SAM. # Corresponds to the JSON property `fragmentLength` # @return [Fixnum] @@ -2927,17 +2076,17 @@ module Google # @return [Google::Apis::GenomicsV1::LinearAlignment] attr_accessor :alignment - # The number of reads in the fragment (extension to SAM flag 0x1). - # Corresponds to the JSON property `numberReads` - # @return [Fixnum] - attr_accessor :number_reads - # The server-generated read ID, unique across all reads. This is different # from the `fragmentName`. # Corresponds to the JSON property `id` # @return [String] attr_accessor :id + # The number of reads in the fragment (extension to SAM flag 0x1). + # Corresponds to the JSON property `numberReads` + # @return [Fixnum] + attr_accessor :number_reads + # Whether this alignment is secondary. Equivalent to SAM flag 0x100. # A secondary alignment represents an alternative to the primary alignment # for this read. Aligners may return secondary alignments if a read can map @@ -2954,29 +2103,35 @@ module Google # @return [String] attr_accessor :fragment_name + # The ID of the read group set this read belongs to. A read belongs to + # exactly one read group set. + # Corresponds to the JSON property `readGroupSetId` + # @return [String] + attr_accessor :read_group_set_id + def initialize(**args) update!(**args) end # Update properties of this object def update!(**args) - @read_group_set_id = args[:read_group_set_id] if args.key?(:read_group_set_id) @duplicate_fragment = args[:duplicate_fragment] if args.key?(:duplicate_fragment) @read_number = args[:read_number] if args.key?(:read_number) - @aligned_sequence = args[:aligned_sequence] if args.key?(:aligned_sequence) @read_group_id = args[:read_group_id] if args.key?(:read_group_id) - @next_mate_position = args[:next_mate_position] if args.key?(:next_mate_position) + @aligned_sequence = args[:aligned_sequence] if args.key?(:aligned_sequence) @info = args[:info] if args.key?(:info) - @proper_placement = args[:proper_placement] if args.key?(:proper_placement) + @next_mate_position = args[:next_mate_position] if args.key?(:next_mate_position) @supplementary_alignment = args[:supplementary_alignment] if args.key?(:supplementary_alignment) + @proper_placement = args[:proper_placement] if args.key?(:proper_placement) @fragment_length = args[:fragment_length] if args.key?(:fragment_length) @failed_vendor_quality_checks = args[:failed_vendor_quality_checks] if args.key?(:failed_vendor_quality_checks) @aligned_quality = args[:aligned_quality] if args.key?(:aligned_quality) @alignment = args[:alignment] if args.key?(:alignment) - @number_reads = args[:number_reads] if args.key?(:number_reads) @id = args[:id] if args.key?(:id) + @number_reads = args[:number_reads] if args.key?(:number_reads) @secondary_alignment = args[:secondary_alignment] if args.key?(:secondary_alignment) @fragment_name = args[:fragment_name] if args.key?(:fragment_name) + @read_group_set_id = args[:read_group_set_id] if args.key?(:read_group_set_id) end end @@ -3012,6 +2167,40 @@ module Google end end + # A single CIGAR operation. + class CigarUnit + include Google::Apis::Core::Hashable + + # `referenceSequence` is only used at mismatches + # (`SEQUENCE_MISMATCH`) and deletions (`DELETE`). + # Filling this field replaces SAM's MD tag. If the relevant information is + # not available, this field is unset. + # Corresponds to the JSON property `referenceSequence` + # @return [String] + attr_accessor :reference_sequence + + # The number of genomic bases that the operation runs for. Required. + # Corresponds to the JSON property `operationLength` + # @return [Fixnum] + attr_accessor :operation_length + + # + # Corresponds to the JSON property `operation` + # @return [String] + attr_accessor :operation + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @reference_sequence = args[:reference_sequence] if args.key?(:reference_sequence) + @operation_length = args[:operation_length] if args.key?(:operation_length) + @operation = args[:operation] if args.key?(:operation) + end + end + # A reference set is a set of references which typically comprise a reference # assembly for a species, such as `GRCh38` which is representative # of the human genome. A reference set defines a common coordinate space for @@ -3022,6 +2211,11 @@ module Google class ReferenceSet include Google::Apis::Core::Hashable + # The URI from which the references were obtained. + # Corresponds to the JSON property `sourceUri` + # @return [String] + attr_accessor :source_uri + # ID from http://www.ncbi.nlm.nih.gov/taxonomy (for example, 9606 for human) # indicating the species which this reference set is intended to model. Note # that contained references may specify a different `ncbiTaxonId`, as @@ -3031,11 +2225,6 @@ module Google # @return [Fixnum] attr_accessor :ncbi_taxon_id - # The URI from which the references were obtained. - # Corresponds to the JSON property `sourceUri` - # @return [String] - attr_accessor :source_uri - # The IDs of the reference objects that are part of this set. # `Reference.md5checksum` must be unique within this set. # Corresponds to the JSON property `referenceIds` @@ -3078,8 +2267,8 @@ module Google # Update properties of this object def update!(**args) - @ncbi_taxon_id = args[:ncbi_taxon_id] if args.key?(:ncbi_taxon_id) @source_uri = args[:source_uri] if args.key?(:source_uri) + @ncbi_taxon_id = args[:ncbi_taxon_id] if args.key?(:ncbi_taxon_id) @reference_ids = args[:reference_ids] if args.key?(:reference_ids) @assembly_id = args[:assembly_id] if args.key?(:assembly_id) @md5checksum = args[:md5checksum] if args.key?(:md5checksum) @@ -3089,45 +2278,16 @@ module Google end end - # A single CIGAR operation. - class CigarUnit - include Google::Apis::Core::Hashable - - # `referenceSequence` is only used at mismatches - # (`SEQUENCE_MISMATCH`) and deletions (`DELETE`). - # Filling this field replaces SAM's MD tag. If the relevant information is - # not available, this field is unset. - # Corresponds to the JSON property `referenceSequence` - # @return [String] - attr_accessor :reference_sequence - - # The number of genomic bases that the operation runs for. Required. - # Corresponds to the JSON property `operationLength` - # @return [String] - attr_accessor :operation_length - - # - # Corresponds to the JSON property `operation` - # @return [String] - attr_accessor :operation - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @reference_sequence = args[:reference_sequence] if args.key?(:reference_sequence) - @operation_length = args[:operation_length] if args.key?(:operation_length) - @operation = args[:operation] if args.key?(:operation) - end - end - # A transcript represents the assertion that a particular region of the # reference genome may be transcribed as RNA. class Transcript include Google::Apis::Core::Hashable + # The annotation ID of the gene from which this transcript is transcribed. + # Corresponds to the JSON property `geneId` + # @return [String] + attr_accessor :gene_id + # The exons that compose # this transcript. This field should be unset for genomes where transcript # splicing does not occur, for example prokaryotes. @@ -3159,20 +2319,15 @@ module Google # @return [Google::Apis::GenomicsV1::CodingSequence] attr_accessor :coding_sequence - # The annotation ID of the gene from which this transcript is transcribed. - # Corresponds to the JSON property `geneId` - # @return [String] - attr_accessor :gene_id - def initialize(**args) update!(**args) end # Update properties of this object def update!(**args) + @gene_id = args[:gene_id] if args.key?(:gene_id) @exons = args[:exons] if args.key?(:exons) @coding_sequence = args[:coding_sequence] if args.key?(:coding_sequence) - @gene_id = args[:gene_id] if args.key?(:gene_id) end end @@ -3182,6 +2337,17 @@ module Google class AnnotationSet include Google::Apis::Core::Hashable + # The source URI describing the file from which this annotation set was + # generated, if any. + # Corresponds to the JSON property `sourceUri` + # @return [String] + attr_accessor :source_uri + + # The dataset to which this annotation set belongs. + # Corresponds to the JSON property `datasetId` + # @return [String] + attr_accessor :dataset_id + # The display name for this annotation set. # Corresponds to the JSON property `name` # @return [String] @@ -3209,30 +2375,19 @@ module Google # @return [String] attr_accessor :id - # The dataset to which this annotation set belongs. - # Corresponds to the JSON property `datasetId` - # @return [String] - attr_accessor :dataset_id - - # The source URI describing the file from which this annotation set was - # generated, if any. - # Corresponds to the JSON property `sourceUri` - # @return [String] - attr_accessor :source_uri - def initialize(**args) update!(**args) end # Update properties of this object def update!(**args) + @source_uri = args[:source_uri] if args.key?(:source_uri) + @dataset_id = args[:dataset_id] if args.key?(:dataset_id) @name = args[:name] if args.key?(:name) @reference_set_id = args[:reference_set_id] if args.key?(:reference_set_id) @type = args[:type] if args.key?(:type) @info = args[:info] if args.key?(:info) @id = args[:id] if args.key?(:id) - @dataset_id = args[:dataset_id] if args.key?(:dataset_id) - @source_uri = args[:source_uri] if args.key?(:source_uri) end end @@ -3240,11 +2395,6 @@ module Google class Experiment include Google::Apis::Core::Hashable - # The sequencing center used as part of this experiment. - # Corresponds to the JSON property `sequencingCenter` - # @return [String] - attr_accessor :sequencing_center - # The platform unit used as part of this experiment, for example # flowcell-barcode.lane for Illumina or slide for SOLiD. Corresponds to the # @RG PU field in the SAM spec. @@ -3266,16 +2416,21 @@ module Google # @return [String] attr_accessor :instrument_model + # The sequencing center used as part of this experiment. + # Corresponds to the JSON property `sequencingCenter` + # @return [String] + attr_accessor :sequencing_center + def initialize(**args) update!(**args) end # Update properties of this object def update!(**args) - @sequencing_center = args[:sequencing_center] if args.key?(:sequencing_center) @platform_unit = args[:platform_unit] if args.key?(:platform_unit) @library_id = args[:library_id] if args.key?(:library_id) @instrument_model = args[:instrument_model] if args.key?(:instrument_model) + @sequencing_center = args[:sequencing_center] if args.key?(:sequencing_center) end end @@ -3338,6 +2493,12 @@ module Google class ExportReadGroupSetRequest include Google::Apis::Core::Hashable + # Required. The Google Cloud project ID that owns this + # export. The caller must have WRITE access to this project. + # Corresponds to the JSON property `projectId` + # @return [String] + attr_accessor :project_id + # Required. A Google Cloud Storage URI for the exported BAM file. # The currently authenticated user must have write access to the new file. # An error will be returned if the URI already contains data. @@ -3352,21 +2513,15 @@ module Google # @return [Array] attr_accessor :reference_names - # Required. The Google Cloud project ID that owns this - # export. The caller must have WRITE access to this project. - # Corresponds to the JSON property `projectId` - # @return [String] - attr_accessor :project_id - def initialize(**args) update!(**args) end # Update properties of this object def update!(**args) + @project_id = args[:project_id] if args.key?(:project_id) @export_uri = args[:export_uri] if args.key?(:export_uri) @reference_names = args[:reference_names] if args.key?(:reference_names) - @project_id = args[:project_id] if args.key?(:project_id) end end @@ -3378,14 +2533,14 @@ module Google # 0-based inclusive. Note that this is relative to the reference start, and # **not** the containing annotation start. # Corresponds to the JSON property `start` - # @return [String] + # @return [Fixnum] attr_accessor :start # The end position of the exon on this annotation's reference sequence, # 0-based exclusive. Note that this is relative to the reference start, and # *not* the containing annotation start. # Corresponds to the JSON property `end` - # @return [String] + # @return [Fixnum] attr_accessor :end # The frame of this exon. Contains a value of 0, 1, or 2, which indicates @@ -3451,7 +2606,7 @@ module Google # The date this call set was created in milliseconds from the epoch. # Corresponds to the JSON property `created` - # @return [String] + # @return [Fixnum] attr_accessor :created # The sample ID this call set corresponds to. @@ -3473,6 +2628,851 @@ module Google @sample_id = args[:sample_id] if args.key?(:sample_id) end end + + # + class SearchAnnotationSetsResponse + include Google::Apis::Core::Hashable + + # The continuation token, which is used to page through large result sets. + # Provide this value in a subsequent request to return the next page of + # results. This field will be empty if there aren't any additional results. + # Corresponds to the JSON property `nextPageToken` + # @return [String] + attr_accessor :next_page_token + + # The matching annotation sets. + # Corresponds to the JSON property `annotationSets` + # @return [Array] + attr_accessor :annotation_sets + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @next_page_token = args[:next_page_token] if args.key?(:next_page_token) + @annotation_sets = args[:annotation_sets] if args.key?(:annotation_sets) + end + end + + # The variant data import request. + class ImportVariantsRequest + include Google::Apis::Core::Hashable + + # A mapping between info field keys and the InfoMergeOperations to + # be performed on them. This is plumbed down to the MergeVariantRequests + # generated by the resulting import job. + # Corresponds to the JSON property `infoMergeConfig` + # @return [Hash] + attr_accessor :info_merge_config + + # Required. The variant set to which variant data should be imported. + # Corresponds to the JSON property `variantSetId` + # @return [String] + attr_accessor :variant_set_id + + # A list of URIs referencing variant files in Google Cloud Storage. URIs can + # include wildcards [as described + # here](https://cloud.google.com/storage/docs/gsutil/addlhelp/WildcardNames). + # Note that recursive wildcards ('**') are not supported. + # Corresponds to the JSON property `sourceUris` + # @return [Array] + attr_accessor :source_uris + + # Convert reference names to the canonical representation. + # hg19 haploytypes (those reference names containing "_hap") + # are not modified in any way. + # All other reference names are modified according to the following rules: + # The reference name is capitalized. + # The "chr" prefix is dropped for all autosomes and sex chromsomes. + # For example "chr17" becomes "17" and "chrX" becomes "X". + # All mitochondrial chromosomes ("chrM", "chrMT", etc) become "MT". + # Corresponds to the JSON property `normalizeReferenceNames` + # @return [Boolean] + attr_accessor :normalize_reference_names + alias_method :normalize_reference_names?, :normalize_reference_names + + # The format of the variant data being imported. If unspecified, defaults to + # to `VCF`. + # Corresponds to the JSON property `format` + # @return [String] + attr_accessor :format + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @info_merge_config = args[:info_merge_config] if args.key?(:info_merge_config) + @variant_set_id = args[:variant_set_id] if args.key?(:variant_set_id) + @source_uris = args[:source_uris] if args.key?(:source_uris) + @normalize_reference_names = args[:normalize_reference_names] if args.key?(:normalize_reference_names) + @format = args[:format] if args.key?(:format) + end + end + + # + class VariantAnnotation + include Google::Apis::Core::Hashable + + # The set of conditions associated with this variant. + # A condition describes the way a variant influences human health. + # Corresponds to the JSON property `conditions` + # @return [Array] + attr_accessor :conditions + + # Effect of the variant on the coding sequence. + # Corresponds to the JSON property `effect` + # @return [String] + attr_accessor :effect + + # Google annotation IDs of the transcripts affected by this variant. These + # should be provided when the variant is created. + # Corresponds to the JSON property `transcriptIds` + # @return [Array] + attr_accessor :transcript_ids + + # Type has been adapted from ClinVar's list of variant types. + # Corresponds to the JSON property `type` + # @return [String] + attr_accessor :type + + # The alternate allele for this variant. If multiple alternate alleles + # exist at this location, create a separate variant for each one, as they + # may represent distinct conditions. + # Corresponds to the JSON property `alternateBases` + # @return [String] + attr_accessor :alternate_bases + + # Google annotation ID of the gene affected by this variant. This should + # be provided when the variant is created. + # Corresponds to the JSON property `geneId` + # @return [String] + attr_accessor :gene_id + + # Describes the clinical significance of a variant. + # It is adapted from the ClinVar controlled vocabulary for clinical + # significance described at: + # http://www.ncbi.nlm.nih.gov/clinvar/docs/clinsig/ + # Corresponds to the JSON property `clinicalSignificance` + # @return [String] + attr_accessor :clinical_significance + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @conditions = args[:conditions] if args.key?(:conditions) + @effect = args[:effect] if args.key?(:effect) + @transcript_ids = args[:transcript_ids] if args.key?(:transcript_ids) + @type = args[:type] if args.key?(:type) + @alternate_bases = args[:alternate_bases] if args.key?(:alternate_bases) + @gene_id = args[:gene_id] if args.key?(:gene_id) + @clinical_significance = args[:clinical_significance] if args.key?(:clinical_significance) + end + end + + # + class ListCoverageBucketsResponse + include Google::Apis::Core::Hashable + + # The continuation token, which is used to page through large result sets. + # Provide this value in a subsequent request to return the next page of + # results. This field will be empty if there aren't any additional results. + # Corresponds to the JSON property `nextPageToken` + # @return [String] + attr_accessor :next_page_token + + # The length of each coverage bucket in base pairs. Note that buckets at the + # end of a reference sequence may be shorter. This value is omitted if the + # bucket width is infinity (the default behaviour, with no range or + # `targetBucketWidth`). + # Corresponds to the JSON property `bucketWidth` + # @return [Fixnum] + attr_accessor :bucket_width + + # The coverage buckets. The list of buckets is sparse; a bucket with 0 + # overlapping reads is not returned. A bucket never crosses more than one + # reference sequence. Each bucket has width `bucketWidth`, unless + # its end is the end of the reference sequence. + # Corresponds to the JSON property `coverageBuckets` + # @return [Array] + attr_accessor :coverage_buckets + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @next_page_token = args[:next_page_token] if args.key?(:next_page_token) + @bucket_width = args[:bucket_width] if args.key?(:bucket_width) + @coverage_buckets = args[:coverage_buckets] if args.key?(:coverage_buckets) + end + end + + # The variant data export request. + class ExportVariantSetRequest + include Google::Apis::Core::Hashable + + # If provided, only variant call information from the specified call sets + # will be exported. By default all variant calls are exported. + # Corresponds to the JSON property `callSetIds` + # @return [Array] + attr_accessor :call_set_ids + + # Required. The Google Cloud project ID that owns the destination + # BigQuery dataset. The caller must have WRITE access to this project. This + # project will also own the resulting export job. + # Corresponds to the JSON property `projectId` + # @return [String] + attr_accessor :project_id + + # The format for the exported data. + # Corresponds to the JSON property `format` + # @return [String] + attr_accessor :format + + # Required. The BigQuery dataset to export data to. This dataset must already + # exist. Note that this is distinct from the Genomics concept of "dataset". + # Corresponds to the JSON property `bigqueryDataset` + # @return [String] + attr_accessor :bigquery_dataset + + # Required. The BigQuery table to export data to. + # If the table doesn't exist, it will be created. If it already exists, it + # will be overwritten. + # Corresponds to the JSON property `bigqueryTable` + # @return [String] + attr_accessor :bigquery_table + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @call_set_ids = args[:call_set_ids] if args.key?(:call_set_ids) + @project_id = args[:project_id] if args.key?(:project_id) + @format = args[:format] if args.key?(:format) + @bigquery_dataset = args[:bigquery_dataset] if args.key?(:bigquery_dataset) + @bigquery_table = args[:bigquery_table] if args.key?(:bigquery_table) + end + end + + # + class SearchAnnotationsRequest + include Google::Apis::Core::Hashable + + # The ID of the reference to query. + # Corresponds to the JSON property `referenceId` + # @return [String] + attr_accessor :reference_id + + # The end position of the range on the reference, 0-based exclusive. If + # referenceId or + # referenceName + # must be specified, Defaults to the length of the reference. + # Corresponds to the JSON property `end` + # @return [Fixnum] + attr_accessor :end + + # The continuation token, which is used to page through large result sets. + # To get the next page of results, set this parameter to the value of + # `nextPageToken` from the previous response. + # Corresponds to the JSON property `pageToken` + # @return [String] + attr_accessor :page_token + + # The maximum number of results to return in a single page. If unspecified, + # defaults to 256. The maximum value is 2048. + # Corresponds to the JSON property `pageSize` + # @return [Fixnum] + attr_accessor :page_size + + # The start position of the range on the reference, 0-based inclusive. If + # specified, + # referenceId or + # referenceName + # must be specified. Defaults to 0. + # Corresponds to the JSON property `start` + # @return [Fixnum] + attr_accessor :start + + # Required. The annotation sets to search within. The caller must have + # `READ` access to these annotation sets. + # All queried annotation sets must have the same type. + # Corresponds to the JSON property `annotationSetIds` + # @return [Array] + attr_accessor :annotation_set_ids + + # The name of the reference to query, within the reference set associated + # with this query. + # Corresponds to the JSON property `referenceName` + # @return [String] + attr_accessor :reference_name + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @reference_id = args[:reference_id] if args.key?(:reference_id) + @end = args[:end] if args.key?(:end) + @page_token = args[:page_token] if args.key?(:page_token) + @page_size = args[:page_size] if args.key?(:page_size) + @start = args[:start] if args.key?(:start) + @annotation_set_ids = args[:annotation_set_ids] if args.key?(:annotation_set_ids) + @reference_name = args[:reference_name] if args.key?(:reference_name) + end + end + + # An event that occurred during an Operation. + class OperationEvent + include Google::Apis::Core::Hashable + + # Optional time of when event finished. An event can have a start time and no + # finish time. If an event has a finish time, there must be a start time. + # Corresponds to the JSON property `endTime` + # @return [String] + attr_accessor :end_time + + # Optional time of when event started. + # Corresponds to the JSON property `startTime` + # @return [String] + attr_accessor :start_time + + # Required description of event. + # Corresponds to the JSON property `description` + # @return [String] + attr_accessor :description + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @end_time = args[:end_time] if args.key?(:end_time) + @start_time = args[:start_time] if args.key?(:start_time) + @description = args[:description] if args.key?(:description) + end + end + + # + class CodingSequence + include Google::Apis::Core::Hashable + + # The start of the coding sequence on this annotation's reference sequence, + # 0-based inclusive. Note that this position is relative to the reference + # start, and *not* the containing annotation start. + # Corresponds to the JSON property `start` + # @return [Fixnum] + attr_accessor :start + + # The end of the coding sequence on this annotation's reference sequence, + # 0-based exclusive. Note that this position is relative to the reference + # start, and *not* the containing annotation start. + # Corresponds to the JSON property `end` + # @return [Fixnum] + attr_accessor :end + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @start = args[:start] if args.key?(:start) + @end = args[:end] if args.key?(:end) + end + end + + # Response message for `TestIamPermissions` method. + class TestIamPermissionsResponse + include Google::Apis::Core::Hashable + + # A subset of `TestPermissionsRequest.permissions` that the caller is + # allowed. + # Corresponds to the JSON property `permissions` + # @return [Array] + attr_accessor :permissions + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @permissions = args[:permissions] if args.key?(:permissions) + end + end + + # Request message for `GetIamPolicy` method. + class GetIamPolicyRequest + include Google::Apis::Core::Hashable + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + end + end + + # + class SearchReferencesResponse + include Google::Apis::Core::Hashable + + # The matching references. + # Corresponds to the JSON property `references` + # @return [Array] + attr_accessor :references + + # The continuation token, which is used to page through large result sets. + # Provide this value in a subsequent request to return the next page of + # results. This field will be empty if there aren't any additional results. + # Corresponds to the JSON property `nextPageToken` + # @return [String] + attr_accessor :next_page_token + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @references = args[:references] if args.key?(:references) + @next_page_token = args[:next_page_token] if args.key?(:next_page_token) + end + end + + # + class SearchAnnotationSetsRequest + include Google::Apis::Core::Hashable + + # Required. The dataset IDs to search within. Caller must have `READ` access + # to these datasets. + # Corresponds to the JSON property `datasetIds` + # @return [Array] + attr_accessor :dataset_ids + + # If specified, only annotation sets that have any of these types are + # returned. + # Corresponds to the JSON property `types` + # @return [Array] + attr_accessor :types + + # Only return annotations sets for which a substring of the name matches this + # string (case insensitive). + # Corresponds to the JSON property `name` + # @return [String] + attr_accessor :name + + # If specified, only annotation sets associated with the given reference set + # are returned. + # Corresponds to the JSON property `referenceSetId` + # @return [String] + attr_accessor :reference_set_id + + # The continuation token, which is used to page through large result sets. + # To get the next page of results, set this parameter to the value of + # `nextPageToken` from the previous response. + # Corresponds to the JSON property `pageToken` + # @return [String] + attr_accessor :page_token + + # The maximum number of results to return in a single page. If unspecified, + # defaults to 128. The maximum value is 1024. + # Corresponds to the JSON property `pageSize` + # @return [Fixnum] + attr_accessor :page_size + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @dataset_ids = args[:dataset_ids] if args.key?(:dataset_ids) + @types = args[:types] if args.key?(:types) + @name = args[:name] if args.key?(:name) + @reference_set_id = args[:reference_set_id] if args.key?(:reference_set_id) + @page_token = args[:page_token] if args.key?(:page_token) + @page_size = args[:page_size] if args.key?(:page_size) + end + end + + # The read group set search response. + class SearchReadGroupSetsResponse + include Google::Apis::Core::Hashable + + # The list of matching read group sets. + # Corresponds to the JSON property `readGroupSets` + # @return [Array] + attr_accessor :read_group_sets + + # The continuation token, which is used to page through large result sets. + # Provide this value in a subsequent request to return the next page of + # results. This field will be empty if there aren't any additional results. + # Corresponds to the JSON property `nextPageToken` + # @return [String] + attr_accessor :next_page_token + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @read_group_sets = args[:read_group_sets] if args.key?(:read_group_sets) + @next_page_token = args[:next_page_token] if args.key?(:next_page_token) + end + end + + # A linear alignment can be represented by one CIGAR string. Describes the + # mapped position and local alignment of the read to the reference. + class LinearAlignment + include Google::Apis::Core::Hashable + + # The mapping quality of this alignment. Represents how likely + # the read maps to this position as opposed to other locations. + # Specifically, this is -10 log10 Pr(mapping position is wrong), rounded to + # the nearest integer. + # Corresponds to the JSON property `mappingQuality` + # @return [Fixnum] + attr_accessor :mapping_quality + + # An abstraction for referring to a genomic position, in relation to some + # already known reference. For now, represents a genomic position as a + # reference name, a base number on that reference (0-based), and a + # determination of forward or reverse strand. + # Corresponds to the JSON property `position` + # @return [Google::Apis::GenomicsV1::Position] + attr_accessor :position + + # Represents the local alignment of this sequence (alignment matches, indels, + # etc) against the reference. + # Corresponds to the JSON property `cigar` + # @return [Array] + attr_accessor :cigar + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @mapping_quality = args[:mapping_quality] if args.key?(:mapping_quality) + @position = args[:position] if args.key?(:position) + @cigar = args[:cigar] if args.key?(:cigar) + end + end + + # + class SearchReferencesRequest + include Google::Apis::Core::Hashable + + # If present, return references for which a prefix of any of + # sourceAccessions match + # any of these strings. Accession numbers typically have a main number and a + # version, for example `GCF_000001405.26`. + # Corresponds to the JSON property `accessions` + # @return [Array] + attr_accessor :accessions + + # The continuation token, which is used to page through large result sets. + # To get the next page of results, set this parameter to the value of + # `nextPageToken` from the previous response. + # Corresponds to the JSON property `pageToken` + # @return [String] + attr_accessor :page_token + + # If present, return only references which belong to this reference set. + # Corresponds to the JSON property `referenceSetId` + # @return [String] + attr_accessor :reference_set_id + + # The maximum number of results to return in a single page. If unspecified, + # defaults to 1024. The maximum value is 4096. + # Corresponds to the JSON property `pageSize` + # @return [Fixnum] + attr_accessor :page_size + + # If present, return references for which the + # md5checksum matches exactly. + # Corresponds to the JSON property `md5checksums` + # @return [Array] + attr_accessor :md5checksums + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @accessions = args[:accessions] if args.key?(:accessions) + @page_token = args[:page_token] if args.key?(:page_token) + @reference_set_id = args[:reference_set_id] if args.key?(:reference_set_id) + @page_size = args[:page_size] if args.key?(:page_size) + @md5checksums = args[:md5checksums] if args.key?(:md5checksums) + end + end + + # A Dataset is a collection of genomic data. + # For more genomics resource definitions, see [Fundamentals of Google + # Genomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics) + class Dataset + include Google::Apis::Core::Hashable + + # The dataset name. + # Corresponds to the JSON property `name` + # @return [String] + attr_accessor :name + + # The Google Cloud project ID that this dataset belongs to. + # Corresponds to the JSON property `projectId` + # @return [String] + attr_accessor :project_id + + # The server-generated dataset ID, unique across all datasets. + # Corresponds to the JSON property `id` + # @return [String] + attr_accessor :id + + # The time this dataset was created, in seconds from the epoch. + # Corresponds to the JSON property `createTime` + # @return [String] + attr_accessor :create_time + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @name = args[:name] if args.key?(:name) + @project_id = args[:project_id] if args.key?(:project_id) + @id = args[:id] if args.key?(:id) + @create_time = args[:create_time] if args.key?(:create_time) + end + end + + # The variant data import response. + class ImportVariantsResponse + include Google::Apis::Core::Hashable + + # IDs of the call sets created during the import. + # Corresponds to the JSON property `callSetIds` + # @return [Array] + attr_accessor :call_set_ids + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @call_set_ids = args[:call_set_ids] if args.key?(:call_set_ids) + end + end + + # A read group is all the data that's processed the same way by the sequencer. + class ReadGroup + include Google::Apis::Core::Hashable + + # The predicted insert size of this read group. The insert size is the length + # the sequenced DNA fragment from end-to-end, not including the adapters. + # Corresponds to the JSON property `predictedInsertSize` + # @return [Fixnum] + attr_accessor :predicted_insert_size + + # The programs used to generate this read group. Programs are always + # identical for all read groups within a read group set. For this reason, + # only the first read group in a returned set will have this field + # populated. + # Corresponds to the JSON property `programs` + # @return [Array] + attr_accessor :programs + + # A free-form text description of this read group. + # Corresponds to the JSON property `description` + # @return [String] + attr_accessor :description + + # A client-supplied sample identifier for the reads in this read group. + # Corresponds to the JSON property `sampleId` + # @return [String] + attr_accessor :sample_id + + # The dataset to which this read group belongs. + # Corresponds to the JSON property `datasetId` + # @return [String] + attr_accessor :dataset_id + + # The experiment used to generate this read group. + # Corresponds to the JSON property `experiment` + # @return [Google::Apis::GenomicsV1::Experiment] + attr_accessor :experiment + + # The read group name. This corresponds to the @RG ID field in the SAM spec. + # Corresponds to the JSON property `name` + # @return [String] + attr_accessor :name + + # The reference set the reads in this read group are aligned to. + # Corresponds to the JSON property `referenceSetId` + # @return [String] + attr_accessor :reference_set_id + + # A map of additional read group information. This must be of the form + # map (string key mapping to a list of string values). + # Corresponds to the JSON property `info` + # @return [Hash>] + attr_accessor :info + + # The server-generated read group ID, unique for all read groups. + # Note: This is different than the @RG ID field in the SAM spec. For that + # value, see name. + # Corresponds to the JSON property `id` + # @return [String] + attr_accessor :id + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @predicted_insert_size = args[:predicted_insert_size] if args.key?(:predicted_insert_size) + @programs = args[:programs] if args.key?(:programs) + @description = args[:description] if args.key?(:description) + @sample_id = args[:sample_id] if args.key?(:sample_id) + @dataset_id = args[:dataset_id] if args.key?(:dataset_id) + @experiment = args[:experiment] if args.key?(:experiment) + @name = args[:name] if args.key?(:name) + @reference_set_id = args[:reference_set_id] if args.key?(:reference_set_id) + @info = args[:info] if args.key?(:info) + @id = args[:id] if args.key?(:id) + end + end + + # A read group set is a logical collection of read groups, which are + # collections of reads produced by a sequencer. A read group set typically + # models reads corresponding to one sample, sequenced one way, and aligned one + # way. + # * A read group set belongs to one dataset. + # * A read group belongs to one read group set. + # * A read belongs to one read group. + # For more genomics resource definitions, see [Fundamentals of Google + # Genomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics) + class ReadGroupSet + include Google::Apis::Core::Hashable + + # The read groups in this set. There are typically 1-10 read groups in a read + # group set. + # Corresponds to the JSON property `readGroups` + # @return [Array] + attr_accessor :read_groups + + # The filename of the original source file for this read group set, if any. + # Corresponds to the JSON property `filename` + # @return [String] + attr_accessor :filename + + # The read group set name. By default this will be initialized to the sample + # name of the sequenced data contained in this set. + # Corresponds to the JSON property `name` + # @return [String] + attr_accessor :name + + # The reference set to which the reads in this read group set are aligned. + # Corresponds to the JSON property `referenceSetId` + # @return [String] + attr_accessor :reference_set_id + + # A map of additional read group set information. + # Corresponds to the JSON property `info` + # @return [Hash>] + attr_accessor :info + + # The server-generated read group set ID, unique for all read group sets. + # Corresponds to the JSON property `id` + # @return [String] + attr_accessor :id + + # The dataset to which this read group set belongs. + # Corresponds to the JSON property `datasetId` + # @return [String] + attr_accessor :dataset_id + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @read_groups = args[:read_groups] if args.key?(:read_groups) + @filename = args[:filename] if args.key?(:filename) + @name = args[:name] if args.key?(:name) + @reference_set_id = args[:reference_set_id] if args.key?(:reference_set_id) + @info = args[:info] if args.key?(:info) + @id = args[:id] if args.key?(:id) + @dataset_id = args[:dataset_id] if args.key?(:dataset_id) + end + end + + # The search variant sets response. + class SearchVariantSetsResponse + include Google::Apis::Core::Hashable + + # The continuation token, which is used to page through large result sets. + # Provide this value in a subsequent request to return the next page of + # results. This field will be empty if there aren't any additional results. + # Corresponds to the JSON property `nextPageToken` + # @return [String] + attr_accessor :next_page_token + + # The variant sets belonging to the requested dataset. + # Corresponds to the JSON property `variantSets` + # @return [Array] + attr_accessor :variant_sets + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @next_page_token = args[:next_page_token] if args.key?(:next_page_token) + @variant_sets = args[:variant_sets] if args.key?(:variant_sets) + end + end + + # A generic empty message that you can re-use to avoid defining duplicated + # empty messages in your APIs. A typical example is to use it as the request + # or the response type of an API method. For instance: + # service Foo ` + # rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty); + # ` + # The JSON representation for `Empty` is empty JSON object ````. + class Empty + include Google::Apis::Core::Hashable + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + end + end end end end diff --git a/generated/google/apis/genomics_v1/representations.rb b/generated/google/apis/genomics_v1/representations.rb index 9f8c2be90..f975d1c2b 100644 --- a/generated/google/apis/genomics_v1/representations.rb +++ b/generated/google/apis/genomics_v1/representations.rb @@ -22,6 +22,324 @@ module Google module Apis module GenomicsV1 + class Entry + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class Position + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class SearchReferenceSetsResponse + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class SearchCallSetsRequest + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class ImportReadGroupSetsRequest + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class Policy + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class Annotation + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class CancelOperationRequest + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class SearchReadsRequest + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class RuntimeMetadata + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class Operation + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class ImportReadGroupSetsResponse + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class VariantCall + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class SearchVariantsResponse + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class ListBasesResponse + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class Status + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class Binding + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class UndeleteDatasetRequest + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class Range + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class VariantSet + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class ReferenceBound + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class BatchCreateAnnotationsResponse + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class ListOperationsResponse + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class Variant + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class SearchCallSetsResponse + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class OperationMetadata + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class SearchVariantsRequest + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class SearchReadGroupSetsRequest + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class SearchAnnotationsResponse + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class ClinicalCondition + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class SearchReadsResponse + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class Program + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class ComputeEngine + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class CoverageBucket + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class ExternalId + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class SearchVariantSetsRequest + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class VariantSetMetadata + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class Reference + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class SearchReferenceSetsRequest + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class SetIamPolicyRequest + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class MergeVariantsRequest + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class Read + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class BatchCreateAnnotationsRequest + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class CigarUnit + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class ReferenceSet + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class Transcript + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class AnnotationSet + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class Experiment + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class ListDatasetsResponse + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class TestIamPermissionsRequest + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class ExportReadGroupSetRequest + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class Exon + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class CallSet + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + class SearchAnnotationSetsResponse class Representation < Google::Apis::Core::JsonRepresentation; end @@ -149,321 +467,595 @@ module Google end class Entry - class Representation < Google::Apis::Core::JsonRepresentation; end + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :status, as: 'status', class: Google::Apis::GenomicsV1::Status, decorator: Google::Apis::GenomicsV1::Status::Representation - include Google::Apis::Core::JsonObjectSupport + property :annotation, as: 'annotation', class: Google::Apis::GenomicsV1::Annotation, decorator: Google::Apis::GenomicsV1::Annotation::Representation + + end end class Position - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :position, :numeric_string => true, as: 'position' + property :reference_name, as: 'referenceName' + property :reverse_strand, as: 'reverseStrand' + end end class SearchReferenceSetsResponse - class Representation < Google::Apis::Core::JsonRepresentation; end + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :next_page_token, as: 'nextPageToken' + collection :reference_sets, as: 'referenceSets', class: Google::Apis::GenomicsV1::ReferenceSet, decorator: Google::Apis::GenomicsV1::ReferenceSet::Representation - include Google::Apis::Core::JsonObjectSupport + end end class SearchCallSetsRequest - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :name, as: 'name' + property :page_token, as: 'pageToken' + property :page_size, as: 'pageSize' + collection :variant_set_ids, as: 'variantSetIds' + end end class ImportReadGroupSetsRequest - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :source_uris, as: 'sourceUris' + property :reference_set_id, as: 'referenceSetId' + property :partition_strategy, as: 'partitionStrategy' + property :dataset_id, as: 'datasetId' + end end class Policy - class Representation < Google::Apis::Core::JsonRepresentation; end + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :etag, :base64 => true, as: 'etag' + property :version, as: 'version' + collection :bindings, as: 'bindings', class: Google::Apis::GenomicsV1::Binding, decorator: Google::Apis::GenomicsV1::Binding::Representation - include Google::Apis::Core::JsonObjectSupport - end - - class SearchReadsRequest - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class CancelOperationRequest - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport + end end class Annotation - class Representation < Google::Apis::Core::JsonRepresentation; end + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :start, :numeric_string => true, as: 'start' + property :annotation_set_id, as: 'annotationSetId' + property :name, as: 'name' + property :variant, as: 'variant', class: Google::Apis::GenomicsV1::VariantAnnotation, decorator: Google::Apis::GenomicsV1::VariantAnnotation::Representation - include Google::Apis::Core::JsonObjectSupport + property :id, as: 'id' + property :reference_id, as: 'referenceId' + property :reverse_strand, as: 'reverseStrand' + property :reference_name, as: 'referenceName' + property :type, as: 'type' + hash :info, as: 'info', :class => Array do + include Representable::JSON::Collection + items + end + + property :end, :numeric_string => true, as: 'end' + property :transcript, as: 'transcript', class: Google::Apis::GenomicsV1::Transcript, decorator: Google::Apis::GenomicsV1::Transcript::Representation + + end + end + + class CancelOperationRequest + # @private + class Representation < Google::Apis::Core::JsonRepresentation + end + end + + class SearchReadsRequest + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :start, :numeric_string => true, as: 'start' + property :reference_name, as: 'referenceName' + collection :read_group_set_ids, as: 'readGroupSetIds' + collection :read_group_ids, as: 'readGroupIds' + property :end, :numeric_string => true, as: 'end' + property :page_token, as: 'pageToken' + property :page_size, as: 'pageSize' + end end class RuntimeMetadata - class Representation < Google::Apis::Core::JsonRepresentation; end + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :compute_engine, as: 'computeEngine', class: Google::Apis::GenomicsV1::ComputeEngine, decorator: Google::Apis::GenomicsV1::ComputeEngine::Representation - include Google::Apis::Core::JsonObjectSupport + end end class Operation - class Representation < Google::Apis::Core::JsonRepresentation; end + # @private + class Representation < Google::Apis::Core::JsonRepresentation + hash :response, as: 'response' + property :name, as: 'name' + property :error, as: 'error', class: Google::Apis::GenomicsV1::Status, decorator: Google::Apis::GenomicsV1::Status::Representation - include Google::Apis::Core::JsonObjectSupport + hash :metadata, as: 'metadata' + property :done, as: 'done' + end end class ImportReadGroupSetsResponse - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :read_group_set_ids, as: 'readGroupSetIds' + end end class VariantCall - class Representation < Google::Apis::Core::JsonRepresentation; end + # @private + class Representation < Google::Apis::Core::JsonRepresentation + hash :info, as: 'info', :class => Array do + include Representable::JSON::Collection + items + end - include Google::Apis::Core::JsonObjectSupport + property :call_set_name, as: 'callSetName' + collection :genotype_likelihood, as: 'genotypeLikelihood' + property :call_set_id, as: 'callSetId' + collection :genotype, as: 'genotype' + property :phaseset, as: 'phaseset' + end end class SearchVariantsResponse - class Representation < Google::Apis::Core::JsonRepresentation; end + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :variants, as: 'variants', class: Google::Apis::GenomicsV1::Variant, decorator: Google::Apis::GenomicsV1::Variant::Representation - include Google::Apis::Core::JsonObjectSupport + property :next_page_token, as: 'nextPageToken' + end end class ListBasesResponse - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :sequence, as: 'sequence' + property :offset, :numeric_string => true, as: 'offset' + property :next_page_token, as: 'nextPageToken' + end end class Status - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :details, as: 'details' + property :code, as: 'code' + property :message, as: 'message' + end end class Binding - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :members, as: 'members' + property :role, as: 'role' + end end class UndeleteDatasetRequest - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport + # @private + class Representation < Google::Apis::Core::JsonRepresentation + end end class Range - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :reference_name, as: 'referenceName' + property :start, :numeric_string => true, as: 'start' + property :end, :numeric_string => true, as: 'end' + end end class VariantSet - class Representation < Google::Apis::Core::JsonRepresentation; end + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :metadata, as: 'metadata', class: Google::Apis::GenomicsV1::VariantSetMetadata, decorator: Google::Apis::GenomicsV1::VariantSetMetadata::Representation - include Google::Apis::Core::JsonObjectSupport - end + collection :reference_bounds, as: 'referenceBounds', class: Google::Apis::GenomicsV1::ReferenceBound, decorator: Google::Apis::GenomicsV1::ReferenceBound::Representation - class BatchCreateAnnotationsResponse - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport + property :id, as: 'id' + property :description, as: 'description' + property :dataset_id, as: 'datasetId' + property :name, as: 'name' + property :reference_set_id, as: 'referenceSetId' + end end class ReferenceBound - class Representation < Google::Apis::Core::JsonRepresentation; end + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :reference_name, as: 'referenceName' + property :upper_bound, :numeric_string => true, as: 'upperBound' + end + end - include Google::Apis::Core::JsonObjectSupport + class BatchCreateAnnotationsResponse + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :entries, as: 'entries', class: Google::Apis::GenomicsV1::Entry, decorator: Google::Apis::GenomicsV1::Entry::Representation + + end end class ListOperationsResponse - class Representation < Google::Apis::Core::JsonRepresentation; end + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :operations, as: 'operations', class: Google::Apis::GenomicsV1::Operation, decorator: Google::Apis::GenomicsV1::Operation::Representation - include Google::Apis::Core::JsonObjectSupport + property :next_page_token, as: 'nextPageToken' + end end class Variant - class Representation < Google::Apis::Core::JsonRepresentation; end + # @private + class Representation < Google::Apis::Core::JsonRepresentation + hash :info, as: 'info', :class => Array do + include Representable::JSON::Collection + items + end - include Google::Apis::Core::JsonObjectSupport + property :reference_bases, as: 'referenceBases' + collection :alternate_bases, as: 'alternateBases' + collection :names, as: 'names' + property :end, :numeric_string => true, as: 'end' + collection :filter, as: 'filter' + collection :calls, as: 'calls', class: Google::Apis::GenomicsV1::VariantCall, decorator: Google::Apis::GenomicsV1::VariantCall::Representation + + property :created, :numeric_string => true, as: 'created' + property :start, :numeric_string => true, as: 'start' + property :quality, as: 'quality' + property :id, as: 'id' + property :variant_set_id, as: 'variantSetId' + property :reference_name, as: 'referenceName' + end end class SearchCallSetsResponse - class Representation < Google::Apis::Core::JsonRepresentation; end + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :next_page_token, as: 'nextPageToken' + collection :call_sets, as: 'callSets', class: Google::Apis::GenomicsV1::CallSet, decorator: Google::Apis::GenomicsV1::CallSet::Representation - include Google::Apis::Core::JsonObjectSupport - end - - class SearchVariantsRequest - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport + end end class OperationMetadata - class Representation < Google::Apis::Core::JsonRepresentation; end + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :project_id, as: 'projectId' + property :client_id, as: 'clientId' + property :end_time, as: 'endTime' + collection :events, as: 'events', class: Google::Apis::GenomicsV1::OperationEvent, decorator: Google::Apis::GenomicsV1::OperationEvent::Representation - include Google::Apis::Core::JsonObjectSupport + property :start_time, as: 'startTime' + hash :request, as: 'request' + hash :runtime_metadata, as: 'runtimeMetadata' + hash :labels, as: 'labels' + property :create_time, as: 'createTime' + end + end + + class SearchVariantsRequest + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :reference_name, as: 'referenceName' + collection :variant_set_ids, as: 'variantSetIds' + property :end, :numeric_string => true, as: 'end' + property :page_token, as: 'pageToken' + property :max_calls, as: 'maxCalls' + property :page_size, as: 'pageSize' + collection :call_set_ids, as: 'callSetIds' + property :variant_name, as: 'variantName' + property :start, :numeric_string => true, as: 'start' + end end class SearchReadGroupSetsRequest - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :name, as: 'name' + property :page_token, as: 'pageToken' + property :page_size, as: 'pageSize' + collection :dataset_ids, as: 'datasetIds' + end end class SearchAnnotationsResponse - class Representation < Google::Apis::Core::JsonRepresentation; end + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :next_page_token, as: 'nextPageToken' + collection :annotations, as: 'annotations', class: Google::Apis::GenomicsV1::Annotation, decorator: Google::Apis::GenomicsV1::Annotation::Representation - include Google::Apis::Core::JsonObjectSupport - end - - class SearchReadsResponse - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport + end end class ClinicalCondition - class Representation < Google::Apis::Core::JsonRepresentation; end + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :omim_id, as: 'omimId' + collection :external_ids, as: 'externalIds', class: Google::Apis::GenomicsV1::ExternalId, decorator: Google::Apis::GenomicsV1::ExternalId::Representation - include Google::Apis::Core::JsonObjectSupport + property :concept_id, as: 'conceptId' + collection :names, as: 'names' + end + end + + class SearchReadsResponse + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :next_page_token, as: 'nextPageToken' + collection :alignments, as: 'alignments', class: Google::Apis::GenomicsV1::Read, decorator: Google::Apis::GenomicsV1::Read::Representation + + end end class Program - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class CoverageBucket - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :command_line, as: 'commandLine' + property :prev_program_id, as: 'prevProgramId' + property :id, as: 'id' + property :version, as: 'version' + property :name, as: 'name' + end end class ComputeEngine - class Representation < Google::Apis::Core::JsonRepresentation; end + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :machine_type, as: 'machineType' + collection :disk_names, as: 'diskNames' + property :instance_name, as: 'instanceName' + property :zone, as: 'zone' + end + end - include Google::Apis::Core::JsonObjectSupport + class CoverageBucket + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :range, as: 'range', class: Google::Apis::GenomicsV1::Range, decorator: Google::Apis::GenomicsV1::Range::Representation + + property :mean_coverage, as: 'meanCoverage' + end end class ExternalId - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class Reference - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class VariantSetMetadata - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :id, as: 'id' + property :source_name, as: 'sourceName' + end end class SearchVariantSetsRequest - class Representation < Google::Apis::Core::JsonRepresentation; end + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :page_token, as: 'pageToken' + property :page_size, as: 'pageSize' + collection :dataset_ids, as: 'datasetIds' + end + end - include Google::Apis::Core::JsonObjectSupport + class VariantSetMetadata + # @private + class Representation < Google::Apis::Core::JsonRepresentation + hash :info, as: 'info', :class => Array do + include Representable::JSON::Collection + items + end + + property :type, as: 'type' + property :value, as: 'value' + property :id, as: 'id' + property :number, as: 'number' + property :key, as: 'key' + property :description, as: 'description' + end + end + + class Reference + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :source_accessions, as: 'sourceAccessions' + property :ncbi_taxon_id, as: 'ncbiTaxonId' + property :source_uri, as: 'sourceUri' + property :name, as: 'name' + property :md5checksum, as: 'md5checksum' + property :id, as: 'id' + property :length, :numeric_string => true, as: 'length' + end end class SearchReferenceSetsRequest - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :assembly_id, as: 'assemblyId' + collection :md5checksums, as: 'md5checksums' + collection :accessions, as: 'accessions' + property :page_token, as: 'pageToken' + property :page_size, as: 'pageSize' + end end class SetIamPolicyRequest - class Representation < Google::Apis::Core::JsonRepresentation; end + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :policy, as: 'policy', class: Google::Apis::GenomicsV1::Policy, decorator: Google::Apis::GenomicsV1::Policy::Representation - include Google::Apis::Core::JsonObjectSupport + end end class MergeVariantsRequest - class Representation < Google::Apis::Core::JsonRepresentation; end + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :variants, as: 'variants', class: Google::Apis::GenomicsV1::Variant, decorator: Google::Apis::GenomicsV1::Variant::Representation - include Google::Apis::Core::JsonObjectSupport + hash :info_merge_config, as: 'infoMergeConfig' + property :variant_set_id, as: 'variantSetId' + end end class Read - class Representation < Google::Apis::Core::JsonRepresentation; end + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :duplicate_fragment, as: 'duplicateFragment' + property :read_number, as: 'readNumber' + property :read_group_id, as: 'readGroupId' + property :aligned_sequence, as: 'alignedSequence' + hash :info, as: 'info', :class => Array do + include Representable::JSON::Collection + items + end - include Google::Apis::Core::JsonObjectSupport + property :next_mate_position, as: 'nextMatePosition', class: Google::Apis::GenomicsV1::Position, decorator: Google::Apis::GenomicsV1::Position::Representation + + property :supplementary_alignment, as: 'supplementaryAlignment' + property :proper_placement, as: 'properPlacement' + property :fragment_length, as: 'fragmentLength' + property :failed_vendor_quality_checks, as: 'failedVendorQualityChecks' + collection :aligned_quality, as: 'alignedQuality' + property :alignment, as: 'alignment', class: Google::Apis::GenomicsV1::LinearAlignment, decorator: Google::Apis::GenomicsV1::LinearAlignment::Representation + + property :id, as: 'id' + property :number_reads, as: 'numberReads' + property :secondary_alignment, as: 'secondaryAlignment' + property :fragment_name, as: 'fragmentName' + property :read_group_set_id, as: 'readGroupSetId' + end end class BatchCreateAnnotationsRequest - class Representation < Google::Apis::Core::JsonRepresentation; end + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :annotations, as: 'annotations', class: Google::Apis::GenomicsV1::Annotation, decorator: Google::Apis::GenomicsV1::Annotation::Representation - include Google::Apis::Core::JsonObjectSupport - end - - class ReferenceSet - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport + property :request_id, as: 'requestId' + end end class CigarUnit - class Representation < Google::Apis::Core::JsonRepresentation; end + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :reference_sequence, as: 'referenceSequence' + property :operation_length, :numeric_string => true, as: 'operationLength' + property :operation, as: 'operation' + end + end - include Google::Apis::Core::JsonObjectSupport + class ReferenceSet + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :source_uri, as: 'sourceUri' + property :ncbi_taxon_id, as: 'ncbiTaxonId' + collection :reference_ids, as: 'referenceIds' + property :assembly_id, as: 'assemblyId' + property :md5checksum, as: 'md5checksum' + property :id, as: 'id' + property :description, as: 'description' + collection :source_accessions, as: 'sourceAccessions' + end end class Transcript - class Representation < Google::Apis::Core::JsonRepresentation; end + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :gene_id, as: 'geneId' + collection :exons, as: 'exons', class: Google::Apis::GenomicsV1::Exon, decorator: Google::Apis::GenomicsV1::Exon::Representation - include Google::Apis::Core::JsonObjectSupport + property :coding_sequence, as: 'codingSequence', class: Google::Apis::GenomicsV1::CodingSequence, decorator: Google::Apis::GenomicsV1::CodingSequence::Representation + + end end class AnnotationSet - class Representation < Google::Apis::Core::JsonRepresentation; end + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :source_uri, as: 'sourceUri' + property :dataset_id, as: 'datasetId' + property :name, as: 'name' + property :reference_set_id, as: 'referenceSetId' + property :type, as: 'type' + hash :info, as: 'info', :class => Array do + include Representable::JSON::Collection + items + end - include Google::Apis::Core::JsonObjectSupport + property :id, as: 'id' + end end class Experiment - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :platform_unit, as: 'platformUnit' + property :library_id, as: 'libraryId' + property :instrument_model, as: 'instrumentModel' + property :sequencing_center, as: 'sequencingCenter' + end end class ListDatasetsResponse - class Representation < Google::Apis::Core::JsonRepresentation; end + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :datasets, as: 'datasets', class: Google::Apis::GenomicsV1::Dataset, decorator: Google::Apis::GenomicsV1::Dataset::Representation - include Google::Apis::Core::JsonObjectSupport + property :next_page_token, as: 'nextPageToken' + end end class TestIamPermissionsRequest - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :permissions, as: 'permissions' + end end class ExportReadGroupSetRequest - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :project_id, as: 'projectId' + property :export_uri, as: 'exportUri' + collection :reference_names, as: 'referenceNames' + end end class Exon - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :start, :numeric_string => true, as: 'start' + property :end, :numeric_string => true, as: 'end' + property :frame, as: 'frame' + end end class CallSet - class Representation < Google::Apis::Core::JsonRepresentation; end + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :name, as: 'name' + hash :info, as: 'info', :class => Array do + include Representable::JSON::Collection + items + end - include Google::Apis::Core::JsonObjectSupport + collection :variant_set_ids, as: 'variantSetIds' + property :id, as: 'id' + property :created, :numeric_string => true, as: 'created' + property :sample_id, as: 'sampleId' + end end class SearchAnnotationSetsResponse @@ -489,14 +1081,14 @@ module Google class VariantAnnotation # @private class Representation < Google::Apis::Core::JsonRepresentation + collection :conditions, as: 'conditions', class: Google::Apis::GenomicsV1::ClinicalCondition, decorator: Google::Apis::GenomicsV1::ClinicalCondition::Representation + + property :effect, as: 'effect' collection :transcript_ids, as: 'transcriptIds' property :type, as: 'type' property :alternate_bases, as: 'alternateBases' property :gene_id, as: 'geneId' property :clinical_significance, as: 'clinicalSignificance' - collection :conditions, as: 'conditions', class: Google::Apis::GenomicsV1::ClinicalCondition, decorator: Google::Apis::GenomicsV1::ClinicalCondition::Representation - - property :effect, as: 'effect' end end @@ -504,7 +1096,7 @@ module Google # @private class Representation < Google::Apis::Core::JsonRepresentation property :next_page_token, as: 'nextPageToken' - property :bucket_width, as: 'bucketWidth' + property :bucket_width, :numeric_string => true, as: 'bucketWidth' collection :coverage_buckets, as: 'coverageBuckets', class: Google::Apis::GenomicsV1::CoverageBucket, decorator: Google::Apis::GenomicsV1::CoverageBucket::Representation end @@ -513,41 +1105,41 @@ module Google class ExportVariantSetRequest # @private class Representation < Google::Apis::Core::JsonRepresentation + collection :call_set_ids, as: 'callSetIds' + property :project_id, as: 'projectId' property :format, as: 'format' property :bigquery_dataset, as: 'bigqueryDataset' property :bigquery_table, as: 'bigqueryTable' - collection :call_set_ids, as: 'callSetIds' - property :project_id, as: 'projectId' end end class SearchAnnotationsRequest # @private class Representation < Google::Apis::Core::JsonRepresentation + property :reference_id, as: 'referenceId' + property :end, :numeric_string => true, as: 'end' + property :page_token, as: 'pageToken' property :page_size, as: 'pageSize' - property :start, as: 'start' + property :start, :numeric_string => true, as: 'start' collection :annotation_set_ids, as: 'annotationSetIds' property :reference_name, as: 'referenceName' - property :reference_id, as: 'referenceId' - property :end, as: 'end' - property :page_token, as: 'pageToken' end end class OperationEvent # @private class Representation < Google::Apis::Core::JsonRepresentation - property :description, as: 'description' property :end_time, as: 'endTime' property :start_time, as: 'startTime' + property :description, as: 'description' end end class CodingSequence # @private class Representation < Google::Apis::Core::JsonRepresentation - property :start, as: 'start' - property :end, as: 'end' + property :start, :numeric_string => true, as: 'start' + property :end, :numeric_string => true, as: 'end' end end @@ -567,9 +1159,9 @@ module Google class SearchReferencesResponse # @private class Representation < Google::Apis::Core::JsonRepresentation - property :next_page_token, as: 'nextPageToken' collection :references, as: 'references', class: Google::Apis::GenomicsV1::Reference, decorator: Google::Apis::GenomicsV1::Reference::Representation + property :next_page_token, as: 'nextPageToken' end end @@ -597,11 +1189,11 @@ module Google class LinearAlignment # @private class Representation < Google::Apis::Core::JsonRepresentation + property :mapping_quality, as: 'mappingQuality' property :position, as: 'position', class: Google::Apis::GenomicsV1::Position, decorator: Google::Apis::GenomicsV1::Position::Representation collection :cigar, as: 'cigar', class: Google::Apis::GenomicsV1::CigarUnit, decorator: Google::Apis::GenomicsV1::CigarUnit::Representation - property :mapping_quality, as: 'mappingQuality' end end @@ -636,10 +1228,9 @@ module Google class ReadGroup # @private class Representation < Google::Apis::Core::JsonRepresentation - property :id, as: 'id' + property :predicted_insert_size, as: 'predictedInsertSize' collection :programs, as: 'programs', class: Google::Apis::GenomicsV1::Program, decorator: Google::Apis::GenomicsV1::Program::Representation - property :predicted_insert_size, as: 'predictedInsertSize' property :description, as: 'description' property :sample_id, as: 'sampleId' property :dataset_id, as: 'datasetId' @@ -652,16 +1243,16 @@ module Google items end + property :id, as: 'id' end end class ReadGroupSet # @private class Representation < Google::Apis::Core::JsonRepresentation - property :dataset_id, as: 'datasetId' - property :filename, as: 'filename' collection :read_groups, as: 'readGroups', class: Google::Apis::GenomicsV1::ReadGroup, decorator: Google::Apis::GenomicsV1::ReadGroup::Representation + property :filename, as: 'filename' property :name, as: 'name' property :reference_set_id, as: 'referenceSetId' hash :info, as: 'info', :class => Array do @@ -670,15 +1261,16 @@ module Google end property :id, as: 'id' + property :dataset_id, as: 'datasetId' end end class SearchVariantSetsResponse # @private class Representation < Google::Apis::Core::JsonRepresentation + property :next_page_token, as: 'nextPageToken' collection :variant_sets, as: 'variantSets', class: Google::Apis::GenomicsV1::VariantSet, decorator: Google::Apis::GenomicsV1::VariantSet::Representation - property :next_page_token, as: 'nextPageToken' end end @@ -687,598 +1279,6 @@ module Google class Representation < Google::Apis::Core::JsonRepresentation end end - - class Entry - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :status, as: 'status', class: Google::Apis::GenomicsV1::Status, decorator: Google::Apis::GenomicsV1::Status::Representation - - property :annotation, as: 'annotation', class: Google::Apis::GenomicsV1::Annotation, decorator: Google::Apis::GenomicsV1::Annotation::Representation - - end - end - - class Position - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :position, as: 'position' - property :reference_name, as: 'referenceName' - property :reverse_strand, as: 'reverseStrand' - end - end - - class SearchReferenceSetsResponse - # @private - class Representation < Google::Apis::Core::JsonRepresentation - collection :reference_sets, as: 'referenceSets', class: Google::Apis::GenomicsV1::ReferenceSet, decorator: Google::Apis::GenomicsV1::ReferenceSet::Representation - - property :next_page_token, as: 'nextPageToken' - end - end - - class SearchCallSetsRequest - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :name, as: 'name' - property :page_token, as: 'pageToken' - property :page_size, as: 'pageSize' - collection :variant_set_ids, as: 'variantSetIds' - end - end - - class ImportReadGroupSetsRequest - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :reference_set_id, as: 'referenceSetId' - property :partition_strategy, as: 'partitionStrategy' - property :dataset_id, as: 'datasetId' - collection :source_uris, as: 'sourceUris' - end - end - - class Policy - # @private - class Representation < Google::Apis::Core::JsonRepresentation - collection :bindings, as: 'bindings', class: Google::Apis::GenomicsV1::Binding, decorator: Google::Apis::GenomicsV1::Binding::Representation - - property :etag, :base64 => true, as: 'etag' - property :version, as: 'version' - end - end - - class SearchReadsRequest - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :reference_name, as: 'referenceName' - collection :read_group_set_ids, as: 'readGroupSetIds' - collection :read_group_ids, as: 'readGroupIds' - property :end, as: 'end' - property :page_token, as: 'pageToken' - property :page_size, as: 'pageSize' - property :start, as: 'start' - end - end - - class CancelOperationRequest - # @private - class Representation < Google::Apis::Core::JsonRepresentation - end - end - - class Annotation - # @private - class Representation < Google::Apis::Core::JsonRepresentation - hash :info, as: 'info', :class => Array do - include Representable::JSON::Collection - items - end - - property :type, as: 'type' - property :end, as: 'end' - property :transcript, as: 'transcript', class: Google::Apis::GenomicsV1::Transcript, decorator: Google::Apis::GenomicsV1::Transcript::Representation - - property :start, as: 'start' - property :annotation_set_id, as: 'annotationSetId' - property :name, as: 'name' - property :variant, as: 'variant', class: Google::Apis::GenomicsV1::VariantAnnotation, decorator: Google::Apis::GenomicsV1::VariantAnnotation::Representation - - property :reference_id, as: 'referenceId' - property :id, as: 'id' - property :reverse_strand, as: 'reverseStrand' - property :reference_name, as: 'referenceName' - end - end - - class RuntimeMetadata - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :compute_engine, as: 'computeEngine', class: Google::Apis::GenomicsV1::ComputeEngine, decorator: Google::Apis::GenomicsV1::ComputeEngine::Representation - - end - end - - class Operation - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :error, as: 'error', class: Google::Apis::GenomicsV1::Status, decorator: Google::Apis::GenomicsV1::Status::Representation - - hash :metadata, as: 'metadata' - property :done, as: 'done' - hash :response, as: 'response' - property :name, as: 'name' - end - end - - class ImportReadGroupSetsResponse - # @private - class Representation < Google::Apis::Core::JsonRepresentation - collection :read_group_set_ids, as: 'readGroupSetIds' - end - end - - class VariantCall - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :call_set_name, as: 'callSetName' - collection :genotype_likelihood, as: 'genotypeLikelihood' - property :call_set_id, as: 'callSetId' - collection :genotype, as: 'genotype' - property :phaseset, as: 'phaseset' - hash :info, as: 'info', :class => Array do - include Representable::JSON::Collection - items - end - - end - end - - class SearchVariantsResponse - # @private - class Representation < Google::Apis::Core::JsonRepresentation - collection :variants, as: 'variants', class: Google::Apis::GenomicsV1::Variant, decorator: Google::Apis::GenomicsV1::Variant::Representation - - property :next_page_token, as: 'nextPageToken' - end - end - - class ListBasesResponse - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :sequence, as: 'sequence' - property :offset, as: 'offset' - property :next_page_token, as: 'nextPageToken' - end - end - - class Status - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :code, as: 'code' - property :message, as: 'message' - collection :details, as: 'details' - end - end - - class Binding - # @private - class Representation < Google::Apis::Core::JsonRepresentation - collection :members, as: 'members' - property :role, as: 'role' - end - end - - class UndeleteDatasetRequest - # @private - class Representation < Google::Apis::Core::JsonRepresentation - end - end - - class Range - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :reference_name, as: 'referenceName' - property :start, as: 'start' - property :end, as: 'end' - end - end - - class VariantSet - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :name, as: 'name' - property :reference_set_id, as: 'referenceSetId' - collection :metadata, as: 'metadata', class: Google::Apis::GenomicsV1::VariantSetMetadata, decorator: Google::Apis::GenomicsV1::VariantSetMetadata::Representation - - collection :reference_bounds, as: 'referenceBounds', class: Google::Apis::GenomicsV1::ReferenceBound, decorator: Google::Apis::GenomicsV1::ReferenceBound::Representation - - property :id, as: 'id' - property :description, as: 'description' - property :dataset_id, as: 'datasetId' - end - end - - class BatchCreateAnnotationsResponse - # @private - class Representation < Google::Apis::Core::JsonRepresentation - collection :entries, as: 'entries', class: Google::Apis::GenomicsV1::Entry, decorator: Google::Apis::GenomicsV1::Entry::Representation - - end - end - - class ReferenceBound - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :reference_name, as: 'referenceName' - property :upper_bound, as: 'upperBound' - end - end - - class ListOperationsResponse - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :next_page_token, as: 'nextPageToken' - collection :operations, as: 'operations', class: Google::Apis::GenomicsV1::Operation, decorator: Google::Apis::GenomicsV1::Operation::Representation - - end - end - - class Variant - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :variant_set_id, as: 'variantSetId' - property :reference_name, as: 'referenceName' - hash :info, as: 'info', :class => Array do - include Representable::JSON::Collection - items - end - - property :reference_bases, as: 'referenceBases' - collection :alternate_bases, as: 'alternateBases' - collection :names, as: 'names' - collection :filter, as: 'filter' - property :end, as: 'end' - collection :calls, as: 'calls', class: Google::Apis::GenomicsV1::VariantCall, decorator: Google::Apis::GenomicsV1::VariantCall::Representation - - property :created, as: 'created' - property :start, as: 'start' - property :quality, as: 'quality' - property :id, as: 'id' - end - end - - class SearchCallSetsResponse - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :next_page_token, as: 'nextPageToken' - collection :call_sets, as: 'callSets', class: Google::Apis::GenomicsV1::CallSet, decorator: Google::Apis::GenomicsV1::CallSet::Representation - - end - end - - class SearchVariantsRequest - # @private - class Representation < Google::Apis::Core::JsonRepresentation - collection :variant_set_ids, as: 'variantSetIds' - property :end, as: 'end' - property :max_calls, as: 'maxCalls' - property :page_token, as: 'pageToken' - property :page_size, as: 'pageSize' - collection :call_set_ids, as: 'callSetIds' - property :start, as: 'start' - property :variant_name, as: 'variantName' - property :reference_name, as: 'referenceName' - end - end - - class OperationMetadata - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :project_id, as: 'projectId' - property :client_id, as: 'clientId' - property :end_time, as: 'endTime' - collection :events, as: 'events', class: Google::Apis::GenomicsV1::OperationEvent, decorator: Google::Apis::GenomicsV1::OperationEvent::Representation - - property :start_time, as: 'startTime' - hash :request, as: 'request' - hash :runtime_metadata, as: 'runtimeMetadata' - hash :labels, as: 'labels' - property :create_time, as: 'createTime' - end - end - - class SearchReadGroupSetsRequest - # @private - class Representation < Google::Apis::Core::JsonRepresentation - collection :dataset_ids, as: 'datasetIds' - property :name, as: 'name' - property :page_token, as: 'pageToken' - property :page_size, as: 'pageSize' - end - end - - class SearchAnnotationsResponse - # @private - class Representation < Google::Apis::Core::JsonRepresentation - collection :annotations, as: 'annotations', class: Google::Apis::GenomicsV1::Annotation, decorator: Google::Apis::GenomicsV1::Annotation::Representation - - property :next_page_token, as: 'nextPageToken' - end - end - - class SearchReadsResponse - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :next_page_token, as: 'nextPageToken' - collection :alignments, as: 'alignments', class: Google::Apis::GenomicsV1::Read, decorator: Google::Apis::GenomicsV1::Read::Representation - - end - end - - class ClinicalCondition - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :omim_id, as: 'omimId' - collection :external_ids, as: 'externalIds', class: Google::Apis::GenomicsV1::ExternalId, decorator: Google::Apis::GenomicsV1::ExternalId::Representation - - property :concept_id, as: 'conceptId' - collection :names, as: 'names' - end - end - - class Program - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :name, as: 'name' - property :command_line, as: 'commandLine' - property :prev_program_id, as: 'prevProgramId' - property :id, as: 'id' - property :version, as: 'version' - end - end - - class CoverageBucket - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :range, as: 'range', class: Google::Apis::GenomicsV1::Range, decorator: Google::Apis::GenomicsV1::Range::Representation - - property :mean_coverage, as: 'meanCoverage' - end - end - - class ComputeEngine - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :machine_type, as: 'machineType' - collection :disk_names, as: 'diskNames' - property :instance_name, as: 'instanceName' - property :zone, as: 'zone' - end - end - - class ExternalId - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :source_name, as: 'sourceName' - property :id, as: 'id' - end - end - - class Reference - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :ncbi_taxon_id, as: 'ncbiTaxonId' - property :source_uri, as: 'sourceUri' - property :name, as: 'name' - property :md5checksum, as: 'md5checksum' - property :id, as: 'id' - property :length, as: 'length' - collection :source_accessions, as: 'sourceAccessions' - end - end - - class VariantSetMetadata - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :number, as: 'number' - property :value, as: 'value' - property :id, as: 'id' - property :key, as: 'key' - property :description, as: 'description' - hash :info, as: 'info', :class => Array do - include Representable::JSON::Collection - items - end - - property :type, as: 'type' - end - end - - class SearchVariantSetsRequest - # @private - class Representation < Google::Apis::Core::JsonRepresentation - collection :dataset_ids, as: 'datasetIds' - property :page_token, as: 'pageToken' - property :page_size, as: 'pageSize' - end - end - - class SearchReferenceSetsRequest - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :page_size, as: 'pageSize' - property :assembly_id, as: 'assemblyId' - collection :md5checksums, as: 'md5checksums' - collection :accessions, as: 'accessions' - property :page_token, as: 'pageToken' - end - end - - class SetIamPolicyRequest - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :policy, as: 'policy', class: Google::Apis::GenomicsV1::Policy, decorator: Google::Apis::GenomicsV1::Policy::Representation - - end - end - - class MergeVariantsRequest - # @private - class Representation < Google::Apis::Core::JsonRepresentation - collection :variants, as: 'variants', class: Google::Apis::GenomicsV1::Variant, decorator: Google::Apis::GenomicsV1::Variant::Representation - - hash :info_merge_config, as: 'infoMergeConfig' - property :variant_set_id, as: 'variantSetId' - end - end - - class Read - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :read_group_set_id, as: 'readGroupSetId' - property :duplicate_fragment, as: 'duplicateFragment' - property :read_number, as: 'readNumber' - property :aligned_sequence, as: 'alignedSequence' - property :read_group_id, as: 'readGroupId' - property :next_mate_position, as: 'nextMatePosition', class: Google::Apis::GenomicsV1::Position, decorator: Google::Apis::GenomicsV1::Position::Representation - - hash :info, as: 'info', :class => Array do - include Representable::JSON::Collection - items - end - - property :proper_placement, as: 'properPlacement' - property :supplementary_alignment, as: 'supplementaryAlignment' - property :fragment_length, as: 'fragmentLength' - property :failed_vendor_quality_checks, as: 'failedVendorQualityChecks' - collection :aligned_quality, as: 'alignedQuality' - property :alignment, as: 'alignment', class: Google::Apis::GenomicsV1::LinearAlignment, decorator: Google::Apis::GenomicsV1::LinearAlignment::Representation - - property :number_reads, as: 'numberReads' - property :id, as: 'id' - property :secondary_alignment, as: 'secondaryAlignment' - property :fragment_name, as: 'fragmentName' - end - end - - class BatchCreateAnnotationsRequest - # @private - class Representation < Google::Apis::Core::JsonRepresentation - collection :annotations, as: 'annotations', class: Google::Apis::GenomicsV1::Annotation, decorator: Google::Apis::GenomicsV1::Annotation::Representation - - property :request_id, as: 'requestId' - end - end - - class ReferenceSet - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :ncbi_taxon_id, as: 'ncbiTaxonId' - property :source_uri, as: 'sourceUri' - collection :reference_ids, as: 'referenceIds' - property :assembly_id, as: 'assemblyId' - property :md5checksum, as: 'md5checksum' - property :id, as: 'id' - property :description, as: 'description' - collection :source_accessions, as: 'sourceAccessions' - end - end - - class CigarUnit - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :reference_sequence, as: 'referenceSequence' - property :operation_length, as: 'operationLength' - property :operation, as: 'operation' - end - end - - class Transcript - # @private - class Representation < Google::Apis::Core::JsonRepresentation - collection :exons, as: 'exons', class: Google::Apis::GenomicsV1::Exon, decorator: Google::Apis::GenomicsV1::Exon::Representation - - property :coding_sequence, as: 'codingSequence', class: Google::Apis::GenomicsV1::CodingSequence, decorator: Google::Apis::GenomicsV1::CodingSequence::Representation - - property :gene_id, as: 'geneId' - end - end - - class AnnotationSet - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :name, as: 'name' - property :reference_set_id, as: 'referenceSetId' - property :type, as: 'type' - hash :info, as: 'info', :class => Array do - include Representable::JSON::Collection - items - end - - property :id, as: 'id' - property :dataset_id, as: 'datasetId' - property :source_uri, as: 'sourceUri' - end - end - - class Experiment - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :sequencing_center, as: 'sequencingCenter' - property :platform_unit, as: 'platformUnit' - property :library_id, as: 'libraryId' - property :instrument_model, as: 'instrumentModel' - end - end - - class ListDatasetsResponse - # @private - class Representation < Google::Apis::Core::JsonRepresentation - collection :datasets, as: 'datasets', class: Google::Apis::GenomicsV1::Dataset, decorator: Google::Apis::GenomicsV1::Dataset::Representation - - property :next_page_token, as: 'nextPageToken' - end - end - - class TestIamPermissionsRequest - # @private - class Representation < Google::Apis::Core::JsonRepresentation - collection :permissions, as: 'permissions' - end - end - - class ExportReadGroupSetRequest - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :export_uri, as: 'exportUri' - collection :reference_names, as: 'referenceNames' - property :project_id, as: 'projectId' - end - end - - class Exon - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :start, as: 'start' - property :end, as: 'end' - property :frame, as: 'frame' - end - end - - class CallSet - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :name, as: 'name' - hash :info, as: 'info', :class => Array do - include Representable::JSON::Collection - items - end - - collection :variant_set_ids, as: 'variantSetIds' - property :id, as: 'id' - property :created, as: 'created' - property :sample_id, as: 'sampleId' - end - end end end end diff --git a/generated/google/apis/genomics_v1/service.rb b/generated/google/apis/genomics_v1/service.rb index e6f39e20a..14adfd075 100644 --- a/generated/google/apis/genomics_v1/service.rb +++ b/generated/google/apis/genomics_v1/service.rb @@ -44,648 +44,18 @@ module Google def initialize super('https://genomics.googleapis.com/', '') - end - - # Deletes a read group set. - # For the definitions of read group sets and other genomics resources, see - # [Fundamentals of Google - # Genomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics) - # @param [String] read_group_set_id - # The ID of the read group set to be deleted. The caller must have WRITE - # permissions to the dataset associated with this read group set. - # @param [String] quota_user - # Available to use for quota purposes for server-side applications. Can be any - # arbitrary string assigned to a user, but should not exceed 40 characters. - # @param [String] fields - # Selector specifying which fields to include in a partial response. - # @param [Google::Apis::RequestOptions] options - # Request-specific options - # - # @yield [result, err] Result & error if block supplied - # @yieldparam result [Google::Apis::GenomicsV1::Empty] parsed result object - # @yieldparam err [StandardError] error object if request failed - # - # @return [Google::Apis::GenomicsV1::Empty] - # - # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried - # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification - # @raise [Google::Apis::AuthorizationError] Authorization is required - def delete_read_group_set(read_group_set_id, quota_user: nil, fields: nil, options: nil, &block) - command = make_simple_command(:delete, 'v1/readgroupsets/{readGroupSetId}', options) - command.response_representation = Google::Apis::GenomicsV1::Empty::Representation - command.response_class = Google::Apis::GenomicsV1::Empty - command.params['readGroupSetId'] = read_group_set_id unless read_group_set_id.nil? - command.query['quotaUser'] = quota_user unless quota_user.nil? - command.query['fields'] = fields unless fields.nil? - execute_or_queue_command(command, &block) - end - - # Creates read group sets by asynchronously importing the provided - # information. - # For the definitions of read group sets and other genomics resources, see - # [Fundamentals of Google - # Genomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics) - # The caller must have WRITE permissions to the dataset. - # ## Notes on [BAM](https://samtools.github.io/hts-specs/SAMv1.pdf) import - # - Tags will be converted to strings - tag types are not preserved - # - Comments (`@CO`) in the input file header will not be preserved - # - Original header order of references (`@SQ`) will not be preserved - # - Any reverse stranded unmapped reads will be reverse complemented, and - # their qualities (also the "BQ" and "OQ" tags, if any) will be reversed - # - Unmapped reads will be stripped of positional information (reference name - # and position) - # @param [Google::Apis::GenomicsV1::ImportReadGroupSetsRequest] import_read_group_sets_request_object - # @param [String] quota_user - # Available to use for quota purposes for server-side applications. Can be any - # arbitrary string assigned to a user, but should not exceed 40 characters. - # @param [String] fields - # Selector specifying which fields to include in a partial response. - # @param [Google::Apis::RequestOptions] options - # Request-specific options - # - # @yield [result, err] Result & error if block supplied - # @yieldparam result [Google::Apis::GenomicsV1::Operation] parsed result object - # @yieldparam err [StandardError] error object if request failed - # - # @return [Google::Apis::GenomicsV1::Operation] - # - # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried - # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification - # @raise [Google::Apis::AuthorizationError] Authorization is required - def import_read_group_sets(import_read_group_sets_request_object = nil, quota_user: nil, fields: nil, options: nil, &block) - command = make_simple_command(:post, 'v1/readgroupsets:import', options) - command.request_representation = Google::Apis::GenomicsV1::ImportReadGroupSetsRequest::Representation - command.request_object = import_read_group_sets_request_object - command.response_representation = Google::Apis::GenomicsV1::Operation::Representation - command.response_class = Google::Apis::GenomicsV1::Operation - command.query['quotaUser'] = quota_user unless quota_user.nil? - command.query['fields'] = fields unless fields.nil? - execute_or_queue_command(command, &block) - end - - # Exports a read group set to a BAM file in Google Cloud Storage. - # For the definitions of read group sets and other genomics resources, see - # [Fundamentals of Google - # Genomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics) - # Note that currently there may be some differences between exported BAM - # files and the original BAM file at the time of import. See - # ImportReadGroupSets - # for caveats. - # @param [String] read_group_set_id - # Required. The ID of the read group set to export. The caller must have - # READ access to this read group set. - # @param [Google::Apis::GenomicsV1::ExportReadGroupSetRequest] export_read_group_set_request_object - # @param [String] quota_user - # Available to use for quota purposes for server-side applications. Can be any - # arbitrary string assigned to a user, but should not exceed 40 characters. - # @param [String] fields - # Selector specifying which fields to include in a partial response. - # @param [Google::Apis::RequestOptions] options - # Request-specific options - # - # @yield [result, err] Result & error if block supplied - # @yieldparam result [Google::Apis::GenomicsV1::Operation] parsed result object - # @yieldparam err [StandardError] error object if request failed - # - # @return [Google::Apis::GenomicsV1::Operation] - # - # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried - # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification - # @raise [Google::Apis::AuthorizationError] Authorization is required - def export_read_group_sets(read_group_set_id, export_read_group_set_request_object = nil, quota_user: nil, fields: nil, options: nil, &block) - command = make_simple_command(:post, 'v1/readgroupsets/{readGroupSetId}:export', options) - command.request_representation = Google::Apis::GenomicsV1::ExportReadGroupSetRequest::Representation - command.request_object = export_read_group_set_request_object - command.response_representation = Google::Apis::GenomicsV1::Operation::Representation - command.response_class = Google::Apis::GenomicsV1::Operation - command.params['readGroupSetId'] = read_group_set_id unless read_group_set_id.nil? - command.query['quotaUser'] = quota_user unless quota_user.nil? - command.query['fields'] = fields unless fields.nil? - execute_or_queue_command(command, &block) - end - - # Searches for read group sets matching the criteria. - # For the definitions of read group sets and other genomics resources, see - # [Fundamentals of Google - # Genomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics) - # Implements - # [GlobalAllianceApi.searchReadGroupSets](https://github.com/ga4gh/schemas/blob/ - # v0.5.1/src/main/resources/avro/readmethods.avdl#L135). - # @param [Google::Apis::GenomicsV1::SearchReadGroupSetsRequest] search_read_group_sets_request_object - # @param [String] quota_user - # Available to use for quota purposes for server-side applications. Can be any - # arbitrary string assigned to a user, but should not exceed 40 characters. - # @param [String] fields - # Selector specifying which fields to include in a partial response. - # @param [Google::Apis::RequestOptions] options - # Request-specific options - # - # @yield [result, err] Result & error if block supplied - # @yieldparam result [Google::Apis::GenomicsV1::SearchReadGroupSetsResponse] parsed result object - # @yieldparam err [StandardError] error object if request failed - # - # @return [Google::Apis::GenomicsV1::SearchReadGroupSetsResponse] - # - # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried - # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification - # @raise [Google::Apis::AuthorizationError] Authorization is required - def search_read_group_sets(search_read_group_sets_request_object = nil, quota_user: nil, fields: nil, options: nil, &block) - command = make_simple_command(:post, 'v1/readgroupsets/search', options) - command.request_representation = Google::Apis::GenomicsV1::SearchReadGroupSetsRequest::Representation - command.request_object = search_read_group_sets_request_object - command.response_representation = Google::Apis::GenomicsV1::SearchReadGroupSetsResponse::Representation - command.response_class = Google::Apis::GenomicsV1::SearchReadGroupSetsResponse - command.query['quotaUser'] = quota_user unless quota_user.nil? - command.query['fields'] = fields unless fields.nil? - execute_or_queue_command(command, &block) - end - - # Updates a read group set. - # For the definitions of read group sets and other genomics resources, see - # [Fundamentals of Google - # Genomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics) - # This method supports patch semantics. - # @param [String] read_group_set_id - # The ID of the read group set to be updated. The caller must have WRITE - # permissions to the dataset associated with this read group set. - # @param [Google::Apis::GenomicsV1::ReadGroupSet] read_group_set_object - # @param [String] update_mask - # An optional mask specifying which fields to update. Supported fields: - # * name. - # * referenceSetId. - # Leaving `updateMask` unset is equivalent to specifying all mutable - # fields. - # @param [String] quota_user - # Available to use for quota purposes for server-side applications. Can be any - # arbitrary string assigned to a user, but should not exceed 40 characters. - # @param [String] fields - # Selector specifying which fields to include in a partial response. - # @param [Google::Apis::RequestOptions] options - # Request-specific options - # - # @yield [result, err] Result & error if block supplied - # @yieldparam result [Google::Apis::GenomicsV1::ReadGroupSet] parsed result object - # @yieldparam err [StandardError] error object if request failed - # - # @return [Google::Apis::GenomicsV1::ReadGroupSet] - # - # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried - # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification - # @raise [Google::Apis::AuthorizationError] Authorization is required - def patch_read_group_set(read_group_set_id, read_group_set_object = nil, update_mask: nil, quota_user: nil, fields: nil, options: nil, &block) - command = make_simple_command(:patch, 'v1/readgroupsets/{readGroupSetId}', options) - command.request_representation = Google::Apis::GenomicsV1::ReadGroupSet::Representation - command.request_object = read_group_set_object - command.response_representation = Google::Apis::GenomicsV1::ReadGroupSet::Representation - command.response_class = Google::Apis::GenomicsV1::ReadGroupSet - command.params['readGroupSetId'] = read_group_set_id unless read_group_set_id.nil? - command.query['updateMask'] = update_mask unless update_mask.nil? - command.query['quotaUser'] = quota_user unless quota_user.nil? - command.query['fields'] = fields unless fields.nil? - execute_or_queue_command(command, &block) - end - - # Gets a read group set by ID. - # For the definitions of read group sets and other genomics resources, see - # [Fundamentals of Google - # Genomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics) - # @param [String] read_group_set_id - # The ID of the read group set. - # @param [String] quota_user - # Available to use for quota purposes for server-side applications. Can be any - # arbitrary string assigned to a user, but should not exceed 40 characters. - # @param [String] fields - # Selector specifying which fields to include in a partial response. - # @param [Google::Apis::RequestOptions] options - # Request-specific options - # - # @yield [result, err] Result & error if block supplied - # @yieldparam result [Google::Apis::GenomicsV1::ReadGroupSet] parsed result object - # @yieldparam err [StandardError] error object if request failed - # - # @return [Google::Apis::GenomicsV1::ReadGroupSet] - # - # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried - # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification - # @raise [Google::Apis::AuthorizationError] Authorization is required - def get_read_group_set(read_group_set_id, quota_user: nil, fields: nil, options: nil, &block) - command = make_simple_command(:get, 'v1/readgroupsets/{readGroupSetId}', options) - command.response_representation = Google::Apis::GenomicsV1::ReadGroupSet::Representation - command.response_class = Google::Apis::GenomicsV1::ReadGroupSet - command.params['readGroupSetId'] = read_group_set_id unless read_group_set_id.nil? - command.query['quotaUser'] = quota_user unless quota_user.nil? - command.query['fields'] = fields unless fields.nil? - execute_or_queue_command(command, &block) - end - - # Lists fixed width coverage buckets for a read group set, each of which - # correspond to a range of a reference sequence. Each bucket summarizes - # coverage information across its corresponding genomic range. - # For the definitions of read group sets and other genomics resources, see - # [Fundamentals of Google - # Genomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics) - # Coverage is defined as the number of reads which are aligned to a given - # base in the reference sequence. Coverage buckets are available at several - # precomputed bucket widths, enabling retrieval of various coverage 'zoom - # levels'. The caller must have READ permissions for the target read group - # set. - # @param [String] read_group_set_id - # Required. The ID of the read group set over which coverage is requested. - # @param [String] reference_name - # The name of the reference to query, within the reference set associated - # with this query. Optional. - # @param [String] end_ - # The end position of the range on the reference, 0-based exclusive. If - # specified, `referenceName` must also be specified. If unset or 0, defaults - # to the length of the reference. - # @param [String] page_token - # The continuation token, which is used to page through large result sets. - # To get the next page of results, set this parameter to the value of - # `nextPageToken` from the previous response. - # @param [Fixnum] page_size - # The maximum number of results to return in a single page. If unspecified, - # defaults to 1024. The maximum value is 2048. - # @param [String] start - # The start position of the range on the reference, 0-based inclusive. If - # specified, `referenceName` must also be specified. Defaults to 0. - # @param [String] target_bucket_width - # The desired width of each reported coverage bucket in base pairs. This - # will be rounded down to the nearest precomputed bucket width; the value - # of which is returned as `bucketWidth` in the response. Defaults - # to infinity (each bucket spans an entire reference sequence) or the length - # of the target range, if specified. The smallest precomputed - # `bucketWidth` is currently 2048 base pairs; this is subject to - # change. - # @param [String] quota_user - # Available to use for quota purposes for server-side applications. Can be any - # arbitrary string assigned to a user, but should not exceed 40 characters. - # @param [String] fields - # Selector specifying which fields to include in a partial response. - # @param [Google::Apis::RequestOptions] options - # Request-specific options - # - # @yield [result, err] Result & error if block supplied - # @yieldparam result [Google::Apis::GenomicsV1::ListCoverageBucketsResponse] parsed result object - # @yieldparam err [StandardError] error object if request failed - # - # @return [Google::Apis::GenomicsV1::ListCoverageBucketsResponse] - # - # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried - # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification - # @raise [Google::Apis::AuthorizationError] Authorization is required - def list_coverage_buckets(read_group_set_id, reference_name: nil, end_: nil, page_token: nil, page_size: nil, start: nil, target_bucket_width: nil, quota_user: nil, fields: nil, options: nil, &block) - command = make_simple_command(:get, 'v1/readgroupsets/{readGroupSetId}/coveragebuckets', options) - command.response_representation = Google::Apis::GenomicsV1::ListCoverageBucketsResponse::Representation - command.response_class = Google::Apis::GenomicsV1::ListCoverageBucketsResponse - command.params['readGroupSetId'] = read_group_set_id unless read_group_set_id.nil? - command.query['referenceName'] = reference_name unless reference_name.nil? - command.query['end'] = end_ unless end_.nil? - command.query['pageToken'] = page_token unless page_token.nil? - command.query['pageSize'] = page_size unless page_size.nil? - command.query['start'] = start unless start.nil? - command.query['targetBucketWidth'] = target_bucket_width unless target_bucket_width.nil? - command.query['quotaUser'] = quota_user unless quota_user.nil? - command.query['fields'] = fields unless fields.nil? - execute_or_queue_command(command, &block) - end - - # Gets a list of reads for one or more read group sets. - # For the definitions of read group sets and other genomics resources, see - # [Fundamentals of Google - # Genomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics) - # Reads search operates over a genomic coordinate space of reference sequence - # & position defined over the reference sequences to which the requested - # read group sets are aligned. - # If a target positional range is specified, search returns all reads whose - # alignment to the reference genome overlap the range. A query which - # specifies only read group set IDs yields all reads in those read group - # sets, including unmapped reads. - # All reads returned (including reads on subsequent pages) are ordered by - # genomic coordinate (by reference sequence, then position). Reads with - # equivalent genomic coordinates are returned in an unspecified order. This - # order is consistent, such that two queries for the same content (regardless - # of page size) yield reads in the same order across their respective streams - # of paginated responses. - # Implements - # [GlobalAllianceApi.searchReads](https://github.com/ga4gh/schemas/blob/v0.5.1/ - # src/main/resources/avro/readmethods.avdl#L85). - # @param [Google::Apis::GenomicsV1::SearchReadsRequest] search_reads_request_object - # @param [String] quota_user - # Available to use for quota purposes for server-side applications. Can be any - # arbitrary string assigned to a user, but should not exceed 40 characters. - # @param [String] fields - # Selector specifying which fields to include in a partial response. - # @param [Google::Apis::RequestOptions] options - # Request-specific options - # - # @yield [result, err] Result & error if block supplied - # @yieldparam result [Google::Apis::GenomicsV1::SearchReadsResponse] parsed result object - # @yieldparam err [StandardError] error object if request failed - # - # @return [Google::Apis::GenomicsV1::SearchReadsResponse] - # - # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried - # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification - # @raise [Google::Apis::AuthorizationError] Authorization is required - def search_reads(search_reads_request_object = nil, quota_user: nil, fields: nil, options: nil, &block) - command = make_simple_command(:post, 'v1/reads/search', options) - command.request_representation = Google::Apis::GenomicsV1::SearchReadsRequest::Representation - command.request_object = search_reads_request_object - command.response_representation = Google::Apis::GenomicsV1::SearchReadsResponse::Representation - command.response_class = Google::Apis::GenomicsV1::SearchReadsResponse - command.query['quotaUser'] = quota_user unless quota_user.nil? - command.query['fields'] = fields unless fields.nil? - execute_or_queue_command(command, &block) - end - - # Deletes a call set. - # For the definitions of call sets and other genomics resources, see - # [Fundamentals of Google - # Genomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics) - # @param [String] call_set_id - # The ID of the call set to be deleted. - # @param [String] quota_user - # Available to use for quota purposes for server-side applications. Can be any - # arbitrary string assigned to a user, but should not exceed 40 characters. - # @param [String] fields - # Selector specifying which fields to include in a partial response. - # @param [Google::Apis::RequestOptions] options - # Request-specific options - # - # @yield [result, err] Result & error if block supplied - # @yieldparam result [Google::Apis::GenomicsV1::Empty] parsed result object - # @yieldparam err [StandardError] error object if request failed - # - # @return [Google::Apis::GenomicsV1::Empty] - # - # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried - # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification - # @raise [Google::Apis::AuthorizationError] Authorization is required - def delete_call_set(call_set_id, quota_user: nil, fields: nil, options: nil, &block) - command = make_simple_command(:delete, 'v1/callsets/{callSetId}', options) - command.response_representation = Google::Apis::GenomicsV1::Empty::Representation - command.response_class = Google::Apis::GenomicsV1::Empty - command.params['callSetId'] = call_set_id unless call_set_id.nil? - command.query['quotaUser'] = quota_user unless quota_user.nil? - command.query['fields'] = fields unless fields.nil? - execute_or_queue_command(command, &block) - end - - # Gets a list of call sets matching the criteria. - # For the definitions of call sets and other genomics resources, see - # [Fundamentals of Google - # Genomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics) - # Implements - # [GlobalAllianceApi.searchCallSets](https://github.com/ga4gh/schemas/blob/v0.5. - # 1/src/main/resources/avro/variantmethods.avdl#L178). - # @param [Google::Apis::GenomicsV1::SearchCallSetsRequest] search_call_sets_request_object - # @param [String] quota_user - # Available to use for quota purposes for server-side applications. Can be any - # arbitrary string assigned to a user, but should not exceed 40 characters. - # @param [String] fields - # Selector specifying which fields to include in a partial response. - # @param [Google::Apis::RequestOptions] options - # Request-specific options - # - # @yield [result, err] Result & error if block supplied - # @yieldparam result [Google::Apis::GenomicsV1::SearchCallSetsResponse] parsed result object - # @yieldparam err [StandardError] error object if request failed - # - # @return [Google::Apis::GenomicsV1::SearchCallSetsResponse] - # - # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried - # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification - # @raise [Google::Apis::AuthorizationError] Authorization is required - def search_call_sets(search_call_sets_request_object = nil, quota_user: nil, fields: nil, options: nil, &block) - command = make_simple_command(:post, 'v1/callsets/search', options) - command.request_representation = Google::Apis::GenomicsV1::SearchCallSetsRequest::Representation - command.request_object = search_call_sets_request_object - command.response_representation = Google::Apis::GenomicsV1::SearchCallSetsResponse::Representation - command.response_class = Google::Apis::GenomicsV1::SearchCallSetsResponse - command.query['quotaUser'] = quota_user unless quota_user.nil? - command.query['fields'] = fields unless fields.nil? - execute_or_queue_command(command, &block) - end - - # Updates a call set. - # For the definitions of call sets and other genomics resources, see - # [Fundamentals of Google - # Genomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics) - # This method supports patch semantics. - # @param [String] call_set_id - # The ID of the call set to be updated. - # @param [Google::Apis::GenomicsV1::CallSet] call_set_object - # @param [String] update_mask - # An optional mask specifying which fields to update. At this time, the only - # mutable field is name. The only - # acceptable value is "name". If unspecified, all mutable fields will be - # updated. - # @param [String] quota_user - # Available to use for quota purposes for server-side applications. Can be any - # arbitrary string assigned to a user, but should not exceed 40 characters. - # @param [String] fields - # Selector specifying which fields to include in a partial response. - # @param [Google::Apis::RequestOptions] options - # Request-specific options - # - # @yield [result, err] Result & error if block supplied - # @yieldparam result [Google::Apis::GenomicsV1::CallSet] parsed result object - # @yieldparam err [StandardError] error object if request failed - # - # @return [Google::Apis::GenomicsV1::CallSet] - # - # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried - # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification - # @raise [Google::Apis::AuthorizationError] Authorization is required - def patch_call_set(call_set_id, call_set_object = nil, update_mask: nil, quota_user: nil, fields: nil, options: nil, &block) - command = make_simple_command(:patch, 'v1/callsets/{callSetId}', options) - command.request_representation = Google::Apis::GenomicsV1::CallSet::Representation - command.request_object = call_set_object - command.response_representation = Google::Apis::GenomicsV1::CallSet::Representation - command.response_class = Google::Apis::GenomicsV1::CallSet - command.params['callSetId'] = call_set_id unless call_set_id.nil? - command.query['updateMask'] = update_mask unless update_mask.nil? - command.query['quotaUser'] = quota_user unless quota_user.nil? - command.query['fields'] = fields unless fields.nil? - execute_or_queue_command(command, &block) - end - - # Gets a call set by ID. - # For the definitions of call sets and other genomics resources, see - # [Fundamentals of Google - # Genomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics) - # @param [String] call_set_id - # The ID of the call set. - # @param [String] quota_user - # Available to use for quota purposes for server-side applications. Can be any - # arbitrary string assigned to a user, but should not exceed 40 characters. - # @param [String] fields - # Selector specifying which fields to include in a partial response. - # @param [Google::Apis::RequestOptions] options - # Request-specific options - # - # @yield [result, err] Result & error if block supplied - # @yieldparam result [Google::Apis::GenomicsV1::CallSet] parsed result object - # @yieldparam err [StandardError] error object if request failed - # - # @return [Google::Apis::GenomicsV1::CallSet] - # - # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried - # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification - # @raise [Google::Apis::AuthorizationError] Authorization is required - def get_call_set(call_set_id, quota_user: nil, fields: nil, options: nil, &block) - command = make_simple_command(:get, 'v1/callsets/{callSetId}', options) - command.response_representation = Google::Apis::GenomicsV1::CallSet::Representation - command.response_class = Google::Apis::GenomicsV1::CallSet - command.params['callSetId'] = call_set_id unless call_set_id.nil? - command.query['quotaUser'] = quota_user unless quota_user.nil? - command.query['fields'] = fields unless fields.nil? - execute_or_queue_command(command, &block) - end - - # Creates a new call set. - # For the definitions of call sets and other genomics resources, see - # [Fundamentals of Google - # Genomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics) - # @param [Google::Apis::GenomicsV1::CallSet] call_set_object - # @param [String] quota_user - # Available to use for quota purposes for server-side applications. Can be any - # arbitrary string assigned to a user, but should not exceed 40 characters. - # @param [String] fields - # Selector specifying which fields to include in a partial response. - # @param [Google::Apis::RequestOptions] options - # Request-specific options - # - # @yield [result, err] Result & error if block supplied - # @yieldparam result [Google::Apis::GenomicsV1::CallSet] parsed result object - # @yieldparam err [StandardError] error object if request failed - # - # @return [Google::Apis::GenomicsV1::CallSet] - # - # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried - # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification - # @raise [Google::Apis::AuthorizationError] Authorization is required - def create_call_set(call_set_object = nil, quota_user: nil, fields: nil, options: nil, &block) - command = make_simple_command(:post, 'v1/callsets', options) - command.request_representation = Google::Apis::GenomicsV1::CallSet::Representation - command.request_object = call_set_object - command.response_representation = Google::Apis::GenomicsV1::CallSet::Representation - command.response_class = Google::Apis::GenomicsV1::CallSet - command.query['quotaUser'] = quota_user unless quota_user.nil? - command.query['fields'] = fields unless fields.nil? - execute_or_queue_command(command, &block) - end - - # Creates a new annotation set. Caller must have WRITE permission for the - # associated dataset. - # The following fields are required: - # * datasetId - # * referenceSetId - # All other fields may be optionally specified, unless documented as being - # server-generated (for example, the `id` field). - # @param [Google::Apis::GenomicsV1::AnnotationSet] annotation_set_object - # @param [String] quota_user - # Available to use for quota purposes for server-side applications. Can be any - # arbitrary string assigned to a user, but should not exceed 40 characters. - # @param [String] fields - # Selector specifying which fields to include in a partial response. - # @param [Google::Apis::RequestOptions] options - # Request-specific options - # - # @yield [result, err] Result & error if block supplied - # @yieldparam result [Google::Apis::GenomicsV1::AnnotationSet] parsed result object - # @yieldparam err [StandardError] error object if request failed - # - # @return [Google::Apis::GenomicsV1::AnnotationSet] - # - # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried - # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification - # @raise [Google::Apis::AuthorizationError] Authorization is required - def create_annotation_set(annotation_set_object = nil, quota_user: nil, fields: nil, options: nil, &block) - command = make_simple_command(:post, 'v1/annotationsets', options) - command.request_representation = Google::Apis::GenomicsV1::AnnotationSet::Representation - command.request_object = annotation_set_object - command.response_representation = Google::Apis::GenomicsV1::AnnotationSet::Representation - command.response_class = Google::Apis::GenomicsV1::AnnotationSet - command.query['quotaUser'] = quota_user unless quota_user.nil? - command.query['fields'] = fields unless fields.nil? - execute_or_queue_command(command, &block) - end - - # Deletes an annotation set. Caller must have WRITE permission - # for the associated annotation set. - # @param [String] annotation_set_id - # The ID of the annotation set to be deleted. - # @param [String] quota_user - # Available to use for quota purposes for server-side applications. Can be any - # arbitrary string assigned to a user, but should not exceed 40 characters. - # @param [String] fields - # Selector specifying which fields to include in a partial response. - # @param [Google::Apis::RequestOptions] options - # Request-specific options - # - # @yield [result, err] Result & error if block supplied - # @yieldparam result [Google::Apis::GenomicsV1::Empty] parsed result object - # @yieldparam err [StandardError] error object if request failed - # - # @return [Google::Apis::GenomicsV1::Empty] - # - # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried - # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification - # @raise [Google::Apis::AuthorizationError] Authorization is required - def delete_annotationset(annotation_set_id, quota_user: nil, fields: nil, options: nil, &block) - command = make_simple_command(:delete, 'v1/annotationsets/{annotationSetId}', options) - command.response_representation = Google::Apis::GenomicsV1::Empty::Representation - command.response_class = Google::Apis::GenomicsV1::Empty - command.params['annotationSetId'] = annotation_set_id unless annotation_set_id.nil? - command.query['quotaUser'] = quota_user unless quota_user.nil? - command.query['fields'] = fields unless fields.nil? - execute_or_queue_command(command, &block) - end - - # Searches for annotation sets that match the given criteria. Annotation sets - # are returned in an unspecified order. This order is consistent, such that - # two queries for the same content (regardless of page size) yield annotation - # sets in the same order across their respective streams of paginated - # responses. Caller must have READ permission for the queried datasets. - # @param [Google::Apis::GenomicsV1::SearchAnnotationSetsRequest] search_annotation_sets_request_object - # @param [String] quota_user - # Available to use for quota purposes for server-side applications. Can be any - # arbitrary string assigned to a user, but should not exceed 40 characters. - # @param [String] fields - # Selector specifying which fields to include in a partial response. - # @param [Google::Apis::RequestOptions] options - # Request-specific options - # - # @yield [result, err] Result & error if block supplied - # @yieldparam result [Google::Apis::GenomicsV1::SearchAnnotationSetsResponse] parsed result object - # @yieldparam err [StandardError] error object if request failed - # - # @return [Google::Apis::GenomicsV1::SearchAnnotationSetsResponse] - # - # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried - # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification - # @raise [Google::Apis::AuthorizationError] Authorization is required - def search_annotationset_annotation_sets(search_annotation_sets_request_object = nil, quota_user: nil, fields: nil, options: nil, &block) - command = make_simple_command(:post, 'v1/annotationsets/search', options) - command.request_representation = Google::Apis::GenomicsV1::SearchAnnotationSetsRequest::Representation - command.request_object = search_annotation_sets_request_object - command.response_representation = Google::Apis::GenomicsV1::SearchAnnotationSetsResponse::Representation - command.response_class = Google::Apis::GenomicsV1::SearchAnnotationSetsResponse - command.query['quotaUser'] = quota_user unless quota_user.nil? - command.query['fields'] = fields unless fields.nil? - execute_or_queue_command(command, &block) + @batch_path = 'batch' end # Gets an annotation set. Caller must have READ permission for # the associated dataset. # @param [String] annotation_set_id # The ID of the annotation set to be retrieved. + # @param [String] fields + # Selector specifying which fields to include in a partial response. # @param [String] quota_user # Available to use for quota purposes for server-side applications. Can be any # arbitrary string assigned to a user, but should not exceed 40 characters. - # @param [String] fields - # Selector specifying which fields to include in a partial response. # @param [Google::Apis::RequestOptions] options # Request-specific options # @@ -698,13 +68,13 @@ module Google # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required - def get_annotation_set(annotation_set_id, quota_user: nil, fields: nil, options: nil, &block) + def get_annotation_set(annotation_set_id, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1/annotationsets/{annotationSetId}', options) command.response_representation = Google::Apis::GenomicsV1::AnnotationSet::Representation command.response_class = Google::Apis::GenomicsV1::AnnotationSet command.params['annotationSetId'] = annotation_set_id unless annotation_set_id.nil? - command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end @@ -720,11 +90,11 @@ module Google # source_uri, and # info. If unspecified, all # mutable fields will be updated. + # @param [String] fields + # Selector specifying which fields to include in a partial response. # @param [String] quota_user # Available to use for quota purposes for server-side applications. Can be any # arbitrary string assigned to a user, but should not exceed 40 characters. - # @param [String] fields - # Selector specifying which fields to include in a partial response. # @param [Google::Apis::RequestOptions] options # Request-specific options # @@ -737,7 +107,7 @@ module Google # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required - def update_annotationset(annotation_set_id, annotation_set_object = nil, update_mask: nil, quota_user: nil, fields: nil, options: nil, &block) + def update_annotationset(annotation_set_id, annotation_set_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:put, 'v1/annotationsets/{annotationSetId}', options) command.request_representation = Google::Apis::GenomicsV1::AnnotationSet::Representation command.request_object = annotation_set_object @@ -745,22 +115,56 @@ module Google command.response_class = Google::Apis::GenomicsV1::AnnotationSet command.params['annotationSetId'] = annotation_set_id unless annotation_set_id.nil? command.query['updateMask'] = update_mask unless update_mask.nil? - command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end - # Deletes a variant. - # For the definitions of variants and other genomics resources, see - # [Fundamentals of Google - # Genomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics) - # @param [String] variant_id - # The ID of the variant to be deleted. + # Creates a new annotation set. Caller must have WRITE permission for the + # associated dataset. + # The following fields are required: + # * datasetId + # * referenceSetId + # All other fields may be optionally specified, unless documented as being + # server-generated (for example, the `id` field). + # @param [Google::Apis::GenomicsV1::AnnotationSet] annotation_set_object + # @param [String] fields + # Selector specifying which fields to include in a partial response. # @param [String] quota_user # Available to use for quota purposes for server-side applications. Can be any # arbitrary string assigned to a user, but should not exceed 40 characters. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::GenomicsV1::AnnotationSet] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::GenomicsV1::AnnotationSet] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def create_annotation_set(annotation_set_object = nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:post, 'v1/annotationsets', options) + command.request_representation = Google::Apis::GenomicsV1::AnnotationSet::Representation + command.request_object = annotation_set_object + command.response_representation = Google::Apis::GenomicsV1::AnnotationSet::Representation + command.response_class = Google::Apis::GenomicsV1::AnnotationSet + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + execute_or_queue_command(command, &block) + end + + # Deletes an annotation set. Caller must have WRITE permission + # for the associated annotation set. + # @param [String] annotation_set_id + # The ID of the annotation set to be deleted. # @param [String] fields # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # Available to use for quota purposes for server-side applications. Can be any + # arbitrary string assigned to a user, but should not exceed 40 characters. # @param [Google::Apis::RequestOptions] options # Request-specific options # @@ -773,57 +177,124 @@ module Google # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required - def delete_variant(variant_id, quota_user: nil, fields: nil, options: nil, &block) - command = make_simple_command(:delete, 'v1/variants/{variantId}', options) + def delete_annotationset(annotation_set_id, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:delete, 'v1/annotationsets/{annotationSetId}', options) command.response_representation = Google::Apis::GenomicsV1::Empty::Representation command.response_class = Google::Apis::GenomicsV1::Empty - command.params['variantId'] = variant_id unless variant_id.nil? - command.query['quotaUser'] = quota_user unless quota_user.nil? + command.params['annotationSetId'] = annotation_set_id unless annotation_set_id.nil? command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end - # Creates variant data by asynchronously importing the provided information. - # For the definitions of variant sets and other genomics resources, see - # [Fundamentals of Google - # Genomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics) - # The variants for import will be merged with any existing variant that - # matches its reference sequence, start, end, reference bases, and - # alternative bases. If no such variant exists, a new one will be created. - # When variants are merged, the call information from the new variant - # is added to the existing variant, and Variant info fields are merged - # as specified in - # infoMergeConfig. - # As a special case, for single-sample VCF files, QUAL and FILTER fields will - # be moved to the call level; these are sometimes interpreted in a - # call-specific context. - # Imported VCF headers are appended to the metadata already in a variant set. - # @param [Google::Apis::GenomicsV1::ImportVariantsRequest] import_variants_request_object + # Searches for annotation sets that match the given criteria. Annotation sets + # are returned in an unspecified order. This order is consistent, such that + # two queries for the same content (regardless of page size) yield annotation + # sets in the same order across their respective streams of paginated + # responses. Caller must have READ permission for the queried datasets. + # @param [Google::Apis::GenomicsV1::SearchAnnotationSetsRequest] search_annotation_sets_request_object + # @param [String] fields + # Selector specifying which fields to include in a partial response. # @param [String] quota_user # Available to use for quota purposes for server-side applications. Can be any # arbitrary string assigned to a user, but should not exceed 40 characters. - # @param [String] fields - # Selector specifying which fields to include in a partial response. # @param [Google::Apis::RequestOptions] options # Request-specific options # # @yield [result, err] Result & error if block supplied - # @yieldparam result [Google::Apis::GenomicsV1::Operation] parsed result object + # @yieldparam result [Google::Apis::GenomicsV1::SearchAnnotationSetsResponse] parsed result object # @yieldparam err [StandardError] error object if request failed # - # @return [Google::Apis::GenomicsV1::Operation] + # @return [Google::Apis::GenomicsV1::SearchAnnotationSetsResponse] # # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required - def import_variants(import_variants_request_object = nil, quota_user: nil, fields: nil, options: nil, &block) - command = make_simple_command(:post, 'v1/variants:import', options) - command.request_representation = Google::Apis::GenomicsV1::ImportVariantsRequest::Representation - command.request_object = import_variants_request_object - command.response_representation = Google::Apis::GenomicsV1::Operation::Representation - command.response_class = Google::Apis::GenomicsV1::Operation - command.query['quotaUser'] = quota_user unless quota_user.nil? + def search_annotationset_annotation_sets(search_annotation_sets_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:post, 'v1/annotationsets/search', options) + command.request_representation = Google::Apis::GenomicsV1::SearchAnnotationSetsRequest::Representation + command.request_object = search_annotation_sets_request_object + command.response_representation = Google::Apis::GenomicsV1::SearchAnnotationSetsResponse::Representation + command.response_class = Google::Apis::GenomicsV1::SearchAnnotationSetsResponse command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + execute_or_queue_command(command, &block) + end + + # Gets a variant by ID. + # For the definitions of variants and other genomics resources, see + # [Fundamentals of Google + # Genomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics) + # @param [String] variant_id + # The ID of the variant. + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # Available to use for quota purposes for server-side applications. Can be any + # arbitrary string assigned to a user, but should not exceed 40 characters. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::GenomicsV1::Variant] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::GenomicsV1::Variant] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def get_variant(variant_id, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:get, 'v1/variants/{variantId}', options) + command.response_representation = Google::Apis::GenomicsV1::Variant::Representation + command.response_class = Google::Apis::GenomicsV1::Variant + command.params['variantId'] = variant_id unless variant_id.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + execute_or_queue_command(command, &block) + end + + # Updates a variant. + # For the definitions of variants and other genomics resources, see + # [Fundamentals of Google + # Genomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics) + # This method supports patch semantics. Returns the modified variant without + # its calls. + # @param [String] variant_id + # The ID of the variant to be updated. + # @param [Google::Apis::GenomicsV1::Variant] variant_object + # @param [String] update_mask + # An optional mask specifying which fields to update. At this time, mutable + # fields are names and + # info. Acceptable values are "names" and + # "info". If unspecified, all mutable fields will be updated. + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # Available to use for quota purposes for server-side applications. Can be any + # arbitrary string assigned to a user, but should not exceed 40 characters. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::GenomicsV1::Variant] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::GenomicsV1::Variant] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def patch_variant(variant_id, variant_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:patch, 'v1/variants/{variantId}', options) + command.request_representation = Google::Apis::GenomicsV1::Variant::Representation + command.request_object = variant_object + command.response_representation = Google::Apis::GenomicsV1::Variant::Representation + command.response_class = Google::Apis::GenomicsV1::Variant + command.params['variantId'] = variant_id unless variant_id.nil? + command.query['updateMask'] = update_mask unless update_mask.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end @@ -910,11 +381,11 @@ module Google # This may be the desired outcome, but it is up to the user to determine if # if that is indeed the case. # @param [Google::Apis::GenomicsV1::MergeVariantsRequest] merge_variants_request_object + # @param [String] fields + # Selector specifying which fields to include in a partial response. # @param [String] quota_user # Available to use for quota purposes for server-side applications. Can be any # arbitrary string assigned to a user, but should not exceed 40 characters. - # @param [String] fields - # Selector specifying which fields to include in a partial response. # @param [Google::Apis::RequestOptions] options # Request-specific options # @@ -927,14 +398,91 @@ module Google # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required - def merge_variants(merge_variants_request_object = nil, quota_user: nil, fields: nil, options: nil, &block) + def merge_variants(merge_variants_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'v1/variants:merge', options) command.request_representation = Google::Apis::GenomicsV1::MergeVariantsRequest::Representation command.request_object = merge_variants_request_object command.response_representation = Google::Apis::GenomicsV1::Empty::Representation command.response_class = Google::Apis::GenomicsV1::Empty - command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + execute_or_queue_command(command, &block) + end + + # Deletes a variant. + # For the definitions of variants and other genomics resources, see + # [Fundamentals of Google + # Genomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics) + # @param [String] variant_id + # The ID of the variant to be deleted. + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # Available to use for quota purposes for server-side applications. Can be any + # arbitrary string assigned to a user, but should not exceed 40 characters. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::GenomicsV1::Empty] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::GenomicsV1::Empty] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def delete_variant(variant_id, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:delete, 'v1/variants/{variantId}', options) + command.response_representation = Google::Apis::GenomicsV1::Empty::Representation + command.response_class = Google::Apis::GenomicsV1::Empty + command.params['variantId'] = variant_id unless variant_id.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + execute_or_queue_command(command, &block) + end + + # Creates variant data by asynchronously importing the provided information. + # For the definitions of variant sets and other genomics resources, see + # [Fundamentals of Google + # Genomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics) + # The variants for import will be merged with any existing variant that + # matches its reference sequence, start, end, reference bases, and + # alternative bases. If no such variant exists, a new one will be created. + # When variants are merged, the call information from the new variant + # is added to the existing variant, and Variant info fields are merged + # as specified in + # infoMergeConfig. + # As a special case, for single-sample VCF files, QUAL and FILTER fields will + # be moved to the call level; these are sometimes interpreted in a + # call-specific context. + # Imported VCF headers are appended to the metadata already in a variant set. + # @param [Google::Apis::GenomicsV1::ImportVariantsRequest] import_variants_request_object + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # Available to use for quota purposes for server-side applications. Can be any + # arbitrary string assigned to a user, but should not exceed 40 characters. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::GenomicsV1::Operation] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::GenomicsV1::Operation] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def import_variants(import_variants_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:post, 'v1/variants:import', options) + command.request_representation = Google::Apis::GenomicsV1::ImportVariantsRequest::Representation + command.request_object = import_variants_request_object + command.response_representation = Google::Apis::GenomicsV1::Operation::Representation + command.response_class = Google::Apis::GenomicsV1::Operation + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end @@ -943,11 +491,11 @@ module Google # [Fundamentals of Google # Genomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics) # @param [Google::Apis::GenomicsV1::Variant] variant_object + # @param [String] fields + # Selector specifying which fields to include in a partial response. # @param [String] quota_user # Available to use for quota purposes for server-side applications. Can be any # arbitrary string assigned to a user, but should not exceed 40 characters. - # @param [String] fields - # Selector specifying which fields to include in a partial response. # @param [Google::Apis::RequestOptions] options # Request-specific options # @@ -960,14 +508,14 @@ module Google # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required - def create_variant(variant_object = nil, quota_user: nil, fields: nil, options: nil, &block) + def create_variant(variant_object = nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'v1/variants', options) command.request_representation = Google::Apis::GenomicsV1::Variant::Representation command.request_object = variant_object command.response_representation = Google::Apis::GenomicsV1::Variant::Representation command.response_class = Google::Apis::GenomicsV1::Variant - command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end @@ -979,11 +527,11 @@ module Google # [GlobalAllianceApi.searchVariants](https://github.com/ga4gh/schemas/blob/v0.5. # 1/src/main/resources/avro/variantmethods.avdl#L126). # @param [Google::Apis::GenomicsV1::SearchVariantsRequest] search_variants_request_object + # @param [String] fields + # Selector specifying which fields to include in a partial response. # @param [String] quota_user # Available to use for quota purposes for server-side applications. Can be any # arbitrary string assigned to a user, but should not exceed 40 characters. - # @param [String] fields - # Selector specifying which fields to include in a partial response. # @param [Google::Apis::RequestOptions] options # Request-specific options # @@ -996,127 +544,14 @@ module Google # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required - def search_variants(search_variants_request_object = nil, quota_user: nil, fields: nil, options: nil, &block) + def search_variants(search_variants_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'v1/variants/search', options) command.request_representation = Google::Apis::GenomicsV1::SearchVariantsRequest::Representation command.request_object = search_variants_request_object command.response_representation = Google::Apis::GenomicsV1::SearchVariantsResponse::Representation command.response_class = Google::Apis::GenomicsV1::SearchVariantsResponse - command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['fields'] = fields unless fields.nil? - execute_or_queue_command(command, &block) - end - - # Gets a variant by ID. - # For the definitions of variants and other genomics resources, see - # [Fundamentals of Google - # Genomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics) - # @param [String] variant_id - # The ID of the variant. - # @param [String] quota_user - # Available to use for quota purposes for server-side applications. Can be any - # arbitrary string assigned to a user, but should not exceed 40 characters. - # @param [String] fields - # Selector specifying which fields to include in a partial response. - # @param [Google::Apis::RequestOptions] options - # Request-specific options - # - # @yield [result, err] Result & error if block supplied - # @yieldparam result [Google::Apis::GenomicsV1::Variant] parsed result object - # @yieldparam err [StandardError] error object if request failed - # - # @return [Google::Apis::GenomicsV1::Variant] - # - # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried - # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification - # @raise [Google::Apis::AuthorizationError] Authorization is required - def get_variant(variant_id, quota_user: nil, fields: nil, options: nil, &block) - command = make_simple_command(:get, 'v1/variants/{variantId}', options) - command.response_representation = Google::Apis::GenomicsV1::Variant::Representation - command.response_class = Google::Apis::GenomicsV1::Variant - command.params['variantId'] = variant_id unless variant_id.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? - command.query['fields'] = fields unless fields.nil? - execute_or_queue_command(command, &block) - end - - # Updates a variant. - # For the definitions of variants and other genomics resources, see - # [Fundamentals of Google - # Genomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics) - # This method supports patch semantics. Returns the modified variant without - # its calls. - # @param [String] variant_id - # The ID of the variant to be updated. - # @param [Google::Apis::GenomicsV1::Variant] variant_object - # @param [String] update_mask - # An optional mask specifying which fields to update. At this time, mutable - # fields are names and - # info. Acceptable values are "names" and - # "info". If unspecified, all mutable fields will be updated. - # @param [String] quota_user - # Available to use for quota purposes for server-side applications. Can be any - # arbitrary string assigned to a user, but should not exceed 40 characters. - # @param [String] fields - # Selector specifying which fields to include in a partial response. - # @param [Google::Apis::RequestOptions] options - # Request-specific options - # - # @yield [result, err] Result & error if block supplied - # @yieldparam result [Google::Apis::GenomicsV1::Variant] parsed result object - # @yieldparam err [StandardError] error object if request failed - # - # @return [Google::Apis::GenomicsV1::Variant] - # - # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried - # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification - # @raise [Google::Apis::AuthorizationError] Authorization is required - def patch_variant(variant_id, variant_object = nil, update_mask: nil, quota_user: nil, fields: nil, options: nil, &block) - command = make_simple_command(:patch, 'v1/variants/{variantId}', options) - command.request_representation = Google::Apis::GenomicsV1::Variant::Representation - command.request_object = variant_object - command.response_representation = Google::Apis::GenomicsV1::Variant::Representation - command.response_class = Google::Apis::GenomicsV1::Variant - command.params['variantId'] = variant_id unless variant_id.nil? - command.query['updateMask'] = update_mask unless update_mask.nil? - command.query['quotaUser'] = quota_user unless quota_user.nil? - command.query['fields'] = fields unless fields.nil? - execute_or_queue_command(command, &block) - end - - # Searches for references which match the given criteria. - # For the definitions of references and other genomics resources, see - # [Fundamentals of Google - # Genomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics) - # Implements - # [GlobalAllianceApi.searchReferences](https://github.com/ga4gh/schemas/blob/v0. - # 5.1/src/main/resources/avro/referencemethods.avdl#L146). - # @param [Google::Apis::GenomicsV1::SearchReferencesRequest] search_references_request_object - # @param [String] quota_user - # Available to use for quota purposes for server-side applications. Can be any - # arbitrary string assigned to a user, but should not exceed 40 characters. - # @param [String] fields - # Selector specifying which fields to include in a partial response. - # @param [Google::Apis::RequestOptions] options - # Request-specific options - # - # @yield [result, err] Result & error if block supplied - # @yieldparam result [Google::Apis::GenomicsV1::SearchReferencesResponse] parsed result object - # @yieldparam err [StandardError] error object if request failed - # - # @return [Google::Apis::GenomicsV1::SearchReferencesResponse] - # - # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried - # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification - # @raise [Google::Apis::AuthorizationError] Authorization is required - def search_references(search_references_request_object = nil, quota_user: nil, fields: nil, options: nil, &block) - command = make_simple_command(:post, 'v1/references/search', options) - command.request_representation = Google::Apis::GenomicsV1::SearchReferencesRequest::Representation - command.request_object = search_references_request_object - command.response_representation = Google::Apis::GenomicsV1::SearchReferencesResponse::Representation - command.response_class = Google::Apis::GenomicsV1::SearchReferencesResponse - command.query['quotaUser'] = quota_user unless quota_user.nil? - command.query['fields'] = fields unless fields.nil? execute_or_queue_command(command, &block) end @@ -1129,11 +564,11 @@ module Google # src/main/resources/avro/referencemethods.avdl#L158). # @param [String] reference_id # The ID of the reference. + # @param [String] fields + # Selector specifying which fields to include in a partial response. # @param [String] quota_user # Available to use for quota purposes for server-side applications. Can be any # arbitrary string assigned to a user, but should not exceed 40 characters. - # @param [String] fields - # Selector specifying which fields to include in a partial response. # @param [Google::Apis::RequestOptions] options # Request-specific options # @@ -1146,13 +581,49 @@ module Google # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required - def get_reference(reference_id, quota_user: nil, fields: nil, options: nil, &block) + def get_reference(reference_id, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1/references/{referenceId}', options) command.response_representation = Google::Apis::GenomicsV1::Reference::Representation command.response_class = Google::Apis::GenomicsV1::Reference command.params['referenceId'] = reference_id unless reference_id.nil? - command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + execute_or_queue_command(command, &block) + end + + # Searches for references which match the given criteria. + # For the definitions of references and other genomics resources, see + # [Fundamentals of Google + # Genomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics) + # Implements + # [GlobalAllianceApi.searchReferences](https://github.com/ga4gh/schemas/blob/v0. + # 5.1/src/main/resources/avro/referencemethods.avdl#L146). + # @param [Google::Apis::GenomicsV1::SearchReferencesRequest] search_references_request_object + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # Available to use for quota purposes for server-side applications. Can be any + # arbitrary string assigned to a user, but should not exceed 40 characters. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::GenomicsV1::SearchReferencesResponse] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::GenomicsV1::SearchReferencesResponse] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def search_references(search_references_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:post, 'v1/references/search', options) + command.request_representation = Google::Apis::GenomicsV1::SearchReferencesRequest::Representation + command.request_object = search_references_request_object + command.response_representation = Google::Apis::GenomicsV1::SearchReferencesResponse::Representation + command.response_class = Google::Apis::GenomicsV1::SearchReferencesResponse + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end @@ -1165,9 +636,6 @@ module Google # 5.1/src/main/resources/avro/referencemethods.avdl#L221). # @param [String] reference_id # The ID of the reference. - # @param [String] end_position - # The end position (0-based, exclusive) of this query. Defaults to the length - # of this reference. # @param [String] page_token # The continuation token, which is used to page through large result sets. # To get the next page of results, set this parameter to the value of @@ -1176,13 +644,16 @@ module Google # The maximum number of bases to return in a single page. If unspecified, # defaults to 200Kbp (kilo base pairs). The maximum value is 10Mbp (mega base # pairs). - # @param [String] start_position + # @param [Fixnum] start_position # The start position (0-based) of this query. Defaults to 0. + # @param [Fixnum] end_position + # The end position (0-based, exclusive) of this query. Defaults to the length + # of this reference. + # @param [String] fields + # Selector specifying which fields to include in a partial response. # @param [String] quota_user # Available to use for quota purposes for server-side applications. Can be any # arbitrary string assigned to a user, but should not exceed 40 characters. - # @param [String] fields - # Selector specifying which fields to include in a partial response. # @param [Google::Apis::RequestOptions] options # Request-specific options # @@ -1195,17 +666,17 @@ module Google # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required - def list_reference_bases(reference_id, end_position: nil, page_token: nil, page_size: nil, start_position: nil, quota_user: nil, fields: nil, options: nil, &block) + def list_reference_bases(reference_id, page_token: nil, page_size: nil, start_position: nil, end_position: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1/references/{referenceId}/bases', options) command.response_representation = Google::Apis::GenomicsV1::ListBasesResponse::Representation command.response_class = Google::Apis::GenomicsV1::ListBasesResponse command.params['referenceId'] = reference_id unless reference_id.nil? - command.query['end'] = end_position unless end_position.nil? command.query['pageToken'] = page_token unless page_token.nil? command.query['pageSize'] = page_size unless page_size.nil? command.query['start'] = start_position unless start_position.nil? - command.query['quotaUser'] = quota_user unless quota_user.nil? + command.query['end'] = end_position unless end_position.nil? command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end @@ -1220,11 +691,11 @@ module Google # REQUIRED: The resource for which policy is being specified. Format is # `datasets/`. # @param [Google::Apis::GenomicsV1::GetIamPolicyRequest] get_iam_policy_request_object + # @param [String] fields + # Selector specifying which fields to include in a partial response. # @param [String] quota_user # Available to use for quota purposes for server-side applications. Can be any # arbitrary string assigned to a user, but should not exceed 40 characters. - # @param [String] fields - # Selector specifying which fields to include in a partial response. # @param [Google::Apis::RequestOptions] options # Request-specific options # @@ -1237,85 +708,15 @@ module Google # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required - def get_dataset_iam_policy(resource, get_iam_policy_request_object = nil, quota_user: nil, fields: nil, options: nil, &block) + def get_dataset_iam_policy(resource, get_iam_policy_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'v1/{+resource}:getIamPolicy', options) command.request_representation = Google::Apis::GenomicsV1::GetIamPolicyRequest::Representation command.request_object = get_iam_policy_request_object command.response_representation = Google::Apis::GenomicsV1::Policy::Representation command.response_class = Google::Apis::GenomicsV1::Policy command.params['resource'] = resource unless resource.nil? - command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['fields'] = fields unless fields.nil? - execute_or_queue_command(command, &block) - end - - # Undeletes a dataset by restoring a dataset which was deleted via this API. - # For the definitions of datasets and other genomics resources, see - # [Fundamentals of Google - # Genomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics) - # This operation is only possible for a week after the deletion occurred. - # @param [String] dataset_id - # The ID of the dataset to be undeleted. - # @param [Google::Apis::GenomicsV1::UndeleteDatasetRequest] undelete_dataset_request_object - # @param [String] quota_user - # Available to use for quota purposes for server-side applications. Can be any - # arbitrary string assigned to a user, but should not exceed 40 characters. - # @param [String] fields - # Selector specifying which fields to include in a partial response. - # @param [Google::Apis::RequestOptions] options - # Request-specific options - # - # @yield [result, err] Result & error if block supplied - # @yieldparam result [Google::Apis::GenomicsV1::Dataset] parsed result object - # @yieldparam err [StandardError] error object if request failed - # - # @return [Google::Apis::GenomicsV1::Dataset] - # - # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried - # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification - # @raise [Google::Apis::AuthorizationError] Authorization is required - def undelete_dataset(dataset_id, undelete_dataset_request_object = nil, quota_user: nil, fields: nil, options: nil, &block) - command = make_simple_command(:post, 'v1/datasets/{datasetId}:undelete', options) - command.request_representation = Google::Apis::GenomicsV1::UndeleteDatasetRequest::Representation - command.request_object = undelete_dataset_request_object - command.response_representation = Google::Apis::GenomicsV1::Dataset::Representation - command.response_class = Google::Apis::GenomicsV1::Dataset - command.params['datasetId'] = dataset_id unless dataset_id.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? - command.query['fields'] = fields unless fields.nil? - execute_or_queue_command(command, &block) - end - - # Gets a dataset by ID. - # For the definitions of datasets and other genomics resources, see - # [Fundamentals of Google - # Genomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics) - # @param [String] dataset_id - # The ID of the dataset. - # @param [String] quota_user - # Available to use for quota purposes for server-side applications. Can be any - # arbitrary string assigned to a user, but should not exceed 40 characters. - # @param [String] fields - # Selector specifying which fields to include in a partial response. - # @param [Google::Apis::RequestOptions] options - # Request-specific options - # - # @yield [result, err] Result & error if block supplied - # @yieldparam result [Google::Apis::GenomicsV1::Dataset] parsed result object - # @yieldparam err [StandardError] error object if request failed - # - # @return [Google::Apis::GenomicsV1::Dataset] - # - # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried - # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification - # @raise [Google::Apis::AuthorizationError] Authorization is required - def get_dataset(dataset_id, quota_user: nil, fields: nil, options: nil, &block) - command = make_simple_command(:get, 'v1/datasets/{datasetId}', options) - command.response_representation = Google::Apis::GenomicsV1::Dataset::Representation - command.response_class = Google::Apis::GenomicsV1::Dataset - command.params['datasetId'] = dataset_id unless dataset_id.nil? - command.query['quotaUser'] = quota_user unless quota_user.nil? - command.query['fields'] = fields unless fields.nil? execute_or_queue_command(command, &block) end @@ -1332,11 +733,11 @@ module Google # mutable field is name. The only # acceptable value is "name". If unspecified, all mutable fields will be # updated. + # @param [String] fields + # Selector specifying which fields to include in a partial response. # @param [String] quota_user # Available to use for quota purposes for server-side applications. Can be any # arbitrary string assigned to a user, but should not exceed 40 characters. - # @param [String] fields - # Selector specifying which fields to include in a partial response. # @param [Google::Apis::RequestOptions] options # Request-specific options # @@ -1349,7 +750,7 @@ module Google # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required - def patch_dataset(dataset_id, dataset_object = nil, update_mask: nil, quota_user: nil, fields: nil, options: nil, &block) + def patch_dataset(dataset_id, dataset_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:patch, 'v1/datasets/{datasetId}', options) command.request_representation = Google::Apis::GenomicsV1::Dataset::Representation command.request_object = dataset_object @@ -1357,8 +758,78 @@ module Google command.response_class = Google::Apis::GenomicsV1::Dataset command.params['datasetId'] = dataset_id unless dataset_id.nil? command.query['updateMask'] = update_mask unless update_mask.nil? - command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + execute_or_queue_command(command, &block) + end + + # Gets a dataset by ID. + # For the definitions of datasets and other genomics resources, see + # [Fundamentals of Google + # Genomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics) + # @param [String] dataset_id + # The ID of the dataset. + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # Available to use for quota purposes for server-side applications. Can be any + # arbitrary string assigned to a user, but should not exceed 40 characters. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::GenomicsV1::Dataset] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::GenomicsV1::Dataset] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def get_dataset(dataset_id, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:get, 'v1/datasets/{datasetId}', options) + command.response_representation = Google::Apis::GenomicsV1::Dataset::Representation + command.response_class = Google::Apis::GenomicsV1::Dataset + command.params['datasetId'] = dataset_id unless dataset_id.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + execute_or_queue_command(command, &block) + end + + # Undeletes a dataset by restoring a dataset which was deleted via this API. + # For the definitions of datasets and other genomics resources, see + # [Fundamentals of Google + # Genomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics) + # This operation is only possible for a week after the deletion occurred. + # @param [String] dataset_id + # The ID of the dataset to be undeleted. + # @param [Google::Apis::GenomicsV1::UndeleteDatasetRequest] undelete_dataset_request_object + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # Available to use for quota purposes for server-side applications. Can be any + # arbitrary string assigned to a user, but should not exceed 40 characters. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::GenomicsV1::Dataset] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::GenomicsV1::Dataset] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def undelete_dataset(dataset_id, undelete_dataset_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:post, 'v1/datasets/{datasetId}:undelete', options) + command.request_representation = Google::Apis::GenomicsV1::UndeleteDatasetRequest::Representation + command.request_object = undelete_dataset_request_object + command.response_representation = Google::Apis::GenomicsV1::Dataset::Representation + command.response_class = Google::Apis::GenomicsV1::Dataset + command.params['datasetId'] = dataset_id unless dataset_id.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end @@ -1372,11 +843,11 @@ module Google # REQUIRED: The resource for which policy is being specified. Format is # `datasets/`. # @param [Google::Apis::GenomicsV1::TestIamPermissionsRequest] test_iam_permissions_request_object + # @param [String] fields + # Selector specifying which fields to include in a partial response. # @param [String] quota_user # Available to use for quota purposes for server-side applications. Can be any # arbitrary string assigned to a user, but should not exceed 40 characters. - # @param [String] fields - # Selector specifying which fields to include in a partial response. # @param [Google::Apis::RequestOptions] options # Request-specific options # @@ -1389,15 +860,15 @@ module Google # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required - def test_dataset_iam_permissions(resource, test_iam_permissions_request_object = nil, quota_user: nil, fields: nil, options: nil, &block) + def test_dataset_iam_permissions(resource, test_iam_permissions_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'v1/{+resource}:testIamPermissions', options) command.request_representation = Google::Apis::GenomicsV1::TestIamPermissionsRequest::Representation command.request_object = test_iam_permissions_request_object command.response_representation = Google::Apis::GenomicsV1::TestIamPermissionsResponse::Representation command.response_class = Google::Apis::GenomicsV1::TestIamPermissionsResponse command.params['resource'] = resource unless resource.nil? - command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end @@ -1412,11 +883,11 @@ module Google # Genomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics) # @param [String] dataset_id # The ID of the dataset to be deleted. + # @param [String] fields + # Selector specifying which fields to include in a partial response. # @param [String] quota_user # Available to use for quota purposes for server-side applications. Can be any # arbitrary string assigned to a user, but should not exceed 40 characters. - # @param [String] fields - # Selector specifying which fields to include in a partial response. # @param [Google::Apis::RequestOptions] options # Request-specific options # @@ -1429,13 +900,13 @@ module Google # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required - def delete_dataset(dataset_id, quota_user: nil, fields: nil, options: nil, &block) + def delete_dataset(dataset_id, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:delete, 'v1/datasets/{datasetId}', options) command.response_representation = Google::Apis::GenomicsV1::Empty::Representation command.response_class = Google::Apis::GenomicsV1::Empty command.params['datasetId'] = dataset_id unless dataset_id.nil? - command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end @@ -1443,20 +914,20 @@ module Google # For the definitions of datasets and other genomics resources, see # [Fundamentals of Google # Genomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics) + # @param [String] page_token + # The continuation token, which is used to page through large result sets. + # To get the next page of results, set this parameter to the value of + # `nextPageToken` from the previous response. # @param [Fixnum] page_size # The maximum number of results to return in a single page. If unspecified, # defaults to 50. The maximum value is 1024. # @param [String] project_id # Required. The Google Cloud project ID to list datasets for. - # @param [String] page_token - # The continuation token, which is used to page through large result sets. - # To get the next page of results, set this parameter to the value of - # `nextPageToken` from the previous response. + # @param [String] fields + # Selector specifying which fields to include in a partial response. # @param [String] quota_user # Available to use for quota purposes for server-side applications. Can be any # arbitrary string assigned to a user, but should not exceed 40 characters. - # @param [String] fields - # Selector specifying which fields to include in a partial response. # @param [Google::Apis::RequestOptions] options # Request-specific options # @@ -1469,48 +940,15 @@ module Google # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required - def list_datasets(page_size: nil, project_id: nil, page_token: nil, quota_user: nil, fields: nil, options: nil, &block) + def list_datasets(page_token: nil, page_size: nil, project_id: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1/datasets', options) command.response_representation = Google::Apis::GenomicsV1::ListDatasetsResponse::Representation command.response_class = Google::Apis::GenomicsV1::ListDatasetsResponse + command.query['pageToken'] = page_token unless page_token.nil? command.query['pageSize'] = page_size unless page_size.nil? command.query['projectId'] = project_id unless project_id.nil? - command.query['pageToken'] = page_token unless page_token.nil? - command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['fields'] = fields unless fields.nil? - execute_or_queue_command(command, &block) - end - - # Creates a new dataset. - # For the definitions of datasets and other genomics resources, see - # [Fundamentals of Google - # Genomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics) - # @param [Google::Apis::GenomicsV1::Dataset] dataset_object - # @param [String] quota_user - # Available to use for quota purposes for server-side applications. Can be any - # arbitrary string assigned to a user, but should not exceed 40 characters. - # @param [String] fields - # Selector specifying which fields to include in a partial response. - # @param [Google::Apis::RequestOptions] options - # Request-specific options - # - # @yield [result, err] Result & error if block supplied - # @yieldparam result [Google::Apis::GenomicsV1::Dataset] parsed result object - # @yieldparam err [StandardError] error object if request failed - # - # @return [Google::Apis::GenomicsV1::Dataset] - # - # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried - # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification - # @raise [Google::Apis::AuthorizationError] Authorization is required - def create_dataset(dataset_object = nil, quota_user: nil, fields: nil, options: nil, &block) - command = make_simple_command(:post, 'v1/datasets', options) - command.request_representation = Google::Apis::GenomicsV1::Dataset::Representation - command.request_object = dataset_object - command.response_representation = Google::Apis::GenomicsV1::Dataset::Representation - command.response_class = Google::Apis::GenomicsV1::Dataset command.query['quotaUser'] = quota_user unless quota_user.nil? - command.query['fields'] = fields unless fields.nil? execute_or_queue_command(command, &block) end @@ -1525,11 +963,11 @@ module Google # REQUIRED: The resource for which policy is being specified. Format is # `datasets/`. # @param [Google::Apis::GenomicsV1::SetIamPolicyRequest] set_iam_policy_request_object + # @param [String] fields + # Selector specifying which fields to include in a partial response. # @param [String] quota_user # Available to use for quota purposes for server-side applications. Can be any # arbitrary string assigned to a user, but should not exceed 40 characters. - # @param [String] fields - # Selector specifying which fields to include in a partial response. # @param [Google::Apis::RequestOptions] options # Request-specific options # @@ -1542,85 +980,48 @@ module Google # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required - def set_dataset_iam_policy(resource, set_iam_policy_request_object = nil, quota_user: nil, fields: nil, options: nil, &block) + def set_dataset_iam_policy(resource, set_iam_policy_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'v1/{+resource}:setIamPolicy', options) command.request_representation = Google::Apis::GenomicsV1::SetIamPolicyRequest::Representation command.request_object = set_iam_policy_request_object command.response_representation = Google::Apis::GenomicsV1::Policy::Representation command.response_class = Google::Apis::GenomicsV1::Policy command.params['resource'] = resource unless resource.nil? - command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end - # Deletes a variant set including all variants, call sets, and calls within. - # This is not reversible. - # For the definitions of variant sets and other genomics resources, see + # Creates a new dataset. + # For the definitions of datasets and other genomics resources, see # [Fundamentals of Google # Genomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics) - # @param [String] variant_set_id - # The ID of the variant set to be deleted. + # @param [Google::Apis::GenomicsV1::Dataset] dataset_object + # @param [String] fields + # Selector specifying which fields to include in a partial response. # @param [String] quota_user # Available to use for quota purposes for server-side applications. Can be any # arbitrary string assigned to a user, but should not exceed 40 characters. - # @param [String] fields - # Selector specifying which fields to include in a partial response. # @param [Google::Apis::RequestOptions] options # Request-specific options # # @yield [result, err] Result & error if block supplied - # @yieldparam result [Google::Apis::GenomicsV1::Empty] parsed result object + # @yieldparam result [Google::Apis::GenomicsV1::Dataset] parsed result object # @yieldparam err [StandardError] error object if request failed # - # @return [Google::Apis::GenomicsV1::Empty] + # @return [Google::Apis::GenomicsV1::Dataset] # # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required - def delete_variantset(variant_set_id, quota_user: nil, fields: nil, options: nil, &block) - command = make_simple_command(:delete, 'v1/variantsets/{variantSetId}', options) - command.response_representation = Google::Apis::GenomicsV1::Empty::Representation - command.response_class = Google::Apis::GenomicsV1::Empty - command.params['variantSetId'] = variant_set_id unless variant_set_id.nil? - command.query['quotaUser'] = quota_user unless quota_user.nil? + def create_dataset(dataset_object = nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:post, 'v1/datasets', options) + command.request_representation = Google::Apis::GenomicsV1::Dataset::Representation + command.request_object = dataset_object + command.response_representation = Google::Apis::GenomicsV1::Dataset::Representation + command.response_class = Google::Apis::GenomicsV1::Dataset command.query['fields'] = fields unless fields.nil? - execute_or_queue_command(command, &block) - end - - # Creates a new variant set. - # For the definitions of variant sets and other genomics resources, see - # [Fundamentals of Google - # Genomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics) - # The provided variant set must have a valid `datasetId` set - all other - # fields are optional. Note that the `id` field will be ignored, as this is - # assigned by the server. - # @param [Google::Apis::GenomicsV1::VariantSet] variant_set_object - # @param [String] quota_user - # Available to use for quota purposes for server-side applications. Can be any - # arbitrary string assigned to a user, but should not exceed 40 characters. - # @param [String] fields - # Selector specifying which fields to include in a partial response. - # @param [Google::Apis::RequestOptions] options - # Request-specific options - # - # @yield [result, err] Result & error if block supplied - # @yieldparam result [Google::Apis::GenomicsV1::VariantSet] parsed result object - # @yieldparam err [StandardError] error object if request failed - # - # @return [Google::Apis::GenomicsV1::VariantSet] - # - # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried - # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification - # @raise [Google::Apis::AuthorizationError] Authorization is required - def create_variantset(variant_set_object = nil, quota_user: nil, fields: nil, options: nil, &block) - command = make_simple_command(:post, 'v1/variantsets', options) - command.request_representation = Google::Apis::GenomicsV1::VariantSet::Representation - command.request_object = variant_set_object - command.response_representation = Google::Apis::GenomicsV1::VariantSet::Representation - command.response_class = Google::Apis::GenomicsV1::VariantSet command.query['quotaUser'] = quota_user unless quota_user.nil? - command.query['fields'] = fields unless fields.nil? execute_or_queue_command(command, &block) end @@ -1632,11 +1033,11 @@ module Google # Required. The ID of the variant set that contains variant data which # should be exported. The caller must have READ access to this variant set. # @param [Google::Apis::GenomicsV1::ExportVariantSetRequest] export_variant_set_request_object + # @param [String] fields + # Selector specifying which fields to include in a partial response. # @param [String] quota_user # Available to use for quota purposes for server-side applications. Can be any # arbitrary string assigned to a user, but should not exceed 40 characters. - # @param [String] fields - # Selector specifying which fields to include in a partial response. # @param [Google::Apis::RequestOptions] options # Request-specific options # @@ -1649,15 +1050,15 @@ module Google # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required - def export_variant_set(variant_set_id, export_variant_set_request_object = nil, quota_user: nil, fields: nil, options: nil, &block) + def export_variant_set(variant_set_id, export_variant_set_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'v1/variantsets/{variantSetId}:export', options) command.request_representation = Google::Apis::GenomicsV1::ExportVariantSetRequest::Representation command.request_object = export_variant_set_request_object command.response_representation = Google::Apis::GenomicsV1::Operation::Representation command.response_class = Google::Apis::GenomicsV1::Operation command.params['variantSetId'] = variant_set_id unless variant_set_id.nil? - command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end @@ -1669,11 +1070,11 @@ module Google # [GlobalAllianceApi.searchVariantSets](https://github.com/ga4gh/schemas/blob/v0. # 5.1/src/main/resources/avro/variantmethods.avdl#L49). # @param [Google::Apis::GenomicsV1::SearchVariantSetsRequest] search_variant_sets_request_object + # @param [String] fields + # Selector specifying which fields to include in a partial response. # @param [String] quota_user # Available to use for quota purposes for server-side applications. Can be any # arbitrary string assigned to a user, but should not exceed 40 characters. - # @param [String] fields - # Selector specifying which fields to include in a partial response. # @param [Google::Apis::RequestOptions] options # Request-specific options # @@ -1686,14 +1087,47 @@ module Google # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required - def search_variant_sets(search_variant_sets_request_object = nil, quota_user: nil, fields: nil, options: nil, &block) + def search_variant_sets(search_variant_sets_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'v1/variantsets/search', options) command.request_representation = Google::Apis::GenomicsV1::SearchVariantSetsRequest::Representation command.request_object = search_variant_sets_request_object command.response_representation = Google::Apis::GenomicsV1::SearchVariantSetsResponse::Representation command.response_class = Google::Apis::GenomicsV1::SearchVariantSetsResponse - command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + execute_or_queue_command(command, &block) + end + + # Gets a variant set by ID. + # For the definitions of variant sets and other genomics resources, see + # [Fundamentals of Google + # Genomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics) + # @param [String] variant_set_id + # Required. The ID of the variant set. + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # Available to use for quota purposes for server-side applications. Can be any + # arbitrary string assigned to a user, but should not exceed 40 characters. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::GenomicsV1::VariantSet] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::GenomicsV1::VariantSet] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def get_variantset(variant_set_id, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:get, 'v1/variantsets/{variantSetId}', options) + command.response_representation = Google::Apis::GenomicsV1::VariantSet::Representation + command.response_class = Google::Apis::GenomicsV1::VariantSet + command.params['variantSetId'] = variant_set_id unless variant_set_id.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end @@ -1711,11 +1145,11 @@ module Google # * description. # Leaving `updateMask` unset is equivalent to specifying all mutable # fields. + # @param [String] fields + # Selector specifying which fields to include in a partial response. # @param [String] quota_user # Available to use for quota purposes for server-side applications. Can be any # arbitrary string assigned to a user, but should not exceed 40 characters. - # @param [String] fields - # Selector specifying which fields to include in a partial response. # @param [Google::Apis::RequestOptions] options # Request-specific options # @@ -1728,7 +1162,7 @@ module Google # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required - def patch_variantset(variant_set_id, variant_set_object = nil, update_mask: nil, quota_user: nil, fields: nil, options: nil, &block) + def patch_variantset(variant_set_id, variant_set_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:patch, 'v1/variantsets/{variantSetId}', options) command.request_representation = Google::Apis::GenomicsV1::VariantSet::Representation command.request_object = variant_set_object @@ -1736,22 +1170,58 @@ module Google command.response_class = Google::Apis::GenomicsV1::VariantSet command.params['variantSetId'] = variant_set_id unless variant_set_id.nil? command.query['updateMask'] = update_mask unless update_mask.nil? - command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end - # Gets a variant set by ID. + # Deletes a variant set including all variants, call sets, and calls within. + # This is not reversible. # For the definitions of variant sets and other genomics resources, see # [Fundamentals of Google # Genomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics) # @param [String] variant_set_id - # Required. The ID of the variant set. + # The ID of the variant set to be deleted. + # @param [String] fields + # Selector specifying which fields to include in a partial response. # @param [String] quota_user # Available to use for quota purposes for server-side applications. Can be any # arbitrary string assigned to a user, but should not exceed 40 characters. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::GenomicsV1::Empty] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::GenomicsV1::Empty] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def delete_variantset(variant_set_id, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:delete, 'v1/variantsets/{variantSetId}', options) + command.response_representation = Google::Apis::GenomicsV1::Empty::Representation + command.response_class = Google::Apis::GenomicsV1::Empty + command.params['variantSetId'] = variant_set_id unless variant_set_id.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + execute_or_queue_command(command, &block) + end + + # Creates a new variant set. + # For the definitions of variant sets and other genomics resources, see + # [Fundamentals of Google + # Genomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics) + # The provided variant set must have a valid `datasetId` set - all other + # fields are optional. Note that the `id` field will be ignored, as this is + # assigned by the server. + # @param [Google::Apis::GenomicsV1::VariantSet] variant_set_object # @param [String] fields # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # Available to use for quota purposes for server-side applications. Can be any + # arbitrary string assigned to a user, but should not exceed 40 characters. # @param [Google::Apis::RequestOptions] options # Request-specific options # @@ -1764,13 +1234,45 @@ module Google # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required - def get_variantset(variant_set_id, quota_user: nil, fields: nil, options: nil, &block) - command = make_simple_command(:get, 'v1/variantsets/{variantSetId}', options) + def create_variantset(variant_set_object = nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:post, 'v1/variantsets', options) + command.request_representation = Google::Apis::GenomicsV1::VariantSet::Representation + command.request_object = variant_set_object command.response_representation = Google::Apis::GenomicsV1::VariantSet::Representation command.response_class = Google::Apis::GenomicsV1::VariantSet - command.params['variantSetId'] = variant_set_id unless variant_set_id.nil? - command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + execute_or_queue_command(command, &block) + end + + # Deletes an annotation. Caller must have WRITE permission for + # the associated annotation set. + # @param [String] annotation_id + # The ID of the annotation to be deleted. + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # Available to use for quota purposes for server-side applications. Can be any + # arbitrary string assigned to a user, but should not exceed 40 characters. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::GenomicsV1::Empty] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::GenomicsV1::Empty] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def delete_annotation(annotation_id, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:delete, 'v1/annotations/{annotationId}', options) + command.response_representation = Google::Apis::GenomicsV1::Empty::Representation + command.response_class = Google::Apis::GenomicsV1::Empty + command.params['annotationId'] = annotation_id unless annotation_id.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end @@ -1791,11 +1293,11 @@ module Google # Annotation resource # for additional restrictions on each field. # @param [Google::Apis::GenomicsV1::Annotation] annotation_object + # @param [String] fields + # Selector specifying which fields to include in a partial response. # @param [String] quota_user # Available to use for quota purposes for server-side applications. Can be any # arbitrary string assigned to a user, but should not exceed 40 characters. - # @param [String] fields - # Selector specifying which fields to include in a partial response. # @param [Google::Apis::RequestOptions] options # Request-specific options # @@ -1808,14 +1310,14 @@ module Google # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required - def create_annotation(annotation_object = nil, quota_user: nil, fields: nil, options: nil, &block) + def create_annotation(annotation_object = nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'v1/annotations', options) command.request_representation = Google::Apis::GenomicsV1::Annotation::Representation command.request_object = annotation_object command.response_representation = Google::Apis::GenomicsV1::Annotation::Representation command.response_class = Google::Apis::GenomicsV1::Annotation - command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end @@ -1832,11 +1334,11 @@ module Google # see # CreateAnnotation. # @param [Google::Apis::GenomicsV1::BatchCreateAnnotationsRequest] batch_create_annotations_request_object + # @param [String] fields + # Selector specifying which fields to include in a partial response. # @param [String] quota_user # Available to use for quota purposes for server-side applications. Can be any # arbitrary string assigned to a user, but should not exceed 40 characters. - # @param [String] fields - # Selector specifying which fields to include in a partial response. # @param [Google::Apis::RequestOptions] options # Request-specific options # @@ -1849,14 +1351,14 @@ module Google # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required - def batch_create_annotations(batch_create_annotations_request_object = nil, quota_user: nil, fields: nil, options: nil, &block) + def batch_create_annotations(batch_create_annotations_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'v1/annotations:batchCreate', options) command.request_representation = Google::Apis::GenomicsV1::BatchCreateAnnotationsRequest::Representation command.request_object = batch_create_annotations_request_object command.response_representation = Google::Apis::GenomicsV1::BatchCreateAnnotationsResponse::Representation command.response_class = Google::Apis::GenomicsV1::BatchCreateAnnotationsResponse - command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end @@ -1868,11 +1370,11 @@ module Google # across their respective streams of paginated responses. Caller must have # READ permission for the queried annotation sets. # @param [Google::Apis::GenomicsV1::SearchAnnotationsRequest] search_annotations_request_object + # @param [String] fields + # Selector specifying which fields to include in a partial response. # @param [String] quota_user # Available to use for quota purposes for server-side applications. Can be any # arbitrary string assigned to a user, but should not exceed 40 characters. - # @param [String] fields - # Selector specifying which fields to include in a partial response. # @param [Google::Apis::RequestOptions] options # Request-specific options # @@ -1885,14 +1387,14 @@ module Google # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required - def search_annotations(search_annotations_request_object = nil, quota_user: nil, fields: nil, options: nil, &block) + def search_annotations(search_annotations_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'v1/annotations/search', options) command.request_representation = Google::Apis::GenomicsV1::SearchAnnotationsRequest::Representation command.request_object = search_annotations_request_object command.response_representation = Google::Apis::GenomicsV1::SearchAnnotationsResponse::Representation command.response_class = Google::Apis::GenomicsV1::SearchAnnotationsResponse - command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end @@ -1900,11 +1402,11 @@ module Google # for the associated annotation set. # @param [String] annotation_id # The ID of the annotation to be retrieved. + # @param [String] fields + # Selector specifying which fields to include in a partial response. # @param [String] quota_user # Available to use for quota purposes for server-side applications. Can be any # arbitrary string assigned to a user, but should not exceed 40 characters. - # @param [String] fields - # Selector specifying which fields to include in a partial response. # @param [Google::Apis::RequestOptions] options # Request-specific options # @@ -1917,13 +1419,13 @@ module Google # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required - def get_annotation(annotation_id, quota_user: nil, fields: nil, options: nil, &block) + def get_annotation(annotation_id, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1/annotations/{annotationId}', options) command.response_representation = Google::Apis::GenomicsV1::Annotation::Representation command.response_class = Google::Apis::GenomicsV1::Annotation command.params['annotationId'] = annotation_id unless annotation_id.nil? - command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end @@ -1939,11 +1441,11 @@ module Google # transcript, and # info. If unspecified, all mutable # fields will be updated. + # @param [String] fields + # Selector specifying which fields to include in a partial response. # @param [String] quota_user # Available to use for quota purposes for server-side applications. Can be any # arbitrary string assigned to a user, but should not exceed 40 characters. - # @param [String] fields - # Selector specifying which fields to include in a partial response. # @param [Google::Apis::RequestOptions] options # Request-specific options # @@ -1956,7 +1458,7 @@ module Google # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required - def update_annotation(annotation_id, annotation_object = nil, update_mask: nil, quota_user: nil, fields: nil, options: nil, &block) + def update_annotation(annotation_id, annotation_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:put, 'v1/annotations/{annotationId}', options) command.request_representation = Google::Apis::GenomicsV1::Annotation::Representation command.request_object = annotation_object @@ -1964,39 +1466,8 @@ module Google command.response_class = Google::Apis::GenomicsV1::Annotation command.params['annotationId'] = annotation_id unless annotation_id.nil? command.query['updateMask'] = update_mask unless update_mask.nil? - command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['fields'] = fields unless fields.nil? - execute_or_queue_command(command, &block) - end - - # Deletes an annotation. Caller must have WRITE permission for - # the associated annotation set. - # @param [String] annotation_id - # The ID of the annotation to be deleted. - # @param [String] quota_user - # Available to use for quota purposes for server-side applications. Can be any - # arbitrary string assigned to a user, but should not exceed 40 characters. - # @param [String] fields - # Selector specifying which fields to include in a partial response. - # @param [Google::Apis::RequestOptions] options - # Request-specific options - # - # @yield [result, err] Result & error if block supplied - # @yieldparam result [Google::Apis::GenomicsV1::Empty] parsed result object - # @yieldparam err [StandardError] error object if request failed - # - # @return [Google::Apis::GenomicsV1::Empty] - # - # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried - # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification - # @raise [Google::Apis::AuthorizationError] Authorization is required - def delete_annotation(annotation_id, quota_user: nil, fields: nil, options: nil, &block) - command = make_simple_command(:delete, 'v1/annotations/{annotationId}', options) - command.response_representation = Google::Apis::GenomicsV1::Empty::Representation - command.response_class = Google::Apis::GenomicsV1::Empty - command.params['annotationId'] = annotation_id unless annotation_id.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? - command.query['fields'] = fields unless fields.nil? execute_or_queue_command(command, &block) end @@ -2007,11 +1478,11 @@ module Google # @param [String] name # The name of the operation resource to be cancelled. # @param [Google::Apis::GenomicsV1::CancelOperationRequest] cancel_operation_request_object + # @param [String] fields + # Selector specifying which fields to include in a partial response. # @param [String] quota_user # Available to use for quota purposes for server-side applications. Can be any # arbitrary string assigned to a user, but should not exceed 40 characters. - # @param [String] fields - # Selector specifying which fields to include in a partial response. # @param [Google::Apis::RequestOptions] options # Request-specific options # @@ -2024,24 +1495,21 @@ module Google # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required - def cancel_operation(name, cancel_operation_request_object = nil, quota_user: nil, fields: nil, options: nil, &block) + def cancel_operation(name, cancel_operation_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'v1/{+name}:cancel', options) command.request_representation = Google::Apis::GenomicsV1::CancelOperationRequest::Representation command.request_object = cancel_operation_request_object command.response_representation = Google::Apis::GenomicsV1::Empty::Representation command.response_class = Google::Apis::GenomicsV1::Empty command.params['name'] = name unless name.nil? - command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end # Lists operations that match the specified filter in the request. # @param [String] name # The name of the operation collection. - # @param [Fixnum] page_size - # The maximum number of results to return. If unspecified, defaults to - # 256. The maximum value is 2048. # @param [String] filter # A string for filtering Operations. # The following filter fields are supported: @@ -2061,11 +1529,14 @@ module Google # * `projectId = my-project AND labels.color = red` # @param [String] page_token # The standard list page token. + # @param [Fixnum] page_size + # The maximum number of results to return. If unspecified, defaults to + # 256. The maximum value is 2048. + # @param [String] fields + # Selector specifying which fields to include in a partial response. # @param [String] quota_user # Available to use for quota purposes for server-side applications. Can be any # arbitrary string assigned to a user, but should not exceed 40 characters. - # @param [String] fields - # Selector specifying which fields to include in a partial response. # @param [Google::Apis::RequestOptions] options # Request-specific options # @@ -2078,16 +1549,16 @@ module Google # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required - def list_operations(name, page_size: nil, filter: nil, page_token: nil, quota_user: nil, fields: nil, options: nil, &block) + def list_operations(name, filter: nil, page_token: nil, page_size: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1/{+name}', options) command.response_representation = Google::Apis::GenomicsV1::ListOperationsResponse::Representation command.response_class = Google::Apis::GenomicsV1::ListOperationsResponse command.params['name'] = name unless name.nil? - command.query['pageSize'] = page_size unless page_size.nil? command.query['filter'] = filter unless filter.nil? command.query['pageToken'] = page_token unless page_token.nil? - command.query['quotaUser'] = quota_user unless quota_user.nil? + command.query['pageSize'] = page_size unless page_size.nil? command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end @@ -2096,11 +1567,11 @@ module Google # service. # @param [String] name # The name of the operation resource. + # @param [String] fields + # Selector specifying which fields to include in a partial response. # @param [String] quota_user # Available to use for quota purposes for server-side applications. Can be any # arbitrary string assigned to a user, but should not exceed 40 characters. - # @param [String] fields - # Selector specifying which fields to include in a partial response. # @param [Google::Apis::RequestOptions] options # Request-specific options # @@ -2113,49 +1584,13 @@ module Google # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required - def get_operation(name, quota_user: nil, fields: nil, options: nil, &block) + def get_operation(name, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1/{+name}', options) command.response_representation = Google::Apis::GenomicsV1::Operation::Representation command.response_class = Google::Apis::GenomicsV1::Operation command.params['name'] = name unless name.nil? - command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['fields'] = fields unless fields.nil? - execute_or_queue_command(command, &block) - end - - # Searches for reference sets which match the given criteria. - # For the definitions of references and other genomics resources, see - # [Fundamentals of Google - # Genomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics) - # Implements - # [GlobalAllianceApi.searchReferenceSets](https://github.com/ga4gh/schemas/blob/ - # v0.5.1/src/main/resources/avro/referencemethods.avdl#L71) - # @param [Google::Apis::GenomicsV1::SearchReferenceSetsRequest] search_reference_sets_request_object - # @param [String] quota_user - # Available to use for quota purposes for server-side applications. Can be any - # arbitrary string assigned to a user, but should not exceed 40 characters. - # @param [String] fields - # Selector specifying which fields to include in a partial response. - # @param [Google::Apis::RequestOptions] options - # Request-specific options - # - # @yield [result, err] Result & error if block supplied - # @yieldparam result [Google::Apis::GenomicsV1::SearchReferenceSetsResponse] parsed result object - # @yieldparam err [StandardError] error object if request failed - # - # @return [Google::Apis::GenomicsV1::SearchReferenceSetsResponse] - # - # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried - # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification - # @raise [Google::Apis::AuthorizationError] Authorization is required - def search_reference_sets(search_reference_sets_request_object = nil, quota_user: nil, fields: nil, options: nil, &block) - command = make_simple_command(:post, 'v1/referencesets/search', options) - command.request_representation = Google::Apis::GenomicsV1::SearchReferenceSetsRequest::Representation - command.request_object = search_reference_sets_request_object - command.response_representation = Google::Apis::GenomicsV1::SearchReferenceSetsResponse::Representation - command.response_class = Google::Apis::GenomicsV1::SearchReferenceSetsResponse command.query['quotaUser'] = quota_user unless quota_user.nil? - command.query['fields'] = fields unless fields.nil? execute_or_queue_command(command, &block) end @@ -2168,11 +1603,11 @@ module Google # 1/src/main/resources/avro/referencemethods.avdl#L83). # @param [String] reference_set_id # The ID of the reference set. + # @param [String] fields + # Selector specifying which fields to include in a partial response. # @param [String] quota_user # Available to use for quota purposes for server-side applications. Can be any # arbitrary string assigned to a user, but should not exceed 40 characters. - # @param [String] fields - # Selector specifying which fields to include in a partial response. # @param [Google::Apis::RequestOptions] options # Request-specific options # @@ -2185,13 +1620,579 @@ module Google # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required - def get_reference_set(reference_set_id, quota_user: nil, fields: nil, options: nil, &block) + def get_reference_set(reference_set_id, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1/referencesets/{referenceSetId}', options) command.response_representation = Google::Apis::GenomicsV1::ReferenceSet::Representation command.response_class = Google::Apis::GenomicsV1::ReferenceSet command.params['referenceSetId'] = reference_set_id unless reference_set_id.nil? - command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + execute_or_queue_command(command, &block) + end + + # Searches for reference sets which match the given criteria. + # For the definitions of references and other genomics resources, see + # [Fundamentals of Google + # Genomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics) + # Implements + # [GlobalAllianceApi.searchReferenceSets](https://github.com/ga4gh/schemas/blob/ + # v0.5.1/src/main/resources/avro/referencemethods.avdl#L71) + # @param [Google::Apis::GenomicsV1::SearchReferenceSetsRequest] search_reference_sets_request_object + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # Available to use for quota purposes for server-side applications. Can be any + # arbitrary string assigned to a user, but should not exceed 40 characters. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::GenomicsV1::SearchReferenceSetsResponse] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::GenomicsV1::SearchReferenceSetsResponse] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def search_reference_sets(search_reference_sets_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:post, 'v1/referencesets/search', options) + command.request_representation = Google::Apis::GenomicsV1::SearchReferenceSetsRequest::Representation + command.request_object = search_reference_sets_request_object + command.response_representation = Google::Apis::GenomicsV1::SearchReferenceSetsResponse::Representation + command.response_class = Google::Apis::GenomicsV1::SearchReferenceSetsResponse + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + execute_or_queue_command(command, &block) + end + + # Exports a read group set to a BAM file in Google Cloud Storage. + # For the definitions of read group sets and other genomics resources, see + # [Fundamentals of Google + # Genomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics) + # Note that currently there may be some differences between exported BAM + # files and the original BAM file at the time of import. See + # ImportReadGroupSets + # for caveats. + # @param [String] read_group_set_id + # Required. The ID of the read group set to export. The caller must have + # READ access to this read group set. + # @param [Google::Apis::GenomicsV1::ExportReadGroupSetRequest] export_read_group_set_request_object + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # Available to use for quota purposes for server-side applications. Can be any + # arbitrary string assigned to a user, but should not exceed 40 characters. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::GenomicsV1::Operation] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::GenomicsV1::Operation] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def export_read_group_sets(read_group_set_id, export_read_group_set_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:post, 'v1/readgroupsets/{readGroupSetId}:export', options) + command.request_representation = Google::Apis::GenomicsV1::ExportReadGroupSetRequest::Representation + command.request_object = export_read_group_set_request_object + command.response_representation = Google::Apis::GenomicsV1::Operation::Representation + command.response_class = Google::Apis::GenomicsV1::Operation + command.params['readGroupSetId'] = read_group_set_id unless read_group_set_id.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + execute_or_queue_command(command, &block) + end + + # Searches for read group sets matching the criteria. + # For the definitions of read group sets and other genomics resources, see + # [Fundamentals of Google + # Genomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics) + # Implements + # [GlobalAllianceApi.searchReadGroupSets](https://github.com/ga4gh/schemas/blob/ + # v0.5.1/src/main/resources/avro/readmethods.avdl#L135). + # @param [Google::Apis::GenomicsV1::SearchReadGroupSetsRequest] search_read_group_sets_request_object + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # Available to use for quota purposes for server-side applications. Can be any + # arbitrary string assigned to a user, but should not exceed 40 characters. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::GenomicsV1::SearchReadGroupSetsResponse] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::GenomicsV1::SearchReadGroupSetsResponse] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def search_read_group_sets(search_read_group_sets_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:post, 'v1/readgroupsets/search', options) + command.request_representation = Google::Apis::GenomicsV1::SearchReadGroupSetsRequest::Representation + command.request_object = search_read_group_sets_request_object + command.response_representation = Google::Apis::GenomicsV1::SearchReadGroupSetsResponse::Representation + command.response_class = Google::Apis::GenomicsV1::SearchReadGroupSetsResponse + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + execute_or_queue_command(command, &block) + end + + # Gets a read group set by ID. + # For the definitions of read group sets and other genomics resources, see + # [Fundamentals of Google + # Genomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics) + # @param [String] read_group_set_id + # The ID of the read group set. + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # Available to use for quota purposes for server-side applications. Can be any + # arbitrary string assigned to a user, but should not exceed 40 characters. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::GenomicsV1::ReadGroupSet] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::GenomicsV1::ReadGroupSet] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def get_read_group_set(read_group_set_id, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:get, 'v1/readgroupsets/{readGroupSetId}', options) + command.response_representation = Google::Apis::GenomicsV1::ReadGroupSet::Representation + command.response_class = Google::Apis::GenomicsV1::ReadGroupSet + command.params['readGroupSetId'] = read_group_set_id unless read_group_set_id.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + execute_or_queue_command(command, &block) + end + + # Updates a read group set. + # For the definitions of read group sets and other genomics resources, see + # [Fundamentals of Google + # Genomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics) + # This method supports patch semantics. + # @param [String] read_group_set_id + # The ID of the read group set to be updated. The caller must have WRITE + # permissions to the dataset associated with this read group set. + # @param [Google::Apis::GenomicsV1::ReadGroupSet] read_group_set_object + # @param [String] update_mask + # An optional mask specifying which fields to update. Supported fields: + # * name. + # * referenceSetId. + # Leaving `updateMask` unset is equivalent to specifying all mutable + # fields. + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # Available to use for quota purposes for server-side applications. Can be any + # arbitrary string assigned to a user, but should not exceed 40 characters. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::GenomicsV1::ReadGroupSet] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::GenomicsV1::ReadGroupSet] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def patch_read_group_set(read_group_set_id, read_group_set_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:patch, 'v1/readgroupsets/{readGroupSetId}', options) + command.request_representation = Google::Apis::GenomicsV1::ReadGroupSet::Representation + command.request_object = read_group_set_object + command.response_representation = Google::Apis::GenomicsV1::ReadGroupSet::Representation + command.response_class = Google::Apis::GenomicsV1::ReadGroupSet + command.params['readGroupSetId'] = read_group_set_id unless read_group_set_id.nil? + command.query['updateMask'] = update_mask unless update_mask.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + execute_or_queue_command(command, &block) + end + + # Creates read group sets by asynchronously importing the provided + # information. + # For the definitions of read group sets and other genomics resources, see + # [Fundamentals of Google + # Genomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics) + # The caller must have WRITE permissions to the dataset. + # ## Notes on [BAM](https://samtools.github.io/hts-specs/SAMv1.pdf) import + # - Tags will be converted to strings - tag types are not preserved + # - Comments (`@CO`) in the input file header will not be preserved + # - Original header order of references (`@SQ`) will not be preserved + # - Any reverse stranded unmapped reads will be reverse complemented, and + # their qualities (also the "BQ" and "OQ" tags, if any) will be reversed + # - Unmapped reads will be stripped of positional information (reference name + # and position) + # @param [Google::Apis::GenomicsV1::ImportReadGroupSetsRequest] import_read_group_sets_request_object + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # Available to use for quota purposes for server-side applications. Can be any + # arbitrary string assigned to a user, but should not exceed 40 characters. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::GenomicsV1::Operation] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::GenomicsV1::Operation] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def import_read_group_sets(import_read_group_sets_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:post, 'v1/readgroupsets:import', options) + command.request_representation = Google::Apis::GenomicsV1::ImportReadGroupSetsRequest::Representation + command.request_object = import_read_group_sets_request_object + command.response_representation = Google::Apis::GenomicsV1::Operation::Representation + command.response_class = Google::Apis::GenomicsV1::Operation + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + execute_or_queue_command(command, &block) + end + + # Deletes a read group set. + # For the definitions of read group sets and other genomics resources, see + # [Fundamentals of Google + # Genomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics) + # @param [String] read_group_set_id + # The ID of the read group set to be deleted. The caller must have WRITE + # permissions to the dataset associated with this read group set. + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # Available to use for quota purposes for server-side applications. Can be any + # arbitrary string assigned to a user, but should not exceed 40 characters. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::GenomicsV1::Empty] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::GenomicsV1::Empty] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def delete_read_group_set(read_group_set_id, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:delete, 'v1/readgroupsets/{readGroupSetId}', options) + command.response_representation = Google::Apis::GenomicsV1::Empty::Representation + command.response_class = Google::Apis::GenomicsV1::Empty + command.params['readGroupSetId'] = read_group_set_id unless read_group_set_id.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + execute_or_queue_command(command, &block) + end + + # Lists fixed width coverage buckets for a read group set, each of which + # correspond to a range of a reference sequence. Each bucket summarizes + # coverage information across its corresponding genomic range. + # For the definitions of read group sets and other genomics resources, see + # [Fundamentals of Google + # Genomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics) + # Coverage is defined as the number of reads which are aligned to a given + # base in the reference sequence. Coverage buckets are available at several + # precomputed bucket widths, enabling retrieval of various coverage 'zoom + # levels'. The caller must have READ permissions for the target read group + # set. + # @param [String] read_group_set_id + # Required. The ID of the read group set over which coverage is requested. + # @param [Fixnum] end_ + # The end position of the range on the reference, 0-based exclusive. If + # specified, `referenceName` must also be specified. If unset or 0, defaults + # to the length of the reference. + # @param [String] page_token + # The continuation token, which is used to page through large result sets. + # To get the next page of results, set this parameter to the value of + # `nextPageToken` from the previous response. + # @param [Fixnum] page_size + # The maximum number of results to return in a single page. If unspecified, + # defaults to 1024. The maximum value is 2048. + # @param [Fixnum] start + # The start position of the range on the reference, 0-based inclusive. If + # specified, `referenceName` must also be specified. Defaults to 0. + # @param [Fixnum] target_bucket_width + # The desired width of each reported coverage bucket in base pairs. This + # will be rounded down to the nearest precomputed bucket width; the value + # of which is returned as `bucketWidth` in the response. Defaults + # to infinity (each bucket spans an entire reference sequence) or the length + # of the target range, if specified. The smallest precomputed + # `bucketWidth` is currently 2048 base pairs; this is subject to + # change. + # @param [String] reference_name + # The name of the reference to query, within the reference set associated + # with this query. Optional. + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # Available to use for quota purposes for server-side applications. Can be any + # arbitrary string assigned to a user, but should not exceed 40 characters. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::GenomicsV1::ListCoverageBucketsResponse] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::GenomicsV1::ListCoverageBucketsResponse] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def list_coverage_buckets(read_group_set_id, end_: nil, page_token: nil, page_size: nil, start: nil, target_bucket_width: nil, reference_name: nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:get, 'v1/readgroupsets/{readGroupSetId}/coveragebuckets', options) + command.response_representation = Google::Apis::GenomicsV1::ListCoverageBucketsResponse::Representation + command.response_class = Google::Apis::GenomicsV1::ListCoverageBucketsResponse + command.params['readGroupSetId'] = read_group_set_id unless read_group_set_id.nil? + command.query['end'] = end_ unless end_.nil? + command.query['pageToken'] = page_token unless page_token.nil? + command.query['pageSize'] = page_size unless page_size.nil? + command.query['start'] = start unless start.nil? + command.query['targetBucketWidth'] = target_bucket_width unless target_bucket_width.nil? + command.query['referenceName'] = reference_name unless reference_name.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + execute_or_queue_command(command, &block) + end + + # Gets a list of reads for one or more read group sets. + # For the definitions of read group sets and other genomics resources, see + # [Fundamentals of Google + # Genomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics) + # Reads search operates over a genomic coordinate space of reference sequence + # & position defined over the reference sequences to which the requested + # read group sets are aligned. + # If a target positional range is specified, search returns all reads whose + # alignment to the reference genome overlap the range. A query which + # specifies only read group set IDs yields all reads in those read group + # sets, including unmapped reads. + # All reads returned (including reads on subsequent pages) are ordered by + # genomic coordinate (by reference sequence, then position). Reads with + # equivalent genomic coordinates are returned in an unspecified order. This + # order is consistent, such that two queries for the same content (regardless + # of page size) yield reads in the same order across their respective streams + # of paginated responses. + # Implements + # [GlobalAllianceApi.searchReads](https://github.com/ga4gh/schemas/blob/v0.5.1/ + # src/main/resources/avro/readmethods.avdl#L85). + # @param [Google::Apis::GenomicsV1::SearchReadsRequest] search_reads_request_object + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # Available to use for quota purposes for server-side applications. Can be any + # arbitrary string assigned to a user, but should not exceed 40 characters. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::GenomicsV1::SearchReadsResponse] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::GenomicsV1::SearchReadsResponse] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def search_reads(search_reads_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:post, 'v1/reads/search', options) + command.request_representation = Google::Apis::GenomicsV1::SearchReadsRequest::Representation + command.request_object = search_reads_request_object + command.response_representation = Google::Apis::GenomicsV1::SearchReadsResponse::Representation + command.response_class = Google::Apis::GenomicsV1::SearchReadsResponse + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + execute_or_queue_command(command, &block) + end + + # Deletes a call set. + # For the definitions of call sets and other genomics resources, see + # [Fundamentals of Google + # Genomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics) + # @param [String] call_set_id + # The ID of the call set to be deleted. + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # Available to use for quota purposes for server-side applications. Can be any + # arbitrary string assigned to a user, but should not exceed 40 characters. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::GenomicsV1::Empty] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::GenomicsV1::Empty] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def delete_call_set(call_set_id, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:delete, 'v1/callsets/{callSetId}', options) + command.response_representation = Google::Apis::GenomicsV1::Empty::Representation + command.response_class = Google::Apis::GenomicsV1::Empty + command.params['callSetId'] = call_set_id unless call_set_id.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + execute_or_queue_command(command, &block) + end + + # Gets a list of call sets matching the criteria. + # For the definitions of call sets and other genomics resources, see + # [Fundamentals of Google + # Genomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics) + # Implements + # [GlobalAllianceApi.searchCallSets](https://github.com/ga4gh/schemas/blob/v0.5. + # 1/src/main/resources/avro/variantmethods.avdl#L178). + # @param [Google::Apis::GenomicsV1::SearchCallSetsRequest] search_call_sets_request_object + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # Available to use for quota purposes for server-side applications. Can be any + # arbitrary string assigned to a user, but should not exceed 40 characters. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::GenomicsV1::SearchCallSetsResponse] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::GenomicsV1::SearchCallSetsResponse] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def search_call_sets(search_call_sets_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:post, 'v1/callsets/search', options) + command.request_representation = Google::Apis::GenomicsV1::SearchCallSetsRequest::Representation + command.request_object = search_call_sets_request_object + command.response_representation = Google::Apis::GenomicsV1::SearchCallSetsResponse::Representation + command.response_class = Google::Apis::GenomicsV1::SearchCallSetsResponse + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + execute_or_queue_command(command, &block) + end + + # Updates a call set. + # For the definitions of call sets and other genomics resources, see + # [Fundamentals of Google + # Genomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics) + # This method supports patch semantics. + # @param [String] call_set_id + # The ID of the call set to be updated. + # @param [Google::Apis::GenomicsV1::CallSet] call_set_object + # @param [String] update_mask + # An optional mask specifying which fields to update. At this time, the only + # mutable field is name. The only + # acceptable value is "name". If unspecified, all mutable fields will be + # updated. + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # Available to use for quota purposes for server-side applications. Can be any + # arbitrary string assigned to a user, but should not exceed 40 characters. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::GenomicsV1::CallSet] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::GenomicsV1::CallSet] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def patch_call_set(call_set_id, call_set_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:patch, 'v1/callsets/{callSetId}', options) + command.request_representation = Google::Apis::GenomicsV1::CallSet::Representation + command.request_object = call_set_object + command.response_representation = Google::Apis::GenomicsV1::CallSet::Representation + command.response_class = Google::Apis::GenomicsV1::CallSet + command.params['callSetId'] = call_set_id unless call_set_id.nil? + command.query['updateMask'] = update_mask unless update_mask.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + execute_or_queue_command(command, &block) + end + + # Gets a call set by ID. + # For the definitions of call sets and other genomics resources, see + # [Fundamentals of Google + # Genomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics) + # @param [String] call_set_id + # The ID of the call set. + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # Available to use for quota purposes for server-side applications. Can be any + # arbitrary string assigned to a user, but should not exceed 40 characters. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::GenomicsV1::CallSet] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::GenomicsV1::CallSet] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def get_call_set(call_set_id, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:get, 'v1/callsets/{callSetId}', options) + command.response_representation = Google::Apis::GenomicsV1::CallSet::Representation + command.response_class = Google::Apis::GenomicsV1::CallSet + command.params['callSetId'] = call_set_id unless call_set_id.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + execute_or_queue_command(command, &block) + end + + # Creates a new call set. + # For the definitions of call sets and other genomics resources, see + # [Fundamentals of Google + # Genomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics) + # @param [Google::Apis::GenomicsV1::CallSet] call_set_object + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # Available to use for quota purposes for server-side applications. Can be any + # arbitrary string assigned to a user, but should not exceed 40 characters. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::GenomicsV1::CallSet] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::GenomicsV1::CallSet] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def create_call_set(call_set_object = nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:post, 'v1/callsets', options) + command.request_representation = Google::Apis::GenomicsV1::CallSet::Representation + command.request_object = call_set_object + command.response_representation = Google::Apis::GenomicsV1::CallSet::Representation + command.response_class = Google::Apis::GenomicsV1::CallSet + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end diff --git a/generated/google/apis/gmail_v1/classes.rb b/generated/google/apis/gmail_v1/classes.rb index b7d194837..3b9dd0b6e 100644 --- a/generated/google/apis/gmail_v1/classes.rb +++ b/generated/google/apis/gmail_v1/classes.rb @@ -304,7 +304,7 @@ module Google # The mailbox sequence ID. # Corresponds to the JSON property `id` - # @return [String] + # @return [Fixnum] attr_accessor :id # Labels added to messages in this history record. @@ -636,7 +636,7 @@ module Google # The ID of the mailbox's current history record. # Corresponds to the JSON property `historyId` - # @return [String] + # @return [Fixnum] attr_accessor :history_id # Page token to retrieve the next page of results in the list. @@ -781,7 +781,7 @@ module Google # The ID of the last history record that modified this message. # Corresponds to the JSON property `historyId` - # @return [String] + # @return [Fixnum] attr_accessor :history_id # The immutable ID of the message. @@ -795,7 +795,7 @@ module Google # Date header. However, for API-migrated mail, it can be configured by client to # be based on the Date header. # Corresponds to the JSON property `internalDate` - # @return [String] + # @return [Fixnum] attr_accessor :internal_date # List of IDs of labels applied to this message. @@ -1060,7 +1060,7 @@ module Google # The ID of the mailbox's current history record. # Corresponds to the JSON property `historyId` - # @return [String] + # @return [Fixnum] attr_accessor :history_id # The total number of messages in the mailbox. @@ -1185,7 +1185,7 @@ module Google # When the certificate expires (in milliseconds since epoch). # Corresponds to the JSON property `expiration` - # @return [String] + # @return [Fixnum] attr_accessor :expiration # The immutable ID for the SmimeInfo. @@ -1291,7 +1291,7 @@ module Google # The ID of the last history record that modified this thread. # Corresponds to the JSON property `historyId` - # @return [String] + # @return [Fixnum] attr_accessor :history_id # The unique ID of the thread. @@ -1338,7 +1338,7 @@ module Google # before the end time. If both startTime and endTime are specified, startTime # must precede endTime. # Corresponds to the JSON property `endTime` - # @return [String] + # @return [Fixnum] attr_accessor :end_time # Response body in HTML format. Gmail will sanitize the HTML before storing it. @@ -1377,7 +1377,7 @@ module Google # after the start time. If both startTime and endTime are specified, startTime # must precede endTime. # Corresponds to the JSON property `startTime` - # @return [String] + # @return [Fixnum] attr_accessor :start_time def initialize(**args) @@ -1443,12 +1443,12 @@ module Google # When Gmail will stop sending notifications for mailbox updates (epoch millis). # Call watch again before this time to renew the watch. # Corresponds to the JSON property `expiration` - # @return [String] + # @return [Fixnum] attr_accessor :expiration # The ID of the mailbox's current history record. # Corresponds to the JSON property `historyId` - # @return [String] + # @return [Fixnum] attr_accessor :history_id def initialize(**args) diff --git a/generated/google/apis/gmail_v1/representations.rb b/generated/google/apis/gmail_v1/representations.rb index 907d8add6..98a19abf0 100644 --- a/generated/google/apis/gmail_v1/representations.rb +++ b/generated/google/apis/gmail_v1/representations.rb @@ -336,7 +336,7 @@ module Google class History # @private class Representation < Google::Apis::Core::JsonRepresentation - property :id, as: 'id' + property :id, :numeric_string => true, as: 'id' collection :labels_added, as: 'labelsAdded', class: Google::Apis::GmailV1::HistoryLabelAdded, decorator: Google::Apis::GmailV1::HistoryLabelAdded::Representation collection :labels_removed, as: 'labelsRemoved', class: Google::Apis::GmailV1::HistoryLabelRemoved, decorator: Google::Apis::GmailV1::HistoryLabelRemoved::Representation @@ -440,7 +440,7 @@ module Google class Representation < Google::Apis::Core::JsonRepresentation collection :history, as: 'history', class: Google::Apis::GmailV1::History, decorator: Google::Apis::GmailV1::History::Representation - property :history_id, as: 'historyId' + property :history_id, :numeric_string => true, as: 'historyId' property :next_page_token, as: 'nextPageToken' end end @@ -492,9 +492,9 @@ module Google class Message # @private class Representation < Google::Apis::Core::JsonRepresentation - property :history_id, as: 'historyId' + property :history_id, :numeric_string => true, as: 'historyId' property :id, as: 'id' - property :internal_date, as: 'internalDate' + property :internal_date, :numeric_string => true, as: 'internalDate' collection :label_ids, as: 'labelIds' property :payload, as: 'payload', class: Google::Apis::GmailV1::MessagePart, decorator: Google::Apis::GmailV1::MessagePart::Representation @@ -565,7 +565,7 @@ module Google # @private class Representation < Google::Apis::Core::JsonRepresentation property :email_address, as: 'emailAddress' - property :history_id, as: 'historyId' + property :history_id, :numeric_string => true, as: 'historyId' property :messages_total, as: 'messagesTotal' property :threads_total, as: 'threadsTotal' end @@ -591,7 +591,7 @@ module Google # @private class Representation < Google::Apis::Core::JsonRepresentation property :encrypted_key_password, as: 'encryptedKeyPassword' - property :expiration, as: 'expiration' + property :expiration, :numeric_string => true, as: 'expiration' property :id, as: 'id' property :is_default, as: 'isDefault' property :issuer_cn, as: 'issuerCn' @@ -614,7 +614,7 @@ module Google class Thread # @private class Representation < Google::Apis::Core::JsonRepresentation - property :history_id, as: 'historyId' + property :history_id, :numeric_string => true, as: 'historyId' property :id, as: 'id' collection :messages, as: 'messages', class: Google::Apis::GmailV1::Message, decorator: Google::Apis::GmailV1::Message::Representation @@ -626,13 +626,13 @@ module Google # @private class Representation < Google::Apis::Core::JsonRepresentation property :enable_auto_reply, as: 'enableAutoReply' - property :end_time, as: 'endTime' + property :end_time, :numeric_string => true, as: 'endTime' property :response_body_html, as: 'responseBodyHtml' property :response_body_plain_text, as: 'responseBodyPlainText' property :response_subject, as: 'responseSubject' property :restrict_to_contacts, as: 'restrictToContacts' property :restrict_to_domain, as: 'restrictToDomain' - property :start_time, as: 'startTime' + property :start_time, :numeric_string => true, as: 'startTime' end end @@ -648,8 +648,8 @@ module Google class WatchResponse # @private class Representation < Google::Apis::Core::JsonRepresentation - property :expiration, as: 'expiration' - property :history_id, as: 'historyId' + property :expiration, :numeric_string => true, as: 'expiration' + property :history_id, :numeric_string => true, as: 'historyId' end end end diff --git a/generated/google/apis/gmail_v1/service.rb b/generated/google/apis/gmail_v1/service.rb index 1bf9f9e66..791b0284e 100644 --- a/generated/google/apis/gmail_v1/service.rb +++ b/generated/google/apis/gmail_v1/service.rb @@ -50,6 +50,7 @@ module Google def initialize super('https://www.googleapis.com/', 'gmail/v1/users/') + @batch_path = 'batch' end # Gets the current user's Gmail profile. @@ -455,7 +456,7 @@ module Google # The maximum number of history records to return. # @param [String] page_token # Page token to retrieve a specific page of results in the list. - # @param [String] start_history_id + # @param [Fixnum] start_history_id # Required. Returns history records after the specified startHistoryId. The # supplied startHistoryId should be obtained from the historyId of a message, # thread, or previous list response. History IDs increase chronologically but diff --git a/generated/google/apis/groupsmigration_v1/service.rb b/generated/google/apis/groupsmigration_v1/service.rb index cf1b725a4..1d60b0f44 100644 --- a/generated/google/apis/groupsmigration_v1/service.rb +++ b/generated/google/apis/groupsmigration_v1/service.rb @@ -50,6 +50,7 @@ module Google def initialize super('https://www.googleapis.com/', 'groups/v1/groups/') + @batch_path = 'batch' end # Inserts a new mail into the archive of the Google group. diff --git a/generated/google/apis/groupssettings_v1/service.rb b/generated/google/apis/groupssettings_v1/service.rb index a9a2617e4..8735114de 100644 --- a/generated/google/apis/groupssettings_v1/service.rb +++ b/generated/google/apis/groupssettings_v1/service.rb @@ -50,6 +50,7 @@ module Google def initialize super('https://www.googleapis.com/', 'groups/v1/groups/') + @batch_path = 'batch' end # Gets one resource by id. diff --git a/generated/google/apis/iam_v1/classes.rb b/generated/google/apis/iam_v1/classes.rb index f16ed13d5..7bc0f6e0c 100644 --- a/generated/google/apis/iam_v1/classes.rb +++ b/generated/google/apis/iam_v1/classes.rb @@ -22,6 +22,338 @@ module Google module Apis module IamV1 + # The service account key create request. + class CreateServiceAccountKeyRequest + include Google::Apis::Core::Hashable + + # Which type of key and algorithm to use for the key. + # The default is currently a 2K RSA key. However this may change in the + # future. + # Corresponds to the JSON property `keyAlgorithm` + # @return [String] + attr_accessor :key_algorithm + + # The output format of the private key. `GOOGLE_CREDENTIALS_FILE` is the + # default output format. + # Corresponds to the JSON property `privateKeyType` + # @return [String] + attr_accessor :private_key_type + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @key_algorithm = args[:key_algorithm] if args.key?(:key_algorithm) + @private_key_type = args[:private_key_type] if args.key?(:private_key_type) + end + end + + # The service account sign blob response. + class SignBlobResponse + include Google::Apis::Core::Hashable + + # The id of the key used to sign the blob. + # Corresponds to the JSON property `keyId` + # @return [String] + attr_accessor :key_id + + # The signed blob. + # Corresponds to the JSON property `signature` + # NOTE: Values are automatically base64 encoded/decoded in the client library. + # @return [String] + attr_accessor :signature + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @key_id = args[:key_id] if args.key?(:key_id) + @signature = args[:signature] if args.key?(:signature) + end + end + + # Request message for `TestIamPermissions` method. + class TestIamPermissionsRequest + include Google::Apis::Core::Hashable + + # The set of permissions to check for the `resource`. Permissions with + # wildcards (such as '*' or 'storage.*') are not allowed. For more + # information see + # [IAM Overview](https://cloud.google.com/iam/docs/overview#permissions). + # Corresponds to the JSON property `permissions` + # @return [Array] + attr_accessor :permissions + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @permissions = args[:permissions] if args.key?(:permissions) + end + end + + # The service account sign JWT response. + class SignJwtResponse + include Google::Apis::Core::Hashable + + # The id of the key used to sign the JWT. + # Corresponds to the JSON property `keyId` + # @return [String] + attr_accessor :key_id + + # The signed JWT. + # Corresponds to the JSON property `signedJwt` + # @return [String] + attr_accessor :signed_jwt + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @key_id = args[:key_id] if args.key?(:key_id) + @signed_jwt = args[:signed_jwt] if args.key?(:signed_jwt) + end + end + + # The service account sign JWT request. + class SignJwtRequest + include Google::Apis::Core::Hashable + + # The JWT payload to sign, a JSON JWT Claim set. + # Corresponds to the JSON property `payload` + # @return [String] + attr_accessor :payload + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @payload = args[:payload] if args.key?(:payload) + end + end + + # Defines an Identity and Access Management (IAM) policy. It is used to + # specify access control policies for Cloud Platform resources. + # A `Policy` consists of a list of `bindings`. A `Binding` binds a list of + # `members` to a `role`, where the members can be user accounts, Google groups, + # Google domains, and service accounts. A `role` is a named list of permissions + # defined by IAM. + # **Example** + # ` + # "bindings": [ + # ` + # "role": "roles/owner", + # "members": [ + # "user:mike@example.com", + # "group:admins@example.com", + # "domain:google.com", + # "serviceAccount:my-other-app@appspot.gserviceaccount.com", + # ] + # `, + # ` + # "role": "roles/viewer", + # "members": ["user:sean@example.com"] + # ` + # ] + # ` + # For a description of IAM and its features, see the + # [IAM developer's guide](https://cloud.google.com/iam). + class Policy + include Google::Apis::Core::Hashable + + # `etag` is used for optimistic concurrency control as a way to help + # prevent simultaneous updates of a policy from overwriting each other. + # It is strongly suggested that systems make use of the `etag` in the + # read-modify-write cycle to perform policy updates in order to avoid race + # conditions: An `etag` is returned in the response to `getIamPolicy`, and + # systems are expected to put that etag in the request to `setIamPolicy` to + # ensure that their change will be applied to the same version of the policy. + # If no `etag` is provided in the call to `setIamPolicy`, then the existing + # policy is overwritten blindly. + # Corresponds to the JSON property `etag` + # NOTE: Values are automatically base64 encoded/decoded in the client library. + # @return [String] + attr_accessor :etag + + # Version of the `Policy`. The default version is 0. + # Corresponds to the JSON property `version` + # @return [Fixnum] + attr_accessor :version + + # Associates a list of `members` to a `role`. + # Multiple `bindings` must not be specified for the same `role`. + # `bindings` with no members will result in an error. + # Corresponds to the JSON property `bindings` + # @return [Array] + attr_accessor :bindings + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @etag = args[:etag] if args.key?(:etag) + @version = args[:version] if args.key?(:version) + @bindings = args[:bindings] if args.key?(:bindings) + end + end + + # Audit log information specific to Cloud IAM. This message is serialized + # as an `Any` type in the `ServiceData` message of an + # `AuditLog` message. + class AuditData + include Google::Apis::Core::Hashable + + # The difference delta between two policies. + # Corresponds to the JSON property `policyDelta` + # @return [Google::Apis::IamV1::PolicyDelta] + attr_accessor :policy_delta + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @policy_delta = args[:policy_delta] if args.key?(:policy_delta) + end + end + + # One delta entry for Binding. Each individual change (only one member in each + # entry) to a binding will be a separate entry. + class BindingDelta + include Google::Apis::Core::Hashable + + # Role that is assigned to `members`. + # For example, `roles/viewer`, `roles/editor`, or `roles/owner`. + # Required + # Corresponds to the JSON property `role` + # @return [String] + attr_accessor :role + + # The action that was performed on a Binding. + # Required + # Corresponds to the JSON property `action` + # @return [String] + attr_accessor :action + + # A single identity requesting access for a Cloud Platform resource. + # Follows the same format of Binding.members. + # Required + # Corresponds to the JSON property `member` + # @return [String] + attr_accessor :member + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @role = args[:role] if args.key?(:role) + @action = args[:action] if args.key?(:action) + @member = args[:member] if args.key?(:member) + end + end + + # The difference delta between two policies. + class PolicyDelta + include Google::Apis::Core::Hashable + + # The delta for Bindings between two policies. + # Corresponds to the JSON property `bindingDeltas` + # @return [Array] + attr_accessor :binding_deltas + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @binding_deltas = args[:binding_deltas] if args.key?(:binding_deltas) + end + end + + # The service account list response. + class ListServiceAccountsResponse + include Google::Apis::Core::Hashable + + # To retrieve the next page of results, set + # ListServiceAccountsRequest.page_token + # to this value. + # Corresponds to the JSON property `nextPageToken` + # @return [String] + attr_accessor :next_page_token + + # The list of matching service accounts. + # Corresponds to the JSON property `accounts` + # @return [Array] + attr_accessor :accounts + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @next_page_token = args[:next_page_token] if args.key?(:next_page_token) + @accounts = args[:accounts] if args.key?(:accounts) + end + end + + # The service account create request. + class CreateServiceAccountRequest + include Google::Apis::Core::Hashable + + # Required. The account id that is used to generate the service account + # email address and a stable unique id. It is unique within a project, + # must be 6-30 characters long, and match the regular expression + # `[a-z]([-a-z0-9]*[a-z0-9])` to comply with RFC1035. + # Corresponds to the JSON property `accountId` + # @return [String] + attr_accessor :account_id + + # A service account in the Identity and Access Management API. + # To create a service account, specify the `project_id` and the `account_id` + # for the account. The `account_id` is unique within the project, and is used + # to generate the service account email address and a stable + # `unique_id`. + # If the account already exists, the account's resource name is returned + # in util::Status's ResourceInfo.resource_name in the format of + # projects/`PROJECT_ID`/serviceAccounts/`SERVICE_ACCOUNT_EMAIL`. The caller can + # use the name in other methods to access the account. + # All other methods can identify the service account using the format + # `projects/`PROJECT_ID`/serviceAccounts/`SERVICE_ACCOUNT_EMAIL``. + # Using `-` as a wildcard for the project will infer the project from + # the account. The `account` value can be the `email` address or the + # `unique_id` of the service account. + # Corresponds to the JSON property `serviceAccount` + # @return [Google::Apis::IamV1::ServiceAccount] + attr_accessor :service_account + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @account_id = args[:account_id] if args.key?(:account_id) + @service_account = args[:service_account] if args.key?(:service_account) + end + end + # The grantable role query response. class QueryGrantableRolesResponse include Google::Apis::Core::Hashable @@ -65,12 +397,6 @@ module Google class Role include Google::Apis::Core::Hashable - # Optional. A human-readable title for the role. Typically this - # is limited to 100 UTF-8 bytes. - # Corresponds to the JSON property `title` - # @return [String] - attr_accessor :title - # The name of the role. # When Role is used in CreateRole, the role name must not be set. # When Role is used in output and other input such as UpdateRole, the role @@ -85,15 +411,21 @@ module Google # @return [String] attr_accessor :description + # Optional. A human-readable title for the role. Typically this + # is limited to 100 UTF-8 bytes. + # Corresponds to the JSON property `title` + # @return [String] + attr_accessor :title + def initialize(**args) update!(**args) end # Update properties of this object def update!(**args) - @title = args[:title] if args.key?(:title) @name = args[:name] if args.key?(:name) @description = args[:description] if args.key?(:description) + @title = args[:title] if args.key?(:title) end end @@ -239,11 +571,6 @@ module Google class ServiceAccount include Google::Apis::Core::Hashable - # @OutputOnly The id of the project that owns the service account. - # Corresponds to the JSON property `projectId` - # @return [String] - attr_accessor :project_id - # @OutputOnly. The OAuth2 client id for the service account. # This is used in conjunction with the OAuth2 clientconfig API to make # three legged OAuth2 (3LO) flows to access the data of Google users. @@ -284,19 +611,24 @@ module Google # @return [String] attr_accessor :name + # @OutputOnly The id of the project that owns the service account. + # Corresponds to the JSON property `projectId` + # @return [String] + attr_accessor :project_id + def initialize(**args) update!(**args) end # Update properties of this object def update!(**args) - @project_id = args[:project_id] if args.key?(:project_id) @oauth2_client_id = args[:oauth2_client_id] if args.key?(:oauth2_client_id) @unique_id = args[:unique_id] if args.key?(:unique_id) @display_name = args[:display_name] if args.key?(:display_name) @etag = args[:etag] if args.key?(:etag) @email = args[:email] if args.key?(:email) @name = args[:name] if args.key?(:name) + @project_id = args[:project_id] if args.key?(:project_id) end end @@ -354,6 +686,25 @@ module Google class ServiceAccountKey include Google::Apis::Core::Hashable + # Specifies the algorithm (and possibly key size) for the key. + # Corresponds to the JSON property `keyAlgorithm` + # @return [String] + attr_accessor :key_algorithm + + # The key can be used after this timestamp. + # Corresponds to the JSON property `validAfterTime` + # @return [String] + attr_accessor :valid_after_time + + # The output format for the private key. + # Only provided in `CreateServiceAccountKey` responses, not + # in `GetServiceAccountKey` or `ListServiceAccountKey` responses. + # Google never exposes system-managed private keys, and never retains + # user-managed private keys. + # Corresponds to the JSON property `privateKeyType` + # @return [String] + attr_accessor :private_key_type + # The private key data. Only provided in `CreateServiceAccountKey` # responses. # Corresponds to the JSON property `privateKeyData` @@ -378,370 +729,19 @@ module Google # @return [String] attr_accessor :valid_before_time - # Specifies the algorithm (and possibly key size) for the key. - # Corresponds to the JSON property `keyAlgorithm` - # @return [String] - attr_accessor :key_algorithm - - # The key can be used after this timestamp. - # Corresponds to the JSON property `validAfterTime` - # @return [String] - attr_accessor :valid_after_time - - # The output format for the private key. - # Only provided in `CreateServiceAccountKey` responses, not - # in `GetServiceAccountKey` or `ListServiceAccountKey` responses. - # Google never exposes system-managed private keys, and never retains - # user-managed private keys. - # Corresponds to the JSON property `privateKeyType` - # @return [String] - attr_accessor :private_key_type - def initialize(**args) update!(**args) end # Update properties of this object def update!(**args) + @key_algorithm = args[:key_algorithm] if args.key?(:key_algorithm) + @valid_after_time = args[:valid_after_time] if args.key?(:valid_after_time) + @private_key_type = args[:private_key_type] if args.key?(:private_key_type) @private_key_data = args[:private_key_data] if args.key?(:private_key_data) @public_key_data = args[:public_key_data] if args.key?(:public_key_data) @name = args[:name] if args.key?(:name) @valid_before_time = args[:valid_before_time] if args.key?(:valid_before_time) - @key_algorithm = args[:key_algorithm] if args.key?(:key_algorithm) - @valid_after_time = args[:valid_after_time] if args.key?(:valid_after_time) - @private_key_type = args[:private_key_type] if args.key?(:private_key_type) - end - end - - # The service account key create request. - class CreateServiceAccountKeyRequest - include Google::Apis::Core::Hashable - - # Which type of key and algorithm to use for the key. - # The default is currently a 2K RSA key. However this may change in the - # future. - # Corresponds to the JSON property `keyAlgorithm` - # @return [String] - attr_accessor :key_algorithm - - # The output format of the private key. `GOOGLE_CREDENTIALS_FILE` is the - # default output format. - # Corresponds to the JSON property `privateKeyType` - # @return [String] - attr_accessor :private_key_type - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @key_algorithm = args[:key_algorithm] if args.key?(:key_algorithm) - @private_key_type = args[:private_key_type] if args.key?(:private_key_type) - end - end - - # Request message for `TestIamPermissions` method. - class TestIamPermissionsRequest - include Google::Apis::Core::Hashable - - # The set of permissions to check for the `resource`. Permissions with - # wildcards (such as '*' or 'storage.*') are not allowed. For more - # information see - # [IAM Overview](https://cloud.google.com/iam/docs/overview#permissions). - # Corresponds to the JSON property `permissions` - # @return [Array] - attr_accessor :permissions - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @permissions = args[:permissions] if args.key?(:permissions) - end - end - - # The service account sign blob response. - class SignBlobResponse - include Google::Apis::Core::Hashable - - # The signed blob. - # Corresponds to the JSON property `signature` - # NOTE: Values are automatically base64 encoded/decoded in the client library. - # @return [String] - attr_accessor :signature - - # The id of the key used to sign the blob. - # Corresponds to the JSON property `keyId` - # @return [String] - attr_accessor :key_id - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @signature = args[:signature] if args.key?(:signature) - @key_id = args[:key_id] if args.key?(:key_id) - end - end - - # The service account sign JWT response. - class SignJwtResponse - include Google::Apis::Core::Hashable - - # The id of the key used to sign the JWT. - # Corresponds to the JSON property `keyId` - # @return [String] - attr_accessor :key_id - - # The signed JWT. - # Corresponds to the JSON property `signedJwt` - # @return [String] - attr_accessor :signed_jwt - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @key_id = args[:key_id] if args.key?(:key_id) - @signed_jwt = args[:signed_jwt] if args.key?(:signed_jwt) - end - end - - # Defines an Identity and Access Management (IAM) policy. It is used to - # specify access control policies for Cloud Platform resources. - # A `Policy` consists of a list of `bindings`. A `Binding` binds a list of - # `members` to a `role`, where the members can be user accounts, Google groups, - # Google domains, and service accounts. A `role` is a named list of permissions - # defined by IAM. - # **Example** - # ` - # "bindings": [ - # ` - # "role": "roles/owner", - # "members": [ - # "user:mike@example.com", - # "group:admins@example.com", - # "domain:google.com", - # "serviceAccount:my-other-app@appspot.gserviceaccount.com", - # ] - # `, - # ` - # "role": "roles/viewer", - # "members": ["user:sean@example.com"] - # ` - # ] - # ` - # For a description of IAM and its features, see the - # [IAM developer's guide](https://cloud.google.com/iam). - class Policy - include Google::Apis::Core::Hashable - - # Associates a list of `members` to a `role`. - # Multiple `bindings` must not be specified for the same `role`. - # `bindings` with no members will result in an error. - # Corresponds to the JSON property `bindings` - # @return [Array] - attr_accessor :bindings - - # `etag` is used for optimistic concurrency control as a way to help - # prevent simultaneous updates of a policy from overwriting each other. - # It is strongly suggested that systems make use of the `etag` in the - # read-modify-write cycle to perform policy updates in order to avoid race - # conditions: An `etag` is returned in the response to `getIamPolicy`, and - # systems are expected to put that etag in the request to `setIamPolicy` to - # ensure that their change will be applied to the same version of the policy. - # If no `etag` is provided in the call to `setIamPolicy`, then the existing - # policy is overwritten blindly. - # Corresponds to the JSON property `etag` - # NOTE: Values are automatically base64 encoded/decoded in the client library. - # @return [String] - attr_accessor :etag - - # Version of the `Policy`. The default version is 0. - # Corresponds to the JSON property `version` - # @return [Fixnum] - attr_accessor :version - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @bindings = args[:bindings] if args.key?(:bindings) - @etag = args[:etag] if args.key?(:etag) - @version = args[:version] if args.key?(:version) - end - end - - # The service account sign JWT request. - class SignJwtRequest - include Google::Apis::Core::Hashable - - # The JWT payload to sign, a JSON JWT Claim set. - # Corresponds to the JSON property `payload` - # @return [String] - attr_accessor :payload - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @payload = args[:payload] if args.key?(:payload) - end - end - - # Audit log information specific to Cloud IAM. This message is serialized - # as an `Any` type in the `ServiceData` message of an - # `AuditLog` message. - class AuditData - include Google::Apis::Core::Hashable - - # The difference delta between two policies. - # Corresponds to the JSON property `policyDelta` - # @return [Google::Apis::IamV1::PolicyDelta] - attr_accessor :policy_delta - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @policy_delta = args[:policy_delta] if args.key?(:policy_delta) - end - end - - # One delta entry for Binding. Each individual change (only one member in each - # entry) to a binding will be a separate entry. - class BindingDelta - include Google::Apis::Core::Hashable - - # Role that is assigned to `members`. - # For example, `roles/viewer`, `roles/editor`, or `roles/owner`. - # Required - # Corresponds to the JSON property `role` - # @return [String] - attr_accessor :role - - # The action that was performed on a Binding. - # Required - # Corresponds to the JSON property `action` - # @return [String] - attr_accessor :action - - # A single identity requesting access for a Cloud Platform resource. - # Follows the same format of Binding.members. - # Required - # Corresponds to the JSON property `member` - # @return [String] - attr_accessor :member - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @role = args[:role] if args.key?(:role) - @action = args[:action] if args.key?(:action) - @member = args[:member] if args.key?(:member) - end - end - - # The difference delta between two policies. - class PolicyDelta - include Google::Apis::Core::Hashable - - # The delta for Bindings between two policies. - # Corresponds to the JSON property `bindingDeltas` - # @return [Array] - attr_accessor :binding_deltas - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @binding_deltas = args[:binding_deltas] if args.key?(:binding_deltas) - end - end - - # The service account create request. - class CreateServiceAccountRequest - include Google::Apis::Core::Hashable - - # A service account in the Identity and Access Management API. - # To create a service account, specify the `project_id` and the `account_id` - # for the account. The `account_id` is unique within the project, and is used - # to generate the service account email address and a stable - # `unique_id`. - # If the account already exists, the account's resource name is returned - # in util::Status's ResourceInfo.resource_name in the format of - # projects/`PROJECT_ID`/serviceAccounts/`SERVICE_ACCOUNT_EMAIL`. The caller can - # use the name in other methods to access the account. - # All other methods can identify the service account using the format - # `projects/`PROJECT_ID`/serviceAccounts/`SERVICE_ACCOUNT_EMAIL``. - # Using `-` as a wildcard for the project will infer the project from - # the account. The `account` value can be the `email` address or the - # `unique_id` of the service account. - # Corresponds to the JSON property `serviceAccount` - # @return [Google::Apis::IamV1::ServiceAccount] - attr_accessor :service_account - - # Required. The account id that is used to generate the service account - # email address and a stable unique id. It is unique within a project, - # must be 6-30 characters long, and match the regular expression - # `[a-z]([-a-z0-9]*[a-z0-9])` to comply with RFC1035. - # Corresponds to the JSON property `accountId` - # @return [String] - attr_accessor :account_id - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @service_account = args[:service_account] if args.key?(:service_account) - @account_id = args[:account_id] if args.key?(:account_id) - end - end - - # The service account list response. - class ListServiceAccountsResponse - include Google::Apis::Core::Hashable - - # To retrieve the next page of results, set - # ListServiceAccountsRequest.page_token - # to this value. - # Corresponds to the JSON property `nextPageToken` - # @return [String] - attr_accessor :next_page_token - - # The list of matching service accounts. - # Corresponds to the JSON property `accounts` - # @return [Array] - attr_accessor :accounts - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @next_page_token = args[:next_page_token] if args.key?(:next_page_token) - @accounts = args[:accounts] if args.key?(:accounts) end end end diff --git a/generated/google/apis/iam_v1/representations.rb b/generated/google/apis/iam_v1/representations.rb index 76c70a4b0..1e84fd8ee 100644 --- a/generated/google/apis/iam_v1/representations.rb +++ b/generated/google/apis/iam_v1/representations.rb @@ -22,6 +22,72 @@ module Google module Apis module IamV1 + class CreateServiceAccountKeyRequest + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class SignBlobResponse + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class TestIamPermissionsRequest + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class SignJwtResponse + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class SignJwtRequest + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class Policy + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class AuditData + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class BindingDelta + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class PolicyDelta + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class ListServiceAccountsResponse + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class CreateServiceAccountRequest + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + class QueryGrantableRolesResponse class Representation < Google::Apis::Core::JsonRepresentation; end @@ -89,69 +155,94 @@ module Google end class CreateServiceAccountKeyRequest - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class TestIamPermissionsRequest - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :key_algorithm, as: 'keyAlgorithm' + property :private_key_type, as: 'privateKeyType' + end end class SignBlobResponse - class Representation < Google::Apis::Core::JsonRepresentation; end + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :key_id, as: 'keyId' + property :signature, :base64 => true, as: 'signature' + end + end - include Google::Apis::Core::JsonObjectSupport + class TestIamPermissionsRequest + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :permissions, as: 'permissions' + end end class SignJwtResponse - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class Policy - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :key_id, as: 'keyId' + property :signed_jwt, as: 'signedJwt' + end end class SignJwtRequest - class Representation < Google::Apis::Core::JsonRepresentation; end + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :payload, as: 'payload' + end + end - include Google::Apis::Core::JsonObjectSupport + class Policy + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :etag, :base64 => true, as: 'etag' + property :version, as: 'version' + collection :bindings, as: 'bindings', class: Google::Apis::IamV1::Binding, decorator: Google::Apis::IamV1::Binding::Representation + + end end class AuditData - class Representation < Google::Apis::Core::JsonRepresentation; end + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :policy_delta, as: 'policyDelta', class: Google::Apis::IamV1::PolicyDelta, decorator: Google::Apis::IamV1::PolicyDelta::Representation - include Google::Apis::Core::JsonObjectSupport + end end class BindingDelta - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :role, as: 'role' + property :action, as: 'action' + property :member, as: 'member' + end end class PolicyDelta - class Representation < Google::Apis::Core::JsonRepresentation; end + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :binding_deltas, as: 'bindingDeltas', class: Google::Apis::IamV1::BindingDelta, decorator: Google::Apis::IamV1::BindingDelta::Representation - include Google::Apis::Core::JsonObjectSupport - end - - class CreateServiceAccountRequest - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport + end end class ListServiceAccountsResponse - class Representation < Google::Apis::Core::JsonRepresentation; end + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :next_page_token, as: 'nextPageToken' + collection :accounts, as: 'accounts', class: Google::Apis::IamV1::ServiceAccount, decorator: Google::Apis::IamV1::ServiceAccount::Representation - include Google::Apis::Core::JsonObjectSupport + end + end + + class CreateServiceAccountRequest + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :account_id, as: 'accountId' + property :service_account, as: 'serviceAccount', class: Google::Apis::IamV1::ServiceAccount, decorator: Google::Apis::IamV1::ServiceAccount::Representation + + end end class QueryGrantableRolesResponse @@ -172,9 +263,9 @@ module Google class Role # @private class Representation < Google::Apis::Core::JsonRepresentation - property :title, as: 'title' property :name, as: 'name' property :description, as: 'description' + property :title, as: 'title' end end @@ -210,13 +301,13 @@ module Google class ServiceAccount # @private class Representation < Google::Apis::Core::JsonRepresentation - property :project_id, as: 'projectId' property :oauth2_client_id, as: 'oauth2ClientId' property :unique_id, as: 'uniqueId' property :display_name, as: 'displayName' property :etag, :base64 => true, as: 'etag' property :email, as: 'email' property :name, as: 'name' + property :project_id, as: 'projectId' end end @@ -238,104 +329,13 @@ module Google class ServiceAccountKey # @private class Representation < Google::Apis::Core::JsonRepresentation + property :key_algorithm, as: 'keyAlgorithm' + property :valid_after_time, as: 'validAfterTime' + property :private_key_type, as: 'privateKeyType' property :private_key_data, :base64 => true, as: 'privateKeyData' property :public_key_data, :base64 => true, as: 'publicKeyData' property :name, as: 'name' property :valid_before_time, as: 'validBeforeTime' - property :key_algorithm, as: 'keyAlgorithm' - property :valid_after_time, as: 'validAfterTime' - property :private_key_type, as: 'privateKeyType' - end - end - - class CreateServiceAccountKeyRequest - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :key_algorithm, as: 'keyAlgorithm' - property :private_key_type, as: 'privateKeyType' - end - end - - class TestIamPermissionsRequest - # @private - class Representation < Google::Apis::Core::JsonRepresentation - collection :permissions, as: 'permissions' - end - end - - class SignBlobResponse - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :signature, :base64 => true, as: 'signature' - property :key_id, as: 'keyId' - end - end - - class SignJwtResponse - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :key_id, as: 'keyId' - property :signed_jwt, as: 'signedJwt' - end - end - - class Policy - # @private - class Representation < Google::Apis::Core::JsonRepresentation - collection :bindings, as: 'bindings', class: Google::Apis::IamV1::Binding, decorator: Google::Apis::IamV1::Binding::Representation - - property :etag, :base64 => true, as: 'etag' - property :version, as: 'version' - end - end - - class SignJwtRequest - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :payload, as: 'payload' - end - end - - class AuditData - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :policy_delta, as: 'policyDelta', class: Google::Apis::IamV1::PolicyDelta, decorator: Google::Apis::IamV1::PolicyDelta::Representation - - end - end - - class BindingDelta - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :role, as: 'role' - property :action, as: 'action' - property :member, as: 'member' - end - end - - class PolicyDelta - # @private - class Representation < Google::Apis::Core::JsonRepresentation - collection :binding_deltas, as: 'bindingDeltas', class: Google::Apis::IamV1::BindingDelta, decorator: Google::Apis::IamV1::BindingDelta::Representation - - end - end - - class CreateServiceAccountRequest - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :service_account, as: 'serviceAccount', class: Google::Apis::IamV1::ServiceAccount, decorator: Google::Apis::IamV1::ServiceAccount::Representation - - property :account_id, as: 'accountId' - end - end - - class ListServiceAccountsResponse - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :next_page_token, as: 'nextPageToken' - collection :accounts, as: 'accounts', class: Google::Apis::IamV1::ServiceAccount, decorator: Google::Apis::IamV1::ServiceAccount::Representation - end end end diff --git a/generated/google/apis/iam_v1/service.rb b/generated/google/apis/iam_v1/service.rb index c76179453..5d761a57e 100644 --- a/generated/google/apis/iam_v1/service.rb +++ b/generated/google/apis/iam_v1/service.rb @@ -46,6 +46,7 @@ module Google def initialize super('https://iam.googleapis.com/', '') + @batch_path = 'batch' end # Tests the specified permissions against the IAM access control policy @@ -117,6 +118,47 @@ module Google execute_or_queue_command(command, &block) end + # Lists ServiceAccounts for a project. + # @param [String] name + # Required. The resource name of the project associated with the service + # accounts, such as `projects/my-project-123`. + # @param [String] page_token + # Optional pagination token returned in an earlier + # ListServiceAccountsResponse.next_page_token. + # @param [Fixnum] page_size + # Optional limit on the number of service accounts to include in the + # response. Further accounts can subsequently be obtained by including the + # ListServiceAccountsResponse.next_page_token + # in a subsequent request. + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # Available to use for quota purposes for server-side applications. Can be any + # arbitrary string assigned to a user, but should not exceed 40 characters. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::IamV1::ListServiceAccountsResponse] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::IamV1::ListServiceAccountsResponse] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def list_project_service_accounts(name, page_token: nil, page_size: nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:get, 'v1/{+name}/serviceAccounts', options) + command.response_representation = Google::Apis::IamV1::ListServiceAccountsResponse::Representation + command.response_class = Google::Apis::IamV1::ListServiceAccountsResponse + command.params['name'] = name unless name.nil? + command.query['pageToken'] = page_token unless page_token.nil? + command.query['pageSize'] = page_size unless page_size.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + execute_or_queue_command(command, &block) + end + # Signs a blob using a service account's system-managed private key. # @param [String] name # The resource name of the service account in the following format: @@ -154,18 +196,12 @@ module Google execute_or_queue_command(command, &block) end - # Lists ServiceAccounts for a project. + # Creates a ServiceAccount + # and returns it. # @param [String] name # Required. The resource name of the project associated with the service # accounts, such as `projects/my-project-123`. - # @param [Fixnum] page_size - # Optional limit on the number of service accounts to include in the - # response. Further accounts can subsequently be obtained by including the - # ListServiceAccountsResponse.next_page_token - # in a subsequent request. - # @param [String] page_token - # Optional pagination token returned in an earlier - # ListServiceAccountsResponse.next_page_token. + # @param [Google::Apis::IamV1::CreateServiceAccountRequest] create_service_account_request_object # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user @@ -175,21 +211,21 @@ module Google # Request-specific options # # @yield [result, err] Result & error if block supplied - # @yieldparam result [Google::Apis::IamV1::ListServiceAccountsResponse] parsed result object + # @yieldparam result [Google::Apis::IamV1::ServiceAccount] parsed result object # @yieldparam err [StandardError] error object if request failed # - # @return [Google::Apis::IamV1::ListServiceAccountsResponse] + # @return [Google::Apis::IamV1::ServiceAccount] # # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required - def list_project_service_accounts(name, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block) - command = make_simple_command(:get, 'v1/{+name}/serviceAccounts', options) - command.response_representation = Google::Apis::IamV1::ListServiceAccountsResponse::Representation - command.response_class = Google::Apis::IamV1::ListServiceAccountsResponse + def create_service_account(name, create_service_account_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:post, 'v1/{+name}/serviceAccounts', options) + command.request_representation = Google::Apis::IamV1::CreateServiceAccountRequest::Representation + command.request_object = create_service_account_request_object + command.response_representation = Google::Apis::IamV1::ServiceAccount::Representation + command.response_class = Google::Apis::IamV1::ServiceAccount command.params['name'] = name unless name.nil? - command.query['pageSize'] = page_size unless page_size.nil? - command.query['pageToken'] = page_token unless page_token.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) @@ -270,41 +306,6 @@ module Google execute_or_queue_command(command, &block) end - # Creates a ServiceAccount - # and returns it. - # @param [String] name - # Required. The resource name of the project associated with the service - # accounts, such as `projects/my-project-123`. - # @param [Google::Apis::IamV1::CreateServiceAccountRequest] create_service_account_request_object - # @param [String] fields - # Selector specifying which fields to include in a partial response. - # @param [String] quota_user - # Available to use for quota purposes for server-side applications. Can be any - # arbitrary string assigned to a user, but should not exceed 40 characters. - # @param [Google::Apis::RequestOptions] options - # Request-specific options - # - # @yield [result, err] Result & error if block supplied - # @yieldparam result [Google::Apis::IamV1::ServiceAccount] parsed result object - # @yieldparam err [StandardError] error object if request failed - # - # @return [Google::Apis::IamV1::ServiceAccount] - # - # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried - # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification - # @raise [Google::Apis::AuthorizationError] Authorization is required - def create_service_account(name, create_service_account_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) - command = make_simple_command(:post, 'v1/{+name}/serviceAccounts', options) - command.request_representation = Google::Apis::IamV1::CreateServiceAccountRequest::Representation - command.request_object = create_service_account_request_object - command.response_representation = Google::Apis::IamV1::ServiceAccount::Representation - command.response_class = Google::Apis::IamV1::ServiceAccount - command.params['name'] = name unless name.nil? - command.query['fields'] = fields unless fields.nil? - command.query['quotaUser'] = quota_user unless quota_user.nil? - execute_or_queue_command(command, &block) - end - # Returns the IAM access control policy for a # ServiceAccount. # @param [String] resource @@ -413,40 +414,6 @@ module Google execute_or_queue_command(command, &block) end - # Deletes a ServiceAccountKey. - # @param [String] name - # The resource name of the service account key in the following format: - # `projects/`PROJECT_ID`/serviceAccounts/`SERVICE_ACCOUNT_EMAIL`/keys/`key``. - # Using `-` as a wildcard for the project will infer the project from - # the account. The `account` value can be the `email` address or the - # `unique_id` of the service account. - # @param [String] fields - # Selector specifying which fields to include in a partial response. - # @param [String] quota_user - # Available to use for quota purposes for server-side applications. Can be any - # arbitrary string assigned to a user, but should not exceed 40 characters. - # @param [Google::Apis::RequestOptions] options - # Request-specific options - # - # @yield [result, err] Result & error if block supplied - # @yieldparam result [Google::Apis::IamV1::Empty] parsed result object - # @yieldparam err [StandardError] error object if request failed - # - # @return [Google::Apis::IamV1::Empty] - # - # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried - # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification - # @raise [Google::Apis::AuthorizationError] Authorization is required - def delete_project_service_account_key(name, fields: nil, quota_user: nil, options: nil, &block) - command = make_simple_command(:delete, 'v1/{+name}', options) - command.response_representation = Google::Apis::IamV1::Empty::Representation - command.response_class = Google::Apis::IamV1::Empty - command.params['name'] = name unless name.nil? - command.query['fields'] = fields unless fields.nil? - command.query['quotaUser'] = quota_user unless quota_user.nil? - execute_or_queue_command(command, &block) - end - # Lists ServiceAccountKeys. # @param [String] name # The resource name of the service account in the following format: @@ -563,6 +530,40 @@ module Google execute_or_queue_command(command, &block) end + # Deletes a ServiceAccountKey. + # @param [String] name + # The resource name of the service account key in the following format: + # `projects/`PROJECT_ID`/serviceAccounts/`SERVICE_ACCOUNT_EMAIL`/keys/`key``. + # Using `-` as a wildcard for the project will infer the project from + # the account. The `account` value can be the `email` address or the + # `unique_id` of the service account. + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # Available to use for quota purposes for server-side applications. Can be any + # arbitrary string assigned to a user, but should not exceed 40 characters. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::IamV1::Empty] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::IamV1::Empty] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def delete_project_service_account_key(name, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:delete, 'v1/{+name}', options) + command.response_representation = Google::Apis::IamV1::Empty::Representation + command.response_class = Google::Apis::IamV1::Empty + command.params['name'] = name unless name.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + execute_or_queue_command(command, &block) + end + # Queries roles that can be granted on a particular resource. # A role is grantable if it can be used as the role in a binding for a policy # for that resource. diff --git a/generated/google/apis/identitytoolkit_v3/classes.rb b/generated/google/apis/identitytoolkit_v3/classes.rb index b609e3318..687d63db6 100644 --- a/generated/google/apis/identitytoolkit_v3/classes.rb +++ b/generated/google/apis/identitytoolkit_v3/classes.rb @@ -387,7 +387,7 @@ module Google # GCP project number of the requesting delegated app. Currently only intended # for Firebase V1 migration. # Corresponds to the JSON property `delegatedProjectNumber` - # @return [String] + # @return [Fixnum] attr_accessor :delegated_project_number # The GITKit token or STS id token of the authenticated user. @@ -419,7 +419,7 @@ module Google # GCP project number of the requesting delegated app. Currently only intended # for Firebase V1 migration. # Corresponds to the JSON property `delegatedProjectNumber` - # @return [String] + # @return [Fixnum] attr_accessor :delegated_project_number # The max number of results to return in the response. @@ -458,7 +458,7 @@ module Google # GCP project number of the requesting delegated app. Currently only intended # for Firebase V1 migration. # Corresponds to the JSON property `delegatedProjectNumber` - # @return [String] + # @return [Fixnum] attr_accessor :delegated_project_number # The list of emails of the users to inquiry. @@ -630,13 +630,13 @@ module Google # The timestamp when the account is created. # Corresponds to the JSON property `createdAt` - # @return [String] + # @return [Fixnum] attr_accessor :created_at # GCP project number of the requesting delegated app. Currently only intended # for Firebase V1 migration. # Corresponds to the JSON property `delegatedProjectNumber` - # @return [String] + # @return [Fixnum] attr_accessor :delegated_project_number # The attributes users request to delete. @@ -683,7 +683,7 @@ module Google # Last login timestamp. # Corresponds to the JSON property `lastLoginAt` - # @return [String] + # @return [Fixnum] attr_accessor :last_login_at # The local ID of the user. @@ -725,7 +725,7 @@ module Google # Timestamp in seconds for valid login token. # Corresponds to the JSON property `validSince` - # @return [String] + # @return [Fixnum] attr_accessor :valid_since def initialize(**args) @@ -786,7 +786,7 @@ module Google # GCP project number of the requesting delegated app. Currently only intended # for Firebase V1 migration. # Corresponds to the JSON property `delegatedProjectNumber` - # @return [String] + # @return [Fixnum] attr_accessor :delegated_project_number # Whether to enable anonymous user. @@ -998,7 +998,7 @@ module Google # GCP project number of the requesting delegated app. Currently only intended # for Firebase V1 migration. # Corresponds to the JSON property `delegatedProjectNumber` - # @return [String] + # @return [Fixnum] attr_accessor :delegated_project_number # The password hash algorithm. @@ -1080,7 +1080,7 @@ module Google # GCP project number of the requesting delegated app. Currently only intended # for Firebase V1 migration. # Corresponds to the JSON property `delegatedProjectNumber` - # @return [String] + # @return [Fixnum] attr_accessor :delegated_project_number # The GITKit token of the authenticated user. @@ -1160,7 +1160,7 @@ module Google # GCP project number of the requesting delegated app. Currently only intended # for Firebase V1 migration. # Corresponds to the JSON property `delegatedProjectNumber` - # @return [String] + # @return [Fixnum] attr_accessor :delegated_project_number # Instance id token of the app. @@ -1209,7 +1209,7 @@ module Google # GCP project number of the requesting delegated app. Currently only intended # for Firebase V1 migration. # Corresponds to the JSON property `delegatedProjectNumber` - # @return [String] + # @return [Fixnum] attr_accessor :delegated_project_number # The email of the user. @@ -1480,7 +1480,7 @@ module Google # If idToken is STS id token, then this field will be expiration time of STS id # token in seconds. # Corresponds to the JSON property `expiresIn` - # @return [String] + # @return [Fixnum] attr_accessor :expires_in # The Gitkit id token to login the newly sign up user. @@ -1601,7 +1601,7 @@ module Google # If idToken is STS id token, then this field will be expiration time of STS id # token in seconds. # Corresponds to the JSON property `expiresIn` - # @return [String] + # @return [Fixnum] attr_accessor :expires_in # The Gitkit id token to login the newly sign up user. @@ -1696,7 +1696,7 @@ module Google # User creation timestamp. # Corresponds to the JSON property `createdAt` - # @return [String] + # @return [Fixnum] attr_accessor :created_at # Whether the user is authenticated by the developer. @@ -1729,7 +1729,7 @@ module Google # last login timestamp. # Corresponds to the JSON property `lastLoginAt` - # @return [String] + # @return [Fixnum] attr_accessor :last_login_at # The local ID of the user. @@ -1776,7 +1776,7 @@ module Google # Timestamp in seconds for valid login token. # Corresponds to the JSON property `validSince` - # @return [String] + # @return [Fixnum] attr_accessor :valid_since # Version of the user's password. @@ -1928,7 +1928,7 @@ module Google # If idToken is STS id token, then this field will be expiration time of STS id # token in seconds. # Corresponds to the JSON property `expiresIn` - # @return [String] + # @return [Fixnum] attr_accessor :expires_in # The unique ID identifies the IdP account. @@ -2138,7 +2138,7 @@ module Google # If idToken is STS id token, then this field will be expiration time of STS id # token in seconds. # Corresponds to the JSON property `expiresIn` - # @return [String] + # @return [Fixnum] attr_accessor :expires_in # The GITKit token for authenticated user. @@ -2187,7 +2187,7 @@ module Google # If idToken is STS id token, then this field will be expiration time of STS id # token in seconds. # Corresponds to the JSON property `expiresIn` - # @return [String] + # @return [Fixnum] attr_accessor :expires_in # The GITKit token for authenticated user. diff --git a/generated/google/apis/identitytoolkit_v3/representations.rb b/generated/google/apis/identitytoolkit_v3/representations.rb index 37592a723..1fe3ab8df 100644 --- a/generated/google/apis/identitytoolkit_v3/representations.rb +++ b/generated/google/apis/identitytoolkit_v3/representations.rb @@ -331,7 +331,7 @@ module Google class DeleteAccountRequest # @private class Representation < Google::Apis::Core::JsonRepresentation - property :delegated_project_number, as: 'delegatedProjectNumber' + property :delegated_project_number, :numeric_string => true, as: 'delegatedProjectNumber' property :id_token, as: 'idToken' property :local_id, as: 'localId' end @@ -340,7 +340,7 @@ module Google class DownloadAccountRequest # @private class Representation < Google::Apis::Core::JsonRepresentation - property :delegated_project_number, as: 'delegatedProjectNumber' + property :delegated_project_number, :numeric_string => true, as: 'delegatedProjectNumber' property :max_results, as: 'maxResults' property :next_page_token, as: 'nextPageToken' property :target_project_id, as: 'targetProjectId' @@ -350,7 +350,7 @@ module Google class GetAccountInfoRequest # @private class Representation < Google::Apis::Core::JsonRepresentation - property :delegated_project_number, as: 'delegatedProjectNumber' + property :delegated_project_number, :numeric_string => true, as: 'delegatedProjectNumber' collection :email, as: 'email' property :id_token, as: 'idToken' collection :local_id, as: 'localId' @@ -395,8 +395,8 @@ module Google class Representation < Google::Apis::Core::JsonRepresentation property :captcha_challenge, as: 'captchaChallenge' property :captcha_response, as: 'captchaResponse' - property :created_at, as: 'createdAt' - property :delegated_project_number, as: 'delegatedProjectNumber' + property :created_at, :numeric_string => true, as: 'createdAt' + property :delegated_project_number, :numeric_string => true, as: 'delegatedProjectNumber' collection :delete_attribute, as: 'deleteAttribute' collection :delete_provider, as: 'deleteProvider' property :disable_user, as: 'disableUser' @@ -405,7 +405,7 @@ module Google property :email_verified, as: 'emailVerified' property :id_token, as: 'idToken' property :instance_id, as: 'instanceId' - property :last_login_at, as: 'lastLoginAt' + property :last_login_at, :numeric_string => true, as: 'lastLoginAt' property :local_id, as: 'localId' property :oob_code, as: 'oobCode' property :password, as: 'password' @@ -413,7 +413,7 @@ module Google collection :provider, as: 'provider' property :return_secure_token, as: 'returnSecureToken' property :upgrade_to_federated_login, as: 'upgradeToFederatedLogin' - property :valid_since, as: 'validSince' + property :valid_since, :numeric_string => true, as: 'validSince' end end @@ -425,7 +425,7 @@ module Google collection :authorized_domains, as: 'authorizedDomains' property :change_email_template, as: 'changeEmailTemplate', class: Google::Apis::IdentitytoolkitV3::EmailTemplate, decorator: Google::Apis::IdentitytoolkitV3::EmailTemplate::Representation - property :delegated_project_number, as: 'delegatedProjectNumber' + property :delegated_project_number, :numeric_string => true, as: 'delegatedProjectNumber' property :enable_anonymous_user, as: 'enableAnonymousUser' collection :idp_config, as: 'idpConfig', class: Google::Apis::IdentitytoolkitV3::IdpConfig, decorator: Google::Apis::IdentitytoolkitV3::IdpConfig::Representation @@ -482,7 +482,7 @@ module Google # @private class Representation < Google::Apis::Core::JsonRepresentation property :allow_overwrite, as: 'allowOverwrite' - property :delegated_project_number, as: 'delegatedProjectNumber' + property :delegated_project_number, :numeric_string => true, as: 'delegatedProjectNumber' property :hash_algorithm, as: 'hashAlgorithm' property :memory_cost, as: 'memoryCost' property :rounds, as: 'rounds' @@ -499,7 +499,7 @@ module Google # @private class Representation < Google::Apis::Core::JsonRepresentation property :auto_create, as: 'autoCreate' - property :delegated_project_number, as: 'delegatedProjectNumber' + property :delegated_project_number, :numeric_string => true, as: 'delegatedProjectNumber' property :id_token, as: 'idToken' property :instance_id, as: 'instanceId' property :pending_id_token, as: 'pendingIdToken' @@ -515,7 +515,7 @@ module Google class VerifyCustomTokenRequest # @private class Representation < Google::Apis::Core::JsonRepresentation - property :delegated_project_number, as: 'delegatedProjectNumber' + property :delegated_project_number, :numeric_string => true, as: 'delegatedProjectNumber' property :instance_id, as: 'instanceId' property :return_secure_token, as: 'returnSecureToken' property :token, as: 'token' @@ -527,7 +527,7 @@ module Google class Representation < Google::Apis::Core::JsonRepresentation property :captcha_challenge, as: 'captchaChallenge' property :captcha_response, as: 'captchaResponse' - property :delegated_project_number, as: 'delegatedProjectNumber' + property :delegated_project_number, :numeric_string => true, as: 'delegatedProjectNumber' property :email, as: 'email' property :id_token, as: 'idToken' property :instance_id, as: 'instanceId' @@ -586,7 +586,7 @@ module Google property :display_name, as: 'displayName' property :email, as: 'email' property :email_verified, as: 'emailVerified' - property :expires_in, as: 'expiresIn' + property :expires_in, :numeric_string => true, as: 'expiresIn' property :id_token, as: 'idToken' property :kind, as: 'kind' property :local_id, as: 'localId' @@ -614,7 +614,7 @@ module Google class Representation < Google::Apis::Core::JsonRepresentation property :display_name, as: 'displayName' property :email, as: 'email' - property :expires_in, as: 'expiresIn' + property :expires_in, :numeric_string => true, as: 'expiresIn' property :id_token, as: 'idToken' property :kind, as: 'kind' property :local_id, as: 'localId' @@ -642,13 +642,13 @@ module Google class UserInfo # @private class Representation < Google::Apis::Core::JsonRepresentation - property :created_at, as: 'createdAt' + property :created_at, :numeric_string => true, as: 'createdAt' property :custom_auth, as: 'customAuth' property :disabled, as: 'disabled' property :display_name, as: 'displayName' property :email, as: 'email' property :email_verified, as: 'emailVerified' - property :last_login_at, as: 'lastLoginAt' + property :last_login_at, :numeric_string => true, as: 'lastLoginAt' property :local_id, as: 'localId' property :password_hash, :base64 => true, as: 'passwordHash' property :password_updated_at, as: 'passwordUpdatedAt' @@ -658,7 +658,7 @@ module Google property :raw_password, as: 'rawPassword' property :salt, :base64 => true, as: 'salt' property :screen_name, as: 'screenName' - property :valid_since, as: 'validSince' + property :valid_since, :numeric_string => true, as: 'validSince' property :version, as: 'version' end @@ -689,7 +689,7 @@ module Google property :email_recycled, as: 'emailRecycled' property :email_verified, as: 'emailVerified' property :error_message, as: 'errorMessage' - property :expires_in, as: 'expiresIn' + property :expires_in, :numeric_string => true, as: 'expiresIn' property :federated_id, as: 'federatedId' property :first_name, as: 'firstName' property :full_name, as: 'fullName' @@ -724,7 +724,7 @@ module Google class VerifyCustomTokenResponse # @private class Representation < Google::Apis::Core::JsonRepresentation - property :expires_in, as: 'expiresIn' + property :expires_in, :numeric_string => true, as: 'expiresIn' property :id_token, as: 'idToken' property :kind, as: 'kind' property :refresh_token, as: 'refreshToken' @@ -736,7 +736,7 @@ module Google class Representation < Google::Apis::Core::JsonRepresentation property :display_name, as: 'displayName' property :email, as: 'email' - property :expires_in, as: 'expiresIn' + property :expires_in, :numeric_string => true, as: 'expiresIn' property :id_token, as: 'idToken' property :kind, as: 'kind' property :local_id, as: 'localId' diff --git a/generated/google/apis/identitytoolkit_v3/service.rb b/generated/google/apis/identitytoolkit_v3/service.rb index bb0aca859..882faf43c 100644 --- a/generated/google/apis/identitytoolkit_v3/service.rb +++ b/generated/google/apis/identitytoolkit_v3/service.rb @@ -50,6 +50,7 @@ module Google def initialize super('https://www.googleapis.com/', 'identitytoolkit/v3/relyingparty/') + @batch_path = 'batch' end # Creates the URI used by the IdP to authenticate the user. diff --git a/generated/google/apis/kgsearch_v1/service.rb b/generated/google/apis/kgsearch_v1/service.rb index 602444aea..379d3a4bc 100644 --- a/generated/google/apis/kgsearch_v1/service.rb +++ b/generated/google/apis/kgsearch_v1/service.rb @@ -44,16 +44,12 @@ module Google def initialize super('https://kgsearch.googleapis.com/', '') + @batch_path = 'batch' end # Searches Knowledge Graph for entities that match the constraints. # A list of matched entities will be returned in response, which will be in # JSON-LD format and compatible with http://schema.org - # @param [Boolean] indent - # Enables indenting of json results. - # @param [Array, String] languages - # The list of language codes (defined in ISO 693) to run the query with, - # e.g. 'en'. # @param [Array, String] ids # The list of entity id to be used for search instead of query string. # To specify multiple ids in the HTTP request, repeat the parameter in the @@ -68,6 +64,11 @@ module Google # Restricts returned entities with these types, e.g. Person # (as defined in http://schema.org/Person). If multiple types are specified, # returned entities will contain one or more of these types. + # @param [Boolean] indent + # Enables indenting of json results. + # @param [Array, String] languages + # The list of language codes (defined in ISO 693) to run the query with, + # e.g. 'en'. # @param [String] quota_user # Available to use for quota purposes for server-side applications. Can be any # arbitrary string assigned to a user, but should not exceed 40 characters. @@ -85,17 +86,17 @@ module Google # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required - def search_entities(indent: nil, languages: nil, ids: nil, limit: nil, prefix: nil, query: nil, types: nil, quota_user: nil, fields: nil, options: nil, &block) + def search_entities(ids: nil, limit: nil, prefix: nil, query: nil, types: nil, indent: nil, languages: nil, quota_user: nil, fields: nil, options: nil, &block) command = make_simple_command(:get, 'v1/entities:search', options) command.response_representation = Google::Apis::KgsearchV1::SearchResponse::Representation command.response_class = Google::Apis::KgsearchV1::SearchResponse - command.query['indent'] = indent unless indent.nil? - command.query['languages'] = languages unless languages.nil? command.query['ids'] = ids unless ids.nil? command.query['limit'] = limit unless limit.nil? command.query['prefix'] = prefix unless prefix.nil? command.query['query'] = query unless query.nil? command.query['types'] = types unless types.nil? + command.query['indent'] = indent unless indent.nil? + command.query['languages'] = languages unless languages.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['fields'] = fields unless fields.nil? execute_or_queue_command(command, &block) diff --git a/generated/google/apis/language_v1.rb b/generated/google/apis/language_v1.rb index 82c51fb74..d4e712f94 100644 --- a/generated/google/apis/language_v1.rb +++ b/generated/google/apis/language_v1.rb @@ -27,7 +27,7 @@ module Google # @see https://cloud.google.com/natural-language/ module LanguageV1 VERSION = 'V1' - REVISION = '20170320' + REVISION = '20170329' # View and manage your data across Google Cloud Platform services AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform' diff --git a/generated/google/apis/language_v1/classes.rb b/generated/google/apis/language_v1/classes.rb index 1e95d5381..998d188f0 100644 --- a/generated/google/apis/language_v1/classes.rb +++ b/generated/google/apis/language_v1/classes.rb @@ -22,20 +22,107 @@ module Google module Apis module LanguageV1 - # The syntax analysis request message. - class AnalyzeSyntaxRequest + # Represents part of speech information for a token. Parts of speech + # are as defined in + # http://www.lrec-conf.org/proceedings/lrec2012/pdf/274_Paper.pdf + class PartOfSpeech include Google::Apis::Core::Hashable - # The encoding type used by the API to calculate offsets. - # Corresponds to the JSON property `encodingType` + # The grammatical reciprocity. + # Corresponds to the JSON property `reciprocity` # @return [String] - attr_accessor :encoding_type + attr_accessor :reciprocity - # ################################################################ # - # Represents the input to API methods. - # Corresponds to the JSON property `document` - # @return [Google::Apis::LanguageV1::Document] - attr_accessor :document + # The grammatical form. + # Corresponds to the JSON property `form` + # @return [String] + attr_accessor :form + + # The grammatical number. + # Corresponds to the JSON property `number` + # @return [String] + attr_accessor :number + + # The grammatical voice. + # Corresponds to the JSON property `voice` + # @return [String] + attr_accessor :voice + + # The grammatical aspect. + # Corresponds to the JSON property `aspect` + # @return [String] + attr_accessor :aspect + + # The grammatical mood. + # Corresponds to the JSON property `mood` + # @return [String] + attr_accessor :mood + + # The part of speech tag. + # Corresponds to the JSON property `tag` + # @return [String] + attr_accessor :tag + + # The grammatical gender. + # Corresponds to the JSON property `gender` + # @return [String] + attr_accessor :gender + + # The grammatical person. + # Corresponds to the JSON property `person` + # @return [String] + attr_accessor :person + + # The grammatical properness. + # Corresponds to the JSON property `proper` + # @return [String] + attr_accessor :proper + + # The grammatical case. + # Corresponds to the JSON property `case` + # @return [String] + attr_accessor :case + + # The grammatical tense. + # Corresponds to the JSON property `tense` + # @return [String] + attr_accessor :tense + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @reciprocity = args[:reciprocity] if args.key?(:reciprocity) + @form = args[:form] if args.key?(:form) + @number = args[:number] if args.key?(:number) + @voice = args[:voice] if args.key?(:voice) + @aspect = args[:aspect] if args.key?(:aspect) + @mood = args[:mood] if args.key?(:mood) + @tag = args[:tag] if args.key?(:tag) + @gender = args[:gender] if args.key?(:gender) + @person = args[:person] if args.key?(:person) + @proper = args[:proper] if args.key?(:proper) + @case = args[:case] if args.key?(:case) + @tense = args[:tense] if args.key?(:tense) + end + end + + # The syntax analysis request message. + class AnalyzeSyntaxRequest + include Google::Apis::Core::Hashable + + # ################################################################ # + # Represents the input to API methods. + # Corresponds to the JSON property `document` + # @return [Google::Apis::LanguageV1::Document] + attr_accessor :document + + # The encoding type used by the API to calculate offsets. + # Corresponds to the JSON property `encodingType` + # @return [String] + attr_accessor :encoding_type def initialize(**args) update!(**args) @@ -43,8 +130,8 @@ module Google # Update properties of this object def update!(**args) - @encoding_type = args[:encoding_type] if args.key?(:encoding_type) @document = args[:document] if args.key?(:document) + @encoding_type = args[:encoding_type] if args.key?(:encoding_type) end end @@ -52,6 +139,11 @@ module Google class AnalyzeSentimentResponse include Google::Apis::Core::Hashable + # The sentiment for all the sentences in the document. + # Corresponds to the JSON property `sentences` + # @return [Array] + attr_accessor :sentences + # Represents the feeling associated with the entire text or entities in # the text. # Corresponds to the JSON property `documentSentiment` @@ -65,20 +157,15 @@ module Google # @return [String] attr_accessor :language - # The sentiment for all the sentences in the document. - # Corresponds to the JSON property `sentences` - # @return [Array] - attr_accessor :sentences - def initialize(**args) update!(**args) end # Update properties of this object def update!(**args) + @sentences = args[:sentences] if args.key?(:sentences) @document_sentiment = args[:document_sentiment] if args.key?(:document_sentiment) @language = args[:language] if args.key?(:language) - @sentences = args[:sentences] if args.key?(:sentences) end end @@ -86,11 +173,6 @@ module Google class AnalyzeEntitiesResponse include Google::Apis::Core::Hashable - # The recognized entities in the input document. - # Corresponds to the JSON property `entities` - # @return [Array] - attr_accessor :entities - # The language of the text, which will be the same as the language specified # in the request or, if not specified, the automatically-detected language. # See `Document.language` field for more details. @@ -98,14 +180,19 @@ module Google # @return [String] attr_accessor :language + # The recognized entities in the input document. + # Corresponds to the JSON property `entities` + # @return [Array] + attr_accessor :entities + def initialize(**args) update!(**args) end # Update properties of this object def update!(**args) - @entities = args[:entities] if args.key?(:entities) @language = args[:language] if args.key?(:language) + @entities = args[:entities] if args.key?(:entities) end end @@ -115,6 +202,17 @@ module Google class Entity include Google::Apis::Core::Hashable + # The mentions of this entity in the input document. The API currently + # supports proper noun mentions. + # Corresponds to the JSON property `mentions` + # @return [Array] + attr_accessor :mentions + + # The representative name for the entity. + # Corresponds to the JSON property `name` + # @return [String] + attr_accessor :name + # The entity type. # Corresponds to the JSON property `type` # @return [String] @@ -136,28 +234,17 @@ module Google # @return [Float] attr_accessor :salience - # The mentions of this entity in the input document. The API currently - # supports proper noun mentions. - # Corresponds to the JSON property `mentions` - # @return [Array] - attr_accessor :mentions - - # The representative name for the entity. - # Corresponds to the JSON property `name` - # @return [String] - attr_accessor :name - def initialize(**args) update!(**args) end # Update properties of this object def update!(**args) + @mentions = args[:mentions] if args.key?(:mentions) + @name = args[:name] if args.key?(:name) @type = args[:type] if args.key?(:type) @metadata = args[:metadata] if args.key?(:metadata) @salience = args[:salience] if args.key?(:salience) - @mentions = args[:mentions] if args.key?(:mentions) - @name = args[:name] if args.key?(:name) end end @@ -165,6 +252,13 @@ module Google class AnalyzeSyntaxResponse include Google::Apis::Core::Hashable + # The language of the text, which will be the same as the language specified + # in the request or, if not specified, the automatically-detected language. + # See `Document.language` field for more details. + # Corresponds to the JSON property `language` + # @return [String] + attr_accessor :language + # Sentences in the input document. # Corresponds to the JSON property `sentences` # @return [Array] @@ -175,22 +269,15 @@ module Google # @return [Array] attr_accessor :tokens - # The language of the text, which will be the same as the language specified - # in the request or, if not specified, the automatically-detected language. - # See `Document.language` field for more details. - # Corresponds to the JSON property `language` - # @return [String] - attr_accessor :language - def initialize(**args) update!(**args) end # Update properties of this object def update!(**args) + @language = args[:language] if args.key?(:language) @sentences = args[:sentences] if args.key?(:sentences) @tokens = args[:tokens] if args.key?(:tokens) - @language = args[:language] if args.key?(:language) end end @@ -199,11 +286,6 @@ module Google class AnnotateTextRequest include Google::Apis::Core::Hashable - # The encoding type used by the API to calculate offsets. - # Corresponds to the JSON property `encodingType` - # @return [String] - attr_accessor :encoding_type - # ################################################################ # # Represents the input to API methods. # Corresponds to the JSON property `document` @@ -216,15 +298,46 @@ module Google # @return [Google::Apis::LanguageV1::Features] attr_accessor :features + # The encoding type used by the API to calculate offsets. + # Corresponds to the JSON property `encodingType` + # @return [String] + attr_accessor :encoding_type + def initialize(**args) update!(**args) end # Update properties of this object def update!(**args) - @encoding_type = args[:encoding_type] if args.key?(:encoding_type) @document = args[:document] if args.key?(:document) @features = args[:features] if args.key?(:features) + @encoding_type = args[:encoding_type] if args.key?(:encoding_type) + end + end + + # The sentiment analysis request message. + class AnalyzeSentimentRequest + include Google::Apis::Core::Hashable + + # ################################################################ # + # Represents the input to API methods. + # Corresponds to the JSON property `document` + # @return [Google::Apis::LanguageV1::Document] + attr_accessor :document + + # The encoding type used by the API to calculate sentence offsets. + # Corresponds to the JSON property `encodingType` + # @return [String] + attr_accessor :encoding_type + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @document = args[:document] if args.key?(:document) + @encoding_type = args[:encoding_type] if args.key?(:encoding_type) end end @@ -232,19 +345,6 @@ module Google class AnnotateTextResponse include Google::Apis::Core::Hashable - # Represents the feeling associated with the entire text or entities in - # the text. - # Corresponds to the JSON property `documentSentiment` - # @return [Google::Apis::LanguageV1::Sentiment] - attr_accessor :document_sentiment - - # The language of the text, which will be the same as the language specified - # in the request or, if not specified, the automatically-detected language. - # See `Document.language` field for more details. - # Corresponds to the JSON property `language` - # @return [String] - attr_accessor :language - # Sentences in the input document. Populated if the user enables # AnnotateTextRequest.Features.extract_syntax. # Corresponds to the JSON property `sentences` @@ -265,43 +365,30 @@ module Google # @return [Array] attr_accessor :entities + # Represents the feeling associated with the entire text or entities in + # the text. + # Corresponds to the JSON property `documentSentiment` + # @return [Google::Apis::LanguageV1::Sentiment] + attr_accessor :document_sentiment + + # The language of the text, which will be the same as the language specified + # in the request or, if not specified, the automatically-detected language. + # See `Document.language` field for more details. + # Corresponds to the JSON property `language` + # @return [String] + attr_accessor :language + def initialize(**args) update!(**args) end # Update properties of this object def update!(**args) - @document_sentiment = args[:document_sentiment] if args.key?(:document_sentiment) - @language = args[:language] if args.key?(:language) @sentences = args[:sentences] if args.key?(:sentences) @tokens = args[:tokens] if args.key?(:tokens) @entities = args[:entities] if args.key?(:entities) - end - end - - # The sentiment analysis request message. - class AnalyzeSentimentRequest - include Google::Apis::Core::Hashable - - # The encoding type used by the API to calculate sentence offsets. - # Corresponds to the JSON property `encodingType` - # @return [String] - attr_accessor :encoding_type - - # ################################################################ # - # Represents the input to API methods. - # Corresponds to the JSON property `document` - # @return [Google::Apis::LanguageV1::Document] - attr_accessor :document - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @encoding_type = args[:encoding_type] if args.key?(:encoding_type) - @document = args[:document] if args.key?(:document) + @document_sentiment = args[:document_sentiment] if args.key?(:document_sentiment) + @language = args[:language] if args.key?(:language) end end @@ -336,47 +423,6 @@ module Google end end - # Represents the smallest syntactic building block of the text. - class Token - include Google::Apis::Core::Hashable - - # Represents an output piece of text. - # Corresponds to the JSON property `text` - # @return [Google::Apis::LanguageV1::TextSpan] - attr_accessor :text - - # Represents dependency parse tree information for a token. (For more - # information on dependency labels, see - # http://www.aclweb.org/anthology/P13-2017 - # Corresponds to the JSON property `dependencyEdge` - # @return [Google::Apis::LanguageV1::DependencyEdge] - attr_accessor :dependency_edge - - # [Lemma](https://en.wikipedia.org/wiki/Lemma_%28morphology%29) of the token. - # Corresponds to the JSON property `lemma` - # @return [String] - attr_accessor :lemma - - # Represents part of speech information for a token. Parts of speech - # are as defined in - # http://www.lrec-conf.org/proceedings/lrec2012/pdf/274_Paper.pdf - # Corresponds to the JSON property `partOfSpeech` - # @return [Google::Apis::LanguageV1::PartOfSpeech] - attr_accessor :part_of_speech - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @text = args[:text] if args.key?(:text) - @dependency_edge = args[:dependency_edge] if args.key?(:dependency_edge) - @lemma = args[:lemma] if args.key?(:lemma) - @part_of_speech = args[:part_of_speech] if args.key?(:part_of_speech) - end - end - # Represents an output piece of text. class TextSpan include Google::Apis::Core::Hashable @@ -403,6 +449,47 @@ module Google end end + # Represents the smallest syntactic building block of the text. + class Token + include Google::Apis::Core::Hashable + + # Represents part of speech information for a token. Parts of speech + # are as defined in + # http://www.lrec-conf.org/proceedings/lrec2012/pdf/274_Paper.pdf + # Corresponds to the JSON property `partOfSpeech` + # @return [Google::Apis::LanguageV1::PartOfSpeech] + attr_accessor :part_of_speech + + # Represents an output piece of text. + # Corresponds to the JSON property `text` + # @return [Google::Apis::LanguageV1::TextSpan] + attr_accessor :text + + # Represents dependency parse tree information for a token. (For more + # information on dependency labels, see + # http://www.aclweb.org/anthology/P13-2017 + # Corresponds to the JSON property `dependencyEdge` + # @return [Google::Apis::LanguageV1::DependencyEdge] + attr_accessor :dependency_edge + + # [Lemma](https://en.wikipedia.org/wiki/Lemma_%28morphology%29) of the token. + # Corresponds to the JSON property `lemma` + # @return [String] + attr_accessor :lemma + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @part_of_speech = args[:part_of_speech] if args.key?(:part_of_speech) + @text = args[:text] if args.key?(:text) + @dependency_edge = args[:dependency_edge] if args.key?(:dependency_edge) + @lemma = args[:lemma] if args.key?(:lemma) + end + end + # The `Status` type defines a logical error model that is suitable for different # programming environments, including REST APIs and RPC APIs. It is used by # [gRPC](https://github.com/grpc). The error model is designed to be: @@ -475,6 +562,41 @@ module Google end end + # All available features for sentiment, syntax, and semantic analysis. + # Setting each one to true will enable that specific analysis for the input. + class Features + include Google::Apis::Core::Hashable + + # Extract entities. + # Corresponds to the JSON property `extractEntities` + # @return [Boolean] + attr_accessor :extract_entities + alias_method :extract_entities?, :extract_entities + + # Extract syntax information. + # Corresponds to the JSON property `extractSyntax` + # @return [Boolean] + attr_accessor :extract_syntax + alias_method :extract_syntax?, :extract_syntax + + # Extract document-level sentiment. + # Corresponds to the JSON property `extractDocumentSentiment` + # @return [Boolean] + attr_accessor :extract_document_sentiment + alias_method :extract_document_sentiment?, :extract_document_sentiment + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @extract_entities = args[:extract_entities] if args.key?(:extract_entities) + @extract_syntax = args[:extract_syntax] if args.key?(:extract_syntax) + @extract_document_sentiment = args[:extract_document_sentiment] if args.key?(:extract_document_sentiment) + end + end + # Represents a mention for an entity in the text. Currently, proper noun # mentions are supported. class EntityMention @@ -501,41 +623,6 @@ module Google end end - # All available features for sentiment, syntax, and semantic analysis. - # Setting each one to true will enable that specific analysis for the input. - class Features - include Google::Apis::Core::Hashable - - # Extract syntax information. - # Corresponds to the JSON property `extractSyntax` - # @return [Boolean] - attr_accessor :extract_syntax - alias_method :extract_syntax?, :extract_syntax - - # Extract document-level sentiment. - # Corresponds to the JSON property `extractDocumentSentiment` - # @return [Boolean] - attr_accessor :extract_document_sentiment - alias_method :extract_document_sentiment?, :extract_document_sentiment - - # Extract entities. - # Corresponds to the JSON property `extractEntities` - # @return [Boolean] - attr_accessor :extract_entities - alias_method :extract_entities?, :extract_entities - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @extract_syntax = args[:extract_syntax] if args.key?(:extract_syntax) - @extract_document_sentiment = args[:extract_document_sentiment] if args.key?(:extract_document_sentiment) - @extract_entities = args[:extract_entities] if args.key?(:extract_entities) - end - end - # ################################################################ # # Represents the input to API methods. class Document @@ -615,25 +702,25 @@ module Google class AnalyzeEntitiesRequest include Google::Apis::Core::Hashable + # The encoding type used by the API to calculate offsets. + # Corresponds to the JSON property `encodingType` + # @return [String] + attr_accessor :encoding_type + # ################################################################ # # Represents the input to API methods. # Corresponds to the JSON property `document` # @return [Google::Apis::LanguageV1::Document] attr_accessor :document - # The encoding type used by the API to calculate offsets. - # Corresponds to the JSON property `encodingType` - # @return [String] - attr_accessor :encoding_type - def initialize(**args) update!(**args) end # Update properties of this object def update!(**args) - @document = args[:document] if args.key?(:document) @encoding_type = args[:encoding_type] if args.key?(:encoding_type) + @document = args[:document] if args.key?(:document) end end @@ -665,93 +752,6 @@ module Google @magnitude = args[:magnitude] if args.key?(:magnitude) end end - - # Represents part of speech information for a token. Parts of speech - # are as defined in - # http://www.lrec-conf.org/proceedings/lrec2012/pdf/274_Paper.pdf - class PartOfSpeech - include Google::Apis::Core::Hashable - - # The grammatical form. - # Corresponds to the JSON property `form` - # @return [String] - attr_accessor :form - - # The grammatical number. - # Corresponds to the JSON property `number` - # @return [String] - attr_accessor :number - - # The grammatical voice. - # Corresponds to the JSON property `voice` - # @return [String] - attr_accessor :voice - - # The grammatical aspect. - # Corresponds to the JSON property `aspect` - # @return [String] - attr_accessor :aspect - - # The grammatical mood. - # Corresponds to the JSON property `mood` - # @return [String] - attr_accessor :mood - - # The part of speech tag. - # Corresponds to the JSON property `tag` - # @return [String] - attr_accessor :tag - - # The grammatical gender. - # Corresponds to the JSON property `gender` - # @return [String] - attr_accessor :gender - - # The grammatical person. - # Corresponds to the JSON property `person` - # @return [String] - attr_accessor :person - - # The grammatical properness. - # Corresponds to the JSON property `proper` - # @return [String] - attr_accessor :proper - - # The grammatical case. - # Corresponds to the JSON property `case` - # @return [String] - attr_accessor :case - - # The grammatical tense. - # Corresponds to the JSON property `tense` - # @return [String] - attr_accessor :tense - - # The grammatical reciprocity. - # Corresponds to the JSON property `reciprocity` - # @return [String] - attr_accessor :reciprocity - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @form = args[:form] if args.key?(:form) - @number = args[:number] if args.key?(:number) - @voice = args[:voice] if args.key?(:voice) - @aspect = args[:aspect] if args.key?(:aspect) - @mood = args[:mood] if args.key?(:mood) - @tag = args[:tag] if args.key?(:tag) - @gender = args[:gender] if args.key?(:gender) - @person = args[:person] if args.key?(:person) - @proper = args[:proper] if args.key?(:proper) - @case = args[:case] if args.key?(:case) - @tense = args[:tense] if args.key?(:tense) - @reciprocity = args[:reciprocity] if args.key?(:reciprocity) - end - end end end end diff --git a/generated/google/apis/language_v1/representations.rb b/generated/google/apis/language_v1/representations.rb index 38f4759ac..e4debfeac 100644 --- a/generated/google/apis/language_v1/representations.rb +++ b/generated/google/apis/language_v1/representations.rb @@ -22,6 +22,12 @@ module Google module Apis module LanguageV1 + class PartOfSpeech + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + class AnalyzeSyntaxRequest class Representation < Google::Apis::Core::JsonRepresentation; end @@ -58,13 +64,13 @@ module Google include Google::Apis::Core::JsonObjectSupport end - class AnnotateTextResponse + class AnalyzeSentimentRequest class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end - class AnalyzeSentimentRequest + class AnnotateTextResponse class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport @@ -76,13 +82,13 @@ module Google include Google::Apis::Core::JsonObjectSupport end - class Token + class TextSpan class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end - class TextSpan + class Token class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport @@ -94,13 +100,13 @@ module Google include Google::Apis::Core::JsonObjectSupport end - class EntityMention + class Features class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end - class Features + class EntityMention class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport @@ -131,95 +137,107 @@ module Google end class PartOfSpeech - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :reciprocity, as: 'reciprocity' + property :form, as: 'form' + property :number, as: 'number' + property :voice, as: 'voice' + property :aspect, as: 'aspect' + property :mood, as: 'mood' + property :tag, as: 'tag' + property :gender, as: 'gender' + property :person, as: 'person' + property :proper, as: 'proper' + property :case, as: 'case' + property :tense, as: 'tense' + end end class AnalyzeSyntaxRequest # @private class Representation < Google::Apis::Core::JsonRepresentation - property :encoding_type, as: 'encodingType' property :document, as: 'document', class: Google::Apis::LanguageV1::Document, decorator: Google::Apis::LanguageV1::Document::Representation + property :encoding_type, as: 'encodingType' end end class AnalyzeSentimentResponse # @private class Representation < Google::Apis::Core::JsonRepresentation + collection :sentences, as: 'sentences', class: Google::Apis::LanguageV1::Sentence, decorator: Google::Apis::LanguageV1::Sentence::Representation + property :document_sentiment, as: 'documentSentiment', class: Google::Apis::LanguageV1::Sentiment, decorator: Google::Apis::LanguageV1::Sentiment::Representation property :language, as: 'language' - collection :sentences, as: 'sentences', class: Google::Apis::LanguageV1::Sentence, decorator: Google::Apis::LanguageV1::Sentence::Representation - end end class AnalyzeEntitiesResponse # @private class Representation < Google::Apis::Core::JsonRepresentation + property :language, as: 'language' collection :entities, as: 'entities', class: Google::Apis::LanguageV1::Entity, decorator: Google::Apis::LanguageV1::Entity::Representation - property :language, as: 'language' end end class Entity # @private class Representation < Google::Apis::Core::JsonRepresentation - property :type, as: 'type' - hash :metadata, as: 'metadata' - property :salience, as: 'salience' collection :mentions, as: 'mentions', class: Google::Apis::LanguageV1::EntityMention, decorator: Google::Apis::LanguageV1::EntityMention::Representation property :name, as: 'name' + property :type, as: 'type' + hash :metadata, as: 'metadata' + property :salience, as: 'salience' end end class AnalyzeSyntaxResponse # @private class Representation < Google::Apis::Core::JsonRepresentation + property :language, as: 'language' collection :sentences, as: 'sentences', class: Google::Apis::LanguageV1::Sentence, decorator: Google::Apis::LanguageV1::Sentence::Representation collection :tokens, as: 'tokens', class: Google::Apis::LanguageV1::Token, decorator: Google::Apis::LanguageV1::Token::Representation - property :language, as: 'language' end end class AnnotateTextRequest # @private class Representation < Google::Apis::Core::JsonRepresentation - property :encoding_type, as: 'encodingType' property :document, as: 'document', class: Google::Apis::LanguageV1::Document, decorator: Google::Apis::LanguageV1::Document::Representation property :features, as: 'features', class: Google::Apis::LanguageV1::Features, decorator: Google::Apis::LanguageV1::Features::Representation - end - end - - class AnnotateTextResponse - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :document_sentiment, as: 'documentSentiment', class: Google::Apis::LanguageV1::Sentiment, decorator: Google::Apis::LanguageV1::Sentiment::Representation - - property :language, as: 'language' - collection :sentences, as: 'sentences', class: Google::Apis::LanguageV1::Sentence, decorator: Google::Apis::LanguageV1::Sentence::Representation - - collection :tokens, as: 'tokens', class: Google::Apis::LanguageV1::Token, decorator: Google::Apis::LanguageV1::Token::Representation - - collection :entities, as: 'entities', class: Google::Apis::LanguageV1::Entity, decorator: Google::Apis::LanguageV1::Entity::Representation - + property :encoding_type, as: 'encodingType' end end class AnalyzeSentimentRequest # @private class Representation < Google::Apis::Core::JsonRepresentation - property :encoding_type, as: 'encodingType' property :document, as: 'document', class: Google::Apis::LanguageV1::Document, decorator: Google::Apis::LanguageV1::Document::Representation + property :encoding_type, as: 'encodingType' + end + end + + class AnnotateTextResponse + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :sentences, as: 'sentences', class: Google::Apis::LanguageV1::Sentence, decorator: Google::Apis::LanguageV1::Sentence::Representation + + collection :tokens, as: 'tokens', class: Google::Apis::LanguageV1::Token, decorator: Google::Apis::LanguageV1::Token::Representation + + collection :entities, as: 'entities', class: Google::Apis::LanguageV1::Entity, decorator: Google::Apis::LanguageV1::Entity::Representation + + property :document_sentiment, as: 'documentSentiment', class: Google::Apis::LanguageV1::Sentiment, decorator: Google::Apis::LanguageV1::Sentiment::Representation + + property :language, as: 'language' end end @@ -231,19 +249,6 @@ module Google end end - class Token - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :text, as: 'text', class: Google::Apis::LanguageV1::TextSpan, decorator: Google::Apis::LanguageV1::TextSpan::Representation - - property :dependency_edge, as: 'dependencyEdge', class: Google::Apis::LanguageV1::DependencyEdge, decorator: Google::Apis::LanguageV1::DependencyEdge::Representation - - property :lemma, as: 'lemma' - property :part_of_speech, as: 'partOfSpeech', class: Google::Apis::LanguageV1::PartOfSpeech, decorator: Google::Apis::LanguageV1::PartOfSpeech::Representation - - end - end - class TextSpan # @private class Representation < Google::Apis::Core::JsonRepresentation @@ -252,6 +257,19 @@ module Google end end + class Token + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :part_of_speech, as: 'partOfSpeech', class: Google::Apis::LanguageV1::PartOfSpeech, decorator: Google::Apis::LanguageV1::PartOfSpeech::Representation + + property :text, as: 'text', class: Google::Apis::LanguageV1::TextSpan, decorator: Google::Apis::LanguageV1::TextSpan::Representation + + property :dependency_edge, as: 'dependencyEdge', class: Google::Apis::LanguageV1::DependencyEdge, decorator: Google::Apis::LanguageV1::DependencyEdge::Representation + + property :lemma, as: 'lemma' + end + end + class Status # @private class Representation < Google::Apis::Core::JsonRepresentation @@ -261,6 +279,15 @@ module Google end end + class Features + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :extract_entities, as: 'extractEntities' + property :extract_syntax, as: 'extractSyntax' + property :extract_document_sentiment, as: 'extractDocumentSentiment' + end + end + class EntityMention # @private class Representation < Google::Apis::Core::JsonRepresentation @@ -270,15 +297,6 @@ module Google end end - class Features - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :extract_syntax, as: 'extractSyntax' - property :extract_document_sentiment, as: 'extractDocumentSentiment' - property :extract_entities, as: 'extractEntities' - end - end - class Document # @private class Representation < Google::Apis::Core::JsonRepresentation @@ -302,9 +320,9 @@ module Google class AnalyzeEntitiesRequest # @private class Representation < Google::Apis::Core::JsonRepresentation + property :encoding_type, as: 'encodingType' property :document, as: 'document', class: Google::Apis::LanguageV1::Document, decorator: Google::Apis::LanguageV1::Document::Representation - property :encoding_type, as: 'encodingType' end end @@ -315,24 +333,6 @@ module Google property :magnitude, as: 'magnitude' end end - - class PartOfSpeech - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :form, as: 'form' - property :number, as: 'number' - property :voice, as: 'voice' - property :aspect, as: 'aspect' - property :mood, as: 'mood' - property :tag, as: 'tag' - property :gender, as: 'gender' - property :person, as: 'person' - property :proper, as: 'proper' - property :case, as: 'case' - property :tense, as: 'tense' - property :reciprocity, as: 'reciprocity' - end - end end end end diff --git a/generated/google/apis/language_v1/service.rb b/generated/google/apis/language_v1/service.rb index ecab8f200..513693477 100644 --- a/generated/google/apis/language_v1/service.rb +++ b/generated/google/apis/language_v1/service.rb @@ -46,6 +46,7 @@ module Google def initialize super('https://language.googleapis.com/', '') + @batch_path = 'batch' end # A convenience method that provides all the features that analyzeSentiment, diff --git a/generated/google/apis/language_v1beta1.rb b/generated/google/apis/language_v1beta1.rb index 2fdd19797..9a7cb98d5 100644 --- a/generated/google/apis/language_v1beta1.rb +++ b/generated/google/apis/language_v1beta1.rb @@ -27,7 +27,7 @@ module Google # @see https://cloud.google.com/natural-language/ module LanguageV1beta1 VERSION = 'V1beta1' - REVISION = '20170320' + REVISION = '20170329' # View and manage your data across Google Cloud Platform services AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform' diff --git a/generated/google/apis/language_v1beta1/classes.rb b/generated/google/apis/language_v1beta1/classes.rb index 1dfeea712..8addbba94 100644 --- a/generated/google/apis/language_v1beta1/classes.rb +++ b/generated/google/apis/language_v1beta1/classes.rb @@ -22,6 +22,142 @@ module Google module Apis module LanguageV1beta1 + # Represents a mention for an entity in the text. Currently, proper noun + # mentions are supported. + class EntityMention + include Google::Apis::Core::Hashable + + # Represents an output piece of text. + # Corresponds to the JSON property `text` + # @return [Google::Apis::LanguageV1beta1::TextSpan] + attr_accessor :text + + # The type of the entity mention. + # Corresponds to the JSON property `type` + # @return [String] + attr_accessor :type + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @text = args[:text] if args.key?(:text) + @type = args[:type] if args.key?(:type) + end + end + + # All available features for sentiment, syntax, and semantic analysis. + # Setting each one to true will enable that specific analysis for the input. + class Features + include Google::Apis::Core::Hashable + + # Extract syntax information. + # Corresponds to the JSON property `extractSyntax` + # @return [Boolean] + attr_accessor :extract_syntax + alias_method :extract_syntax?, :extract_syntax + + # Extract document-level sentiment. + # Corresponds to the JSON property `extractDocumentSentiment` + # @return [Boolean] + attr_accessor :extract_document_sentiment + alias_method :extract_document_sentiment?, :extract_document_sentiment + + # Extract entities. + # Corresponds to the JSON property `extractEntities` + # @return [Boolean] + attr_accessor :extract_entities + alias_method :extract_entities?, :extract_entities + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @extract_syntax = args[:extract_syntax] if args.key?(:extract_syntax) + @extract_document_sentiment = args[:extract_document_sentiment] if args.key?(:extract_document_sentiment) + @extract_entities = args[:extract_entities] if args.key?(:extract_entities) + end + end + + # ################################################################ # + # Represents the input to API methods. + class Document + include Google::Apis::Core::Hashable + + # The language of the document (if not specified, the language is + # automatically detected). Both ISO and BCP-47 language codes are + # accepted.
+ # **Current Language Restrictions:** + # * Only English, Spanish, and Japanese textual content are supported. + # If the language (either specified by the caller or automatically detected) + # is not supported by the called API method, an `INVALID_ARGUMENT` error + # is returned. + # Corresponds to the JSON property `language` + # @return [String] + attr_accessor :language + + # Required. If the type is not set or is `TYPE_UNSPECIFIED`, + # returns an `INVALID_ARGUMENT` error. + # Corresponds to the JSON property `type` + # @return [String] + attr_accessor :type + + # The content of the input in string format. + # Corresponds to the JSON property `content` + # @return [String] + attr_accessor :content + + # The Google Cloud Storage URI where the file content is located. + # This URI must be of the form: gs://bucket_name/object_name. For more + # details, see https://cloud.google.com/storage/docs/reference-uris. + # NOTE: Cloud Storage object versioning is not supported. + # Corresponds to the JSON property `gcsContentUri` + # @return [String] + attr_accessor :gcs_content_uri + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @language = args[:language] if args.key?(:language) + @type = args[:type] if args.key?(:type) + @content = args[:content] if args.key?(:content) + @gcs_content_uri = args[:gcs_content_uri] if args.key?(:gcs_content_uri) + end + end + + # Represents a sentence in the input document. + class Sentence + include Google::Apis::Core::Hashable + + # Represents the feeling associated with the entire text or entities in + # the text. + # Corresponds to the JSON property `sentiment` + # @return [Google::Apis::LanguageV1beta1::Sentiment] + attr_accessor :sentiment + + # Represents an output piece of text. + # Corresponds to the JSON property `text` + # @return [Google::Apis::LanguageV1beta1::TextSpan] + attr_accessor :text + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @sentiment = args[:sentiment] if args.key?(:sentiment) + @text = args[:text] if args.key?(:text) + end + end + # The entity analysis request message. class AnalyzeEntitiesRequest include Google::Apis::Core::Hashable @@ -89,6 +225,21 @@ module Google class PartOfSpeech include Google::Apis::Core::Hashable + # The grammatical case. + # Corresponds to the JSON property `case` + # @return [String] + attr_accessor :case + + # The grammatical tense. + # Corresponds to the JSON property `tense` + # @return [String] + attr_accessor :tense + + # The grammatical reciprocity. + # Corresponds to the JSON property `reciprocity` + # @return [String] + attr_accessor :reciprocity + # The grammatical form. # Corresponds to the JSON property `form` # @return [String] @@ -134,27 +285,15 @@ module Google # @return [String] attr_accessor :proper - # The grammatical case. - # Corresponds to the JSON property `case` - # @return [String] - attr_accessor :case - - # The grammatical tense. - # Corresponds to the JSON property `tense` - # @return [String] - attr_accessor :tense - - # The grammatical reciprocity. - # Corresponds to the JSON property `reciprocity` - # @return [String] - attr_accessor :reciprocity - def initialize(**args) update!(**args) end # Update properties of this object def update!(**args) + @case = args[:case] if args.key?(:case) + @tense = args[:tense] if args.key?(:tense) + @reciprocity = args[:reciprocity] if args.key?(:reciprocity) @form = args[:form] if args.key?(:form) @number = args[:number] if args.key?(:number) @voice = args[:voice] if args.key?(:voice) @@ -164,9 +303,6 @@ module Google @gender = args[:gender] if args.key?(:gender) @person = args[:person] if args.key?(:person) @proper = args[:proper] if args.key?(:proper) - @case = args[:case] if args.key?(:case) - @tense = args[:tense] if args.key?(:tense) - @reciprocity = args[:reciprocity] if args.key?(:reciprocity) end end @@ -174,25 +310,25 @@ module Google class AnalyzeSyntaxRequest include Google::Apis::Core::Hashable + # The encoding type used by the API to calculate offsets. + # Corresponds to the JSON property `encodingType` + # @return [String] + attr_accessor :encoding_type + # ################################################################ # # Represents the input to API methods. # Corresponds to the JSON property `document` # @return [Google::Apis::LanguageV1beta1::Document] attr_accessor :document - # The encoding type used by the API to calculate offsets. - # Corresponds to the JSON property `encodingType` - # @return [String] - attr_accessor :encoding_type - def initialize(**args) update!(**args) end # Update properties of this object def update!(**args) - @document = args[:document] if args.key?(:document) @encoding_type = args[:encoding_type] if args.key?(:encoding_type) + @document = args[:document] if args.key?(:document) end end @@ -200,6 +336,12 @@ module Google class AnalyzeSentimentResponse include Google::Apis::Core::Hashable + # The language of the text, which will be the same as the language specified + # in the request or, if not specified, the automatically-detected language. + # Corresponds to the JSON property `language` + # @return [String] + attr_accessor :language + # The sentiment for all the sentences in the document. # Corresponds to the JSON property `sentences` # @return [Array] @@ -211,21 +353,15 @@ module Google # @return [Google::Apis::LanguageV1beta1::Sentiment] attr_accessor :document_sentiment - # The language of the text, which will be the same as the language specified - # in the request or, if not specified, the automatically-detected language. - # Corresponds to the JSON property `language` - # @return [String] - attr_accessor :language - def initialize(**args) update!(**args) end # Update properties of this object def update!(**args) + @language = args[:language] if args.key?(:language) @sentences = args[:sentences] if args.key?(:sentences) @document_sentiment = args[:document_sentiment] if args.key?(:document_sentiment) - @language = args[:language] if args.key?(:language) end end @@ -233,11 +369,6 @@ module Google class AnalyzeEntitiesResponse include Google::Apis::Core::Hashable - # The recognized entities in the input document. - # Corresponds to the JSON property `entities` - # @return [Array] - attr_accessor :entities - # The language of the text, which will be the same as the language specified # in the request or, if not specified, the automatically-detected language. # See Document.language field for more details. @@ -245,14 +376,52 @@ module Google # @return [String] attr_accessor :language + # The recognized entities in the input document. + # Corresponds to the JSON property `entities` + # @return [Array] + attr_accessor :entities + def initialize(**args) update!(**args) end # Update properties of this object def update!(**args) - @entities = args[:entities] if args.key?(:entities) @language = args[:language] if args.key?(:language) + @entities = args[:entities] if args.key?(:entities) + end + end + + # The syntax analysis response message. + class AnalyzeSyntaxResponse + include Google::Apis::Core::Hashable + + # The language of the text, which will be the same as the language specified + # in the request or, if not specified, the automatically-detected language. + # See Document.language field for more details. + # Corresponds to the JSON property `language` + # @return [String] + attr_accessor :language + + # Sentences in the input document. + # Corresponds to the JSON property `sentences` + # @return [Array] + attr_accessor :sentences + + # Tokens, along with their syntactic information, in the input document. + # Corresponds to the JSON property `tokens` + # @return [Array] + attr_accessor :tokens + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @language = args[:language] if args.key?(:language) + @sentences = args[:sentences] if args.key?(:sentences) + @tokens = args[:tokens] if args.key?(:tokens) end end @@ -308,39 +477,6 @@ module Google end end - # The syntax analysis response message. - class AnalyzeSyntaxResponse - include Google::Apis::Core::Hashable - - # The language of the text, which will be the same as the language specified - # in the request or, if not specified, the automatically-detected language. - # See Document.language field for more details. - # Corresponds to the JSON property `language` - # @return [String] - attr_accessor :language - - # Sentences in the input document. - # Corresponds to the JSON property `sentences` - # @return [Array] - attr_accessor :sentences - - # Tokens, along with their syntactic information, in the input document. - # Corresponds to the JSON property `tokens` - # @return [Array] - attr_accessor :tokens - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @language = args[:language] if args.key?(:language) - @sentences = args[:sentences] if args.key?(:sentences) - @tokens = args[:tokens] if args.key?(:tokens) - end - end - # The request message for the text annotation API, which can perform multiple # analysis types (sentiment, entities, and syntax) in one call. class AnnotateTextRequest @@ -379,19 +515,6 @@ module Google class AnnotateTextResponse include Google::Apis::Core::Hashable - # Sentences in the input document. Populated if the user enables - # AnnotateTextRequest.Features.extract_syntax. - # Corresponds to the JSON property `sentences` - # @return [Array] - attr_accessor :sentences - - # Tokens, along with their syntactic information, in the input document. - # Populated if the user enables - # AnnotateTextRequest.Features.extract_syntax. - # Corresponds to the JSON property `tokens` - # @return [Array] - attr_accessor :tokens - # Entities, along with their semantic information, in the input document. # Populated if the user enables # AnnotateTextRequest.Features.extract_entities. @@ -412,17 +535,30 @@ module Google # @return [String] attr_accessor :language + # Sentences in the input document. Populated if the user enables + # AnnotateTextRequest.Features.extract_syntax. + # Corresponds to the JSON property `sentences` + # @return [Array] + attr_accessor :sentences + + # Tokens, along with their syntactic information, in the input document. + # Populated if the user enables + # AnnotateTextRequest.Features.extract_syntax. + # Corresponds to the JSON property `tokens` + # @return [Array] + attr_accessor :tokens + def initialize(**args) update!(**args) end # Update properties of this object def update!(**args) - @sentences = args[:sentences] if args.key?(:sentences) - @tokens = args[:tokens] if args.key?(:tokens) @entities = args[:entities] if args.key?(:entities) @document_sentiment = args[:document_sentiment] if args.key?(:document_sentiment) @language = args[:language] if args.key?(:language) + @sentences = args[:sentences] if args.key?(:sentences) + @tokens = args[:tokens] if args.key?(:tokens) end end @@ -430,26 +566,26 @@ module Google class AnalyzeSentimentRequest include Google::Apis::Core::Hashable - # ################################################################ # - # Represents the input to API methods. - # Corresponds to the JSON property `document` - # @return [Google::Apis::LanguageV1beta1::Document] - attr_accessor :document - # The encoding type used by the API to calculate sentence offsets for the # sentence sentiment. # Corresponds to the JSON property `encodingType` # @return [String] attr_accessor :encoding_type + # ################################################################ # + # Represents the input to API methods. + # Corresponds to the JSON property `document` + # @return [Google::Apis::LanguageV1beta1::Document] + attr_accessor :document + def initialize(**args) update!(**args) end # Update properties of this object def update!(**args) - @document = args[:document] if args.key?(:document) @encoding_type = args[:encoding_type] if args.key?(:encoding_type) + @document = args[:document] if args.key?(:document) end end @@ -457,6 +593,11 @@ module Google class DependencyEdge include Google::Apis::Core::Hashable + # The parse label for the token. + # Corresponds to the JSON property `label` + # @return [String] + attr_accessor :label + # Represents the head of this token in the dependency tree. # This is the index of the token which has an arc going to this token. # The index is the position of the token in the array of tokens returned @@ -466,56 +607,14 @@ module Google # @return [Fixnum] attr_accessor :head_token_index - # The parse label for the token. - # Corresponds to the JSON property `label` - # @return [String] - attr_accessor :label - def initialize(**args) update!(**args) end # Update properties of this object def update!(**args) - @head_token_index = args[:head_token_index] if args.key?(:head_token_index) @label = args[:label] if args.key?(:label) - end - end - - # Represents the smallest syntactic building block of the text. - class Token - include Google::Apis::Core::Hashable - - # Represents an output piece of text. - # Corresponds to the JSON property `text` - # @return [Google::Apis::LanguageV1beta1::TextSpan] - attr_accessor :text - - # Represents dependency parse tree information for a token. - # Corresponds to the JSON property `dependencyEdge` - # @return [Google::Apis::LanguageV1beta1::DependencyEdge] - attr_accessor :dependency_edge - - # [Lemma](https://en.wikipedia.org/wiki/Lemma_%28morphology%29) of the token. - # Corresponds to the JSON property `lemma` - # @return [String] - attr_accessor :lemma - - # Represents part of speech information for a token. - # Corresponds to the JSON property `partOfSpeech` - # @return [Google::Apis::LanguageV1beta1::PartOfSpeech] - attr_accessor :part_of_speech - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @text = args[:text] if args.key?(:text) - @dependency_edge = args[:dependency_edge] if args.key?(:dependency_edge) - @lemma = args[:lemma] if args.key?(:lemma) - @part_of_speech = args[:part_of_speech] if args.key?(:part_of_speech) + @head_token_index = args[:head_token_index] if args.key?(:head_token_index) end end @@ -545,6 +644,43 @@ module Google end end + # Represents the smallest syntactic building block of the text. + class Token + include Google::Apis::Core::Hashable + + # Represents part of speech information for a token. + # Corresponds to the JSON property `partOfSpeech` + # @return [Google::Apis::LanguageV1beta1::PartOfSpeech] + attr_accessor :part_of_speech + + # Represents an output piece of text. + # Corresponds to the JSON property `text` + # @return [Google::Apis::LanguageV1beta1::TextSpan] + attr_accessor :text + + # Represents dependency parse tree information for a token. + # Corresponds to the JSON property `dependencyEdge` + # @return [Google::Apis::LanguageV1beta1::DependencyEdge] + attr_accessor :dependency_edge + + # [Lemma](https://en.wikipedia.org/wiki/Lemma_%28morphology%29) of the token. + # Corresponds to the JSON property `lemma` + # @return [String] + attr_accessor :lemma + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @part_of_speech = args[:part_of_speech] if args.key?(:part_of_speech) + @text = args[:text] if args.key?(:text) + @dependency_edge = args[:dependency_edge] if args.key?(:dependency_edge) + @lemma = args[:lemma] if args.key?(:lemma) + end + end + # The `Status` type defines a logical error model that is suitable for different # programming environments, including REST APIs and RPC APIs. It is used by # [gRPC](https://github.com/grpc). The error model is designed to be: @@ -587,11 +723,6 @@ module Google class Status include Google::Apis::Core::Hashable - # The status code, which should be an enum value of google.rpc.Code. - # Corresponds to the JSON property `code` - # @return [Fixnum] - attr_accessor :code - # A developer-facing error message, which should be in English. Any # user-facing error message should be localized and sent in the # google.rpc.Status.details field, or localized by the client. @@ -605,151 +736,20 @@ module Google # @return [Array>] attr_accessor :details + # The status code, which should be an enum value of google.rpc.Code. + # Corresponds to the JSON property `code` + # @return [Fixnum] + attr_accessor :code + def initialize(**args) update!(**args) end # Update properties of this object def update!(**args) - @code = args[:code] if args.key?(:code) @message = args[:message] if args.key?(:message) @details = args[:details] if args.key?(:details) - end - end - - # Represents a mention for an entity in the text. Currently, proper noun - # mentions are supported. - class EntityMention - include Google::Apis::Core::Hashable - - # Represents an output piece of text. - # Corresponds to the JSON property `text` - # @return [Google::Apis::LanguageV1beta1::TextSpan] - attr_accessor :text - - # The type of the entity mention. - # Corresponds to the JSON property `type` - # @return [String] - attr_accessor :type - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @text = args[:text] if args.key?(:text) - @type = args[:type] if args.key?(:type) - end - end - - # All available features for sentiment, syntax, and semantic analysis. - # Setting each one to true will enable that specific analysis for the input. - class Features - include Google::Apis::Core::Hashable - - # Extract entities. - # Corresponds to the JSON property `extractEntities` - # @return [Boolean] - attr_accessor :extract_entities - alias_method :extract_entities?, :extract_entities - - # Extract syntax information. - # Corresponds to the JSON property `extractSyntax` - # @return [Boolean] - attr_accessor :extract_syntax - alias_method :extract_syntax?, :extract_syntax - - # Extract document-level sentiment. - # Corresponds to the JSON property `extractDocumentSentiment` - # @return [Boolean] - attr_accessor :extract_document_sentiment - alias_method :extract_document_sentiment?, :extract_document_sentiment - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @extract_entities = args[:extract_entities] if args.key?(:extract_entities) - @extract_syntax = args[:extract_syntax] if args.key?(:extract_syntax) - @extract_document_sentiment = args[:extract_document_sentiment] if args.key?(:extract_document_sentiment) - end - end - - # Represents a sentence in the input document. - class Sentence - include Google::Apis::Core::Hashable - - # Represents an output piece of text. - # Corresponds to the JSON property `text` - # @return [Google::Apis::LanguageV1beta1::TextSpan] - attr_accessor :text - - # Represents the feeling associated with the entire text or entities in - # the text. - # Corresponds to the JSON property `sentiment` - # @return [Google::Apis::LanguageV1beta1::Sentiment] - attr_accessor :sentiment - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @text = args[:text] if args.key?(:text) - @sentiment = args[:sentiment] if args.key?(:sentiment) - end - end - - # ################################################################ # - # Represents the input to API methods. - class Document - include Google::Apis::Core::Hashable - - # Required. If the type is not set or is `TYPE_UNSPECIFIED`, - # returns an `INVALID_ARGUMENT` error. - # Corresponds to the JSON property `type` - # @return [String] - attr_accessor :type - - # The content of the input in string format. - # Corresponds to the JSON property `content` - # @return [String] - attr_accessor :content - - # The Google Cloud Storage URI where the file content is located. - # This URI must be of the form: gs://bucket_name/object_name. For more - # details, see https://cloud.google.com/storage/docs/reference-uris. - # NOTE: Cloud Storage object versioning is not supported. - # Corresponds to the JSON property `gcsContentUri` - # @return [String] - attr_accessor :gcs_content_uri - - # The language of the document (if not specified, the language is - # automatically detected). Both ISO and BCP-47 language codes are - # accepted.
- # **Current Language Restrictions:** - # * Only English, Spanish, and Japanese textual content are supported. - # If the language (either specified by the caller or automatically detected) - # is not supported by the called API method, an `INVALID_ARGUMENT` error - # is returned. - # Corresponds to the JSON property `language` - # @return [String] - attr_accessor :language - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @type = args[:type] if args.key?(:type) - @content = args[:content] if args.key?(:content) - @gcs_content_uri = args[:gcs_content_uri] if args.key?(:gcs_content_uri) - @language = args[:language] if args.key?(:language) + @code = args[:code] if args.key?(:code) end end end diff --git a/generated/google/apis/language_v1beta1/representations.rb b/generated/google/apis/language_v1beta1/representations.rb index 66c6145b2..28dddc58b 100644 --- a/generated/google/apis/language_v1beta1/representations.rb +++ b/generated/google/apis/language_v1beta1/representations.rb @@ -22,6 +22,30 @@ module Google module Apis module LanguageV1beta1 + class EntityMention + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class Features + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class Document + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class Sentence + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + class AnalyzeEntitiesRequest class Representation < Google::Apis::Core::JsonRepresentation; end @@ -58,13 +82,13 @@ module Google include Google::Apis::Core::JsonObjectSupport end - class Entity + class AnalyzeSyntaxResponse class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end - class AnalyzeSyntaxResponse + class Entity class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport @@ -94,13 +118,13 @@ module Google include Google::Apis::Core::JsonObjectSupport end - class Token + class TextSpan class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end - class TextSpan + class Token class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport @@ -113,27 +137,41 @@ module Google end class EntityMention - class Representation < Google::Apis::Core::JsonRepresentation; end + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :text, as: 'text', class: Google::Apis::LanguageV1beta1::TextSpan, decorator: Google::Apis::LanguageV1beta1::TextSpan::Representation - include Google::Apis::Core::JsonObjectSupport + property :type, as: 'type' + end end class Features - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class Sentence - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :extract_syntax, as: 'extractSyntax' + property :extract_document_sentiment, as: 'extractDocumentSentiment' + property :extract_entities, as: 'extractEntities' + end end class Document - class Representation < Google::Apis::Core::JsonRepresentation; end + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :language, as: 'language' + property :type, as: 'type' + property :content, as: 'content' + property :gcs_content_uri, as: 'gcsContentUri' + end + end - include Google::Apis::Core::JsonObjectSupport + class Sentence + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :sentiment, as: 'sentiment', class: Google::Apis::LanguageV1beta1::Sentiment, decorator: Google::Apis::LanguageV1beta1::Sentiment::Representation + + property :text, as: 'text', class: Google::Apis::LanguageV1beta1::TextSpan, decorator: Google::Apis::LanguageV1beta1::TextSpan::Representation + + end end class AnalyzeEntitiesRequest @@ -157,6 +195,9 @@ module Google class PartOfSpeech # @private class Representation < Google::Apis::Core::JsonRepresentation + property :case, as: 'case' + property :tense, as: 'tense' + property :reciprocity, as: 'reciprocity' property :form, as: 'form' property :number, as: 'number' property :voice, as: 'voice' @@ -166,38 +207,46 @@ module Google property :gender, as: 'gender' property :person, as: 'person' property :proper, as: 'proper' - property :case, as: 'case' - property :tense, as: 'tense' - property :reciprocity, as: 'reciprocity' end end class AnalyzeSyntaxRequest # @private class Representation < Google::Apis::Core::JsonRepresentation + property :encoding_type, as: 'encodingType' property :document, as: 'document', class: Google::Apis::LanguageV1beta1::Document, decorator: Google::Apis::LanguageV1beta1::Document::Representation - property :encoding_type, as: 'encodingType' end end class AnalyzeSentimentResponse # @private class Representation < Google::Apis::Core::JsonRepresentation + property :language, as: 'language' collection :sentences, as: 'sentences', class: Google::Apis::LanguageV1beta1::Sentence, decorator: Google::Apis::LanguageV1beta1::Sentence::Representation property :document_sentiment, as: 'documentSentiment', class: Google::Apis::LanguageV1beta1::Sentiment, decorator: Google::Apis::LanguageV1beta1::Sentiment::Representation - property :language, as: 'language' end end class AnalyzeEntitiesResponse # @private class Representation < Google::Apis::Core::JsonRepresentation + property :language, as: 'language' collection :entities, as: 'entities', class: Google::Apis::LanguageV1beta1::Entity, decorator: Google::Apis::LanguageV1beta1::Entity::Representation + end + end + + class AnalyzeSyntaxResponse + # @private + class Representation < Google::Apis::Core::JsonRepresentation property :language, as: 'language' + collection :sentences, as: 'sentences', class: Google::Apis::LanguageV1beta1::Sentence, decorator: Google::Apis::LanguageV1beta1::Sentence::Representation + + collection :tokens, as: 'tokens', class: Google::Apis::LanguageV1beta1::Token, decorator: Google::Apis::LanguageV1beta1::Token::Representation + end end @@ -213,17 +262,6 @@ module Google end end - class AnalyzeSyntaxResponse - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :language, as: 'language' - collection :sentences, as: 'sentences', class: Google::Apis::LanguageV1beta1::Sentence, decorator: Google::Apis::LanguageV1beta1::Sentence::Representation - - collection :tokens, as: 'tokens', class: Google::Apis::LanguageV1beta1::Token, decorator: Google::Apis::LanguageV1beta1::Token::Representation - - end - end - class AnnotateTextRequest # @private class Representation < Google::Apis::Core::JsonRepresentation @@ -238,45 +276,32 @@ module Google class AnnotateTextResponse # @private class Representation < Google::Apis::Core::JsonRepresentation - collection :sentences, as: 'sentences', class: Google::Apis::LanguageV1beta1::Sentence, decorator: Google::Apis::LanguageV1beta1::Sentence::Representation - - collection :tokens, as: 'tokens', class: Google::Apis::LanguageV1beta1::Token, decorator: Google::Apis::LanguageV1beta1::Token::Representation - collection :entities, as: 'entities', class: Google::Apis::LanguageV1beta1::Entity, decorator: Google::Apis::LanguageV1beta1::Entity::Representation property :document_sentiment, as: 'documentSentiment', class: Google::Apis::LanguageV1beta1::Sentiment, decorator: Google::Apis::LanguageV1beta1::Sentiment::Representation property :language, as: 'language' + collection :sentences, as: 'sentences', class: Google::Apis::LanguageV1beta1::Sentence, decorator: Google::Apis::LanguageV1beta1::Sentence::Representation + + collection :tokens, as: 'tokens', class: Google::Apis::LanguageV1beta1::Token, decorator: Google::Apis::LanguageV1beta1::Token::Representation + end end class AnalyzeSentimentRequest # @private class Representation < Google::Apis::Core::JsonRepresentation + property :encoding_type, as: 'encodingType' property :document, as: 'document', class: Google::Apis::LanguageV1beta1::Document, decorator: Google::Apis::LanguageV1beta1::Document::Representation - property :encoding_type, as: 'encodingType' end end class DependencyEdge # @private class Representation < Google::Apis::Core::JsonRepresentation - property :head_token_index, as: 'headTokenIndex' property :label, as: 'label' - end - end - - class Token - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :text, as: 'text', class: Google::Apis::LanguageV1beta1::TextSpan, decorator: Google::Apis::LanguageV1beta1::TextSpan::Representation - - property :dependency_edge, as: 'dependencyEdge', class: Google::Apis::LanguageV1beta1::DependencyEdge, decorator: Google::Apis::LanguageV1beta1::DependencyEdge::Representation - - property :lemma, as: 'lemma' - property :part_of_speech, as: 'partOfSpeech', class: Google::Apis::LanguageV1beta1::PartOfSpeech, decorator: Google::Apis::LanguageV1beta1::PartOfSpeech::Representation - + property :head_token_index, as: 'headTokenIndex' end end @@ -288,50 +313,25 @@ module Google end end + class Token + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :part_of_speech, as: 'partOfSpeech', class: Google::Apis::LanguageV1beta1::PartOfSpeech, decorator: Google::Apis::LanguageV1beta1::PartOfSpeech::Representation + + property :text, as: 'text', class: Google::Apis::LanguageV1beta1::TextSpan, decorator: Google::Apis::LanguageV1beta1::TextSpan::Representation + + property :dependency_edge, as: 'dependencyEdge', class: Google::Apis::LanguageV1beta1::DependencyEdge, decorator: Google::Apis::LanguageV1beta1::DependencyEdge::Representation + + property :lemma, as: 'lemma' + end + end + class Status # @private class Representation < Google::Apis::Core::JsonRepresentation - property :code, as: 'code' property :message, as: 'message' collection :details, as: 'details' - end - end - - class EntityMention - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :text, as: 'text', class: Google::Apis::LanguageV1beta1::TextSpan, decorator: Google::Apis::LanguageV1beta1::TextSpan::Representation - - property :type, as: 'type' - end - end - - class Features - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :extract_entities, as: 'extractEntities' - property :extract_syntax, as: 'extractSyntax' - property :extract_document_sentiment, as: 'extractDocumentSentiment' - end - end - - class Sentence - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :text, as: 'text', class: Google::Apis::LanguageV1beta1::TextSpan, decorator: Google::Apis::LanguageV1beta1::TextSpan::Representation - - property :sentiment, as: 'sentiment', class: Google::Apis::LanguageV1beta1::Sentiment, decorator: Google::Apis::LanguageV1beta1::Sentiment::Representation - - end - end - - class Document - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :type, as: 'type' - property :content, as: 'content' - property :gcs_content_uri, as: 'gcsContentUri' - property :language, as: 'language' + property :code, as: 'code' end end end diff --git a/generated/google/apis/language_v1beta1/service.rb b/generated/google/apis/language_v1beta1/service.rb index c8888b023..f9ea98850 100644 --- a/generated/google/apis/language_v1beta1/service.rb +++ b/generated/google/apis/language_v1beta1/service.rb @@ -46,6 +46,37 @@ module Google def initialize super('https://language.googleapis.com/', '') + @batch_path = 'batch' + end + + # Analyzes the sentiment of the provided text. + # @param [Google::Apis::LanguageV1beta1::AnalyzeSentimentRequest] analyze_sentiment_request_object + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # Available to use for quota purposes for server-side applications. Can be any + # arbitrary string assigned to a user, but should not exceed 40 characters. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::LanguageV1beta1::AnalyzeSentimentResponse] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::LanguageV1beta1::AnalyzeSentimentResponse] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def analyze_document_sentiment(analyze_sentiment_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:post, 'v1beta1/documents:analyzeSentiment', options) + command.request_representation = Google::Apis::LanguageV1beta1::AnalyzeSentimentRequest::Representation + command.request_object = analyze_sentiment_request_object + command.response_representation = Google::Apis::LanguageV1beta1::AnalyzeSentimentResponse::Representation + command.response_class = Google::Apis::LanguageV1beta1::AnalyzeSentimentResponse + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + execute_or_queue_command(command, &block) end # A convenience method that provides all the features that analyzeSentiment, @@ -142,36 +173,6 @@ module Google command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end - - # Analyzes the sentiment of the provided text. - # @param [Google::Apis::LanguageV1beta1::AnalyzeSentimentRequest] analyze_sentiment_request_object - # @param [String] fields - # Selector specifying which fields to include in a partial response. - # @param [String] quota_user - # Available to use for quota purposes for server-side applications. Can be any - # arbitrary string assigned to a user, but should not exceed 40 characters. - # @param [Google::Apis::RequestOptions] options - # Request-specific options - # - # @yield [result, err] Result & error if block supplied - # @yieldparam result [Google::Apis::LanguageV1beta1::AnalyzeSentimentResponse] parsed result object - # @yieldparam err [StandardError] error object if request failed - # - # @return [Google::Apis::LanguageV1beta1::AnalyzeSentimentResponse] - # - # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried - # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification - # @raise [Google::Apis::AuthorizationError] Authorization is required - def analyze_document_sentiment(analyze_sentiment_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) - command = make_simple_command(:post, 'v1beta1/documents:analyzeSentiment', options) - command.request_representation = Google::Apis::LanguageV1beta1::AnalyzeSentimentRequest::Representation - command.request_object = analyze_sentiment_request_object - command.response_representation = Google::Apis::LanguageV1beta1::AnalyzeSentimentResponse::Representation - command.response_class = Google::Apis::LanguageV1beta1::AnalyzeSentimentResponse - command.query['fields'] = fields unless fields.nil? - command.query['quotaUser'] = quota_user unless quota_user.nil? - execute_or_queue_command(command, &block) - end protected diff --git a/generated/google/apis/licensing_v1/service.rb b/generated/google/apis/licensing_v1/service.rb index bd9e40291..6a855a177 100644 --- a/generated/google/apis/licensing_v1/service.rb +++ b/generated/google/apis/licensing_v1/service.rb @@ -50,6 +50,7 @@ module Google def initialize super('https://www.googleapis.com/', 'apps/licensing/v1/product/') + @batch_path = 'batch' end # Revoke License. diff --git a/generated/google/apis/logging_v2/classes.rb b/generated/google/apis/logging_v2/classes.rb index 756589743..02cdf9d1c 100644 --- a/generated/google/apis/logging_v2/classes.rb +++ b/generated/google/apis/logging_v2/classes.rb @@ -22,16 +22,215 @@ module Google module Apis module LoggingV2 + # An object representing a resource that can be used for monitoring, logging, + # billing, or other purposes. Examples include virtual machine instances, + # databases, and storage devices such as disks. The type field identifies a + # MonitoredResourceDescriptor object that describes the resource's schema. + # Information in the labels field identifies the actual resource and its + # attributes according to the schema. For example, a particular Compute Engine + # VM instance could be represented by the following object, because the + # MonitoredResourceDescriptor for "gce_instance" has labels "instance_id" and " + # zone": + # ` "type": "gce_instance", + # "labels": ` "instance_id": "12345678901234", + # "zone": "us-central1-a" `` + class MonitoredResource + include Google::Apis::Core::Hashable + + # Required. The monitored resource type. This field must match the type field of + # a MonitoredResourceDescriptor object. For example, the type of a Cloud SQL + # database is "cloudsql_database". + # Corresponds to the JSON property `type` + # @return [String] + attr_accessor :type + + # Required. Values for all of the labels listed in the associated monitored + # resource descriptor. For example, Cloud SQL databases use the labels " + # database_id" and "zone". + # Corresponds to the JSON property `labels` + # @return [Hash] + attr_accessor :labels + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @type = args[:type] if args.key?(:type) + @labels = args[:labels] if args.key?(:labels) + end + end + + # The parameters to WriteLogEntries. + class WriteLogEntriesRequest + include Google::Apis::Core::Hashable + + # Optional. Default labels that are added to the labels field of all log entries + # in entries. If a log entry already has a label with the same key as a label in + # this parameter, then the log entry's label is not changed. See LogEntry. + # Corresponds to the JSON property `labels` + # @return [Hash] + attr_accessor :labels + + # An object representing a resource that can be used for monitoring, logging, + # billing, or other purposes. Examples include virtual machine instances, + # databases, and storage devices such as disks. The type field identifies a + # MonitoredResourceDescriptor object that describes the resource's schema. + # Information in the labels field identifies the actual resource and its + # attributes according to the schema. For example, a particular Compute Engine + # VM instance could be represented by the following object, because the + # MonitoredResourceDescriptor for "gce_instance" has labels "instance_id" and " + # zone": + # ` "type": "gce_instance", + # "labels": ` "instance_id": "12345678901234", + # "zone": "us-central1-a" `` + # Corresponds to the JSON property `resource` + # @return [Google::Apis::LoggingV2::MonitoredResource] + attr_accessor :resource + + # Optional. A default log resource name that is assigned to all log entries in + # entries that do not specify a value for log_name: + # "projects/[PROJECT_ID]/logs/[LOG_ID]" + # "organizations/[ORGANIZATION_ID]/logs/[LOG_ID]" + # "billingAccounts/[BILLING_ACCOUNT_ID]/logs/[LOG_ID]" + # "folders/[FOLDER_ID]/logs/[LOG_ID]" + # [LOG_ID] must be URL-encoded. For example, "projects/my-project-id/logs/syslog" + # or "organizations/1234567890/logs/cloudresourcemanager.googleapis.com% + # 2Factivity". For more information about log names, see LogEntry. + # Corresponds to the JSON property `logName` + # @return [String] + attr_accessor :log_name + + # Required. The log entries to write. Values supplied for the fields log_name, + # resource, and labels in this entries.write request are inserted into those log + # entries in this list that do not provide their own values.Stackdriver Logging + # also creates and inserts values for timestamp and insert_id if the entries do + # not provide them. The created insert_id for the N'th entry in this list will + # be greater than earlier entries and less than later entries. Otherwise, the + # order of log entries in this list does not matter.To improve throughput and to + # avoid exceeding the quota limit for calls to entries.write, you should write + # multiple log entries at once rather than calling this method for each + # individual log entry. + # Corresponds to the JSON property `entries` + # @return [Array] + attr_accessor :entries + + # Optional. Whether valid entries should be written even if some other entries + # fail due to INVALID_ARGUMENT or PERMISSION_DENIED errors. If any entry is not + # written, then the response status is the error associated with one of the + # failed entries and the response includes error details keyed by the entries' + # zero-based index in the entries.write method. + # Corresponds to the JSON property `partialSuccess` + # @return [Boolean] + attr_accessor :partial_success + alias_method :partial_success?, :partial_success + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @labels = args[:labels] if args.key?(:labels) + @resource = args[:resource] if args.key?(:resource) + @log_name = args[:log_name] if args.key?(:log_name) + @entries = args[:entries] if args.key?(:entries) + @partial_success = args[:partial_success] if args.key?(:partial_success) + end + end + + # Describes a sink used to export log entries to one of the following + # destinations in any project: a Cloud Storage bucket, a BigQuery dataset, or a + # Cloud Pub/Sub topic. A logs filter controls which log entries are exported. + # The sink must be created within a project, organization, billing account, or + # folder. + class LogSink + include Google::Apis::Core::Hashable + + # Required. The client-assigned sink identifier, unique within the project. + # Example: "my-syslog-errors-to-pubsub". Sink identifiers are limited to 100 + # characters and can include only the following characters: upper and lower-case + # alphanumeric characters, underscores, hyphens, and periods. + # Corresponds to the JSON property `name` + # @return [String] + attr_accessor :name + + # Optional. An advanced logs filter. The only exported log entries are those + # that are in the resource owning the sink and that match the filter. The filter + # must use the log entry format specified by the output_version_format parameter. + # For example, in the v2 format: + # logName="projects/[PROJECT_ID]/logs/[LOG_ID]" AND severity>=ERROR + # Corresponds to the JSON property `filter` + # @return [String] + attr_accessor :filter + + # Required. The export destination: + # "storage.googleapis.com/[GCS_BUCKET]" + # "bigquery.googleapis.com/projects/[PROJECT_ID]/datasets/[DATASET]" + # "pubsub.googleapis.com/projects/[PROJECT_ID]/topics/[TOPIC_ID]" + # The sink's writer_identity, set when the sink is created, must have permission + # to write to the destination or else the log entries are not exported. For more + # information, see Exporting Logs With Sinks. + # Corresponds to the JSON property `destination` + # @return [String] + attr_accessor :destination + + # Optional. The time at which this sink will stop exporting log entries. Log + # entries are exported only if their timestamp is earlier than the end time. If + # this field is not supplied, there is no end time. If both a start time and an + # end time are provided, then the end time must be later than the start time. + # Corresponds to the JSON property `endTime` + # @return [String] + attr_accessor :end_time + + # Optional. The time at which this sink will begin exporting log entries. Log + # entries are exported only if their timestamp is not earlier than the start + # time. The default value of this field is the time the sink is created or + # updated. + # Corresponds to the JSON property `startTime` + # @return [String] + attr_accessor :start_time + + # Output only. An IAM identity—a service account or group—under + # which Stackdriver Logging writes the exported log entries to the sink's + # destination. This field is set by sinks.create and sinks.update, based on the + # setting of unique_writer_identity in those methods.Until you grant this + # identity write-access to the destination, log entry exports from this sink + # will fail. For more information, see Granting access for a resource. Consult + # the destination service's documentation to determine the appropriate IAM roles + # to assign to the identity. + # Corresponds to the JSON property `writerIdentity` + # @return [String] + attr_accessor :writer_identity + + # Optional. The log entry format to use for this sink's exported log entries. + # The v2 format is used by default. The v1 format is deprecated and should be + # used only as part of a migration effort to v2. See Migration to the v2 API. + # Corresponds to the JSON property `outputVersionFormat` + # @return [String] + attr_accessor :output_version_format + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @name = args[:name] if args.key?(:name) + @filter = args[:filter] if args.key?(:filter) + @destination = args[:destination] if args.key?(:destination) + @end_time = args[:end_time] if args.key?(:end_time) + @start_time = args[:start_time] if args.key?(:start_time) + @writer_identity = args[:writer_identity] if args.key?(:writer_identity) + @output_version_format = args[:output_version_format] if args.key?(:output_version_format) + end + end + # Result returned from ListLogs. class ListLogsResponse include Google::Apis::Core::Hashable - # A list of log names. For example, "projects/my-project/syslog" or " - # organizations/123/cloudresourcemanager.googleapis.com%2Factivity". - # Corresponds to the JSON property `logNames` - # @return [Array] - attr_accessor :log_names - # If there might be more results than those appearing in this response, then # nextPageToken is included. To get the next set of results, call this method # again using the value of nextPageToken as pageToken. @@ -39,14 +238,132 @@ module Google # @return [String] attr_accessor :next_page_token + # A list of log names. For example, "projects/my-project/syslog" or " + # organizations/123/cloudresourcemanager.googleapis.com%2Factivity". + # Corresponds to the JSON property `logNames` + # @return [Array] + attr_accessor :log_names + def initialize(**args) update!(**args) end # Update properties of this object def update!(**args) - @log_names = args[:log_names] if args.key?(:log_names) @next_page_token = args[:next_page_token] if args.key?(:next_page_token) + @log_names = args[:log_names] if args.key?(:log_names) + end + end + + # A common proto for logging HTTP requests. Only contains semantics defined by + # the HTTP specification. Product-specific logging information MUST be defined + # in a separate message. + class HttpRequest + include Google::Apis::Core::Hashable + + # The user agent sent by the client. Example: "Mozilla/4.0 (compatible; MSIE 6.0; + # Windows 98; Q312461; .NET CLR 1.0.3705)". + # Corresponds to the JSON property `userAgent` + # @return [String] + attr_accessor :user_agent + + # The request processing latency on the server, from the time the request was + # received until the response was sent. + # Corresponds to the JSON property `latency` + # @return [String] + attr_accessor :latency + + # The number of HTTP response bytes inserted into cache. Set only when a cache + # fill was attempted. + # Corresponds to the JSON property `cacheFillBytes` + # @return [Fixnum] + attr_accessor :cache_fill_bytes + + # The request method. Examples: "GET", "HEAD", "PUT", "POST". + # Corresponds to the JSON property `requestMethod` + # @return [String] + attr_accessor :request_method + + # The size of the HTTP response message sent back to the client, in bytes, + # including the response headers and the response body. + # Corresponds to the JSON property `responseSize` + # @return [Fixnum] + attr_accessor :response_size + + # The size of the HTTP request message in bytes, including the request headers + # and the request body. + # Corresponds to the JSON property `requestSize` + # @return [Fixnum] + attr_accessor :request_size + + # The scheme (http, https), the host name, the path and the query portion of the + # URL that was requested. Example: "http://example.com/some/info?color=red". + # Corresponds to the JSON property `requestUrl` + # @return [String] + attr_accessor :request_url + + # The IP address (IPv4 or IPv6) of the origin server that the request was sent + # to. + # Corresponds to the JSON property `serverIp` + # @return [String] + attr_accessor :server_ip + + # The IP address (IPv4 or IPv6) of the client that issued the HTTP request. + # Examples: "192.168.1.1", "FE80::0202:B3FF:FE1E:8329". + # Corresponds to the JSON property `remoteIp` + # @return [String] + attr_accessor :remote_ip + + # Whether or not a cache lookup was attempted. + # Corresponds to the JSON property `cacheLookup` + # @return [Boolean] + attr_accessor :cache_lookup + alias_method :cache_lookup?, :cache_lookup + + # Whether or not an entity was served from cache (with or without validation). + # Corresponds to the JSON property `cacheHit` + # @return [Boolean] + attr_accessor :cache_hit + alias_method :cache_hit?, :cache_hit + + # Whether or not the response was validated with the origin server before being + # served from cache. This field is only meaningful if cache_hit is True. + # Corresponds to the JSON property `cacheValidatedWithOriginServer` + # @return [Boolean] + attr_accessor :cache_validated_with_origin_server + alias_method :cache_validated_with_origin_server?, :cache_validated_with_origin_server + + # The response code indicating the status of response. Examples: 200, 404. + # Corresponds to the JSON property `status` + # @return [Fixnum] + attr_accessor :status + + # The referer URL of the request, as defined in HTTP/1.1 Header Field + # Definitions (http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html). + # Corresponds to the JSON property `referer` + # @return [String] + attr_accessor :referer + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @user_agent = args[:user_agent] if args.key?(:user_agent) + @latency = args[:latency] if args.key?(:latency) + @cache_fill_bytes = args[:cache_fill_bytes] if args.key?(:cache_fill_bytes) + @request_method = args[:request_method] if args.key?(:request_method) + @response_size = args[:response_size] if args.key?(:response_size) + @request_size = args[:request_size] if args.key?(:request_size) + @request_url = args[:request_url] if args.key?(:request_url) + @server_ip = args[:server_ip] if args.key?(:server_ip) + @remote_ip = args[:remote_ip] if args.key?(:remote_ip) + @cache_lookup = args[:cache_lookup] if args.key?(:cache_lookup) + @cache_hit = args[:cache_hit] if args.key?(:cache_hit) + @cache_validated_with_origin_server = args[:cache_validated_with_origin_server] if args.key?(:cache_validated_with_origin_server) + @status = args[:status] if args.key?(:status) + @referer = args[:referer] if args.key?(:referer) end end @@ -77,118 +394,6 @@ module Google end end - # A common proto for logging HTTP requests. Only contains semantics defined by - # the HTTP specification. Product-specific logging information MUST be defined - # in a separate message. - class HttpRequest - include Google::Apis::Core::Hashable - - # Whether or not the response was validated with the origin server before being - # served from cache. This field is only meaningful if cache_hit is True. - # Corresponds to the JSON property `cacheValidatedWithOriginServer` - # @return [Boolean] - attr_accessor :cache_validated_with_origin_server - alias_method :cache_validated_with_origin_server?, :cache_validated_with_origin_server - - # The response code indicating the status of response. Examples: 200, 404. - # Corresponds to the JSON property `status` - # @return [Fixnum] - attr_accessor :status - - # The referer URL of the request, as defined in HTTP/1.1 Header Field - # Definitions (http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html). - # Corresponds to the JSON property `referer` - # @return [String] - attr_accessor :referer - - # The user agent sent by the client. Example: "Mozilla/4.0 (compatible; MSIE 6.0; - # Windows 98; Q312461; .NET CLR 1.0.3705)". - # Corresponds to the JSON property `userAgent` - # @return [String] - attr_accessor :user_agent - - # The request processing latency on the server, from the time the request was - # received until the response was sent. - # Corresponds to the JSON property `latency` - # @return [String] - attr_accessor :latency - - # The number of HTTP response bytes inserted into cache. Set only when a cache - # fill was attempted. - # Corresponds to the JSON property `cacheFillBytes` - # @return [String] - attr_accessor :cache_fill_bytes - - # The request method. Examples: "GET", "HEAD", "PUT", "POST". - # Corresponds to the JSON property `requestMethod` - # @return [String] - attr_accessor :request_method - - # The size of the HTTP response message sent back to the client, in bytes, - # including the response headers and the response body. - # Corresponds to the JSON property `responseSize` - # @return [String] - attr_accessor :response_size - - # The size of the HTTP request message in bytes, including the request headers - # and the request body. - # Corresponds to the JSON property `requestSize` - # @return [String] - attr_accessor :request_size - - # The scheme (http, https), the host name, the path and the query portion of the - # URL that was requested. Example: "http://example.com/some/info?color=red". - # Corresponds to the JSON property `requestUrl` - # @return [String] - attr_accessor :request_url - - # The IP address (IPv4 or IPv6) of the client that issued the HTTP request. - # Examples: "192.168.1.1", "FE80::0202:B3FF:FE1E:8329". - # Corresponds to the JSON property `remoteIp` - # @return [String] - attr_accessor :remote_ip - - # The IP address (IPv4 or IPv6) of the origin server that the request was sent - # to. - # Corresponds to the JSON property `serverIp` - # @return [String] - attr_accessor :server_ip - - # Whether or not a cache lookup was attempted. - # Corresponds to the JSON property `cacheLookup` - # @return [Boolean] - attr_accessor :cache_lookup - alias_method :cache_lookup?, :cache_lookup - - # Whether or not an entity was served from cache (with or without validation). - # Corresponds to the JSON property `cacheHit` - # @return [Boolean] - attr_accessor :cache_hit - alias_method :cache_hit?, :cache_hit - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @cache_validated_with_origin_server = args[:cache_validated_with_origin_server] if args.key?(:cache_validated_with_origin_server) - @status = args[:status] if args.key?(:status) - @referer = args[:referer] if args.key?(:referer) - @user_agent = args[:user_agent] if args.key?(:user_agent) - @latency = args[:latency] if args.key?(:latency) - @cache_fill_bytes = args[:cache_fill_bytes] if args.key?(:cache_fill_bytes) - @request_method = args[:request_method] if args.key?(:request_method) - @response_size = args[:response_size] if args.key?(:response_size) - @request_size = args[:request_size] if args.key?(:request_size) - @request_url = args[:request_url] if args.key?(:request_url) - @remote_ip = args[:remote_ip] if args.key?(:remote_ip) - @server_ip = args[:server_ip] if args.key?(:server_ip) - @cache_lookup = args[:cache_lookup] if args.key?(:cache_lookup) - @cache_hit = args[:cache_hit] if args.key?(:cache_hit) - end - end - # A description of a label. class LabelDescriptor include Google::Apis::Core::Hashable @@ -286,12 +491,6 @@ module Google class LogEntrySourceLocation include Google::Apis::Core::Hashable - # Optional. Source file name. Depending on the runtime environment, this might - # be a simple name or a fully-qualified name. - # Corresponds to the JSON property `file` - # @return [String] - attr_accessor :file - # Optional. Human-readable name of the function or method being invoked, with # optional context such as the class or package name. This information may be # used in contexts such as the logs viewer, where a file and line number are @@ -304,18 +503,24 @@ module Google # Optional. Line within the source file. 1-based; 0 indicates no line number # available. # Corresponds to the JSON property `line` - # @return [String] + # @return [Fixnum] attr_accessor :line + # Optional. Source file name. Depending on the runtime environment, this might + # be a simple name or a fully-qualified name. + # Corresponds to the JSON property `file` + # @return [String] + attr_accessor :file + def initialize(**args) update!(**args) end # Update properties of this object def update!(**args) - @file = args[:file] if args.key?(:file) @function = args[:function] if args.key?(:function) @line = args[:line] if args.key?(:line) + @file = args[:file] if args.key?(:file) end end @@ -356,6 +561,11 @@ module Google class LogLine include Google::Apis::Core::Hashable + # Approximate time when this log entry was made. + # Corresponds to the JSON property `time` + # @return [String] + attr_accessor :time + # Severity of this log entry. # Corresponds to the JSON property `severity` # @return [String] @@ -371,21 +581,16 @@ module Google # @return [Google::Apis::LoggingV2::SourceLocation] attr_accessor :source_location - # Approximate time when this log entry was made. - # Corresponds to the JSON property `time` - # @return [String] - attr_accessor :time - def initialize(**args) update!(**args) end # Update properties of this object def update!(**args) + @time = args[:time] if args.key?(:time) @severity = args[:severity] if args.key?(:severity) @log_message = args[:log_message] if args.key?(:log_message) @source_location = args[:source_location] if args.key?(:source_location) - @time = args[:time] if args.key?(:time) end end @@ -439,43 +644,6 @@ module Google class LogEntry include Google::Apis::Core::Hashable - # The log entry payload, represented as a Unicode string (UTF-8). - # Corresponds to the JSON property `textPayload` - # @return [String] - attr_accessor :text_payload - - # The log entry payload, represented as a protocol buffer. Some Google Cloud - # Platform services use this field for their log entry payloads. - # Corresponds to the JSON property `protoPayload` - # @return [Hash] - attr_accessor :proto_payload - - # Optional. Resource name of the trace associated with the log entry, if any. If - # it contains a relative resource name, the name is assumed to be relative to // - # tracing.googleapis.com. Example: projects/my-projectid/traces/ - # 06796866738c859f2f19b7cfb3214824 - # Corresponds to the JSON property `trace` - # @return [String] - attr_accessor :trace - - # Optional. A set of user-defined (key, value) data that provides additional - # information about the log entry. - # Corresponds to the JSON property `labels` - # @return [Hash] - attr_accessor :labels - - # Optional. The severity of the log entry. The default value is LogSeverity. - # DEFAULT. - # Corresponds to the JSON property `severity` - # @return [String] - attr_accessor :severity - - # Additional information about the source code location that produced the log - # entry. - # Corresponds to the JSON property `sourceLocation` - # @return [Google::Apis::LoggingV2::LogEntrySourceLocation] - attr_accessor :source_location - # Optional. The time the event described by the log entry occurred. If omitted # in a new log entry, Stackdriver Logging will insert the time the log entry is # received. Stackdriver Logging might reject log entries whose time stamps are @@ -503,13 +671,6 @@ module Google # @return [String] attr_accessor :log_name - # A common proto for logging HTTP requests. Only contains semantics defined by - # the HTTP specification. Product-specific logging information MUST be defined - # in a separate message. - # Corresponds to the JSON property `httpRequest` - # @return [Google::Apis::LoggingV2::HttpRequest] - attr_accessor :http_request - # An object representing a resource that can be used for monitoring, logging, # billing, or other purposes. Examples include virtual machine instances, # databases, and storage devices such as disks. The type field identifies a @@ -526,12 +687,25 @@ module Google # @return [Google::Apis::LoggingV2::MonitoredResource] attr_accessor :resource + # A common proto for logging HTTP requests. Only contains semantics defined by + # the HTTP specification. Product-specific logging information MUST be defined + # in a separate message. + # Corresponds to the JSON property `httpRequest` + # @return [Google::Apis::LoggingV2::HttpRequest] + attr_accessor :http_request + # The log entry payload, represented as a structure that is expressed as a JSON # object. # Corresponds to the JSON property `jsonPayload` # @return [Hash] attr_accessor :json_payload + # Additional information about a potentially long-running operation with which a + # log entry is associated. + # Corresponds to the JSON property `operation` + # @return [Google::Apis::LoggingV2::LogEntryOperation] + attr_accessor :operation + # Optional. A unique identifier for the log entry. If you provide a value, then # Stackdriver Logging considers other log entries in the same project, with the # same timestamp, and with the same insert_id to be duplicates which can be @@ -542,11 +716,42 @@ module Google # @return [String] attr_accessor :insert_id - # Additional information about a potentially long-running operation with which a - # log entry is associated. - # Corresponds to the JSON property `operation` - # @return [Google::Apis::LoggingV2::LogEntryOperation] - attr_accessor :operation + # The log entry payload, represented as a Unicode string (UTF-8). + # Corresponds to the JSON property `textPayload` + # @return [String] + attr_accessor :text_payload + + # The log entry payload, represented as a protocol buffer. Some Google Cloud + # Platform services use this field for their log entry payloads. + # Corresponds to the JSON property `protoPayload` + # @return [Hash] + attr_accessor :proto_payload + + # Optional. A set of user-defined (key, value) data that provides additional + # information about the log entry. + # Corresponds to the JSON property `labels` + # @return [Hash] + attr_accessor :labels + + # Optional. Resource name of the trace associated with the log entry, if any. If + # it contains a relative resource name, the name is assumed to be relative to // + # tracing.googleapis.com. Example: projects/my-projectid/traces/ + # 06796866738c859f2f19b7cfb3214824 + # Corresponds to the JSON property `trace` + # @return [String] + attr_accessor :trace + + # Optional. The severity of the log entry. The default value is LogSeverity. + # DEFAULT. + # Corresponds to the JSON property `severity` + # @return [String] + attr_accessor :severity + + # Additional information about the source code location that produced the log + # entry. + # Corresponds to the JSON property `sourceLocation` + # @return [Google::Apis::LoggingV2::LogEntrySourceLocation] + attr_accessor :source_location def initialize(**args) update!(**args) @@ -554,19 +759,19 @@ module Google # Update properties of this object def update!(**args) - @text_payload = args[:text_payload] if args.key?(:text_payload) - @proto_payload = args[:proto_payload] if args.key?(:proto_payload) - @trace = args[:trace] if args.key?(:trace) - @labels = args[:labels] if args.key?(:labels) - @severity = args[:severity] if args.key?(:severity) - @source_location = args[:source_location] if args.key?(:source_location) @timestamp = args[:timestamp] if args.key?(:timestamp) @log_name = args[:log_name] if args.key?(:log_name) - @http_request = args[:http_request] if args.key?(:http_request) @resource = args[:resource] if args.key?(:resource) + @http_request = args[:http_request] if args.key?(:http_request) @json_payload = args[:json_payload] if args.key?(:json_payload) - @insert_id = args[:insert_id] if args.key?(:insert_id) @operation = args[:operation] if args.key?(:operation) + @insert_id = args[:insert_id] if args.key?(:insert_id) + @text_payload = args[:text_payload] if args.key?(:text_payload) + @proto_payload = args[:proto_payload] if args.key?(:proto_payload) + @labels = args[:labels] if args.key?(:labels) + @trace = args[:trace] if args.key?(:trace) + @severity = args[:severity] if args.key?(:severity) + @source_location = args[:source_location] if args.key?(:source_location) end end @@ -574,12 +779,6 @@ module Google class SourceLocation include Google::Apis::Core::Hashable - # Source file name. Depending on the runtime environment, this might be a simple - # name or a fully-qualified name. - # Corresponds to the JSON property `file` - # @return [String] - attr_accessor :file - # Human-readable name of the function or method being invoked, with optional # context such as the class or package name. This information is used in # contexts such as the logs viewer, where a file and line number are less @@ -591,18 +790,24 @@ module Google # Line within the source file. # Corresponds to the JSON property `line` - # @return [String] + # @return [Fixnum] attr_accessor :line + # Source file name. Depending on the runtime environment, this might be a simple + # name or a fully-qualified name. + # Corresponds to the JSON property `file` + # @return [String] + attr_accessor :file + def initialize(**args) update!(**args) end # Update properties of this object def update!(**args) - @file = args[:file] if args.key?(:file) @function_name = args[:function_name] if args.key?(:function_name) @line = args[:line] if args.key?(:line) + @file = args[:file] if args.key?(:file) end end @@ -610,23 +815,6 @@ module Google class ListLogEntriesRequest include Google::Apis::Core::Hashable - # Deprecated. Use resource_names instead. One or more project identifiers or - # project numbers from which to retrieve log entries. Example: "my-project-1A". - # If present, these project identifiers are converted to resource name format - # and added to the list of resources in resource_names. - # Corresponds to the JSON property `projectIds` - # @return [Array] - attr_accessor :project_ids - - # Optional. A filter that chooses which log entries to return. See Advanced Logs - # Filters. Only log entries that match the filter are returned. An empty filter - # matches all log entries in the resources listed in resource_names. Referencing - # a parent resource that is not listed in resource_names will cause the filter - # to return no results. The maximum length of the filter is 20000 characters. - # Corresponds to the JSON property `filter` - # @return [String] - attr_accessor :filter - # Optional. If present, then retrieve the next batch of results from the # preceding call to this method. page_token must be the value of next_page_token # from the previous response. The values of other method parameters should be @@ -663,18 +851,35 @@ module Google # @return [Array] attr_accessor :resource_names + # Deprecated. Use resource_names instead. One or more project identifiers or + # project numbers from which to retrieve log entries. Example: "my-project-1A". + # If present, these project identifiers are converted to resource name format + # and added to the list of resources in resource_names. + # Corresponds to the JSON property `projectIds` + # @return [Array] + attr_accessor :project_ids + + # Optional. A filter that chooses which log entries to return. See Advanced Logs + # Filters. Only log entries that match the filter are returned. An empty filter + # matches all log entries in the resources listed in resource_names. Referencing + # a parent resource that is not listed in resource_names will cause the filter + # to return no results. The maximum length of the filter is 20000 characters. + # Corresponds to the JSON property `filter` + # @return [String] + attr_accessor :filter + def initialize(**args) update!(**args) end # Update properties of this object def update!(**args) - @project_ids = args[:project_ids] if args.key?(:project_ids) - @filter = args[:filter] if args.key?(:filter) @page_token = args[:page_token] if args.key?(:page_token) @page_size = args[:page_size] if args.key?(:page_size) @order_by = args[:order_by] if args.key?(:order_by) @resource_names = args[:resource_names] if args.key?(:resource_names) + @project_ids = args[:project_ids] if args.key?(:project_ids) + @filter = args[:filter] if args.key?(:filter) end end @@ -683,6 +888,11 @@ module Google class RequestLog include Google::Apis::Core::Hashable + # Version of the application that handled this request. + # Corresponds to the JSON property `versionId` + # @return [String] + attr_accessor :version_id + # Module of the application that handled this request. # Corresponds to the JSON property `moduleId` # @return [String] @@ -713,7 +923,7 @@ module Google # Size in bytes sent back to client by request. # Corresponds to the JSON property `responseSize` - # @return [String] + # @return [Fixnum] attr_accessor :response_size # Stackdriver Trace identifier for this request. @@ -786,17 +996,17 @@ module Google # @return [Fixnum] attr_accessor :instance_index - # Internet host and port number of the resource being requested. - # Corresponds to the JSON property `host` - # @return [String] - attr_accessor :host - # Whether this request is finished or active. # Corresponds to the JSON property `finished` # @return [Boolean] attr_accessor :finished alias_method :finished?, :finished + # Internet host and port number of the resource being requested. + # Corresponds to the JSON property `host` + # @return [String] + attr_accessor :host + # HTTP version of request. Example: "HTTP/1.1". # Corresponds to the JSON property `httpVersion` # @return [String] @@ -844,7 +1054,7 @@ module Google # Number of CPU megacycles used to process request. # Corresponds to the JSON property `megaCycles` - # @return [String] + # @return [Fixnum] attr_accessor :mega_cycles # Whether this is the first RequestLog entry for this request. If an active @@ -855,17 +1065,13 @@ module Google attr_accessor :first alias_method :first?, :first - # Version of the application that handled this request. - # Corresponds to the JSON property `versionId` - # @return [String] - attr_accessor :version_id - def initialize(**args) update!(**args) end # Update properties of this object def update!(**args) + @version_id = args[:version_id] if args.key?(:version_id) @module_id = args[:module_id] if args.key?(:module_id) @end_time = args[:end_time] if args.key?(:end_time) @user_agent = args[:user_agent] if args.key?(:user_agent) @@ -884,8 +1090,8 @@ module Google @task_name = args[:task_name] if args.key?(:task_name) @url_map_entry = args[:url_map_entry] if args.key?(:url_map_entry) @instance_index = args[:instance_index] if args.key?(:instance_index) - @host = args[:host] if args.key?(:host) @finished = args[:finished] if args.key?(:finished) + @host = args[:host] if args.key?(:host) @http_version = args[:http_version] if args.key?(:http_version) @start_time = args[:start_time] if args.key?(:start_time) @latency = args[:latency] if args.key?(:latency) @@ -897,7 +1103,6 @@ module Google @instance_id = args[:instance_id] if args.key?(:instance_id) @mega_cycles = args[:mega_cycles] if args.key?(:mega_cycles) @first = args[:first] if args.key?(:first) - @version_id = args[:version_id] if args.key?(:version_id) end end @@ -933,26 +1138,39 @@ module Google class SourceReference include Google::Apis::Core::Hashable - # Optional. A URI string identifying the repository. Example: "https://github. - # com/GoogleCloudPlatform/kubernetes.git" - # Corresponds to the JSON property `repository` - # @return [String] - attr_accessor :repository - # The canonical and persistent identifier of the deployed revision. Example (git) # : "0035781c50ec7aa23385dc841529ce8a4b70db1b" # Corresponds to the JSON property `revisionId` # @return [String] attr_accessor :revision_id + # Optional. A URI string identifying the repository. Example: "https://github. + # com/GoogleCloudPlatform/kubernetes.git" + # Corresponds to the JSON property `repository` + # @return [String] + attr_accessor :repository + def initialize(**args) update!(**args) end # Update properties of this object def update!(**args) - @repository = args[:repository] if args.key?(:repository) @revision_id = args[:revision_id] if args.key?(:revision_id) + @repository = args[:repository] if args.key?(:repository) + end + end + + # Result returned from WriteLogEntries. empty + class WriteLogEntriesResponse + include Google::Apis::Core::Hashable + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) end end @@ -961,20 +1179,6 @@ module Google class LogMetric include Google::Apis::Core::Hashable - # Output only. The API version that created or updated this metric. The version - # also dictates the syntax of the filter expression. When a value for this field - # is missing, the default value of V2 should be assumed. - # Corresponds to the JSON property `version` - # @return [String] - attr_accessor :version - - # Required. An advanced logs filter which is used to match log entries. Example: - # "resource.type=gae_app AND severity>=ERROR" - # The maximum length of the filter is 20000 characters. - # Corresponds to the JSON property `filter` - # @return [String] - attr_accessor :filter - # Required. The client-assigned metric identifier. Examples: "error_count", " # nginx/requests".Metric identifiers are limited to 100 characters and can # include only the following characters: A-Z, a-z, 0-9, and the special @@ -993,16 +1197,30 @@ module Google # @return [String] attr_accessor :description + # Output only. The API version that created or updated this metric. The version + # also dictates the syntax of the filter expression. When a value for this field + # is missing, the default value of V2 should be assumed. + # Corresponds to the JSON property `version` + # @return [String] + attr_accessor :version + + # Required. An advanced logs filter which is used to match log entries. Example: + # "resource.type=gae_app AND severity>=ERROR" + # The maximum length of the filter is 20000 characters. + # Corresponds to the JSON property `filter` + # @return [String] + attr_accessor :filter + def initialize(**args) update!(**args) end # Update properties of this object def update!(**args) - @version = args[:version] if args.key?(:version) - @filter = args[:filter] if args.key?(:filter) @name = args[:name] if args.key?(:name) @description = args[:description] if args.key?(:description) + @version = args[:version] if args.key?(:version) + @filter = args[:filter] if args.key?(:filter) end end @@ -1048,224 +1266,6 @@ module Google @first = args[:first] if args.key?(:first) end end - - # Result returned from WriteLogEntries. empty - class WriteLogEntriesResponse - include Google::Apis::Core::Hashable - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - end - end - - # An object representing a resource that can be used for monitoring, logging, - # billing, or other purposes. Examples include virtual machine instances, - # databases, and storage devices such as disks. The type field identifies a - # MonitoredResourceDescriptor object that describes the resource's schema. - # Information in the labels field identifies the actual resource and its - # attributes according to the schema. For example, a particular Compute Engine - # VM instance could be represented by the following object, because the - # MonitoredResourceDescriptor for "gce_instance" has labels "instance_id" and " - # zone": - # ` "type": "gce_instance", - # "labels": ` "instance_id": "12345678901234", - # "zone": "us-central1-a" `` - class MonitoredResource - include Google::Apis::Core::Hashable - - # Required. The monitored resource type. This field must match the type field of - # a MonitoredResourceDescriptor object. For example, the type of a Cloud SQL - # database is "cloudsql_database". - # Corresponds to the JSON property `type` - # @return [String] - attr_accessor :type - - # Required. Values for all of the labels listed in the associated monitored - # resource descriptor. For example, Cloud SQL databases use the labels " - # database_id" and "zone". - # Corresponds to the JSON property `labels` - # @return [Hash] - attr_accessor :labels - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @type = args[:type] if args.key?(:type) - @labels = args[:labels] if args.key?(:labels) - end - end - - # Describes a sink used to export log entries to one of the following - # destinations in any project: a Cloud Storage bucket, a BigQuery dataset, or a - # Cloud Pub/Sub topic. A logs filter controls which log entries are exported. - # The sink must be created within a project, organization, billing account, or - # folder. - class LogSink - include Google::Apis::Core::Hashable - - # Required. The client-assigned sink identifier, unique within the project. - # Example: "my-syslog-errors-to-pubsub". Sink identifiers are limited to 100 - # characters and can include only the following characters: upper and lower-case - # alphanumeric characters, underscores, hyphens, and periods. - # Corresponds to the JSON property `name` - # @return [String] - attr_accessor :name - - # Optional. An advanced logs filter. The only exported log entries are those - # that are in the resource owning the sink and that match the filter. The filter - # must use the log entry format specified by the output_version_format parameter. - # For example, in the v2 format: - # logName="projects/[PROJECT_ID]/logs/[LOG_ID]" AND severity>=ERROR - # Corresponds to the JSON property `filter` - # @return [String] - attr_accessor :filter - - # Required. The export destination: - # "storage.googleapis.com/[GCS_BUCKET]" - # "bigquery.googleapis.com/projects/[PROJECT_ID]/datasets/[DATASET]" - # "pubsub.googleapis.com/projects/[PROJECT_ID]/topics/[TOPIC_ID]" - # The sink's writer_identity, set when the sink is created, must have permission - # to write to the destination or else the log entries are not exported. For more - # information, see Exporting Logs With Sinks. - # Corresponds to the JSON property `destination` - # @return [String] - attr_accessor :destination - - # Optional. The time at which this sink will stop exporting log entries. Log - # entries are exported only if their timestamp is earlier than the end time. If - # this field is not supplied, there is no end time. If both a start time and an - # end time are provided, then the end time must be later than the start time. - # Corresponds to the JSON property `endTime` - # @return [String] - attr_accessor :end_time - - # Output only. An IAM identity—a service account or group—under - # which Stackdriver Logging writes the exported log entries to the sink's - # destination. This field is set by sinks.create and sinks.update, based on the - # setting of unique_writer_identity in those methods.Until you grant this - # identity write-access to the destination, log entry exports from this sink - # will fail. For more information, see Granting access for a resource. Consult - # the destination service's documentation to determine the appropriate IAM roles - # to assign to the identity. - # Corresponds to the JSON property `writerIdentity` - # @return [String] - attr_accessor :writer_identity - - # Optional. The time at which this sink will begin exporting log entries. Log - # entries are exported only if their timestamp is not earlier than the start - # time. The default value of this field is the time the sink is created or - # updated. - # Corresponds to the JSON property `startTime` - # @return [String] - attr_accessor :start_time - - # Optional. The log entry format to use for this sink's exported log entries. - # The v2 format is used by default. The v1 format is deprecated and should be - # used only as part of a migration effort to v2. See Migration to the v2 API. - # Corresponds to the JSON property `outputVersionFormat` - # @return [String] - attr_accessor :output_version_format - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @name = args[:name] if args.key?(:name) - @filter = args[:filter] if args.key?(:filter) - @destination = args[:destination] if args.key?(:destination) - @end_time = args[:end_time] if args.key?(:end_time) - @writer_identity = args[:writer_identity] if args.key?(:writer_identity) - @start_time = args[:start_time] if args.key?(:start_time) - @output_version_format = args[:output_version_format] if args.key?(:output_version_format) - end - end - - # The parameters to WriteLogEntries. - class WriteLogEntriesRequest - include Google::Apis::Core::Hashable - - # Optional. A default log resource name that is assigned to all log entries in - # entries that do not specify a value for log_name: - # "projects/[PROJECT_ID]/logs/[LOG_ID]" - # "organizations/[ORGANIZATION_ID]/logs/[LOG_ID]" - # "billingAccounts/[BILLING_ACCOUNT_ID]/logs/[LOG_ID]" - # "folders/[FOLDER_ID]/logs/[LOG_ID]" - # [LOG_ID] must be URL-encoded. For example, "projects/my-project-id/logs/syslog" - # or "organizations/1234567890/logs/cloudresourcemanager.googleapis.com% - # 2Factivity". For more information about log names, see LogEntry. - # Corresponds to the JSON property `logName` - # @return [String] - attr_accessor :log_name - - # Required. The log entries to write. Values supplied for the fields log_name, - # resource, and labels in this entries.write request are inserted into those log - # entries in this list that do not provide their own values.Stackdriver Logging - # also creates and inserts values for timestamp and insert_id if the entries do - # not provide them. The created insert_id for the N'th entry in this list will - # be greater than earlier entries and less than later entries. Otherwise, the - # order of log entries in this list does not matter.To improve throughput and to - # avoid exceeding the quota limit for calls to entries.write, you should write - # multiple log entries at once rather than calling this method for each - # individual log entry. - # Corresponds to the JSON property `entries` - # @return [Array] - attr_accessor :entries - - # Optional. Whether valid entries should be written even if some other entries - # fail due to INVALID_ARGUMENT or PERMISSION_DENIED errors. If any entry is not - # written, then the response status is the error associated with one of the - # failed entries and the response includes error details keyed by the entries' - # zero-based index in the entries.write method. - # Corresponds to the JSON property `partialSuccess` - # @return [Boolean] - attr_accessor :partial_success - alias_method :partial_success?, :partial_success - - # Optional. Default labels that are added to the labels field of all log entries - # in entries. If a log entry already has a label with the same key as a label in - # this parameter, then the log entry's label is not changed. See LogEntry. - # Corresponds to the JSON property `labels` - # @return [Hash] - attr_accessor :labels - - # An object representing a resource that can be used for monitoring, logging, - # billing, or other purposes. Examples include virtual machine instances, - # databases, and storage devices such as disks. The type field identifies a - # MonitoredResourceDescriptor object that describes the resource's schema. - # Information in the labels field identifies the actual resource and its - # attributes according to the schema. For example, a particular Compute Engine - # VM instance could be represented by the following object, because the - # MonitoredResourceDescriptor for "gce_instance" has labels "instance_id" and " - # zone": - # ` "type": "gce_instance", - # "labels": ` "instance_id": "12345678901234", - # "zone": "us-central1-a" `` - # Corresponds to the JSON property `resource` - # @return [Google::Apis::LoggingV2::MonitoredResource] - attr_accessor :resource - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @log_name = args[:log_name] if args.key?(:log_name) - @entries = args[:entries] if args.key?(:entries) - @partial_success = args[:partial_success] if args.key?(:partial_success) - @labels = args[:labels] if args.key?(:labels) - @resource = args[:resource] if args.key?(:resource) - end - end end end end diff --git a/generated/google/apis/logging_v2/representations.rb b/generated/google/apis/logging_v2/representations.rb index 3e497fb9e..b57ece3b5 100644 --- a/generated/google/apis/logging_v2/representations.rb +++ b/generated/google/apis/logging_v2/representations.rb @@ -22,19 +22,37 @@ module Google module Apis module LoggingV2 + class MonitoredResource + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class WriteLogEntriesRequest + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class LogSink + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + class ListLogsResponse class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end - class ListSinksResponse + class HttpRequest class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end - class HttpRequest + class ListSinksResponse class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport @@ -118,6 +136,12 @@ module Google include Google::Apis::Core::JsonObjectSupport end + class WriteLogEntriesResponse + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + class LogMetric class Representation < Google::Apis::Core::JsonRepresentation; end @@ -130,35 +154,65 @@ module Google include Google::Apis::Core::JsonObjectSupport end - class WriteLogEntriesResponse - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - class MonitoredResource - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class LogSink - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :type, as: 'type' + hash :labels, as: 'labels' + end end class WriteLogEntriesRequest - class Representation < Google::Apis::Core::JsonRepresentation; end + # @private + class Representation < Google::Apis::Core::JsonRepresentation + hash :labels, as: 'labels' + property :resource, as: 'resource', class: Google::Apis::LoggingV2::MonitoredResource, decorator: Google::Apis::LoggingV2::MonitoredResource::Representation - include Google::Apis::Core::JsonObjectSupport + property :log_name, as: 'logName' + collection :entries, as: 'entries', class: Google::Apis::LoggingV2::LogEntry, decorator: Google::Apis::LoggingV2::LogEntry::Representation + + property :partial_success, as: 'partialSuccess' + end + end + + class LogSink + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :name, as: 'name' + property :filter, as: 'filter' + property :destination, as: 'destination' + property :end_time, as: 'endTime' + property :start_time, as: 'startTime' + property :writer_identity, as: 'writerIdentity' + property :output_version_format, as: 'outputVersionFormat' + end end class ListLogsResponse # @private class Representation < Google::Apis::Core::JsonRepresentation - collection :log_names, as: 'logNames' property :next_page_token, as: 'nextPageToken' + collection :log_names, as: 'logNames' + end + end + + class HttpRequest + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :user_agent, as: 'userAgent' + property :latency, as: 'latency' + property :cache_fill_bytes, :numeric_string => true, as: 'cacheFillBytes' + property :request_method, as: 'requestMethod' + property :response_size, :numeric_string => true, as: 'responseSize' + property :request_size, :numeric_string => true, as: 'requestSize' + property :request_url, as: 'requestUrl' + property :server_ip, as: 'serverIp' + property :remote_ip, as: 'remoteIp' + property :cache_lookup, as: 'cacheLookup' + property :cache_hit, as: 'cacheHit' + property :cache_validated_with_origin_server, as: 'cacheValidatedWithOriginServer' + property :status, as: 'status' + property :referer, as: 'referer' end end @@ -171,26 +225,6 @@ module Google end end - class HttpRequest - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :cache_validated_with_origin_server, as: 'cacheValidatedWithOriginServer' - property :status, as: 'status' - property :referer, as: 'referer' - property :user_agent, as: 'userAgent' - property :latency, as: 'latency' - property :cache_fill_bytes, as: 'cacheFillBytes' - property :request_method, as: 'requestMethod' - property :response_size, as: 'responseSize' - property :request_size, as: 'requestSize' - property :request_url, as: 'requestUrl' - property :remote_ip, as: 'remoteIp' - property :server_ip, as: 'serverIp' - property :cache_lookup, as: 'cacheLookup' - property :cache_hit, as: 'cacheHit' - end - end - class LabelDescriptor # @private class Representation < Google::Apis::Core::JsonRepresentation @@ -215,9 +249,9 @@ module Google class LogEntrySourceLocation # @private class Representation < Google::Apis::Core::JsonRepresentation - property :file, as: 'file' property :function, as: 'function' - property :line, as: 'line' + property :line, :numeric_string => true, as: 'line' + property :file, as: 'file' end end @@ -233,11 +267,11 @@ module Google class LogLine # @private class Representation < Google::Apis::Core::JsonRepresentation + property :time, as: 'time' property :severity, as: 'severity' property :log_message, as: 'logMessage' property :source_location, as: 'sourceLocation', class: Google::Apis::LoggingV2::SourceLocation, decorator: Google::Apis::LoggingV2::SourceLocation::Representation - property :time, as: 'time' end end @@ -259,57 +293,58 @@ module Google class LogEntry # @private class Representation < Google::Apis::Core::JsonRepresentation - property :text_payload, as: 'textPayload' - hash :proto_payload, as: 'protoPayload' - property :trace, as: 'trace' - hash :labels, as: 'labels' - property :severity, as: 'severity' - property :source_location, as: 'sourceLocation', class: Google::Apis::LoggingV2::LogEntrySourceLocation, decorator: Google::Apis::LoggingV2::LogEntrySourceLocation::Representation - property :timestamp, as: 'timestamp' property :log_name, as: 'logName' - property :http_request, as: 'httpRequest', class: Google::Apis::LoggingV2::HttpRequest, decorator: Google::Apis::LoggingV2::HttpRequest::Representation - property :resource, as: 'resource', class: Google::Apis::LoggingV2::MonitoredResource, decorator: Google::Apis::LoggingV2::MonitoredResource::Representation + property :http_request, as: 'httpRequest', class: Google::Apis::LoggingV2::HttpRequest, decorator: Google::Apis::LoggingV2::HttpRequest::Representation + hash :json_payload, as: 'jsonPayload' - property :insert_id, as: 'insertId' property :operation, as: 'operation', class: Google::Apis::LoggingV2::LogEntryOperation, decorator: Google::Apis::LoggingV2::LogEntryOperation::Representation + property :insert_id, as: 'insertId' + property :text_payload, as: 'textPayload' + hash :proto_payload, as: 'protoPayload' + hash :labels, as: 'labels' + property :trace, as: 'trace' + property :severity, as: 'severity' + property :source_location, as: 'sourceLocation', class: Google::Apis::LoggingV2::LogEntrySourceLocation, decorator: Google::Apis::LoggingV2::LogEntrySourceLocation::Representation + end end class SourceLocation # @private class Representation < Google::Apis::Core::JsonRepresentation - property :file, as: 'file' property :function_name, as: 'functionName' - property :line, as: 'line' + property :line, :numeric_string => true, as: 'line' + property :file, as: 'file' end end class ListLogEntriesRequest # @private class Representation < Google::Apis::Core::JsonRepresentation - collection :project_ids, as: 'projectIds' - property :filter, as: 'filter' property :page_token, as: 'pageToken' property :page_size, as: 'pageSize' property :order_by, as: 'orderBy' collection :resource_names, as: 'resourceNames' + collection :project_ids, as: 'projectIds' + property :filter, as: 'filter' end end class RequestLog # @private class Representation < Google::Apis::Core::JsonRepresentation + property :version_id, as: 'versionId' property :module_id, as: 'moduleId' property :end_time, as: 'endTime' property :user_agent, as: 'userAgent' property :was_loading_request, as: 'wasLoadingRequest' collection :source_reference, as: 'sourceReference', class: Google::Apis::LoggingV2::SourceReference, decorator: Google::Apis::LoggingV2::SourceReference::Representation - property :response_size, as: 'responseSize' + property :response_size, :numeric_string => true, as: 'responseSize' property :trace_id, as: 'traceId' collection :line, as: 'line', class: Google::Apis::LoggingV2::LogLine, decorator: Google::Apis::LoggingV2::LogLine::Representation @@ -323,8 +358,8 @@ module Google property :task_name, as: 'taskName' property :url_map_entry, as: 'urlMapEntry' property :instance_index, as: 'instanceIndex' - property :host, as: 'host' property :finished, as: 'finished' + property :host, as: 'host' property :http_version, as: 'httpVersion' property :start_time, as: 'startTime' property :latency, as: 'latency' @@ -334,9 +369,8 @@ module Google property :method_prop, as: 'method' property :cost, as: 'cost' property :instance_id, as: 'instanceId' - property :mega_cycles, as: 'megaCycles' + property :mega_cycles, :numeric_string => true, as: 'megaCycles' property :first, as: 'first' - property :version_id, as: 'versionId' end end @@ -352,18 +386,24 @@ module Google class SourceReference # @private class Representation < Google::Apis::Core::JsonRepresentation - property :repository, as: 'repository' property :revision_id, as: 'revisionId' + property :repository, as: 'repository' + end + end + + class WriteLogEntriesResponse + # @private + class Representation < Google::Apis::Core::JsonRepresentation end end class LogMetric # @private class Representation < Google::Apis::Core::JsonRepresentation - property :version, as: 'version' - property :filter, as: 'filter' property :name, as: 'name' property :description, as: 'description' + property :version, as: 'version' + property :filter, as: 'filter' end end @@ -376,46 +416,6 @@ module Google property :first, as: 'first' end end - - class WriteLogEntriesResponse - # @private - class Representation < Google::Apis::Core::JsonRepresentation - end - end - - class MonitoredResource - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :type, as: 'type' - hash :labels, as: 'labels' - end - end - - class LogSink - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :name, as: 'name' - property :filter, as: 'filter' - property :destination, as: 'destination' - property :end_time, as: 'endTime' - property :writer_identity, as: 'writerIdentity' - property :start_time, as: 'startTime' - property :output_version_format, as: 'outputVersionFormat' - end - end - - class WriteLogEntriesRequest - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :log_name, as: 'logName' - collection :entries, as: 'entries', class: Google::Apis::LoggingV2::LogEntry, decorator: Google::Apis::LoggingV2::LogEntry::Representation - - property :partial_success, as: 'partialSuccess' - hash :labels, as: 'labels' - property :resource, as: 'resource', class: Google::Apis::LoggingV2::MonitoredResource, decorator: Google::Apis::LoggingV2::MonitoredResource::Representation - - end - end end end end diff --git a/generated/google/apis/logging_v2/service.rb b/generated/google/apis/logging_v2/service.rb index d664c6e0f..78cdf49af 100644 --- a/generated/google/apis/logging_v2/service.rb +++ b/generated/google/apis/logging_v2/service.rb @@ -44,12 +44,56 @@ module Google def initialize super('https://logging.googleapis.com/', '') + @batch_path = 'batch' end - # Lists logs-based metrics. + # Deletes all the log entries in a log. The log reappears if it receives new + # entries. Log entries written shortly before the delete operation might not be + # deleted. + # @param [String] log_name + # Required. The resource name of the log to delete: + # "projects/[PROJECT_ID]/logs/[LOG_ID]" + # "organizations/[ORGANIZATION_ID]/logs/[LOG_ID]" + # "billingAccounts/[BILLING_ACCOUNT_ID]/logs/[LOG_ID]" + # "folders/[FOLDER_ID]/logs/[LOG_ID]" + # [LOG_ID] must be URL-encoded. For example, "projects/my-project-id/logs/syslog" + # , "organizations/1234567890/logs/cloudresourcemanager.googleapis.com% + # 2Factivity". For more information about log names, see LogEntry. + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # Available to use for quota purposes for server-side applications. Can be any + # arbitrary string assigned to a user, but should not exceed 40 characters. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::LoggingV2::Empty] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::LoggingV2::Empty] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def delete_folder_log(log_name, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:delete, 'v2/{+logName}', options) + command.response_representation = Google::Apis::LoggingV2::Empty::Representation + command.response_class = Google::Apis::LoggingV2::Empty + command.params['logName'] = log_name unless log_name.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + execute_or_queue_command(command, &block) + end + + # Lists the logs in projects, organizations, folders, or billing accounts. Only + # logs that have entries are listed. # @param [String] parent - # Required. The name of the project containing the metrics: + # Required. The resource name that owns the logs: # "projects/[PROJECT_ID]" + # "organizations/[ORGANIZATION_ID]" + # "billingAccounts/[BILLING_ACCOUNT_ID]" + # "folders/[FOLDER_ID]" # @param [String] page_token # Optional. If present, then retrieve the next batch of results from the # preceding call to this method. pageToken must be the value of nextPageToken @@ -68,18 +112,18 @@ module Google # Request-specific options # # @yield [result, err] Result & error if block supplied - # @yieldparam result [Google::Apis::LoggingV2::ListLogMetricsResponse] parsed result object + # @yieldparam result [Google::Apis::LoggingV2::ListLogsResponse] parsed result object # @yieldparam err [StandardError] error object if request failed # - # @return [Google::Apis::LoggingV2::ListLogMetricsResponse] + # @return [Google::Apis::LoggingV2::ListLogsResponse] # # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required - def list_project_metrics(parent, page_token: nil, page_size: nil, fields: nil, quota_user: nil, options: nil, &block) - command = make_simple_command(:get, 'v2/{+parent}/metrics', options) - command.response_representation = Google::Apis::LoggingV2::ListLogMetricsResponse::Representation - command.response_class = Google::Apis::LoggingV2::ListLogMetricsResponse + def list_folder_logs(parent, page_token: nil, page_size: nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:get, 'v2/{+parent}/logs', options) + command.response_representation = Google::Apis::LoggingV2::ListLogsResponse::Representation + command.response_class = Google::Apis::LoggingV2::ListLogsResponse command.params['parent'] = parent unless parent.nil? command.query['pageToken'] = page_token unless page_token.nil? command.query['pageSize'] = page_size unless page_size.nil? @@ -88,113 +132,16 @@ module Google execute_or_queue_command(command, &block) end - # Gets a logs-based metric. - # @param [String] metric_name - # The resource name of the desired metric: - # "projects/[PROJECT_ID]/metrics/[METRIC_ID]" - # @param [String] fields - # Selector specifying which fields to include in a partial response. - # @param [String] quota_user - # Available to use for quota purposes for server-side applications. Can be any - # arbitrary string assigned to a user, but should not exceed 40 characters. - # @param [Google::Apis::RequestOptions] options - # Request-specific options - # - # @yield [result, err] Result & error if block supplied - # @yieldparam result [Google::Apis::LoggingV2::LogMetric] parsed result object - # @yieldparam err [StandardError] error object if request failed - # - # @return [Google::Apis::LoggingV2::LogMetric] - # - # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried - # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification - # @raise [Google::Apis::AuthorizationError] Authorization is required - def get_project_metric(metric_name, fields: nil, quota_user: nil, options: nil, &block) - command = make_simple_command(:get, 'v2/{+metricName}', options) - command.response_representation = Google::Apis::LoggingV2::LogMetric::Representation - command.response_class = Google::Apis::LoggingV2::LogMetric - command.params['metricName'] = metric_name unless metric_name.nil? - command.query['fields'] = fields unless fields.nil? - command.query['quotaUser'] = quota_user unless quota_user.nil? - execute_or_queue_command(command, &block) - end - - # Creates or updates a logs-based metric. - # @param [String] metric_name - # The resource name of the metric to update: - # "projects/[PROJECT_ID]/metrics/[METRIC_ID]" - # The updated metric must be provided in the request and it's name field must be - # the same as [METRIC_ID] If the metric does not exist in [PROJECT_ID], then a - # new metric is created. - # @param [Google::Apis::LoggingV2::LogMetric] log_metric_object - # @param [String] fields - # Selector specifying which fields to include in a partial response. - # @param [String] quota_user - # Available to use for quota purposes for server-side applications. Can be any - # arbitrary string assigned to a user, but should not exceed 40 characters. - # @param [Google::Apis::RequestOptions] options - # Request-specific options - # - # @yield [result, err] Result & error if block supplied - # @yieldparam result [Google::Apis::LoggingV2::LogMetric] parsed result object - # @yieldparam err [StandardError] error object if request failed - # - # @return [Google::Apis::LoggingV2::LogMetric] - # - # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried - # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification - # @raise [Google::Apis::AuthorizationError] Authorization is required - def update_project_metric(metric_name, log_metric_object = nil, fields: nil, quota_user: nil, options: nil, &block) - command = make_simple_command(:put, 'v2/{+metricName}', options) - command.request_representation = Google::Apis::LoggingV2::LogMetric::Representation - command.request_object = log_metric_object - command.response_representation = Google::Apis::LoggingV2::LogMetric::Representation - command.response_class = Google::Apis::LoggingV2::LogMetric - command.params['metricName'] = metric_name unless metric_name.nil? - command.query['fields'] = fields unless fields.nil? - command.query['quotaUser'] = quota_user unless quota_user.nil? - execute_or_queue_command(command, &block) - end - - # Creates a logs-based metric. - # @param [String] parent - # The resource name of the project in which to create the metric: - # "projects/[PROJECT_ID]" - # The new metric must be provided in the request. - # @param [Google::Apis::LoggingV2::LogMetric] log_metric_object - # @param [String] fields - # Selector specifying which fields to include in a partial response. - # @param [String] quota_user - # Available to use for quota purposes for server-side applications. Can be any - # arbitrary string assigned to a user, but should not exceed 40 characters. - # @param [Google::Apis::RequestOptions] options - # Request-specific options - # - # @yield [result, err] Result & error if block supplied - # @yieldparam result [Google::Apis::LoggingV2::LogMetric] parsed result object - # @yieldparam err [StandardError] error object if request failed - # - # @return [Google::Apis::LoggingV2::LogMetric] - # - # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried - # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification - # @raise [Google::Apis::AuthorizationError] Authorization is required - def create_project_metric(parent, log_metric_object = nil, fields: nil, quota_user: nil, options: nil, &block) - command = make_simple_command(:post, 'v2/{+parent}/metrics', options) - command.request_representation = Google::Apis::LoggingV2::LogMetric::Representation - command.request_object = log_metric_object - command.response_representation = Google::Apis::LoggingV2::LogMetric::Representation - command.response_class = Google::Apis::LoggingV2::LogMetric - command.params['parent'] = parent unless parent.nil? - command.query['fields'] = fields unless fields.nil? - command.query['quotaUser'] = quota_user unless quota_user.nil? - execute_or_queue_command(command, &block) - end - - # Deletes a logs-based metric. - # @param [String] metric_name - # The resource name of the metric to delete: - # "projects/[PROJECT_ID]/metrics/[METRIC_ID]" + # Deletes a sink. If the sink has a unique writer_identity, then that service + # account is also deleted. + # @param [String] sink_name + # Required. The full resource name of the sink to delete, including the parent + # resource and the sink identifier: + # "projects/[PROJECT_ID]/sinks/[SINK_ID]" + # "organizations/[ORGANIZATION_ID]/sinks/[SINK_ID]" + # "billingAccounts/[BILLING_ACCOUNT_ID]/sinks/[SINK_ID]" + # "folders/[FOLDER_ID]/sinks/[SINK_ID]" + # Example: "projects/my-project-id/sinks/my-sink-id". # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user @@ -212,11 +159,606 @@ module Google # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required - def delete_project_metric(metric_name, fields: nil, quota_user: nil, options: nil, &block) - command = make_simple_command(:delete, 'v2/{+metricName}', options) + def delete_folder_sink(sink_name, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:delete, 'v2/{+sinkName}', options) command.response_representation = Google::Apis::LoggingV2::Empty::Representation command.response_class = Google::Apis::LoggingV2::Empty - command.params['metricName'] = metric_name unless metric_name.nil? + command.params['sinkName'] = sink_name unless sink_name.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + execute_or_queue_command(command, &block) + end + + # Lists sinks. + # @param [String] parent + # Required. The parent resource whose sinks are to be listed: + # "projects/[PROJECT_ID]" + # "organizations/[ORGANIZATION_ID]" + # "billingAccounts/[BILLING_ACCOUNT_ID]" + # "folders/[FOLDER_ID]" + # @param [String] page_token + # Optional. If present, then retrieve the next batch of results from the + # preceding call to this method. pageToken must be the value of nextPageToken + # from the previous response. The values of other method parameters should be + # identical to those in the previous call. + # @param [Fixnum] page_size + # Optional. The maximum number of results to return from this request. Non- + # positive values are ignored. The presence of nextPageToken in the response + # indicates that more results might be available. + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # Available to use for quota purposes for server-side applications. Can be any + # arbitrary string assigned to a user, but should not exceed 40 characters. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::LoggingV2::ListSinksResponse] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::LoggingV2::ListSinksResponse] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def list_folder_sinks(parent, page_token: nil, page_size: nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:get, 'v2/{+parent}/sinks', options) + command.response_representation = Google::Apis::LoggingV2::ListSinksResponse::Representation + command.response_class = Google::Apis::LoggingV2::ListSinksResponse + command.params['parent'] = parent unless parent.nil? + command.query['pageToken'] = page_token unless page_token.nil? + command.query['pageSize'] = page_size unless page_size.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + execute_or_queue_command(command, &block) + end + + # Gets a sink. + # @param [String] sink_name + # Required. The resource name of the sink: + # "projects/[PROJECT_ID]/sinks/[SINK_ID]" + # "organizations/[ORGANIZATION_ID]/sinks/[SINK_ID]" + # "billingAccounts/[BILLING_ACCOUNT_ID]/sinks/[SINK_ID]" + # "folders/[FOLDER_ID]/sinks/[SINK_ID]" + # Example: "projects/my-project-id/sinks/my-sink-id". + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # Available to use for quota purposes for server-side applications. Can be any + # arbitrary string assigned to a user, but should not exceed 40 characters. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::LoggingV2::LogSink] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::LoggingV2::LogSink] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def get_folder_sink(sink_name, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:get, 'v2/{+sinkName}', options) + command.response_representation = Google::Apis::LoggingV2::LogSink::Representation + command.response_class = Google::Apis::LoggingV2::LogSink + command.params['sinkName'] = sink_name unless sink_name.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + execute_or_queue_command(command, &block) + end + + # Updates a sink. If the named sink doesn't exist, then this method is identical + # to sinks.create. If the named sink does exist, then this method replaces the + # following fields in the existing sink with values from the new sink: + # destination, filter, output_version_format, start_time, and end_time. The + # updated filter might also have a new writer_identity; see the + # unique_writer_identity field. + # @param [String] sink_name + # Required. The full resource name of the sink to update, including the parent + # resource and the sink identifier: + # "projects/[PROJECT_ID]/sinks/[SINK_ID]" + # "organizations/[ORGANIZATION_ID]/sinks/[SINK_ID]" + # "billingAccounts/[BILLING_ACCOUNT_ID]/sinks/[SINK_ID]" + # "folders/[FOLDER_ID]/sinks/[SINK_ID]" + # Example: "projects/my-project-id/sinks/my-sink-id". + # @param [Google::Apis::LoggingV2::LogSink] log_sink_object + # @param [Boolean] unique_writer_identity + # Optional. See sinks.create for a description of this field. When updating a + # sink, the effect of this field on the value of writer_identity in the updated + # sink depends on both the old and new values of this field: + # If the old and new values of this field are both false or both true, then + # there is no change to the sink's writer_identity. + # If the old value is false and the new value is true, then writer_identity is + # changed to a unique service account. + # It is an error if the old value is true and the new value is false. + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # Available to use for quota purposes for server-side applications. Can be any + # arbitrary string assigned to a user, but should not exceed 40 characters. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::LoggingV2::LogSink] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::LoggingV2::LogSink] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def update_folder_sink(sink_name, log_sink_object = nil, unique_writer_identity: nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:put, 'v2/{+sinkName}', options) + command.request_representation = Google::Apis::LoggingV2::LogSink::Representation + command.request_object = log_sink_object + command.response_representation = Google::Apis::LoggingV2::LogSink::Representation + command.response_class = Google::Apis::LoggingV2::LogSink + command.params['sinkName'] = sink_name unless sink_name.nil? + command.query['uniqueWriterIdentity'] = unique_writer_identity unless unique_writer_identity.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + execute_or_queue_command(command, &block) + end + + # Creates a sink that exports specified log entries to a destination. The export + # of newly-ingested log entries begins immediately, unless the current time is + # outside the sink's start and end times or the sink's writer_identity is not + # permitted to write to the destination. A sink can export log entries only from + # the resource owning the sink. + # @param [String] parent + # Required. The resource in which to create the sink: + # "projects/[PROJECT_ID]" + # "organizations/[ORGANIZATION_ID]" + # "billingAccounts/[BILLING_ACCOUNT_ID]" + # "folders/[FOLDER_ID]" + # Examples: "projects/my-logging-project", "organizations/123456789". + # @param [Google::Apis::LoggingV2::LogSink] log_sink_object + # @param [Boolean] unique_writer_identity + # Optional. Determines the kind of IAM identity returned as writer_identity in + # the new sink. If this value is omitted or set to false, and if the sink's + # parent is a project, then the value returned as writer_identity is the same + # group or service account used by Stackdriver Logging before the addition of + # writer identities to this API. The sink's destination must be in the same + # project as the sink itself.If this field is set to true, or if the sink is + # owned by a non-project resource such as an organization, then the value of + # writer_identity will be a unique service account used only for exports from + # the new sink. For more information, see writer_identity in LogSink. + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # Available to use for quota purposes for server-side applications. Can be any + # arbitrary string assigned to a user, but should not exceed 40 characters. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::LoggingV2::LogSink] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::LoggingV2::LogSink] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def create_folder_sink(parent, log_sink_object = nil, unique_writer_identity: nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:post, 'v2/{+parent}/sinks', options) + command.request_representation = Google::Apis::LoggingV2::LogSink::Representation + command.request_object = log_sink_object + command.response_representation = Google::Apis::LoggingV2::LogSink::Representation + command.response_class = Google::Apis::LoggingV2::LogSink + command.params['parent'] = parent unless parent.nil? + command.query['uniqueWriterIdentity'] = unique_writer_identity unless unique_writer_identity.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + execute_or_queue_command(command, &block) + end + + # Lists the descriptors for monitored resource types used by Stackdriver Logging. + # @param [String] page_token + # Optional. If present, then retrieve the next batch of results from the + # preceding call to this method. pageToken must be the value of nextPageToken + # from the previous response. The values of other method parameters should be + # identical to those in the previous call. + # @param [Fixnum] page_size + # Optional. The maximum number of results to return from this request. Non- + # positive values are ignored. The presence of nextPageToken in the response + # indicates that more results might be available. + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # Available to use for quota purposes for server-side applications. Can be any + # arbitrary string assigned to a user, but should not exceed 40 characters. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::LoggingV2::ListMonitoredResourceDescriptorsResponse] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::LoggingV2::ListMonitoredResourceDescriptorsResponse] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def list_monitored_resource_descriptors(page_token: nil, page_size: nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:get, 'v2/monitoredResourceDescriptors', options) + command.response_representation = Google::Apis::LoggingV2::ListMonitoredResourceDescriptorsResponse::Representation + command.response_class = Google::Apis::LoggingV2::ListMonitoredResourceDescriptorsResponse + command.query['pageToken'] = page_token unless page_token.nil? + command.query['pageSize'] = page_size unless page_size.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + execute_or_queue_command(command, &block) + end + + # Deletes all the log entries in a log. The log reappears if it receives new + # entries. Log entries written shortly before the delete operation might not be + # deleted. + # @param [String] log_name + # Required. The resource name of the log to delete: + # "projects/[PROJECT_ID]/logs/[LOG_ID]" + # "organizations/[ORGANIZATION_ID]/logs/[LOG_ID]" + # "billingAccounts/[BILLING_ACCOUNT_ID]/logs/[LOG_ID]" + # "folders/[FOLDER_ID]/logs/[LOG_ID]" + # [LOG_ID] must be URL-encoded. For example, "projects/my-project-id/logs/syslog" + # , "organizations/1234567890/logs/cloudresourcemanager.googleapis.com% + # 2Factivity". For more information about log names, see LogEntry. + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # Available to use for quota purposes for server-side applications. Can be any + # arbitrary string assigned to a user, but should not exceed 40 characters. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::LoggingV2::Empty] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::LoggingV2::Empty] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def delete_organization_log(log_name, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:delete, 'v2/{+logName}', options) + command.response_representation = Google::Apis::LoggingV2::Empty::Representation + command.response_class = Google::Apis::LoggingV2::Empty + command.params['logName'] = log_name unless log_name.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + execute_or_queue_command(command, &block) + end + + # Lists the logs in projects, organizations, folders, or billing accounts. Only + # logs that have entries are listed. + # @param [String] parent + # Required. The resource name that owns the logs: + # "projects/[PROJECT_ID]" + # "organizations/[ORGANIZATION_ID]" + # "billingAccounts/[BILLING_ACCOUNT_ID]" + # "folders/[FOLDER_ID]" + # @param [String] page_token + # Optional. If present, then retrieve the next batch of results from the + # preceding call to this method. pageToken must be the value of nextPageToken + # from the previous response. The values of other method parameters should be + # identical to those in the previous call. + # @param [Fixnum] page_size + # Optional. The maximum number of results to return from this request. Non- + # positive values are ignored. The presence of nextPageToken in the response + # indicates that more results might be available. + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # Available to use for quota purposes for server-side applications. Can be any + # arbitrary string assigned to a user, but should not exceed 40 characters. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::LoggingV2::ListLogsResponse] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::LoggingV2::ListLogsResponse] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def list_organization_logs(parent, page_token: nil, page_size: nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:get, 'v2/{+parent}/logs', options) + command.response_representation = Google::Apis::LoggingV2::ListLogsResponse::Representation + command.response_class = Google::Apis::LoggingV2::ListLogsResponse + command.params['parent'] = parent unless parent.nil? + command.query['pageToken'] = page_token unless page_token.nil? + command.query['pageSize'] = page_size unless page_size.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + execute_or_queue_command(command, &block) + end + + # Updates a sink. If the named sink doesn't exist, then this method is identical + # to sinks.create. If the named sink does exist, then this method replaces the + # following fields in the existing sink with values from the new sink: + # destination, filter, output_version_format, start_time, and end_time. The + # updated filter might also have a new writer_identity; see the + # unique_writer_identity field. + # @param [String] sink_name + # Required. The full resource name of the sink to update, including the parent + # resource and the sink identifier: + # "projects/[PROJECT_ID]/sinks/[SINK_ID]" + # "organizations/[ORGANIZATION_ID]/sinks/[SINK_ID]" + # "billingAccounts/[BILLING_ACCOUNT_ID]/sinks/[SINK_ID]" + # "folders/[FOLDER_ID]/sinks/[SINK_ID]" + # Example: "projects/my-project-id/sinks/my-sink-id". + # @param [Google::Apis::LoggingV2::LogSink] log_sink_object + # @param [Boolean] unique_writer_identity + # Optional. See sinks.create for a description of this field. When updating a + # sink, the effect of this field on the value of writer_identity in the updated + # sink depends on both the old and new values of this field: + # If the old and new values of this field are both false or both true, then + # there is no change to the sink's writer_identity. + # If the old value is false and the new value is true, then writer_identity is + # changed to a unique service account. + # It is an error if the old value is true and the new value is false. + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # Available to use for quota purposes for server-side applications. Can be any + # arbitrary string assigned to a user, but should not exceed 40 characters. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::LoggingV2::LogSink] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::LoggingV2::LogSink] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def update_organization_sink(sink_name, log_sink_object = nil, unique_writer_identity: nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:put, 'v2/{+sinkName}', options) + command.request_representation = Google::Apis::LoggingV2::LogSink::Representation + command.request_object = log_sink_object + command.response_representation = Google::Apis::LoggingV2::LogSink::Representation + command.response_class = Google::Apis::LoggingV2::LogSink + command.params['sinkName'] = sink_name unless sink_name.nil? + command.query['uniqueWriterIdentity'] = unique_writer_identity unless unique_writer_identity.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + execute_or_queue_command(command, &block) + end + + # Creates a sink that exports specified log entries to a destination. The export + # of newly-ingested log entries begins immediately, unless the current time is + # outside the sink's start and end times or the sink's writer_identity is not + # permitted to write to the destination. A sink can export log entries only from + # the resource owning the sink. + # @param [String] parent + # Required. The resource in which to create the sink: + # "projects/[PROJECT_ID]" + # "organizations/[ORGANIZATION_ID]" + # "billingAccounts/[BILLING_ACCOUNT_ID]" + # "folders/[FOLDER_ID]" + # Examples: "projects/my-logging-project", "organizations/123456789". + # @param [Google::Apis::LoggingV2::LogSink] log_sink_object + # @param [Boolean] unique_writer_identity + # Optional. Determines the kind of IAM identity returned as writer_identity in + # the new sink. If this value is omitted or set to false, and if the sink's + # parent is a project, then the value returned as writer_identity is the same + # group or service account used by Stackdriver Logging before the addition of + # writer identities to this API. The sink's destination must be in the same + # project as the sink itself.If this field is set to true, or if the sink is + # owned by a non-project resource such as an organization, then the value of + # writer_identity will be a unique service account used only for exports from + # the new sink. For more information, see writer_identity in LogSink. + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # Available to use for quota purposes for server-side applications. Can be any + # arbitrary string assigned to a user, but should not exceed 40 characters. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::LoggingV2::LogSink] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::LoggingV2::LogSink] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def create_organization_sink(parent, log_sink_object = nil, unique_writer_identity: nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:post, 'v2/{+parent}/sinks', options) + command.request_representation = Google::Apis::LoggingV2::LogSink::Representation + command.request_object = log_sink_object + command.response_representation = Google::Apis::LoggingV2::LogSink::Representation + command.response_class = Google::Apis::LoggingV2::LogSink + command.params['parent'] = parent unless parent.nil? + command.query['uniqueWriterIdentity'] = unique_writer_identity unless unique_writer_identity.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + execute_or_queue_command(command, &block) + end + + # Deletes a sink. If the sink has a unique writer_identity, then that service + # account is also deleted. + # @param [String] sink_name + # Required. The full resource name of the sink to delete, including the parent + # resource and the sink identifier: + # "projects/[PROJECT_ID]/sinks/[SINK_ID]" + # "organizations/[ORGANIZATION_ID]/sinks/[SINK_ID]" + # "billingAccounts/[BILLING_ACCOUNT_ID]/sinks/[SINK_ID]" + # "folders/[FOLDER_ID]/sinks/[SINK_ID]" + # Example: "projects/my-project-id/sinks/my-sink-id". + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # Available to use for quota purposes for server-side applications. Can be any + # arbitrary string assigned to a user, but should not exceed 40 characters. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::LoggingV2::Empty] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::LoggingV2::Empty] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def delete_organization_sink(sink_name, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:delete, 'v2/{+sinkName}', options) + command.response_representation = Google::Apis::LoggingV2::Empty::Representation + command.response_class = Google::Apis::LoggingV2::Empty + command.params['sinkName'] = sink_name unless sink_name.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + execute_or_queue_command(command, &block) + end + + # Lists sinks. + # @param [String] parent + # Required. The parent resource whose sinks are to be listed: + # "projects/[PROJECT_ID]" + # "organizations/[ORGANIZATION_ID]" + # "billingAccounts/[BILLING_ACCOUNT_ID]" + # "folders/[FOLDER_ID]" + # @param [Fixnum] page_size + # Optional. The maximum number of results to return from this request. Non- + # positive values are ignored. The presence of nextPageToken in the response + # indicates that more results might be available. + # @param [String] page_token + # Optional. If present, then retrieve the next batch of results from the + # preceding call to this method. pageToken must be the value of nextPageToken + # from the previous response. The values of other method parameters should be + # identical to those in the previous call. + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # Available to use for quota purposes for server-side applications. Can be any + # arbitrary string assigned to a user, but should not exceed 40 characters. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::LoggingV2::ListSinksResponse] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::LoggingV2::ListSinksResponse] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def list_organization_sinks(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:get, 'v2/{+parent}/sinks', options) + command.response_representation = Google::Apis::LoggingV2::ListSinksResponse::Representation + command.response_class = Google::Apis::LoggingV2::ListSinksResponse + command.params['parent'] = parent unless parent.nil? + command.query['pageSize'] = page_size unless page_size.nil? + command.query['pageToken'] = page_token unless page_token.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + execute_or_queue_command(command, &block) + end + + # Gets a sink. + # @param [String] sink_name + # Required. The resource name of the sink: + # "projects/[PROJECT_ID]/sinks/[SINK_ID]" + # "organizations/[ORGANIZATION_ID]/sinks/[SINK_ID]" + # "billingAccounts/[BILLING_ACCOUNT_ID]/sinks/[SINK_ID]" + # "folders/[FOLDER_ID]/sinks/[SINK_ID]" + # Example: "projects/my-project-id/sinks/my-sink-id". + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # Available to use for quota purposes for server-side applications. Can be any + # arbitrary string assigned to a user, but should not exceed 40 characters. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::LoggingV2::LogSink] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::LoggingV2::LogSink] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def get_organization_sink(sink_name, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:get, 'v2/{+sinkName}', options) + command.response_representation = Google::Apis::LoggingV2::LogSink::Representation + command.response_class = Google::Apis::LoggingV2::LogSink + command.params['sinkName'] = sink_name unless sink_name.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + execute_or_queue_command(command, &block) + end + + # Lists log entries. Use this method to retrieve log entries from Stackdriver + # Logging. For ways to export log entries, see Exporting Logs. + # @param [Google::Apis::LoggingV2::ListLogEntriesRequest] list_log_entries_request_object + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # Available to use for quota purposes for server-side applications. Can be any + # arbitrary string assigned to a user, but should not exceed 40 characters. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::LoggingV2::ListLogEntriesResponse] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::LoggingV2::ListLogEntriesResponse] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def list_entry_log_entries(list_log_entries_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:post, 'v2/entries:list', options) + command.request_representation = Google::Apis::LoggingV2::ListLogEntriesRequest::Representation + command.request_object = list_log_entries_request_object + command.response_representation = Google::Apis::LoggingV2::ListLogEntriesResponse::Representation + command.response_class = Google::Apis::LoggingV2::ListLogEntriesResponse + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + execute_or_queue_command(command, &block) + end + + # Writes log entries to Stackdriver Logging. + # @param [Google::Apis::LoggingV2::WriteLogEntriesRequest] write_log_entries_request_object + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # Available to use for quota purposes for server-side applications. Can be any + # arbitrary string assigned to a user, but should not exceed 40 characters. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::LoggingV2::WriteLogEntriesResponse] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::LoggingV2::WriteLogEntriesResponse] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def write_entry_log_entries(write_log_entries_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:post, 'v2/entries:write', options) + command.request_representation = Google::Apis::LoggingV2::WriteLogEntriesRequest::Representation + command.request_object = write_log_entries_request_object + command.response_representation = Google::Apis::LoggingV2::WriteLogEntriesResponse::Representation + command.response_class = Google::Apis::LoggingV2::WriteLogEntriesResponse command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) @@ -531,6 +1073,182 @@ module Google execute_or_queue_command(command, &block) end + # Deletes a logs-based metric. + # @param [String] metric_name + # The resource name of the metric to delete: + # "projects/[PROJECT_ID]/metrics/[METRIC_ID]" + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # Available to use for quota purposes for server-side applications. Can be any + # arbitrary string assigned to a user, but should not exceed 40 characters. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::LoggingV2::Empty] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::LoggingV2::Empty] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def delete_project_metric(metric_name, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:delete, 'v2/{+metricName}', options) + command.response_representation = Google::Apis::LoggingV2::Empty::Representation + command.response_class = Google::Apis::LoggingV2::Empty + command.params['metricName'] = metric_name unless metric_name.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + execute_or_queue_command(command, &block) + end + + # Lists logs-based metrics. + # @param [String] parent + # Required. The name of the project containing the metrics: + # "projects/[PROJECT_ID]" + # @param [String] page_token + # Optional. If present, then retrieve the next batch of results from the + # preceding call to this method. pageToken must be the value of nextPageToken + # from the previous response. The values of other method parameters should be + # identical to those in the previous call. + # @param [Fixnum] page_size + # Optional. The maximum number of results to return from this request. Non- + # positive values are ignored. The presence of nextPageToken in the response + # indicates that more results might be available. + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # Available to use for quota purposes for server-side applications. Can be any + # arbitrary string assigned to a user, but should not exceed 40 characters. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::LoggingV2::ListLogMetricsResponse] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::LoggingV2::ListLogMetricsResponse] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def list_project_metrics(parent, page_token: nil, page_size: nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:get, 'v2/{+parent}/metrics', options) + command.response_representation = Google::Apis::LoggingV2::ListLogMetricsResponse::Representation + command.response_class = Google::Apis::LoggingV2::ListLogMetricsResponse + command.params['parent'] = parent unless parent.nil? + command.query['pageToken'] = page_token unless page_token.nil? + command.query['pageSize'] = page_size unless page_size.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + execute_or_queue_command(command, &block) + end + + # Gets a logs-based metric. + # @param [String] metric_name + # The resource name of the desired metric: + # "projects/[PROJECT_ID]/metrics/[METRIC_ID]" + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # Available to use for quota purposes for server-side applications. Can be any + # arbitrary string assigned to a user, but should not exceed 40 characters. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::LoggingV2::LogMetric] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::LoggingV2::LogMetric] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def get_project_metric(metric_name, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:get, 'v2/{+metricName}', options) + command.response_representation = Google::Apis::LoggingV2::LogMetric::Representation + command.response_class = Google::Apis::LoggingV2::LogMetric + command.params['metricName'] = metric_name unless metric_name.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + execute_or_queue_command(command, &block) + end + + # Creates or updates a logs-based metric. + # @param [String] metric_name + # The resource name of the metric to update: + # "projects/[PROJECT_ID]/metrics/[METRIC_ID]" + # The updated metric must be provided in the request and it's name field must be + # the same as [METRIC_ID] If the metric does not exist in [PROJECT_ID], then a + # new metric is created. + # @param [Google::Apis::LoggingV2::LogMetric] log_metric_object + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # Available to use for quota purposes for server-side applications. Can be any + # arbitrary string assigned to a user, but should not exceed 40 characters. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::LoggingV2::LogMetric] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::LoggingV2::LogMetric] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def update_project_metric(metric_name, log_metric_object = nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:put, 'v2/{+metricName}', options) + command.request_representation = Google::Apis::LoggingV2::LogMetric::Representation + command.request_object = log_metric_object + command.response_representation = Google::Apis::LoggingV2::LogMetric::Representation + command.response_class = Google::Apis::LoggingV2::LogMetric + command.params['metricName'] = metric_name unless metric_name.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + execute_or_queue_command(command, &block) + end + + # Creates a logs-based metric. + # @param [String] parent + # The resource name of the project in which to create the metric: + # "projects/[PROJECT_ID]" + # The new metric must be provided in the request. + # @param [Google::Apis::LoggingV2::LogMetric] log_metric_object + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # Available to use for quota purposes for server-side applications. Can be any + # arbitrary string assigned to a user, but should not exceed 40 characters. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::LoggingV2::LogMetric] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::LoggingV2::LogMetric] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def create_project_metric(parent, log_metric_object = nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:post, 'v2/{+parent}/metrics', options) + command.request_representation = Google::Apis::LoggingV2::LogMetric::Representation + command.request_object = log_metric_object + command.response_representation = Google::Apis::LoggingV2::LogMetric::Representation + command.response_class = Google::Apis::LoggingV2::LogMetric + command.params['parent'] = parent unless parent.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + execute_or_queue_command(command, &block) + end + # Deletes all the log entries in a log. The log reappears if it receives new # entries. Log entries written shortly before the delete operation might not be # deleted. @@ -578,15 +1296,15 @@ module Google # "organizations/[ORGANIZATION_ID]" # "billingAccounts/[BILLING_ACCOUNT_ID]" # "folders/[FOLDER_ID]" + # @param [Fixnum] page_size + # Optional. The maximum number of results to return from this request. Non- + # positive values are ignored. The presence of nextPageToken in the response + # indicates that more results might be available. # @param [String] page_token # Optional. If present, then retrieve the next batch of results from the # preceding call to this method. pageToken must be the value of nextPageToken # from the previous response. The values of other method parameters should be # identical to those in the previous call. - # @param [Fixnum] page_size - # Optional. The maximum number of results to return from this request. Non- - # positive values are ignored. The presence of nextPageToken in the response - # indicates that more results might be available. # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user @@ -604,13 +1322,13 @@ module Google # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required - def list_billing_account_logs(parent, page_token: nil, page_size: nil, fields: nil, quota_user: nil, options: nil, &block) + def list_billing_account_logs(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v2/{+parent}/logs', options) command.response_representation = Google::Apis::LoggingV2::ListLogsResponse::Representation command.response_class = Google::Apis::LoggingV2::ListLogsResponse command.params['parent'] = parent unless parent.nil? - command.query['pageToken'] = page_token unless page_token.nil? command.query['pageSize'] = page_size unless page_size.nil? + command.query['pageToken'] = page_token unless page_token.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) @@ -839,723 +1557,6 @@ module Google command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end - - # Deletes all the log entries in a log. The log reappears if it receives new - # entries. Log entries written shortly before the delete operation might not be - # deleted. - # @param [String] log_name - # Required. The resource name of the log to delete: - # "projects/[PROJECT_ID]/logs/[LOG_ID]" - # "organizations/[ORGANIZATION_ID]/logs/[LOG_ID]" - # "billingAccounts/[BILLING_ACCOUNT_ID]/logs/[LOG_ID]" - # "folders/[FOLDER_ID]/logs/[LOG_ID]" - # [LOG_ID] must be URL-encoded. For example, "projects/my-project-id/logs/syslog" - # , "organizations/1234567890/logs/cloudresourcemanager.googleapis.com% - # 2Factivity". For more information about log names, see LogEntry. - # @param [String] fields - # Selector specifying which fields to include in a partial response. - # @param [String] quota_user - # Available to use for quota purposes for server-side applications. Can be any - # arbitrary string assigned to a user, but should not exceed 40 characters. - # @param [Google::Apis::RequestOptions] options - # Request-specific options - # - # @yield [result, err] Result & error if block supplied - # @yieldparam result [Google::Apis::LoggingV2::Empty] parsed result object - # @yieldparam err [StandardError] error object if request failed - # - # @return [Google::Apis::LoggingV2::Empty] - # - # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried - # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification - # @raise [Google::Apis::AuthorizationError] Authorization is required - def delete_folder_log(log_name, fields: nil, quota_user: nil, options: nil, &block) - command = make_simple_command(:delete, 'v2/{+logName}', options) - command.response_representation = Google::Apis::LoggingV2::Empty::Representation - command.response_class = Google::Apis::LoggingV2::Empty - command.params['logName'] = log_name unless log_name.nil? - command.query['fields'] = fields unless fields.nil? - command.query['quotaUser'] = quota_user unless quota_user.nil? - execute_or_queue_command(command, &block) - end - - # Lists the logs in projects, organizations, folders, or billing accounts. Only - # logs that have entries are listed. - # @param [String] parent - # Required. The resource name that owns the logs: - # "projects/[PROJECT_ID]" - # "organizations/[ORGANIZATION_ID]" - # "billingAccounts/[BILLING_ACCOUNT_ID]" - # "folders/[FOLDER_ID]" - # @param [String] page_token - # Optional. If present, then retrieve the next batch of results from the - # preceding call to this method. pageToken must be the value of nextPageToken - # from the previous response. The values of other method parameters should be - # identical to those in the previous call. - # @param [Fixnum] page_size - # Optional. The maximum number of results to return from this request. Non- - # positive values are ignored. The presence of nextPageToken in the response - # indicates that more results might be available. - # @param [String] fields - # Selector specifying which fields to include in a partial response. - # @param [String] quota_user - # Available to use for quota purposes for server-side applications. Can be any - # arbitrary string assigned to a user, but should not exceed 40 characters. - # @param [Google::Apis::RequestOptions] options - # Request-specific options - # - # @yield [result, err] Result & error if block supplied - # @yieldparam result [Google::Apis::LoggingV2::ListLogsResponse] parsed result object - # @yieldparam err [StandardError] error object if request failed - # - # @return [Google::Apis::LoggingV2::ListLogsResponse] - # - # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried - # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification - # @raise [Google::Apis::AuthorizationError] Authorization is required - def list_folder_logs(parent, page_token: nil, page_size: nil, fields: nil, quota_user: nil, options: nil, &block) - command = make_simple_command(:get, 'v2/{+parent}/logs', options) - command.response_representation = Google::Apis::LoggingV2::ListLogsResponse::Representation - command.response_class = Google::Apis::LoggingV2::ListLogsResponse - command.params['parent'] = parent unless parent.nil? - command.query['pageToken'] = page_token unless page_token.nil? - command.query['pageSize'] = page_size unless page_size.nil? - command.query['fields'] = fields unless fields.nil? - command.query['quotaUser'] = quota_user unless quota_user.nil? - execute_or_queue_command(command, &block) - end - - # Updates a sink. If the named sink doesn't exist, then this method is identical - # to sinks.create. If the named sink does exist, then this method replaces the - # following fields in the existing sink with values from the new sink: - # destination, filter, output_version_format, start_time, and end_time. The - # updated filter might also have a new writer_identity; see the - # unique_writer_identity field. - # @param [String] sink_name - # Required. The full resource name of the sink to update, including the parent - # resource and the sink identifier: - # "projects/[PROJECT_ID]/sinks/[SINK_ID]" - # "organizations/[ORGANIZATION_ID]/sinks/[SINK_ID]" - # "billingAccounts/[BILLING_ACCOUNT_ID]/sinks/[SINK_ID]" - # "folders/[FOLDER_ID]/sinks/[SINK_ID]" - # Example: "projects/my-project-id/sinks/my-sink-id". - # @param [Google::Apis::LoggingV2::LogSink] log_sink_object - # @param [Boolean] unique_writer_identity - # Optional. See sinks.create for a description of this field. When updating a - # sink, the effect of this field on the value of writer_identity in the updated - # sink depends on both the old and new values of this field: - # If the old and new values of this field are both false or both true, then - # there is no change to the sink's writer_identity. - # If the old value is false and the new value is true, then writer_identity is - # changed to a unique service account. - # It is an error if the old value is true and the new value is false. - # @param [String] fields - # Selector specifying which fields to include in a partial response. - # @param [String] quota_user - # Available to use for quota purposes for server-side applications. Can be any - # arbitrary string assigned to a user, but should not exceed 40 characters. - # @param [Google::Apis::RequestOptions] options - # Request-specific options - # - # @yield [result, err] Result & error if block supplied - # @yieldparam result [Google::Apis::LoggingV2::LogSink] parsed result object - # @yieldparam err [StandardError] error object if request failed - # - # @return [Google::Apis::LoggingV2::LogSink] - # - # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried - # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification - # @raise [Google::Apis::AuthorizationError] Authorization is required - def update_folder_sink(sink_name, log_sink_object = nil, unique_writer_identity: nil, fields: nil, quota_user: nil, options: nil, &block) - command = make_simple_command(:put, 'v2/{+sinkName}', options) - command.request_representation = Google::Apis::LoggingV2::LogSink::Representation - command.request_object = log_sink_object - command.response_representation = Google::Apis::LoggingV2::LogSink::Representation - command.response_class = Google::Apis::LoggingV2::LogSink - command.params['sinkName'] = sink_name unless sink_name.nil? - command.query['uniqueWriterIdentity'] = unique_writer_identity unless unique_writer_identity.nil? - command.query['fields'] = fields unless fields.nil? - command.query['quotaUser'] = quota_user unless quota_user.nil? - execute_or_queue_command(command, &block) - end - - # Creates a sink that exports specified log entries to a destination. The export - # of newly-ingested log entries begins immediately, unless the current time is - # outside the sink's start and end times or the sink's writer_identity is not - # permitted to write to the destination. A sink can export log entries only from - # the resource owning the sink. - # @param [String] parent - # Required. The resource in which to create the sink: - # "projects/[PROJECT_ID]" - # "organizations/[ORGANIZATION_ID]" - # "billingAccounts/[BILLING_ACCOUNT_ID]" - # "folders/[FOLDER_ID]" - # Examples: "projects/my-logging-project", "organizations/123456789". - # @param [Google::Apis::LoggingV2::LogSink] log_sink_object - # @param [Boolean] unique_writer_identity - # Optional. Determines the kind of IAM identity returned as writer_identity in - # the new sink. If this value is omitted or set to false, and if the sink's - # parent is a project, then the value returned as writer_identity is the same - # group or service account used by Stackdriver Logging before the addition of - # writer identities to this API. The sink's destination must be in the same - # project as the sink itself.If this field is set to true, or if the sink is - # owned by a non-project resource such as an organization, then the value of - # writer_identity will be a unique service account used only for exports from - # the new sink. For more information, see writer_identity in LogSink. - # @param [String] fields - # Selector specifying which fields to include in a partial response. - # @param [String] quota_user - # Available to use for quota purposes for server-side applications. Can be any - # arbitrary string assigned to a user, but should not exceed 40 characters. - # @param [Google::Apis::RequestOptions] options - # Request-specific options - # - # @yield [result, err] Result & error if block supplied - # @yieldparam result [Google::Apis::LoggingV2::LogSink] parsed result object - # @yieldparam err [StandardError] error object if request failed - # - # @return [Google::Apis::LoggingV2::LogSink] - # - # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried - # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification - # @raise [Google::Apis::AuthorizationError] Authorization is required - def create_folder_sink(parent, log_sink_object = nil, unique_writer_identity: nil, fields: nil, quota_user: nil, options: nil, &block) - command = make_simple_command(:post, 'v2/{+parent}/sinks', options) - command.request_representation = Google::Apis::LoggingV2::LogSink::Representation - command.request_object = log_sink_object - command.response_representation = Google::Apis::LoggingV2::LogSink::Representation - command.response_class = Google::Apis::LoggingV2::LogSink - command.params['parent'] = parent unless parent.nil? - command.query['uniqueWriterIdentity'] = unique_writer_identity unless unique_writer_identity.nil? - command.query['fields'] = fields unless fields.nil? - command.query['quotaUser'] = quota_user unless quota_user.nil? - execute_or_queue_command(command, &block) - end - - # Deletes a sink. If the sink has a unique writer_identity, then that service - # account is also deleted. - # @param [String] sink_name - # Required. The full resource name of the sink to delete, including the parent - # resource and the sink identifier: - # "projects/[PROJECT_ID]/sinks/[SINK_ID]" - # "organizations/[ORGANIZATION_ID]/sinks/[SINK_ID]" - # "billingAccounts/[BILLING_ACCOUNT_ID]/sinks/[SINK_ID]" - # "folders/[FOLDER_ID]/sinks/[SINK_ID]" - # Example: "projects/my-project-id/sinks/my-sink-id". - # @param [String] fields - # Selector specifying which fields to include in a partial response. - # @param [String] quota_user - # Available to use for quota purposes for server-side applications. Can be any - # arbitrary string assigned to a user, but should not exceed 40 characters. - # @param [Google::Apis::RequestOptions] options - # Request-specific options - # - # @yield [result, err] Result & error if block supplied - # @yieldparam result [Google::Apis::LoggingV2::Empty] parsed result object - # @yieldparam err [StandardError] error object if request failed - # - # @return [Google::Apis::LoggingV2::Empty] - # - # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried - # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification - # @raise [Google::Apis::AuthorizationError] Authorization is required - def delete_folder_sink(sink_name, fields: nil, quota_user: nil, options: nil, &block) - command = make_simple_command(:delete, 'v2/{+sinkName}', options) - command.response_representation = Google::Apis::LoggingV2::Empty::Representation - command.response_class = Google::Apis::LoggingV2::Empty - command.params['sinkName'] = sink_name unless sink_name.nil? - command.query['fields'] = fields unless fields.nil? - command.query['quotaUser'] = quota_user unless quota_user.nil? - execute_or_queue_command(command, &block) - end - - # Lists sinks. - # @param [String] parent - # Required. The parent resource whose sinks are to be listed: - # "projects/[PROJECT_ID]" - # "organizations/[ORGANIZATION_ID]" - # "billingAccounts/[BILLING_ACCOUNT_ID]" - # "folders/[FOLDER_ID]" - # @param [String] page_token - # Optional. If present, then retrieve the next batch of results from the - # preceding call to this method. pageToken must be the value of nextPageToken - # from the previous response. The values of other method parameters should be - # identical to those in the previous call. - # @param [Fixnum] page_size - # Optional. The maximum number of results to return from this request. Non- - # positive values are ignored. The presence of nextPageToken in the response - # indicates that more results might be available. - # @param [String] fields - # Selector specifying which fields to include in a partial response. - # @param [String] quota_user - # Available to use for quota purposes for server-side applications. Can be any - # arbitrary string assigned to a user, but should not exceed 40 characters. - # @param [Google::Apis::RequestOptions] options - # Request-specific options - # - # @yield [result, err] Result & error if block supplied - # @yieldparam result [Google::Apis::LoggingV2::ListSinksResponse] parsed result object - # @yieldparam err [StandardError] error object if request failed - # - # @return [Google::Apis::LoggingV2::ListSinksResponse] - # - # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried - # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification - # @raise [Google::Apis::AuthorizationError] Authorization is required - def list_folder_sinks(parent, page_token: nil, page_size: nil, fields: nil, quota_user: nil, options: nil, &block) - command = make_simple_command(:get, 'v2/{+parent}/sinks', options) - command.response_representation = Google::Apis::LoggingV2::ListSinksResponse::Representation - command.response_class = Google::Apis::LoggingV2::ListSinksResponse - command.params['parent'] = parent unless parent.nil? - command.query['pageToken'] = page_token unless page_token.nil? - command.query['pageSize'] = page_size unless page_size.nil? - command.query['fields'] = fields unless fields.nil? - command.query['quotaUser'] = quota_user unless quota_user.nil? - execute_or_queue_command(command, &block) - end - - # Gets a sink. - # @param [String] sink_name - # Required. The resource name of the sink: - # "projects/[PROJECT_ID]/sinks/[SINK_ID]" - # "organizations/[ORGANIZATION_ID]/sinks/[SINK_ID]" - # "billingAccounts/[BILLING_ACCOUNT_ID]/sinks/[SINK_ID]" - # "folders/[FOLDER_ID]/sinks/[SINK_ID]" - # Example: "projects/my-project-id/sinks/my-sink-id". - # @param [String] fields - # Selector specifying which fields to include in a partial response. - # @param [String] quota_user - # Available to use for quota purposes for server-side applications. Can be any - # arbitrary string assigned to a user, but should not exceed 40 characters. - # @param [Google::Apis::RequestOptions] options - # Request-specific options - # - # @yield [result, err] Result & error if block supplied - # @yieldparam result [Google::Apis::LoggingV2::LogSink] parsed result object - # @yieldparam err [StandardError] error object if request failed - # - # @return [Google::Apis::LoggingV2::LogSink] - # - # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried - # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification - # @raise [Google::Apis::AuthorizationError] Authorization is required - def get_folder_sink(sink_name, fields: nil, quota_user: nil, options: nil, &block) - command = make_simple_command(:get, 'v2/{+sinkName}', options) - command.response_representation = Google::Apis::LoggingV2::LogSink::Representation - command.response_class = Google::Apis::LoggingV2::LogSink - command.params['sinkName'] = sink_name unless sink_name.nil? - command.query['fields'] = fields unless fields.nil? - command.query['quotaUser'] = quota_user unless quota_user.nil? - execute_or_queue_command(command, &block) - end - - # Lists the descriptors for monitored resource types used by Stackdriver Logging. - # @param [String] page_token - # Optional. If present, then retrieve the next batch of results from the - # preceding call to this method. pageToken must be the value of nextPageToken - # from the previous response. The values of other method parameters should be - # identical to those in the previous call. - # @param [Fixnum] page_size - # Optional. The maximum number of results to return from this request. Non- - # positive values are ignored. The presence of nextPageToken in the response - # indicates that more results might be available. - # @param [String] fields - # Selector specifying which fields to include in a partial response. - # @param [String] quota_user - # Available to use for quota purposes for server-side applications. Can be any - # arbitrary string assigned to a user, but should not exceed 40 characters. - # @param [Google::Apis::RequestOptions] options - # Request-specific options - # - # @yield [result, err] Result & error if block supplied - # @yieldparam result [Google::Apis::LoggingV2::ListMonitoredResourceDescriptorsResponse] parsed result object - # @yieldparam err [StandardError] error object if request failed - # - # @return [Google::Apis::LoggingV2::ListMonitoredResourceDescriptorsResponse] - # - # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried - # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification - # @raise [Google::Apis::AuthorizationError] Authorization is required - def list_monitored_resource_descriptors(page_token: nil, page_size: nil, fields: nil, quota_user: nil, options: nil, &block) - command = make_simple_command(:get, 'v2/monitoredResourceDescriptors', options) - command.response_representation = Google::Apis::LoggingV2::ListMonitoredResourceDescriptorsResponse::Representation - command.response_class = Google::Apis::LoggingV2::ListMonitoredResourceDescriptorsResponse - command.query['pageToken'] = page_token unless page_token.nil? - command.query['pageSize'] = page_size unless page_size.nil? - command.query['fields'] = fields unless fields.nil? - command.query['quotaUser'] = quota_user unless quota_user.nil? - execute_or_queue_command(command, &block) - end - - # Deletes all the log entries in a log. The log reappears if it receives new - # entries. Log entries written shortly before the delete operation might not be - # deleted. - # @param [String] log_name - # Required. The resource name of the log to delete: - # "projects/[PROJECT_ID]/logs/[LOG_ID]" - # "organizations/[ORGANIZATION_ID]/logs/[LOG_ID]" - # "billingAccounts/[BILLING_ACCOUNT_ID]/logs/[LOG_ID]" - # "folders/[FOLDER_ID]/logs/[LOG_ID]" - # [LOG_ID] must be URL-encoded. For example, "projects/my-project-id/logs/syslog" - # , "organizations/1234567890/logs/cloudresourcemanager.googleapis.com% - # 2Factivity". For more information about log names, see LogEntry. - # @param [String] fields - # Selector specifying which fields to include in a partial response. - # @param [String] quota_user - # Available to use for quota purposes for server-side applications. Can be any - # arbitrary string assigned to a user, but should not exceed 40 characters. - # @param [Google::Apis::RequestOptions] options - # Request-specific options - # - # @yield [result, err] Result & error if block supplied - # @yieldparam result [Google::Apis::LoggingV2::Empty] parsed result object - # @yieldparam err [StandardError] error object if request failed - # - # @return [Google::Apis::LoggingV2::Empty] - # - # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried - # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification - # @raise [Google::Apis::AuthorizationError] Authorization is required - def delete_organization_log(log_name, fields: nil, quota_user: nil, options: nil, &block) - command = make_simple_command(:delete, 'v2/{+logName}', options) - command.response_representation = Google::Apis::LoggingV2::Empty::Representation - command.response_class = Google::Apis::LoggingV2::Empty - command.params['logName'] = log_name unless log_name.nil? - command.query['fields'] = fields unless fields.nil? - command.query['quotaUser'] = quota_user unless quota_user.nil? - execute_or_queue_command(command, &block) - end - - # Lists the logs in projects, organizations, folders, or billing accounts. Only - # logs that have entries are listed. - # @param [String] parent - # Required. The resource name that owns the logs: - # "projects/[PROJECT_ID]" - # "organizations/[ORGANIZATION_ID]" - # "billingAccounts/[BILLING_ACCOUNT_ID]" - # "folders/[FOLDER_ID]" - # @param [String] page_token - # Optional. If present, then retrieve the next batch of results from the - # preceding call to this method. pageToken must be the value of nextPageToken - # from the previous response. The values of other method parameters should be - # identical to those in the previous call. - # @param [Fixnum] page_size - # Optional. The maximum number of results to return from this request. Non- - # positive values are ignored. The presence of nextPageToken in the response - # indicates that more results might be available. - # @param [String] fields - # Selector specifying which fields to include in a partial response. - # @param [String] quota_user - # Available to use for quota purposes for server-side applications. Can be any - # arbitrary string assigned to a user, but should not exceed 40 characters. - # @param [Google::Apis::RequestOptions] options - # Request-specific options - # - # @yield [result, err] Result & error if block supplied - # @yieldparam result [Google::Apis::LoggingV2::ListLogsResponse] parsed result object - # @yieldparam err [StandardError] error object if request failed - # - # @return [Google::Apis::LoggingV2::ListLogsResponse] - # - # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried - # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification - # @raise [Google::Apis::AuthorizationError] Authorization is required - def list_organization_logs(parent, page_token: nil, page_size: nil, fields: nil, quota_user: nil, options: nil, &block) - command = make_simple_command(:get, 'v2/{+parent}/logs', options) - command.response_representation = Google::Apis::LoggingV2::ListLogsResponse::Representation - command.response_class = Google::Apis::LoggingV2::ListLogsResponse - command.params['parent'] = parent unless parent.nil? - command.query['pageToken'] = page_token unless page_token.nil? - command.query['pageSize'] = page_size unless page_size.nil? - command.query['fields'] = fields unless fields.nil? - command.query['quotaUser'] = quota_user unless quota_user.nil? - execute_or_queue_command(command, &block) - end - - # Deletes a sink. If the sink has a unique writer_identity, then that service - # account is also deleted. - # @param [String] sink_name - # Required. The full resource name of the sink to delete, including the parent - # resource and the sink identifier: - # "projects/[PROJECT_ID]/sinks/[SINK_ID]" - # "organizations/[ORGANIZATION_ID]/sinks/[SINK_ID]" - # "billingAccounts/[BILLING_ACCOUNT_ID]/sinks/[SINK_ID]" - # "folders/[FOLDER_ID]/sinks/[SINK_ID]" - # Example: "projects/my-project-id/sinks/my-sink-id". - # @param [String] fields - # Selector specifying which fields to include in a partial response. - # @param [String] quota_user - # Available to use for quota purposes for server-side applications. Can be any - # arbitrary string assigned to a user, but should not exceed 40 characters. - # @param [Google::Apis::RequestOptions] options - # Request-specific options - # - # @yield [result, err] Result & error if block supplied - # @yieldparam result [Google::Apis::LoggingV2::Empty] parsed result object - # @yieldparam err [StandardError] error object if request failed - # - # @return [Google::Apis::LoggingV2::Empty] - # - # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried - # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification - # @raise [Google::Apis::AuthorizationError] Authorization is required - def delete_organization_sink(sink_name, fields: nil, quota_user: nil, options: nil, &block) - command = make_simple_command(:delete, 'v2/{+sinkName}', options) - command.response_representation = Google::Apis::LoggingV2::Empty::Representation - command.response_class = Google::Apis::LoggingV2::Empty - command.params['sinkName'] = sink_name unless sink_name.nil? - command.query['fields'] = fields unless fields.nil? - command.query['quotaUser'] = quota_user unless quota_user.nil? - execute_or_queue_command(command, &block) - end - - # Lists sinks. - # @param [String] parent - # Required. The parent resource whose sinks are to be listed: - # "projects/[PROJECT_ID]" - # "organizations/[ORGANIZATION_ID]" - # "billingAccounts/[BILLING_ACCOUNT_ID]" - # "folders/[FOLDER_ID]" - # @param [String] page_token - # Optional. If present, then retrieve the next batch of results from the - # preceding call to this method. pageToken must be the value of nextPageToken - # from the previous response. The values of other method parameters should be - # identical to those in the previous call. - # @param [Fixnum] page_size - # Optional. The maximum number of results to return from this request. Non- - # positive values are ignored. The presence of nextPageToken in the response - # indicates that more results might be available. - # @param [String] fields - # Selector specifying which fields to include in a partial response. - # @param [String] quota_user - # Available to use for quota purposes for server-side applications. Can be any - # arbitrary string assigned to a user, but should not exceed 40 characters. - # @param [Google::Apis::RequestOptions] options - # Request-specific options - # - # @yield [result, err] Result & error if block supplied - # @yieldparam result [Google::Apis::LoggingV2::ListSinksResponse] parsed result object - # @yieldparam err [StandardError] error object if request failed - # - # @return [Google::Apis::LoggingV2::ListSinksResponse] - # - # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried - # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification - # @raise [Google::Apis::AuthorizationError] Authorization is required - def list_organization_sinks(parent, page_token: nil, page_size: nil, fields: nil, quota_user: nil, options: nil, &block) - command = make_simple_command(:get, 'v2/{+parent}/sinks', options) - command.response_representation = Google::Apis::LoggingV2::ListSinksResponse::Representation - command.response_class = Google::Apis::LoggingV2::ListSinksResponse - command.params['parent'] = parent unless parent.nil? - command.query['pageToken'] = page_token unless page_token.nil? - command.query['pageSize'] = page_size unless page_size.nil? - command.query['fields'] = fields unless fields.nil? - command.query['quotaUser'] = quota_user unless quota_user.nil? - execute_or_queue_command(command, &block) - end - - # Gets a sink. - # @param [String] sink_name - # Required. The resource name of the sink: - # "projects/[PROJECT_ID]/sinks/[SINK_ID]" - # "organizations/[ORGANIZATION_ID]/sinks/[SINK_ID]" - # "billingAccounts/[BILLING_ACCOUNT_ID]/sinks/[SINK_ID]" - # "folders/[FOLDER_ID]/sinks/[SINK_ID]" - # Example: "projects/my-project-id/sinks/my-sink-id". - # @param [String] fields - # Selector specifying which fields to include in a partial response. - # @param [String] quota_user - # Available to use for quota purposes for server-side applications. Can be any - # arbitrary string assigned to a user, but should not exceed 40 characters. - # @param [Google::Apis::RequestOptions] options - # Request-specific options - # - # @yield [result, err] Result & error if block supplied - # @yieldparam result [Google::Apis::LoggingV2::LogSink] parsed result object - # @yieldparam err [StandardError] error object if request failed - # - # @return [Google::Apis::LoggingV2::LogSink] - # - # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried - # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification - # @raise [Google::Apis::AuthorizationError] Authorization is required - def get_organization_sink(sink_name, fields: nil, quota_user: nil, options: nil, &block) - command = make_simple_command(:get, 'v2/{+sinkName}', options) - command.response_representation = Google::Apis::LoggingV2::LogSink::Representation - command.response_class = Google::Apis::LoggingV2::LogSink - command.params['sinkName'] = sink_name unless sink_name.nil? - command.query['fields'] = fields unless fields.nil? - command.query['quotaUser'] = quota_user unless quota_user.nil? - execute_or_queue_command(command, &block) - end - - # Updates a sink. If the named sink doesn't exist, then this method is identical - # to sinks.create. If the named sink does exist, then this method replaces the - # following fields in the existing sink with values from the new sink: - # destination, filter, output_version_format, start_time, and end_time. The - # updated filter might also have a new writer_identity; see the - # unique_writer_identity field. - # @param [String] sink_name - # Required. The full resource name of the sink to update, including the parent - # resource and the sink identifier: - # "projects/[PROJECT_ID]/sinks/[SINK_ID]" - # "organizations/[ORGANIZATION_ID]/sinks/[SINK_ID]" - # "billingAccounts/[BILLING_ACCOUNT_ID]/sinks/[SINK_ID]" - # "folders/[FOLDER_ID]/sinks/[SINK_ID]" - # Example: "projects/my-project-id/sinks/my-sink-id". - # @param [Google::Apis::LoggingV2::LogSink] log_sink_object - # @param [Boolean] unique_writer_identity - # Optional. See sinks.create for a description of this field. When updating a - # sink, the effect of this field on the value of writer_identity in the updated - # sink depends on both the old and new values of this field: - # If the old and new values of this field are both false or both true, then - # there is no change to the sink's writer_identity. - # If the old value is false and the new value is true, then writer_identity is - # changed to a unique service account. - # It is an error if the old value is true and the new value is false. - # @param [String] fields - # Selector specifying which fields to include in a partial response. - # @param [String] quota_user - # Available to use for quota purposes for server-side applications. Can be any - # arbitrary string assigned to a user, but should not exceed 40 characters. - # @param [Google::Apis::RequestOptions] options - # Request-specific options - # - # @yield [result, err] Result & error if block supplied - # @yieldparam result [Google::Apis::LoggingV2::LogSink] parsed result object - # @yieldparam err [StandardError] error object if request failed - # - # @return [Google::Apis::LoggingV2::LogSink] - # - # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried - # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification - # @raise [Google::Apis::AuthorizationError] Authorization is required - def update_organization_sink(sink_name, log_sink_object = nil, unique_writer_identity: nil, fields: nil, quota_user: nil, options: nil, &block) - command = make_simple_command(:put, 'v2/{+sinkName}', options) - command.request_representation = Google::Apis::LoggingV2::LogSink::Representation - command.request_object = log_sink_object - command.response_representation = Google::Apis::LoggingV2::LogSink::Representation - command.response_class = Google::Apis::LoggingV2::LogSink - command.params['sinkName'] = sink_name unless sink_name.nil? - command.query['uniqueWriterIdentity'] = unique_writer_identity unless unique_writer_identity.nil? - command.query['fields'] = fields unless fields.nil? - command.query['quotaUser'] = quota_user unless quota_user.nil? - execute_or_queue_command(command, &block) - end - - # Creates a sink that exports specified log entries to a destination. The export - # of newly-ingested log entries begins immediately, unless the current time is - # outside the sink's start and end times or the sink's writer_identity is not - # permitted to write to the destination. A sink can export log entries only from - # the resource owning the sink. - # @param [String] parent - # Required. The resource in which to create the sink: - # "projects/[PROJECT_ID]" - # "organizations/[ORGANIZATION_ID]" - # "billingAccounts/[BILLING_ACCOUNT_ID]" - # "folders/[FOLDER_ID]" - # Examples: "projects/my-logging-project", "organizations/123456789". - # @param [Google::Apis::LoggingV2::LogSink] log_sink_object - # @param [Boolean] unique_writer_identity - # Optional. Determines the kind of IAM identity returned as writer_identity in - # the new sink. If this value is omitted or set to false, and if the sink's - # parent is a project, then the value returned as writer_identity is the same - # group or service account used by Stackdriver Logging before the addition of - # writer identities to this API. The sink's destination must be in the same - # project as the sink itself.If this field is set to true, or if the sink is - # owned by a non-project resource such as an organization, then the value of - # writer_identity will be a unique service account used only for exports from - # the new sink. For more information, see writer_identity in LogSink. - # @param [String] fields - # Selector specifying which fields to include in a partial response. - # @param [String] quota_user - # Available to use for quota purposes for server-side applications. Can be any - # arbitrary string assigned to a user, but should not exceed 40 characters. - # @param [Google::Apis::RequestOptions] options - # Request-specific options - # - # @yield [result, err] Result & error if block supplied - # @yieldparam result [Google::Apis::LoggingV2::LogSink] parsed result object - # @yieldparam err [StandardError] error object if request failed - # - # @return [Google::Apis::LoggingV2::LogSink] - # - # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried - # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification - # @raise [Google::Apis::AuthorizationError] Authorization is required - def create_organization_sink(parent, log_sink_object = nil, unique_writer_identity: nil, fields: nil, quota_user: nil, options: nil, &block) - command = make_simple_command(:post, 'v2/{+parent}/sinks', options) - command.request_representation = Google::Apis::LoggingV2::LogSink::Representation - command.request_object = log_sink_object - command.response_representation = Google::Apis::LoggingV2::LogSink::Representation - command.response_class = Google::Apis::LoggingV2::LogSink - command.params['parent'] = parent unless parent.nil? - command.query['uniqueWriterIdentity'] = unique_writer_identity unless unique_writer_identity.nil? - command.query['fields'] = fields unless fields.nil? - command.query['quotaUser'] = quota_user unless quota_user.nil? - execute_or_queue_command(command, &block) - end - - # Lists log entries. Use this method to retrieve log entries from Stackdriver - # Logging. For ways to export log entries, see Exporting Logs. - # @param [Google::Apis::LoggingV2::ListLogEntriesRequest] list_log_entries_request_object - # @param [String] fields - # Selector specifying which fields to include in a partial response. - # @param [String] quota_user - # Available to use for quota purposes for server-side applications. Can be any - # arbitrary string assigned to a user, but should not exceed 40 characters. - # @param [Google::Apis::RequestOptions] options - # Request-specific options - # - # @yield [result, err] Result & error if block supplied - # @yieldparam result [Google::Apis::LoggingV2::ListLogEntriesResponse] parsed result object - # @yieldparam err [StandardError] error object if request failed - # - # @return [Google::Apis::LoggingV2::ListLogEntriesResponse] - # - # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried - # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification - # @raise [Google::Apis::AuthorizationError] Authorization is required - def list_entry_log_entries(list_log_entries_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) - command = make_simple_command(:post, 'v2/entries:list', options) - command.request_representation = Google::Apis::LoggingV2::ListLogEntriesRequest::Representation - command.request_object = list_log_entries_request_object - command.response_representation = Google::Apis::LoggingV2::ListLogEntriesResponse::Representation - command.response_class = Google::Apis::LoggingV2::ListLogEntriesResponse - command.query['fields'] = fields unless fields.nil? - command.query['quotaUser'] = quota_user unless quota_user.nil? - execute_or_queue_command(command, &block) - end - - # Writes log entries to Stackdriver Logging. - # @param [Google::Apis::LoggingV2::WriteLogEntriesRequest] write_log_entries_request_object - # @param [String] fields - # Selector specifying which fields to include in a partial response. - # @param [String] quota_user - # Available to use for quota purposes for server-side applications. Can be any - # arbitrary string assigned to a user, but should not exceed 40 characters. - # @param [Google::Apis::RequestOptions] options - # Request-specific options - # - # @yield [result, err] Result & error if block supplied - # @yieldparam result [Google::Apis::LoggingV2::WriteLogEntriesResponse] parsed result object - # @yieldparam err [StandardError] error object if request failed - # - # @return [Google::Apis::LoggingV2::WriteLogEntriesResponse] - # - # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried - # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification - # @raise [Google::Apis::AuthorizationError] Authorization is required - def write_entry_log_entries(write_log_entries_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) - command = make_simple_command(:post, 'v2/entries:write', options) - command.request_representation = Google::Apis::LoggingV2::WriteLogEntriesRequest::Representation - command.request_object = write_log_entries_request_object - command.response_representation = Google::Apis::LoggingV2::WriteLogEntriesResponse::Representation - command.response_class = Google::Apis::LoggingV2::WriteLogEntriesResponse - command.query['fields'] = fields unless fields.nil? - command.query['quotaUser'] = quota_user unless quota_user.nil? - execute_or_queue_command(command, &block) - end protected diff --git a/generated/google/apis/logging_v2beta1.rb b/generated/google/apis/logging_v2beta1.rb index 57afa6771..d965c218c 100644 --- a/generated/google/apis/logging_v2beta1.rb +++ b/generated/google/apis/logging_v2beta1.rb @@ -27,6 +27,9 @@ module Google VERSION = 'V2beta1' REVISION = '20170327' + # View and manage your data across Google Cloud Platform services + AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform' + # View your data across Google Cloud Platform services AUTH_CLOUD_PLATFORM_READ_ONLY = 'https://www.googleapis.com/auth/cloud-platform.read-only' @@ -38,9 +41,6 @@ module Google # Submit log data for your projects AUTH_LOGGING_WRITE = 'https://www.googleapis.com/auth/logging.write' - - # View and manage your data across Google Cloud Platform services - AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform' end end end diff --git a/generated/google/apis/logging_v2beta1/classes.rb b/generated/google/apis/logging_v2beta1/classes.rb index 71d091486..0a0a97b04 100644 --- a/generated/google/apis/logging_v2beta1/classes.rb +++ b/generated/google/apis/logging_v2beta1/classes.rb @@ -22,352 +22,11 @@ module Google module Apis module LoggingV2beta1 - # Application log line emitted while processing a request. - class LogLine - include Google::Apis::Core::Hashable - - # Severity of this log entry. - # Corresponds to the JSON property `severity` - # @return [String] - attr_accessor :severity - - # App-provided log message. - # Corresponds to the JSON property `logMessage` - # @return [String] - attr_accessor :log_message - - # Specifies a location in a source code file. - # Corresponds to the JSON property `sourceLocation` - # @return [Google::Apis::LoggingV2beta1::SourceLocation] - attr_accessor :source_location - - # Approximate time when this log entry was made. - # Corresponds to the JSON property `time` - # @return [String] - attr_accessor :time - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @severity = args[:severity] if args.key?(:severity) - @log_message = args[:log_message] if args.key?(:log_message) - @source_location = args[:source_location] if args.key?(:source_location) - @time = args[:time] if args.key?(:time) - end - end - - # Result returned from ListLogMetrics. - class ListLogMetricsResponse - include Google::Apis::Core::Hashable - - # A list of logs-based metrics. - # Corresponds to the JSON property `metrics` - # @return [Array] - attr_accessor :metrics - - # If there might be more results than appear in this response, then - # nextPageToken is included. To get the next set of results, call this method - # again using the value of nextPageToken as pageToken. - # Corresponds to the JSON property `nextPageToken` - # @return [String] - attr_accessor :next_page_token - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @metrics = args[:metrics] if args.key?(:metrics) - @next_page_token = args[:next_page_token] if args.key?(:next_page_token) - end - end - - # An individual entry in a log. - class LogEntry - include Google::Apis::Core::Hashable - - # Required. The resource name of the log to which this log entry belongs: - # "projects/[PROJECT_ID]/logs/[LOG_ID]" - # "organizations/[ORGANIZATION_ID]/logs/[LOG_ID]" - # "billingAccounts/[BILLING_ACCOUNT_ID]/logs/[LOG_ID]" - # "folders/[FOLDER_ID]/logs/[LOG_ID]" - # [LOG_ID] must be URL-encoded within log_name. Example: "organizations/ - # 1234567890/logs/cloudresourcemanager.googleapis.com%2Factivity". [LOG_ID] must - # be less than 512 characters long and can only include the following characters: - # upper and lower case alphanumeric characters, forward-slash, underscore, - # hyphen, and period.For backward compatibility, if log_name begins with a - # forward-slash, such as /projects/..., then the log entry is ingested as usual - # but the forward-slash is removed. Listing the log entry will not show the - # leading slash and filtering for a log name with a leading slash will never - # return any results. - # Corresponds to the JSON property `logName` - # @return [String] - attr_accessor :log_name - - # An object representing a resource that can be used for monitoring, logging, - # billing, or other purposes. Examples include virtual machine instances, - # databases, and storage devices such as disks. The type field identifies a - # MonitoredResourceDescriptor object that describes the resource's schema. - # Information in the labels field identifies the actual resource and its - # attributes according to the schema. For example, a particular Compute Engine - # VM instance could be represented by the following object, because the - # MonitoredResourceDescriptor for "gce_instance" has labels "instance_id" and " - # zone": - # ` "type": "gce_instance", - # "labels": ` "instance_id": "12345678901234", - # "zone": "us-central1-a" `` - # Corresponds to the JSON property `resource` - # @return [Google::Apis::LoggingV2beta1::MonitoredResource] - attr_accessor :resource - - # A common proto for logging HTTP requests. Only contains semantics defined by - # the HTTP specification. Product-specific logging information MUST be defined - # in a separate message. - # Corresponds to the JSON property `httpRequest` - # @return [Google::Apis::LoggingV2beta1::HttpRequest] - attr_accessor :http_request - - # The log entry payload, represented as a structure that is expressed as a JSON - # object. - # Corresponds to the JSON property `jsonPayload` - # @return [Hash] - attr_accessor :json_payload - - # Additional information about a potentially long-running operation with which a - # log entry is associated. - # Corresponds to the JSON property `operation` - # @return [Google::Apis::LoggingV2beta1::LogEntryOperation] - attr_accessor :operation - - # Optional. A unique identifier for the log entry. If you provide a value, then - # Stackdriver Logging considers other log entries in the same project, with the - # same timestamp, and with the same insert_id to be duplicates which can be - # removed. If omitted in new log entries, then Stackdriver Logging will insert - # its own unique identifier. The insert_id is used to order log entries that - # have the same timestamp value. - # Corresponds to the JSON property `insertId` - # @return [String] - attr_accessor :insert_id - - # The log entry payload, represented as a Unicode string (UTF-8). - # Corresponds to the JSON property `textPayload` - # @return [String] - attr_accessor :text_payload - - # The log entry payload, represented as a protocol buffer. Some Google Cloud - # Platform services use this field for their log entry payloads. - # Corresponds to the JSON property `protoPayload` - # @return [Hash] - attr_accessor :proto_payload - - # Optional. A set of user-defined (key, value) data that provides additional - # information about the log entry. - # Corresponds to the JSON property `labels` - # @return [Hash] - attr_accessor :labels - - # Optional. Resource name of the trace associated with the log entry, if any. If - # it contains a relative resource name, the name is assumed to be relative to // - # tracing.googleapis.com. Example: projects/my-projectid/traces/ - # 06796866738c859f2f19b7cfb3214824 - # Corresponds to the JSON property `trace` - # @return [String] - attr_accessor :trace - - # Optional. The severity of the log entry. The default value is LogSeverity. - # DEFAULT. - # Corresponds to the JSON property `severity` - # @return [String] - attr_accessor :severity - - # Additional information about the source code location that produced the log - # entry. - # Corresponds to the JSON property `sourceLocation` - # @return [Google::Apis::LoggingV2beta1::LogEntrySourceLocation] - attr_accessor :source_location - - # Optional. The time the event described by the log entry occurred. If omitted - # in a new log entry, Stackdriver Logging will insert the time the log entry is - # received. Stackdriver Logging might reject log entries whose time stamps are - # more than a couple of hours in the future. Log entries with time stamps in the - # past are accepted. - # Corresponds to the JSON property `timestamp` - # @return [String] - attr_accessor :timestamp - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @log_name = args[:log_name] if args.key?(:log_name) - @resource = args[:resource] if args.key?(:resource) - @http_request = args[:http_request] if args.key?(:http_request) - @json_payload = args[:json_payload] if args.key?(:json_payload) - @operation = args[:operation] if args.key?(:operation) - @insert_id = args[:insert_id] if args.key?(:insert_id) - @text_payload = args[:text_payload] if args.key?(:text_payload) - @proto_payload = args[:proto_payload] if args.key?(:proto_payload) - @labels = args[:labels] if args.key?(:labels) - @trace = args[:trace] if args.key?(:trace) - @severity = args[:severity] if args.key?(:severity) - @source_location = args[:source_location] if args.key?(:source_location) - @timestamp = args[:timestamp] if args.key?(:timestamp) - end - end - - # A generic empty message that you can re-use to avoid defining duplicated empty - # messages in your APIs. A typical example is to use it as the request or the - # response type of an API method. For instance: - # service Foo ` - # rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty); - # ` - # The JSON representation for Empty is empty JSON object ``. - class Empty - include Google::Apis::Core::Hashable - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - end - end - - # Specifies a location in a source code file. - class SourceLocation - include Google::Apis::Core::Hashable - - # Line within the source file. - # Corresponds to the JSON property `line` - # @return [String] - attr_accessor :line - - # Source file name. Depending on the runtime environment, this might be a simple - # name or a fully-qualified name. - # Corresponds to the JSON property `file` - # @return [String] - attr_accessor :file - - # Human-readable name of the function or method being invoked, with optional - # context such as the class or package name. This information is used in - # contexts such as the logs viewer, where a file and line number are less - # meaningful. The format can vary by language. For example: qual.if.ied.Class. - # method (Java), dir/package.func (Go), function (Python). - # Corresponds to the JSON property `functionName` - # @return [String] - attr_accessor :function_name - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @line = args[:line] if args.key?(:line) - @file = args[:file] if args.key?(:file) - @function_name = args[:function_name] if args.key?(:function_name) - end - end - - # The parameters to ListLogEntries. - class ListLogEntriesRequest - include Google::Apis::Core::Hashable - - # Optional. If present, then retrieve the next batch of results from the - # preceding call to this method. page_token must be the value of next_page_token - # from the previous response. The values of other method parameters should be - # identical to those in the previous call. - # Corresponds to the JSON property `pageToken` - # @return [String] - attr_accessor :page_token - - # Optional. The maximum number of results to return from this request. Non- - # positive values are ignored. The presence of next_page_token in the response - # indicates that more results might be available. - # Corresponds to the JSON property `pageSize` - # @return [Fixnum] - attr_accessor :page_size - - # Optional. How the results should be sorted. Presently, the only permitted - # values are "timestamp asc" (default) and "timestamp desc". The first option - # returns entries in order of increasing values of LogEntry.timestamp (oldest - # first), and the second option returns entries in order of decreasing - # timestamps (newest first). Entries with equal timestamps are returned in order - # of their insert_id values. - # Corresponds to the JSON property `orderBy` - # @return [String] - attr_accessor :order_by - - # Required. Names of one or more parent resources from which to retrieve log - # entries: - # "projects/[PROJECT_ID]" - # "organizations/[ORGANIZATION_ID]" - # "billingAccounts/[BILLING_ACCOUNT_ID]" - # "folders/[FOLDER_ID]" - # Projects listed in the project_ids field are added to this list. - # Corresponds to the JSON property `resourceNames` - # @return [Array] - attr_accessor :resource_names - - # Optional. A filter that chooses which log entries to return. See Advanced Logs - # Filters. Only log entries that match the filter are returned. An empty filter - # matches all log entries in the resources listed in resource_names. Referencing - # a parent resource that is not listed in resource_names will cause the filter - # to return no results. The maximum length of the filter is 20000 characters. - # Corresponds to the JSON property `filter` - # @return [String] - attr_accessor :filter - - # Deprecated. Use resource_names instead. One or more project identifiers or - # project numbers from which to retrieve log entries. Example: "my-project-1A". - # If present, these project identifiers are converted to resource name format - # and added to the list of resources in resource_names. - # Corresponds to the JSON property `projectIds` - # @return [Array] - attr_accessor :project_ids - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @page_token = args[:page_token] if args.key?(:page_token) - @page_size = args[:page_size] if args.key?(:page_size) - @order_by = args[:order_by] if args.key?(:order_by) - @resource_names = args[:resource_names] if args.key?(:resource_names) - @filter = args[:filter] if args.key?(:filter) - @project_ids = args[:project_ids] if args.key?(:project_ids) - end - end - # Complete log information about a single HTTP request to an App Engine # application. class RequestLog include Google::Apis::Core::Hashable - # A list of log lines emitted by the application while serving this request. - # Corresponds to the JSON property `line` - # @return [Array] - attr_accessor :line - - # Referrer URL of request. - # Corresponds to the JSON property `referrer` - # @return [String] - attr_accessor :referrer - - # Queue name of the request, in the case of an offline request. - # Corresponds to the JSON property `taskQueueName` - # @return [String] - attr_accessor :task_queue_name - # Globally unique identifier for a request, which is based on the request start # time. Request IDs for requests which started later will compare greater as # strings than those for requests which started earlier. @@ -418,17 +77,17 @@ module Google # @return [Fixnum] attr_accessor :instance_index - # Internet host and port number of the resource being requested. - # Corresponds to the JSON property `host` - # @return [String] - attr_accessor :host - # Whether this request is finished or active. # Corresponds to the JSON property `finished` # @return [Boolean] attr_accessor :finished alias_method :finished?, :finished + # Internet host and port number of the resource being requested. + # Corresponds to the JSON property `host` + # @return [String] + attr_accessor :host + # HTTP version of request. Example: "HTTP/1.1". # Corresponds to the JSON property `httpVersion` # @return [String] @@ -476,7 +135,7 @@ module Google # Number of CPU megacycles used to process request. # Corresponds to the JSON property `megaCycles` - # @return [String] + # @return [Fixnum] attr_accessor :mega_cycles # Whether this is the first RequestLog entry for this request. If an active @@ -522,7 +181,7 @@ module Google # Size in bytes sent back to client by request. # Corresponds to the JSON property `responseSize` - # @return [String] + # @return [Fixnum] attr_accessor :response_size # Stackdriver Trace identifier for this request. @@ -530,15 +189,27 @@ module Google # @return [String] attr_accessor :trace_id + # A list of log lines emitted by the application while serving this request. + # Corresponds to the JSON property `line` + # @return [Array] + attr_accessor :line + + # Referrer URL of request. + # Corresponds to the JSON property `referrer` + # @return [String] + attr_accessor :referrer + + # Queue name of the request, in the case of an offline request. + # Corresponds to the JSON property `taskQueueName` + # @return [String] + attr_accessor :task_queue_name + def initialize(**args) update!(**args) end # Update properties of this object def update!(**args) - @line = args[:line] if args.key?(:line) - @referrer = args[:referrer] if args.key?(:referrer) - @task_queue_name = args[:task_queue_name] if args.key?(:task_queue_name) @request_id = args[:request_id] if args.key?(:request_id) @nickname = args[:nickname] if args.key?(:nickname) @status = args[:status] if args.key?(:status) @@ -547,8 +218,8 @@ module Google @task_name = args[:task_name] if args.key?(:task_name) @url_map_entry = args[:url_map_entry] if args.key?(:url_map_entry) @instance_index = args[:instance_index] if args.key?(:instance_index) - @host = args[:host] if args.key?(:host) @finished = args[:finished] if args.key?(:finished) + @host = args[:host] if args.key?(:host) @http_version = args[:http_version] if args.key?(:http_version) @start_time = args[:start_time] if args.key?(:start_time) @latency = args[:latency] if args.key?(:latency) @@ -568,6 +239,9 @@ module Google @source_reference = args[:source_reference] if args.key?(:source_reference) @response_size = args[:response_size] if args.key?(:response_size) @trace_id = args[:trace_id] if args.key?(:trace_id) + @line = args[:line] if args.key?(:line) + @referrer = args[:referrer] if args.key?(:referrer) + @task_queue_name = args[:task_queue_name] if args.key?(:task_queue_name) end end @@ -575,11 +249,6 @@ module Google class ListMonitoredResourceDescriptorsResponse include Google::Apis::Core::Hashable - # A list of resource descriptors. - # Corresponds to the JSON property `resourceDescriptors` - # @return [Array] - attr_accessor :resource_descriptors - # If there might be more results than those appearing in this response, then # nextPageToken is included. To get the next set of results, call this method # again using the value of nextPageToken as pageToken. @@ -587,14 +256,19 @@ module Google # @return [String] attr_accessor :next_page_token + # A list of resource descriptors. + # Corresponds to the JSON property `resourceDescriptors` + # @return [Array] + attr_accessor :resource_descriptors + def initialize(**args) update!(**args) end # Update properties of this object def update!(**args) - @resource_descriptors = args[:resource_descriptors] if args.key?(:resource_descriptors) @next_page_token = args[:next_page_token] if args.key?(:next_page_token) + @resource_descriptors = args[:resource_descriptors] if args.key?(:resource_descriptors) end end @@ -603,69 +277,26 @@ module Google class SourceReference include Google::Apis::Core::Hashable - # Optional. A URI string identifying the repository. Example: "https://github. - # com/GoogleCloudPlatform/kubernetes.git" - # Corresponds to the JSON property `repository` - # @return [String] - attr_accessor :repository - # The canonical and persistent identifier of the deployed revision. Example (git) # : "0035781c50ec7aa23385dc841529ce8a4b70db1b" # Corresponds to the JSON property `revisionId` # @return [String] attr_accessor :revision_id + # Optional. A URI string identifying the repository. Example: "https://github. + # com/GoogleCloudPlatform/kubernetes.git" + # Corresponds to the JSON property `repository` + # @return [String] + attr_accessor :repository + def initialize(**args) update!(**args) end # Update properties of this object def update!(**args) - @repository = args[:repository] if args.key?(:repository) @revision_id = args[:revision_id] if args.key?(:revision_id) - end - end - - # Additional information about a potentially long-running operation with which a - # log entry is associated. - class LogEntryOperation - include Google::Apis::Core::Hashable - - # Optional. An arbitrary producer identifier. The combination of id and producer - # must be globally unique. Examples for producer: "MyDivision.MyBigCompany.com", - # "github.com/MyProject/MyApplication". - # Corresponds to the JSON property `producer` - # @return [String] - attr_accessor :producer - - # Optional. Set this to True if this is the first log entry in the operation. - # Corresponds to the JSON property `first` - # @return [Boolean] - attr_accessor :first - alias_method :first?, :first - - # Optional. Set this to True if this is the last log entry in the operation. - # Corresponds to the JSON property `last` - # @return [Boolean] - attr_accessor :last - alias_method :last?, :last - - # Optional. An arbitrary operation identifier. Log entries with the same - # identifier are assumed to be part of the same operation. - # Corresponds to the JSON property `id` - # @return [String] - attr_accessor :id - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @producer = args[:producer] if args.key?(:producer) - @first = args[:first] if args.key?(:first) - @last = args[:last] if args.key?(:last) - @id = args[:id] if args.key?(:id) + @repository = args[:repository] if args.key?(:repository) end end @@ -674,6 +305,20 @@ module Google class LogMetric include Google::Apis::Core::Hashable + # Output only. The API version that created or updated this metric. The version + # also dictates the syntax of the filter expression. When a value for this field + # is missing, the default value of V2 should be assumed. + # Corresponds to the JSON property `version` + # @return [String] + attr_accessor :version + + # Required. An advanced logs filter which is used to match log entries. Example: + # "resource.type=gae_app AND severity>=ERROR" + # The maximum length of the filter is 20000 characters. + # Corresponds to the JSON property `filter` + # @return [String] + attr_accessor :filter + # Required. The client-assigned metric identifier. Examples: "error_count", " # nginx/requests".Metric identifiers are limited to 100 characters and can # include only the following characters: A-Z, a-z, 0-9, and the special @@ -692,19 +337,48 @@ module Google # @return [String] attr_accessor :description - # Output only. The API version that created or updated this metric. The version - # also dictates the syntax of the filter expression. When a value for this field - # is missing, the default value of V2 should be assumed. - # Corresponds to the JSON property `version` - # @return [String] - attr_accessor :version + def initialize(**args) + update!(**args) + end - # Required. An advanced logs filter which is used to match log entries. Example: - # "resource.type=gae_app AND severity>=ERROR" - # The maximum length of the filter is 20000 characters. - # Corresponds to the JSON property `filter` + # Update properties of this object + def update!(**args) + @version = args[:version] if args.key?(:version) + @filter = args[:filter] if args.key?(:filter) + @name = args[:name] if args.key?(:name) + @description = args[:description] if args.key?(:description) + end + end + + # Additional information about a potentially long-running operation with which a + # log entry is associated. + class LogEntryOperation + include Google::Apis::Core::Hashable + + # Optional. Set this to True if this is the last log entry in the operation. + # Corresponds to the JSON property `last` + # @return [Boolean] + attr_accessor :last + alias_method :last?, :last + + # Optional. An arbitrary operation identifier. Log entries with the same + # identifier are assumed to be part of the same operation. + # Corresponds to the JSON property `id` # @return [String] - attr_accessor :filter + attr_accessor :id + + # Optional. An arbitrary producer identifier. The combination of id and producer + # must be globally unique. Examples for producer: "MyDivision.MyBigCompany.com", + # "github.com/MyProject/MyApplication". + # Corresponds to the JSON property `producer` + # @return [String] + attr_accessor :producer + + # Optional. Set this to True if this is the first log entry in the operation. + # Corresponds to the JSON property `first` + # @return [Boolean] + attr_accessor :first + alias_method :first?, :first def initialize(**args) update!(**args) @@ -712,10 +386,10 @@ module Google # Update properties of this object def update!(**args) - @name = args[:name] if args.key?(:name) - @description = args[:description] if args.key?(:description) - @version = args[:version] if args.key?(:version) - @filter = args[:filter] if args.key?(:filter) + @last = args[:last] if args.key?(:last) + @id = args[:id] if args.key?(:id) + @producer = args[:producer] if args.key?(:producer) + @first = args[:first] if args.key?(:first) end end @@ -776,29 +450,6 @@ module Google class WriteLogEntriesRequest include Google::Apis::Core::Hashable - # Optional. Default labels that are added to the labels field of all log entries - # in entries. If a log entry already has a label with the same key as a label in - # this parameter, then the log entry's label is not changed. See LogEntry. - # Corresponds to the JSON property `labels` - # @return [Hash] - attr_accessor :labels - - # An object representing a resource that can be used for monitoring, logging, - # billing, or other purposes. Examples include virtual machine instances, - # databases, and storage devices such as disks. The type field identifies a - # MonitoredResourceDescriptor object that describes the resource's schema. - # Information in the labels field identifies the actual resource and its - # attributes according to the schema. For example, a particular Compute Engine - # VM instance could be represented by the following object, because the - # MonitoredResourceDescriptor for "gce_instance" has labels "instance_id" and " - # zone": - # ` "type": "gce_instance", - # "labels": ` "instance_id": "12345678901234", - # "zone": "us-central1-a" `` - # Corresponds to the JSON property `resource` - # @return [Google::Apis::LoggingV2beta1::MonitoredResource] - attr_accessor :resource - # Optional. A default log resource name that is assigned to all log entries in # entries that do not specify a value for log_name: # "projects/[PROJECT_ID]/logs/[LOG_ID]" @@ -836,17 +487,40 @@ module Google attr_accessor :partial_success alias_method :partial_success?, :partial_success + # Optional. Default labels that are added to the labels field of all log entries + # in entries. If a log entry already has a label with the same key as a label in + # this parameter, then the log entry's label is not changed. See LogEntry. + # Corresponds to the JSON property `labels` + # @return [Hash] + attr_accessor :labels + + # An object representing a resource that can be used for monitoring, logging, + # billing, or other purposes. Examples include virtual machine instances, + # databases, and storage devices such as disks. The type field identifies a + # MonitoredResourceDescriptor object that describes the resource's schema. + # Information in the labels field identifies the actual resource and its + # attributes according to the schema. For example, a particular Compute Engine + # VM instance could be represented by the following object, because the + # MonitoredResourceDescriptor for "gce_instance" has labels "instance_id" and " + # zone": + # ` "type": "gce_instance", + # "labels": ` "instance_id": "12345678901234", + # "zone": "us-central1-a" `` + # Corresponds to the JSON property `resource` + # @return [Google::Apis::LoggingV2beta1::MonitoredResource] + attr_accessor :resource + def initialize(**args) update!(**args) end # Update properties of this object def update!(**args) - @labels = args[:labels] if args.key?(:labels) - @resource = args[:resource] if args.key?(:resource) @log_name = args[:log_name] if args.key?(:log_name) @entries = args[:entries] if args.key?(:entries) @partial_success = args[:partial_success] if args.key?(:partial_success) + @labels = args[:labels] if args.key?(:labels) + @resource = args[:resource] if args.key?(:resource) end end @@ -858,6 +532,14 @@ module Google class LogSink include Google::Apis::Core::Hashable + # Optional. The time at which this sink will begin exporting log entries. Log + # entries are exported only if their timestamp is not earlier than the start + # time. The default value of this field is the time the sink is created or + # updated. + # Corresponds to the JSON property `startTime` + # @return [String] + attr_accessor :start_time + # Output only. An IAM identity—a service account or group—under # which Stackdriver Logging writes the exported log entries to the sink's # destination. This field is set by sinks.create and sinks.update, based on the @@ -870,14 +552,6 @@ module Google # @return [String] attr_accessor :writer_identity - # Optional. The time at which this sink will begin exporting log entries. Log - # entries are exported only if their timestamp is not earlier than the start - # time. The default value of this field is the time the sink is created or - # updated. - # Corresponds to the JSON property `startTime` - # @return [String] - attr_accessor :start_time - # Optional. The log entry format to use for this sink's exported log entries. # The v2 format is used by default. The v1 format is deprecated and should be # used only as part of a migration effort to v2. See Migration to the v2 API. @@ -893,15 +567,6 @@ module Google # @return [String] attr_accessor :name - # Optional. An advanced logs filter. The only exported log entries are those - # that are in the resource owning the sink and that match the filter. The filter - # must use the log entry format specified by the output_version_format parameter. - # For example, in the v2 format: - # logName="projects/[PROJECT_ID]/logs/[LOG_ID]" AND severity>=ERROR - # Corresponds to the JSON property `filter` - # @return [String] - attr_accessor :filter - # Required. The export destination: # "storage.googleapis.com/[GCS_BUCKET]" # "bigquery.googleapis.com/projects/[PROJECT_ID]/datasets/[DATASET]" @@ -913,6 +578,15 @@ module Google # @return [String] attr_accessor :destination + # Optional. An advanced logs filter. The only exported log entries are those + # that are in the resource owning the sink and that match the filter. The filter + # must use the log entry format specified by the output_version_format parameter. + # For example, in the v2 format: + # logName="projects/[PROJECT_ID]/logs/[LOG_ID]" AND severity>=ERROR + # Corresponds to the JSON property `filter` + # @return [String] + attr_accessor :filter + # Optional. The time at which this sink will stop exporting log entries. Log # entries are exported only if their timestamp is earlier than the end time. If # this field is not supplied, there is no end time. If both a start time and an @@ -927,12 +601,12 @@ module Google # Update properties of this object def update!(**args) - @writer_identity = args[:writer_identity] if args.key?(:writer_identity) @start_time = args[:start_time] if args.key?(:start_time) + @writer_identity = args[:writer_identity] if args.key?(:writer_identity) @output_version_format = args[:output_version_format] if args.key?(:output_version_format) @name = args[:name] if args.key?(:name) - @filter = args[:filter] if args.key?(:filter) @destination = args[:destination] if args.key?(:destination) + @filter = args[:filter] if args.key?(:filter) @end_time = args[:end_time] if args.key?(:end_time) end end @@ -941,12 +615,6 @@ module Google class ListLogsResponse include Google::Apis::Core::Hashable - # A list of log names. For example, "projects/my-project/syslog" or " - # organizations/123/cloudresourcemanager.googleapis.com%2Factivity". - # Corresponds to the JSON property `logNames` - # @return [Array] - attr_accessor :log_names - # If there might be more results than those appearing in this response, then # nextPageToken is included. To get the next set of results, call this method # again using the value of nextPageToken as pageToken. @@ -954,14 +622,20 @@ module Google # @return [String] attr_accessor :next_page_token + # A list of log names. For example, "projects/my-project/syslog" or " + # organizations/123/cloudresourcemanager.googleapis.com%2Factivity". + # Corresponds to the JSON property `logNames` + # @return [Array] + attr_accessor :log_names + def initialize(**args) update!(**args) end # Update properties of this object def update!(**args) - @log_names = args[:log_names] if args.key?(:log_names) @next_page_token = args[:next_page_token] if args.key?(:next_page_token) + @log_names = args[:log_names] if args.key?(:log_names) end end @@ -971,6 +645,65 @@ module Google class HttpRequest include Google::Apis::Core::Hashable + # The user agent sent by the client. Example: "Mozilla/4.0 (compatible; MSIE 6.0; + # Windows 98; Q312461; .NET CLR 1.0.3705)". + # Corresponds to the JSON property `userAgent` + # @return [String] + attr_accessor :user_agent + + # The request processing latency on the server, from the time the request was + # received until the response was sent. + # Corresponds to the JSON property `latency` + # @return [String] + attr_accessor :latency + + # The number of HTTP response bytes inserted into cache. Set only when a cache + # fill was attempted. + # Corresponds to the JSON property `cacheFillBytes` + # @return [Fixnum] + attr_accessor :cache_fill_bytes + + # The request method. Examples: "GET", "HEAD", "PUT", "POST". + # Corresponds to the JSON property `requestMethod` + # @return [String] + attr_accessor :request_method + + # The size of the HTTP request message in bytes, including the request headers + # and the request body. + # Corresponds to the JSON property `requestSize` + # @return [Fixnum] + attr_accessor :request_size + + # The size of the HTTP response message sent back to the client, in bytes, + # including the response headers and the response body. + # Corresponds to the JSON property `responseSize` + # @return [Fixnum] + attr_accessor :response_size + + # The scheme (http, https), the host name, the path and the query portion of the + # URL that was requested. Example: "http://example.com/some/info?color=red". + # Corresponds to the JSON property `requestUrl` + # @return [String] + attr_accessor :request_url + + # The IP address (IPv4 or IPv6) of the origin server that the request was sent + # to. + # Corresponds to the JSON property `serverIp` + # @return [String] + attr_accessor :server_ip + + # The IP address (IPv4 or IPv6) of the client that issued the HTTP request. + # Examples: "192.168.1.1", "FE80::0202:B3FF:FE1E:8329". + # Corresponds to the JSON property `remoteIp` + # @return [String] + attr_accessor :remote_ip + + # Whether or not a cache lookup was attempted. + # Corresponds to the JSON property `cacheLookup` + # @return [Boolean] + attr_accessor :cache_lookup + alias_method :cache_lookup?, :cache_lookup + # Whether or not an entity was served from cache (with or without validation). # Corresponds to the JSON property `cacheHit` # @return [Boolean] @@ -995,85 +728,26 @@ module Google # @return [String] attr_accessor :referer - # The request processing latency on the server, from the time the request was - # received until the response was sent. - # Corresponds to the JSON property `latency` - # @return [String] - attr_accessor :latency - - # The user agent sent by the client. Example: "Mozilla/4.0 (compatible; MSIE 6.0; - # Windows 98; Q312461; .NET CLR 1.0.3705)". - # Corresponds to the JSON property `userAgent` - # @return [String] - attr_accessor :user_agent - - # The number of HTTP response bytes inserted into cache. Set only when a cache - # fill was attempted. - # Corresponds to the JSON property `cacheFillBytes` - # @return [String] - attr_accessor :cache_fill_bytes - - # The request method. Examples: "GET", "HEAD", "PUT", "POST". - # Corresponds to the JSON property `requestMethod` - # @return [String] - attr_accessor :request_method - - # The size of the HTTP request message in bytes, including the request headers - # and the request body. - # Corresponds to the JSON property `requestSize` - # @return [String] - attr_accessor :request_size - - # The size of the HTTP response message sent back to the client, in bytes, - # including the response headers and the response body. - # Corresponds to the JSON property `responseSize` - # @return [String] - attr_accessor :response_size - - # The scheme (http, https), the host name, the path and the query portion of the - # URL that was requested. Example: "http://example.com/some/info?color=red". - # Corresponds to the JSON property `requestUrl` - # @return [String] - attr_accessor :request_url - - # The IP address (IPv4 or IPv6) of the client that issued the HTTP request. - # Examples: "192.168.1.1", "FE80::0202:B3FF:FE1E:8329". - # Corresponds to the JSON property `remoteIp` - # @return [String] - attr_accessor :remote_ip - - # The IP address (IPv4 or IPv6) of the origin server that the request was sent - # to. - # Corresponds to the JSON property `serverIp` - # @return [String] - attr_accessor :server_ip - - # Whether or not a cache lookup was attempted. - # Corresponds to the JSON property `cacheLookup` - # @return [Boolean] - attr_accessor :cache_lookup - alias_method :cache_lookup?, :cache_lookup - def initialize(**args) update!(**args) end # Update properties of this object def update!(**args) - @cache_hit = args[:cache_hit] if args.key?(:cache_hit) - @cache_validated_with_origin_server = args[:cache_validated_with_origin_server] if args.key?(:cache_validated_with_origin_server) - @status = args[:status] if args.key?(:status) - @referer = args[:referer] if args.key?(:referer) - @latency = args[:latency] if args.key?(:latency) @user_agent = args[:user_agent] if args.key?(:user_agent) + @latency = args[:latency] if args.key?(:latency) @cache_fill_bytes = args[:cache_fill_bytes] if args.key?(:cache_fill_bytes) @request_method = args[:request_method] if args.key?(:request_method) @request_size = args[:request_size] if args.key?(:request_size) @response_size = args[:response_size] if args.key?(:response_size) @request_url = args[:request_url] if args.key?(:request_url) - @remote_ip = args[:remote_ip] if args.key?(:remote_ip) @server_ip = args[:server_ip] if args.key?(:server_ip) + @remote_ip = args[:remote_ip] if args.key?(:remote_ip) @cache_lookup = args[:cache_lookup] if args.key?(:cache_lookup) + @cache_hit = args[:cache_hit] if args.key?(:cache_hit) + @cache_validated_with_origin_server = args[:cache_validated_with_origin_server] if args.key?(:cache_validated_with_origin_server) + @status = args[:status] if args.key?(:status) + @referer = args[:referer] if args.key?(:referer) end end @@ -1108,6 +782,11 @@ module Google class LabelDescriptor include Google::Apis::Core::Hashable + # The label key. + # Corresponds to the JSON property `key` + # @return [String] + attr_accessor :key + # A human-readable description for the label. # Corresponds to the JSON property `description` # @return [String] @@ -1118,20 +797,15 @@ module Google # @return [String] attr_accessor :value_type - # The label key. - # Corresponds to the JSON property `key` - # @return [String] - attr_accessor :key - def initialize(**args) update!(**args) end # Update properties of this object def update!(**args) + @key = args[:key] if args.key?(:key) @description = args[:description] if args.key?(:description) @value_type = args[:value_type] if args.key?(:value_type) - @key = args[:key] if args.key?(:key) end end @@ -1145,6 +819,23 @@ module Google class MonitoredResourceDescriptor include Google::Apis::Core::Hashable + # Required. A set of labels used to describe instances of this monitored + # resource type. For example, an individual Google Cloud SQL database is + # identified by values for the labels "database_id" and "zone". + # Corresponds to the JSON property `labels` + # @return [Array] + attr_accessor :labels + + # Optional. The resource name of the monitored resource descriptor: "projects/` + # project_id`/monitoredResourceDescriptors/`type`" where `type` is the value of + # the type field in this object and `project_id` is a project ID that provides + # API-specific context for accessing the type. APIs that do not use project + # information can use the resource name format "monitoredResourceDescriptors/` + # type`". + # Corresponds to the JSON property `name` + # @return [String] + attr_accessor :name + # Optional. A concise name for the monitored resource type that might be # displayed in user interfaces. It should be a Title Cased Noun Phrase, without # any article or other determiners. For example, "Google Cloud SQL Database". @@ -1165,34 +856,17 @@ module Google # @return [String] attr_accessor :type - # Required. A set of labels used to describe instances of this monitored - # resource type. For example, an individual Google Cloud SQL database is - # identified by values for the labels "database_id" and "zone". - # Corresponds to the JSON property `labels` - # @return [Array] - attr_accessor :labels - - # Optional. The resource name of the monitored resource descriptor: "projects/` - # project_id`/monitoredResourceDescriptors/`type`" where `type` is the value of - # the type field in this object and `project_id` is a project ID that provides - # API-specific context for accessing the type. APIs that do not use project - # information can use the resource name format "monitoredResourceDescriptors/` - # type`". - # Corresponds to the JSON property `name` - # @return [String] - attr_accessor :name - def initialize(**args) update!(**args) end # Update properties of this object def update!(**args) + @labels = args[:labels] if args.key?(:labels) + @name = args[:name] if args.key?(:name) @display_name = args[:display_name] if args.key?(:display_name) @description = args[:description] if args.key?(:description) @type = args[:type] if args.key?(:type) - @labels = args[:labels] if args.key?(:labels) - @name = args[:name] if args.key?(:name) end end @@ -1219,7 +893,7 @@ module Google # Optional. Line within the source file. 1-based; 0 indicates no line number # available. # Corresponds to the JSON property `line` - # @return [String] + # @return [Fixnum] attr_accessor :line def initialize(**args) @@ -1238,11 +912,6 @@ module Google class ListLogEntriesResponse include Google::Apis::Core::Hashable - # A list of log entries. - # Corresponds to the JSON property `entries` - # @return [Array] - attr_accessor :entries - # If there might be more results than those appearing in this response, then # nextPageToken is included. To get the next set of results, call this method # again using the value of nextPageToken as pageToken.If a value for @@ -1256,14 +925,345 @@ module Google # @return [String] attr_accessor :next_page_token + # A list of log entries. + # Corresponds to the JSON property `entries` + # @return [Array] + attr_accessor :entries + def initialize(**args) update!(**args) end # Update properties of this object def update!(**args) - @entries = args[:entries] if args.key?(:entries) @next_page_token = args[:next_page_token] if args.key?(:next_page_token) + @entries = args[:entries] if args.key?(:entries) + end + end + + # Application log line emitted while processing a request. + class LogLine + include Google::Apis::Core::Hashable + + # Severity of this log entry. + # Corresponds to the JSON property `severity` + # @return [String] + attr_accessor :severity + + # App-provided log message. + # Corresponds to the JSON property `logMessage` + # @return [String] + attr_accessor :log_message + + # Specifies a location in a source code file. + # Corresponds to the JSON property `sourceLocation` + # @return [Google::Apis::LoggingV2beta1::SourceLocation] + attr_accessor :source_location + + # Approximate time when this log entry was made. + # Corresponds to the JSON property `time` + # @return [String] + attr_accessor :time + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @severity = args[:severity] if args.key?(:severity) + @log_message = args[:log_message] if args.key?(:log_message) + @source_location = args[:source_location] if args.key?(:source_location) + @time = args[:time] if args.key?(:time) + end + end + + # Result returned from ListLogMetrics. + class ListLogMetricsResponse + include Google::Apis::Core::Hashable + + # If there might be more results than appear in this response, then + # nextPageToken is included. To get the next set of results, call this method + # again using the value of nextPageToken as pageToken. + # Corresponds to the JSON property `nextPageToken` + # @return [String] + attr_accessor :next_page_token + + # A list of logs-based metrics. + # Corresponds to the JSON property `metrics` + # @return [Array] + attr_accessor :metrics + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @next_page_token = args[:next_page_token] if args.key?(:next_page_token) + @metrics = args[:metrics] if args.key?(:metrics) + end + end + + # A generic empty message that you can re-use to avoid defining duplicated empty + # messages in your APIs. A typical example is to use it as the request or the + # response type of an API method. For instance: + # service Foo ` + # rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty); + # ` + # The JSON representation for Empty is empty JSON object ``. + class Empty + include Google::Apis::Core::Hashable + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + end + end + + # An individual entry in a log. + class LogEntry + include Google::Apis::Core::Hashable + + # Required. The resource name of the log to which this log entry belongs: + # "projects/[PROJECT_ID]/logs/[LOG_ID]" + # "organizations/[ORGANIZATION_ID]/logs/[LOG_ID]" + # "billingAccounts/[BILLING_ACCOUNT_ID]/logs/[LOG_ID]" + # "folders/[FOLDER_ID]/logs/[LOG_ID]" + # [LOG_ID] must be URL-encoded within log_name. Example: "organizations/ + # 1234567890/logs/cloudresourcemanager.googleapis.com%2Factivity". [LOG_ID] must + # be less than 512 characters long and can only include the following characters: + # upper and lower case alphanumeric characters, forward-slash, underscore, + # hyphen, and period.For backward compatibility, if log_name begins with a + # forward-slash, such as /projects/..., then the log entry is ingested as usual + # but the forward-slash is removed. Listing the log entry will not show the + # leading slash and filtering for a log name with a leading slash will never + # return any results. + # Corresponds to the JSON property `logName` + # @return [String] + attr_accessor :log_name + + # A common proto for logging HTTP requests. Only contains semantics defined by + # the HTTP specification. Product-specific logging information MUST be defined + # in a separate message. + # Corresponds to the JSON property `httpRequest` + # @return [Google::Apis::LoggingV2beta1::HttpRequest] + attr_accessor :http_request + + # An object representing a resource that can be used for monitoring, logging, + # billing, or other purposes. Examples include virtual machine instances, + # databases, and storage devices such as disks. The type field identifies a + # MonitoredResourceDescriptor object that describes the resource's schema. + # Information in the labels field identifies the actual resource and its + # attributes according to the schema. For example, a particular Compute Engine + # VM instance could be represented by the following object, because the + # MonitoredResourceDescriptor for "gce_instance" has labels "instance_id" and " + # zone": + # ` "type": "gce_instance", + # "labels": ` "instance_id": "12345678901234", + # "zone": "us-central1-a" `` + # Corresponds to the JSON property `resource` + # @return [Google::Apis::LoggingV2beta1::MonitoredResource] + attr_accessor :resource + + # The log entry payload, represented as a structure that is expressed as a JSON + # object. + # Corresponds to the JSON property `jsonPayload` + # @return [Hash] + attr_accessor :json_payload + + # Optional. A unique identifier for the log entry. If you provide a value, then + # Stackdriver Logging considers other log entries in the same project, with the + # same timestamp, and with the same insert_id to be duplicates which can be + # removed. If omitted in new log entries, then Stackdriver Logging will insert + # its own unique identifier. The insert_id is used to order log entries that + # have the same timestamp value. + # Corresponds to the JSON property `insertId` + # @return [String] + attr_accessor :insert_id + + # Additional information about a potentially long-running operation with which a + # log entry is associated. + # Corresponds to the JSON property `operation` + # @return [Google::Apis::LoggingV2beta1::LogEntryOperation] + attr_accessor :operation + + # The log entry payload, represented as a Unicode string (UTF-8). + # Corresponds to the JSON property `textPayload` + # @return [String] + attr_accessor :text_payload + + # The log entry payload, represented as a protocol buffer. Some Google Cloud + # Platform services use this field for their log entry payloads. + # Corresponds to the JSON property `protoPayload` + # @return [Hash] + attr_accessor :proto_payload + + # Optional. Resource name of the trace associated with the log entry, if any. If + # it contains a relative resource name, the name is assumed to be relative to // + # tracing.googleapis.com. Example: projects/my-projectid/traces/ + # 06796866738c859f2f19b7cfb3214824 + # Corresponds to the JSON property `trace` + # @return [String] + attr_accessor :trace + + # Optional. A set of user-defined (key, value) data that provides additional + # information about the log entry. + # Corresponds to the JSON property `labels` + # @return [Hash] + attr_accessor :labels + + # Optional. The severity of the log entry. The default value is LogSeverity. + # DEFAULT. + # Corresponds to the JSON property `severity` + # @return [String] + attr_accessor :severity + + # Additional information about the source code location that produced the log + # entry. + # Corresponds to the JSON property `sourceLocation` + # @return [Google::Apis::LoggingV2beta1::LogEntrySourceLocation] + attr_accessor :source_location + + # Optional. The time the event described by the log entry occurred. If omitted + # in a new log entry, Stackdriver Logging will insert the time the log entry is + # received. Stackdriver Logging might reject log entries whose time stamps are + # more than a couple of hours in the future. Log entries with time stamps in the + # past are accepted. + # Corresponds to the JSON property `timestamp` + # @return [String] + attr_accessor :timestamp + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @log_name = args[:log_name] if args.key?(:log_name) + @http_request = args[:http_request] if args.key?(:http_request) + @resource = args[:resource] if args.key?(:resource) + @json_payload = args[:json_payload] if args.key?(:json_payload) + @insert_id = args[:insert_id] if args.key?(:insert_id) + @operation = args[:operation] if args.key?(:operation) + @text_payload = args[:text_payload] if args.key?(:text_payload) + @proto_payload = args[:proto_payload] if args.key?(:proto_payload) + @trace = args[:trace] if args.key?(:trace) + @labels = args[:labels] if args.key?(:labels) + @severity = args[:severity] if args.key?(:severity) + @source_location = args[:source_location] if args.key?(:source_location) + @timestamp = args[:timestamp] if args.key?(:timestamp) + end + end + + # Specifies a location in a source code file. + class SourceLocation + include Google::Apis::Core::Hashable + + # Source file name. Depending on the runtime environment, this might be a simple + # name or a fully-qualified name. + # Corresponds to the JSON property `file` + # @return [String] + attr_accessor :file + + # Human-readable name of the function or method being invoked, with optional + # context such as the class or package name. This information is used in + # contexts such as the logs viewer, where a file and line number are less + # meaningful. The format can vary by language. For example: qual.if.ied.Class. + # method (Java), dir/package.func (Go), function (Python). + # Corresponds to the JSON property `functionName` + # @return [String] + attr_accessor :function_name + + # Line within the source file. + # Corresponds to the JSON property `line` + # @return [Fixnum] + attr_accessor :line + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @file = args[:file] if args.key?(:file) + @function_name = args[:function_name] if args.key?(:function_name) + @line = args[:line] if args.key?(:line) + end + end + + # The parameters to ListLogEntries. + class ListLogEntriesRequest + include Google::Apis::Core::Hashable + + # Optional. How the results should be sorted. Presently, the only permitted + # values are "timestamp asc" (default) and "timestamp desc". The first option + # returns entries in order of increasing values of LogEntry.timestamp (oldest + # first), and the second option returns entries in order of decreasing + # timestamps (newest first). Entries with equal timestamps are returned in order + # of their insert_id values. + # Corresponds to the JSON property `orderBy` + # @return [String] + attr_accessor :order_by + + # Required. Names of one or more parent resources from which to retrieve log + # entries: + # "projects/[PROJECT_ID]" + # "organizations/[ORGANIZATION_ID]" + # "billingAccounts/[BILLING_ACCOUNT_ID]" + # "folders/[FOLDER_ID]" + # Projects listed in the project_ids field are added to this list. + # Corresponds to the JSON property `resourceNames` + # @return [Array] + attr_accessor :resource_names + + # Optional. A filter that chooses which log entries to return. See Advanced Logs + # Filters. Only log entries that match the filter are returned. An empty filter + # matches all log entries in the resources listed in resource_names. Referencing + # a parent resource that is not listed in resource_names will cause the filter + # to return no results. The maximum length of the filter is 20000 characters. + # Corresponds to the JSON property `filter` + # @return [String] + attr_accessor :filter + + # Deprecated. Use resource_names instead. One or more project identifiers or + # project numbers from which to retrieve log entries. Example: "my-project-1A". + # If present, these project identifiers are converted to resource name format + # and added to the list of resources in resource_names. + # Corresponds to the JSON property `projectIds` + # @return [Array] + attr_accessor :project_ids + + # Optional. If present, then retrieve the next batch of results from the + # preceding call to this method. page_token must be the value of next_page_token + # from the previous response. The values of other method parameters should be + # identical to those in the previous call. + # Corresponds to the JSON property `pageToken` + # @return [String] + attr_accessor :page_token + + # Optional. The maximum number of results to return from this request. Non- + # positive values are ignored. The presence of next_page_token in the response + # indicates that more results might be available. + # Corresponds to the JSON property `pageSize` + # @return [Fixnum] + attr_accessor :page_size + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @order_by = args[:order_by] if args.key?(:order_by) + @resource_names = args[:resource_names] if args.key?(:resource_names) + @filter = args[:filter] if args.key?(:filter) + @project_ids = args[:project_ids] if args.key?(:project_ids) + @page_token = args[:page_token] if args.key?(:page_token) + @page_size = args[:page_size] if args.key?(:page_size) end end end diff --git a/generated/google/apis/logging_v2beta1/representations.rb b/generated/google/apis/logging_v2beta1/representations.rb index bc50b789a..30b0fea06 100644 --- a/generated/google/apis/logging_v2beta1/representations.rb +++ b/generated/google/apis/logging_v2beta1/representations.rb @@ -22,42 +22,6 @@ module Google module Apis module LoggingV2beta1 - class LogLine - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class ListLogMetricsResponse - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class LogEntry - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class Empty - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class SourceLocation - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class ListLogEntriesRequest - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - class RequestLog class Representation < Google::Apis::Core::JsonRepresentation; end @@ -76,13 +40,13 @@ module Google include Google::Apis::Core::JsonObjectSupport end - class LogEntryOperation + class LogMetric class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end - class LogMetric + class LogEntryOperation class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport @@ -154,6 +118,235 @@ module Google include Google::Apis::Core::JsonObjectSupport end + class LogLine + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class ListLogMetricsResponse + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class Empty + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class LogEntry + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class SourceLocation + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class ListLogEntriesRequest + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class RequestLog + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :request_id, as: 'requestId' + property :nickname, as: 'nickname' + property :status, as: 'status' + property :pending_time, as: 'pendingTime' + property :resource, as: 'resource' + property :task_name, as: 'taskName' + property :url_map_entry, as: 'urlMapEntry' + property :instance_index, as: 'instanceIndex' + property :finished, as: 'finished' + property :host, as: 'host' + property :http_version, as: 'httpVersion' + property :start_time, as: 'startTime' + property :latency, as: 'latency' + property :ip, as: 'ip' + property :app_id, as: 'appId' + property :app_engine_release, as: 'appEngineRelease' + property :method_prop, as: 'method' + property :cost, as: 'cost' + property :instance_id, as: 'instanceId' + property :mega_cycles, :numeric_string => true, as: 'megaCycles' + property :first, as: 'first' + property :version_id, as: 'versionId' + property :module_id, as: 'moduleId' + property :end_time, as: 'endTime' + property :user_agent, as: 'userAgent' + property :was_loading_request, as: 'wasLoadingRequest' + collection :source_reference, as: 'sourceReference', class: Google::Apis::LoggingV2beta1::SourceReference, decorator: Google::Apis::LoggingV2beta1::SourceReference::Representation + + property :response_size, :numeric_string => true, as: 'responseSize' + property :trace_id, as: 'traceId' + collection :line, as: 'line', class: Google::Apis::LoggingV2beta1::LogLine, decorator: Google::Apis::LoggingV2beta1::LogLine::Representation + + property :referrer, as: 'referrer' + property :task_queue_name, as: 'taskQueueName' + end + end + + class ListMonitoredResourceDescriptorsResponse + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :next_page_token, as: 'nextPageToken' + collection :resource_descriptors, as: 'resourceDescriptors', class: Google::Apis::LoggingV2beta1::MonitoredResourceDescriptor, decorator: Google::Apis::LoggingV2beta1::MonitoredResourceDescriptor::Representation + + end + end + + class SourceReference + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :revision_id, as: 'revisionId' + property :repository, as: 'repository' + end + end + + class LogMetric + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :version, as: 'version' + property :filter, as: 'filter' + property :name, as: 'name' + property :description, as: 'description' + end + end + + class LogEntryOperation + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :last, as: 'last' + property :id, as: 'id' + property :producer, as: 'producer' + property :first, as: 'first' + end + end + + class WriteLogEntriesResponse + # @private + class Representation < Google::Apis::Core::JsonRepresentation + end + end + + class MonitoredResource + # @private + class Representation < Google::Apis::Core::JsonRepresentation + hash :labels, as: 'labels' + property :type, as: 'type' + end + end + + class WriteLogEntriesRequest + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :log_name, as: 'logName' + collection :entries, as: 'entries', class: Google::Apis::LoggingV2beta1::LogEntry, decorator: Google::Apis::LoggingV2beta1::LogEntry::Representation + + property :partial_success, as: 'partialSuccess' + hash :labels, as: 'labels' + property :resource, as: 'resource', class: Google::Apis::LoggingV2beta1::MonitoredResource, decorator: Google::Apis::LoggingV2beta1::MonitoredResource::Representation + + end + end + + class LogSink + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :start_time, as: 'startTime' + property :writer_identity, as: 'writerIdentity' + property :output_version_format, as: 'outputVersionFormat' + property :name, as: 'name' + property :destination, as: 'destination' + property :filter, as: 'filter' + property :end_time, as: 'endTime' + end + end + + class ListLogsResponse + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :next_page_token, as: 'nextPageToken' + collection :log_names, as: 'logNames' + end + end + + class HttpRequest + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :user_agent, as: 'userAgent' + property :latency, as: 'latency' + property :cache_fill_bytes, :numeric_string => true, as: 'cacheFillBytes' + property :request_method, as: 'requestMethod' + property :request_size, :numeric_string => true, as: 'requestSize' + property :response_size, :numeric_string => true, as: 'responseSize' + property :request_url, as: 'requestUrl' + property :server_ip, as: 'serverIp' + property :remote_ip, as: 'remoteIp' + property :cache_lookup, as: 'cacheLookup' + property :cache_hit, as: 'cacheHit' + property :cache_validated_with_origin_server, as: 'cacheValidatedWithOriginServer' + property :status, as: 'status' + property :referer, as: 'referer' + end + end + + class ListSinksResponse + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :sinks, as: 'sinks', class: Google::Apis::LoggingV2beta1::LogSink, decorator: Google::Apis::LoggingV2beta1::LogSink::Representation + + property :next_page_token, as: 'nextPageToken' + end + end + + class LabelDescriptor + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :key, as: 'key' + property :description, as: 'description' + property :value_type, as: 'valueType' + end + end + + class MonitoredResourceDescriptor + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :labels, as: 'labels', class: Google::Apis::LoggingV2beta1::LabelDescriptor, decorator: Google::Apis::LoggingV2beta1::LabelDescriptor::Representation + + property :name, as: 'name' + property :display_name, as: 'displayName' + property :description, as: 'description' + property :type, as: 'type' + end + end + + class LogEntrySourceLocation + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :file, as: 'file' + property :function, as: 'function' + property :line, :numeric_string => true, as: 'line' + end + end + + class ListLogEntriesResponse + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :next_page_token, as: 'nextPageToken' + collection :entries, as: 'entries', class: Google::Apis::LoggingV2beta1::LogEntry, decorator: Google::Apis::LoggingV2beta1::LogEntry::Representation + + end + end + class LogLine # @private class Representation < Google::Apis::Core::JsonRepresentation @@ -168,32 +361,9 @@ module Google class ListLogMetricsResponse # @private class Representation < Google::Apis::Core::JsonRepresentation + property :next_page_token, as: 'nextPageToken' collection :metrics, as: 'metrics', class: Google::Apis::LoggingV2beta1::LogMetric, decorator: Google::Apis::LoggingV2beta1::LogMetric::Representation - property :next_page_token, as: 'nextPageToken' - end - end - - class LogEntry - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :log_name, as: 'logName' - property :resource, as: 'resource', class: Google::Apis::LoggingV2beta1::MonitoredResource, decorator: Google::Apis::LoggingV2beta1::MonitoredResource::Representation - - property :http_request, as: 'httpRequest', class: Google::Apis::LoggingV2beta1::HttpRequest, decorator: Google::Apis::LoggingV2beta1::HttpRequest::Representation - - hash :json_payload, as: 'jsonPayload' - property :operation, as: 'operation', class: Google::Apis::LoggingV2beta1::LogEntryOperation, decorator: Google::Apis::LoggingV2beta1::LogEntryOperation::Representation - - property :insert_id, as: 'insertId' - property :text_payload, as: 'textPayload' - hash :proto_payload, as: 'protoPayload' - hash :labels, as: 'labels' - property :trace, as: 'trace' - property :severity, as: 'severity' - property :source_location, as: 'sourceLocation', class: Google::Apis::LoggingV2beta1::LogEntrySourceLocation, decorator: Google::Apis::LoggingV2beta1::LogEntrySourceLocation::Representation - - property :timestamp, as: 'timestamp' end end @@ -203,217 +373,47 @@ module Google end end + class LogEntry + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :log_name, as: 'logName' + property :http_request, as: 'httpRequest', class: Google::Apis::LoggingV2beta1::HttpRequest, decorator: Google::Apis::LoggingV2beta1::HttpRequest::Representation + + property :resource, as: 'resource', class: Google::Apis::LoggingV2beta1::MonitoredResource, decorator: Google::Apis::LoggingV2beta1::MonitoredResource::Representation + + hash :json_payload, as: 'jsonPayload' + property :insert_id, as: 'insertId' + property :operation, as: 'operation', class: Google::Apis::LoggingV2beta1::LogEntryOperation, decorator: Google::Apis::LoggingV2beta1::LogEntryOperation::Representation + + property :text_payload, as: 'textPayload' + hash :proto_payload, as: 'protoPayload' + property :trace, as: 'trace' + hash :labels, as: 'labels' + property :severity, as: 'severity' + property :source_location, as: 'sourceLocation', class: Google::Apis::LoggingV2beta1::LogEntrySourceLocation, decorator: Google::Apis::LoggingV2beta1::LogEntrySourceLocation::Representation + + property :timestamp, as: 'timestamp' + end + end + class SourceLocation # @private class Representation < Google::Apis::Core::JsonRepresentation - property :line, as: 'line' property :file, as: 'file' property :function_name, as: 'functionName' + property :line, :numeric_string => true, as: 'line' end end class ListLogEntriesRequest # @private class Representation < Google::Apis::Core::JsonRepresentation - property :page_token, as: 'pageToken' - property :page_size, as: 'pageSize' property :order_by, as: 'orderBy' collection :resource_names, as: 'resourceNames' property :filter, as: 'filter' collection :project_ids, as: 'projectIds' - end - end - - class RequestLog - # @private - class Representation < Google::Apis::Core::JsonRepresentation - collection :line, as: 'line', class: Google::Apis::LoggingV2beta1::LogLine, decorator: Google::Apis::LoggingV2beta1::LogLine::Representation - - property :referrer, as: 'referrer' - property :task_queue_name, as: 'taskQueueName' - property :request_id, as: 'requestId' - property :nickname, as: 'nickname' - property :status, as: 'status' - property :pending_time, as: 'pendingTime' - property :resource, as: 'resource' - property :task_name, as: 'taskName' - property :url_map_entry, as: 'urlMapEntry' - property :instance_index, as: 'instanceIndex' - property :host, as: 'host' - property :finished, as: 'finished' - property :http_version, as: 'httpVersion' - property :start_time, as: 'startTime' - property :latency, as: 'latency' - property :ip, as: 'ip' - property :app_id, as: 'appId' - property :app_engine_release, as: 'appEngineRelease' - property :method_prop, as: 'method' - property :cost, as: 'cost' - property :instance_id, as: 'instanceId' - property :mega_cycles, as: 'megaCycles' - property :first, as: 'first' - property :version_id, as: 'versionId' - property :module_id, as: 'moduleId' - property :end_time, as: 'endTime' - property :user_agent, as: 'userAgent' - property :was_loading_request, as: 'wasLoadingRequest' - collection :source_reference, as: 'sourceReference', class: Google::Apis::LoggingV2beta1::SourceReference, decorator: Google::Apis::LoggingV2beta1::SourceReference::Representation - - property :response_size, as: 'responseSize' - property :trace_id, as: 'traceId' - end - end - - class ListMonitoredResourceDescriptorsResponse - # @private - class Representation < Google::Apis::Core::JsonRepresentation - collection :resource_descriptors, as: 'resourceDescriptors', class: Google::Apis::LoggingV2beta1::MonitoredResourceDescriptor, decorator: Google::Apis::LoggingV2beta1::MonitoredResourceDescriptor::Representation - - property :next_page_token, as: 'nextPageToken' - end - end - - class SourceReference - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :repository, as: 'repository' - property :revision_id, as: 'revisionId' - end - end - - class LogEntryOperation - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :producer, as: 'producer' - property :first, as: 'first' - property :last, as: 'last' - property :id, as: 'id' - end - end - - class LogMetric - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :name, as: 'name' - property :description, as: 'description' - property :version, as: 'version' - property :filter, as: 'filter' - end - end - - class WriteLogEntriesResponse - # @private - class Representation < Google::Apis::Core::JsonRepresentation - end - end - - class MonitoredResource - # @private - class Representation < Google::Apis::Core::JsonRepresentation - hash :labels, as: 'labels' - property :type, as: 'type' - end - end - - class WriteLogEntriesRequest - # @private - class Representation < Google::Apis::Core::JsonRepresentation - hash :labels, as: 'labels' - property :resource, as: 'resource', class: Google::Apis::LoggingV2beta1::MonitoredResource, decorator: Google::Apis::LoggingV2beta1::MonitoredResource::Representation - - property :log_name, as: 'logName' - collection :entries, as: 'entries', class: Google::Apis::LoggingV2beta1::LogEntry, decorator: Google::Apis::LoggingV2beta1::LogEntry::Representation - - property :partial_success, as: 'partialSuccess' - end - end - - class LogSink - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :writer_identity, as: 'writerIdentity' - property :start_time, as: 'startTime' - property :output_version_format, as: 'outputVersionFormat' - property :name, as: 'name' - property :filter, as: 'filter' - property :destination, as: 'destination' - property :end_time, as: 'endTime' - end - end - - class ListLogsResponse - # @private - class Representation < Google::Apis::Core::JsonRepresentation - collection :log_names, as: 'logNames' - property :next_page_token, as: 'nextPageToken' - end - end - - class HttpRequest - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :cache_hit, as: 'cacheHit' - property :cache_validated_with_origin_server, as: 'cacheValidatedWithOriginServer' - property :status, as: 'status' - property :referer, as: 'referer' - property :latency, as: 'latency' - property :user_agent, as: 'userAgent' - property :cache_fill_bytes, as: 'cacheFillBytes' - property :request_method, as: 'requestMethod' - property :request_size, as: 'requestSize' - property :response_size, as: 'responseSize' - property :request_url, as: 'requestUrl' - property :remote_ip, as: 'remoteIp' - property :server_ip, as: 'serverIp' - property :cache_lookup, as: 'cacheLookup' - end - end - - class ListSinksResponse - # @private - class Representation < Google::Apis::Core::JsonRepresentation - collection :sinks, as: 'sinks', class: Google::Apis::LoggingV2beta1::LogSink, decorator: Google::Apis::LoggingV2beta1::LogSink::Representation - - property :next_page_token, as: 'nextPageToken' - end - end - - class LabelDescriptor - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :description, as: 'description' - property :value_type, as: 'valueType' - property :key, as: 'key' - end - end - - class MonitoredResourceDescriptor - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :display_name, as: 'displayName' - property :description, as: 'description' - property :type, as: 'type' - collection :labels, as: 'labels', class: Google::Apis::LoggingV2beta1::LabelDescriptor, decorator: Google::Apis::LoggingV2beta1::LabelDescriptor::Representation - - property :name, as: 'name' - end - end - - class LogEntrySourceLocation - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :file, as: 'file' - property :function, as: 'function' - property :line, as: 'line' - end - end - - class ListLogEntriesResponse - # @private - class Representation < Google::Apis::Core::JsonRepresentation - collection :entries, as: 'entries', class: Google::Apis::LoggingV2beta1::LogEntry, decorator: Google::Apis::LoggingV2beta1::LogEntry::Representation - - property :next_page_token, as: 'nextPageToken' + property :page_token, as: 'pageToken' + property :page_size, as: 'pageSize' end end end diff --git a/generated/google/apis/logging_v2beta1/service.rb b/generated/google/apis/logging_v2beta1/service.rb index 0f223e9c6..cdfe53670 100644 --- a/generated/google/apis/logging_v2beta1/service.rb +++ b/generated/google/apis/logging_v2beta1/service.rb @@ -32,18 +32,19 @@ module Google # # @see https://cloud.google.com/logging/docs/ class LoggingService < Google::Apis::Core::BaseService - # @return [String] - # API key. Your API key identifies your project and provides you with API access, - # quota, and reports. Required unless you provide an OAuth 2.0 token. - attr_accessor :key - # @return [String] # Available to use for quota purposes for server-side applications. Can be any # arbitrary string assigned to a user, but should not exceed 40 characters. attr_accessor :quota_user + # @return [String] + # API key. Your API key identifies your project and provides you with API access, + # quota, and reports. Required unless you provide an OAuth 2.0 token. + attr_accessor :key + def initialize super('https://logging.googleapis.com/', '') + @batch_path = 'batch' end # Lists the descriptors for monitored resource types used by Stackdriver Logging. @@ -84,6 +85,45 @@ module Google execute_or_queue_command(command, &block) end + # Deletes all the log entries in a log. The log reappears if it receives new + # entries. Log entries written shortly before the delete operation might not be + # deleted. + # @param [String] log_name + # Required. The resource name of the log to delete: + # "projects/[PROJECT_ID]/logs/[LOG_ID]" + # "organizations/[ORGANIZATION_ID]/logs/[LOG_ID]" + # "billingAccounts/[BILLING_ACCOUNT_ID]/logs/[LOG_ID]" + # "folders/[FOLDER_ID]/logs/[LOG_ID]" + # [LOG_ID] must be URL-encoded. For example, "projects/my-project-id/logs/syslog" + # , "organizations/1234567890/logs/cloudresourcemanager.googleapis.com% + # 2Factivity". For more information about log names, see LogEntry. + # @param [String] quota_user + # Available to use for quota purposes for server-side applications. Can be any + # arbitrary string assigned to a user, but should not exceed 40 characters. + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::LoggingV2beta1::Empty] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::LoggingV2beta1::Empty] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def delete_organization_log(log_name, quota_user: nil, fields: nil, options: nil, &block) + command = make_simple_command(:delete, 'v2beta1/{+logName}', options) + command.response_representation = Google::Apis::LoggingV2beta1::Empty::Representation + command.response_class = Google::Apis::LoggingV2beta1::Empty + command.params['logName'] = log_name unless log_name.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + command.query['fields'] = fields unless fields.nil? + execute_or_queue_command(command, &block) + end + # Lists the logs in projects, organizations, folders, or billing accounts. Only # logs that have entries are listed. # @param [String] parent @@ -130,45 +170,6 @@ module Google execute_or_queue_command(command, &block) end - # Deletes all the log entries in a log. The log reappears if it receives new - # entries. Log entries written shortly before the delete operation might not be - # deleted. - # @param [String] log_name - # Required. The resource name of the log to delete: - # "projects/[PROJECT_ID]/logs/[LOG_ID]" - # "organizations/[ORGANIZATION_ID]/logs/[LOG_ID]" - # "billingAccounts/[BILLING_ACCOUNT_ID]/logs/[LOG_ID]" - # "folders/[FOLDER_ID]/logs/[LOG_ID]" - # [LOG_ID] must be URL-encoded. For example, "projects/my-project-id/logs/syslog" - # , "organizations/1234567890/logs/cloudresourcemanager.googleapis.com% - # 2Factivity". For more information about log names, see LogEntry. - # @param [String] quota_user - # Available to use for quota purposes for server-side applications. Can be any - # arbitrary string assigned to a user, but should not exceed 40 characters. - # @param [String] fields - # Selector specifying which fields to include in a partial response. - # @param [Google::Apis::RequestOptions] options - # Request-specific options - # - # @yield [result, err] Result & error if block supplied - # @yieldparam result [Google::Apis::LoggingV2beta1::Empty] parsed result object - # @yieldparam err [StandardError] error object if request failed - # - # @return [Google::Apis::LoggingV2beta1::Empty] - # - # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried - # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification - # @raise [Google::Apis::AuthorizationError] Authorization is required - def delete_organization_log(log_name, quota_user: nil, fields: nil, options: nil, &block) - command = make_simple_command(:delete, 'v2beta1/{+logName}', options) - command.response_representation = Google::Apis::LoggingV2beta1::Empty::Representation - command.response_class = Google::Apis::LoggingV2beta1::Empty - command.params['logName'] = log_name unless log_name.nil? - command.query['quotaUser'] = quota_user unless quota_user.nil? - command.query['fields'] = fields unless fields.nil? - execute_or_queue_command(command, &block) - end - # Lists log entries. Use this method to retrieve log entries from Stackdriver # Logging. For ways to export log entries, see Exporting Logs. # @param [Google::Apis::LoggingV2beta1::ListLogEntriesRequest] list_log_entries_request_object @@ -539,6 +540,43 @@ module Google execute_or_queue_command(command, &block) end + # Creates or updates a logs-based metric. + # @param [String] metric_name + # The resource name of the metric to update: + # "projects/[PROJECT_ID]/metrics/[METRIC_ID]" + # The updated metric must be provided in the request and it's name field must be + # the same as [METRIC_ID] If the metric does not exist in [PROJECT_ID], then a + # new metric is created. + # @param [Google::Apis::LoggingV2beta1::LogMetric] log_metric_object + # @param [String] quota_user + # Available to use for quota purposes for server-side applications. Can be any + # arbitrary string assigned to a user, but should not exceed 40 characters. + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::LoggingV2beta1::LogMetric] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::LoggingV2beta1::LogMetric] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def update_project_metric(metric_name, log_metric_object = nil, quota_user: nil, fields: nil, options: nil, &block) + command = make_simple_command(:put, 'v2beta1/{+metricName}', options) + command.request_representation = Google::Apis::LoggingV2beta1::LogMetric::Representation + command.request_object = log_metric_object + command.response_representation = Google::Apis::LoggingV2beta1::LogMetric::Representation + command.response_class = Google::Apis::LoggingV2beta1::LogMetric + command.params['metricName'] = metric_name unless metric_name.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + command.query['fields'] = fields unless fields.nil? + execute_or_queue_command(command, &block) + end + # Creates a logs-based metric. # @param [String] parent # The resource name of the project in which to create the metric: @@ -678,43 +716,6 @@ module Google execute_or_queue_command(command, &block) end - # Creates or updates a logs-based metric. - # @param [String] metric_name - # The resource name of the metric to update: - # "projects/[PROJECT_ID]/metrics/[METRIC_ID]" - # The updated metric must be provided in the request and it's name field must be - # the same as [METRIC_ID] If the metric does not exist in [PROJECT_ID], then a - # new metric is created. - # @param [Google::Apis::LoggingV2beta1::LogMetric] log_metric_object - # @param [String] quota_user - # Available to use for quota purposes for server-side applications. Can be any - # arbitrary string assigned to a user, but should not exceed 40 characters. - # @param [String] fields - # Selector specifying which fields to include in a partial response. - # @param [Google::Apis::RequestOptions] options - # Request-specific options - # - # @yield [result, err] Result & error if block supplied - # @yieldparam result [Google::Apis::LoggingV2beta1::LogMetric] parsed result object - # @yieldparam err [StandardError] error object if request failed - # - # @return [Google::Apis::LoggingV2beta1::LogMetric] - # - # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried - # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification - # @raise [Google::Apis::AuthorizationError] Authorization is required - def update_project_metric(metric_name, log_metric_object = nil, quota_user: nil, fields: nil, options: nil, &block) - command = make_simple_command(:put, 'v2beta1/{+metricName}', options) - command.request_representation = Google::Apis::LoggingV2beta1::LogMetric::Representation - command.request_object = log_metric_object - command.response_representation = Google::Apis::LoggingV2beta1::LogMetric::Representation - command.response_class = Google::Apis::LoggingV2beta1::LogMetric - command.params['metricName'] = metric_name unless metric_name.nil? - command.query['quotaUser'] = quota_user unless quota_user.nil? - command.query['fields'] = fields unless fields.nil? - execute_or_queue_command(command, &block) - end - # Deletes all the log entries in a log. The log reappears if it receives new # entries. Log entries written shortly before the delete operation might not be # deleted. @@ -762,15 +763,15 @@ module Google # "organizations/[ORGANIZATION_ID]" # "billingAccounts/[BILLING_ACCOUNT_ID]" # "folders/[FOLDER_ID]" - # @param [Fixnum] page_size - # Optional. The maximum number of results to return from this request. Non- - # positive values are ignored. The presence of nextPageToken in the response - # indicates that more results might be available. # @param [String] page_token # Optional. If present, then retrieve the next batch of results from the # preceding call to this method. pageToken must be the value of nextPageToken # from the previous response. The values of other method parameters should be # identical to those in the previous call. + # @param [Fixnum] page_size + # Optional. The maximum number of results to return from this request. Non- + # positive values are ignored. The presence of nextPageToken in the response + # indicates that more results might be available. # @param [String] quota_user # Available to use for quota purposes for server-side applications. Can be any # arbitrary string assigned to a user, but should not exceed 40 characters. @@ -788,13 +789,13 @@ module Google # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required - def list_billing_account_logs(parent, page_size: nil, page_token: nil, quota_user: nil, fields: nil, options: nil, &block) + def list_billing_account_logs(parent, page_token: nil, page_size: nil, quota_user: nil, fields: nil, options: nil, &block) command = make_simple_command(:get, 'v2beta1/{+parent}/logs', options) command.response_representation = Google::Apis::LoggingV2beta1::ListLogsResponse::Representation command.response_class = Google::Apis::LoggingV2beta1::ListLogsResponse command.params['parent'] = parent unless parent.nil? - command.query['pageSize'] = page_size unless page_size.nil? command.query['pageToken'] = page_token unless page_token.nil? + command.query['pageSize'] = page_size unless page_size.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['fields'] = fields unless fields.nil? execute_or_queue_command(command, &block) @@ -803,8 +804,8 @@ module Google protected def apply_command_defaults(command) - command.query['key'] = key unless key.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? + command.query['key'] = key unless key.nil? end end end diff --git a/generated/google/apis/manufacturers_v1/classes.rb b/generated/google/apis/manufacturers_v1/classes.rb index 9171cea0c..5e0020cab 100644 --- a/generated/google/apis/manufacturers_v1/classes.rb +++ b/generated/google/apis/manufacturers_v1/classes.rb @@ -22,153 +22,6 @@ module Google module Apis module ManufacturersV1 - # The number of products in a single package. For more information, see - # https://support.google.com/manufacturers/answer/6124116#count. - class Count - include Google::Apis::Core::Hashable - - # The numeric value of the number of products in a package. - # Corresponds to the JSON property `value` - # @return [String] - attr_accessor :value - - # The unit in which these products are counted. - # Corresponds to the JSON property `unit` - # @return [String] - attr_accessor :unit - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @value = args[:value] if args.key?(:value) - @unit = args[:unit] if args.key?(:unit) - end - end - - # Product data. - class Product - include Google::Apis::Core::Hashable - - # Names of the attributes of the product deleted manually via the - # Manufacturer Center UI. - # @OutputOnly - # Corresponds to the JSON property `manuallyDeletedAttributes` - # @return [Array] - attr_accessor :manually_deleted_attributes - - # A server-generated list of issues associated with the product. - # @OutputOnly - # Corresponds to the JSON property `issues` - # @return [Array] - attr_accessor :issues - - # Attributes of the product. For more information, see - # https://support.google.com/manufacturers/answer/6124116. - # Corresponds to the JSON property `finalAttributes` - # @return [Google::Apis::ManufacturersV1::Attributes] - attr_accessor :final_attributes - - # The ID of the product. For more information, see - # https://support.google.com/manufacturers/answer/6124116#id. - # @OutputOnly - # Corresponds to the JSON property `productId` - # @return [String] - attr_accessor :product_id - - # Attributes of the product. For more information, see - # https://support.google.com/manufacturers/answer/6124116. - # Corresponds to the JSON property `uploadedAttributes` - # @return [Google::Apis::ManufacturersV1::Attributes] - attr_accessor :uploaded_attributes - - # Parent ID in the format `accounts/`account_id``. - # `account_id` - The ID of the Manufacturer Center account. - # @OutputOnly - # Corresponds to the JSON property `parent` - # @return [String] - attr_accessor :parent - - # Attributes of the product. For more information, see - # https://support.google.com/manufacturers/answer/6124116. - # Corresponds to the JSON property `manuallyProvidedAttributes` - # @return [Google::Apis::ManufacturersV1::Attributes] - attr_accessor :manually_provided_attributes - - # The content language of the product as a two-letter ISO 639-1 language code - # (for example, en). - # @OutputOnly - # Corresponds to the JSON property `contentLanguage` - # @return [String] - attr_accessor :content_language - - # The target country of the product as a CLDR territory code (for example, - # US). - # @OutputOnly - # Corresponds to the JSON property `targetCountry` - # @return [String] - attr_accessor :target_country - - # Name in the format ``target_country`:`content_language`:`product_id``. - # `target_country` - The target country of the product as a CLDR territory - # code (for example, US). - # `content_language` - The content language of the product as a two-letter - # ISO 639-1 language code (for example, en). - # `product_id` - The ID of the product. For more information, see - # https://support.google.com/manufacturers/answer/6124116# - # id. - # @OutputOnly - # Corresponds to the JSON property `name` - # @return [String] - attr_accessor :name - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @manually_deleted_attributes = args[:manually_deleted_attributes] if args.key?(:manually_deleted_attributes) - @issues = args[:issues] if args.key?(:issues) - @final_attributes = args[:final_attributes] if args.key?(:final_attributes) - @product_id = args[:product_id] if args.key?(:product_id) - @uploaded_attributes = args[:uploaded_attributes] if args.key?(:uploaded_attributes) - @parent = args[:parent] if args.key?(:parent) - @manually_provided_attributes = args[:manually_provided_attributes] if args.key?(:manually_provided_attributes) - @content_language = args[:content_language] if args.key?(:content_language) - @target_country = args[:target_country] if args.key?(:target_country) - @name = args[:name] if args.key?(:name) - end - end - - # The capacity of a product. For more information, see - # https://support.google.com/manufacturers/answer/6124116#capacity. - class Capacity - include Google::Apis::Core::Hashable - - # The numeric value of the capacity. - # Corresponds to the JSON property `value` - # @return [String] - attr_accessor :value - - # The unit of the capacity, i.e., MB, GB, or TB. - # Corresponds to the JSON property `unit` - # @return [String] - attr_accessor :unit - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @value = args[:value] if args.key?(:value) - @unit = args[:unit] if args.key?(:unit) - end - end - # class ListProductsResponse include Google::Apis::Core::Hashable @@ -277,11 +130,6 @@ module Google class FeatureDescription include Google::Apis::Core::Hashable - # A short description of the feature. - # Corresponds to the JSON property `headline` - # @return [String] - attr_accessor :headline - # A detailed description of the feature. # Corresponds to the JSON property `text` # @return [String] @@ -292,15 +140,20 @@ module Google # @return [Google::Apis::ManufacturersV1::Image] attr_accessor :image + # A short description of the feature. + # Corresponds to the JSON property `headline` + # @return [String] + attr_accessor :headline + def initialize(**args) update!(**args) end # Update properties of this object def update!(**args) - @headline = args[:headline] if args.key?(:headline) @text = args[:text] if args.key?(:text) @image = args[:image] if args.key?(:image) + @headline = args[:headline] if args.key?(:headline) end end @@ -308,24 +161,24 @@ module Google class Price include Google::Apis::Core::Hashable - # The numeric value of the price. - # Corresponds to the JSON property `amount` - # @return [String] - attr_accessor :amount - # The currency in which the price is denoted. # Corresponds to the JSON property `currency` # @return [String] attr_accessor :currency + # The numeric value of the price. + # Corresponds to the JSON property `amount` + # @return [String] + attr_accessor :amount + def initialize(**args) update!(**args) end # Update properties of this object def update!(**args) - @amount = args[:amount] if args.key?(:amount) @currency = args[:currency] if args.key?(:currency) + @amount = args[:amount] if args.key?(:amount) end end @@ -333,6 +186,12 @@ module Google class Image include Google::Apis::Core::Hashable + # The status of the image. + # @OutputOnly + # Corresponds to the JSON property `status` + # @return [String] + attr_accessor :status + # The type of the image, i.e., crawled or uploaded. # @OutputOnly # Corresponds to the JSON property `type` @@ -346,21 +205,15 @@ module Google # @return [String] attr_accessor :image_url - # The status of the image. - # @OutputOnly - # Corresponds to the JSON property `status` - # @return [String] - attr_accessor :status - def initialize(**args) update!(**args) end # Update properties of this object def update!(**args) + @status = args[:status] if args.key?(:status) @type = args[:type] if args.key?(:type) @image_url = args[:image_url] if args.key?(:image_url) - @status = args[:status] if args.key?(:status) end end @@ -369,91 +222,6 @@ module Google class Attributes include Google::Apis::Core::Hashable - # The flavor of the product. For more information, see - # https://support.google.com/manufacturers/answer/6124116#flavor. - # Corresponds to the JSON property `flavor` - # @return [String] - attr_accessor :flavor - - # The details of the product. For more information, see - # https://support.google.com/manufacturers/answer/6124116#productdetail. - # Corresponds to the JSON property `productDetail` - # @return [Array] - attr_accessor :product_detail - - # The target age group of the product. For more information, see - # https://support.google.com/manufacturers/answer/6124116#agegroup. - # Corresponds to the JSON property `ageGroup` - # @return [String] - attr_accessor :age_group - - # The Manufacturer Part Number (MPN) of the product. For more information, - # see https://support.google.com/manufacturers/answer/6124116#mpn. - # Corresponds to the JSON property `mpn` - # @return [String] - attr_accessor :mpn - - # The URL of the detail page of the product. For more information, see - # https://support.google.com/manufacturers/answer/6124116#productpage. - # Corresponds to the JSON property `productPageUrl` - # @return [String] - attr_accessor :product_page_url - - # The release date of the product. For more information, see - # https://support.google.com/manufacturers/answer/6124116#release. - # Corresponds to the JSON property `releaseDate` - # @return [String] - attr_accessor :release_date - - # The item group id of the product. For more information, see - # https://support.google.com/manufacturers/answer/6124116#itemgroupid. - # Corresponds to the JSON property `itemGroupId` - # @return [String] - attr_accessor :item_group_id - - # The Global Trade Item Number (GTIN) of the product. For more information, - # see https://support.google.com/manufacturers/answer/6124116#gtin. - # Corresponds to the JSON property `gtin` - # @return [Array] - attr_accessor :gtin - - # The name of the group of products related to the product. For more - # information, see - # https://support.google.com/manufacturers/answer/6124116#productline. - # Corresponds to the JSON property `productLine` - # @return [String] - attr_accessor :product_line - - # The capacity of a product. For more information, see - # https://support.google.com/manufacturers/answer/6124116#capacity. - # Corresponds to the JSON property `capacity` - # @return [Google::Apis::ManufacturersV1::Capacity] - attr_accessor :capacity - - # The description of the product. For more information, see - # https://support.google.com/manufacturers/answer/6124116#description. - # Corresponds to the JSON property `description` - # @return [String] - attr_accessor :description - - # The target gender of the product. For more information, see - # https://support.google.com/manufacturers/answer/6124116#gender. - # Corresponds to the JSON property `gender` - # @return [String] - attr_accessor :gender - - # The size system of the product. For more information, see - # https://support.google.com/manufacturers/answer/6124116#sizesystem. - # Corresponds to the JSON property `sizeSystem` - # @return [String] - attr_accessor :size_system - - # The theme of the product. For more information, see - # https://support.google.com/manufacturers/answer/6124116#theme. - # Corresponds to the JSON property `theme` - # @return [String] - attr_accessor :theme - # The pattern of the product. For more information, see # https://support.google.com/manufacturers/answer/6124116#pattern. # Corresponds to the JSON property `pattern` @@ -542,44 +310,115 @@ module Google # @return [String] attr_accessor :brand - # The disclosure date of the product. For more information, see - # https://support.google.com/manufacturers/answer/6124116#disclosure. - # Corresponds to the JSON property `disclosureDate` - # @return [String] - attr_accessor :disclosure_date - # The material of the product. For more information, see # https://support.google.com/manufacturers/answer/6124116#material. # Corresponds to the JSON property `material` # @return [String] attr_accessor :material + # The disclosure date of the product. For more information, see + # https://support.google.com/manufacturers/answer/6124116#disclosure. + # Corresponds to the JSON property `disclosureDate` + # @return [String] + attr_accessor :disclosure_date + # The scent of the product. For more information, see # https://support.google.com/manufacturers/answer/6124116#scent. # Corresponds to the JSON property `scent` # @return [String] attr_accessor :scent + # The target age group of the product. For more information, see + # https://support.google.com/manufacturers/answer/6124116#agegroup. + # Corresponds to the JSON property `ageGroup` + # @return [String] + attr_accessor :age_group + + # The flavor of the product. For more information, see + # https://support.google.com/manufacturers/answer/6124116#flavor. + # Corresponds to the JSON property `flavor` + # @return [String] + attr_accessor :flavor + + # The details of the product. For more information, see + # https://support.google.com/manufacturers/answer/6124116#productdetail. + # Corresponds to the JSON property `productDetail` + # @return [Array] + attr_accessor :product_detail + + # The Manufacturer Part Number (MPN) of the product. For more information, + # see https://support.google.com/manufacturers/answer/6124116#mpn. + # Corresponds to the JSON property `mpn` + # @return [String] + attr_accessor :mpn + + # The URL of the detail page of the product. For more information, see + # https://support.google.com/manufacturers/answer/6124116#productpage. + # Corresponds to the JSON property `productPageUrl` + # @return [String] + attr_accessor :product_page_url + + # The release date of the product. For more information, see + # https://support.google.com/manufacturers/answer/6124116#release. + # Corresponds to the JSON property `releaseDate` + # @return [String] + attr_accessor :release_date + + # The Global Trade Item Number (GTIN) of the product. For more information, + # see https://support.google.com/manufacturers/answer/6124116#gtin. + # Corresponds to the JSON property `gtin` + # @return [Array] + attr_accessor :gtin + + # The item group id of the product. For more information, see + # https://support.google.com/manufacturers/answer/6124116#itemgroupid. + # Corresponds to the JSON property `itemGroupId` + # @return [String] + attr_accessor :item_group_id + + # The name of the group of products related to the product. For more + # information, see + # https://support.google.com/manufacturers/answer/6124116#productline. + # Corresponds to the JSON property `productLine` + # @return [String] + attr_accessor :product_line + + # The capacity of a product. For more information, see + # https://support.google.com/manufacturers/answer/6124116#capacity. + # Corresponds to the JSON property `capacity` + # @return [Google::Apis::ManufacturersV1::Capacity] + attr_accessor :capacity + + # The description of the product. For more information, see + # https://support.google.com/manufacturers/answer/6124116#description. + # Corresponds to the JSON property `description` + # @return [String] + attr_accessor :description + + # The target gender of the product. For more information, see + # https://support.google.com/manufacturers/answer/6124116#gender. + # Corresponds to the JSON property `gender` + # @return [String] + attr_accessor :gender + + # The size system of the product. For more information, see + # https://support.google.com/manufacturers/answer/6124116#sizesystem. + # Corresponds to the JSON property `sizeSystem` + # @return [String] + attr_accessor :size_system + + # The theme of the product. For more information, see + # https://support.google.com/manufacturers/answer/6124116#theme. + # Corresponds to the JSON property `theme` + # @return [String] + attr_accessor :theme + def initialize(**args) update!(**args) end # Update properties of this object def update!(**args) - @flavor = args[:flavor] if args.key?(:flavor) - @product_detail = args[:product_detail] if args.key?(:product_detail) - @age_group = args[:age_group] if args.key?(:age_group) - @mpn = args[:mpn] if args.key?(:mpn) - @product_page_url = args[:product_page_url] if args.key?(:product_page_url) - @release_date = args[:release_date] if args.key?(:release_date) - @item_group_id = args[:item_group_id] if args.key?(:item_group_id) - @gtin = args[:gtin] if args.key?(:gtin) - @product_line = args[:product_line] if args.key?(:product_line) - @capacity = args[:capacity] if args.key?(:capacity) - @description = args[:description] if args.key?(:description) - @gender = args[:gender] if args.key?(:gender) - @size_system = args[:size_system] if args.key?(:size_system) - @theme = args[:theme] if args.key?(:theme) @pattern = args[:pattern] if args.key?(:pattern) @image_link = args[:image_link] if args.key?(:image_link) @product_type = args[:product_type] if args.key?(:product_type) @@ -595,9 +434,170 @@ module Google @title = args[:title] if args.key?(:title) @count = args[:count] if args.key?(:count) @brand = args[:brand] if args.key?(:brand) - @disclosure_date = args[:disclosure_date] if args.key?(:disclosure_date) @material = args[:material] if args.key?(:material) + @disclosure_date = args[:disclosure_date] if args.key?(:disclosure_date) @scent = args[:scent] if args.key?(:scent) + @age_group = args[:age_group] if args.key?(:age_group) + @flavor = args[:flavor] if args.key?(:flavor) + @product_detail = args[:product_detail] if args.key?(:product_detail) + @mpn = args[:mpn] if args.key?(:mpn) + @product_page_url = args[:product_page_url] if args.key?(:product_page_url) + @release_date = args[:release_date] if args.key?(:release_date) + @gtin = args[:gtin] if args.key?(:gtin) + @item_group_id = args[:item_group_id] if args.key?(:item_group_id) + @product_line = args[:product_line] if args.key?(:product_line) + @capacity = args[:capacity] if args.key?(:capacity) + @description = args[:description] if args.key?(:description) + @gender = args[:gender] if args.key?(:gender) + @size_system = args[:size_system] if args.key?(:size_system) + @theme = args[:theme] if args.key?(:theme) + end + end + + # The number of products in a single package. For more information, see + # https://support.google.com/manufacturers/answer/6124116#count. + class Count + include Google::Apis::Core::Hashable + + # The numeric value of the number of products in a package. + # Corresponds to the JSON property `value` + # @return [Fixnum] + attr_accessor :value + + # The unit in which these products are counted. + # Corresponds to the JSON property `unit` + # @return [String] + attr_accessor :unit + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @value = args[:value] if args.key?(:value) + @unit = args[:unit] if args.key?(:unit) + end + end + + # Product data. + class Product + include Google::Apis::Core::Hashable + + # A server-generated list of issues associated with the product. + # @OutputOnly + # Corresponds to the JSON property `issues` + # @return [Array] + attr_accessor :issues + + # Names of the attributes of the product deleted manually via the + # Manufacturer Center UI. + # @OutputOnly + # Corresponds to the JSON property `manuallyDeletedAttributes` + # @return [Array] + attr_accessor :manually_deleted_attributes + + # Attributes of the product. For more information, see + # https://support.google.com/manufacturers/answer/6124116. + # Corresponds to the JSON property `finalAttributes` + # @return [Google::Apis::ManufacturersV1::Attributes] + attr_accessor :final_attributes + + # The ID of the product. For more information, see + # https://support.google.com/manufacturers/answer/6124116#id. + # @OutputOnly + # Corresponds to the JSON property `productId` + # @return [String] + attr_accessor :product_id + + # Attributes of the product. For more information, see + # https://support.google.com/manufacturers/answer/6124116. + # Corresponds to the JSON property `uploadedAttributes` + # @return [Google::Apis::ManufacturersV1::Attributes] + attr_accessor :uploaded_attributes + + # Parent ID in the format `accounts/`account_id``. + # `account_id` - The ID of the Manufacturer Center account. + # @OutputOnly + # Corresponds to the JSON property `parent` + # @return [String] + attr_accessor :parent + + # Attributes of the product. For more information, see + # https://support.google.com/manufacturers/answer/6124116. + # Corresponds to the JSON property `manuallyProvidedAttributes` + # @return [Google::Apis::ManufacturersV1::Attributes] + attr_accessor :manually_provided_attributes + + # The content language of the product as a two-letter ISO 639-1 language code + # (for example, en). + # @OutputOnly + # Corresponds to the JSON property `contentLanguage` + # @return [String] + attr_accessor :content_language + + # The target country of the product as a CLDR territory code (for example, + # US). + # @OutputOnly + # Corresponds to the JSON property `targetCountry` + # @return [String] + attr_accessor :target_country + + # Name in the format ``target_country`:`content_language`:`product_id``. + # `target_country` - The target country of the product as a CLDR territory + # code (for example, US). + # `content_language` - The content language of the product as a two-letter + # ISO 639-1 language code (for example, en). + # `product_id` - The ID of the product. For more information, see + # https://support.google.com/manufacturers/answer/6124116# + # id. + # @OutputOnly + # Corresponds to the JSON property `name` + # @return [String] + attr_accessor :name + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @issues = args[:issues] if args.key?(:issues) + @manually_deleted_attributes = args[:manually_deleted_attributes] if args.key?(:manually_deleted_attributes) + @final_attributes = args[:final_attributes] if args.key?(:final_attributes) + @product_id = args[:product_id] if args.key?(:product_id) + @uploaded_attributes = args[:uploaded_attributes] if args.key?(:uploaded_attributes) + @parent = args[:parent] if args.key?(:parent) + @manually_provided_attributes = args[:manually_provided_attributes] if args.key?(:manually_provided_attributes) + @content_language = args[:content_language] if args.key?(:content_language) + @target_country = args[:target_country] if args.key?(:target_country) + @name = args[:name] if args.key?(:name) + end + end + + # The capacity of a product. For more information, see + # https://support.google.com/manufacturers/answer/6124116#capacity. + class Capacity + include Google::Apis::Core::Hashable + + # The numeric value of the capacity. + # Corresponds to the JSON property `value` + # @return [Fixnum] + attr_accessor :value + + # The unit of the capacity, i.e., MB, GB, or TB. + # Corresponds to the JSON property `unit` + # @return [String] + attr_accessor :unit + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @value = args[:value] if args.key?(:value) + @unit = args[:unit] if args.key?(:unit) end end end diff --git a/generated/google/apis/manufacturers_v1/representations.rb b/generated/google/apis/manufacturers_v1/representations.rb index 108f97dcf..c5d82f242 100644 --- a/generated/google/apis/manufacturers_v1/representations.rb +++ b/generated/google/apis/manufacturers_v1/representations.rb @@ -22,24 +22,6 @@ module Google module Apis module ManufacturersV1 - class Count - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class Product - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class Capacity - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - class ListProductsResponse class Representation < Google::Apis::Core::JsonRepresentation; end @@ -83,39 +65,21 @@ module Google end class Count - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :value, as: 'value' - property :unit, as: 'unit' - end + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class Product - # @private - class Representation < Google::Apis::Core::JsonRepresentation - collection :manually_deleted_attributes, as: 'manuallyDeletedAttributes' - collection :issues, as: 'issues', class: Google::Apis::ManufacturersV1::Issue, decorator: Google::Apis::ManufacturersV1::Issue::Representation + class Representation < Google::Apis::Core::JsonRepresentation; end - property :final_attributes, as: 'finalAttributes', class: Google::Apis::ManufacturersV1::Attributes, decorator: Google::Apis::ManufacturersV1::Attributes::Representation - - property :product_id, as: 'productId' - property :uploaded_attributes, as: 'uploadedAttributes', class: Google::Apis::ManufacturersV1::Attributes, decorator: Google::Apis::ManufacturersV1::Attributes::Representation - - property :parent, as: 'parent' - property :manually_provided_attributes, as: 'manuallyProvidedAttributes', class: Google::Apis::ManufacturersV1::Attributes, decorator: Google::Apis::ManufacturersV1::Attributes::Representation - - property :content_language, as: 'contentLanguage' - property :target_country, as: 'targetCountry' - property :name, as: 'name' - end + include Google::Apis::Core::JsonObjectSupport end class Capacity - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :value, as: 'value' - property :unit, as: 'unit' - end + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class ListProductsResponse @@ -150,49 +114,33 @@ module Google class FeatureDescription # @private class Representation < Google::Apis::Core::JsonRepresentation - property :headline, as: 'headline' property :text, as: 'text' property :image, as: 'image', class: Google::Apis::ManufacturersV1::Image, decorator: Google::Apis::ManufacturersV1::Image::Representation + property :headline, as: 'headline' end end class Price # @private class Representation < Google::Apis::Core::JsonRepresentation - property :amount, as: 'amount' property :currency, as: 'currency' + property :amount, as: 'amount' end end class Image # @private class Representation < Google::Apis::Core::JsonRepresentation + property :status, as: 'status' property :type, as: 'type' property :image_url, as: 'imageUrl' - property :status, as: 'status' end end class Attributes # @private class Representation < Google::Apis::Core::JsonRepresentation - property :flavor, as: 'flavor' - collection :product_detail, as: 'productDetail', class: Google::Apis::ManufacturersV1::ProductDetail, decorator: Google::Apis::ManufacturersV1::ProductDetail::Representation - - property :age_group, as: 'ageGroup' - property :mpn, as: 'mpn' - property :product_page_url, as: 'productPageUrl' - property :release_date, as: 'releaseDate' - property :item_group_id, as: 'itemGroupId' - collection :gtin, as: 'gtin' - property :product_line, as: 'productLine' - property :capacity, as: 'capacity', class: Google::Apis::ManufacturersV1::Capacity, decorator: Google::Apis::ManufacturersV1::Capacity::Representation - - property :description, as: 'description' - property :gender, as: 'gender' - property :size_system, as: 'sizeSystem' - property :theme, as: 'theme' property :pattern, as: 'pattern' property :image_link, as: 'imageLink', class: Google::Apis::ManufacturersV1::Image, decorator: Google::Apis::ManufacturersV1::Image::Representation @@ -213,9 +161,61 @@ module Google property :count, as: 'count', class: Google::Apis::ManufacturersV1::Count, decorator: Google::Apis::ManufacturersV1::Count::Representation property :brand, as: 'brand' - property :disclosure_date, as: 'disclosureDate' property :material, as: 'material' + property :disclosure_date, as: 'disclosureDate' property :scent, as: 'scent' + property :age_group, as: 'ageGroup' + property :flavor, as: 'flavor' + collection :product_detail, as: 'productDetail', class: Google::Apis::ManufacturersV1::ProductDetail, decorator: Google::Apis::ManufacturersV1::ProductDetail::Representation + + property :mpn, as: 'mpn' + property :product_page_url, as: 'productPageUrl' + property :release_date, as: 'releaseDate' + collection :gtin, as: 'gtin' + property :item_group_id, as: 'itemGroupId' + property :product_line, as: 'productLine' + property :capacity, as: 'capacity', class: Google::Apis::ManufacturersV1::Capacity, decorator: Google::Apis::ManufacturersV1::Capacity::Representation + + property :description, as: 'description' + property :gender, as: 'gender' + property :size_system, as: 'sizeSystem' + property :theme, as: 'theme' + end + end + + class Count + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :value, :numeric_string => true, as: 'value' + property :unit, as: 'unit' + end + end + + class Product + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :issues, as: 'issues', class: Google::Apis::ManufacturersV1::Issue, decorator: Google::Apis::ManufacturersV1::Issue::Representation + + collection :manually_deleted_attributes, as: 'manuallyDeletedAttributes' + property :final_attributes, as: 'finalAttributes', class: Google::Apis::ManufacturersV1::Attributes, decorator: Google::Apis::ManufacturersV1::Attributes::Representation + + property :product_id, as: 'productId' + property :uploaded_attributes, as: 'uploadedAttributes', class: Google::Apis::ManufacturersV1::Attributes, decorator: Google::Apis::ManufacturersV1::Attributes::Representation + + property :parent, as: 'parent' + property :manually_provided_attributes, as: 'manuallyProvidedAttributes', class: Google::Apis::ManufacturersV1::Attributes, decorator: Google::Apis::ManufacturersV1::Attributes::Representation + + property :content_language, as: 'contentLanguage' + property :target_country, as: 'targetCountry' + property :name, as: 'name' + end + end + + class Capacity + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :value, :numeric_string => true, as: 'value' + property :unit, as: 'unit' end end end diff --git a/generated/google/apis/manufacturers_v1/service.rb b/generated/google/apis/manufacturers_v1/service.rb index 3e2cce9d0..14c7408db 100644 --- a/generated/google/apis/manufacturers_v1/service.rb +++ b/generated/google/apis/manufacturers_v1/service.rb @@ -44,6 +44,7 @@ module Google def initialize super('https://manufacturers.googleapis.com/', '') + @batch_path = 'batch' end # Lists all the products in a Manufacturer Center account. diff --git a/generated/google/apis/mirror_v1/service.rb b/generated/google/apis/mirror_v1/service.rb index 5f73cd6ff..32ea9079b 100644 --- a/generated/google/apis/mirror_v1/service.rb +++ b/generated/google/apis/mirror_v1/service.rb @@ -50,6 +50,7 @@ module Google def initialize super('https://www.googleapis.com/', 'mirror/v1/') + @batch_path = 'batch' end # Inserts a new account for a user diff --git a/generated/google/apis/ml_v1/classes.rb b/generated/google/apis/ml_v1/classes.rb index fe8150131..3c6492089 100644 --- a/generated/google/apis/ml_v1/classes.rb +++ b/generated/google/apis/ml_v1/classes.rb @@ -22,6 +22,1024 @@ module Google module Apis module MlV1 + # Represents a version of the model. + # Each version is a trained model deployed in the cloud, ready to handle + # prediction requests. A model can have multiple versions. You can get + # information about all of the versions of a given model by calling + # [projects.models.versions.list](/ml-engine/reference/rest/v1/projects.models. + # versions/list). + class GoogleCloudMlV1Version + include Google::Apis::Core::Hashable + + # Optional. The Google Cloud ML runtime version to use for this deployment. + # If not set, Google Cloud ML will choose a version. + # Corresponds to the JSON property `runtimeVersion` + # @return [String] + attr_accessor :runtime_version + + # Output only. The time the version was last used for prediction. + # Corresponds to the JSON property `lastUseTime` + # @return [String] + attr_accessor :last_use_time + + # Optional. The description specified for the version when it was created. + # Corresponds to the JSON property `description` + # @return [String] + attr_accessor :description + + # Required. The Google Cloud Storage location of the trained model used to + # create the version. See the + # [overview of model deployment](/ml-engine/docs/concepts/deployment-overview) + # for + # more informaiton. + # When passing Version to + # [projects.models.versions.create](/ml-engine/reference/rest/v1/projects.models. + # versions/create) + # the model service uses the specified location as the source of the model. + # Once deployed, the model version is hosted by the prediction service, so + # this location is useful only as a historical record. + # Corresponds to the JSON property `deploymentUri` + # @return [String] + attr_accessor :deployment_uri + + # Output only. If true, this version will be used to handle prediction + # requests that do not specify a version. + # You can change the default version by calling + # [projects.methods.versions.setDefault](/ml-engine/reference/rest/v1/projects. + # models.versions/setDefault). + # Corresponds to the JSON property `isDefault` + # @return [Boolean] + attr_accessor :is_default + alias_method :is_default?, :is_default + + # Output only. The time the version was created. + # Corresponds to the JSON property `createTime` + # @return [String] + attr_accessor :create_time + + # Options for manually scaling a model. + # Corresponds to the JSON property `manualScaling` + # @return [Google::Apis::MlV1::GoogleCloudMlV1ManualScaling] + attr_accessor :manual_scaling + + # Required.The name specified for the version when it was created. + # The version name must be unique within the model it is created in. + # Corresponds to the JSON property `name` + # @return [String] + attr_accessor :name + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @runtime_version = args[:runtime_version] if args.key?(:runtime_version) + @last_use_time = args[:last_use_time] if args.key?(:last_use_time) + @description = args[:description] if args.key?(:description) + @deployment_uri = args[:deployment_uri] if args.key?(:deployment_uri) + @is_default = args[:is_default] if args.key?(:is_default) + @create_time = args[:create_time] if args.key?(:create_time) + @manual_scaling = args[:manual_scaling] if args.key?(:manual_scaling) + @name = args[:name] if args.key?(:name) + end + end + + # Represents a single hyperparameter to optimize. + class GoogleCloudMlV1ParameterSpec + include Google::Apis::Core::Hashable + + # Required if type is `DOUBLE` or `INTEGER`. This field + # should be unset if type is `CATEGORICAL`. This value should be integers if + # type is INTEGER. + # Corresponds to the JSON property `minValue` + # @return [Float] + attr_accessor :min_value + + # Required if type is `DISCRETE`. + # A list of feasible points. + # The list should be in strictly increasing order. For instance, this + # parameter might have possible settings of 1.5, 2.5, and 4.0. This list + # should not contain more than 1,000 values. + # Corresponds to the JSON property `discreteValues` + # @return [Array] + attr_accessor :discrete_values + + # Optional. How the parameter should be scaled to the hypercube. + # Leave unset for categorical parameters. + # Some kind of scaling is strongly recommended for real or integral + # parameters (e.g., `UNIT_LINEAR_SCALE`). + # Corresponds to the JSON property `scaleType` + # @return [String] + attr_accessor :scale_type + + # Required if typeis `DOUBLE` or `INTEGER`. This field + # should be unset if type is `CATEGORICAL`. This value should be integers if + # type is `INTEGER`. + # Corresponds to the JSON property `maxValue` + # @return [Float] + attr_accessor :max_value + + # Required. The type of the parameter. + # Corresponds to the JSON property `type` + # @return [String] + attr_accessor :type + + # Required. The parameter name must be unique amongst all ParameterConfigs in + # a HyperparameterSpec message. E.g., "learning_rate". + # Corresponds to the JSON property `parameterName` + # @return [String] + attr_accessor :parameter_name + + # Required if type is `CATEGORICAL`. The list of possible categories. + # Corresponds to the JSON property `categoricalValues` + # @return [Array] + attr_accessor :categorical_values + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @min_value = args[:min_value] if args.key?(:min_value) + @discrete_values = args[:discrete_values] if args.key?(:discrete_values) + @scale_type = args[:scale_type] if args.key?(:scale_type) + @max_value = args[:max_value] if args.key?(:max_value) + @type = args[:type] if args.key?(:type) + @parameter_name = args[:parameter_name] if args.key?(:parameter_name) + @categorical_values = args[:categorical_values] if args.key?(:categorical_values) + end + end + + # Represents input parameters for a prediction job. + class GoogleCloudMlV1PredictionInput + include Google::Apis::Core::Hashable + + # Required. The format of the input data files. + # Corresponds to the JSON property `dataFormat` + # @return [String] + attr_accessor :data_format + + # Optional. The Google Cloud ML runtime version to use for this batch + # prediction. If not set, Google Cloud ML will pick the runtime version used + # during the CreateVersion request for this model version, or choose the + # latest stable version when model version information is not available + # such as when the model is specified by uri. + # Corresponds to the JSON property `runtimeVersion` + # @return [String] + attr_accessor :runtime_version + + # Required. The Google Cloud Storage location of the input data files. + # May contain wildcards. + # Corresponds to the JSON property `inputPaths` + # @return [Array] + attr_accessor :input_paths + + # Required. The Google Compute Engine region to run the prediction job in. + # Corresponds to the JSON property `region` + # @return [String] + attr_accessor :region + + # Use this field if you want to specify a version of the model to use. The + # string is formatted the same way as `model_version`, with the addition + # of the version information: + # `"projects/[YOUR_PROJECT]/models/YOUR_MODEL/versions/[ + # YOUR_VERSION]"` + # Corresponds to the JSON property `versionName` + # @return [String] + attr_accessor :version_name + + # Use this field if you want to use the default version for the specified + # model. The string must use the following format: + # `"projects/[YOUR_PROJECT]/models/[YOUR_MODEL]"` + # Corresponds to the JSON property `modelName` + # @return [String] + attr_accessor :model_name + + # Required. The output Google Cloud Storage location. + # Corresponds to the JSON property `outputPath` + # @return [String] + attr_accessor :output_path + + # Use this field if you want to specify a Google Cloud Storage path for + # the model to use. + # Corresponds to the JSON property `uri` + # @return [String] + attr_accessor :uri + + # Optional. The maximum number of workers to be used for parallel processing. + # Defaults to 10 if not specified. + # Corresponds to the JSON property `maxWorkerCount` + # @return [Fixnum] + attr_accessor :max_worker_count + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @data_format = args[:data_format] if args.key?(:data_format) + @runtime_version = args[:runtime_version] if args.key?(:runtime_version) + @input_paths = args[:input_paths] if args.key?(:input_paths) + @region = args[:region] if args.key?(:region) + @version_name = args[:version_name] if args.key?(:version_name) + @model_name = args[:model_name] if args.key?(:model_name) + @output_path = args[:output_path] if args.key?(:output_path) + @uri = args[:uri] if args.key?(:uri) + @max_worker_count = args[:max_worker_count] if args.key?(:max_worker_count) + end + end + + # Represents the metadata of the long-running operation. + class GoogleCloudMlV1beta1OperationMetadata + include Google::Apis::Core::Hashable + + # Indicates whether a request to cancel this operation has been made. + # Corresponds to the JSON property `isCancellationRequested` + # @return [Boolean] + attr_accessor :is_cancellation_requested + alias_method :is_cancellation_requested?, :is_cancellation_requested + + # The time the operation was submitted. + # Corresponds to the JSON property `createTime` + # @return [String] + attr_accessor :create_time + + # Contains the name of the model associated with the operation. + # Corresponds to the JSON property `modelName` + # @return [String] + attr_accessor :model_name + + # Represents a version of the model. + # Each version is a trained model deployed in the cloud, ready to handle + # prediction requests. A model can have multiple versions. You can get + # information about all of the versions of a given model by calling + # [projects.models.versions.list](/ml-engine/reference/rest/v1beta1/projects. + # models.versions/list). + # Corresponds to the JSON property `version` + # @return [Google::Apis::MlV1::GoogleCloudMlV1beta1Version] + attr_accessor :version + + # The time operation processing completed. + # Corresponds to the JSON property `endTime` + # @return [String] + attr_accessor :end_time + + # The operation type. + # Corresponds to the JSON property `operationType` + # @return [String] + attr_accessor :operation_type + + # The time operation processing started. + # Corresponds to the JSON property `startTime` + # @return [String] + attr_accessor :start_time + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @is_cancellation_requested = args[:is_cancellation_requested] if args.key?(:is_cancellation_requested) + @create_time = args[:create_time] if args.key?(:create_time) + @model_name = args[:model_name] if args.key?(:model_name) + @version = args[:version] if args.key?(:version) + @end_time = args[:end_time] if args.key?(:end_time) + @operation_type = args[:operation_type] if args.key?(:operation_type) + @start_time = args[:start_time] if args.key?(:start_time) + end + end + + # Represents the metadata of the long-running operation. + class GoogleCloudMlV1OperationMetadata + include Google::Apis::Core::Hashable + + # The time the operation was submitted. + # Corresponds to the JSON property `createTime` + # @return [String] + attr_accessor :create_time + + # Contains the name of the model associated with the operation. + # Corresponds to the JSON property `modelName` + # @return [String] + attr_accessor :model_name + + # Represents a version of the model. + # Each version is a trained model deployed in the cloud, ready to handle + # prediction requests. A model can have multiple versions. You can get + # information about all of the versions of a given model by calling + # [projects.models.versions.list](/ml-engine/reference/rest/v1/projects.models. + # versions/list). + # Corresponds to the JSON property `version` + # @return [Google::Apis::MlV1::GoogleCloudMlV1Version] + attr_accessor :version + + # The time operation processing completed. + # Corresponds to the JSON property `endTime` + # @return [String] + attr_accessor :end_time + + # The operation type. + # Corresponds to the JSON property `operationType` + # @return [String] + attr_accessor :operation_type + + # The time operation processing started. + # Corresponds to the JSON property `startTime` + # @return [String] + attr_accessor :start_time + + # Indicates whether a request to cancel this operation has been made. + # Corresponds to the JSON property `isCancellationRequested` + # @return [Boolean] + attr_accessor :is_cancellation_requested + alias_method :is_cancellation_requested?, :is_cancellation_requested + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @create_time = args[:create_time] if args.key?(:create_time) + @model_name = args[:model_name] if args.key?(:model_name) + @version = args[:version] if args.key?(:version) + @end_time = args[:end_time] if args.key?(:end_time) + @operation_type = args[:operation_type] if args.key?(:operation_type) + @start_time = args[:start_time] if args.key?(:start_time) + @is_cancellation_requested = args[:is_cancellation_requested] if args.key?(:is_cancellation_requested) + end + end + + # Represents a set of hyperparameters to optimize. + class GoogleCloudMlV1HyperparameterSpec + include Google::Apis::Core::Hashable + + # Required. The type of goal to use for tuning. Available types are + # `MAXIMIZE` and `MINIMIZE`. + # Defaults to `MAXIMIZE`. + # Corresponds to the JSON property `goal` + # @return [String] + attr_accessor :goal + + # Optional. The Tensorflow summary tag name to use for optimizing trials. For + # current versions of Tensorflow, this tag name should exactly match what is + # shown in Tensorboard, including all scopes. For versions of Tensorflow + # prior to 0.12, this should be only the tag passed to tf.Summary. + # By default, "training/hptuning/metric" will be used. + # Corresponds to the JSON property `hyperparameterMetricTag` + # @return [String] + attr_accessor :hyperparameter_metric_tag + + # Required. The set of parameters to tune. + # Corresponds to the JSON property `params` + # @return [Array] + attr_accessor :params + + # Optional. How many training trials should be attempted to optimize + # the specified hyperparameters. + # Defaults to one. + # Corresponds to the JSON property `maxTrials` + # @return [Fixnum] + attr_accessor :max_trials + + # Optional. The number of training trials to run concurrently. + # You can reduce the time it takes to perform hyperparameter tuning by adding + # trials in parallel. However, each trail only benefits from the information + # gained in completed trials. That means that a trial does not get access to + # the results of trials running at the same time, which could reduce the + # quality of the overall optimization. + # Each trial will use the same scale tier and machine types. + # Defaults to one. + # Corresponds to the JSON property `maxParallelTrials` + # @return [Fixnum] + attr_accessor :max_parallel_trials + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @goal = args[:goal] if args.key?(:goal) + @hyperparameter_metric_tag = args[:hyperparameter_metric_tag] if args.key?(:hyperparameter_metric_tag) + @params = args[:params] if args.key?(:params) + @max_trials = args[:max_trials] if args.key?(:max_trials) + @max_parallel_trials = args[:max_parallel_trials] if args.key?(:max_parallel_trials) + end + end + + # Response message for the ListJobs method. + class GoogleCloudMlV1ListJobsResponse + include Google::Apis::Core::Hashable + + # The list of jobs. + # Corresponds to the JSON property `jobs` + # @return [Array] + attr_accessor :jobs + + # Optional. Pass this token as the `page_token` field of the request for a + # subsequent call. + # Corresponds to the JSON property `nextPageToken` + # @return [String] + attr_accessor :next_page_token + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @jobs = args[:jobs] if args.key?(:jobs) + @next_page_token = args[:next_page_token] if args.key?(:next_page_token) + end + end + + # Request message for the SetDefaultVersion request. + class GoogleCloudMlV1SetDefaultVersionRequest + include Google::Apis::Core::Hashable + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + end + end + + # This resource represents a long-running operation that is the result of a + # network API call. + class GoogleLongrunningOperation + include Google::Apis::Core::Hashable + + # The `Status` type defines a logical error model that is suitable for different + # programming environments, including REST APIs and RPC APIs. It is used by + # [gRPC](https://github.com/grpc). The error model is designed to be: + # - Simple to use and understand for most users + # - Flexible enough to meet unexpected needs + # # Overview + # The `Status` message contains three pieces of data: error code, error message, + # and error details. The error code should be an enum value of + # google.rpc.Code, but it may accept additional error codes if needed. The + # error message should be a developer-facing English message that helps + # developers *understand* and *resolve* the error. If a localized user-facing + # error message is needed, put the localized message in the error details or + # localize it in the client. The optional error details may contain arbitrary + # information about the error. There is a predefined set of error detail types + # in the package `google.rpc` which can be used for common error conditions. + # # Language mapping + # The `Status` message is the logical representation of the error model, but it + # is not necessarily the actual wire format. When the `Status` message is + # exposed in different client libraries and different wire protocols, it can be + # mapped differently. For example, it will likely be mapped to some exceptions + # in Java, but more likely mapped to some error codes in C. + # # Other uses + # The error model and the `Status` message can be used in a variety of + # environments, either with or without APIs, to provide a + # consistent developer experience across different environments. + # Example uses of this error model include: + # - Partial errors. If a service needs to return partial errors to the client, + # it may embed the `Status` in the normal response to indicate the partial + # errors. + # - Workflow errors. A typical workflow has multiple steps. Each step may + # have a `Status` message for error reporting purpose. + # - Batch operations. If a client uses batch request and batch response, the + # `Status` message should be used directly inside batch response, one for + # each error sub-response. + # - Asynchronous operations. If an API call embeds asynchronous operation + # results in its response, the status of those operations should be + # represented directly using the `Status` message. + # - Logging. If some API errors are stored in logs, the message `Status` could + # be used directly after any stripping needed for security/privacy reasons. + # Corresponds to the JSON property `error` + # @return [Google::Apis::MlV1::GoogleRpcStatus] + attr_accessor :error + + # Service-specific metadata associated with the operation. It typically + # contains progress information and common metadata such as create time. + # Some services might not provide such metadata. Any method that returns a + # long-running operation should document the metadata type, if any. + # Corresponds to the JSON property `metadata` + # @return [Hash] + attr_accessor :metadata + + # If the value is `false`, it means the operation is still in progress. + # If true, the operation is completed, and either `error` or `response` is + # available. + # Corresponds to the JSON property `done` + # @return [Boolean] + attr_accessor :done + alias_method :done?, :done + + # The normal response of the operation in case of success. If the original + # method returns no data on success, such as `Delete`, the response is + # `google.protobuf.Empty`. If the original method is standard + # `Get`/`Create`/`Update`, the response should be the resource. For other + # methods, the response should have the type `XxxResponse`, where `Xxx` + # is the original method name. For example, if the original method name + # is `TakeSnapshot()`, the inferred response type is + # `TakeSnapshotResponse`. + # Corresponds to the JSON property `response` + # @return [Hash] + attr_accessor :response + + # The server-assigned name, which is only unique within the same service that + # originally returns it. If you use the default HTTP mapping, the + # `name` should have the format of `operations/some/unique/name`. + # Corresponds to the JSON property `name` + # @return [String] + attr_accessor :name + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @error = args[:error] if args.key?(:error) + @metadata = args[:metadata] if args.key?(:metadata) + @done = args[:done] if args.key?(:done) + @response = args[:response] if args.key?(:response) + @name = args[:name] if args.key?(:name) + end + end + + # Represents a machine learning solution. + # A model can have multiple versions, each of which is a deployed, trained + # model ready to receive prediction requests. The model itself is just a + # container. + class GoogleCloudMlV1Model + include Google::Apis::Core::Hashable + + # Optional. The description specified for the model when it was created. + # Corresponds to the JSON property `description` + # @return [String] + attr_accessor :description + + # Optional. If true, enables StackDriver Logging for online prediction. + # Default is false. + # Corresponds to the JSON property `onlinePredictionLogging` + # @return [Boolean] + attr_accessor :online_prediction_logging + alias_method :online_prediction_logging?, :online_prediction_logging + + # Represents a version of the model. + # Each version is a trained model deployed in the cloud, ready to handle + # prediction requests. A model can have multiple versions. You can get + # information about all of the versions of a given model by calling + # [projects.models.versions.list](/ml-engine/reference/rest/v1/projects.models. + # versions/list). + # Corresponds to the JSON property `defaultVersion` + # @return [Google::Apis::MlV1::GoogleCloudMlV1Version] + attr_accessor :default_version + + # Optional. The list of regions where the model is going to be deployed. + # Currently only one region per model is supported. + # Defaults to 'us-central1' if nothing is set. + # Note: + # * No matter where a model is deployed, it can always be accessed by + # users from anywhere, both for online and batch prediction. + # * The region for a batch prediction job is set by the region field when + # submitting the batch prediction job and does not take its value from + # this field. + # Corresponds to the JSON property `regions` + # @return [Array] + attr_accessor :regions + + # Required. The name specified for the model when it was created. + # The model name must be unique within the project it is created in. + # Corresponds to the JSON property `name` + # @return [String] + attr_accessor :name + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @description = args[:description] if args.key?(:description) + @online_prediction_logging = args[:online_prediction_logging] if args.key?(:online_prediction_logging) + @default_version = args[:default_version] if args.key?(:default_version) + @regions = args[:regions] if args.key?(:regions) + @name = args[:name] if args.key?(:name) + end + end + + # A generic empty message that you can re-use to avoid defining duplicated + # empty messages in your APIs. A typical example is to use it as the request + # or the response type of an API method. For instance: + # service Foo ` + # rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty); + # ` + # The JSON representation for `Empty` is empty JSON object ````. + class GoogleProtobufEmpty + include Google::Apis::Core::Hashable + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + end + end + + # Response message for the ListVersions method. + class GoogleCloudMlV1ListVersionsResponse + include Google::Apis::Core::Hashable + + # The list of versions. + # Corresponds to the JSON property `versions` + # @return [Array] + attr_accessor :versions + + # Optional. Pass this token as the `page_token` field of the request for a + # subsequent call. + # Corresponds to the JSON property `nextPageToken` + # @return [String] + attr_accessor :next_page_token + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @versions = args[:versions] if args.key?(:versions) + @next_page_token = args[:next_page_token] if args.key?(:next_page_token) + end + end + + # Request message for the CancelJob method. + class GoogleCloudMlV1CancelJobRequest + include Google::Apis::Core::Hashable + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + end + end + + # Options for manually scaling a model. + class GoogleCloudMlV1beta1ManualScaling + include Google::Apis::Core::Hashable + + # The number of nodes to allocate for this model. These nodes are always up, + # starting from the time the model is deployed, so the cost of operating + # this model will be proportional to nodes * number of hours since + # deployment. + # Corresponds to the JSON property `nodes` + # @return [Fixnum] + attr_accessor :nodes + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @nodes = args[:nodes] if args.key?(:nodes) + end + end + + # The `Status` type defines a logical error model that is suitable for different + # programming environments, including REST APIs and RPC APIs. It is used by + # [gRPC](https://github.com/grpc). The error model is designed to be: + # - Simple to use and understand for most users + # - Flexible enough to meet unexpected needs + # # Overview + # The `Status` message contains three pieces of data: error code, error message, + # and error details. The error code should be an enum value of + # google.rpc.Code, but it may accept additional error codes if needed. The + # error message should be a developer-facing English message that helps + # developers *understand* and *resolve* the error. If a localized user-facing + # error message is needed, put the localized message in the error details or + # localize it in the client. The optional error details may contain arbitrary + # information about the error. There is a predefined set of error detail types + # in the package `google.rpc` which can be used for common error conditions. + # # Language mapping + # The `Status` message is the logical representation of the error model, but it + # is not necessarily the actual wire format. When the `Status` message is + # exposed in different client libraries and different wire protocols, it can be + # mapped differently. For example, it will likely be mapped to some exceptions + # in Java, but more likely mapped to some error codes in C. + # # Other uses + # The error model and the `Status` message can be used in a variety of + # environments, either with or without APIs, to provide a + # consistent developer experience across different environments. + # Example uses of this error model include: + # - Partial errors. If a service needs to return partial errors to the client, + # it may embed the `Status` in the normal response to indicate the partial + # errors. + # - Workflow errors. A typical workflow has multiple steps. Each step may + # have a `Status` message for error reporting purpose. + # - Batch operations. If a client uses batch request and batch response, the + # `Status` message should be used directly inside batch response, one for + # each error sub-response. + # - Asynchronous operations. If an API call embeds asynchronous operation + # results in its response, the status of those operations should be + # represented directly using the `Status` message. + # - Logging. If some API errors are stored in logs, the message `Status` could + # be used directly after any stripping needed for security/privacy reasons. + class GoogleRpcStatus + include Google::Apis::Core::Hashable + + # The status code, which should be an enum value of google.rpc.Code. + # Corresponds to the JSON property `code` + # @return [Fixnum] + attr_accessor :code + + # A developer-facing error message, which should be in English. Any + # user-facing error message should be localized and sent in the + # google.rpc.Status.details field, or localized by the client. + # Corresponds to the JSON property `message` + # @return [String] + attr_accessor :message + + # A list of messages that carry the error details. There will be a + # common set of message types for APIs to use. + # Corresponds to the JSON property `details` + # @return [Array>] + attr_accessor :details + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @code = args[:code] if args.key?(:code) + @message = args[:message] if args.key?(:message) + @details = args[:details] if args.key?(:details) + end + end + + # Response message for the ListModels method. + class GoogleCloudMlV1ListModelsResponse + include Google::Apis::Core::Hashable + + # Optional. Pass this token as the `page_token` field of the request for a + # subsequent call. + # Corresponds to the JSON property `nextPageToken` + # @return [String] + attr_accessor :next_page_token + + # The list of models. + # Corresponds to the JSON property `models` + # @return [Array] + attr_accessor :models + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @next_page_token = args[:next_page_token] if args.key?(:next_page_token) + @models = args[:models] if args.key?(:models) + end + end + + # Represents input parameters for a training job. + class GoogleCloudMlV1TrainingInput + include Google::Apis::Core::Hashable + + # Represents a set of hyperparameters to optimize. + # Corresponds to the JSON property `hyperparameters` + # @return [Google::Apis::MlV1::GoogleCloudMlV1HyperparameterSpec] + attr_accessor :hyperparameters + + # Optional. The number of parameter server replicas to use for the training + # job. Each replica in the cluster will be of the type specified in + # `parameter_server_type`. + # This value can only be used when `scale_tier` is set to `CUSTOM`.If you + # set this value, you must also set `parameter_server_type`. + # Corresponds to the JSON property `parameterServerCount` + # @return [Fixnum] + attr_accessor :parameter_server_count + + # Required. The Google Cloud Storage location of the packages with + # the training program and any additional dependencies. + # Corresponds to the JSON property `packageUris` + # @return [Array] + attr_accessor :package_uris + + # Optional. The number of worker replicas to use for the training job. Each + # replica in the cluster will be of the type specified in `worker_type`. + # This value can only be used when `scale_tier` is set to `CUSTOM`. If you + # set this value, you must also set `worker_type`. + # Corresponds to the JSON property `workerCount` + # @return [Fixnum] + attr_accessor :worker_count + + # Optional. Specifies the type of virtual machine to use for your training + # job's master worker. + # The following types are supported: + #
+ #
standard
+ #
+ # A basic machine configuration suitable for training simple models with + # small to moderate datasets. + #
+ #
large_model
+ #
+ # A machine with a lot of memory, specially suited for parameter servers + # when your model is large (having many hidden layers or layers with very + # large numbers of nodes). + #
+ #
complex_model_s
+ #
+ # A machine suitable for the master and workers of the cluster when your + # model requires more computation than the standard machine can handle + # satisfactorily. + #
+ #
complex_model_m
+ #
+ # A machine with roughly twice the number of cores and roughly double the + # memory of complex_model_s. + #
+ #
complex_model_l
+ #
+ # A machine with roughly twice the number of cores and roughly double the + # memory of complex_model_m. + #
+ #
standard_gpu
+ #
+ # A machine equivalent to standard that + # also includes a + # + # GPU that you can use in your trainer. + #
+ #
complex_model_m_gpu
+ #
+ # A machine equivalent to + # coplex_model_m that also includes + # four GPUs. + #
+ #
+ # You must set this value when `scaleTier` is set to `CUSTOM`. + # Corresponds to the JSON property `masterType` + # @return [String] + attr_accessor :master_type + + # Optional. The Google Cloud ML runtime version to use for training. If not + # set, Google Cloud ML will choose the latest stable version. + # Corresponds to the JSON property `runtimeVersion` + # @return [String] + attr_accessor :runtime_version + + # Required. The Python module name to run after installing the packages. + # Corresponds to the JSON property `pythonModule` + # @return [String] + attr_accessor :python_module + + # Optional. Specifies the type of virtual machine to use for your training + # job's worker nodes. + # The supported values are the same as those described in the entry for + # `masterType`. + # This value must be present when `scaleTier` is set to `CUSTOM` and + # `workerCount` is greater than zero. + # Corresponds to the JSON property `workerType` + # @return [String] + attr_accessor :worker_type + + # Optional. Command line arguments to pass to the program. + # Corresponds to the JSON property `args` + # @return [Array] + attr_accessor :args + + # Required. The Google Compute Engine region to run the training job in. + # Corresponds to the JSON property `region` + # @return [String] + attr_accessor :region + + # Optional. Specifies the type of virtual machine to use for your training + # job's parameter server. + # The supported values are the same as those described in the entry for + # `master_type`. + # This value must be present when `scaleTier` is set to `CUSTOM` and + # `parameter_server_count` is greater than zero. + # Corresponds to the JSON property `parameterServerType` + # @return [String] + attr_accessor :parameter_server_type + + # Required. Specifies the machine types, the number of replicas for workers + # and parameter servers. + # Corresponds to the JSON property `scaleTier` + # @return [String] + attr_accessor :scale_tier + + # Optional. A Google Cloud Storage path in which to store training outputs + # and other data needed for training. This path is passed to your TensorFlow + # program as the 'job_dir' command-line argument. The benefit of specifying + # this field is that Cloud ML validates the path for use in training. + # Corresponds to the JSON property `jobDir` + # @return [String] + attr_accessor :job_dir + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @hyperparameters = args[:hyperparameters] if args.key?(:hyperparameters) + @parameter_server_count = args[:parameter_server_count] if args.key?(:parameter_server_count) + @package_uris = args[:package_uris] if args.key?(:package_uris) + @worker_count = args[:worker_count] if args.key?(:worker_count) + @master_type = args[:master_type] if args.key?(:master_type) + @runtime_version = args[:runtime_version] if args.key?(:runtime_version) + @python_module = args[:python_module] if args.key?(:python_module) + @worker_type = args[:worker_type] if args.key?(:worker_type) + @args = args[:args] if args.key?(:args) + @region = args[:region] if args.key?(:region) + @parameter_server_type = args[:parameter_server_type] if args.key?(:parameter_server_type) + @scale_tier = args[:scale_tier] if args.key?(:scale_tier) + @job_dir = args[:job_dir] if args.key?(:job_dir) + end + end + + # Represents a training or prediction job. + class GoogleCloudMlV1Job + include Google::Apis::Core::Hashable + + # Represents results of a prediction job. + # Corresponds to the JSON property `predictionOutput` + # @return [Google::Apis::MlV1::GoogleCloudMlV1PredictionOutput] + attr_accessor :prediction_output + + # Represents results of a training job. Output only. + # Corresponds to the JSON property `trainingOutput` + # @return [Google::Apis::MlV1::GoogleCloudMlV1TrainingOutput] + attr_accessor :training_output + + # Output only. When the job was created. + # Corresponds to the JSON property `createTime` + # @return [String] + attr_accessor :create_time + + # Represents input parameters for a training job. + # Corresponds to the JSON property `trainingInput` + # @return [Google::Apis::MlV1::GoogleCloudMlV1TrainingInput] + attr_accessor :training_input + + # Represents input parameters for a prediction job. + # Corresponds to the JSON property `predictionInput` + # @return [Google::Apis::MlV1::GoogleCloudMlV1PredictionInput] + attr_accessor :prediction_input + + # Output only. The detailed state of a job. + # Corresponds to the JSON property `state` + # @return [String] + attr_accessor :state + + # Output only. The details of a failure or a cancellation. + # Corresponds to the JSON property `errorMessage` + # @return [String] + attr_accessor :error_message + + # Required. The user-specified id of the job. + # Corresponds to the JSON property `jobId` + # @return [String] + attr_accessor :job_id + + # Output only. When the job processing was completed. + # Corresponds to the JSON property `endTime` + # @return [String] + attr_accessor :end_time + + # Output only. When the job processing was started. + # Corresponds to the JSON property `startTime` + # @return [String] + attr_accessor :start_time + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @prediction_output = args[:prediction_output] if args.key?(:prediction_output) + @training_output = args[:training_output] if args.key?(:training_output) + @create_time = args[:create_time] if args.key?(:create_time) + @training_input = args[:training_input] if args.key?(:training_input) + @prediction_input = args[:prediction_input] if args.key?(:prediction_input) + @state = args[:state] if args.key?(:state) + @error_message = args[:error_message] if args.key?(:error_message) + @job_id = args[:job_id] if args.key?(:job_id) + @end_time = args[:end_time] if args.key?(:end_time) + @start_time = args[:start_time] if args.key?(:start_time) + end + end + # Message that represents an arbitrary HTTP body. It should only be used for # payload formats that can't be represented as JSON, such as raw binary or # an HTML page. @@ -164,7 +1182,7 @@ module Google # The project number for `service_account`. # Corresponds to the JSON property `serviceAccountProject` - # @return [String] + # @return [Fixnum] attr_accessor :service_account_project # The service account Cloud ML uses to access resources in the project. @@ -190,11 +1208,6 @@ module Google class GoogleCloudMlV1HyperparameterOutput include Google::Apis::Core::Hashable - # An observed value of a metric. - # Corresponds to the JSON property `finalMetric` - # @return [Google::Apis::MlV1::GoogleCloudMlV1HyperparameterOutputHyperparameterMetric] - attr_accessor :final_metric - # The hyperparameters given to this trial. # Corresponds to the JSON property `hyperparameters` # @return [Hash] @@ -210,16 +1223,21 @@ module Google # @return [Array] attr_accessor :all_metrics + # An observed value of a metric. + # Corresponds to the JSON property `finalMetric` + # @return [Google::Apis::MlV1::GoogleCloudMlV1HyperparameterOutputHyperparameterMetric] + attr_accessor :final_metric + def initialize(**args) update!(**args) end # Update properties of this object def update!(**args) - @final_metric = args[:final_metric] if args.key?(:final_metric) @hyperparameters = args[:hyperparameters] if args.key?(:hyperparameters) @trial_id = args[:trial_id] if args.key?(:trial_id) @all_metrics = args[:all_metrics] if args.key?(:all_metrics) + @final_metric = args[:final_metric] if args.key?(:final_metric) end end @@ -227,16 +1245,6 @@ module Google class GoogleCloudMlV1PredictionOutput include Google::Apis::Core::Hashable - # The number of generated predictions. - # Corresponds to the JSON property `predictionCount` - # @return [String] - attr_accessor :prediction_count - - # The number of data instances which resulted in errors. - # Corresponds to the JSON property `errorCount` - # @return [String] - attr_accessor :error_count - # The output Google Cloud Storage location provided at the job creation time. # Corresponds to the JSON property `outputPath` # @return [String] @@ -247,16 +1255,26 @@ module Google # @return [Float] attr_accessor :node_hours + # The number of generated predictions. + # Corresponds to the JSON property `predictionCount` + # @return [Fixnum] + attr_accessor :prediction_count + + # The number of data instances which resulted in errors. + # Corresponds to the JSON property `errorCount` + # @return [Fixnum] + attr_accessor :error_count + def initialize(**args) update!(**args) end # Update properties of this object def update!(**args) - @prediction_count = args[:prediction_count] if args.key?(:prediction_count) - @error_count = args[:error_count] if args.key?(:error_count) @output_path = args[:output_path] if args.key?(:output_path) @node_hours = args[:node_hours] if args.key?(:node_hours) + @prediction_count = args[:prediction_count] if args.key?(:prediction_count) + @error_count = args[:error_count] if args.key?(:error_count) end end @@ -311,10 +1329,16 @@ module Google class GoogleCloudMlV1TrainingOutput include Google::Apis::Core::Hashable + # Results for individual Hyperparameter trials. + # Only set for hyperparameter tuning jobs. + # Corresponds to the JSON property `trials` + # @return [Array] + attr_accessor :trials + # The number of hyperparameter tuning trials that completed successfully. # Only set for hyperparameter tuning jobs. # Corresponds to the JSON property `completedTrialCount` - # @return [String] + # @return [Fixnum] attr_accessor :completed_trial_count # Whether this job is a hyperparameter tuning job. @@ -328,22 +1352,16 @@ module Google # @return [Float] attr_accessor :consumed_ml_units - # Results for individual Hyperparameter trials. - # Only set for hyperparameter tuning jobs. - # Corresponds to the JSON property `trials` - # @return [Array] - attr_accessor :trials - def initialize(**args) update!(**args) end # Update properties of this object def update!(**args) + @trials = args[:trials] if args.key?(:trials) @completed_trial_count = args[:completed_trial_count] if args.key?(:completed_trial_count) @is_hyperparameter_tuning_job = args[:is_hyperparameter_tuning_job] if args.key?(:is_hyperparameter_tuning_job) @consumed_ml_units = args[:consumed_ml_units] if args.key?(:consumed_ml_units) - @trials = args[:trials] if args.key?(:trials) end end @@ -576,7 +1594,7 @@ module Google # The global training step for this metric. # Corresponds to the JSON property `trainingStep` - # @return [String] + # @return [Fixnum] attr_accessor :training_step # The objective value at this training step. @@ -594,1024 +1612,6 @@ module Google @objective_value = args[:objective_value] if args.key?(:objective_value) end end - - # Represents a version of the model. - # Each version is a trained model deployed in the cloud, ready to handle - # prediction requests. A model can have multiple versions. You can get - # information about all of the versions of a given model by calling - # [projects.models.versions.list](/ml-engine/reference/rest/v1/projects.models. - # versions/list). - class GoogleCloudMlV1Version - include Google::Apis::Core::Hashable - - # Optional. The Google Cloud ML runtime version to use for this deployment. - # If not set, Google Cloud ML will choose a version. - # Corresponds to the JSON property `runtimeVersion` - # @return [String] - attr_accessor :runtime_version - - # Output only. The time the version was last used for prediction. - # Corresponds to the JSON property `lastUseTime` - # @return [String] - attr_accessor :last_use_time - - # Optional. The description specified for the version when it was created. - # Corresponds to the JSON property `description` - # @return [String] - attr_accessor :description - - # Required. The Google Cloud Storage location of the trained model used to - # create the version. See the - # [overview of model deployment](/ml-engine/docs/concepts/deployment-overview) - # for - # more informaiton. - # When passing Version to - # [projects.models.versions.create](/ml-engine/reference/rest/v1/projects.models. - # versions/create) - # the model service uses the specified location as the source of the model. - # Once deployed, the model version is hosted by the prediction service, so - # this location is useful only as a historical record. - # Corresponds to the JSON property `deploymentUri` - # @return [String] - attr_accessor :deployment_uri - - # Output only. If true, this version will be used to handle prediction - # requests that do not specify a version. - # You can change the default version by calling - # [projects.methods.versions.setDefault](/ml-engine/reference/rest/v1/projects. - # models.versions/setDefault). - # Corresponds to the JSON property `isDefault` - # @return [Boolean] - attr_accessor :is_default - alias_method :is_default?, :is_default - - # Output only. The time the version was created. - # Corresponds to the JSON property `createTime` - # @return [String] - attr_accessor :create_time - - # Options for manually scaling a model. - # Corresponds to the JSON property `manualScaling` - # @return [Google::Apis::MlV1::GoogleCloudMlV1ManualScaling] - attr_accessor :manual_scaling - - # Required.The name specified for the version when it was created. - # The version name must be unique within the model it is created in. - # Corresponds to the JSON property `name` - # @return [String] - attr_accessor :name - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @runtime_version = args[:runtime_version] if args.key?(:runtime_version) - @last_use_time = args[:last_use_time] if args.key?(:last_use_time) - @description = args[:description] if args.key?(:description) - @deployment_uri = args[:deployment_uri] if args.key?(:deployment_uri) - @is_default = args[:is_default] if args.key?(:is_default) - @create_time = args[:create_time] if args.key?(:create_time) - @manual_scaling = args[:manual_scaling] if args.key?(:manual_scaling) - @name = args[:name] if args.key?(:name) - end - end - - # Represents a single hyperparameter to optimize. - class GoogleCloudMlV1ParameterSpec - include Google::Apis::Core::Hashable - - # Required if type is `CATEGORICAL`. The list of possible categories. - # Corresponds to the JSON property `categoricalValues` - # @return [Array] - attr_accessor :categorical_values - - # Required. The parameter name must be unique amongst all ParameterConfigs in - # a HyperparameterSpec message. E.g., "learning_rate". - # Corresponds to the JSON property `parameterName` - # @return [String] - attr_accessor :parameter_name - - # Required if type is `DOUBLE` or `INTEGER`. This field - # should be unset if type is `CATEGORICAL`. This value should be integers if - # type is INTEGER. - # Corresponds to the JSON property `minValue` - # @return [Float] - attr_accessor :min_value - - # Required if type is `DISCRETE`. - # A list of feasible points. - # The list should be in strictly increasing order. For instance, this - # parameter might have possible settings of 1.5, 2.5, and 4.0. This list - # should not contain more than 1,000 values. - # Corresponds to the JSON property `discreteValues` - # @return [Array] - attr_accessor :discrete_values - - # Optional. How the parameter should be scaled to the hypercube. - # Leave unset for categorical parameters. - # Some kind of scaling is strongly recommended for real or integral - # parameters (e.g., `UNIT_LINEAR_SCALE`). - # Corresponds to the JSON property `scaleType` - # @return [String] - attr_accessor :scale_type - - # Required if typeis `DOUBLE` or `INTEGER`. This field - # should be unset if type is `CATEGORICAL`. This value should be integers if - # type is `INTEGER`. - # Corresponds to the JSON property `maxValue` - # @return [Float] - attr_accessor :max_value - - # Required. The type of the parameter. - # Corresponds to the JSON property `type` - # @return [String] - attr_accessor :type - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @categorical_values = args[:categorical_values] if args.key?(:categorical_values) - @parameter_name = args[:parameter_name] if args.key?(:parameter_name) - @min_value = args[:min_value] if args.key?(:min_value) - @discrete_values = args[:discrete_values] if args.key?(:discrete_values) - @scale_type = args[:scale_type] if args.key?(:scale_type) - @max_value = args[:max_value] if args.key?(:max_value) - @type = args[:type] if args.key?(:type) - end - end - - # Represents input parameters for a prediction job. - class GoogleCloudMlV1PredictionInput - include Google::Apis::Core::Hashable - - # Use this field if you want to specify a version of the model to use. The - # string is formatted the same way as `model_version`, with the addition - # of the version information: - # `"projects/[YOUR_PROJECT]/models/YOUR_MODEL/versions/[ - # YOUR_VERSION]"` - # Corresponds to the JSON property `versionName` - # @return [String] - attr_accessor :version_name - - # Use this field if you want to use the default version for the specified - # model. The string must use the following format: - # `"projects/[YOUR_PROJECT]/models/[YOUR_MODEL]"` - # Corresponds to the JSON property `modelName` - # @return [String] - attr_accessor :model_name - - # Required. The output Google Cloud Storage location. - # Corresponds to the JSON property `outputPath` - # @return [String] - attr_accessor :output_path - - # Use this field if you want to specify a Google Cloud Storage path for - # the model to use. - # Corresponds to the JSON property `uri` - # @return [String] - attr_accessor :uri - - # Optional. The maximum number of workers to be used for parallel processing. - # Defaults to 10 if not specified. - # Corresponds to the JSON property `maxWorkerCount` - # @return [String] - attr_accessor :max_worker_count - - # Required. The format of the input data files. - # Corresponds to the JSON property `dataFormat` - # @return [String] - attr_accessor :data_format - - # Optional. The Google Cloud ML runtime version to use for this batch - # prediction. If not set, Google Cloud ML will pick the runtime version used - # during the CreateVersion request for this model version, or choose the - # latest stable version when model version information is not available - # such as when the model is specified by uri. - # Corresponds to the JSON property `runtimeVersion` - # @return [String] - attr_accessor :runtime_version - - # Required. The Google Cloud Storage location of the input data files. - # May contain wildcards. - # Corresponds to the JSON property `inputPaths` - # @return [Array] - attr_accessor :input_paths - - # Required. The Google Compute Engine region to run the prediction job in. - # Corresponds to the JSON property `region` - # @return [String] - attr_accessor :region - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @version_name = args[:version_name] if args.key?(:version_name) - @model_name = args[:model_name] if args.key?(:model_name) - @output_path = args[:output_path] if args.key?(:output_path) - @uri = args[:uri] if args.key?(:uri) - @max_worker_count = args[:max_worker_count] if args.key?(:max_worker_count) - @data_format = args[:data_format] if args.key?(:data_format) - @runtime_version = args[:runtime_version] if args.key?(:runtime_version) - @input_paths = args[:input_paths] if args.key?(:input_paths) - @region = args[:region] if args.key?(:region) - end - end - - # Represents the metadata of the long-running operation. - class GoogleCloudMlV1OperationMetadata - include Google::Apis::Core::Hashable - - # Contains the name of the model associated with the operation. - # Corresponds to the JSON property `modelName` - # @return [String] - attr_accessor :model_name - - # Represents a version of the model. - # Each version is a trained model deployed in the cloud, ready to handle - # prediction requests. A model can have multiple versions. You can get - # information about all of the versions of a given model by calling - # [projects.models.versions.list](/ml-engine/reference/rest/v1/projects.models. - # versions/list). - # Corresponds to the JSON property `version` - # @return [Google::Apis::MlV1::GoogleCloudMlV1Version] - attr_accessor :version - - # The time operation processing completed. - # Corresponds to the JSON property `endTime` - # @return [String] - attr_accessor :end_time - - # The operation type. - # Corresponds to the JSON property `operationType` - # @return [String] - attr_accessor :operation_type - - # The time operation processing started. - # Corresponds to the JSON property `startTime` - # @return [String] - attr_accessor :start_time - - # Indicates whether a request to cancel this operation has been made. - # Corresponds to the JSON property `isCancellationRequested` - # @return [Boolean] - attr_accessor :is_cancellation_requested - alias_method :is_cancellation_requested?, :is_cancellation_requested - - # The time the operation was submitted. - # Corresponds to the JSON property `createTime` - # @return [String] - attr_accessor :create_time - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @model_name = args[:model_name] if args.key?(:model_name) - @version = args[:version] if args.key?(:version) - @end_time = args[:end_time] if args.key?(:end_time) - @operation_type = args[:operation_type] if args.key?(:operation_type) - @start_time = args[:start_time] if args.key?(:start_time) - @is_cancellation_requested = args[:is_cancellation_requested] if args.key?(:is_cancellation_requested) - @create_time = args[:create_time] if args.key?(:create_time) - end - end - - # Represents the metadata of the long-running operation. - class GoogleCloudMlV1beta1OperationMetadata - include Google::Apis::Core::Hashable - - # The operation type. - # Corresponds to the JSON property `operationType` - # @return [String] - attr_accessor :operation_type - - # The time operation processing started. - # Corresponds to the JSON property `startTime` - # @return [String] - attr_accessor :start_time - - # Indicates whether a request to cancel this operation has been made. - # Corresponds to the JSON property `isCancellationRequested` - # @return [Boolean] - attr_accessor :is_cancellation_requested - alias_method :is_cancellation_requested?, :is_cancellation_requested - - # The time the operation was submitted. - # Corresponds to the JSON property `createTime` - # @return [String] - attr_accessor :create_time - - # Contains the name of the model associated with the operation. - # Corresponds to the JSON property `modelName` - # @return [String] - attr_accessor :model_name - - # Represents a version of the model. - # Each version is a trained model deployed in the cloud, ready to handle - # prediction requests. A model can have multiple versions. You can get - # information about all of the versions of a given model by calling - # [projects.models.versions.list](/ml-engine/reference/rest/v1beta1/projects. - # models.versions/list). - # Corresponds to the JSON property `version` - # @return [Google::Apis::MlV1::GoogleCloudMlV1beta1Version] - attr_accessor :version - - # The time operation processing completed. - # Corresponds to the JSON property `endTime` - # @return [String] - attr_accessor :end_time - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @operation_type = args[:operation_type] if args.key?(:operation_type) - @start_time = args[:start_time] if args.key?(:start_time) - @is_cancellation_requested = args[:is_cancellation_requested] if args.key?(:is_cancellation_requested) - @create_time = args[:create_time] if args.key?(:create_time) - @model_name = args[:model_name] if args.key?(:model_name) - @version = args[:version] if args.key?(:version) - @end_time = args[:end_time] if args.key?(:end_time) - end - end - - # Represents a set of hyperparameters to optimize. - class GoogleCloudMlV1HyperparameterSpec - include Google::Apis::Core::Hashable - - # Required. The set of parameters to tune. - # Corresponds to the JSON property `params` - # @return [Array] - attr_accessor :params - - # Optional. How many training trials should be attempted to optimize - # the specified hyperparameters. - # Defaults to one. - # Corresponds to the JSON property `maxTrials` - # @return [Fixnum] - attr_accessor :max_trials - - # Optional. The number of training trials to run concurrently. - # You can reduce the time it takes to perform hyperparameter tuning by adding - # trials in parallel. However, each trail only benefits from the information - # gained in completed trials. That means that a trial does not get access to - # the results of trials running at the same time, which could reduce the - # quality of the overall optimization. - # Each trial will use the same scale tier and machine types. - # Defaults to one. - # Corresponds to the JSON property `maxParallelTrials` - # @return [Fixnum] - attr_accessor :max_parallel_trials - - # Required. The type of goal to use for tuning. Available types are - # `MAXIMIZE` and `MINIMIZE`. - # Defaults to `MAXIMIZE`. - # Corresponds to the JSON property `goal` - # @return [String] - attr_accessor :goal - - # Optional. The Tensorflow summary tag name to use for optimizing trials. For - # current versions of Tensorflow, this tag name should exactly match what is - # shown in Tensorboard, including all scopes. For versions of Tensorflow - # prior to 0.12, this should be only the tag passed to tf.Summary. - # By default, "training/hptuning/metric" will be used. - # Corresponds to the JSON property `hyperparameterMetricTag` - # @return [String] - attr_accessor :hyperparameter_metric_tag - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @params = args[:params] if args.key?(:params) - @max_trials = args[:max_trials] if args.key?(:max_trials) - @max_parallel_trials = args[:max_parallel_trials] if args.key?(:max_parallel_trials) - @goal = args[:goal] if args.key?(:goal) - @hyperparameter_metric_tag = args[:hyperparameter_metric_tag] if args.key?(:hyperparameter_metric_tag) - end - end - - # Response message for the ListJobs method. - class GoogleCloudMlV1ListJobsResponse - include Google::Apis::Core::Hashable - - # The list of jobs. - # Corresponds to the JSON property `jobs` - # @return [Array] - attr_accessor :jobs - - # Optional. Pass this token as the `page_token` field of the request for a - # subsequent call. - # Corresponds to the JSON property `nextPageToken` - # @return [String] - attr_accessor :next_page_token - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @jobs = args[:jobs] if args.key?(:jobs) - @next_page_token = args[:next_page_token] if args.key?(:next_page_token) - end - end - - # Request message for the SetDefaultVersion request. - class GoogleCloudMlV1SetDefaultVersionRequest - include Google::Apis::Core::Hashable - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - end - end - - # This resource represents a long-running operation that is the result of a - # network API call. - class GoogleLongrunningOperation - include Google::Apis::Core::Hashable - - # If the value is `false`, it means the operation is still in progress. - # If true, the operation is completed, and either `error` or `response` is - # available. - # Corresponds to the JSON property `done` - # @return [Boolean] - attr_accessor :done - alias_method :done?, :done - - # The normal response of the operation in case of success. If the original - # method returns no data on success, such as `Delete`, the response is - # `google.protobuf.Empty`. If the original method is standard - # `Get`/`Create`/`Update`, the response should be the resource. For other - # methods, the response should have the type `XxxResponse`, where `Xxx` - # is the original method name. For example, if the original method name - # is `TakeSnapshot()`, the inferred response type is - # `TakeSnapshotResponse`. - # Corresponds to the JSON property `response` - # @return [Hash] - attr_accessor :response - - # The server-assigned name, which is only unique within the same service that - # originally returns it. If you use the default HTTP mapping, the - # `name` should have the format of `operations/some/unique/name`. - # Corresponds to the JSON property `name` - # @return [String] - attr_accessor :name - - # The `Status` type defines a logical error model that is suitable for different - # programming environments, including REST APIs and RPC APIs. It is used by - # [gRPC](https://github.com/grpc). The error model is designed to be: - # - Simple to use and understand for most users - # - Flexible enough to meet unexpected needs - # # Overview - # The `Status` message contains three pieces of data: error code, error message, - # and error details. The error code should be an enum value of - # google.rpc.Code, but it may accept additional error codes if needed. The - # error message should be a developer-facing English message that helps - # developers *understand* and *resolve* the error. If a localized user-facing - # error message is needed, put the localized message in the error details or - # localize it in the client. The optional error details may contain arbitrary - # information about the error. There is a predefined set of error detail types - # in the package `google.rpc` which can be used for common error conditions. - # # Language mapping - # The `Status` message is the logical representation of the error model, but it - # is not necessarily the actual wire format. When the `Status` message is - # exposed in different client libraries and different wire protocols, it can be - # mapped differently. For example, it will likely be mapped to some exceptions - # in Java, but more likely mapped to some error codes in C. - # # Other uses - # The error model and the `Status` message can be used in a variety of - # environments, either with or without APIs, to provide a - # consistent developer experience across different environments. - # Example uses of this error model include: - # - Partial errors. If a service needs to return partial errors to the client, - # it may embed the `Status` in the normal response to indicate the partial - # errors. - # - Workflow errors. A typical workflow has multiple steps. Each step may - # have a `Status` message for error reporting purpose. - # - Batch operations. If a client uses batch request and batch response, the - # `Status` message should be used directly inside batch response, one for - # each error sub-response. - # - Asynchronous operations. If an API call embeds asynchronous operation - # results in its response, the status of those operations should be - # represented directly using the `Status` message. - # - Logging. If some API errors are stored in logs, the message `Status` could - # be used directly after any stripping needed for security/privacy reasons. - # Corresponds to the JSON property `error` - # @return [Google::Apis::MlV1::GoogleRpcStatus] - attr_accessor :error - - # Service-specific metadata associated with the operation. It typically - # contains progress information and common metadata such as create time. - # Some services might not provide such metadata. Any method that returns a - # long-running operation should document the metadata type, if any. - # Corresponds to the JSON property `metadata` - # @return [Hash] - attr_accessor :metadata - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @done = args[:done] if args.key?(:done) - @response = args[:response] if args.key?(:response) - @name = args[:name] if args.key?(:name) - @error = args[:error] if args.key?(:error) - @metadata = args[:metadata] if args.key?(:metadata) - end - end - - # Represents a machine learning solution. - # A model can have multiple versions, each of which is a deployed, trained - # model ready to receive prediction requests. The model itself is just a - # container. - class GoogleCloudMlV1Model - include Google::Apis::Core::Hashable - - # Represents a version of the model. - # Each version is a trained model deployed in the cloud, ready to handle - # prediction requests. A model can have multiple versions. You can get - # information about all of the versions of a given model by calling - # [projects.models.versions.list](/ml-engine/reference/rest/v1/projects.models. - # versions/list). - # Corresponds to the JSON property `defaultVersion` - # @return [Google::Apis::MlV1::GoogleCloudMlV1Version] - attr_accessor :default_version - - # Optional. The list of regions where the model is going to be deployed. - # Currently only one region per model is supported. - # Defaults to 'us-central1' if nothing is set. - # Note: - # * No matter where a model is deployed, it can always be accessed by - # users from anywhere, both for online and batch prediction. - # * The region for a batch prediction job is set by the region field when - # submitting the batch prediction job and does not take its value from - # this field. - # Corresponds to the JSON property `regions` - # @return [Array] - attr_accessor :regions - - # Required. The name specified for the model when it was created. - # The model name must be unique within the project it is created in. - # Corresponds to the JSON property `name` - # @return [String] - attr_accessor :name - - # Optional. The description specified for the model when it was created. - # Corresponds to the JSON property `description` - # @return [String] - attr_accessor :description - - # Optional. If true, enables StackDriver Logging for online prediction. - # Default is false. - # Corresponds to the JSON property `onlinePredictionLogging` - # @return [Boolean] - attr_accessor :online_prediction_logging - alias_method :online_prediction_logging?, :online_prediction_logging - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @default_version = args[:default_version] if args.key?(:default_version) - @regions = args[:regions] if args.key?(:regions) - @name = args[:name] if args.key?(:name) - @description = args[:description] if args.key?(:description) - @online_prediction_logging = args[:online_prediction_logging] if args.key?(:online_prediction_logging) - end - end - - # A generic empty message that you can re-use to avoid defining duplicated - # empty messages in your APIs. A typical example is to use it as the request - # or the response type of an API method. For instance: - # service Foo ` - # rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty); - # ` - # The JSON representation for `Empty` is empty JSON object ````. - class GoogleProtobufEmpty - include Google::Apis::Core::Hashable - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - end - end - - # Request message for the CancelJob method. - class GoogleCloudMlV1CancelJobRequest - include Google::Apis::Core::Hashable - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - end - end - - # Response message for the ListVersions method. - class GoogleCloudMlV1ListVersionsResponse - include Google::Apis::Core::Hashable - - # Optional. Pass this token as the `page_token` field of the request for a - # subsequent call. - # Corresponds to the JSON property `nextPageToken` - # @return [String] - attr_accessor :next_page_token - - # The list of versions. - # Corresponds to the JSON property `versions` - # @return [Array] - attr_accessor :versions - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @next_page_token = args[:next_page_token] if args.key?(:next_page_token) - @versions = args[:versions] if args.key?(:versions) - end - end - - # Options for manually scaling a model. - class GoogleCloudMlV1beta1ManualScaling - include Google::Apis::Core::Hashable - - # The number of nodes to allocate for this model. These nodes are always up, - # starting from the time the model is deployed, so the cost of operating - # this model will be proportional to nodes * number of hours since - # deployment. - # Corresponds to the JSON property `nodes` - # @return [Fixnum] - attr_accessor :nodes - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @nodes = args[:nodes] if args.key?(:nodes) - end - end - - # The `Status` type defines a logical error model that is suitable for different - # programming environments, including REST APIs and RPC APIs. It is used by - # [gRPC](https://github.com/grpc). The error model is designed to be: - # - Simple to use and understand for most users - # - Flexible enough to meet unexpected needs - # # Overview - # The `Status` message contains three pieces of data: error code, error message, - # and error details. The error code should be an enum value of - # google.rpc.Code, but it may accept additional error codes if needed. The - # error message should be a developer-facing English message that helps - # developers *understand* and *resolve* the error. If a localized user-facing - # error message is needed, put the localized message in the error details or - # localize it in the client. The optional error details may contain arbitrary - # information about the error. There is a predefined set of error detail types - # in the package `google.rpc` which can be used for common error conditions. - # # Language mapping - # The `Status` message is the logical representation of the error model, but it - # is not necessarily the actual wire format. When the `Status` message is - # exposed in different client libraries and different wire protocols, it can be - # mapped differently. For example, it will likely be mapped to some exceptions - # in Java, but more likely mapped to some error codes in C. - # # Other uses - # The error model and the `Status` message can be used in a variety of - # environments, either with or without APIs, to provide a - # consistent developer experience across different environments. - # Example uses of this error model include: - # - Partial errors. If a service needs to return partial errors to the client, - # it may embed the `Status` in the normal response to indicate the partial - # errors. - # - Workflow errors. A typical workflow has multiple steps. Each step may - # have a `Status` message for error reporting purpose. - # - Batch operations. If a client uses batch request and batch response, the - # `Status` message should be used directly inside batch response, one for - # each error sub-response. - # - Asynchronous operations. If an API call embeds asynchronous operation - # results in its response, the status of those operations should be - # represented directly using the `Status` message. - # - Logging. If some API errors are stored in logs, the message `Status` could - # be used directly after any stripping needed for security/privacy reasons. - class GoogleRpcStatus - include Google::Apis::Core::Hashable - - # A list of messages that carry the error details. There will be a - # common set of message types for APIs to use. - # Corresponds to the JSON property `details` - # @return [Array>] - attr_accessor :details - - # The status code, which should be an enum value of google.rpc.Code. - # Corresponds to the JSON property `code` - # @return [Fixnum] - attr_accessor :code - - # A developer-facing error message, which should be in English. Any - # user-facing error message should be localized and sent in the - # google.rpc.Status.details field, or localized by the client. - # Corresponds to the JSON property `message` - # @return [String] - attr_accessor :message - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @details = args[:details] if args.key?(:details) - @code = args[:code] if args.key?(:code) - @message = args[:message] if args.key?(:message) - end - end - - # Represents input parameters for a training job. - class GoogleCloudMlV1TrainingInput - include Google::Apis::Core::Hashable - - # Required. Specifies the machine types, the number of replicas for workers - # and parameter servers. - # Corresponds to the JSON property `scaleTier` - # @return [String] - attr_accessor :scale_tier - - # Optional. A Google Cloud Storage path in which to store training outputs - # and other data needed for training. This path is passed to your TensorFlow - # program as the 'job_dir' command-line argument. The benefit of specifying - # this field is that Cloud ML validates the path for use in training. - # Corresponds to the JSON property `jobDir` - # @return [String] - attr_accessor :job_dir - - # Represents a set of hyperparameters to optimize. - # Corresponds to the JSON property `hyperparameters` - # @return [Google::Apis::MlV1::GoogleCloudMlV1HyperparameterSpec] - attr_accessor :hyperparameters - - # Optional. The number of parameter server replicas to use for the training - # job. Each replica in the cluster will be of the type specified in - # `parameter_server_type`. - # This value can only be used when `scale_tier` is set to `CUSTOM`.If you - # set this value, you must also set `parameter_server_type`. - # Corresponds to the JSON property `parameterServerCount` - # @return [String] - attr_accessor :parameter_server_count - - # Required. The Google Cloud Storage location of the packages with - # the training program and any additional dependencies. - # Corresponds to the JSON property `packageUris` - # @return [Array] - attr_accessor :package_uris - - # Optional. The number of worker replicas to use for the training job. Each - # replica in the cluster will be of the type specified in `worker_type`. - # This value can only be used when `scale_tier` is set to `CUSTOM`. If you - # set this value, you must also set `worker_type`. - # Corresponds to the JSON property `workerCount` - # @return [String] - attr_accessor :worker_count - - # Optional. Specifies the type of virtual machine to use for your training - # job's master worker. - # The following types are supported: - #
- #
standard
- #
- # A basic machine configuration suitable for training simple models with - # small to moderate datasets. - #
- #
large_model
- #
- # A machine with a lot of memory, specially suited for parameter servers - # when your model is large (having many hidden layers or layers with very - # large numbers of nodes). - #
- #
complex_model_s
- #
- # A machine suitable for the master and workers of the cluster when your - # model requires more computation than the standard machine can handle - # satisfactorily. - #
- #
complex_model_m
- #
- # A machine with roughly twice the number of cores and roughly double the - # memory of complex_model_s. - #
- #
complex_model_l
- #
- # A machine with roughly twice the number of cores and roughly double the - # memory of complex_model_m. - #
- #
standard_gpu
- #
- # A machine equivalent to standard that - # also includes a - # - # GPU that you can use in your trainer. - #
- #
complex_model_m_gpu
- #
- # A machine equivalent to - # coplex_model_m that also includes - # four GPUs. - #
- #
- # You must set this value when `scaleTier` is set to `CUSTOM`. - # Corresponds to the JSON property `masterType` - # @return [String] - attr_accessor :master_type - - # Optional. The Google Cloud ML runtime version to use for training. If not - # set, Google Cloud ML will choose the latest stable version. - # Corresponds to the JSON property `runtimeVersion` - # @return [String] - attr_accessor :runtime_version - - # Required. The Python module name to run after installing the packages. - # Corresponds to the JSON property `pythonModule` - # @return [String] - attr_accessor :python_module - - # Required. The Google Compute Engine region to run the training job in. - # Corresponds to the JSON property `region` - # @return [String] - attr_accessor :region - - # Optional. Command line arguments to pass to the program. - # Corresponds to the JSON property `args` - # @return [Array] - attr_accessor :args - - # Optional. Specifies the type of virtual machine to use for your training - # job's worker nodes. - # The supported values are the same as those described in the entry for - # `masterType`. - # This value must be present when `scaleTier` is set to `CUSTOM` and - # `workerCount` is greater than zero. - # Corresponds to the JSON property `workerType` - # @return [String] - attr_accessor :worker_type - - # Optional. Specifies the type of virtual machine to use for your training - # job's parameter server. - # The supported values are the same as those described in the entry for - # `master_type`. - # This value must be present when `scaleTier` is set to `CUSTOM` and - # `parameter_server_count` is greater than zero. - # Corresponds to the JSON property `parameterServerType` - # @return [String] - attr_accessor :parameter_server_type - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @scale_tier = args[:scale_tier] if args.key?(:scale_tier) - @job_dir = args[:job_dir] if args.key?(:job_dir) - @hyperparameters = args[:hyperparameters] if args.key?(:hyperparameters) - @parameter_server_count = args[:parameter_server_count] if args.key?(:parameter_server_count) - @package_uris = args[:package_uris] if args.key?(:package_uris) - @worker_count = args[:worker_count] if args.key?(:worker_count) - @master_type = args[:master_type] if args.key?(:master_type) - @runtime_version = args[:runtime_version] if args.key?(:runtime_version) - @python_module = args[:python_module] if args.key?(:python_module) - @region = args[:region] if args.key?(:region) - @args = args[:args] if args.key?(:args) - @worker_type = args[:worker_type] if args.key?(:worker_type) - @parameter_server_type = args[:parameter_server_type] if args.key?(:parameter_server_type) - end - end - - # Response message for the ListModels method. - class GoogleCloudMlV1ListModelsResponse - include Google::Apis::Core::Hashable - - # Optional. Pass this token as the `page_token` field of the request for a - # subsequent call. - # Corresponds to the JSON property `nextPageToken` - # @return [String] - attr_accessor :next_page_token - - # The list of models. - # Corresponds to the JSON property `models` - # @return [Array] - attr_accessor :models - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @next_page_token = args[:next_page_token] if args.key?(:next_page_token) - @models = args[:models] if args.key?(:models) - end - end - - # Represents a training or prediction job. - class GoogleCloudMlV1Job - include Google::Apis::Core::Hashable - - # Output only. When the job processing was completed. - # Corresponds to the JSON property `endTime` - # @return [String] - attr_accessor :end_time - - # Output only. When the job processing was started. - # Corresponds to the JSON property `startTime` - # @return [String] - attr_accessor :start_time - - # Represents results of a prediction job. - # Corresponds to the JSON property `predictionOutput` - # @return [Google::Apis::MlV1::GoogleCloudMlV1PredictionOutput] - attr_accessor :prediction_output - - # Represents results of a training job. Output only. - # Corresponds to the JSON property `trainingOutput` - # @return [Google::Apis::MlV1::GoogleCloudMlV1TrainingOutput] - attr_accessor :training_output - - # Output only. When the job was created. - # Corresponds to the JSON property `createTime` - # @return [String] - attr_accessor :create_time - - # Represents input parameters for a training job. - # Corresponds to the JSON property `trainingInput` - # @return [Google::Apis::MlV1::GoogleCloudMlV1TrainingInput] - attr_accessor :training_input - - # Output only. The detailed state of a job. - # Corresponds to the JSON property `state` - # @return [String] - attr_accessor :state - - # Represents input parameters for a prediction job. - # Corresponds to the JSON property `predictionInput` - # @return [Google::Apis::MlV1::GoogleCloudMlV1PredictionInput] - attr_accessor :prediction_input - - # Output only. The details of a failure or a cancellation. - # Corresponds to the JSON property `errorMessage` - # @return [String] - attr_accessor :error_message - - # Required. The user-specified id of the job. - # Corresponds to the JSON property `jobId` - # @return [String] - attr_accessor :job_id - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @end_time = args[:end_time] if args.key?(:end_time) - @start_time = args[:start_time] if args.key?(:start_time) - @prediction_output = args[:prediction_output] if args.key?(:prediction_output) - @training_output = args[:training_output] if args.key?(:training_output) - @create_time = args[:create_time] if args.key?(:create_time) - @training_input = args[:training_input] if args.key?(:training_input) - @state = args[:state] if args.key?(:state) - @prediction_input = args[:prediction_input] if args.key?(:prediction_input) - @error_message = args[:error_message] if args.key?(:error_message) - @job_id = args[:job_id] if args.key?(:job_id) - end - end end end end diff --git a/generated/google/apis/ml_v1/representations.rb b/generated/google/apis/ml_v1/representations.rb index eebb5a270..185714127 100644 --- a/generated/google/apis/ml_v1/representations.rb +++ b/generated/google/apis/ml_v1/representations.rb @@ -22,6 +22,114 @@ module Google module Apis module MlV1 + class GoogleCloudMlV1Version + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GoogleCloudMlV1ParameterSpec + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GoogleCloudMlV1PredictionInput + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GoogleCloudMlV1beta1OperationMetadata + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GoogleCloudMlV1OperationMetadata + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GoogleCloudMlV1HyperparameterSpec + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GoogleCloudMlV1ListJobsResponse + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GoogleCloudMlV1SetDefaultVersionRequest + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GoogleLongrunningOperation + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GoogleCloudMlV1Model + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GoogleProtobufEmpty + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GoogleCloudMlV1ListVersionsResponse + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GoogleCloudMlV1CancelJobRequest + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GoogleCloudMlV1beta1ManualScaling + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GoogleRpcStatus + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GoogleCloudMlV1ListModelsResponse + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GoogleCloudMlV1TrainingInput + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GoogleCloudMlV1Job + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + class GoogleApiHttpBody class Representation < Google::Apis::Core::JsonRepresentation; end @@ -83,111 +191,211 @@ module Google end class GoogleCloudMlV1Version - class Representation < Google::Apis::Core::JsonRepresentation; end + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :runtime_version, as: 'runtimeVersion' + property :last_use_time, as: 'lastUseTime' + property :description, as: 'description' + property :deployment_uri, as: 'deploymentUri' + property :is_default, as: 'isDefault' + property :create_time, as: 'createTime' + property :manual_scaling, as: 'manualScaling', class: Google::Apis::MlV1::GoogleCloudMlV1ManualScaling, decorator: Google::Apis::MlV1::GoogleCloudMlV1ManualScaling::Representation - include Google::Apis::Core::JsonObjectSupport + property :name, as: 'name' + end end class GoogleCloudMlV1ParameterSpec - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :min_value, as: 'minValue' + collection :discrete_values, as: 'discreteValues' + property :scale_type, as: 'scaleType' + property :max_value, as: 'maxValue' + property :type, as: 'type' + property :parameter_name, as: 'parameterName' + collection :categorical_values, as: 'categoricalValues' + end end class GoogleCloudMlV1PredictionInput - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class GoogleCloudMlV1OperationMetadata - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :data_format, as: 'dataFormat' + property :runtime_version, as: 'runtimeVersion' + collection :input_paths, as: 'inputPaths' + property :region, as: 'region' + property :version_name, as: 'versionName' + property :model_name, as: 'modelName' + property :output_path, as: 'outputPath' + property :uri, as: 'uri' + property :max_worker_count, :numeric_string => true, as: 'maxWorkerCount' + end end class GoogleCloudMlV1beta1OperationMetadata - class Representation < Google::Apis::Core::JsonRepresentation; end + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :is_cancellation_requested, as: 'isCancellationRequested' + property :create_time, as: 'createTime' + property :model_name, as: 'modelName' + property :version, as: 'version', class: Google::Apis::MlV1::GoogleCloudMlV1beta1Version, decorator: Google::Apis::MlV1::GoogleCloudMlV1beta1Version::Representation - include Google::Apis::Core::JsonObjectSupport + property :end_time, as: 'endTime' + property :operation_type, as: 'operationType' + property :start_time, as: 'startTime' + end + end + + class GoogleCloudMlV1OperationMetadata + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :create_time, as: 'createTime' + property :model_name, as: 'modelName' + property :version, as: 'version', class: Google::Apis::MlV1::GoogleCloudMlV1Version, decorator: Google::Apis::MlV1::GoogleCloudMlV1Version::Representation + + property :end_time, as: 'endTime' + property :operation_type, as: 'operationType' + property :start_time, as: 'startTime' + property :is_cancellation_requested, as: 'isCancellationRequested' + end end class GoogleCloudMlV1HyperparameterSpec - class Representation < Google::Apis::Core::JsonRepresentation; end + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :goal, as: 'goal' + property :hyperparameter_metric_tag, as: 'hyperparameterMetricTag' + collection :params, as: 'params', class: Google::Apis::MlV1::GoogleCloudMlV1ParameterSpec, decorator: Google::Apis::MlV1::GoogleCloudMlV1ParameterSpec::Representation - include Google::Apis::Core::JsonObjectSupport + property :max_trials, as: 'maxTrials' + property :max_parallel_trials, as: 'maxParallelTrials' + end end class GoogleCloudMlV1ListJobsResponse - class Representation < Google::Apis::Core::JsonRepresentation; end + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :jobs, as: 'jobs', class: Google::Apis::MlV1::GoogleCloudMlV1Job, decorator: Google::Apis::MlV1::GoogleCloudMlV1Job::Representation - include Google::Apis::Core::JsonObjectSupport + property :next_page_token, as: 'nextPageToken' + end end class GoogleCloudMlV1SetDefaultVersionRequest - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport + # @private + class Representation < Google::Apis::Core::JsonRepresentation + end end class GoogleLongrunningOperation - class Representation < Google::Apis::Core::JsonRepresentation; end + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :error, as: 'error', class: Google::Apis::MlV1::GoogleRpcStatus, decorator: Google::Apis::MlV1::GoogleRpcStatus::Representation - include Google::Apis::Core::JsonObjectSupport + hash :metadata, as: 'metadata' + property :done, as: 'done' + hash :response, as: 'response' + property :name, as: 'name' + end end class GoogleCloudMlV1Model - class Representation < Google::Apis::Core::JsonRepresentation; end + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :description, as: 'description' + property :online_prediction_logging, as: 'onlinePredictionLogging' + property :default_version, as: 'defaultVersion', class: Google::Apis::MlV1::GoogleCloudMlV1Version, decorator: Google::Apis::MlV1::GoogleCloudMlV1Version::Representation - include Google::Apis::Core::JsonObjectSupport + collection :regions, as: 'regions' + property :name, as: 'name' + end end class GoogleProtobufEmpty - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class GoogleCloudMlV1CancelJobRequest - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport + # @private + class Representation < Google::Apis::Core::JsonRepresentation + end end class GoogleCloudMlV1ListVersionsResponse - class Representation < Google::Apis::Core::JsonRepresentation; end + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :versions, as: 'versions', class: Google::Apis::MlV1::GoogleCloudMlV1Version, decorator: Google::Apis::MlV1::GoogleCloudMlV1Version::Representation - include Google::Apis::Core::JsonObjectSupport + property :next_page_token, as: 'nextPageToken' + end + end + + class GoogleCloudMlV1CancelJobRequest + # @private + class Representation < Google::Apis::Core::JsonRepresentation + end end class GoogleCloudMlV1beta1ManualScaling - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :nodes, as: 'nodes' + end end class GoogleRpcStatus - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class GoogleCloudMlV1TrainingInput - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :code, as: 'code' + property :message, as: 'message' + collection :details, as: 'details' + end end class GoogleCloudMlV1ListModelsResponse - class Representation < Google::Apis::Core::JsonRepresentation; end + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :next_page_token, as: 'nextPageToken' + collection :models, as: 'models', class: Google::Apis::MlV1::GoogleCloudMlV1Model, decorator: Google::Apis::MlV1::GoogleCloudMlV1Model::Representation - include Google::Apis::Core::JsonObjectSupport + end + end + + class GoogleCloudMlV1TrainingInput + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :hyperparameters, as: 'hyperparameters', class: Google::Apis::MlV1::GoogleCloudMlV1HyperparameterSpec, decorator: Google::Apis::MlV1::GoogleCloudMlV1HyperparameterSpec::Representation + + property :parameter_server_count, :numeric_string => true, as: 'parameterServerCount' + collection :package_uris, as: 'packageUris' + property :worker_count, :numeric_string => true, as: 'workerCount' + property :master_type, as: 'masterType' + property :runtime_version, as: 'runtimeVersion' + property :python_module, as: 'pythonModule' + property :worker_type, as: 'workerType' + collection :args, as: 'args' + property :region, as: 'region' + property :parameter_server_type, as: 'parameterServerType' + property :scale_tier, as: 'scaleTier' + property :job_dir, as: 'jobDir' + end end class GoogleCloudMlV1Job - class Representation < Google::Apis::Core::JsonRepresentation; end + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :prediction_output, as: 'predictionOutput', class: Google::Apis::MlV1::GoogleCloudMlV1PredictionOutput, decorator: Google::Apis::MlV1::GoogleCloudMlV1PredictionOutput::Representation - include Google::Apis::Core::JsonObjectSupport + property :training_output, as: 'trainingOutput', class: Google::Apis::MlV1::GoogleCloudMlV1TrainingOutput, decorator: Google::Apis::MlV1::GoogleCloudMlV1TrainingOutput::Representation + + property :create_time, as: 'createTime' + property :training_input, as: 'trainingInput', class: Google::Apis::MlV1::GoogleCloudMlV1TrainingInput, decorator: Google::Apis::MlV1::GoogleCloudMlV1TrainingInput::Representation + + property :prediction_input, as: 'predictionInput', class: Google::Apis::MlV1::GoogleCloudMlV1PredictionInput, decorator: Google::Apis::MlV1::GoogleCloudMlV1PredictionInput::Representation + + property :state, as: 'state' + property :error_message, as: 'errorMessage' + property :job_id, as: 'jobId' + property :end_time, as: 'endTime' + property :start_time, as: 'startTime' + end end class GoogleApiHttpBody @@ -216,7 +424,7 @@ module Google class GoogleCloudMlV1GetConfigResponse # @private class Representation < Google::Apis::Core::JsonRepresentation - property :service_account_project, as: 'serviceAccountProject' + property :service_account_project, :numeric_string => true, as: 'serviceAccountProject' property :service_account, as: 'serviceAccount' end end @@ -224,22 +432,22 @@ module Google class GoogleCloudMlV1HyperparameterOutput # @private class Representation < Google::Apis::Core::JsonRepresentation - property :final_metric, as: 'finalMetric', class: Google::Apis::MlV1::GoogleCloudMlV1HyperparameterOutputHyperparameterMetric, decorator: Google::Apis::MlV1::GoogleCloudMlV1HyperparameterOutputHyperparameterMetric::Representation - hash :hyperparameters, as: 'hyperparameters' property :trial_id, as: 'trialId' collection :all_metrics, as: 'allMetrics', class: Google::Apis::MlV1::GoogleCloudMlV1HyperparameterOutputHyperparameterMetric, decorator: Google::Apis::MlV1::GoogleCloudMlV1HyperparameterOutputHyperparameterMetric::Representation + property :final_metric, as: 'finalMetric', class: Google::Apis::MlV1::GoogleCloudMlV1HyperparameterOutputHyperparameterMetric, decorator: Google::Apis::MlV1::GoogleCloudMlV1HyperparameterOutputHyperparameterMetric::Representation + end end class GoogleCloudMlV1PredictionOutput # @private class Representation < Google::Apis::Core::JsonRepresentation - property :prediction_count, as: 'predictionCount' - property :error_count, as: 'errorCount' property :output_path, as: 'outputPath' property :node_hours, as: 'nodeHours' + property :prediction_count, :numeric_string => true, as: 'predictionCount' + property :error_count, :numeric_string => true, as: 'errorCount' end end @@ -262,11 +470,11 @@ module Google class GoogleCloudMlV1TrainingOutput # @private class Representation < Google::Apis::Core::JsonRepresentation - property :completed_trial_count, as: 'completedTrialCount' - property :is_hyperparameter_tuning_job, as: 'isHyperparameterTuningJob' - property :consumed_ml_units, as: 'consumedMLUnits' collection :trials, as: 'trials', class: Google::Apis::MlV1::GoogleCloudMlV1HyperparameterOutput, decorator: Google::Apis::MlV1::GoogleCloudMlV1HyperparameterOutput::Representation + property :completed_trial_count, :numeric_string => true, as: 'completedTrialCount' + property :is_hyperparameter_tuning_job, as: 'isHyperparameterTuningJob' + property :consumed_ml_units, as: 'consumedMLUnits' end end @@ -281,218 +489,10 @@ module Google class GoogleCloudMlV1HyperparameterOutputHyperparameterMetric # @private class Representation < Google::Apis::Core::JsonRepresentation - property :training_step, as: 'trainingStep' + property :training_step, :numeric_string => true, as: 'trainingStep' property :objective_value, as: 'objectiveValue' end end - - class GoogleCloudMlV1Version - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :runtime_version, as: 'runtimeVersion' - property :last_use_time, as: 'lastUseTime' - property :description, as: 'description' - property :deployment_uri, as: 'deploymentUri' - property :is_default, as: 'isDefault' - property :create_time, as: 'createTime' - property :manual_scaling, as: 'manualScaling', class: Google::Apis::MlV1::GoogleCloudMlV1ManualScaling, decorator: Google::Apis::MlV1::GoogleCloudMlV1ManualScaling::Representation - - property :name, as: 'name' - end - end - - class GoogleCloudMlV1ParameterSpec - # @private - class Representation < Google::Apis::Core::JsonRepresentation - collection :categorical_values, as: 'categoricalValues' - property :parameter_name, as: 'parameterName' - property :min_value, as: 'minValue' - collection :discrete_values, as: 'discreteValues' - property :scale_type, as: 'scaleType' - property :max_value, as: 'maxValue' - property :type, as: 'type' - end - end - - class GoogleCloudMlV1PredictionInput - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :version_name, as: 'versionName' - property :model_name, as: 'modelName' - property :output_path, as: 'outputPath' - property :uri, as: 'uri' - property :max_worker_count, as: 'maxWorkerCount' - property :data_format, as: 'dataFormat' - property :runtime_version, as: 'runtimeVersion' - collection :input_paths, as: 'inputPaths' - property :region, as: 'region' - end - end - - class GoogleCloudMlV1OperationMetadata - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :model_name, as: 'modelName' - property :version, as: 'version', class: Google::Apis::MlV1::GoogleCloudMlV1Version, decorator: Google::Apis::MlV1::GoogleCloudMlV1Version::Representation - - property :end_time, as: 'endTime' - property :operation_type, as: 'operationType' - property :start_time, as: 'startTime' - property :is_cancellation_requested, as: 'isCancellationRequested' - property :create_time, as: 'createTime' - end - end - - class GoogleCloudMlV1beta1OperationMetadata - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :operation_type, as: 'operationType' - property :start_time, as: 'startTime' - property :is_cancellation_requested, as: 'isCancellationRequested' - property :create_time, as: 'createTime' - property :model_name, as: 'modelName' - property :version, as: 'version', class: Google::Apis::MlV1::GoogleCloudMlV1beta1Version, decorator: Google::Apis::MlV1::GoogleCloudMlV1beta1Version::Representation - - property :end_time, as: 'endTime' - end - end - - class GoogleCloudMlV1HyperparameterSpec - # @private - class Representation < Google::Apis::Core::JsonRepresentation - collection :params, as: 'params', class: Google::Apis::MlV1::GoogleCloudMlV1ParameterSpec, decorator: Google::Apis::MlV1::GoogleCloudMlV1ParameterSpec::Representation - - property :max_trials, as: 'maxTrials' - property :max_parallel_trials, as: 'maxParallelTrials' - property :goal, as: 'goal' - property :hyperparameter_metric_tag, as: 'hyperparameterMetricTag' - end - end - - class GoogleCloudMlV1ListJobsResponse - # @private - class Representation < Google::Apis::Core::JsonRepresentation - collection :jobs, as: 'jobs', class: Google::Apis::MlV1::GoogleCloudMlV1Job, decorator: Google::Apis::MlV1::GoogleCloudMlV1Job::Representation - - property :next_page_token, as: 'nextPageToken' - end - end - - class GoogleCloudMlV1SetDefaultVersionRequest - # @private - class Representation < Google::Apis::Core::JsonRepresentation - end - end - - class GoogleLongrunningOperation - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :done, as: 'done' - hash :response, as: 'response' - property :name, as: 'name' - property :error, as: 'error', class: Google::Apis::MlV1::GoogleRpcStatus, decorator: Google::Apis::MlV1::GoogleRpcStatus::Representation - - hash :metadata, as: 'metadata' - end - end - - class GoogleCloudMlV1Model - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :default_version, as: 'defaultVersion', class: Google::Apis::MlV1::GoogleCloudMlV1Version, decorator: Google::Apis::MlV1::GoogleCloudMlV1Version::Representation - - collection :regions, as: 'regions' - property :name, as: 'name' - property :description, as: 'description' - property :online_prediction_logging, as: 'onlinePredictionLogging' - end - end - - class GoogleProtobufEmpty - # @private - class Representation < Google::Apis::Core::JsonRepresentation - end - end - - class GoogleCloudMlV1CancelJobRequest - # @private - class Representation < Google::Apis::Core::JsonRepresentation - end - end - - class GoogleCloudMlV1ListVersionsResponse - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :next_page_token, as: 'nextPageToken' - collection :versions, as: 'versions', class: Google::Apis::MlV1::GoogleCloudMlV1Version, decorator: Google::Apis::MlV1::GoogleCloudMlV1Version::Representation - - end - end - - class GoogleCloudMlV1beta1ManualScaling - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :nodes, as: 'nodes' - end - end - - class GoogleRpcStatus - # @private - class Representation < Google::Apis::Core::JsonRepresentation - collection :details, as: 'details' - property :code, as: 'code' - property :message, as: 'message' - end - end - - class GoogleCloudMlV1TrainingInput - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :scale_tier, as: 'scaleTier' - property :job_dir, as: 'jobDir' - property :hyperparameters, as: 'hyperparameters', class: Google::Apis::MlV1::GoogleCloudMlV1HyperparameterSpec, decorator: Google::Apis::MlV1::GoogleCloudMlV1HyperparameterSpec::Representation - - property :parameter_server_count, as: 'parameterServerCount' - collection :package_uris, as: 'packageUris' - property :worker_count, as: 'workerCount' - property :master_type, as: 'masterType' - property :runtime_version, as: 'runtimeVersion' - property :python_module, as: 'pythonModule' - property :region, as: 'region' - collection :args, as: 'args' - property :worker_type, as: 'workerType' - property :parameter_server_type, as: 'parameterServerType' - end - end - - class GoogleCloudMlV1ListModelsResponse - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :next_page_token, as: 'nextPageToken' - collection :models, as: 'models', class: Google::Apis::MlV1::GoogleCloudMlV1Model, decorator: Google::Apis::MlV1::GoogleCloudMlV1Model::Representation - - end - end - - class GoogleCloudMlV1Job - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :end_time, as: 'endTime' - property :start_time, as: 'startTime' - property :prediction_output, as: 'predictionOutput', class: Google::Apis::MlV1::GoogleCloudMlV1PredictionOutput, decorator: Google::Apis::MlV1::GoogleCloudMlV1PredictionOutput::Representation - - property :training_output, as: 'trainingOutput', class: Google::Apis::MlV1::GoogleCloudMlV1TrainingOutput, decorator: Google::Apis::MlV1::GoogleCloudMlV1TrainingOutput::Representation - - property :create_time, as: 'createTime' - property :training_input, as: 'trainingInput', class: Google::Apis::MlV1::GoogleCloudMlV1TrainingInput, decorator: Google::Apis::MlV1::GoogleCloudMlV1TrainingInput::Representation - - property :state, as: 'state' - property :prediction_input, as: 'predictionInput', class: Google::Apis::MlV1::GoogleCloudMlV1PredictionInput, decorator: Google::Apis::MlV1::GoogleCloudMlV1PredictionInput::Representation - - property :error_message, as: 'errorMessage' - property :job_id, as: 'jobId' - end - end end end end diff --git a/generated/google/apis/ml_v1/service.rb b/generated/google/apis/ml_v1/service.rb index 69874e6a9..eb603ffe2 100644 --- a/generated/google/apis/ml_v1/service.rb +++ b/generated/google/apis/ml_v1/service.rb @@ -32,52 +32,19 @@ module Google # # @see https://cloud.google.com/ml/ class CloudMachineLearningEngineService < Google::Apis::Core::BaseService - # @return [String] - # API key. Your API key identifies your project and provides you with API access, - # quota, and reports. Required unless you provide an OAuth 2.0 token. - attr_accessor :key - # @return [String] # Available to use for quota purposes for server-side applications. Can be any # arbitrary string assigned to a user, but should not exceed 40 characters. attr_accessor :quota_user + # @return [String] + # API key. Your API key identifies your project and provides you with API access, + # quota, and reports. Required unless you provide an OAuth 2.0 token. + attr_accessor :key + def initialize super('https://ml.googleapis.com/', '') - end - - # Get the service account information associated with your project. You need - # this information in order to grant the service account persmissions for - # the Google Cloud Storage location where you put your model training code - # for training the model with Google Cloud Machine Learning. - # @param [String] name - # Required. The project name. - # Authorization: requires `Viewer` role on the specified project. - # @param [String] fields - # Selector specifying which fields to include in a partial response. - # @param [String] quota_user - # Available to use for quota purposes for server-side applications. Can be any - # arbitrary string assigned to a user, but should not exceed 40 characters. - # @param [Google::Apis::RequestOptions] options - # Request-specific options - # - # @yield [result, err] Result & error if block supplied - # @yieldparam result [Google::Apis::MlV1::GoogleCloudMlV1GetConfigResponse] parsed result object - # @yieldparam err [StandardError] error object if request failed - # - # @return [Google::Apis::MlV1::GoogleCloudMlV1GetConfigResponse] - # - # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried - # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification - # @raise [Google::Apis::AuthorizationError] Authorization is required - def get_project_config(name, fields: nil, quota_user: nil, options: nil, &block) - command = make_simple_command(:get, 'v1/{+name}:getConfig', options) - command.response_representation = Google::Apis::MlV1::GoogleCloudMlV1GetConfigResponse::Representation - command.response_class = Google::Apis::MlV1::GoogleCloudMlV1GetConfigResponse - command.params['name'] = name unless name.nil? - command.query['fields'] = fields unless fields.nil? - command.query['quotaUser'] = quota_user unless quota_user.nil? - execute_or_queue_command(command, &block) + @batch_path = 'batch' end # Performs prediction on the data in the request. @@ -86,11 +53,11 @@ module Google # Required. The resource name of a model or a version. # Authorization: requires `Viewer` role on the parent project. # @param [Google::Apis::MlV1::GoogleCloudMlV1PredictRequest] google_cloud_ml_v1__predict_request_object - # @param [String] fields - # Selector specifying which fields to include in a partial response. # @param [String] quota_user # Available to use for quota purposes for server-side applications. Can be any # arbitrary string assigned to a user, but should not exceed 40 characters. + # @param [String] fields + # Selector specifying which fields to include in a partial response. # @param [Google::Apis::RequestOptions] options # Request-specific options # @@ -103,159 +70,123 @@ module Google # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required - def predict_project(name, google_cloud_ml_v1__predict_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) + def predict_project(name, google_cloud_ml_v1__predict_request_object = nil, quota_user: nil, fields: nil, options: nil, &block) command = make_simple_command(:post, 'v1/{+name}:predict', options) command.request_representation = Google::Apis::MlV1::GoogleCloudMlV1PredictRequest::Representation command.request_object = google_cloud_ml_v1__predict_request_object command.response_representation = Google::Apis::MlV1::GoogleApiHttpBody::Representation command.response_class = Google::Apis::MlV1::GoogleApiHttpBody command.params['name'] = name unless name.nil? - command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? + command.query['fields'] = fields unless fields.nil? execute_or_queue_command(command, &block) end - # Cancels a running job. + # Get the service account information associated with your project. You need + # this information in order to grant the service account persmissions for + # the Google Cloud Storage location where you put your model training code + # for training the model with Google Cloud Machine Learning. # @param [String] name - # Required. The name of the job to cancel. - # Authorization: requires `Editor` role on the parent project. - # @param [Google::Apis::MlV1::GoogleCloudMlV1CancelJobRequest] google_cloud_ml_v1__cancel_job_request_object - # @param [String] fields - # Selector specifying which fields to include in a partial response. + # Required. The project name. + # Authorization: requires `Viewer` role on the specified project. # @param [String] quota_user # Available to use for quota purposes for server-side applications. Can be any # arbitrary string assigned to a user, but should not exceed 40 characters. + # @param [String] fields + # Selector specifying which fields to include in a partial response. # @param [Google::Apis::RequestOptions] options # Request-specific options # # @yield [result, err] Result & error if block supplied - # @yieldparam result [Google::Apis::MlV1::GoogleProtobufEmpty] parsed result object + # @yieldparam result [Google::Apis::MlV1::GoogleCloudMlV1GetConfigResponse] parsed result object # @yieldparam err [StandardError] error object if request failed # - # @return [Google::Apis::MlV1::GoogleProtobufEmpty] + # @return [Google::Apis::MlV1::GoogleCloudMlV1GetConfigResponse] # # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required - def cancel_project_job(name, google_cloud_ml_v1__cancel_job_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) - command = make_simple_command(:post, 'v1/{+name}:cancel', options) - command.request_representation = Google::Apis::MlV1::GoogleCloudMlV1CancelJobRequest::Representation - command.request_object = google_cloud_ml_v1__cancel_job_request_object - command.response_representation = Google::Apis::MlV1::GoogleProtobufEmpty::Representation - command.response_class = Google::Apis::MlV1::GoogleProtobufEmpty + def get_project_config(name, quota_user: nil, fields: nil, options: nil, &block) + command = make_simple_command(:get, 'v1/{+name}:getConfig', options) + command.response_representation = Google::Apis::MlV1::GoogleCloudMlV1GetConfigResponse::Representation + command.response_class = Google::Apis::MlV1::GoogleCloudMlV1GetConfigResponse command.params['name'] = name unless name.nil? - command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? + command.query['fields'] = fields unless fields.nil? execute_or_queue_command(command, &block) end - # Lists the jobs in the project. - # @param [String] parent - # Required. The name of the project for which to list jobs. - # Authorization: requires `Viewer` role on the specified project. - # @param [String] page_token - # Optional. A page token to request the next page of results. - # You get the token from the `next_page_token` field of the response from - # the previous call. - # @param [Fixnum] page_size - # Optional. The number of jobs to retrieve per "page" of results. If there - # are more remaining results than this number, the response message will - # contain a valid value in the `next_page_token` field. - # The default value is 20, and the maximum page size is 100. + # Lists operations that match the specified filter in the request. If the + # server doesn't support this method, it returns `UNIMPLEMENTED`. + # NOTE: the `name` binding below allows API services to override the binding + # to use different resource name schemes, such as `users/*/operations`. + # @param [String] name + # The name of the operation collection. # @param [String] filter - # Optional. Specifies the subset of jobs to retrieve. - # @param [String] fields - # Selector specifying which fields to include in a partial response. + # The standard list filter. + # @param [String] page_token + # The standard list page token. + # @param [Fixnum] page_size + # The standard list page size. # @param [String] quota_user # Available to use for quota purposes for server-side applications. Can be any # arbitrary string assigned to a user, but should not exceed 40 characters. + # @param [String] fields + # Selector specifying which fields to include in a partial response. # @param [Google::Apis::RequestOptions] options # Request-specific options # # @yield [result, err] Result & error if block supplied - # @yieldparam result [Google::Apis::MlV1::GoogleCloudMlV1ListJobsResponse] parsed result object + # @yieldparam result [Google::Apis::MlV1::GoogleLongrunningListOperationsResponse] parsed result object # @yieldparam err [StandardError] error object if request failed # - # @return [Google::Apis::MlV1::GoogleCloudMlV1ListJobsResponse] + # @return [Google::Apis::MlV1::GoogleLongrunningListOperationsResponse] # # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required - def list_project_jobs(parent, page_token: nil, page_size: nil, filter: nil, fields: nil, quota_user: nil, options: nil, &block) - command = make_simple_command(:get, 'v1/{+parent}/jobs', options) - command.response_representation = Google::Apis::MlV1::GoogleCloudMlV1ListJobsResponse::Representation - command.response_class = Google::Apis::MlV1::GoogleCloudMlV1ListJobsResponse - command.params['parent'] = parent unless parent.nil? + def list_project_operations(name, filter: nil, page_token: nil, page_size: nil, quota_user: nil, fields: nil, options: nil, &block) + command = make_simple_command(:get, 'v1/{+name}/operations', options) + command.response_representation = Google::Apis::MlV1::GoogleLongrunningListOperationsResponse::Representation + command.response_class = Google::Apis::MlV1::GoogleLongrunningListOperationsResponse + command.params['name'] = name unless name.nil? + command.query['filter'] = filter unless filter.nil? command.query['pageToken'] = page_token unless page_token.nil? command.query['pageSize'] = page_size unless page_size.nil? - command.query['filter'] = filter unless filter.nil? - command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? + command.query['fields'] = fields unless fields.nil? execute_or_queue_command(command, &block) end - # Describes a job. + # Gets the latest state of a long-running operation. Clients can use this + # method to poll the operation result at intervals as recommended by the API + # service. # @param [String] name - # Required. The name of the job to get the description of. - # Authorization: requires `Viewer` role on the parent project. - # @param [String] fields - # Selector specifying which fields to include in a partial response. + # The name of the operation resource. # @param [String] quota_user # Available to use for quota purposes for server-side applications. Can be any # arbitrary string assigned to a user, but should not exceed 40 characters. + # @param [String] fields + # Selector specifying which fields to include in a partial response. # @param [Google::Apis::RequestOptions] options # Request-specific options # # @yield [result, err] Result & error if block supplied - # @yieldparam result [Google::Apis::MlV1::GoogleCloudMlV1Job] parsed result object + # @yieldparam result [Google::Apis::MlV1::GoogleLongrunningOperation] parsed result object # @yieldparam err [StandardError] error object if request failed # - # @return [Google::Apis::MlV1::GoogleCloudMlV1Job] + # @return [Google::Apis::MlV1::GoogleLongrunningOperation] # # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required - def get_project_job(name, fields: nil, quota_user: nil, options: nil, &block) + def get_project_operation(name, quota_user: nil, fields: nil, options: nil, &block) command = make_simple_command(:get, 'v1/{+name}', options) - command.response_representation = Google::Apis::MlV1::GoogleCloudMlV1Job::Representation - command.response_class = Google::Apis::MlV1::GoogleCloudMlV1Job + command.response_representation = Google::Apis::MlV1::GoogleLongrunningOperation::Representation + command.response_class = Google::Apis::MlV1::GoogleLongrunningOperation command.params['name'] = name unless name.nil? - command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? - execute_or_queue_command(command, &block) - end - - # Creates a training or a batch prediction job. - # @param [String] parent - # Required. The project name. - # Authorization: requires `Editor` role on the specified project. - # @param [Google::Apis::MlV1::GoogleCloudMlV1Job] google_cloud_ml_v1__job_object - # @param [String] fields - # Selector specifying which fields to include in a partial response. - # @param [String] quota_user - # Available to use for quota purposes for server-side applications. Can be any - # arbitrary string assigned to a user, but should not exceed 40 characters. - # @param [Google::Apis::RequestOptions] options - # Request-specific options - # - # @yield [result, err] Result & error if block supplied - # @yieldparam result [Google::Apis::MlV1::GoogleCloudMlV1Job] parsed result object - # @yieldparam err [StandardError] error object if request failed - # - # @return [Google::Apis::MlV1::GoogleCloudMlV1Job] - # - # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried - # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification - # @raise [Google::Apis::AuthorizationError] Authorization is required - def create_project_job(parent, google_cloud_ml_v1__job_object = nil, fields: nil, quota_user: nil, options: nil, &block) - command = make_simple_command(:post, 'v1/{+parent}/jobs', options) - command.request_representation = Google::Apis::MlV1::GoogleCloudMlV1Job::Representation - command.request_object = google_cloud_ml_v1__job_object - command.response_representation = Google::Apis::MlV1::GoogleCloudMlV1Job::Representation - command.response_class = Google::Apis::MlV1::GoogleCloudMlV1Job - command.params['parent'] = parent unless parent.nil? command.query['fields'] = fields unless fields.nil? - command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end @@ -271,11 +202,11 @@ module Google # corresponding to `Code.CANCELLED`. # @param [String] name # The name of the operation resource to be cancelled. - # @param [String] fields - # Selector specifying which fields to include in a partial response. # @param [String] quota_user # Available to use for quota purposes for server-side applications. Can be any # arbitrary string assigned to a user, but should not exceed 40 characters. + # @param [String] fields + # Selector specifying which fields to include in a partial response. # @param [Google::Apis::RequestOptions] options # Request-specific options # @@ -288,13 +219,13 @@ module Google # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required - def cancel_project_operation(name, fields: nil, quota_user: nil, options: nil, &block) + def cancel_project_operation(name, quota_user: nil, fields: nil, options: nil, &block) command = make_simple_command(:post, 'v1/{+name}:cancel', options) command.response_representation = Google::Apis::MlV1::GoogleProtobufEmpty::Representation command.response_class = Google::Apis::MlV1::GoogleProtobufEmpty command.params['name'] = name unless name.nil? - command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? + command.query['fields'] = fields unless fields.nil? execute_or_queue_command(command, &block) end @@ -304,11 +235,11 @@ module Google # `google.rpc.Code.UNIMPLEMENTED`. # @param [String] name # The name of the operation resource to be deleted. - # @param [String] fields - # Selector specifying which fields to include in a partial response. # @param [String] quota_user # Available to use for quota purposes for server-side applications. Can be any # arbitrary string assigned to a user, but should not exceed 40 characters. + # @param [String] fields + # Selector specifying which fields to include in a partial response. # @param [Google::Apis::RequestOptions] options # Request-specific options # @@ -321,87 +252,13 @@ module Google # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required - def delete_project_operation(name, fields: nil, quota_user: nil, options: nil, &block) + def delete_project_operation(name, quota_user: nil, fields: nil, options: nil, &block) command = make_simple_command(:delete, 'v1/{+name}', options) command.response_representation = Google::Apis::MlV1::GoogleProtobufEmpty::Representation command.response_class = Google::Apis::MlV1::GoogleProtobufEmpty command.params['name'] = name unless name.nil? - command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? - execute_or_queue_command(command, &block) - end - - # Lists operations that match the specified filter in the request. If the - # server doesn't support this method, it returns `UNIMPLEMENTED`. - # NOTE: the `name` binding below allows API services to override the binding - # to use different resource name schemes, such as `users/*/operations`. - # @param [String] name - # The name of the operation collection. - # @param [String] page_token - # The standard list page token. - # @param [Fixnum] page_size - # The standard list page size. - # @param [String] filter - # The standard list filter. - # @param [String] fields - # Selector specifying which fields to include in a partial response. - # @param [String] quota_user - # Available to use for quota purposes for server-side applications. Can be any - # arbitrary string assigned to a user, but should not exceed 40 characters. - # @param [Google::Apis::RequestOptions] options - # Request-specific options - # - # @yield [result, err] Result & error if block supplied - # @yieldparam result [Google::Apis::MlV1::GoogleLongrunningListOperationsResponse] parsed result object - # @yieldparam err [StandardError] error object if request failed - # - # @return [Google::Apis::MlV1::GoogleLongrunningListOperationsResponse] - # - # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried - # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification - # @raise [Google::Apis::AuthorizationError] Authorization is required - def list_project_operations(name, page_token: nil, page_size: nil, filter: nil, fields: nil, quota_user: nil, options: nil, &block) - command = make_simple_command(:get, 'v1/{+name}/operations', options) - command.response_representation = Google::Apis::MlV1::GoogleLongrunningListOperationsResponse::Representation - command.response_class = Google::Apis::MlV1::GoogleLongrunningListOperationsResponse - command.params['name'] = name unless name.nil? - command.query['pageToken'] = page_token unless page_token.nil? - command.query['pageSize'] = page_size unless page_size.nil? - command.query['filter'] = filter unless filter.nil? command.query['fields'] = fields unless fields.nil? - command.query['quotaUser'] = quota_user unless quota_user.nil? - execute_or_queue_command(command, &block) - end - - # Gets the latest state of a long-running operation. Clients can use this - # method to poll the operation result at intervals as recommended by the API - # service. - # @param [String] name - # The name of the operation resource. - # @param [String] fields - # Selector specifying which fields to include in a partial response. - # @param [String] quota_user - # Available to use for quota purposes for server-side applications. Can be any - # arbitrary string assigned to a user, but should not exceed 40 characters. - # @param [Google::Apis::RequestOptions] options - # Request-specific options - # - # @yield [result, err] Result & error if block supplied - # @yieldparam result [Google::Apis::MlV1::GoogleLongrunningOperation] parsed result object - # @yieldparam err [StandardError] error object if request failed - # - # @return [Google::Apis::MlV1::GoogleLongrunningOperation] - # - # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried - # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification - # @raise [Google::Apis::AuthorizationError] Authorization is required - def get_project_operation(name, fields: nil, quota_user: nil, options: nil, &block) - command = make_simple_command(:get, 'v1/{+name}', options) - command.response_representation = Google::Apis::MlV1::GoogleLongrunningOperation::Representation - command.response_class = Google::Apis::MlV1::GoogleLongrunningOperation - command.params['name'] = name unless name.nil? - command.query['fields'] = fields unless fields.nil? - command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end @@ -413,11 +270,11 @@ module Google # @param [String] name # Required. The name of the model. # Authorization: requires `Editor` role on the parent project. - # @param [String] fields - # Selector specifying which fields to include in a partial response. # @param [String] quota_user # Available to use for quota purposes for server-side applications. Can be any # arbitrary string assigned to a user, but should not exceed 40 characters. + # @param [String] fields + # Selector specifying which fields to include in a partial response. # @param [Google::Apis::RequestOptions] options # Request-specific options # @@ -430,13 +287,13 @@ module Google # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required - def delete_project_model(name, fields: nil, quota_user: nil, options: nil, &block) + def delete_project_model(name, quota_user: nil, fields: nil, options: nil, &block) command = make_simple_command(:delete, 'v1/{+name}', options) command.response_representation = Google::Apis::MlV1::GoogleLongrunningOperation::Representation command.response_class = Google::Apis::MlV1::GoogleLongrunningOperation command.params['name'] = name unless name.nil? - command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? + command.query['fields'] = fields unless fields.nil? execute_or_queue_command(command, &block) end @@ -446,20 +303,20 @@ module Google # @param [String] parent # Required. The name of the project whose models are to be listed. # Authorization: requires `Viewer` role on the specified project. - # @param [String] page_token - # Optional. A page token to request the next page of results. - # You get the token from the `next_page_token` field of the response from - # the previous call. # @param [Fixnum] page_size # Optional. The number of models to retrieve per "page" of results. If there # are more remaining results than this number, the response message will # contain a valid value in the `next_page_token` field. # The default value is 20, and the maximum page size is 100. - # @param [String] fields - # Selector specifying which fields to include in a partial response. + # @param [String] page_token + # Optional. A page token to request the next page of results. + # You get the token from the `next_page_token` field of the response from + # the previous call. # @param [String] quota_user # Available to use for quota purposes for server-side applications. Can be any # arbitrary string assigned to a user, but should not exceed 40 characters. + # @param [String] fields + # Selector specifying which fields to include in a partial response. # @param [Google::Apis::RequestOptions] options # Request-specific options # @@ -472,15 +329,15 @@ module Google # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required - def list_project_models(parent, page_token: nil, page_size: nil, fields: nil, quota_user: nil, options: nil, &block) + def list_project_models(parent, page_size: nil, page_token: nil, quota_user: nil, fields: nil, options: nil, &block) command = make_simple_command(:get, 'v1/{+parent}/models', options) command.response_representation = Google::Apis::MlV1::GoogleCloudMlV1ListModelsResponse::Representation command.response_class = Google::Apis::MlV1::GoogleCloudMlV1ListModelsResponse command.params['parent'] = parent unless parent.nil? - command.query['pageToken'] = page_token unless page_token.nil? command.query['pageSize'] = page_size unless page_size.nil? - command.query['fields'] = fields unless fields.nil? + command.query['pageToken'] = page_token unless page_token.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? + command.query['fields'] = fields unless fields.nil? execute_or_queue_command(command, &block) end @@ -490,11 +347,11 @@ module Google # @param [String] name # Required. The name of the model. # Authorization: requires `Viewer` role on the parent project. - # @param [String] fields - # Selector specifying which fields to include in a partial response. # @param [String] quota_user # Available to use for quota purposes for server-side applications. Can be any # arbitrary string assigned to a user, but should not exceed 40 characters. + # @param [String] fields + # Selector specifying which fields to include in a partial response. # @param [Google::Apis::RequestOptions] options # Request-specific options # @@ -507,13 +364,13 @@ module Google # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required - def get_project_model(name, fields: nil, quota_user: nil, options: nil, &block) + def get_project_model(name, quota_user: nil, fields: nil, options: nil, &block) command = make_simple_command(:get, 'v1/{+name}', options) command.response_representation = Google::Apis::MlV1::GoogleCloudMlV1Model::Representation command.response_class = Google::Apis::MlV1::GoogleCloudMlV1Model command.params['name'] = name unless name.nil? - command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? + command.query['fields'] = fields unless fields.nil? execute_or_queue_command(command, &block) end @@ -526,11 +383,11 @@ module Google # Required. The project name. # Authorization: requires `Editor` role on the specified project. # @param [Google::Apis::MlV1::GoogleCloudMlV1Model] google_cloud_ml_v1__model_object - # @param [String] fields - # Selector specifying which fields to include in a partial response. # @param [String] quota_user # Available to use for quota purposes for server-side applications. Can be any # arbitrary string assigned to a user, but should not exceed 40 characters. + # @param [String] fields + # Selector specifying which fields to include in a partial response. # @param [Google::Apis::RequestOptions] options # Request-specific options # @@ -543,53 +400,15 @@ module Google # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required - def create_project_model(parent, google_cloud_ml_v1__model_object = nil, fields: nil, quota_user: nil, options: nil, &block) + def create_project_model(parent, google_cloud_ml_v1__model_object = nil, quota_user: nil, fields: nil, options: nil, &block) command = make_simple_command(:post, 'v1/{+parent}/models', options) command.request_representation = Google::Apis::MlV1::GoogleCloudMlV1Model::Representation command.request_object = google_cloud_ml_v1__model_object command.response_representation = Google::Apis::MlV1::GoogleCloudMlV1Model::Representation command.response_class = Google::Apis::MlV1::GoogleCloudMlV1Model command.params['parent'] = parent unless parent.nil? - command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? - execute_or_queue_command(command, &block) - end - - # Deletes a model version. - # Each model can have multiple versions deployed and in use at any given - # time. Use this method to remove a single version. - # Note: You cannot delete the version that is set as the default version - # of the model unless it is the only remaining version. - # @param [String] name - # Required. The name of the version. You can get the names of all the - # versions of a model by calling - # [projects.models.versions.list](/ml-engine/reference/rest/v1/projects.models. - # versions/list). - # Authorization: requires `Editor` role on the parent project. - # @param [String] fields - # Selector specifying which fields to include in a partial response. - # @param [String] quota_user - # Available to use for quota purposes for server-side applications. Can be any - # arbitrary string assigned to a user, but should not exceed 40 characters. - # @param [Google::Apis::RequestOptions] options - # Request-specific options - # - # @yield [result, err] Result & error if block supplied - # @yieldparam result [Google::Apis::MlV1::GoogleLongrunningOperation] parsed result object - # @yieldparam err [StandardError] error object if request failed - # - # @return [Google::Apis::MlV1::GoogleLongrunningOperation] - # - # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried - # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification - # @raise [Google::Apis::AuthorizationError] Authorization is required - def delete_project_model_version(name, fields: nil, quota_user: nil, options: nil, &block) - command = make_simple_command(:delete, 'v1/{+name}', options) - command.response_representation = Google::Apis::MlV1::GoogleLongrunningOperation::Representation - command.response_class = Google::Apis::MlV1::GoogleLongrunningOperation - command.params['name'] = name unless name.nil? command.query['fields'] = fields unless fields.nil? - command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end @@ -609,11 +428,11 @@ module Google # there are more remaining results than this number, the response message # will contain a valid value in the `next_page_token` field. # The default value is 20, and the maximum page size is 100. - # @param [String] fields - # Selector specifying which fields to include in a partial response. # @param [String] quota_user # Available to use for quota purposes for server-side applications. Can be any # arbitrary string assigned to a user, but should not exceed 40 characters. + # @param [String] fields + # Selector specifying which fields to include in a partial response. # @param [Google::Apis::RequestOptions] options # Request-specific options # @@ -626,15 +445,15 @@ module Google # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required - def list_project_model_versions(parent, page_token: nil, page_size: nil, fields: nil, quota_user: nil, options: nil, &block) + def list_project_model_versions(parent, page_token: nil, page_size: nil, quota_user: nil, fields: nil, options: nil, &block) command = make_simple_command(:get, 'v1/{+parent}/versions', options) command.response_representation = Google::Apis::MlV1::GoogleCloudMlV1ListVersionsResponse::Representation command.response_class = Google::Apis::MlV1::GoogleCloudMlV1ListVersionsResponse command.params['parent'] = parent unless parent.nil? command.query['pageToken'] = page_token unless page_token.nil? command.query['pageSize'] = page_size unless page_size.nil? - command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? + command.query['fields'] = fields unless fields.nil? execute_or_queue_command(command, &block) end @@ -647,11 +466,11 @@ module Google # @param [String] name # Required. The name of the version. # Authorization: requires `Viewer` role on the parent project. - # @param [String] fields - # Selector specifying which fields to include in a partial response. # @param [String] quota_user # Available to use for quota purposes for server-side applications. Can be any # arbitrary string assigned to a user, but should not exceed 40 characters. + # @param [String] fields + # Selector specifying which fields to include in a partial response. # @param [Google::Apis::RequestOptions] options # Request-specific options # @@ -664,13 +483,13 @@ module Google # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required - def get_project_model_version(name, fields: nil, quota_user: nil, options: nil, &block) + def get_project_model_version(name, quota_user: nil, fields: nil, options: nil, &block) command = make_simple_command(:get, 'v1/{+name}', options) command.response_representation = Google::Apis::MlV1::GoogleCloudMlV1Version::Representation command.response_class = Google::Apis::MlV1::GoogleCloudMlV1Version command.params['name'] = name unless name.nil? - command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? + command.query['fields'] = fields unless fields.nil? execute_or_queue_command(command, &block) end @@ -686,11 +505,11 @@ module Google # Required. The name of the model. # Authorization: requires `Editor` role on the parent project. # @param [Google::Apis::MlV1::GoogleCloudMlV1Version] google_cloud_ml_v1__version_object - # @param [String] fields - # Selector specifying which fields to include in a partial response. # @param [String] quota_user # Available to use for quota purposes for server-side applications. Can be any # arbitrary string assigned to a user, but should not exceed 40 characters. + # @param [String] fields + # Selector specifying which fields to include in a partial response. # @param [Google::Apis::RequestOptions] options # Request-specific options # @@ -703,15 +522,15 @@ module Google # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required - def create_project_model_version(parent, google_cloud_ml_v1__version_object = nil, fields: nil, quota_user: nil, options: nil, &block) + def create_project_model_version(parent, google_cloud_ml_v1__version_object = nil, quota_user: nil, fields: nil, options: nil, &block) command = make_simple_command(:post, 'v1/{+parent}/versions', options) command.request_representation = Google::Apis::MlV1::GoogleCloudMlV1Version::Representation command.request_object = google_cloud_ml_v1__version_object command.response_representation = Google::Apis::MlV1::GoogleLongrunningOperation::Representation command.response_class = Google::Apis::MlV1::GoogleLongrunningOperation command.params['parent'] = parent unless parent.nil? - command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? + command.query['fields'] = fields unless fields.nil? execute_or_queue_command(command, &block) end @@ -728,11 +547,11 @@ module Google # versions/list). # Authorization: requires `Editor` role on the parent project. # @param [Google::Apis::MlV1::GoogleCloudMlV1SetDefaultVersionRequest] google_cloud_ml_v1__set_default_version_request_object - # @param [String] fields - # Selector specifying which fields to include in a partial response. # @param [String] quota_user # Available to use for quota purposes for server-side applications. Can be any # arbitrary string assigned to a user, but should not exceed 40 characters. + # @param [String] fields + # Selector specifying which fields to include in a partial response. # @param [Google::Apis::RequestOptions] options # Request-specific options # @@ -745,23 +564,205 @@ module Google # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required - def set_project_model_version_default(name, google_cloud_ml_v1__set_default_version_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) + def set_project_model_version_default(name, google_cloud_ml_v1__set_default_version_request_object = nil, quota_user: nil, fields: nil, options: nil, &block) command = make_simple_command(:post, 'v1/{+name}:setDefault', options) command.request_representation = Google::Apis::MlV1::GoogleCloudMlV1SetDefaultVersionRequest::Representation command.request_object = google_cloud_ml_v1__set_default_version_request_object command.response_representation = Google::Apis::MlV1::GoogleCloudMlV1Version::Representation command.response_class = Google::Apis::MlV1::GoogleCloudMlV1Version command.params['name'] = name unless name.nil? - command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? + command.query['fields'] = fields unless fields.nil? + execute_or_queue_command(command, &block) + end + + # Deletes a model version. + # Each model can have multiple versions deployed and in use at any given + # time. Use this method to remove a single version. + # Note: You cannot delete the version that is set as the default version + # of the model unless it is the only remaining version. + # @param [String] name + # Required. The name of the version. You can get the names of all the + # versions of a model by calling + # [projects.models.versions.list](/ml-engine/reference/rest/v1/projects.models. + # versions/list). + # Authorization: requires `Editor` role on the parent project. + # @param [String] quota_user + # Available to use for quota purposes for server-side applications. Can be any + # arbitrary string assigned to a user, but should not exceed 40 characters. + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::MlV1::GoogleLongrunningOperation] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::MlV1::GoogleLongrunningOperation] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def delete_project_model_version(name, quota_user: nil, fields: nil, options: nil, &block) + command = make_simple_command(:delete, 'v1/{+name}', options) + command.response_representation = Google::Apis::MlV1::GoogleLongrunningOperation::Representation + command.response_class = Google::Apis::MlV1::GoogleLongrunningOperation + command.params['name'] = name unless name.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + command.query['fields'] = fields unless fields.nil? + execute_or_queue_command(command, &block) + end + + # Lists the jobs in the project. + # @param [String] parent + # Required. The name of the project for which to list jobs. + # Authorization: requires `Viewer` role on the specified project. + # @param [Fixnum] page_size + # Optional. The number of jobs to retrieve per "page" of results. If there + # are more remaining results than this number, the response message will + # contain a valid value in the `next_page_token` field. + # The default value is 20, and the maximum page size is 100. + # @param [String] filter + # Optional. Specifies the subset of jobs to retrieve. + # @param [String] page_token + # Optional. A page token to request the next page of results. + # You get the token from the `next_page_token` field of the response from + # the previous call. + # @param [String] quota_user + # Available to use for quota purposes for server-side applications. Can be any + # arbitrary string assigned to a user, but should not exceed 40 characters. + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::MlV1::GoogleCloudMlV1ListJobsResponse] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::MlV1::GoogleCloudMlV1ListJobsResponse] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def list_project_jobs(parent, page_size: nil, filter: nil, page_token: nil, quota_user: nil, fields: nil, options: nil, &block) + command = make_simple_command(:get, 'v1/{+parent}/jobs', options) + command.response_representation = Google::Apis::MlV1::GoogleCloudMlV1ListJobsResponse::Representation + command.response_class = Google::Apis::MlV1::GoogleCloudMlV1ListJobsResponse + command.params['parent'] = parent unless parent.nil? + command.query['pageSize'] = page_size unless page_size.nil? + command.query['filter'] = filter unless filter.nil? + command.query['pageToken'] = page_token unless page_token.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + command.query['fields'] = fields unless fields.nil? + execute_or_queue_command(command, &block) + end + + # Describes a job. + # @param [String] name + # Required. The name of the job to get the description of. + # Authorization: requires `Viewer` role on the parent project. + # @param [String] quota_user + # Available to use for quota purposes for server-side applications. Can be any + # arbitrary string assigned to a user, but should not exceed 40 characters. + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::MlV1::GoogleCloudMlV1Job] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::MlV1::GoogleCloudMlV1Job] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def get_project_job(name, quota_user: nil, fields: nil, options: nil, &block) + command = make_simple_command(:get, 'v1/{+name}', options) + command.response_representation = Google::Apis::MlV1::GoogleCloudMlV1Job::Representation + command.response_class = Google::Apis::MlV1::GoogleCloudMlV1Job + command.params['name'] = name unless name.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + command.query['fields'] = fields unless fields.nil? + execute_or_queue_command(command, &block) + end + + # Creates a training or a batch prediction job. + # @param [String] parent + # Required. The project name. + # Authorization: requires `Editor` role on the specified project. + # @param [Google::Apis::MlV1::GoogleCloudMlV1Job] google_cloud_ml_v1__job_object + # @param [String] quota_user + # Available to use for quota purposes for server-side applications. Can be any + # arbitrary string assigned to a user, but should not exceed 40 characters. + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::MlV1::GoogleCloudMlV1Job] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::MlV1::GoogleCloudMlV1Job] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def create_project_job(parent, google_cloud_ml_v1__job_object = nil, quota_user: nil, fields: nil, options: nil, &block) + command = make_simple_command(:post, 'v1/{+parent}/jobs', options) + command.request_representation = Google::Apis::MlV1::GoogleCloudMlV1Job::Representation + command.request_object = google_cloud_ml_v1__job_object + command.response_representation = Google::Apis::MlV1::GoogleCloudMlV1Job::Representation + command.response_class = Google::Apis::MlV1::GoogleCloudMlV1Job + command.params['parent'] = parent unless parent.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + command.query['fields'] = fields unless fields.nil? + execute_or_queue_command(command, &block) + end + + # Cancels a running job. + # @param [String] name + # Required. The name of the job to cancel. + # Authorization: requires `Editor` role on the parent project. + # @param [Google::Apis::MlV1::GoogleCloudMlV1CancelJobRequest] google_cloud_ml_v1__cancel_job_request_object + # @param [String] quota_user + # Available to use for quota purposes for server-side applications. Can be any + # arbitrary string assigned to a user, but should not exceed 40 characters. + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::MlV1::GoogleProtobufEmpty] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::MlV1::GoogleProtobufEmpty] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def cancel_project_job(name, google_cloud_ml_v1__cancel_job_request_object = nil, quota_user: nil, fields: nil, options: nil, &block) + command = make_simple_command(:post, 'v1/{+name}:cancel', options) + command.request_representation = Google::Apis::MlV1::GoogleCloudMlV1CancelJobRequest::Representation + command.request_object = google_cloud_ml_v1__cancel_job_request_object + command.response_representation = Google::Apis::MlV1::GoogleProtobufEmpty::Representation + command.response_class = Google::Apis::MlV1::GoogleProtobufEmpty + command.params['name'] = name unless name.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + command.query['fields'] = fields unless fields.nil? execute_or_queue_command(command, &block) end protected def apply_command_defaults(command) - command.query['key'] = key unless key.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? + command.query['key'] = key unless key.nil? end end end diff --git a/generated/google/apis/monitoring_v3.rb b/generated/google/apis/monitoring_v3.rb index 3507a42d5..aea65b815 100644 --- a/generated/google/apis/monitoring_v3.rb +++ b/generated/google/apis/monitoring_v3.rb @@ -29,6 +29,9 @@ module Google VERSION = 'V3' REVISION = '20170328' + # View and write monitoring data for all of your Google and third-party Cloud and API projects + AUTH_MONITORING = 'https://www.googleapis.com/auth/monitoring' + # Publish metric data to your Google Cloud projects AUTH_MONITORING_WRITE = 'https://www.googleapis.com/auth/monitoring.write' @@ -37,9 +40,6 @@ module Google # View monitoring data for all of your Google Cloud and third-party projects AUTH_MONITORING_READ = 'https://www.googleapis.com/auth/monitoring.read' - - # View and write monitoring data for all of your Google and third-party Cloud and API projects - AUTH_MONITORING = 'https://www.googleapis.com/auth/monitoring' end end end diff --git a/generated/google/apis/monitoring_v3/classes.rb b/generated/google/apis/monitoring_v3/classes.rb index dac43b89c..a68817e8d 100644 --- a/generated/google/apis/monitoring_v3/classes.rb +++ b/generated/google/apis/monitoring_v3/classes.rb @@ -22,208 +22,6 @@ module Google module Apis module MonitoringV3 - # The CreateCollectdTimeSeries request. - class CreateCollectdTimeSeriesRequest - include Google::Apis::Core::Hashable - - # An object representing a resource that can be used for monitoring, logging, - # billing, or other purposes. Examples include virtual machine instances, - # databases, and storage devices such as disks. The type field identifies a - # MonitoredResourceDescriptor object that describes the resource's schema. - # Information in the labels field identifies the actual resource and its - # attributes according to the schema. For example, a particular Compute Engine - # VM instance could be represented by the following object, because the - # MonitoredResourceDescriptor for "gce_instance" has labels "instance_id" and " - # zone": - # ` "type": "gce_instance", - # "labels": ` "instance_id": "12345678901234", - # "zone": "us-central1-a" `` - # Corresponds to the JSON property `resource` - # @return [Google::Apis::MonitoringV3::MonitoredResource] - attr_accessor :resource - - # The collectd payloads representing the time series data. You must not include - # more than a single point for each time series, so no two payloads can have the - # same values for all of the fields plugin, plugin_instance, type, and - # type_instance. - # Corresponds to the JSON property `collectdPayloads` - # @return [Array] - attr_accessor :collectd_payloads - - # The version of collectd that collected the data. Example: "5.3.0-192.el6". - # Corresponds to the JSON property `collectdVersion` - # @return [String] - attr_accessor :collectd_version - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @resource = args[:resource] if args.key?(:resource) - @collectd_payloads = args[:collectd_payloads] if args.key?(:collectd_payloads) - @collectd_version = args[:collectd_version] if args.key?(:collectd_version) - end - end - - # The ListGroupMembers response. - class ListGroupMembersResponse - include Google::Apis::Core::Hashable - - # A set of monitored resources in the group. - # Corresponds to the JSON property `members` - # @return [Array] - attr_accessor :members - - # If there are more results than have been returned, then this field is set to a - # non-empty value. To see the additional results, use that value as pageToken in - # the next call to this method. - # Corresponds to the JSON property `nextPageToken` - # @return [String] - attr_accessor :next_page_token - - # The total number of elements matching this request. - # Corresponds to the JSON property `totalSize` - # @return [Fixnum] - attr_accessor :total_size - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @members = args[:members] if args.key?(:members) - @next_page_token = args[:next_page_token] if args.key?(:next_page_token) - @total_size = args[:total_size] if args.key?(:total_size) - end - end - - # The ListMonitoredResourcDescriptors response. - class ListMonitoredResourceDescriptorsResponse - include Google::Apis::Core::Hashable - - # If there are more results than have been returned, then this field is set to a - # non-empty value. To see the additional results, use that value as pageToken in - # the next call to this method. - # Corresponds to the JSON property `nextPageToken` - # @return [String] - attr_accessor :next_page_token - - # The monitored resource descriptors that are available to this project and that - # match filter, if present. - # Corresponds to the JSON property `resourceDescriptors` - # @return [Array] - attr_accessor :resource_descriptors - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @next_page_token = args[:next_page_token] if args.key?(:next_page_token) - @resource_descriptors = args[:resource_descriptors] if args.key?(:resource_descriptors) - end - end - - # A collection of data points that describes the time-varying values of a metric. - # A time series is identified by a combination of a fully-specified monitored - # resource and a fully-specified metric. This type is used for both listing and - # creating time series. - class TimeSeries - include Google::Apis::Core::Hashable - - # An object representing a resource that can be used for monitoring, logging, - # billing, or other purposes. Examples include virtual machine instances, - # databases, and storage devices such as disks. The type field identifies a - # MonitoredResourceDescriptor object that describes the resource's schema. - # Information in the labels field identifies the actual resource and its - # attributes according to the schema. For example, a particular Compute Engine - # VM instance could be represented by the following object, because the - # MonitoredResourceDescriptor for "gce_instance" has labels "instance_id" and " - # zone": - # ` "type": "gce_instance", - # "labels": ` "instance_id": "12345678901234", - # "zone": "us-central1-a" `` - # Corresponds to the JSON property `resource` - # @return [Google::Apis::MonitoringV3::MonitoredResource] - attr_accessor :resource - - # The metric kind of the time series. When listing time series, this metric kind - # might be different from the metric kind of the associated metric if this time - # series is an alignment or reduction of other time series.When creating a time - # series, this field is optional. If present, it must be the same as the metric - # kind of the associated metric. If the associated metric's descriptor must be - # auto-created, then this field specifies the metric kind of the new descriptor - # and must be either GAUGE (the default) or CUMULATIVE. - # Corresponds to the JSON property `metricKind` - # @return [String] - attr_accessor :metric_kind - - # A specific metric, identified by specifying values for all of the labels of a - # MetricDescriptor. - # Corresponds to the JSON property `metric` - # @return [Google::Apis::MonitoringV3::Metric] - attr_accessor :metric - - # The data points of this time series. When listing time series, the order of - # the points is specified by the list method.When creating a time series, this - # field must contain exactly one point and the point's type must be the same as - # the value type of the associated metric. If the associated metric's descriptor - # must be auto-created, then the value type of the descriptor is determined by - # the point's type, which must be BOOL, INT64, DOUBLE, or DISTRIBUTION. - # Corresponds to the JSON property `points` - # @return [Array] - attr_accessor :points - - # The value type of the time series. When listing time series, this value type - # might be different from the value type of the associated metric if this time - # series is an alignment or reduction of other time series.When creating a time - # series, this field is optional. If present, it must be the same as the type of - # the data in the points field. - # Corresponds to the JSON property `valueType` - # @return [String] - attr_accessor :value_type - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @resource = args[:resource] if args.key?(:resource) - @metric_kind = args[:metric_kind] if args.key?(:metric_kind) - @metric = args[:metric] if args.key?(:metric) - @points = args[:points] if args.key?(:points) - @value_type = args[:value_type] if args.key?(:value_type) - end - end - - # The CreateTimeSeries request. - class CreateTimeSeriesRequest - include Google::Apis::Core::Hashable - - # The new data to be added to a list of time series. Adds at most one data point - # to each of several time series. The new data point must be more recent than - # any other point in its time series. Each TimeSeries value must fully specify a - # unique time series by supplying all label values for the metric and the - # monitored resource. - # Corresponds to the JSON property `timeSeries` - # @return [Array] - attr_accessor :time_series - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @time_series = args[:time_series] if args.key?(:time_series) - end - end - # Distribution contains summary statistics for a population of values. It # optionally contains a histogram representing the distribution of those values # across a set of buckets.The summary statistics are the count, mean, sum of the @@ -238,16 +36,6 @@ module Google class Distribution include Google::Apis::Core::Hashable - # The sum of squared deviations from the mean of the values in the population. - # For values x_i this is: - # Sum[i=1..n]((x_i - mean)^2) - # Knuth, "The Art of Computer Programming", Vol. 2, page 323, 3rd edition - # describes Welford's method for accumulating this sum in one pass.If count is - # zero then this field must be zero. - # Corresponds to the JSON property `sumOfSquaredDeviation` - # @return [Float] - attr_accessor :sum_of_squared_deviation - # The range of the population values. # Corresponds to the JSON property `range` # @return [Google::Apis::MonitoringV3::Range] @@ -256,7 +44,7 @@ module Google # The number of values in the population. Must be non-negative. This value must # equal the sum of the values in bucket_counts if a histogram is provided. # Corresponds to the JSON property `count` - # @return [String] + # @return [Fixnum] attr_accessor :count # The arithmetic mean of the values in the population. If count is zero then @@ -274,7 +62,7 @@ module Google # bucket_counts must not be greater than N. If the size is less than N, then the # remaining buckets are assigned values of zero. # Corresponds to the JSON property `bucketCounts` - # @return [Array] + # @return [Array] attr_accessor :bucket_counts # BucketOptions describes the bucket boundaries used to create a histogram for @@ -294,18 +82,28 @@ module Google # @return [Google::Apis::MonitoringV3::BucketOptions] attr_accessor :bucket_options + # The sum of squared deviations from the mean of the values in the population. + # For values x_i this is: + # Sum[i=1..n]((x_i - mean)^2) + # Knuth, "The Art of Computer Programming", Vol. 2, page 323, 3rd edition + # describes Welford's method for accumulating this sum in one pass.If count is + # zero then this field must be zero. + # Corresponds to the JSON property `sumOfSquaredDeviation` + # @return [Float] + attr_accessor :sum_of_squared_deviation + def initialize(**args) update!(**args) end # Update properties of this object def update!(**args) - @sum_of_squared_deviation = args[:sum_of_squared_deviation] if args.key?(:sum_of_squared_deviation) @range = args[:range] if args.key?(:range) @count = args[:count] if args.key?(:count) @mean = args[:mean] if args.key?(:mean) @bucket_counts = args[:bucket_counts] if args.key?(:bucket_counts) @bucket_options = args[:bucket_options] if args.key?(:bucket_options) + @sum_of_squared_deviation = args[:sum_of_squared_deviation] if args.key?(:sum_of_squared_deviation) end end @@ -387,13 +185,6 @@ module Google class MonitoredResourceDescriptor include Google::Apis::Core::Hashable - # Required. A set of labels used to describe instances of this monitored - # resource type. For example, an individual Google Cloud SQL database is - # identified by values for the labels "database_id" and "zone". - # Corresponds to the JSON property `labels` - # @return [Array] - attr_accessor :labels - # Optional. The resource name of the monitored resource descriptor: "projects/` # project_id`/monitoredResourceDescriptors/`type`" where `type` is the value of # the type field in this object and `project_id` is a project ID that provides @@ -424,17 +215,24 @@ module Google # @return [String] attr_accessor :type + # Required. A set of labels used to describe instances of this monitored + # resource type. For example, an individual Google Cloud SQL database is + # identified by values for the labels "database_id" and "zone". + # Corresponds to the JSON property `labels` + # @return [Array] + attr_accessor :labels + def initialize(**args) update!(**args) end # Update properties of this object def update!(**args) - @labels = args[:labels] if args.key?(:labels) @name = args[:name] if args.key?(:name) @display_name = args[:display_name] if args.key?(:display_name) @description = args[:description] if args.key?(:description) @type = args[:type] if args.key?(:type) + @labels = args[:labels] if args.key?(:labels) end end @@ -442,17 +240,6 @@ module Google class TypedValue include Google::Apis::Core::Hashable - # A Boolean value: true or false. - # Corresponds to the JSON property `boolValue` - # @return [Boolean] - attr_accessor :bool_value - alias_method :bool_value?, :bool_value - - # A variable-length string value. - # Corresponds to the JSON property `stringValue` - # @return [String] - attr_accessor :string_value - # A 64-bit double-precision floating-point number. Its magnitude is # approximately ±10±300 and it has 16 significant # digits of precision. @@ -462,7 +249,7 @@ module Google # A 64-bit integer. Its range is approximately ±9.2x1018. # Corresponds to the JSON property `int64Value` - # @return [String] + # @return [Fixnum] attr_accessor :int64_value # Distribution contains summary statistics for a population of values. It @@ -480,17 +267,28 @@ module Google # @return [Google::Apis::MonitoringV3::Distribution] attr_accessor :distribution_value + # A Boolean value: true or false. + # Corresponds to the JSON property `boolValue` + # @return [Boolean] + attr_accessor :bool_value + alias_method :bool_value?, :bool_value + + # A variable-length string value. + # Corresponds to the JSON property `stringValue` + # @return [String] + attr_accessor :string_value + def initialize(**args) update!(**args) end # Update properties of this object def update!(**args) - @bool_value = args[:bool_value] if args.key?(:bool_value) - @string_value = args[:string_value] if args.key?(:string_value) @double_value = args[:double_value] if args.key?(:double_value) @int64_value = args[:int64_value] if args.key?(:int64_value) @distribution_value = args[:distribution_value] if args.key?(:distribution_value) + @bool_value = args[:bool_value] if args.key?(:bool_value) + @string_value = args[:string_value] if args.key?(:string_value) end end @@ -705,11 +503,6 @@ module Google class Exponential include Google::Apis::Core::Hashable - # Must be greater than 0. - # Corresponds to the JSON property `numFiniteBuckets` - # @return [Fixnum] - attr_accessor :num_finite_buckets - # Must be greater than 1. # Corresponds to the JSON property `growthFactor` # @return [Float] @@ -720,15 +513,20 @@ module Google # @return [Float] attr_accessor :scale + # Must be greater than 0. + # Corresponds to the JSON property `numFiniteBuckets` + # @return [Fixnum] + attr_accessor :num_finite_buckets + def initialize(**args) update!(**args) end # Update properties of this object def update!(**args) - @num_finite_buckets = args[:num_finite_buckets] if args.key?(:num_finite_buckets) @growth_factor = args[:growth_factor] if args.key?(:growth_factor) @scale = args[:scale] if args.key?(:scale) + @num_finite_buckets = args[:num_finite_buckets] if args.key?(:num_finite_buckets) end end @@ -736,11 +534,6 @@ module Google class Point include Google::Apis::Core::Hashable - # A single strongly-typed value. - # Corresponds to the JSON property `value` - # @return [Google::Apis::MonitoringV3::TypedValue] - attr_accessor :value - # A time interval extending just after a start time through an end time. If the # start time is the same as the end time, then the interval represents a single # point in time. @@ -748,14 +541,19 @@ module Google # @return [Google::Apis::MonitoringV3::TimeInterval] attr_accessor :interval + # A single strongly-typed value. + # Corresponds to the JSON property `value` + # @return [Google::Apis::MonitoringV3::TypedValue] + attr_accessor :value + def initialize(**args) update!(**args) end # Update properties of this object def update!(**args) - @value = args[:value] if args.key?(:value) @interval = args[:interval] if args.key?(:interval) + @value = args[:value] if args.key?(:value) end end @@ -763,37 +561,21 @@ module Google class Field include Google::Apis::Core::Hashable - # The string value of the default value of this field. Proto2 syntax only. - # Corresponds to the JSON property `defaultValue` - # @return [String] - attr_accessor :default_value - - # The field name. - # Corresponds to the JSON property `name` - # @return [String] - attr_accessor :name - - # The field type URL, without the scheme, for message or enumeration types. - # Example: "type.googleapis.com/google.protobuf.Timestamp". - # Corresponds to the JSON property `typeUrl` - # @return [String] - attr_accessor :type_url - # The field number. # Corresponds to the JSON property `number` # @return [Fixnum] attr_accessor :number - # The field JSON name. - # Corresponds to the JSON property `jsonName` - # @return [String] - attr_accessor :json_name - # The field type. # Corresponds to the JSON property `kind` # @return [String] attr_accessor :kind + # The field JSON name. + # Corresponds to the JSON property `jsonName` + # @return [String] + attr_accessor :json_name + # The protocol buffer options. # Corresponds to the JSON property `options` # @return [Array] @@ -816,22 +598,38 @@ module Google attr_accessor :packed alias_method :packed?, :packed + # The string value of the default value of this field. Proto2 syntax only. + # Corresponds to the JSON property `defaultValue` + # @return [String] + attr_accessor :default_value + + # The field name. + # Corresponds to the JSON property `name` + # @return [String] + attr_accessor :name + + # The field type URL, without the scheme, for message or enumeration types. + # Example: "type.googleapis.com/google.protobuf.Timestamp". + # Corresponds to the JSON property `typeUrl` + # @return [String] + attr_accessor :type_url + def initialize(**args) update!(**args) end # Update properties of this object def update!(**args) - @default_value = args[:default_value] if args.key?(:default_value) - @name = args[:name] if args.key?(:name) - @type_url = args[:type_url] if args.key?(:type_url) @number = args[:number] if args.key?(:number) - @json_name = args[:json_name] if args.key?(:json_name) @kind = args[:kind] if args.key?(:kind) + @json_name = args[:json_name] if args.key?(:json_name) @options = args[:options] if args.key?(:options) @oneof_index = args[:oneof_index] if args.key?(:oneof_index) @cardinality = args[:cardinality] if args.key?(:cardinality) @packed = args[:packed] if args.key?(:packed) + @default_value = args[:default_value] if args.key?(:default_value) + @name = args[:name] if args.key?(:name) + @type_url = args[:type_url] if args.key?(:type_url) end end @@ -840,26 +638,26 @@ module Google class Metric include Google::Apis::Core::Hashable - # An existing metric type, see google.api.MetricDescriptor. For example, custom. - # googleapis.com/invoice/paid/amount. - # Corresponds to the JSON property `type` - # @return [String] - attr_accessor :type - # The set of label values that uniquely identify this metric. All labels listed # in the MetricDescriptor must be assigned values. # Corresponds to the JSON property `labels` # @return [Hash] attr_accessor :labels + # An existing metric type, see google.api.MetricDescriptor. For example, custom. + # googleapis.com/invoice/paid/amount. + # Corresponds to the JSON property `type` + # @return [String] + attr_accessor :type + def initialize(**args) update!(**args) end # Update properties of this object def update!(**args) - @type = args[:type] if args.key?(:type) @labels = args[:labels] if args.key?(:labels) + @type = args[:type] if args.key?(:type) end end @@ -898,11 +696,6 @@ module Google class ListTimeSeriesResponse include Google::Apis::Core::Hashable - # One or more time series that match the filter included in the request. - # Corresponds to the JSON property `timeSeries` - # @return [Array] - attr_accessor :time_series - # If there are more results than have been returned, then this field is set to a # non-empty value. To see the additional results, use that value as pageToken in # the next call to this method. @@ -910,14 +703,19 @@ module Google # @return [String] attr_accessor :next_page_token + # One or more time series that match the filter included in the request. + # Corresponds to the JSON property `timeSeries` + # @return [Array] + attr_accessor :time_series + def initialize(**args) update!(**args) end # Update properties of this object def update!(**args) - @time_series = args[:time_series] if args.key?(:time_series) @next_page_token = args[:next_page_token] if args.key?(:next_page_token) + @time_series = args[:time_series] if args.key?(:time_series) end end @@ -994,27 +792,6 @@ module Google class Type include Google::Apis::Core::Hashable - # The list of types appearing in oneof definitions in this type. - # Corresponds to the JSON property `oneofs` - # @return [Array] - attr_accessor :oneofs - - # The source syntax. - # Corresponds to the JSON property `syntax` - # @return [String] - attr_accessor :syntax - - # SourceContext represents information about the source of a protobuf element, - # like the file in which it is defined. - # Corresponds to the JSON property `sourceContext` - # @return [Google::Apis::MonitoringV3::SourceContext] - attr_accessor :source_context - - # The protocol buffer options. - # Corresponds to the JSON property `options` - # @return [Array] - attr_accessor :options - # The list of fields. # Corresponds to the JSON property `fields` # @return [Array] @@ -1025,18 +802,39 @@ module Google # @return [String] attr_accessor :name + # The list of types appearing in oneof definitions in this type. + # Corresponds to the JSON property `oneofs` + # @return [Array] + attr_accessor :oneofs + + # SourceContext represents information about the source of a protobuf element, + # like the file in which it is defined. + # Corresponds to the JSON property `sourceContext` + # @return [Google::Apis::MonitoringV3::SourceContext] + attr_accessor :source_context + + # The source syntax. + # Corresponds to the JSON property `syntax` + # @return [String] + attr_accessor :syntax + + # The protocol buffer options. + # Corresponds to the JSON property `options` + # @return [Array] + attr_accessor :options + def initialize(**args) update!(**args) end # Update properties of this object def update!(**args) - @oneofs = args[:oneofs] if args.key?(:oneofs) - @syntax = args[:syntax] if args.key?(:syntax) - @source_context = args[:source_context] if args.key?(:source_context) - @options = args[:options] if args.key?(:options) @fields = args[:fields] if args.key?(:fields) @name = args[:name] if args.key?(:name) + @oneofs = args[:oneofs] if args.key?(:oneofs) + @source_context = args[:source_context] if args.key?(:source_context) + @syntax = args[:syntax] if args.key?(:syntax) + @options = args[:options] if args.key?(:options) end end @@ -1056,6 +854,16 @@ module Google class BucketOptions include Google::Apis::Core::Hashable + # Specifies an exponential sequence of buckets that have a width that is + # proportional to the value of the lower bound. Each bucket represents a + # constant relative uncertainty on a specific value in the bucket.There are + # num_finite_buckets + 2 (= N) buckets. Bucket i has the following boundaries: + # Upper bound (0 <= i < N-1): scale * (growth_factor ^ i). Lower bound (1 <= i < + # N): scale * (growth_factor ^ (i - 1)). + # Corresponds to the JSON property `exponentialBuckets` + # @return [Google::Apis::MonitoringV3::Exponential] + attr_accessor :exponential_buckets + # Specifies a linear sequence of buckets that all have the same width (except # overflow and underflow). Each bucket represents a constant absolute # uncertainty on the specific value in the bucket.There are num_finite_buckets + @@ -1076,25 +884,15 @@ module Google # @return [Google::Apis::MonitoringV3::Explicit] attr_accessor :explicit_buckets - # Specifies an exponential sequence of buckets that have a width that is - # proportional to the value of the lower bound. Each bucket represents a - # constant relative uncertainty on a specific value in the bucket.There are - # num_finite_buckets + 2 (= N) buckets. Bucket i has the following boundaries: - # Upper bound (0 <= i < N-1): scale * (growth_factor ^ i). Lower bound (1 <= i < - # N): scale * (growth_factor ^ (i - 1)). - # Corresponds to the JSON property `exponentialBuckets` - # @return [Google::Apis::MonitoringV3::Exponential] - attr_accessor :exponential_buckets - def initialize(**args) update!(**args) end # Update properties of this object def update!(**args) + @exponential_buckets = args[:exponential_buckets] if args.key?(:exponential_buckets) @linear_buckets = args[:linear_buckets] if args.key?(:linear_buckets) @explicit_buckets = args[:explicit_buckets] if args.key?(:explicit_buckets) - @exponential_buckets = args[:exponential_buckets] if args.key?(:exponential_buckets) end end @@ -1157,6 +955,18 @@ module Google class MetricDescriptor include Google::Apis::Core::Hashable + # The resource name of the metric descriptor. Depending on the implementation, + # the name typically includes: (1) the parent resource name that defines the + # scope of the metric type or of its data; and (2) the metric's URL-encoded type, + # which also appears in the type field of this descriptor. For example, + # following is the resource name of a custom metric within the GCP project my- + # project-id: + # "projects/my-project-id/metricDescriptors/custom.googleapis.com%2Finvoice% + # 2Fpaid%2Famount" + # Corresponds to the JSON property `name` + # @return [String] + attr_accessor :name + # The metric type, including its DNS name prefix. The type is not URL-encoded. # All user-defined custom metric types have the DNS name custom.googleapis.com. # Metric types should use a natural hierarchical grouping. For example: @@ -1248,24 +1058,13 @@ module Google # @return [Array] attr_accessor :labels - # The resource name of the metric descriptor. Depending on the implementation, - # the name typically includes: (1) the parent resource name that defines the - # scope of the metric type or of its data; and (2) the metric's URL-encoded type, - # which also appears in the type field of this descriptor. For example, - # following is the resource name of a custom metric within the GCP project my- - # project-id: - # "projects/my-project-id/metricDescriptors/custom.googleapis.com%2Finvoice% - # 2Fpaid%2Famount" - # Corresponds to the JSON property `name` - # @return [String] - attr_accessor :name - def initialize(**args) update!(**args) end # Update properties of this object def update!(**args) + @name = args[:name] if args.key?(:name) @type = args[:type] if args.key?(:type) @value_type = args[:value_type] if args.key?(:value_type) @metric_kind = args[:metric_kind] if args.key?(:metric_kind) @@ -1273,7 +1072,6 @@ module Google @description = args[:description] if args.key?(:description) @unit = args[:unit] if args.key?(:unit) @labels = args[:labels] if args.key?(:labels) - @name = args[:name] if args.key?(:name) end end @@ -1306,6 +1104,11 @@ module Google class ListGroupsResponse include Google::Apis::Core::Hashable + # The groups that match the specified filters. + # Corresponds to the JSON property `group` + # @return [Array] + attr_accessor :group + # If there are more results than have been returned, then this field is set to a # non-empty value. To see the additional results, use that value as pageToken in # the next call to this method. @@ -1313,10 +1116,82 @@ module Google # @return [String] attr_accessor :next_page_token - # The groups that match the specified filters. - # Corresponds to the JSON property `group` - # @return [Array] - attr_accessor :group + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @group = args[:group] if args.key?(:group) + @next_page_token = args[:next_page_token] if args.key?(:next_page_token) + end + end + + # The CreateCollectdTimeSeries request. + class CreateCollectdTimeSeriesRequest + include Google::Apis::Core::Hashable + + # An object representing a resource that can be used for monitoring, logging, + # billing, or other purposes. Examples include virtual machine instances, + # databases, and storage devices such as disks. The type field identifies a + # MonitoredResourceDescriptor object that describes the resource's schema. + # Information in the labels field identifies the actual resource and its + # attributes according to the schema. For example, a particular Compute Engine + # VM instance could be represented by the following object, because the + # MonitoredResourceDescriptor for "gce_instance" has labels "instance_id" and " + # zone": + # ` "type": "gce_instance", + # "labels": ` "instance_id": "12345678901234", + # "zone": "us-central1-a" `` + # Corresponds to the JSON property `resource` + # @return [Google::Apis::MonitoringV3::MonitoredResource] + attr_accessor :resource + + # The collectd payloads representing the time series data. You must not include + # more than a single point for each time series, so no two payloads can have the + # same values for all of the fields plugin, plugin_instance, type, and + # type_instance. + # Corresponds to the JSON property `collectdPayloads` + # @return [Array] + attr_accessor :collectd_payloads + + # The version of collectd that collected the data. Example: "5.3.0-192.el6". + # Corresponds to the JSON property `collectdVersion` + # @return [String] + attr_accessor :collectd_version + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @resource = args[:resource] if args.key?(:resource) + @collectd_payloads = args[:collectd_payloads] if args.key?(:collectd_payloads) + @collectd_version = args[:collectd_version] if args.key?(:collectd_version) + end + end + + # The ListGroupMembers response. + class ListGroupMembersResponse + include Google::Apis::Core::Hashable + + # If there are more results than have been returned, then this field is set to a + # non-empty value. To see the additional results, use that value as pageToken in + # the next call to this method. + # Corresponds to the JSON property `nextPageToken` + # @return [String] + attr_accessor :next_page_token + + # The total number of elements matching this request. + # Corresponds to the JSON property `totalSize` + # @return [Fixnum] + attr_accessor :total_size + + # A set of monitored resources in the group. + # Corresponds to the JSON property `members` + # @return [Array] + attr_accessor :members def initialize(**args) update!(**args) @@ -1325,7 +1200,132 @@ module Google # Update properties of this object def update!(**args) @next_page_token = args[:next_page_token] if args.key?(:next_page_token) - @group = args[:group] if args.key?(:group) + @total_size = args[:total_size] if args.key?(:total_size) + @members = args[:members] if args.key?(:members) + end + end + + # The ListMonitoredResourcDescriptors response. + class ListMonitoredResourceDescriptorsResponse + include Google::Apis::Core::Hashable + + # If there are more results than have been returned, then this field is set to a + # non-empty value. To see the additional results, use that value as pageToken in + # the next call to this method. + # Corresponds to the JSON property `nextPageToken` + # @return [String] + attr_accessor :next_page_token + + # The monitored resource descriptors that are available to this project and that + # match filter, if present. + # Corresponds to the JSON property `resourceDescriptors` + # @return [Array] + attr_accessor :resource_descriptors + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @next_page_token = args[:next_page_token] if args.key?(:next_page_token) + @resource_descriptors = args[:resource_descriptors] if args.key?(:resource_descriptors) + end + end + + # A collection of data points that describes the time-varying values of a metric. + # A time series is identified by a combination of a fully-specified monitored + # resource and a fully-specified metric. This type is used for both listing and + # creating time series. + class TimeSeries + include Google::Apis::Core::Hashable + + # The value type of the time series. When listing time series, this value type + # might be different from the value type of the associated metric if this time + # series is an alignment or reduction of other time series.When creating a time + # series, this field is optional. If present, it must be the same as the type of + # the data in the points field. + # Corresponds to the JSON property `valueType` + # @return [String] + attr_accessor :value_type + + # An object representing a resource that can be used for monitoring, logging, + # billing, or other purposes. Examples include virtual machine instances, + # databases, and storage devices such as disks. The type field identifies a + # MonitoredResourceDescriptor object that describes the resource's schema. + # Information in the labels field identifies the actual resource and its + # attributes according to the schema. For example, a particular Compute Engine + # VM instance could be represented by the following object, because the + # MonitoredResourceDescriptor for "gce_instance" has labels "instance_id" and " + # zone": + # ` "type": "gce_instance", + # "labels": ` "instance_id": "12345678901234", + # "zone": "us-central1-a" `` + # Corresponds to the JSON property `resource` + # @return [Google::Apis::MonitoringV3::MonitoredResource] + attr_accessor :resource + + # The metric kind of the time series. When listing time series, this metric kind + # might be different from the metric kind of the associated metric if this time + # series is an alignment or reduction of other time series.When creating a time + # series, this field is optional. If present, it must be the same as the metric + # kind of the associated metric. If the associated metric's descriptor must be + # auto-created, then this field specifies the metric kind of the new descriptor + # and must be either GAUGE (the default) or CUMULATIVE. + # Corresponds to the JSON property `metricKind` + # @return [String] + attr_accessor :metric_kind + + # A specific metric, identified by specifying values for all of the labels of a + # MetricDescriptor. + # Corresponds to the JSON property `metric` + # @return [Google::Apis::MonitoringV3::Metric] + attr_accessor :metric + + # The data points of this time series. When listing time series, the order of + # the points is specified by the list method.When creating a time series, this + # field must contain exactly one point and the point's type must be the same as + # the value type of the associated metric. If the associated metric's descriptor + # must be auto-created, then the value type of the descriptor is determined by + # the point's type, which must be BOOL, INT64, DOUBLE, or DISTRIBUTION. + # Corresponds to the JSON property `points` + # @return [Array] + attr_accessor :points + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @value_type = args[:value_type] if args.key?(:value_type) + @resource = args[:resource] if args.key?(:resource) + @metric_kind = args[:metric_kind] if args.key?(:metric_kind) + @metric = args[:metric] if args.key?(:metric) + @points = args[:points] if args.key?(:points) + end + end + + # The CreateTimeSeries request. + class CreateTimeSeriesRequest + include Google::Apis::Core::Hashable + + # The new data to be added to a list of time series. Adds at most one data point + # to each of several time series. The new data point must be more recent than + # any other point in its time series. Each TimeSeries value must fully specify a + # unique time series by supplying all label values for the metric and the + # monitored resource. + # Corresponds to the JSON property `timeSeries` + # @return [Array] + attr_accessor :time_series + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @time_series = args[:time_series] if args.key?(:time_series) end end end diff --git a/generated/google/apis/monitoring_v3/representations.rb b/generated/google/apis/monitoring_v3/representations.rb index af96edec4..602e89121 100644 --- a/generated/google/apis/monitoring_v3/representations.rb +++ b/generated/google/apis/monitoring_v3/representations.rb @@ -22,36 +22,6 @@ module Google module Apis module MonitoringV3 - class CreateCollectdTimeSeriesRequest - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class ListGroupMembersResponse - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class ListMonitoredResourceDescriptorsResponse - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class TimeSeries - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class CreateTimeSeriesRequest - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - class Distribution class Representation < Google::Apis::Core::JsonRepresentation; end @@ -203,68 +173,46 @@ module Google end class CreateCollectdTimeSeriesRequest - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :resource, as: 'resource', class: Google::Apis::MonitoringV3::MonitoredResource, decorator: Google::Apis::MonitoringV3::MonitoredResource::Representation + class Representation < Google::Apis::Core::JsonRepresentation; end - collection :collectd_payloads, as: 'collectdPayloads', class: Google::Apis::MonitoringV3::CollectdPayload, decorator: Google::Apis::MonitoringV3::CollectdPayload::Representation - - property :collectd_version, as: 'collectdVersion' - end + include Google::Apis::Core::JsonObjectSupport end class ListGroupMembersResponse - # @private - class Representation < Google::Apis::Core::JsonRepresentation - collection :members, as: 'members', class: Google::Apis::MonitoringV3::MonitoredResource, decorator: Google::Apis::MonitoringV3::MonitoredResource::Representation + class Representation < Google::Apis::Core::JsonRepresentation; end - property :next_page_token, as: 'nextPageToken' - property :total_size, as: 'totalSize' - end + include Google::Apis::Core::JsonObjectSupport end class ListMonitoredResourceDescriptorsResponse - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :next_page_token, as: 'nextPageToken' - collection :resource_descriptors, as: 'resourceDescriptors', class: Google::Apis::MonitoringV3::MonitoredResourceDescriptor, decorator: Google::Apis::MonitoringV3::MonitoredResourceDescriptor::Representation + class Representation < Google::Apis::Core::JsonRepresentation; end - end + include Google::Apis::Core::JsonObjectSupport end class TimeSeries - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :resource, as: 'resource', class: Google::Apis::MonitoringV3::MonitoredResource, decorator: Google::Apis::MonitoringV3::MonitoredResource::Representation + class Representation < Google::Apis::Core::JsonRepresentation; end - property :metric_kind, as: 'metricKind' - property :metric, as: 'metric', class: Google::Apis::MonitoringV3::Metric, decorator: Google::Apis::MonitoringV3::Metric::Representation - - collection :points, as: 'points', class: Google::Apis::MonitoringV3::Point, decorator: Google::Apis::MonitoringV3::Point::Representation - - property :value_type, as: 'valueType' - end + include Google::Apis::Core::JsonObjectSupport end class CreateTimeSeriesRequest - # @private - class Representation < Google::Apis::Core::JsonRepresentation - collection :time_series, as: 'timeSeries', class: Google::Apis::MonitoringV3::TimeSeries, decorator: Google::Apis::MonitoringV3::TimeSeries::Representation + class Representation < Google::Apis::Core::JsonRepresentation; end - end + include Google::Apis::Core::JsonObjectSupport end class Distribution # @private class Representation < Google::Apis::Core::JsonRepresentation - property :sum_of_squared_deviation, as: 'sumOfSquaredDeviation' property :range, as: 'range', class: Google::Apis::MonitoringV3::Range, decorator: Google::Apis::MonitoringV3::Range::Representation - property :count, as: 'count' + property :count, :numeric_string => true, as: 'count' property :mean, as: 'mean' collection :bucket_counts, as: 'bucketCounts' property :bucket_options, as: 'bucketOptions', class: Google::Apis::MonitoringV3::BucketOptions, decorator: Google::Apis::MonitoringV3::BucketOptions::Representation + property :sum_of_squared_deviation, as: 'sumOfSquaredDeviation' end end @@ -288,24 +236,24 @@ module Google class MonitoredResourceDescriptor # @private class Representation < Google::Apis::Core::JsonRepresentation - collection :labels, as: 'labels', class: Google::Apis::MonitoringV3::LabelDescriptor, decorator: Google::Apis::MonitoringV3::LabelDescriptor::Representation - property :name, as: 'name' property :display_name, as: 'displayName' property :description, as: 'description' property :type, as: 'type' + collection :labels, as: 'labels', class: Google::Apis::MonitoringV3::LabelDescriptor, decorator: Google::Apis::MonitoringV3::LabelDescriptor::Representation + end end class TypedValue # @private class Representation < Google::Apis::Core::JsonRepresentation - property :bool_value, as: 'boolValue' - property :string_value, as: 'stringValue' property :double_value, as: 'doubleValue' - property :int64_value, as: 'int64Value' + property :int64_value, :numeric_string => true, as: 'int64Value' property :distribution_value, as: 'distributionValue', class: Google::Apis::MonitoringV3::Distribution, decorator: Google::Apis::MonitoringV3::Distribution::Representation + property :bool_value, as: 'boolValue' + property :string_value, as: 'stringValue' end end @@ -366,44 +314,44 @@ module Google class Exponential # @private class Representation < Google::Apis::Core::JsonRepresentation - property :num_finite_buckets, as: 'numFiniteBuckets' property :growth_factor, as: 'growthFactor' property :scale, as: 'scale' + property :num_finite_buckets, as: 'numFiniteBuckets' end end class Point # @private class Representation < Google::Apis::Core::JsonRepresentation - property :value, as: 'value', class: Google::Apis::MonitoringV3::TypedValue, decorator: Google::Apis::MonitoringV3::TypedValue::Representation - property :interval, as: 'interval', class: Google::Apis::MonitoringV3::TimeInterval, decorator: Google::Apis::MonitoringV3::TimeInterval::Representation + property :value, as: 'value', class: Google::Apis::MonitoringV3::TypedValue, decorator: Google::Apis::MonitoringV3::TypedValue::Representation + end end class Field # @private class Representation < Google::Apis::Core::JsonRepresentation - property :default_value, as: 'defaultValue' - property :name, as: 'name' - property :type_url, as: 'typeUrl' property :number, as: 'number' - property :json_name, as: 'jsonName' property :kind, as: 'kind' + property :json_name, as: 'jsonName' collection :options, as: 'options', class: Google::Apis::MonitoringV3::Option, decorator: Google::Apis::MonitoringV3::Option::Representation property :oneof_index, as: 'oneofIndex' property :cardinality, as: 'cardinality' property :packed, as: 'packed' + property :default_value, as: 'defaultValue' + property :name, as: 'name' + property :type_url, as: 'typeUrl' end end class Metric # @private class Representation < Google::Apis::Core::JsonRepresentation - property :type, as: 'type' hash :labels, as: 'labels' + property :type, as: 'type' end end @@ -419,9 +367,9 @@ module Google class ListTimeSeriesResponse # @private class Representation < Google::Apis::Core::JsonRepresentation + property :next_page_token, as: 'nextPageToken' collection :time_series, as: 'timeSeries', class: Google::Apis::MonitoringV3::TimeSeries, decorator: Google::Apis::MonitoringV3::TimeSeries::Representation - property :next_page_token, as: 'nextPageToken' end end @@ -439,27 +387,27 @@ module Google class Type # @private class Representation < Google::Apis::Core::JsonRepresentation - collection :oneofs, as: 'oneofs' - property :syntax, as: 'syntax' - property :source_context, as: 'sourceContext', class: Google::Apis::MonitoringV3::SourceContext, decorator: Google::Apis::MonitoringV3::SourceContext::Representation - - collection :options, as: 'options', class: Google::Apis::MonitoringV3::Option, decorator: Google::Apis::MonitoringV3::Option::Representation - collection :fields, as: 'fields', class: Google::Apis::MonitoringV3::Field, decorator: Google::Apis::MonitoringV3::Field::Representation property :name, as: 'name' + collection :oneofs, as: 'oneofs' + property :source_context, as: 'sourceContext', class: Google::Apis::MonitoringV3::SourceContext, decorator: Google::Apis::MonitoringV3::SourceContext::Representation + + property :syntax, as: 'syntax' + collection :options, as: 'options', class: Google::Apis::MonitoringV3::Option, decorator: Google::Apis::MonitoringV3::Option::Representation + end end class BucketOptions # @private class Representation < Google::Apis::Core::JsonRepresentation + property :exponential_buckets, as: 'exponentialBuckets', class: Google::Apis::MonitoringV3::Exponential, decorator: Google::Apis::MonitoringV3::Exponential::Representation + property :linear_buckets, as: 'linearBuckets', class: Google::Apis::MonitoringV3::Linear, decorator: Google::Apis::MonitoringV3::Linear::Representation property :explicit_buckets, as: 'explicitBuckets', class: Google::Apis::MonitoringV3::Explicit, decorator: Google::Apis::MonitoringV3::Explicit::Representation - property :exponential_buckets, as: 'exponentialBuckets', class: Google::Apis::MonitoringV3::Exponential, decorator: Google::Apis::MonitoringV3::Exponential::Representation - end end @@ -483,6 +431,7 @@ module Google class MetricDescriptor # @private class Representation < Google::Apis::Core::JsonRepresentation + property :name, as: 'name' property :type, as: 'type' property :value_type, as: 'valueType' property :metric_kind, as: 'metricKind' @@ -491,7 +440,6 @@ module Google property :unit, as: 'unit' collection :labels, as: 'labels', class: Google::Apis::MonitoringV3::LabelDescriptor, decorator: Google::Apis::MonitoringV3::LabelDescriptor::Representation - property :name, as: 'name' end end @@ -506,9 +454,61 @@ module Google class ListGroupsResponse # @private class Representation < Google::Apis::Core::JsonRepresentation - property :next_page_token, as: 'nextPageToken' collection :group, as: 'group', class: Google::Apis::MonitoringV3::Group, decorator: Google::Apis::MonitoringV3::Group::Representation + property :next_page_token, as: 'nextPageToken' + end + end + + class CreateCollectdTimeSeriesRequest + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :resource, as: 'resource', class: Google::Apis::MonitoringV3::MonitoredResource, decorator: Google::Apis::MonitoringV3::MonitoredResource::Representation + + collection :collectd_payloads, as: 'collectdPayloads', class: Google::Apis::MonitoringV3::CollectdPayload, decorator: Google::Apis::MonitoringV3::CollectdPayload::Representation + + property :collectd_version, as: 'collectdVersion' + end + end + + class ListGroupMembersResponse + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :next_page_token, as: 'nextPageToken' + property :total_size, as: 'totalSize' + collection :members, as: 'members', class: Google::Apis::MonitoringV3::MonitoredResource, decorator: Google::Apis::MonitoringV3::MonitoredResource::Representation + + end + end + + class ListMonitoredResourceDescriptorsResponse + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :next_page_token, as: 'nextPageToken' + collection :resource_descriptors, as: 'resourceDescriptors', class: Google::Apis::MonitoringV3::MonitoredResourceDescriptor, decorator: Google::Apis::MonitoringV3::MonitoredResourceDescriptor::Representation + + end + end + + class TimeSeries + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :value_type, as: 'valueType' + property :resource, as: 'resource', class: Google::Apis::MonitoringV3::MonitoredResource, decorator: Google::Apis::MonitoringV3::MonitoredResource::Representation + + property :metric_kind, as: 'metricKind' + property :metric, as: 'metric', class: Google::Apis::MonitoringV3::Metric, decorator: Google::Apis::MonitoringV3::Metric::Representation + + collection :points, as: 'points', class: Google::Apis::MonitoringV3::Point, decorator: Google::Apis::MonitoringV3::Point::Representation + + end + end + + class CreateTimeSeriesRequest + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :time_series, as: 'timeSeries', class: Google::Apis::MonitoringV3::TimeSeries, decorator: Google::Apis::MonitoringV3::TimeSeries::Representation + end end end diff --git a/generated/google/apis/monitoring_v3/service.rb b/generated/google/apis/monitoring_v3/service.rb index 38d3183a6..981b92a5d 100644 --- a/generated/google/apis/monitoring_v3/service.rb +++ b/generated/google/apis/monitoring_v3/service.rb @@ -46,6 +46,326 @@ module Google def initialize super('https://monitoring.googleapis.com/', '') + @batch_path = 'batch' + end + + # Deletes an existing group. + # @param [String] name + # The group to delete. The format is "projects/`project_id_or_number`/groups/` + # group_id`". + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # Available to use for quota purposes for server-side applications. Can be any + # arbitrary string assigned to a user, but should not exceed 40 characters. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::MonitoringV3::Empty] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::MonitoringV3::Empty] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def delete_project_group(name, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:delete, 'v3/{+name}', options) + command.response_representation = Google::Apis::MonitoringV3::Empty::Representation + command.response_class = Google::Apis::MonitoringV3::Empty + command.params['name'] = name unless name.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + execute_or_queue_command(command, &block) + end + + # Lists the existing groups. + # @param [String] name + # The project whose groups are to be listed. The format is "projects/` + # project_id_or_number`". + # @param [String] page_token + # If this field is not empty then it must contain the nextPageToken value + # returned by a previous call to this method. Using this field causes the method + # to return additional results from the previous method call. + # @param [Fixnum] page_size + # A positive number that is the maximum number of results to return. + # @param [String] ancestors_of_group + # A group name: "projects/`project_id_or_number`/groups/`group_id`". Returns + # groups that are ancestors of the specified group. The groups are returned in + # order, starting with the immediate parent and ending with the most distant + # ancestor. If the specified group has no immediate parent, the results are + # empty. + # @param [String] children_of_group + # A group name: "projects/`project_id_or_number`/groups/`group_id`". Returns + # groups whose parentName field contains the group name. If no groups have this + # parent, the results are empty. + # @param [String] descendants_of_group + # A group name: "projects/`project_id_or_number`/groups/`group_id`". Returns the + # descendants of the specified group. This is a superset of the results returned + # by the childrenOfGroup filter, and includes children-of-children, and so forth. + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # Available to use for quota purposes for server-side applications. Can be any + # arbitrary string assigned to a user, but should not exceed 40 characters. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::MonitoringV3::ListGroupsResponse] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::MonitoringV3::ListGroupsResponse] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def list_project_groups(name, page_token: nil, page_size: nil, ancestors_of_group: nil, children_of_group: nil, descendants_of_group: nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:get, 'v3/{+name}/groups', options) + command.response_representation = Google::Apis::MonitoringV3::ListGroupsResponse::Representation + command.response_class = Google::Apis::MonitoringV3::ListGroupsResponse + command.params['name'] = name unless name.nil? + command.query['pageToken'] = page_token unless page_token.nil? + command.query['pageSize'] = page_size unless page_size.nil? + command.query['ancestorsOfGroup'] = ancestors_of_group unless ancestors_of_group.nil? + command.query['childrenOfGroup'] = children_of_group unless children_of_group.nil? + command.query['descendantsOfGroup'] = descendants_of_group unless descendants_of_group.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + execute_or_queue_command(command, &block) + end + + # Gets a single group. + # @param [String] name + # The group to retrieve. The format is "projects/`project_id_or_number`/groups/` + # group_id`". + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # Available to use for quota purposes for server-side applications. Can be any + # arbitrary string assigned to a user, but should not exceed 40 characters. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::MonitoringV3::Group] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::MonitoringV3::Group] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def get_project_group(name, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:get, 'v3/{+name}', options) + command.response_representation = Google::Apis::MonitoringV3::Group::Representation + command.response_class = Google::Apis::MonitoringV3::Group + command.params['name'] = name unless name.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + execute_or_queue_command(command, &block) + end + + # Updates an existing group. You can change any group attributes except name. + # @param [String] name + # Output only. The name of this group. The format is "projects/` + # project_id_or_number`/groups/`group_id`". When creating a group, this field is + # ignored and a new name is created consisting of the project specified in the + # call to CreateGroup and a unique `group_id` that is generated automatically. + # @param [Google::Apis::MonitoringV3::Group] group_object + # @param [Boolean] validate_only + # If true, validate this request but do not update the existing group. + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # Available to use for quota purposes for server-side applications. Can be any + # arbitrary string assigned to a user, but should not exceed 40 characters. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::MonitoringV3::Group] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::MonitoringV3::Group] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def update_project_group(name, group_object = nil, validate_only: nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:put, 'v3/{+name}', options) + command.request_representation = Google::Apis::MonitoringV3::Group::Representation + command.request_object = group_object + command.response_representation = Google::Apis::MonitoringV3::Group::Representation + command.response_class = Google::Apis::MonitoringV3::Group + command.params['name'] = name unless name.nil? + command.query['validateOnly'] = validate_only unless validate_only.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + execute_or_queue_command(command, &block) + end + + # Creates a new group. + # @param [String] name + # The project in which to create the group. The format is "projects/` + # project_id_or_number`". + # @param [Google::Apis::MonitoringV3::Group] group_object + # @param [Boolean] validate_only + # If true, validate this request but do not create the group. + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # Available to use for quota purposes for server-side applications. Can be any + # arbitrary string assigned to a user, but should not exceed 40 characters. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::MonitoringV3::Group] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::MonitoringV3::Group] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def create_project_group(name, group_object = nil, validate_only: nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:post, 'v3/{+name}/groups', options) + command.request_representation = Google::Apis::MonitoringV3::Group::Representation + command.request_object = group_object + command.response_representation = Google::Apis::MonitoringV3::Group::Representation + command.response_class = Google::Apis::MonitoringV3::Group + command.params['name'] = name unless name.nil? + command.query['validateOnly'] = validate_only unless validate_only.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + execute_or_queue_command(command, &block) + end + + # Lists the monitored resources that are members of a group. + # @param [String] name + # The group whose members are listed. The format is "projects/` + # project_id_or_number`/groups/`group_id`". + # @param [String] filter + # An optional list filter describing the members to be returned. The filter may + # reference the type, labels, and metadata of monitored resources that comprise + # the group. For example, to return only resources representing Compute Engine + # VM instances, use this filter: + # resource.type = "gce_instance" + # @param [String] page_token + # If this field is not empty then it must contain the nextPageToken value + # returned by a previous call to this method. Using this field causes the method + # to return additional results from the previous method call. + # @param [Fixnum] page_size + # A positive number that is the maximum number of results to return. + # @param [String] interval_start_time + # Optional. The beginning of the time interval. The default value for the start + # time is the end time. The start time must not be later than the end time. + # @param [String] interval_end_time + # Required. The end of the time interval. + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # Available to use for quota purposes for server-side applications. Can be any + # arbitrary string assigned to a user, but should not exceed 40 characters. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::MonitoringV3::ListGroupMembersResponse] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::MonitoringV3::ListGroupMembersResponse] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def list_project_group_members(name, filter: nil, page_token: nil, page_size: nil, interval_start_time: nil, interval_end_time: nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:get, 'v3/{+name}/members', options) + command.response_representation = Google::Apis::MonitoringV3::ListGroupMembersResponse::Representation + command.response_class = Google::Apis::MonitoringV3::ListGroupMembersResponse + command.params['name'] = name unless name.nil? + command.query['filter'] = filter unless filter.nil? + command.query['pageToken'] = page_token unless page_token.nil? + command.query['pageSize'] = page_size unless page_size.nil? + command.query['interval.startTime'] = interval_start_time unless interval_start_time.nil? + command.query['interval.endTime'] = interval_end_time unless interval_end_time.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + execute_or_queue_command(command, &block) + end + + # Stackdriver Monitoring Agent only: Creates a new time series. + # @param [String] name + # The project in which to create the time series. The format is "projects/ + # PROJECT_ID_OR_NUMBER". + # @param [Google::Apis::MonitoringV3::CreateCollectdTimeSeriesRequest] create_collectd_time_series_request_object + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # Available to use for quota purposes for server-side applications. Can be any + # arbitrary string assigned to a user, but should not exceed 40 characters. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::MonitoringV3::Empty] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::MonitoringV3::Empty] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def create_collectd_time_series(name, create_collectd_time_series_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:post, 'v3/{+name}/collectdTimeSeries', options) + command.request_representation = Google::Apis::MonitoringV3::CreateCollectdTimeSeriesRequest::Representation + command.request_object = create_collectd_time_series_request_object + command.response_representation = Google::Apis::MonitoringV3::Empty::Representation + command.response_class = Google::Apis::MonitoringV3::Empty + command.params['name'] = name unless name.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + execute_or_queue_command(command, &block) + end + + # Creates or adds data to one or more time series. The response is empty if all + # time series in the request were written. If any time series could not be + # written, a corresponding failure message is included in the error response. + # @param [String] name + # The project on which to execute the request. The format is "projects/` + # project_id_or_number`". + # @param [Google::Apis::MonitoringV3::CreateTimeSeriesRequest] create_time_series_request_object + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # Available to use for quota purposes for server-side applications. Can be any + # arbitrary string assigned to a user, but should not exceed 40 characters. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::MonitoringV3::Empty] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::MonitoringV3::Empty] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def create_time_series(name, create_time_series_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:post, 'v3/{+name}/timeSeries', options) + command.request_representation = Google::Apis::MonitoringV3::CreateTimeSeriesRequest::Representation + command.request_object = create_time_series_request_object + command.response_representation = Google::Apis::MonitoringV3::Empty::Representation + command.response_class = Google::Apis::MonitoringV3::Empty + command.params['name'] = name unless name.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + execute_or_queue_command(command, &block) end # Lists time series that match a filter. This method does not require a @@ -53,6 +373,37 @@ module Google # @param [String] name # The project on which to execute the request. The format is "projects/` # project_id_or_number`". + # @param [String] aggregation_per_series_aligner + # The approach to be used to align individual time series. Not all alignment + # functions may be applied to all time series, depending on the metric type and + # value type of the original time series. Alignment may change the metric type + # or the value type of the time series.Time series data must be aligned in order + # to perform cross-time series reduction. If crossSeriesReducer is specified, + # then perSeriesAligner must be specified and not equal ALIGN_NONE and + # alignmentPeriod must be specified; otherwise, an error is returned. + # @param [String] page_token + # If this field is not empty then it must contain the nextPageToken value + # returned by a previous call to this method. Using this field causes the method + # to return additional results from the previous method call. + # @param [String] interval_start_time + # Optional. The beginning of the time interval. The default value for the start + # time is the end time. The start time must not be later than the end time. + # @param [String] view + # Specifies which information is returned about the time series. + # @param [Array, String] aggregation_group_by_fields + # The set of fields to preserve when crossSeriesReducer is specified. The + # groupByFields determine how the time series are partitioned into subsets prior + # to applying the aggregation function. Each subset contains time series that + # have the same value for each of the grouping fields. Each individual time + # series is a member of exactly one subset. The crossSeriesReducer is applied to + # each subset of time series. It is not possible to reduce across different + # resource types, so this field implicitly contains resource.type. Fields not + # specified in groupByFields are aggregated away. If groupByFields is not + # specified and all the time series have the same resource type, then the time + # series are aggregated into a single output time series. If crossSeriesReducer + # is not defined, this field is ignored. + # @param [String] interval_end_time + # Required. The end of the time interval. # @param [String] aggregation_alignment_period # The alignment period for per-time series alignment. If present, # alignmentPeriod must be at least 60 seconds. After per-time series alignment, @@ -81,42 +432,11 @@ module Google # labels and other information. For example: # metric.type = "compute.googleapis.com/instance/cpu/usage_time" AND # metric.label.instance_name = "my-instance-name" - # @param [String] page_token - # If this field is not empty then it must contain the nextPageToken value - # returned by a previous call to this method. Using this field causes the method - # to return additional results from the previous method call. - # @param [String] aggregation_per_series_aligner - # The approach to be used to align individual time series. Not all alignment - # functions may be applied to all time series, depending on the metric type and - # value type of the original time series. Alignment may change the metric type - # or the value type of the time series.Time series data must be aligned in order - # to perform cross-time series reduction. If crossSeriesReducer is specified, - # then perSeriesAligner must be specified and not equal ALIGN_NONE and - # alignmentPeriod must be specified; otherwise, an error is returned. - # @param [String] interval_start_time - # Optional. The beginning of the time interval. The default value for the start - # time is the end time. The start time must not be later than the end time. - # @param [String] view - # Specifies which information is returned about the time series. - # @param [Array, String] aggregation_group_by_fields - # The set of fields to preserve when crossSeriesReducer is specified. The - # groupByFields determine how the time series are partitioned into subsets prior - # to applying the aggregation function. Each subset contains time series that - # have the same value for each of the grouping fields. Each individual time - # series is a member of exactly one subset. The crossSeriesReducer is applied to - # each subset of time series. It is not possible to reduce across different - # resource types, so this field implicitly contains resource.type. Fields not - # specified in groupByFields are aggregated away. If groupByFields is not - # specified and all the time series have the same resource type, then the time - # series are aggregated into a single output time series. If crossSeriesReducer - # is not defined, this field is ignored. - # @param [String] interval_end_time - # Required. The end of the time interval. + # @param [String] fields + # Selector specifying which fields to include in a partial response. # @param [String] quota_user # Available to use for quota purposes for server-side applications. Can be any # arbitrary string assigned to a user, but should not exceed 40 characters. - # @param [String] fields - # Selector specifying which fields to include in a partial response. # @param [Google::Apis::RequestOptions] options # Request-specific options # @@ -129,39 +449,37 @@ module Google # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required - def list_project_time_series(name, aggregation_alignment_period: nil, page_size: nil, order_by: nil, aggregation_cross_series_reducer: nil, filter: nil, page_token: nil, aggregation_per_series_aligner: nil, interval_start_time: nil, view: nil, aggregation_group_by_fields: nil, interval_end_time: nil, quota_user: nil, fields: nil, options: nil, &block) + def list_project_time_series(name, aggregation_per_series_aligner: nil, page_token: nil, interval_start_time: nil, view: nil, aggregation_group_by_fields: nil, interval_end_time: nil, aggregation_alignment_period: nil, page_size: nil, order_by: nil, aggregation_cross_series_reducer: nil, filter: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v3/{+name}/timeSeries', options) command.response_representation = Google::Apis::MonitoringV3::ListTimeSeriesResponse::Representation command.response_class = Google::Apis::MonitoringV3::ListTimeSeriesResponse command.params['name'] = name unless name.nil? + command.query['aggregation.perSeriesAligner'] = aggregation_per_series_aligner unless aggregation_per_series_aligner.nil? + command.query['pageToken'] = page_token unless page_token.nil? + command.query['interval.startTime'] = interval_start_time unless interval_start_time.nil? + command.query['view'] = view unless view.nil? + command.query['aggregation.groupByFields'] = aggregation_group_by_fields unless aggregation_group_by_fields.nil? + command.query['interval.endTime'] = interval_end_time unless interval_end_time.nil? command.query['aggregation.alignmentPeriod'] = aggregation_alignment_period unless aggregation_alignment_period.nil? command.query['pageSize'] = page_size unless page_size.nil? command.query['orderBy'] = order_by unless order_by.nil? command.query['aggregation.crossSeriesReducer'] = aggregation_cross_series_reducer unless aggregation_cross_series_reducer.nil? command.query['filter'] = filter unless filter.nil? - command.query['pageToken'] = page_token unless page_token.nil? - command.query['aggregation.perSeriesAligner'] = aggregation_per_series_aligner unless aggregation_per_series_aligner.nil? - command.query['interval.startTime'] = interval_start_time unless interval_start_time.nil? - command.query['view'] = view unless view.nil? - command.query['aggregation.groupByFields'] = aggregation_group_by_fields unless aggregation_group_by_fields.nil? - command.query['interval.endTime'] = interval_end_time unless interval_end_time.nil? - command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end - # Creates or adds data to one or more time series. The response is empty if all - # time series in the request were written. If any time series could not be - # written, a corresponding failure message is included in the error response. + # Deletes a metric descriptor. Only user-created custom metrics can be deleted. # @param [String] name - # The project on which to execute the request. The format is "projects/` - # project_id_or_number`". - # @param [Google::Apis::MonitoringV3::CreateTimeSeriesRequest] create_time_series_request_object + # The metric descriptor on which to execute the request. The format is "projects/ + # `project_id_or_number`/metricDescriptors/`metric_id`". An example of ` + # metric_id` is: "custom.googleapis.com/my_test_metric". + # @param [String] fields + # Selector specifying which fields to include in a partial response. # @param [String] quota_user # Available to use for quota purposes for server-side applications. Can be any # arbitrary string assigned to a user, but should not exceed 40 characters. - # @param [String] fields - # Selector specifying which fields to include in a partial response. # @param [Google::Apis::RequestOptions] options # Request-specific options # @@ -174,15 +492,13 @@ module Google # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required - def create_time_series(name, create_time_series_request_object = nil, quota_user: nil, fields: nil, options: nil, &block) - command = make_simple_command(:post, 'v3/{+name}/timeSeries', options) - command.request_representation = Google::Apis::MonitoringV3::CreateTimeSeriesRequest::Representation - command.request_object = create_time_series_request_object + def delete_project_metric_descriptor(name, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:delete, 'v3/{+name}', options) command.response_representation = Google::Apis::MonitoringV3::Empty::Representation command.response_class = Google::Apis::MonitoringV3::Empty command.params['name'] = name unless name.nil? - command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end @@ -191,6 +507,8 @@ module Google # @param [String] name # The project on which to execute the request. The format is "projects/` # project_id_or_number`". + # @param [Fixnum] page_size + # A positive number that is the maximum number of results to return. # @param [String] filter # If this field is empty, all custom and system-defined metric descriptors are # returned. Otherwise, the filter specifies which metric descriptors are to be @@ -200,13 +518,11 @@ module Google # If this field is not empty then it must contain the nextPageToken value # returned by a previous call to this method. Using this field causes the method # to return additional results from the previous method call. - # @param [Fixnum] page_size - # A positive number that is the maximum number of results to return. + # @param [String] fields + # Selector specifying which fields to include in a partial response. # @param [String] quota_user # Available to use for quota purposes for server-side applications. Can be any # arbitrary string assigned to a user, but should not exceed 40 characters. - # @param [String] fields - # Selector specifying which fields to include in a partial response. # @param [Google::Apis::RequestOptions] options # Request-specific options # @@ -219,16 +535,16 @@ module Google # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required - def list_project_metric_descriptors(name, filter: nil, page_token: nil, page_size: nil, quota_user: nil, fields: nil, options: nil, &block) + def list_project_metric_descriptors(name, page_size: nil, filter: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v3/{+name}/metricDescriptors', options) command.response_representation = Google::Apis::MonitoringV3::ListMetricDescriptorsResponse::Representation command.response_class = Google::Apis::MonitoringV3::ListMetricDescriptorsResponse command.params['name'] = name unless name.nil? + command.query['pageSize'] = page_size unless page_size.nil? command.query['filter'] = filter unless filter.nil? command.query['pageToken'] = page_token unless page_token.nil? - command.query['pageSize'] = page_size unless page_size.nil? - command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end @@ -238,11 +554,11 @@ module Google # The metric descriptor on which to execute the request. The format is "projects/ # `project_id_or_number`/metricDescriptors/`metric_id`". An example value of ` # metric_id` is "compute.googleapis.com/instance/disk/read_bytes_count". + # @param [String] fields + # Selector specifying which fields to include in a partial response. # @param [String] quota_user # Available to use for quota purposes for server-side applications. Can be any # arbitrary string assigned to a user, but should not exceed 40 characters. - # @param [String] fields - # Selector specifying which fields to include in a partial response. # @param [Google::Apis::RequestOptions] options # Request-specific options # @@ -255,13 +571,13 @@ module Google # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required - def get_project_metric_descriptor(name, quota_user: nil, fields: nil, options: nil, &block) + def get_project_metric_descriptor(name, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v3/{+name}', options) command.response_representation = Google::Apis::MonitoringV3::MetricDescriptor::Representation command.response_class = Google::Apis::MonitoringV3::MetricDescriptor command.params['name'] = name unless name.nil? - command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end @@ -271,11 +587,11 @@ module Google # The project on which to execute the request. The format is "projects/` # project_id_or_number`". # @param [Google::Apis::MonitoringV3::MetricDescriptor] metric_descriptor_object + # @param [String] fields + # Selector specifying which fields to include in a partial response. # @param [String] quota_user # Available to use for quota purposes for server-side applications. Can be any # arbitrary string assigned to a user, but should not exceed 40 characters. - # @param [String] fields - # Selector specifying which fields to include in a partial response. # @param [Google::Apis::RequestOptions] options # Request-specific options # @@ -288,47 +604,15 @@ module Google # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required - def create_project_metric_descriptor(name, metric_descriptor_object = nil, quota_user: nil, fields: nil, options: nil, &block) + def create_project_metric_descriptor(name, metric_descriptor_object = nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'v3/{+name}/metricDescriptors', options) command.request_representation = Google::Apis::MonitoringV3::MetricDescriptor::Representation command.request_object = metric_descriptor_object command.response_representation = Google::Apis::MonitoringV3::MetricDescriptor::Representation command.response_class = Google::Apis::MonitoringV3::MetricDescriptor command.params['name'] = name unless name.nil? - command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['fields'] = fields unless fields.nil? - execute_or_queue_command(command, &block) - end - - # Deletes a metric descriptor. Only user-created custom metrics can be deleted. - # @param [String] name - # The metric descriptor on which to execute the request. The format is "projects/ - # `project_id_or_number`/metricDescriptors/`metric_id`". An example of ` - # metric_id` is: "custom.googleapis.com/my_test_metric". - # @param [String] quota_user - # Available to use for quota purposes for server-side applications. Can be any - # arbitrary string assigned to a user, but should not exceed 40 characters. - # @param [String] fields - # Selector specifying which fields to include in a partial response. - # @param [Google::Apis::RequestOptions] options - # Request-specific options - # - # @yield [result, err] Result & error if block supplied - # @yieldparam result [Google::Apis::MonitoringV3::Empty] parsed result object - # @yieldparam err [StandardError] error object if request failed - # - # @return [Google::Apis::MonitoringV3::Empty] - # - # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried - # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification - # @raise [Google::Apis::AuthorizationError] Authorization is required - def delete_project_metric_descriptor(name, quota_user: nil, fields: nil, options: nil, &block) - command = make_simple_command(:delete, 'v3/{+name}', options) - command.response_representation = Google::Apis::MonitoringV3::Empty::Representation - command.response_class = Google::Apis::MonitoringV3::Empty - command.params['name'] = name unless name.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? - command.query['fields'] = fields unless fields.nil? execute_or_queue_command(command, &block) end @@ -337,8 +621,6 @@ module Google # @param [String] name # The project on which to execute the request. The format is "projects/` # project_id_or_number`". - # @param [Fixnum] page_size - # A positive number that is the maximum number of results to return. # @param [String] filter # An optional filter describing the descriptors to be returned. The filter can # reference the descriptor's type and labels. For example, the following filter @@ -348,11 +630,13 @@ module Google # If this field is not empty then it must contain the nextPageToken value # returned by a previous call to this method. Using this field causes the method # to return additional results from the previous method call. + # @param [Fixnum] page_size + # A positive number that is the maximum number of results to return. + # @param [String] fields + # Selector specifying which fields to include in a partial response. # @param [String] quota_user # Available to use for quota purposes for server-side applications. Can be any # arbitrary string assigned to a user, but should not exceed 40 characters. - # @param [String] fields - # Selector specifying which fields to include in a partial response. # @param [Google::Apis::RequestOptions] options # Request-specific options # @@ -365,16 +649,16 @@ module Google # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required - def list_project_monitored_resource_descriptors(name, page_size: nil, filter: nil, page_token: nil, quota_user: nil, fields: nil, options: nil, &block) + def list_project_monitored_resource_descriptors(name, filter: nil, page_token: nil, page_size: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v3/{+name}/monitoredResourceDescriptors', options) command.response_representation = Google::Apis::MonitoringV3::ListMonitoredResourceDescriptorsResponse::Representation command.response_class = Google::Apis::MonitoringV3::ListMonitoredResourceDescriptorsResponse command.params['name'] = name unless name.nil? - command.query['pageSize'] = page_size unless page_size.nil? command.query['filter'] = filter unless filter.nil? command.query['pageToken'] = page_token unless page_token.nil? - command.query['quotaUser'] = quota_user unless quota_user.nil? + command.query['pageSize'] = page_size unless page_size.nil? command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end @@ -384,11 +668,11 @@ module Google # The monitored resource descriptor to get. The format is "projects/` # project_id_or_number`/monitoredResourceDescriptors/`resource_type`". The ` # resource_type` is a predefined type, such as cloudsql_database. + # @param [String] fields + # Selector specifying which fields to include in a partial response. # @param [String] quota_user # Available to use for quota purposes for server-side applications. Can be any # arbitrary string assigned to a user, but should not exceed 40 characters. - # @param [String] fields - # Selector specifying which fields to include in a partial response. # @param [Google::Apis::RequestOptions] options # Request-specific options # @@ -401,296 +685,13 @@ module Google # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required - def get_project_monitored_resource_descriptor(name, quota_user: nil, fields: nil, options: nil, &block) + def get_project_monitored_resource_descriptor(name, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v3/{+name}', options) command.response_representation = Google::Apis::MonitoringV3::MonitoredResourceDescriptor::Representation command.response_class = Google::Apis::MonitoringV3::MonitoredResourceDescriptor command.params['name'] = name unless name.nil? - command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['fields'] = fields unless fields.nil? - execute_or_queue_command(command, &block) - end - - # Deletes an existing group. - # @param [String] name - # The group to delete. The format is "projects/`project_id_or_number`/groups/` - # group_id`". - # @param [String] quota_user - # Available to use for quota purposes for server-side applications. Can be any - # arbitrary string assigned to a user, but should not exceed 40 characters. - # @param [String] fields - # Selector specifying which fields to include in a partial response. - # @param [Google::Apis::RequestOptions] options - # Request-specific options - # - # @yield [result, err] Result & error if block supplied - # @yieldparam result [Google::Apis::MonitoringV3::Empty] parsed result object - # @yieldparam err [StandardError] error object if request failed - # - # @return [Google::Apis::MonitoringV3::Empty] - # - # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried - # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification - # @raise [Google::Apis::AuthorizationError] Authorization is required - def delete_project_group(name, quota_user: nil, fields: nil, options: nil, &block) - command = make_simple_command(:delete, 'v3/{+name}', options) - command.response_representation = Google::Apis::MonitoringV3::Empty::Representation - command.response_class = Google::Apis::MonitoringV3::Empty - command.params['name'] = name unless name.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? - command.query['fields'] = fields unless fields.nil? - execute_or_queue_command(command, &block) - end - - # Lists the existing groups. - # @param [String] name - # The project whose groups are to be listed. The format is "projects/` - # project_id_or_number`". - # @param [Fixnum] page_size - # A positive number that is the maximum number of results to return. - # @param [String] ancestors_of_group - # A group name: "projects/`project_id_or_number`/groups/`group_id`". Returns - # groups that are ancestors of the specified group. The groups are returned in - # order, starting with the immediate parent and ending with the most distant - # ancestor. If the specified group has no immediate parent, the results are - # empty. - # @param [String] children_of_group - # A group name: "projects/`project_id_or_number`/groups/`group_id`". Returns - # groups whose parentName field contains the group name. If no groups have this - # parent, the results are empty. - # @param [String] descendants_of_group - # A group name: "projects/`project_id_or_number`/groups/`group_id`". Returns the - # descendants of the specified group. This is a superset of the results returned - # by the childrenOfGroup filter, and includes children-of-children, and so forth. - # @param [String] page_token - # If this field is not empty then it must contain the nextPageToken value - # returned by a previous call to this method. Using this field causes the method - # to return additional results from the previous method call. - # @param [String] quota_user - # Available to use for quota purposes for server-side applications. Can be any - # arbitrary string assigned to a user, but should not exceed 40 characters. - # @param [String] fields - # Selector specifying which fields to include in a partial response. - # @param [Google::Apis::RequestOptions] options - # Request-specific options - # - # @yield [result, err] Result & error if block supplied - # @yieldparam result [Google::Apis::MonitoringV3::ListGroupsResponse] parsed result object - # @yieldparam err [StandardError] error object if request failed - # - # @return [Google::Apis::MonitoringV3::ListGroupsResponse] - # - # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried - # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification - # @raise [Google::Apis::AuthorizationError] Authorization is required - def list_project_groups(name, page_size: nil, ancestors_of_group: nil, children_of_group: nil, descendants_of_group: nil, page_token: nil, quota_user: nil, fields: nil, options: nil, &block) - command = make_simple_command(:get, 'v3/{+name}/groups', options) - command.response_representation = Google::Apis::MonitoringV3::ListGroupsResponse::Representation - command.response_class = Google::Apis::MonitoringV3::ListGroupsResponse - command.params['name'] = name unless name.nil? - command.query['pageSize'] = page_size unless page_size.nil? - command.query['ancestorsOfGroup'] = ancestors_of_group unless ancestors_of_group.nil? - command.query['childrenOfGroup'] = children_of_group unless children_of_group.nil? - command.query['descendantsOfGroup'] = descendants_of_group unless descendants_of_group.nil? - command.query['pageToken'] = page_token unless page_token.nil? - command.query['quotaUser'] = quota_user unless quota_user.nil? - command.query['fields'] = fields unless fields.nil? - execute_or_queue_command(command, &block) - end - - # Gets a single group. - # @param [String] name - # The group to retrieve. The format is "projects/`project_id_or_number`/groups/` - # group_id`". - # @param [String] quota_user - # Available to use for quota purposes for server-side applications. Can be any - # arbitrary string assigned to a user, but should not exceed 40 characters. - # @param [String] fields - # Selector specifying which fields to include in a partial response. - # @param [Google::Apis::RequestOptions] options - # Request-specific options - # - # @yield [result, err] Result & error if block supplied - # @yieldparam result [Google::Apis::MonitoringV3::Group] parsed result object - # @yieldparam err [StandardError] error object if request failed - # - # @return [Google::Apis::MonitoringV3::Group] - # - # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried - # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification - # @raise [Google::Apis::AuthorizationError] Authorization is required - def get_project_group(name, quota_user: nil, fields: nil, options: nil, &block) - command = make_simple_command(:get, 'v3/{+name}', options) - command.response_representation = Google::Apis::MonitoringV3::Group::Representation - command.response_class = Google::Apis::MonitoringV3::Group - command.params['name'] = name unless name.nil? - command.query['quotaUser'] = quota_user unless quota_user.nil? - command.query['fields'] = fields unless fields.nil? - execute_or_queue_command(command, &block) - end - - # Updates an existing group. You can change any group attributes except name. - # @param [String] name - # Output only. The name of this group. The format is "projects/` - # project_id_or_number`/groups/`group_id`". When creating a group, this field is - # ignored and a new name is created consisting of the project specified in the - # call to CreateGroup and a unique `group_id` that is generated automatically. - # @param [Google::Apis::MonitoringV3::Group] group_object - # @param [Boolean] validate_only - # If true, validate this request but do not update the existing group. - # @param [String] quota_user - # Available to use for quota purposes for server-side applications. Can be any - # arbitrary string assigned to a user, but should not exceed 40 characters. - # @param [String] fields - # Selector specifying which fields to include in a partial response. - # @param [Google::Apis::RequestOptions] options - # Request-specific options - # - # @yield [result, err] Result & error if block supplied - # @yieldparam result [Google::Apis::MonitoringV3::Group] parsed result object - # @yieldparam err [StandardError] error object if request failed - # - # @return [Google::Apis::MonitoringV3::Group] - # - # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried - # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification - # @raise [Google::Apis::AuthorizationError] Authorization is required - def update_project_group(name, group_object = nil, validate_only: nil, quota_user: nil, fields: nil, options: nil, &block) - command = make_simple_command(:put, 'v3/{+name}', options) - command.request_representation = Google::Apis::MonitoringV3::Group::Representation - command.request_object = group_object - command.response_representation = Google::Apis::MonitoringV3::Group::Representation - command.response_class = Google::Apis::MonitoringV3::Group - command.params['name'] = name unless name.nil? - command.query['validateOnly'] = validate_only unless validate_only.nil? - command.query['quotaUser'] = quota_user unless quota_user.nil? - command.query['fields'] = fields unless fields.nil? - execute_or_queue_command(command, &block) - end - - # Creates a new group. - # @param [String] name - # The project in which to create the group. The format is "projects/` - # project_id_or_number`". - # @param [Google::Apis::MonitoringV3::Group] group_object - # @param [Boolean] validate_only - # If true, validate this request but do not create the group. - # @param [String] quota_user - # Available to use for quota purposes for server-side applications. Can be any - # arbitrary string assigned to a user, but should not exceed 40 characters. - # @param [String] fields - # Selector specifying which fields to include in a partial response. - # @param [Google::Apis::RequestOptions] options - # Request-specific options - # - # @yield [result, err] Result & error if block supplied - # @yieldparam result [Google::Apis::MonitoringV3::Group] parsed result object - # @yieldparam err [StandardError] error object if request failed - # - # @return [Google::Apis::MonitoringV3::Group] - # - # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried - # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification - # @raise [Google::Apis::AuthorizationError] Authorization is required - def create_project_group(name, group_object = nil, validate_only: nil, quota_user: nil, fields: nil, options: nil, &block) - command = make_simple_command(:post, 'v3/{+name}/groups', options) - command.request_representation = Google::Apis::MonitoringV3::Group::Representation - command.request_object = group_object - command.response_representation = Google::Apis::MonitoringV3::Group::Representation - command.response_class = Google::Apis::MonitoringV3::Group - command.params['name'] = name unless name.nil? - command.query['validateOnly'] = validate_only unless validate_only.nil? - command.query['quotaUser'] = quota_user unless quota_user.nil? - command.query['fields'] = fields unless fields.nil? - execute_or_queue_command(command, &block) - end - - # Lists the monitored resources that are members of a group. - # @param [String] name - # The group whose members are listed. The format is "projects/` - # project_id_or_number`/groups/`group_id`". - # @param [Fixnum] page_size - # A positive number that is the maximum number of results to return. - # @param [String] interval_start_time - # Optional. The beginning of the time interval. The default value for the start - # time is the end time. The start time must not be later than the end time. - # @param [String] interval_end_time - # Required. The end of the time interval. - # @param [String] filter - # An optional list filter describing the members to be returned. The filter may - # reference the type, labels, and metadata of monitored resources that comprise - # the group. For example, to return only resources representing Compute Engine - # VM instances, use this filter: - # resource.type = "gce_instance" - # @param [String] page_token - # If this field is not empty then it must contain the nextPageToken value - # returned by a previous call to this method. Using this field causes the method - # to return additional results from the previous method call. - # @param [String] quota_user - # Available to use for quota purposes for server-side applications. Can be any - # arbitrary string assigned to a user, but should not exceed 40 characters. - # @param [String] fields - # Selector specifying which fields to include in a partial response. - # @param [Google::Apis::RequestOptions] options - # Request-specific options - # - # @yield [result, err] Result & error if block supplied - # @yieldparam result [Google::Apis::MonitoringV3::ListGroupMembersResponse] parsed result object - # @yieldparam err [StandardError] error object if request failed - # - # @return [Google::Apis::MonitoringV3::ListGroupMembersResponse] - # - # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried - # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification - # @raise [Google::Apis::AuthorizationError] Authorization is required - def list_project_group_members(name, page_size: nil, interval_start_time: nil, interval_end_time: nil, filter: nil, page_token: nil, quota_user: nil, fields: nil, options: nil, &block) - command = make_simple_command(:get, 'v3/{+name}/members', options) - command.response_representation = Google::Apis::MonitoringV3::ListGroupMembersResponse::Representation - command.response_class = Google::Apis::MonitoringV3::ListGroupMembersResponse - command.params['name'] = name unless name.nil? - command.query['pageSize'] = page_size unless page_size.nil? - command.query['interval.startTime'] = interval_start_time unless interval_start_time.nil? - command.query['interval.endTime'] = interval_end_time unless interval_end_time.nil? - command.query['filter'] = filter unless filter.nil? - command.query['pageToken'] = page_token unless page_token.nil? - command.query['quotaUser'] = quota_user unless quota_user.nil? - command.query['fields'] = fields unless fields.nil? - execute_or_queue_command(command, &block) - end - - # Stackdriver Monitoring Agent only: Creates a new time series. - # @param [String] name - # The project in which to create the time series. The format is "projects/ - # PROJECT_ID_OR_NUMBER". - # @param [Google::Apis::MonitoringV3::CreateCollectdTimeSeriesRequest] create_collectd_time_series_request_object - # @param [String] quota_user - # Available to use for quota purposes for server-side applications. Can be any - # arbitrary string assigned to a user, but should not exceed 40 characters. - # @param [String] fields - # Selector specifying which fields to include in a partial response. - # @param [Google::Apis::RequestOptions] options - # Request-specific options - # - # @yield [result, err] Result & error if block supplied - # @yieldparam result [Google::Apis::MonitoringV3::Empty] parsed result object - # @yieldparam err [StandardError] error object if request failed - # - # @return [Google::Apis::MonitoringV3::Empty] - # - # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried - # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification - # @raise [Google::Apis::AuthorizationError] Authorization is required - def create_collectd_time_series(name, create_collectd_time_series_request_object = nil, quota_user: nil, fields: nil, options: nil, &block) - command = make_simple_command(:post, 'v3/{+name}/collectdTimeSeries', options) - command.request_representation = Google::Apis::MonitoringV3::CreateCollectdTimeSeriesRequest::Representation - command.request_object = create_collectd_time_series_request_object - command.response_representation = Google::Apis::MonitoringV3::Empty::Representation - command.response_class = Google::Apis::MonitoringV3::Empty - command.params['name'] = name unless name.nil? - command.query['quotaUser'] = quota_user unless quota_user.nil? - command.query['fields'] = fields unless fields.nil? execute_or_queue_command(command, &block) end diff --git a/generated/google/apis/mybusiness_v3/service.rb b/generated/google/apis/mybusiness_v3/service.rb index d46af8b01..121640de5 100644 --- a/generated/google/apis/mybusiness_v3/service.rb +++ b/generated/google/apis/mybusiness_v3/service.rb @@ -45,6 +45,7 @@ module Google def initialize super('https://mybusiness.googleapis.com/', '') + @batch_path = 'batch' end # Lists all of the accounts for the authenticated user. This includes all diff --git a/generated/google/apis/oauth2_v2/service.rb b/generated/google/apis/oauth2_v2/service.rb index 0f96918db..286056b8b 100644 --- a/generated/google/apis/oauth2_v2/service.rb +++ b/generated/google/apis/oauth2_v2/service.rb @@ -50,6 +50,7 @@ module Google def initialize super('https://www.googleapis.com/', '') + @batch_path = 'batch' end # diff --git a/generated/google/apis/pagespeedonline_v2/classes.rb b/generated/google/apis/pagespeedonline_v2/classes.rb index bf6f024f9..c09b03bd8 100644 --- a/generated/google/apis/pagespeedonline_v2/classes.rb +++ b/generated/google/apis/pagespeedonline_v2/classes.rb @@ -476,28 +476,28 @@ module Google # Number of uncompressed response bytes for CSS resources on the page. # Corresponds to the JSON property `cssResponseBytes` - # @return [String] + # @return [Fixnum] attr_accessor :css_response_bytes # Number of response bytes for flash resources on the page. # Corresponds to the JSON property `flashResponseBytes` - # @return [String] + # @return [Fixnum] attr_accessor :flash_response_bytes # Number of uncompressed response bytes for the main HTML document and all # iframes on the page. # Corresponds to the JSON property `htmlResponseBytes` - # @return [String] + # @return [Fixnum] attr_accessor :html_response_bytes # Number of response bytes for image resources on the page. # Corresponds to the JSON property `imageResponseBytes` - # @return [String] + # @return [Fixnum] attr_accessor :image_response_bytes # Number of uncompressed response bytes for JS resources on the page. # Corresponds to the JSON property `javascriptResponseBytes` - # @return [String] + # @return [Fixnum] attr_accessor :javascript_response_bytes # Number of CSS resources referenced by the page. @@ -527,18 +527,18 @@ module Google # Number of response bytes for other resources on the page. # Corresponds to the JSON property `otherResponseBytes` - # @return [String] + # @return [Fixnum] attr_accessor :other_response_bytes # Number of uncompressed response bytes for text resources not covered by other # statistics (i.e non-HTML, non-script, non-CSS resources) on the page. # Corresponds to the JSON property `textResponseBytes` - # @return [String] + # @return [Fixnum] attr_accessor :text_response_bytes # Total size of all request bytes sent by the page. # Corresponds to the JSON property `totalRequestBytes` - # @return [String] + # @return [Fixnum] attr_accessor :total_request_bytes def initialize(**args) diff --git a/generated/google/apis/pagespeedonline_v2/representations.rb b/generated/google/apis/pagespeedonline_v2/representations.rb index efd245ee3..686ae4a0e 100644 --- a/generated/google/apis/pagespeedonline_v2/representations.rb +++ b/generated/google/apis/pagespeedonline_v2/representations.rb @@ -236,19 +236,19 @@ module Google class PageStats # @private class Representation < Google::Apis::Core::JsonRepresentation - property :css_response_bytes, as: 'cssResponseBytes' - property :flash_response_bytes, as: 'flashResponseBytes' - property :html_response_bytes, as: 'htmlResponseBytes' - property :image_response_bytes, as: 'imageResponseBytes' - property :javascript_response_bytes, as: 'javascriptResponseBytes' + property :css_response_bytes, :numeric_string => true, as: 'cssResponseBytes' + property :flash_response_bytes, :numeric_string => true, as: 'flashResponseBytes' + property :html_response_bytes, :numeric_string => true, as: 'htmlResponseBytes' + property :image_response_bytes, :numeric_string => true, as: 'imageResponseBytes' + property :javascript_response_bytes, :numeric_string => true, as: 'javascriptResponseBytes' property :number_css_resources, as: 'numberCssResources' property :number_hosts, as: 'numberHosts' property :number_js_resources, as: 'numberJsResources' property :number_resources, as: 'numberResources' property :number_static_resources, as: 'numberStaticResources' - property :other_response_bytes, as: 'otherResponseBytes' - property :text_response_bytes, as: 'textResponseBytes' - property :total_request_bytes, as: 'totalRequestBytes' + property :other_response_bytes, :numeric_string => true, as: 'otherResponseBytes' + property :text_response_bytes, :numeric_string => true, as: 'textResponseBytes' + property :total_request_bytes, :numeric_string => true, as: 'totalRequestBytes' end end diff --git a/generated/google/apis/pagespeedonline_v2/service.rb b/generated/google/apis/pagespeedonline_v2/service.rb index 2ab38a3ef..70d7149be 100644 --- a/generated/google/apis/pagespeedonline_v2/service.rb +++ b/generated/google/apis/pagespeedonline_v2/service.rb @@ -51,6 +51,7 @@ module Google def initialize super('https://www.googleapis.com/', 'pagespeedonline/v2/') + @batch_path = 'batch' end # Runs PageSpeed analysis on the page at the specified URL, and returns diff --git a/generated/google/apis/partners_v2/classes.rb b/generated/google/apis/partners_v2/classes.rb index 4b9318340..853bef9ee 100644 --- a/generated/google/apis/partners_v2/classes.rb +++ b/generated/google/apis/partners_v2/classes.rb @@ -22,1231 +22,6 @@ module Google module Apis module PartnersV2 - # A user's information on a specific certification. - class Certification - include Google::Apis::Core::Hashable - - # The date the user last achieved certification. - # Corresponds to the JSON property `lastAchieved` - # @return [String] - attr_accessor :last_achieved - - # Whether this certification has been achieved. - # Corresponds to the JSON property `achieved` - # @return [Boolean] - attr_accessor :achieved - alias_method :achieved?, :achieved - - # Date this certification is due to expire. - # Corresponds to the JSON property `expiration` - # @return [String] - attr_accessor :expiration - - # Whether this certification is in the state of warning. - # Corresponds to the JSON property `warning` - # @return [Boolean] - attr_accessor :warning - alias_method :warning?, :warning - - # The type of certification, the area of expertise. - # Corresponds to the JSON property `certificationType` - # @return [String] - attr_accessor :certification_type - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @last_achieved = args[:last_achieved] if args.key?(:last_achieved) - @achieved = args[:achieved] if args.key?(:achieved) - @expiration = args[:expiration] if args.key?(:expiration) - @warning = args[:warning] if args.key?(:warning) - @certification_type = args[:certification_type] if args.key?(:certification_type) - end - end - - # A resource representing a user of the Partners platform. - class User - include Google::Apis::Core::Hashable - - # The list of exams the user ever taken. For each type of exam, only one - # entry is listed. - # Corresponds to the JSON property `examStatus` - # @return [Array] - attr_accessor :exam_status - - # The ID of the user. - # Corresponds to the JSON property `id` - # @return [String] - attr_accessor :id - - # Basic information from a public profile. - # Corresponds to the JSON property `publicProfile` - # @return [Google::Apis::PartnersV2::PublicProfile] - attr_accessor :public_profile - - # The list of achieved certifications. These are calculated based on exam - # results and other requirements. - # @OutputOnly - # Corresponds to the JSON property `certificationStatus` - # @return [Array] - attr_accessor :certification_status - - # The email address used by the user used for company verification. - # @OutputOnly - # Corresponds to the JSON property `companyVerificationEmail` - # @return [String] - attr_accessor :company_verification_email - - # A CompanyRelation resource representing information about a user's - # affiliation and standing with a company in Partners. - # Corresponds to the JSON property `company` - # @return [Google::Apis::PartnersV2::CompanyRelation] - attr_accessor :company - - # The profile information of a Partners user. - # Corresponds to the JSON property `profile` - # @return [Google::Apis::PartnersV2::UserProfile] - attr_accessor :profile - - # The most recent time the user interacted with the Partners site. - # @OutputOnly - # Corresponds to the JSON property `lastAccessTime` - # @return [String] - attr_accessor :last_access_time - - # The list of emails the user has access to/can select as primary. - # @OutputOnly - # Corresponds to the JSON property `primaryEmails` - # @return [Array] - attr_accessor :primary_emails - - # This is the list of AdWords Manager Accounts the user has edit access to. - # If the user has edit access to multiple accounts, the user can choose the - # preferred account and we use this when a personal account is needed. Can - # be empty meaning the user has access to no accounts. - # @OutputOnly - # Corresponds to the JSON property `availableAdwordsManagerAccounts` - # @return [Array] - attr_accessor :available_adwords_manager_accounts - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @exam_status = args[:exam_status] if args.key?(:exam_status) - @id = args[:id] if args.key?(:id) - @public_profile = args[:public_profile] if args.key?(:public_profile) - @certification_status = args[:certification_status] if args.key?(:certification_status) - @company_verification_email = args[:company_verification_email] if args.key?(:company_verification_email) - @company = args[:company] if args.key?(:company) - @profile = args[:profile] if args.key?(:profile) - @last_access_time = args[:last_access_time] if args.key?(:last_access_time) - @primary_emails = args[:primary_emails] if args.key?(:primary_emails) - @available_adwords_manager_accounts = args[:available_adwords_manager_accounts] if args.key?(:available_adwords_manager_accounts) - end - end - - # Response message for - # ListAnalytics. - class ListAnalyticsResponse - include Google::Apis::Core::Hashable - - # A token to retrieve next page of results. - # Pass this value in the `ListAnalyticsRequest.page_token` field in the - # subsequent call to - # ListAnalytics to retrieve the - # next page of results. - # Corresponds to the JSON property `nextPageToken` - # @return [String] - attr_accessor :next_page_token - - # Common data that is in each API response. - # Corresponds to the JSON property `responseMetadata` - # @return [Google::Apis::PartnersV2::ResponseMetadata] - attr_accessor :response_metadata - - # Analytics aggregated data for a `Company` for a given date range. - # Corresponds to the JSON property `analyticsSummary` - # @return [Google::Apis::PartnersV2::AnalyticsSummary] - attr_accessor :analytics_summary - - # The list of analytics. - # Sorted in ascending order of - # Analytics.event_date. - # Corresponds to the JSON property `analytics` - # @return [Array] - attr_accessor :analytics - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @next_page_token = args[:next_page_token] if args.key?(:next_page_token) - @response_metadata = args[:response_metadata] if args.key?(:response_metadata) - @analytics_summary = args[:analytics_summary] if args.key?(:analytics_summary) - @analytics = args[:analytics] if args.key?(:analytics) - end - end - - # Response message for ListLeads. - class ListLeadsResponse - include Google::Apis::Core::Hashable - - # A token to retrieve next page of results. - # Pass this value in the `ListLeadsRequest.page_token` field in the - # subsequent call to - # ListLeads to retrieve the - # next page of results. - # Corresponds to the JSON property `nextPageToken` - # @return [String] - attr_accessor :next_page_token - - # Common data that is in each API response. - # Corresponds to the JSON property `responseMetadata` - # @return [Google::Apis::PartnersV2::ResponseMetadata] - attr_accessor :response_metadata - - # The total count of leads for the given company. - # Corresponds to the JSON property `totalSize` - # @return [Fixnum] - attr_accessor :total_size - - # The list of leads. - # Corresponds to the JSON property `leads` - # @return [Array] - attr_accessor :leads - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @next_page_token = args[:next_page_token] if args.key?(:next_page_token) - @response_metadata = args[:response_metadata] if args.key?(:response_metadata) - @total_size = args[:total_size] if args.key?(:total_size) - @leads = args[:leads] if args.key?(:leads) - end - end - - # A company resource in the Google Partners API. Once certified, it qualifies - # for being searched by advertisers. - class Company - include Google::Apis::Core::Hashable - - # Represents an amount of money with its currency type. - # Corresponds to the JSON property `convertedMinMonthlyBudget` - # @return [Google::Apis::PartnersV2::Money] - attr_accessor :converted_min_monthly_budget - - # Industries the company can help with. - # Corresponds to the JSON property `industries` - # @return [Array] - attr_accessor :industries - - # URL of the company's website. - # Corresponds to the JSON property `websiteUrl` - # @return [String] - attr_accessor :website_url - - # URL of the company's additional websites used to verify the dynamic badges. - # These are stored as full URLs as entered by the user, but only the TLD will - # be used for the actual verification. - # Corresponds to the JSON property `additionalWebsites` - # @return [Array] - attr_accessor :additional_websites - - # The Primary AdWords Manager Account id. - # Corresponds to the JSON property `primaryAdwordsManagerAccountId` - # @return [String] - attr_accessor :primary_adwords_manager_account_id - - # The name of the company. - # Corresponds to the JSON property `name` - # @return [String] - attr_accessor :name - - # The list of localized info for the company. - # Corresponds to the JSON property `localizedInfos` - # @return [Array] - attr_accessor :localized_infos - - # The list of Google Partners certification statuses for the company. - # Corresponds to the JSON property `certificationStatuses` - # @return [Array] - attr_accessor :certification_statuses - - # The ID of the company. - # Corresponds to the JSON property `id` - # @return [String] - attr_accessor :id - - # Represents an amount of money with its currency type. - # Corresponds to the JSON property `originalMinMonthlyBudget` - # @return [Google::Apis::PartnersV2::Money] - attr_accessor :original_min_monthly_budget - - # Basic information from a public profile. - # Corresponds to the JSON property `publicProfile` - # @return [Google::Apis::PartnersV2::PublicProfile] - attr_accessor :public_profile - - # A location with address and geographic coordinates. May optionally contain a - # detailed (multi-field) version of the address. - # Corresponds to the JSON property `primaryLocation` - # @return [Google::Apis::PartnersV2::Location] - attr_accessor :primary_location - - # Services the company can help with. - # Corresponds to the JSON property `services` - # @return [Array] - attr_accessor :services - - # Information related to the ranking of the company within the list of - # companies. - # Corresponds to the JSON property `ranks` - # @return [Array] - attr_accessor :ranks - - # The list of Google Partners specialization statuses for the company. - # Corresponds to the JSON property `specializationStatus` - # @return [Array] - attr_accessor :specialization_status - - # Partner badge tier - # Corresponds to the JSON property `badgeTier` - # @return [String] - attr_accessor :badge_tier - - # Company type labels listed on the company's profile. - # Corresponds to the JSON property `companyTypes` - # @return [Array] - attr_accessor :company_types - - # Email domains that allow users with a matching email address to get - # auto-approved for associating with this company. - # Corresponds to the JSON property `autoApprovalEmailDomains` - # @return [Array] - attr_accessor :auto_approval_email_domains - - # The primary language code of the company, as defined by - # BCP 47 - # (IETF BCP 47, "Tags for Identifying Languages"). - # Corresponds to the JSON property `primaryLanguageCode` - # @return [String] - attr_accessor :primary_language_code - - # The public viewability status of the company's profile. - # Corresponds to the JSON property `profileStatus` - # @return [String] - attr_accessor :profile_status - - # The list of all company locations. - # If set, must include the - # primary_location - # in the list. - # Corresponds to the JSON property `locations` - # @return [Array] - attr_accessor :locations - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @converted_min_monthly_budget = args[:converted_min_monthly_budget] if args.key?(:converted_min_monthly_budget) - @industries = args[:industries] if args.key?(:industries) - @website_url = args[:website_url] if args.key?(:website_url) - @additional_websites = args[:additional_websites] if args.key?(:additional_websites) - @primary_adwords_manager_account_id = args[:primary_adwords_manager_account_id] if args.key?(:primary_adwords_manager_account_id) - @name = args[:name] if args.key?(:name) - @localized_infos = args[:localized_infos] if args.key?(:localized_infos) - @certification_statuses = args[:certification_statuses] if args.key?(:certification_statuses) - @id = args[:id] if args.key?(:id) - @original_min_monthly_budget = args[:original_min_monthly_budget] if args.key?(:original_min_monthly_budget) - @public_profile = args[:public_profile] if args.key?(:public_profile) - @primary_location = args[:primary_location] if args.key?(:primary_location) - @services = args[:services] if args.key?(:services) - @ranks = args[:ranks] if args.key?(:ranks) - @specialization_status = args[:specialization_status] if args.key?(:specialization_status) - @badge_tier = args[:badge_tier] if args.key?(:badge_tier) - @company_types = args[:company_types] if args.key?(:company_types) - @auto_approval_email_domains = args[:auto_approval_email_domains] if args.key?(:auto_approval_email_domains) - @primary_language_code = args[:primary_language_code] if args.key?(:primary_language_code) - @profile_status = args[:profile_status] if args.key?(:profile_status) - @locations = args[:locations] if args.key?(:locations) - end - end - - # Response message for CreateLead. - class CreateLeadResponse - include Google::Apis::Core::Hashable - - # A lead resource that represents an advertiser contact for a `Company`. These - # are usually generated via Google Partner Search (the advertiser portal). - # Corresponds to the JSON property `lead` - # @return [Google::Apis::PartnersV2::Lead] - attr_accessor :lead - - # The outcome of reCaptcha - # validation. - # Corresponds to the JSON property `recaptchaStatus` - # @return [String] - attr_accessor :recaptcha_status - - # Common data that is in each API response. - # Corresponds to the JSON property `responseMetadata` - # @return [Google::Apis::PartnersV2::ResponseMetadata] - attr_accessor :response_metadata - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @lead = args[:lead] if args.key?(:lead) - @recaptcha_status = args[:recaptcha_status] if args.key?(:recaptcha_status) - @response_metadata = args[:response_metadata] if args.key?(:response_metadata) - end - end - - # Response message for GetCompany. - class GetCompanyResponse - include Google::Apis::Core::Hashable - - # A company resource in the Google Partners API. Once certified, it qualifies - # for being searched by advertisers. - # Corresponds to the JSON property `company` - # @return [Google::Apis::PartnersV2::Company] - attr_accessor :company - - # Common data that is in each API response. - # Corresponds to the JSON property `responseMetadata` - # @return [Google::Apis::PartnersV2::ResponseMetadata] - attr_accessor :response_metadata - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @company = args[:company] if args.key?(:company) - @response_metadata = args[:response_metadata] if args.key?(:response_metadata) - end - end - - # A location with address and geographic coordinates. May optionally contain a - # detailed (multi-field) version of the address. - class Location - include Google::Apis::Core::Hashable - - # Language code of the address. Should be in BCP 47 format. - # Corresponds to the JSON property `languageCode` - # @return [String] - attr_accessor :language_code - - # Use of this code is very country-specific, but will refer to a secondary - # classification code for sorting mail. - # Corresponds to the JSON property `sortingCode` - # @return [String] - attr_accessor :sorting_code - - # The following address lines represent the most specific part of any - # address. - # Corresponds to the JSON property `addressLine` - # @return [Array] - attr_accessor :address_line - - # Top-level administrative subdivision of this country. - # Corresponds to the JSON property `administrativeArea` - # @return [String] - attr_accessor :administrative_area - - # Generally refers to the city/town portion of an address. - # Corresponds to the JSON property `locality` - # @return [String] - attr_accessor :locality - - # An object representing a latitude/longitude pair. This is expressed as a pair - # of doubles representing degrees latitude and degrees longitude. Unless - # specified otherwise, this must conform to the - # WGS84 - # standard. Values must be within normalized ranges. - # Example of normalization code in Python: - # def NormalizeLongitude(longitude): - # """Wraps decimal degrees longitude to [-180.0, 180.0].""" - # q, r = divmod(longitude, 360.0) - # if r > 180.0 or (r == 180.0 and q <= -1.0): - # return r - 360.0 - # return r - # def NormalizeLatLng(latitude, longitude): - # """Wraps decimal degrees latitude and longitude to - # [-90.0, 90.0] and [-180.0, 180.0], respectively.""" - # r = latitude % 360.0 - # if r <= 90.0: - # return r, NormalizeLongitude(longitude) - # elif r >= 270.0: - # return r - 360, NormalizeLongitude(longitude) - # else: - # return 180 - r, NormalizeLongitude(longitude + 180.0) - # assert 180.0 == NormalizeLongitude(180.0) - # assert -180.0 == NormalizeLongitude(-180.0) - # assert -179.0 == NormalizeLongitude(181.0) - # assert (0.0, 0.0) == NormalizeLatLng(360.0, 0.0) - # assert (0.0, 0.0) == NormalizeLatLng(-360.0, 0.0) - # assert (85.0, 180.0) == NormalizeLatLng(95.0, 0.0) - # assert (-85.0, -170.0) == NormalizeLatLng(-95.0, 10.0) - # assert (90.0, 10.0) == NormalizeLatLng(90.0, 10.0) - # assert (-90.0, -10.0) == NormalizeLatLng(-90.0, -10.0) - # assert (0.0, -170.0) == NormalizeLatLng(-180.0, 10.0) - # assert (0.0, -170.0) == NormalizeLatLng(180.0, 10.0) - # assert (-90.0, 10.0) == NormalizeLatLng(270.0, 10.0) - # assert (90.0, 10.0) == NormalizeLatLng(-270.0, 10.0) - # The code in logs/storage/validator/logs_validator_traits.cc treats this type - # as if it were annotated as ST_LOCATION. - # Corresponds to the JSON property `latLng` - # @return [Google::Apis::PartnersV2::LatLng] - attr_accessor :lat_lng - - # Dependent locality or sublocality. Used for UK dependent localities, or - # neighborhoods or boroughs in other locations. - # Corresponds to the JSON property `dependentLocality` - # @return [String] - attr_accessor :dependent_locality - - # CLDR (Common Locale Data Repository) region code . - # Corresponds to the JSON property `regionCode` - # @return [String] - attr_accessor :region_code - - # The single string version of the address. - # Corresponds to the JSON property `address` - # @return [String] - attr_accessor :address - - # Values are frequently alphanumeric. - # Corresponds to the JSON property `postalCode` - # @return [String] - attr_accessor :postal_code - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @language_code = args[:language_code] if args.key?(:language_code) - @sorting_code = args[:sorting_code] if args.key?(:sorting_code) - @address_line = args[:address_line] if args.key?(:address_line) - @administrative_area = args[:administrative_area] if args.key?(:administrative_area) - @locality = args[:locality] if args.key?(:locality) - @lat_lng = args[:lat_lng] if args.key?(:lat_lng) - @dependent_locality = args[:dependent_locality] if args.key?(:dependent_locality) - @region_code = args[:region_code] if args.key?(:region_code) - @address = args[:address] if args.key?(:address) - @postal_code = args[:postal_code] if args.key?(:postal_code) - end - end - - # A token that allows a user to take an exam. - class ExamToken - include Google::Apis::Core::Hashable - - # The token, only present if the user has access to the exam. - # Corresponds to the JSON property `token` - # @return [String] - attr_accessor :token - - # The type of the exam the token belongs to. - # Corresponds to the JSON property `examType` - # @return [String] - attr_accessor :exam_type - - # The id of the exam the token is for. - # Corresponds to the JSON property `examId` - # @return [String] - attr_accessor :exam_id - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @token = args[:token] if args.key?(:token) - @exam_type = args[:exam_type] if args.key?(:exam_type) - @exam_id = args[:exam_id] if args.key?(:exam_id) - end - end - - # Status for a Google Partners certification exam. - class CertificationExamStatus - include Google::Apis::Core::Hashable - - # The number of people who have passed the certification exam. - # Corresponds to the JSON property `numberUsersPass` - # @return [Fixnum] - attr_accessor :number_users_pass - - # The type of certification exam. - # Corresponds to the JSON property `type` - # @return [String] - attr_accessor :type - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @number_users_pass = args[:number_users_pass] if args.key?(:number_users_pass) - @type = args[:type] if args.key?(:type) - end - end - - # A set of opt-ins for a user. - class OptIns - include Google::Apis::Core::Hashable - - # An opt-in about receiving email from Partners marketing teams. Includes - # member-only events and special promotional offers for Google products. - # Corresponds to the JSON property `marketComm` - # @return [Boolean] - attr_accessor :market_comm - alias_method :market_comm?, :market_comm - - # An opt-in about receiving email regarding new features and products. - # Corresponds to the JSON property `specialOffers` - # @return [Boolean] - attr_accessor :special_offers - alias_method :special_offers?, :special_offers - - # An opt-in about receiving email with customized AdWords campaign management - # tips. - # Corresponds to the JSON property `performanceSuggestions` - # @return [Boolean] - attr_accessor :performance_suggestions - alias_method :performance_suggestions?, :performance_suggestions - - # An opt-in to receive special promotional gifts and material in the mail. - # Corresponds to the JSON property `physicalMail` - # @return [Boolean] - attr_accessor :physical_mail - alias_method :physical_mail?, :physical_mail - - # An opt-in to allow recieivng phone calls about their Partners account. - # Corresponds to the JSON property `phoneContact` - # @return [Boolean] - attr_accessor :phone_contact - alias_method :phone_contact?, :phone_contact - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @market_comm = args[:market_comm] if args.key?(:market_comm) - @special_offers = args[:special_offers] if args.key?(:special_offers) - @performance_suggestions = args[:performance_suggestions] if args.key?(:performance_suggestions) - @physical_mail = args[:physical_mail] if args.key?(:physical_mail) - @phone_contact = args[:phone_contact] if args.key?(:phone_contact) - end - end - - # Information related to ranking of results. - class Rank - include Google::Apis::Core::Hashable - - # The type of rank. - # Corresponds to the JSON property `type` - # @return [String] - attr_accessor :type - - # The numerical value of the rank. - # Corresponds to the JSON property `value` - # @return [Float] - attr_accessor :value - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @type = args[:type] if args.key?(:type) - @value = args[:value] if args.key?(:value) - end - end - - # The profile information of a Partners user. - class UserProfile - include Google::Apis::Core::Hashable - - # The user's family name. - # Corresponds to the JSON property `familyName` - # @return [String] - attr_accessor :family_name - - # The list of languages this user understands. - # Corresponds to the JSON property `languages` - # @return [Array] - attr_accessor :languages - - # A set of opt-ins for a user. - # Corresponds to the JSON property `emailOptIns` - # @return [Google::Apis::PartnersV2::OptIns] - attr_accessor :email_opt_ins - - # A list of ids representing which markets the user was interested in. - # Corresponds to the JSON property `markets` - # @return [Array] - attr_accessor :markets - - # If the user has edit access to multiple accounts, the user can choose the - # preferred account and it is used when a personal account is needed. Can - # be empty. - # Corresponds to the JSON property `adwordsManagerAccount` - # @return [String] - attr_accessor :adwords_manager_account - - # The user's phone number. - # Corresponds to the JSON property `phoneNumber` - # @return [String] - attr_accessor :phone_number - - # The user's primary country, an ISO 2-character code. - # Corresponds to the JSON property `primaryCountryCode` - # @return [String] - attr_accessor :primary_country_code - - # The email address the user has selected on the Partners site as primary. - # Corresponds to the JSON property `emailAddress` - # @return [String] - attr_accessor :email_address - - # Whether the user's public profile is visible to anyone with the URL. - # Corresponds to the JSON property `profilePublic` - # @return [Boolean] - attr_accessor :profile_public - alias_method :profile_public?, :profile_public - - # A list of ids representing which channels the user selected they were in. - # Corresponds to the JSON property `channels` - # @return [Array] - attr_accessor :channels - - # A list of ids represnting which job categories the user selected. - # Corresponds to the JSON property `jobFunctions` - # @return [Array] - attr_accessor :job_functions - - # The user's given name. - # Corresponds to the JSON property `givenName` - # @return [String] - attr_accessor :given_name - - # A location with address and geographic coordinates. May optionally contain a - # detailed (multi-field) version of the address. - # Corresponds to the JSON property `address` - # @return [Google::Apis::PartnersV2::Location] - attr_accessor :address - - # A list of ids representing which industries the user selected. - # Corresponds to the JSON property `industries` - # @return [Array] - attr_accessor :industries - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @family_name = args[:family_name] if args.key?(:family_name) - @languages = args[:languages] if args.key?(:languages) - @email_opt_ins = args[:email_opt_ins] if args.key?(:email_opt_ins) - @markets = args[:markets] if args.key?(:markets) - @adwords_manager_account = args[:adwords_manager_account] if args.key?(:adwords_manager_account) - @phone_number = args[:phone_number] if args.key?(:phone_number) - @primary_country_code = args[:primary_country_code] if args.key?(:primary_country_code) - @email_address = args[:email_address] if args.key?(:email_address) - @profile_public = args[:profile_public] if args.key?(:profile_public) - @channels = args[:channels] if args.key?(:channels) - @job_functions = args[:job_functions] if args.key?(:job_functions) - @given_name = args[:given_name] if args.key?(:given_name) - @address = args[:address] if args.key?(:address) - @industries = args[:industries] if args.key?(:industries) - end - end - - # Response message for - # GetPartnersStatus. - class GetPartnersStatusResponse - include Google::Apis::Core::Hashable - - # Common data that is in each API response. - # Corresponds to the JSON property `responseMetadata` - # @return [Google::Apis::PartnersV2::ResponseMetadata] - attr_accessor :response_metadata - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @response_metadata = args[:response_metadata] if args.key?(:response_metadata) - end - end - - # Historical information about a Google Partners Offer. - class HistoricalOffer - include Google::Apis::Core::Hashable - - # Name of the client. - # Corresponds to the JSON property `clientName` - # @return [String] - attr_accessor :client_name - - # Time last action was taken. - # Corresponds to the JSON property `lastModifiedTime` - # @return [String] - attr_accessor :last_modified_time - - # Client's AdWords page URL. - # Corresponds to the JSON property `adwordsUrl` - # @return [String] - attr_accessor :adwords_url - - # Type of offer. - # Corresponds to the JSON property `offerType` - # @return [String] - attr_accessor :offer_type - - # Name (First + Last) of the partners user to whom the incentive is allocated. - # Corresponds to the JSON property `senderName` - # @return [String] - attr_accessor :sender_name - - # Country Code for the offer country. - # Corresponds to the JSON property `offerCountryCode` - # @return [String] - attr_accessor :offer_country_code - - # Time this offer expires. - # Corresponds to the JSON property `expirationTime` - # @return [String] - attr_accessor :expiration_time - - # Offer code. - # Corresponds to the JSON property `offerCode` - # @return [String] - attr_accessor :offer_code - - # Time offer was first created. - # Corresponds to the JSON property `creationTime` - # @return [String] - attr_accessor :creation_time - - # Status of the offer. - # Corresponds to the JSON property `status` - # @return [String] - attr_accessor :status - - # Email address for client. - # Corresponds to the JSON property `clientEmail` - # @return [String] - attr_accessor :client_email - - # ID of client. - # Corresponds to the JSON property `clientId` - # @return [String] - attr_accessor :client_id - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @client_name = args[:client_name] if args.key?(:client_name) - @last_modified_time = args[:last_modified_time] if args.key?(:last_modified_time) - @adwords_url = args[:adwords_url] if args.key?(:adwords_url) - @offer_type = args[:offer_type] if args.key?(:offer_type) - @sender_name = args[:sender_name] if args.key?(:sender_name) - @offer_country_code = args[:offer_country_code] if args.key?(:offer_country_code) - @expiration_time = args[:expiration_time] if args.key?(:expiration_time) - @offer_code = args[:offer_code] if args.key?(:offer_code) - @creation_time = args[:creation_time] if args.key?(:creation_time) - @status = args[:status] if args.key?(:status) - @client_email = args[:client_email] if args.key?(:client_email) - @client_id = args[:client_id] if args.key?(:client_id) - end - end - - # Values to use instead of the user's respective defaults. These are only - # honored by whitelisted products. - class UserOverrides - include Google::Apis::Core::Hashable - - # IP address to use instead of the user's geo-located IP address. - # Corresponds to the JSON property `ipAddress` - # @return [String] - attr_accessor :ip_address - - # Logged-in user ID to impersonate instead of the user's ID. - # Corresponds to the JSON property `userId` - # @return [String] - attr_accessor :user_id - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @ip_address = args[:ip_address] if args.key?(:ip_address) - @user_id = args[:user_id] if args.key?(:user_id) - end - end - - # Request message for - # LogUserEvent. - class LogUserEventRequest - include Google::Apis::Core::Hashable - - # The URL where the event occurred. - # Corresponds to the JSON property `url` - # @return [String] - attr_accessor :url - - # Common data that is in each API request. - # Corresponds to the JSON property `requestMetadata` - # @return [Google::Apis::PartnersV2::RequestMetadata] - attr_accessor :request_metadata - - # The scope of the event. - # Corresponds to the JSON property `eventScope` - # @return [String] - attr_accessor :event_scope - - # List of event data for the event. - # Corresponds to the JSON property `eventDatas` - # @return [Array] - attr_accessor :event_datas - - # The category the action belongs to. - # Corresponds to the JSON property `eventCategory` - # @return [String] - attr_accessor :event_category - - # A lead resource that represents an advertiser contact for a `Company`. These - # are usually generated via Google Partner Search (the advertiser portal). - # Corresponds to the JSON property `lead` - # @return [Google::Apis::PartnersV2::Lead] - attr_accessor :lead - - # The action that occurred. - # Corresponds to the JSON property `eventAction` - # @return [String] - attr_accessor :event_action - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @url = args[:url] if args.key?(:url) - @request_metadata = args[:request_metadata] if args.key?(:request_metadata) - @event_scope = args[:event_scope] if args.key?(:event_scope) - @event_datas = args[:event_datas] if args.key?(:event_datas) - @event_category = args[:event_category] if args.key?(:event_category) - @lead = args[:lead] if args.key?(:lead) - @event_action = args[:event_action] if args.key?(:event_action) - end - end - - # Details of the analytics events for a `Company` within a single day. - class AnalyticsDataPoint - include Google::Apis::Core::Hashable - - # Number of times the type of event occurred. - # Meaning depends on context (e.g. profile views, contacts, etc.). - # Corresponds to the JSON property `eventCount` - # @return [Fixnum] - attr_accessor :event_count - - # Location information of where these events occurred. - # Corresponds to the JSON property `eventLocations` - # @return [Array] - attr_accessor :event_locations - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @event_count = args[:event_count] if args.key?(:event_count) - @event_locations = args[:event_locations] if args.key?(:event_locations) - end - end - - # Analytics data for a `Company` within a single day. - class Analytics - include Google::Apis::Core::Hashable - - # Represents a whole calendar date, e.g. date of birth. The time of day and - # time zone are either specified elsewhere or are not significant. The date - # is relative to the Proleptic Gregorian Calendar. The day may be 0 to - # represent a year and month where the day is not significant, e.g. credit card - # expiration date. The year may be 0 to represent a month and day independent - # of year, e.g. anniversary date. Related types are google.type.TimeOfDay - # and `google.protobuf.Timestamp`. - # Corresponds to the JSON property `eventDate` - # @return [Google::Apis::PartnersV2::Date] - attr_accessor :event_date - - # Details of the analytics events for a `Company` within a single day. - # Corresponds to the JSON property `profileViews` - # @return [Google::Apis::PartnersV2::AnalyticsDataPoint] - attr_accessor :profile_views - - # Details of the analytics events for a `Company` within a single day. - # Corresponds to the JSON property `searchViews` - # @return [Google::Apis::PartnersV2::AnalyticsDataPoint] - attr_accessor :search_views - - # Details of the analytics events for a `Company` within a single day. - # Corresponds to the JSON property `contacts` - # @return [Google::Apis::PartnersV2::AnalyticsDataPoint] - attr_accessor :contacts - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @event_date = args[:event_date] if args.key?(:event_date) - @profile_views = args[:profile_views] if args.key?(:profile_views) - @search_views = args[:search_views] if args.key?(:search_views) - @contacts = args[:contacts] if args.key?(:contacts) - end - end - - # Basic information from a public profile. - class PublicProfile - include Google::Apis::Core::Hashable - - # The display name of the public profile. - # Corresponds to the JSON property `displayName` - # @return [String] - attr_accessor :display_name - - # The URL to the main display image of the public profile. Being deprecated. - # Corresponds to the JSON property `displayImageUrl` - # @return [String] - attr_accessor :display_image_url - - # The ID which can be used to retrieve more details about the public profile. - # Corresponds to the JSON property `id` - # @return [String] - attr_accessor :id - - # The URL of the public profile. - # Corresponds to the JSON property `url` - # @return [String] - attr_accessor :url - - # The URL to the main profile image of the public profile. - # Corresponds to the JSON property `profileImage` - # @return [String] - attr_accessor :profile_image - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @display_name = args[:display_name] if args.key?(:display_name) - @display_image_url = args[:display_image_url] if args.key?(:display_image_url) - @id = args[:id] if args.key?(:id) - @url = args[:url] if args.key?(:url) - @profile_image = args[:profile_image] if args.key?(:profile_image) - end - end - - # Information about a particular AdWords Manager Account. - # Read more at https://support.google.com/adwords/answer/6139186 - class AdWordsManagerAccountInfo - include Google::Apis::Core::Hashable - - # The AdWords Manager Account id. - # Corresponds to the JSON property `id` - # @return [String] - attr_accessor :id - - # Name of the customer this account represents. - # Corresponds to the JSON property `customerName` - # @return [String] - attr_accessor :customer_name - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @id = args[:id] if args.key?(:id) - @customer_name = args[:customer_name] if args.key?(:customer_name) - end - end - - # Common data that is in each API response. - class ResponseMetadata - include Google::Apis::Core::Hashable - - # Debug information about this request. - # Corresponds to the JSON property `debugInfo` - # @return [Google::Apis::PartnersV2::DebugInfo] - attr_accessor :debug_info - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @debug_info = args[:debug_info] if args.key?(:debug_info) - end - end - - # reCaptcha challenge info. - class RecaptchaChallenge - include Google::Apis::Core::Hashable - - # The ID of the reCaptcha challenge. - # Corresponds to the JSON property `id` - # @return [String] - attr_accessor :id - - # The response to the reCaptcha challenge. - # Corresponds to the JSON property `response` - # @return [String] - attr_accessor :response - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @id = args[:id] if args.key?(:id) - @response = args[:response] if args.key?(:response) - end - end - - # Available Offers to be distributed. - class AvailableOffer - include Google::Apis::Core::Hashable - - # Type of offer. - # Corresponds to the JSON property `offerType` - # @return [String] - attr_accessor :offer_type - - # The maximum age of an account [in days] to be eligible. - # Corresponds to the JSON property `maxAccountAge` - # @return [Fixnum] - attr_accessor :max_account_age - - # Customers who qualify for this offer. - # Corresponds to the JSON property `qualifiedCustomer` - # @return [Array] - attr_accessor :qualified_customer - - # Terms of the offer. - # Corresponds to the JSON property `terms` - # @return [String] - attr_accessor :terms - - # Should special text be shown on the offers page. - # Corresponds to the JSON property `showSpecialOfferCopy` - # @return [Boolean] - attr_accessor :show_special_offer_copy - alias_method :show_special_offer_copy?, :show_special_offer_copy - - # The number of codes for this offer that are available for distribution. - # Corresponds to the JSON property `available` - # @return [Fixnum] - attr_accessor :available - - # Description of the offer. - # Corresponds to the JSON property `description` - # @return [String] - attr_accessor :description - - # Level of this offer. - # Corresponds to the JSON property `offerLevel` - # @return [String] - attr_accessor :offer_level - - # Name of the offer. - # Corresponds to the JSON property `name` - # @return [String] - attr_accessor :name - - # Whether or not the list of qualified customers is definitely complete. - # Corresponds to the JSON property `qualifiedCustomersComplete` - # @return [Boolean] - attr_accessor :qualified_customers_complete - alias_method :qualified_customers_complete?, :qualified_customers_complete - - # ID of this offer. - # Corresponds to the JSON property `id` - # @return [String] - attr_accessor :id - - # Offer info by country. - # Corresponds to the JSON property `countryOfferInfos` - # @return [Array] - attr_accessor :country_offer_infos - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @offer_type = args[:offer_type] if args.key?(:offer_type) - @max_account_age = args[:max_account_age] if args.key?(:max_account_age) - @qualified_customer = args[:qualified_customer] if args.key?(:qualified_customer) - @terms = args[:terms] if args.key?(:terms) - @show_special_offer_copy = args[:show_special_offer_copy] if args.key?(:show_special_offer_copy) - @available = args[:available] if args.key?(:available) - @description = args[:description] if args.key?(:description) - @offer_level = args[:offer_level] if args.key?(:offer_level) - @name = args[:name] if args.key?(:name) - @qualified_customers_complete = args[:qualified_customers_complete] if args.key?(:qualified_customers_complete) - @id = args[:id] if args.key?(:id) - @country_offer_infos = args[:country_offer_infos] if args.key?(:country_offer_infos) - end - end - # An object representing a latitude/longitude pair. This is expressed as a pair # of doubles representing degrees latitude and degrees longitude. Unless # specified otherwise, this must conform to the @@ -1312,6 +87,17 @@ module Google class Money include Google::Apis::Core::Hashable + # The whole units of the amount. + # For example if `currencyCode` is `"USD"`, then 1 unit is one US dollar. + # Corresponds to the JSON property `units` + # @return [Fixnum] + attr_accessor :units + + # The 3-letter currency code defined in ISO 4217. + # Corresponds to the JSON property `currencyCode` + # @return [String] + attr_accessor :currency_code + # Number of nano (10^-9) units of the amount. # The value must be between -999,999,999 and +999,999,999 inclusive. # If `units` is positive, `nanos` must be positive or zero. @@ -1322,26 +108,15 @@ module Google # @return [Fixnum] attr_accessor :nanos - # The whole units of the amount. - # For example if `currencyCode` is `"USD"`, then 1 unit is one US dollar. - # Corresponds to the JSON property `units` - # @return [String] - attr_accessor :units - - # The 3-letter currency code defined in ISO 4217. - # Corresponds to the JSON property `currencyCode` - # @return [String] - attr_accessor :currency_code - def initialize(**args) update!(**args) end # Update properties of this object def update!(**args) - @nanos = args[:nanos] if args.key?(:nanos) @units = args[:units] if args.key?(:units) @currency_code = args[:currency_code] if args.key?(:currency_code) + @nanos = args[:nanos] if args.key?(:nanos) end end @@ -1349,6 +124,12 @@ module Google class AnalyticsSummary include Google::Apis::Core::Hashable + # Aggregated number of times users saw the `Company` + # in Google Partners Search results for given date range. + # Corresponds to the JSON property `searchViewsCount` + # @return [Fixnum] + attr_accessor :search_views_count + # Aggregated number of times users contacted the `Company` # for given date range. # Corresponds to the JSON property `contactsCount` @@ -1360,21 +141,15 @@ module Google # @return [Fixnum] attr_accessor :profile_views_count - # Aggregated number of times users saw the `Company` - # in Google Partners Search results for given date range. - # Corresponds to the JSON property `searchViewsCount` - # @return [Fixnum] - attr_accessor :search_views_count - def initialize(**args) update!(**args) end # Update properties of this object def update!(**args) + @search_views_count = args[:search_views_count] if args.key?(:search_views_count) @contacts_count = args[:contacts_count] if args.key?(:contacts_count) @profile_views_count = args[:profile_views_count] if args.key?(:profile_views_count) - @search_views_count = args[:search_views_count] if args.key?(:search_views_count) end end @@ -1383,16 +158,6 @@ module Google class LogMessageRequest include Google::Apis::Core::Hashable - # Map of client info, such as URL, browser navigator, browser platform, etc. - # Corresponds to the JSON property `clientInfo` - # @return [Hash] - attr_accessor :client_info - - # Common data that is in each API request. - # Corresponds to the JSON property `requestMetadata` - # @return [Google::Apis::PartnersV2::RequestMetadata] - attr_accessor :request_metadata - # Message level of client message. # Corresponds to the JSON property `level` # @return [String] @@ -1403,123 +168,26 @@ module Google # @return [String] attr_accessor :details + # Map of client info, such as URL, browser navigator, browser platform, etc. + # Corresponds to the JSON property `clientInfo` + # @return [Hash] + attr_accessor :client_info + + # Common data that is in each API request. + # Corresponds to the JSON property `requestMetadata` + # @return [Google::Apis::PartnersV2::RequestMetadata] + attr_accessor :request_metadata + def initialize(**args) update!(**args) end # Update properties of this object def update!(**args) - @client_info = args[:client_info] if args.key?(:client_info) - @request_metadata = args[:request_metadata] if args.key?(:request_metadata) @level = args[:level] if args.key?(:level) @details = args[:details] if args.key?(:details) - end - end - - # A lead resource that represents an advertiser contact for a `Company`. These - # are usually generated via Google Partner Search (the advertiser portal). - class Lead - include Google::Apis::Core::Hashable - - # Timestamp of when this lead was created. - # Corresponds to the JSON property `createTime` - # @return [String] - attr_accessor :create_time - - # Whether or not the lead signed up for marketing emails - # Corresponds to the JSON property `marketingOptIn` - # @return [Boolean] - attr_accessor :marketing_opt_in - alias_method :marketing_opt_in?, :marketing_opt_in - - # Type of lead. - # Corresponds to the JSON property `type` - # @return [String] - attr_accessor :type - - # Represents an amount of money with its currency type. - # Corresponds to the JSON property `minMonthlyBudget` - # @return [Google::Apis::PartnersV2::Money] - attr_accessor :min_monthly_budget - - # First name of lead source. - # Corresponds to the JSON property `givenName` - # @return [String] - attr_accessor :given_name - - # Language code of the lead's language preference, as defined by - # BCP 47 - # (IETF BCP 47, "Tags for Identifying Languages"). - # Corresponds to the JSON property `languageCode` - # @return [String] - attr_accessor :language_code - - # Website URL of lead source. - # Corresponds to the JSON property `websiteUrl` - # @return [String] - attr_accessor :website_url - - # The lead's state in relation to the company. - # Corresponds to the JSON property `state` - # @return [String] - attr_accessor :state - - # List of reasons for using Google Partner Search and creating a lead. - # Corresponds to the JSON property `gpsMotivations` - # @return [Array] - attr_accessor :gps_motivations - - # Email address of lead source. - # Corresponds to the JSON property `email` - # @return [String] - attr_accessor :email - - # Last name of lead source. - # Corresponds to the JSON property `familyName` - # @return [String] - attr_accessor :family_name - - # ID of the lead. - # Corresponds to the JSON property `id` - # @return [String] - attr_accessor :id - - # Comments lead source gave. - # Corresponds to the JSON property `comments` - # @return [String] - attr_accessor :comments - - # Phone number of lead source. - # Corresponds to the JSON property `phoneNumber` - # @return [String] - attr_accessor :phone_number - - # The AdWords Customer ID of the lead. - # Corresponds to the JSON property `adwordsCustomerId` - # @return [String] - attr_accessor :adwords_customer_id - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @create_time = args[:create_time] if args.key?(:create_time) - @marketing_opt_in = args[:marketing_opt_in] if args.key?(:marketing_opt_in) - @type = args[:type] if args.key?(:type) - @min_monthly_budget = args[:min_monthly_budget] if args.key?(:min_monthly_budget) - @given_name = args[:given_name] if args.key?(:given_name) - @language_code = args[:language_code] if args.key?(:language_code) - @website_url = args[:website_url] if args.key?(:website_url) - @state = args[:state] if args.key?(:state) - @gps_motivations = args[:gps_motivations] if args.key?(:gps_motivations) - @email = args[:email] if args.key?(:email) - @family_name = args[:family_name] if args.key?(:family_name) - @id = args[:id] if args.key?(:id) - @comments = args[:comments] if args.key?(:comments) - @phone_number = args[:phone_number] if args.key?(:phone_number) - @adwords_customer_id = args[:adwords_customer_id] if args.key?(:adwords_customer_id) + @client_info = args[:client_info] if args.key?(:client_info) + @request_metadata = args[:request_metadata] if args.key?(:request_metadata) end end @@ -1554,6 +222,113 @@ module Google end end + # A lead resource that represents an advertiser contact for a `Company`. These + # are usually generated via Google Partner Search (the advertiser portal). + class Lead + include Google::Apis::Core::Hashable + + # Whether or not the lead signed up for marketing emails + # Corresponds to the JSON property `marketingOptIn` + # @return [Boolean] + attr_accessor :marketing_opt_in + alias_method :marketing_opt_in?, :marketing_opt_in + + # Type of lead. + # Corresponds to the JSON property `type` + # @return [String] + attr_accessor :type + + # Represents an amount of money with its currency type. + # Corresponds to the JSON property `minMonthlyBudget` + # @return [Google::Apis::PartnersV2::Money] + attr_accessor :min_monthly_budget + + # First name of lead source. + # Corresponds to the JSON property `givenName` + # @return [String] + attr_accessor :given_name + + # Language code of the lead's language preference, as defined by + # BCP 47 + # (IETF BCP 47, "Tags for Identifying Languages"). + # Corresponds to the JSON property `languageCode` + # @return [String] + attr_accessor :language_code + + # Website URL of lead source. + # Corresponds to the JSON property `websiteUrl` + # @return [String] + attr_accessor :website_url + + # List of reasons for using Google Partner Search and creating a lead. + # Corresponds to the JSON property `gpsMotivations` + # @return [Array] + attr_accessor :gps_motivations + + # The lead's state in relation to the company. + # Corresponds to the JSON property `state` + # @return [String] + attr_accessor :state + + # Email address of lead source. + # Corresponds to the JSON property `email` + # @return [String] + attr_accessor :email + + # Last name of lead source. + # Corresponds to the JSON property `familyName` + # @return [String] + attr_accessor :family_name + + # ID of the lead. + # Corresponds to the JSON property `id` + # @return [String] + attr_accessor :id + + # Comments lead source gave. + # Corresponds to the JSON property `comments` + # @return [String] + attr_accessor :comments + + # The AdWords Customer ID of the lead. + # Corresponds to the JSON property `adwordsCustomerId` + # @return [Fixnum] + attr_accessor :adwords_customer_id + + # Phone number of lead source. + # Corresponds to the JSON property `phoneNumber` + # @return [String] + attr_accessor :phone_number + + # Timestamp of when this lead was created. + # Corresponds to the JSON property `createTime` + # @return [String] + attr_accessor :create_time + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @marketing_opt_in = args[:marketing_opt_in] if args.key?(:marketing_opt_in) + @type = args[:type] if args.key?(:type) + @min_monthly_budget = args[:min_monthly_budget] if args.key?(:min_monthly_budget) + @given_name = args[:given_name] if args.key?(:given_name) + @language_code = args[:language_code] if args.key?(:language_code) + @website_url = args[:website_url] if args.key?(:website_url) + @gps_motivations = args[:gps_motivations] if args.key?(:gps_motivations) + @state = args[:state] if args.key?(:state) + @email = args[:email] if args.key?(:email) + @family_name = args[:family_name] if args.key?(:family_name) + @id = args[:id] if args.key?(:id) + @comments = args[:comments] if args.key?(:comments) + @adwords_customer_id = args[:adwords_customer_id] if args.key?(:adwords_customer_id) + @phone_number = args[:phone_number] if args.key?(:phone_number) + @create_time = args[:create_time] if args.key?(:create_time) + end + end + # Response message for # ListUserStates. class ListUserStatesResponse @@ -1585,57 +360,6 @@ module Google class CompanyRelation include Google::Apis::Core::Hashable - # The state of relationship, in terms of approvals. - # Corresponds to the JSON property `state` - # @return [String] - attr_accessor :state - - # The name (in the company's primary language) for the company. - # Corresponds to the JSON property `name` - # @return [String] - attr_accessor :name - - # The AdWords manager account # associated this company. - # Corresponds to the JSON property `managerAccount` - # @return [String] - attr_accessor :manager_account - - # The segment the company is classified as. - # Corresponds to the JSON property `segment` - # @return [Array] - attr_accessor :segment - - # The list of Google Partners specialization statuses for the company. - # Corresponds to the JSON property `specializationStatus` - # @return [Array] - attr_accessor :specialization_status - - # Whether the company is a Partner. - # Corresponds to the JSON property `badgeTier` - # @return [String] - attr_accessor :badge_tier - - # The website URL for this company. - # Corresponds to the JSON property `website` - # @return [String] - attr_accessor :website - - # The phone number for the company's primary address. - # Corresponds to the JSON property `phoneNumber` - # @return [String] - attr_accessor :phone_number - - # The ID of the company. There may be no id if this is a - # pending company.5 - # Corresponds to the JSON property `companyId` - # @return [String] - attr_accessor :company_id - - # A URL to a profile photo, e.g. a G+ profile photo. - # Corresponds to the JSON property `logoUrl` - # @return [String] - attr_accessor :logo_url - # The timestamp when the user was approved. # @OutputOnly # Corresponds to the JSON property `resolvedTimestamp` @@ -1665,27 +389,78 @@ module Google # @return [String] attr_accessor :creation_time + # The state of relationship, in terms of approvals. + # Corresponds to the JSON property `state` + # @return [String] + attr_accessor :state + + # The name (in the company's primary language) for the company. + # Corresponds to the JSON property `name` + # @return [String] + attr_accessor :name + + # The AdWords manager account # associated this company. + # Corresponds to the JSON property `managerAccount` + # @return [Fixnum] + attr_accessor :manager_account + + # The segment the company is classified as. + # Corresponds to the JSON property `segment` + # @return [Array] + attr_accessor :segment + + # Whether the company is a Partner. + # Corresponds to the JSON property `badgeTier` + # @return [String] + attr_accessor :badge_tier + + # The list of Google Partners specialization statuses for the company. + # Corresponds to the JSON property `specializationStatus` + # @return [Array] + attr_accessor :specialization_status + + # The phone number for the company's primary address. + # Corresponds to the JSON property `phoneNumber` + # @return [String] + attr_accessor :phone_number + + # The website URL for this company. + # Corresponds to the JSON property `website` + # @return [String] + attr_accessor :website + + # The ID of the company. There may be no id if this is a + # pending company.5 + # Corresponds to the JSON property `companyId` + # @return [String] + attr_accessor :company_id + + # A URL to a profile photo, e.g. a G+ profile photo. + # Corresponds to the JSON property `logoUrl` + # @return [String] + attr_accessor :logo_url + def initialize(**args) update!(**args) end # Update properties of this object def update!(**args) - @state = args[:state] if args.key?(:state) - @name = args[:name] if args.key?(:name) - @manager_account = args[:manager_account] if args.key?(:manager_account) - @segment = args[:segment] if args.key?(:segment) - @specialization_status = args[:specialization_status] if args.key?(:specialization_status) - @badge_tier = args[:badge_tier] if args.key?(:badge_tier) - @website = args[:website] if args.key?(:website) - @phone_number = args[:phone_number] if args.key?(:phone_number) - @company_id = args[:company_id] if args.key?(:company_id) - @logo_url = args[:logo_url] if args.key?(:logo_url) @resolved_timestamp = args[:resolved_timestamp] if args.key?(:resolved_timestamp) @company_admin = args[:company_admin] if args.key?(:company_admin) @address = args[:address] if args.key?(:address) @is_pending = args[:is_pending] if args.key?(:is_pending) @creation_time = args[:creation_time] if args.key?(:creation_time) + @state = args[:state] if args.key?(:state) + @name = args[:name] if args.key?(:name) + @manager_account = args[:manager_account] if args.key?(:manager_account) + @segment = args[:segment] if args.key?(:segment) + @badge_tier = args[:badge_tier] if args.key?(:badge_tier) + @specialization_status = args[:specialization_status] if args.key?(:specialization_status) + @phone_number = args[:phone_number] if args.key?(:phone_number) + @website = args[:website] if args.key?(:website) + @company_id = args[:company_id] if args.key?(:company_id) + @logo_url = args[:logo_url] if args.key?(:logo_url) end end @@ -1780,6 +555,16 @@ module Google class RequestMetadata include Google::Apis::Core::Hashable + # Experiment IDs the current request belongs to. + # Corresponds to the JSON property `experimentIds` + # @return [Array] + attr_accessor :experiment_ids + + # Source of traffic for the current request. + # Corresponds to the JSON property `trafficSource` + # @return [Google::Apis::PartnersV2::TrafficSource] + attr_accessor :traffic_source + # Locale to use for the current request. # Corresponds to the JSON property `locale` # @return [String] @@ -1796,27 +581,17 @@ module Google # @return [String] attr_accessor :partners_session_id - # Experiment IDs the current request belongs to. - # Corresponds to the JSON property `experimentIds` - # @return [Array] - attr_accessor :experiment_ids - - # Source of traffic for the current request. - # Corresponds to the JSON property `trafficSource` - # @return [Google::Apis::PartnersV2::TrafficSource] - attr_accessor :traffic_source - def initialize(**args) update!(**args) end # Update properties of this object def update!(**args) + @experiment_ids = args[:experiment_ids] if args.key?(:experiment_ids) + @traffic_source = args[:traffic_source] if args.key?(:traffic_source) @locale = args[:locale] if args.key?(:locale) @user_overrides = args[:user_overrides] if args.key?(:user_overrides) @partners_session_id = args[:partners_session_id] if args.key?(:partners_session_id) - @experiment_ids = args[:experiment_ids] if args.key?(:experiment_ids) - @traffic_source = args[:traffic_source] if args.key?(:traffic_source) end end @@ -1824,6 +599,11 @@ module Google class CreateLeadRequest include Google::Apis::Core::Hashable + # Common data that is in each API request. + # Corresponds to the JSON property `requestMetadata` + # @return [Google::Apis::PartnersV2::RequestMetadata] + attr_accessor :request_metadata + # A lead resource that represents an advertiser contact for a `Company`. These # are usually generated via Google Partner Search (the advertiser portal). # Corresponds to the JSON property `lead` @@ -1835,20 +615,15 @@ module Google # @return [Google::Apis::PartnersV2::RecaptchaChallenge] attr_accessor :recaptcha_challenge - # Common data that is in each API request. - # Corresponds to the JSON property `requestMetadata` - # @return [Google::Apis::PartnersV2::RequestMetadata] - attr_accessor :request_metadata - def initialize(**args) update!(**args) end # Update properties of this object def update!(**args) + @request_metadata = args[:request_metadata] if args.key?(:request_metadata) @lead = args[:lead] if args.key?(:lead) @recaptcha_challenge = args[:recaptcha_challenge] if args.key?(:recaptcha_challenge) - @request_metadata = args[:request_metadata] if args.key?(:request_metadata) end end @@ -1856,24 +631,24 @@ module Google class EventData include Google::Apis::Core::Hashable - # Data values. - # Corresponds to the JSON property `values` - # @return [Array] - attr_accessor :values - # Data type. # Corresponds to the JSON property `key` # @return [String] attr_accessor :key + # Data values. + # Corresponds to the JSON property `values` + # @return [Array] + attr_accessor :values + def initialize(**args) update!(**args) end # Update properties of this object def update!(**args) - @values = args[:values] if args.key?(:values) @key = args[:key] if args.key?(:key) + @values = args[:values] if args.key?(:values) end end @@ -1881,17 +656,28 @@ module Google class ExamStatus include Google::Apis::Core::Hashable - # Whether this exam is in the state of warning. - # Corresponds to the JSON property `warning` + # The date the user last taken this exam. + # Corresponds to the JSON property `taken` + # @return [String] + attr_accessor :taken + + # Whether this exam has been passed and not expired. + # Corresponds to the JSON property `passed` # @return [Boolean] - attr_accessor :warning - alias_method :warning?, :warning + attr_accessor :passed + alias_method :passed?, :passed # Date this exam is due to expire. # Corresponds to the JSON property `expiration` # @return [String] attr_accessor :expiration + # Whether this exam is in the state of warning. + # Corresponds to the JSON property `warning` + # @return [Boolean] + attr_accessor :warning + alias_method :warning?, :warning + # The date the user last passed this exam. # Corresponds to the JSON property `lastPassed` # @return [String] @@ -1902,29 +688,18 @@ module Google # @return [String] attr_accessor :exam_type - # Whether this exam has been passed and not expired. - # Corresponds to the JSON property `passed` - # @return [Boolean] - attr_accessor :passed - alias_method :passed?, :passed - - # The date the user last taken this exam. - # Corresponds to the JSON property `taken` - # @return [String] - attr_accessor :taken - def initialize(**args) update!(**args) end # Update properties of this object def update!(**args) - @warning = args[:warning] if args.key?(:warning) + @taken = args[:taken] if args.key?(:taken) + @passed = args[:passed] if args.key?(:passed) @expiration = args[:expiration] if args.key?(:expiration) + @warning = args[:warning] if args.key?(:warning) @last_passed = args[:last_passed] if args.key?(:last_passed) @exam_type = args[:exam_type] if args.key?(:exam_type) - @passed = args[:passed] if args.key?(:passed) - @taken = args[:taken] if args.key?(:taken) end end @@ -1963,11 +738,6 @@ module Google class CountryOfferInfo include Google::Apis::Core::Hashable - # (localized) Get Y amount for that country's offer. - # Corresponds to the JSON property `getYAmount` - # @return [String] - attr_accessor :get_y_amount - # Country code for which offer codes may be requested. # Corresponds to the JSON property `offerCountryCode` # @return [String] @@ -1983,16 +753,21 @@ module Google # @return [String] attr_accessor :offer_type + # (localized) Get Y amount for that country's offer. + # Corresponds to the JSON property `getYAmount` + # @return [String] + attr_accessor :get_y_amount + def initialize(**args) update!(**args) end # Update properties of this object def update!(**args) - @get_y_amount = args[:get_y_amount] if args.key?(:get_y_amount) @offer_country_code = args[:offer_country_code] if args.key?(:offer_country_code) @spend_x_amount = args[:spend_x_amount] if args.key?(:spend_x_amount) @offer_type = args[:offer_type] if args.key?(:offer_type) + @get_y_amount = args[:get_y_amount] if args.key?(:get_y_amount) end end @@ -2001,15 +776,6 @@ module Google class ListCompaniesResponse include Google::Apis::Core::Hashable - # A token to retrieve next page of results. - # Pass this value in the `ListCompaniesRequest.page_token` field in the - # subsequent call to - # ListCompanies to retrieve the - # next page of results. - # Corresponds to the JSON property `nextPageToken` - # @return [String] - attr_accessor :next_page_token - # Common data that is in each API response. # Corresponds to the JSON property `responseMetadata` # @return [Google::Apis::PartnersV2::ResponseMetadata] @@ -2020,15 +786,24 @@ module Google # @return [Array] attr_accessor :companies + # A token to retrieve next page of results. + # Pass this value in the `ListCompaniesRequest.page_token` field in the + # subsequent call to + # ListCompanies to retrieve the + # next page of results. + # Corresponds to the JSON property `nextPageToken` + # @return [String] + attr_accessor :next_page_token + def initialize(**args) update!(**args) end # Update properties of this object def update!(**args) - @next_page_token = args[:next_page_token] if args.key?(:next_page_token) @response_metadata = args[:response_metadata] if args.key?(:response_metadata) @companies = args[:companies] if args.key?(:companies) + @next_page_token = args[:next_page_token] if args.key?(:next_page_token) end end @@ -2036,41 +811,6 @@ module Google class OfferCustomer include Google::Apis::Core::Hashable - # Formatted Spend X amount with currency code. - # Corresponds to the JSON property `spendXAmount` - # @return [String] - attr_accessor :spend_x_amount - - # URL to the customer's AdWords page. - # Corresponds to the JSON property `adwordsUrl` - # @return [String] - attr_accessor :adwords_url - - # Country code of the customer. - # Corresponds to the JSON property `countryCode` - # @return [String] - attr_accessor :country_code - - # External CID for the customer. - # Corresponds to the JSON property `externalCid` - # @return [String] - attr_accessor :external_cid - - # Time the customer was created. - # Corresponds to the JSON property `creationTime` - # @return [String] - attr_accessor :creation_time - - # Days the customer is still eligible. - # Corresponds to the JSON property `eligibilityDaysLeft` - # @return [Fixnum] - attr_accessor :eligibility_days_left - - # Type of the offer - # Corresponds to the JSON property `offerType` - # @return [String] - attr_accessor :offer_type - # Formatted Get Y amount with currency code. # Corresponds to the JSON property `getYAmount` # @return [String] @@ -2081,21 +821,56 @@ module Google # @return [String] attr_accessor :name + # Formatted Spend X amount with currency code. + # Corresponds to the JSON property `spendXAmount` + # @return [String] + attr_accessor :spend_x_amount + + # URL to the customer's AdWords page. + # Corresponds to the JSON property `adwordsUrl` + # @return [String] + attr_accessor :adwords_url + + # Type of the offer + # Corresponds to the JSON property `offerType` + # @return [String] + attr_accessor :offer_type + + # Country code of the customer. + # Corresponds to the JSON property `countryCode` + # @return [String] + attr_accessor :country_code + + # External CID for the customer. + # Corresponds to the JSON property `externalCid` + # @return [Fixnum] + attr_accessor :external_cid + + # Days the customer is still eligible. + # Corresponds to the JSON property `eligibilityDaysLeft` + # @return [Fixnum] + attr_accessor :eligibility_days_left + + # Time the customer was created. + # Corresponds to the JSON property `creationTime` + # @return [String] + attr_accessor :creation_time + def initialize(**args) update!(**args) end # Update properties of this object def update!(**args) - @spend_x_amount = args[:spend_x_amount] if args.key?(:spend_x_amount) - @adwords_url = args[:adwords_url] if args.key?(:adwords_url) - @country_code = args[:country_code] if args.key?(:country_code) - @external_cid = args[:external_cid] if args.key?(:external_cid) - @creation_time = args[:creation_time] if args.key?(:creation_time) - @eligibility_days_left = args[:eligibility_days_left] if args.key?(:eligibility_days_left) - @offer_type = args[:offer_type] if args.key?(:offer_type) @get_y_amount = args[:get_y_amount] if args.key?(:get_y_amount) @name = args[:name] if args.key?(:name) + @spend_x_amount = args[:spend_x_amount] if args.key?(:spend_x_amount) + @adwords_url = args[:adwords_url] if args.key?(:adwords_url) + @offer_type = args[:offer_type] if args.key?(:offer_type) + @country_code = args[:country_code] if args.key?(:country_code) + @external_cid = args[:external_cid] if args.key?(:external_cid) + @eligibility_days_left = args[:eligibility_days_left] if args.key?(:eligibility_days_left) + @creation_time = args[:creation_time] if args.key?(:creation_time) end end @@ -2103,6 +878,11 @@ module Google class CertificationStatus include Google::Apis::Core::Hashable + # List of certification exam statuses. + # Corresponds to the JSON property `examStatuses` + # @return [Array] + attr_accessor :exam_statuses + # The type of the certification. # Corresponds to the JSON property `type` # @return [String] @@ -2119,21 +899,16 @@ module Google attr_accessor :is_certified alias_method :is_certified?, :is_certified - # List of certification exam statuses. - # Corresponds to the JSON property `examStatuses` - # @return [Array] - attr_accessor :exam_statuses - def initialize(**args) update!(**args) end # Update properties of this object def update!(**args) + @exam_statuses = args[:exam_statuses] if args.key?(:exam_statuses) @type = args[:type] if args.key?(:type) @user_count = args[:user_count] if args.key?(:user_count) @is_certified = args[:is_certified] if args.key?(:is_certified) - @exam_statuses = args[:exam_statuses] if args.key?(:exam_statuses) end end @@ -2141,6 +916,16 @@ module Google class LocalizedCompanyInfo include Google::Apis::Core::Hashable + # List of country codes for the localized company info. + # Corresponds to the JSON property `countryCodes` + # @return [Array] + attr_accessor :country_codes + + # Localized brief description that the company uses to advertise themselves. + # Corresponds to the JSON property `overview` + # @return [String] + attr_accessor :overview + # Localized display name. # Corresponds to the JSON property `displayName` # @return [String] @@ -2153,26 +938,16 @@ module Google # @return [String] attr_accessor :language_code - # List of country codes for the localized company info. - # Corresponds to the JSON property `countryCodes` - # @return [Array] - attr_accessor :country_codes - - # Localized brief description that the company uses to advertise themselves. - # Corresponds to the JSON property `overview` - # @return [String] - attr_accessor :overview - def initialize(**args) update!(**args) end # Update properties of this object def update!(**args) - @display_name = args[:display_name] if args.key?(:display_name) - @language_code = args[:language_code] if args.key?(:language_code) @country_codes = args[:country_codes] if args.key?(:country_codes) @overview = args[:overview] if args.key?(:overview) + @display_name = args[:display_name] if args.key?(:display_name) + @language_code = args[:language_code] if args.key?(:language_code) end end @@ -2291,6 +1066,1231 @@ module Google @badge_specialization_state = args[:badge_specialization_state] if args.key?(:badge_specialization_state) end end + + # A user's information on a specific certification. + class Certification + include Google::Apis::Core::Hashable + + # The date the user last achieved certification. + # Corresponds to the JSON property `lastAchieved` + # @return [String] + attr_accessor :last_achieved + + # Whether this certification has been achieved. + # Corresponds to the JSON property `achieved` + # @return [Boolean] + attr_accessor :achieved + alias_method :achieved?, :achieved + + # Date this certification is due to expire. + # Corresponds to the JSON property `expiration` + # @return [String] + attr_accessor :expiration + + # Whether this certification is in the state of warning. + # Corresponds to the JSON property `warning` + # @return [Boolean] + attr_accessor :warning + alias_method :warning?, :warning + + # The type of certification, the area of expertise. + # Corresponds to the JSON property `certificationType` + # @return [String] + attr_accessor :certification_type + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @last_achieved = args[:last_achieved] if args.key?(:last_achieved) + @achieved = args[:achieved] if args.key?(:achieved) + @expiration = args[:expiration] if args.key?(:expiration) + @warning = args[:warning] if args.key?(:warning) + @certification_type = args[:certification_type] if args.key?(:certification_type) + end + end + + # A resource representing a user of the Partners platform. + class User + include Google::Apis::Core::Hashable + + # This is the list of AdWords Manager Accounts the user has edit access to. + # If the user has edit access to multiple accounts, the user can choose the + # preferred account and we use this when a personal account is needed. Can + # be empty meaning the user has access to no accounts. + # @OutputOnly + # Corresponds to the JSON property `availableAdwordsManagerAccounts` + # @return [Array] + attr_accessor :available_adwords_manager_accounts + + # The list of emails the user has access to/can select as primary. + # @OutputOnly + # Corresponds to the JSON property `primaryEmails` + # @return [Array] + attr_accessor :primary_emails + + # The list of exams the user ever taken. For each type of exam, only one + # entry is listed. + # Corresponds to the JSON property `examStatus` + # @return [Array] + attr_accessor :exam_status + + # The ID of the user. + # Corresponds to the JSON property `id` + # @return [String] + attr_accessor :id + + # Basic information from a public profile. + # Corresponds to the JSON property `publicProfile` + # @return [Google::Apis::PartnersV2::PublicProfile] + attr_accessor :public_profile + + # The email address used by the user used for company verification. + # @OutputOnly + # Corresponds to the JSON property `companyVerificationEmail` + # @return [String] + attr_accessor :company_verification_email + + # The list of achieved certifications. These are calculated based on exam + # results and other requirements. + # @OutputOnly + # Corresponds to the JSON property `certificationStatus` + # @return [Array] + attr_accessor :certification_status + + # A CompanyRelation resource representing information about a user's + # affiliation and standing with a company in Partners. + # Corresponds to the JSON property `company` + # @return [Google::Apis::PartnersV2::CompanyRelation] + attr_accessor :company + + # The profile information of a Partners user. + # Corresponds to the JSON property `profile` + # @return [Google::Apis::PartnersV2::UserProfile] + attr_accessor :profile + + # The most recent time the user interacted with the Partners site. + # @OutputOnly + # Corresponds to the JSON property `lastAccessTime` + # @return [String] + attr_accessor :last_access_time + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @available_adwords_manager_accounts = args[:available_adwords_manager_accounts] if args.key?(:available_adwords_manager_accounts) + @primary_emails = args[:primary_emails] if args.key?(:primary_emails) + @exam_status = args[:exam_status] if args.key?(:exam_status) + @id = args[:id] if args.key?(:id) + @public_profile = args[:public_profile] if args.key?(:public_profile) + @company_verification_email = args[:company_verification_email] if args.key?(:company_verification_email) + @certification_status = args[:certification_status] if args.key?(:certification_status) + @company = args[:company] if args.key?(:company) + @profile = args[:profile] if args.key?(:profile) + @last_access_time = args[:last_access_time] if args.key?(:last_access_time) + end + end + + # Response message for + # ListAnalytics. + class ListAnalyticsResponse + include Google::Apis::Core::Hashable + + # A token to retrieve next page of results. + # Pass this value in the `ListAnalyticsRequest.page_token` field in the + # subsequent call to + # ListAnalytics to retrieve the + # next page of results. + # Corresponds to the JSON property `nextPageToken` + # @return [String] + attr_accessor :next_page_token + + # Common data that is in each API response. + # Corresponds to the JSON property `responseMetadata` + # @return [Google::Apis::PartnersV2::ResponseMetadata] + attr_accessor :response_metadata + + # Analytics aggregated data for a `Company` for a given date range. + # Corresponds to the JSON property `analyticsSummary` + # @return [Google::Apis::PartnersV2::AnalyticsSummary] + attr_accessor :analytics_summary + + # The list of analytics. + # Sorted in ascending order of + # Analytics.event_date. + # Corresponds to the JSON property `analytics` + # @return [Array] + attr_accessor :analytics + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @next_page_token = args[:next_page_token] if args.key?(:next_page_token) + @response_metadata = args[:response_metadata] if args.key?(:response_metadata) + @analytics_summary = args[:analytics_summary] if args.key?(:analytics_summary) + @analytics = args[:analytics] if args.key?(:analytics) + end + end + + # Response message for ListLeads. + class ListLeadsResponse + include Google::Apis::Core::Hashable + + # Common data that is in each API response. + # Corresponds to the JSON property `responseMetadata` + # @return [Google::Apis::PartnersV2::ResponseMetadata] + attr_accessor :response_metadata + + # The total count of leads for the given company. + # Corresponds to the JSON property `totalSize` + # @return [Fixnum] + attr_accessor :total_size + + # The list of leads. + # Corresponds to the JSON property `leads` + # @return [Array] + attr_accessor :leads + + # A token to retrieve next page of results. + # Pass this value in the `ListLeadsRequest.page_token` field in the + # subsequent call to + # ListLeads to retrieve the + # next page of results. + # Corresponds to the JSON property `nextPageToken` + # @return [String] + attr_accessor :next_page_token + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @response_metadata = args[:response_metadata] if args.key?(:response_metadata) + @total_size = args[:total_size] if args.key?(:total_size) + @leads = args[:leads] if args.key?(:leads) + @next_page_token = args[:next_page_token] if args.key?(:next_page_token) + end + end + + # A company resource in the Google Partners API. Once certified, it qualifies + # for being searched by advertisers. + class Company + include Google::Apis::Core::Hashable + + # The list of all company locations. + # If set, must include the + # primary_location + # in the list. + # Corresponds to the JSON property `locations` + # @return [Array] + attr_accessor :locations + + # Represents an amount of money with its currency type. + # Corresponds to the JSON property `convertedMinMonthlyBudget` + # @return [Google::Apis::PartnersV2::Money] + attr_accessor :converted_min_monthly_budget + + # Industries the company can help with. + # Corresponds to the JSON property `industries` + # @return [Array] + attr_accessor :industries + + # URL of the company's website. + # Corresponds to the JSON property `websiteUrl` + # @return [String] + attr_accessor :website_url + + # URL of the company's additional websites used to verify the dynamic badges. + # These are stored as full URLs as entered by the user, but only the TLD will + # be used for the actual verification. + # Corresponds to the JSON property `additionalWebsites` + # @return [Array] + attr_accessor :additional_websites + + # The Primary AdWords Manager Account id. + # Corresponds to the JSON property `primaryAdwordsManagerAccountId` + # @return [Fixnum] + attr_accessor :primary_adwords_manager_account_id + + # The name of the company. + # Corresponds to the JSON property `name` + # @return [String] + attr_accessor :name + + # The list of localized info for the company. + # Corresponds to the JSON property `localizedInfos` + # @return [Array] + attr_accessor :localized_infos + + # The ID of the company. + # Corresponds to the JSON property `id` + # @return [String] + attr_accessor :id + + # The list of Google Partners certification statuses for the company. + # Corresponds to the JSON property `certificationStatuses` + # @return [Array] + attr_accessor :certification_statuses + + # Basic information from a public profile. + # Corresponds to the JSON property `publicProfile` + # @return [Google::Apis::PartnersV2::PublicProfile] + attr_accessor :public_profile + + # A location with address and geographic coordinates. May optionally contain a + # detailed (multi-field) version of the address. + # Corresponds to the JSON property `primaryLocation` + # @return [Google::Apis::PartnersV2::Location] + attr_accessor :primary_location + + # Services the company can help with. + # Corresponds to the JSON property `services` + # @return [Array] + attr_accessor :services + + # Represents an amount of money with its currency type. + # Corresponds to the JSON property `originalMinMonthlyBudget` + # @return [Google::Apis::PartnersV2::Money] + attr_accessor :original_min_monthly_budget + + # Information related to the ranking of the company within the list of + # companies. + # Corresponds to the JSON property `ranks` + # @return [Array] + attr_accessor :ranks + + # Partner badge tier + # Corresponds to the JSON property `badgeTier` + # @return [String] + attr_accessor :badge_tier + + # The list of Google Partners specialization statuses for the company. + # Corresponds to the JSON property `specializationStatus` + # @return [Array] + attr_accessor :specialization_status + + # Company type labels listed on the company's profile. + # Corresponds to the JSON property `companyTypes` + # @return [Array] + attr_accessor :company_types + + # Email domains that allow users with a matching email address to get + # auto-approved for associating with this company. + # Corresponds to the JSON property `autoApprovalEmailDomains` + # @return [Array] + attr_accessor :auto_approval_email_domains + + # The primary language code of the company, as defined by + # BCP 47 + # (IETF BCP 47, "Tags for Identifying Languages"). + # Corresponds to the JSON property `primaryLanguageCode` + # @return [String] + attr_accessor :primary_language_code + + # The public viewability status of the company's profile. + # Corresponds to the JSON property `profileStatus` + # @return [String] + attr_accessor :profile_status + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @locations = args[:locations] if args.key?(:locations) + @converted_min_monthly_budget = args[:converted_min_monthly_budget] if args.key?(:converted_min_monthly_budget) + @industries = args[:industries] if args.key?(:industries) + @website_url = args[:website_url] if args.key?(:website_url) + @additional_websites = args[:additional_websites] if args.key?(:additional_websites) + @primary_adwords_manager_account_id = args[:primary_adwords_manager_account_id] if args.key?(:primary_adwords_manager_account_id) + @name = args[:name] if args.key?(:name) + @localized_infos = args[:localized_infos] if args.key?(:localized_infos) + @id = args[:id] if args.key?(:id) + @certification_statuses = args[:certification_statuses] if args.key?(:certification_statuses) + @public_profile = args[:public_profile] if args.key?(:public_profile) + @primary_location = args[:primary_location] if args.key?(:primary_location) + @services = args[:services] if args.key?(:services) + @original_min_monthly_budget = args[:original_min_monthly_budget] if args.key?(:original_min_monthly_budget) + @ranks = args[:ranks] if args.key?(:ranks) + @badge_tier = args[:badge_tier] if args.key?(:badge_tier) + @specialization_status = args[:specialization_status] if args.key?(:specialization_status) + @company_types = args[:company_types] if args.key?(:company_types) + @auto_approval_email_domains = args[:auto_approval_email_domains] if args.key?(:auto_approval_email_domains) + @primary_language_code = args[:primary_language_code] if args.key?(:primary_language_code) + @profile_status = args[:profile_status] if args.key?(:profile_status) + end + end + + # Response message for CreateLead. + class CreateLeadResponse + include Google::Apis::Core::Hashable + + # A lead resource that represents an advertiser contact for a `Company`. These + # are usually generated via Google Partner Search (the advertiser portal). + # Corresponds to the JSON property `lead` + # @return [Google::Apis::PartnersV2::Lead] + attr_accessor :lead + + # The outcome of reCaptcha + # validation. + # Corresponds to the JSON property `recaptchaStatus` + # @return [String] + attr_accessor :recaptcha_status + + # Common data that is in each API response. + # Corresponds to the JSON property `responseMetadata` + # @return [Google::Apis::PartnersV2::ResponseMetadata] + attr_accessor :response_metadata + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @lead = args[:lead] if args.key?(:lead) + @recaptcha_status = args[:recaptcha_status] if args.key?(:recaptcha_status) + @response_metadata = args[:response_metadata] if args.key?(:response_metadata) + end + end + + # Response message for GetCompany. + class GetCompanyResponse + include Google::Apis::Core::Hashable + + # A company resource in the Google Partners API. Once certified, it qualifies + # for being searched by advertisers. + # Corresponds to the JSON property `company` + # @return [Google::Apis::PartnersV2::Company] + attr_accessor :company + + # Common data that is in each API response. + # Corresponds to the JSON property `responseMetadata` + # @return [Google::Apis::PartnersV2::ResponseMetadata] + attr_accessor :response_metadata + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @company = args[:company] if args.key?(:company) + @response_metadata = args[:response_metadata] if args.key?(:response_metadata) + end + end + + # A location with address and geographic coordinates. May optionally contain a + # detailed (multi-field) version of the address. + class Location + include Google::Apis::Core::Hashable + + # The following address lines represent the most specific part of any + # address. + # Corresponds to the JSON property `addressLine` + # @return [Array] + attr_accessor :address_line + + # Generally refers to the city/town portion of an address. + # Corresponds to the JSON property `locality` + # @return [String] + attr_accessor :locality + + # Top-level administrative subdivision of this country. + # Corresponds to the JSON property `administrativeArea` + # @return [String] + attr_accessor :administrative_area + + # An object representing a latitude/longitude pair. This is expressed as a pair + # of doubles representing degrees latitude and degrees longitude. Unless + # specified otherwise, this must conform to the + # WGS84 + # standard. Values must be within normalized ranges. + # Example of normalization code in Python: + # def NormalizeLongitude(longitude): + # """Wraps decimal degrees longitude to [-180.0, 180.0].""" + # q, r = divmod(longitude, 360.0) + # if r > 180.0 or (r == 180.0 and q <= -1.0): + # return r - 360.0 + # return r + # def NormalizeLatLng(latitude, longitude): + # """Wraps decimal degrees latitude and longitude to + # [-90.0, 90.0] and [-180.0, 180.0], respectively.""" + # r = latitude % 360.0 + # if r <= 90.0: + # return r, NormalizeLongitude(longitude) + # elif r >= 270.0: + # return r - 360, NormalizeLongitude(longitude) + # else: + # return 180 - r, NormalizeLongitude(longitude + 180.0) + # assert 180.0 == NormalizeLongitude(180.0) + # assert -180.0 == NormalizeLongitude(-180.0) + # assert -179.0 == NormalizeLongitude(181.0) + # assert (0.0, 0.0) == NormalizeLatLng(360.0, 0.0) + # assert (0.0, 0.0) == NormalizeLatLng(-360.0, 0.0) + # assert (85.0, 180.0) == NormalizeLatLng(95.0, 0.0) + # assert (-85.0, -170.0) == NormalizeLatLng(-95.0, 10.0) + # assert (90.0, 10.0) == NormalizeLatLng(90.0, 10.0) + # assert (-90.0, -10.0) == NormalizeLatLng(-90.0, -10.0) + # assert (0.0, -170.0) == NormalizeLatLng(-180.0, 10.0) + # assert (0.0, -170.0) == NormalizeLatLng(180.0, 10.0) + # assert (-90.0, 10.0) == NormalizeLatLng(270.0, 10.0) + # assert (90.0, 10.0) == NormalizeLatLng(-270.0, 10.0) + # The code in logs/storage/validator/logs_validator_traits.cc treats this type + # as if it were annotated as ST_LOCATION. + # Corresponds to the JSON property `latLng` + # @return [Google::Apis::PartnersV2::LatLng] + attr_accessor :lat_lng + + # The single string version of the address. + # Corresponds to the JSON property `address` + # @return [String] + attr_accessor :address + + # CLDR (Common Locale Data Repository) region code . + # Corresponds to the JSON property `regionCode` + # @return [String] + attr_accessor :region_code + + # Dependent locality or sublocality. Used for UK dependent localities, or + # neighborhoods or boroughs in other locations. + # Corresponds to the JSON property `dependentLocality` + # @return [String] + attr_accessor :dependent_locality + + # Values are frequently alphanumeric. + # Corresponds to the JSON property `postalCode` + # @return [String] + attr_accessor :postal_code + + # Use of this code is very country-specific, but will refer to a secondary + # classification code for sorting mail. + # Corresponds to the JSON property `sortingCode` + # @return [String] + attr_accessor :sorting_code + + # Language code of the address. Should be in BCP 47 format. + # Corresponds to the JSON property `languageCode` + # @return [String] + attr_accessor :language_code + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @address_line = args[:address_line] if args.key?(:address_line) + @locality = args[:locality] if args.key?(:locality) + @administrative_area = args[:administrative_area] if args.key?(:administrative_area) + @lat_lng = args[:lat_lng] if args.key?(:lat_lng) + @address = args[:address] if args.key?(:address) + @region_code = args[:region_code] if args.key?(:region_code) + @dependent_locality = args[:dependent_locality] if args.key?(:dependent_locality) + @postal_code = args[:postal_code] if args.key?(:postal_code) + @sorting_code = args[:sorting_code] if args.key?(:sorting_code) + @language_code = args[:language_code] if args.key?(:language_code) + end + end + + # Status for a Google Partners certification exam. + class CertificationExamStatus + include Google::Apis::Core::Hashable + + # The number of people who have passed the certification exam. + # Corresponds to the JSON property `numberUsersPass` + # @return [Fixnum] + attr_accessor :number_users_pass + + # The type of certification exam. + # Corresponds to the JSON property `type` + # @return [String] + attr_accessor :type + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @number_users_pass = args[:number_users_pass] if args.key?(:number_users_pass) + @type = args[:type] if args.key?(:type) + end + end + + # A token that allows a user to take an exam. + class ExamToken + include Google::Apis::Core::Hashable + + # The id of the exam the token is for. + # Corresponds to the JSON property `examId` + # @return [Fixnum] + attr_accessor :exam_id + + # The token, only present if the user has access to the exam. + # Corresponds to the JSON property `token` + # @return [String] + attr_accessor :token + + # The type of the exam the token belongs to. + # Corresponds to the JSON property `examType` + # @return [String] + attr_accessor :exam_type + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @exam_id = args[:exam_id] if args.key?(:exam_id) + @token = args[:token] if args.key?(:token) + @exam_type = args[:exam_type] if args.key?(:exam_type) + end + end + + # A set of opt-ins for a user. + class OptIns + include Google::Apis::Core::Hashable + + # An opt-in to receive special promotional gifts and material in the mail. + # Corresponds to the JSON property `physicalMail` + # @return [Boolean] + attr_accessor :physical_mail + alias_method :physical_mail?, :physical_mail + + # An opt-in to allow recieivng phone calls about their Partners account. + # Corresponds to the JSON property `phoneContact` + # @return [Boolean] + attr_accessor :phone_contact + alias_method :phone_contact?, :phone_contact + + # An opt-in about receiving email from Partners marketing teams. Includes + # member-only events and special promotional offers for Google products. + # Corresponds to the JSON property `marketComm` + # @return [Boolean] + attr_accessor :market_comm + alias_method :market_comm?, :market_comm + + # An opt-in about receiving email regarding new features and products. + # Corresponds to the JSON property `specialOffers` + # @return [Boolean] + attr_accessor :special_offers + alias_method :special_offers?, :special_offers + + # An opt-in about receiving email with customized AdWords campaign management + # tips. + # Corresponds to the JSON property `performanceSuggestions` + # @return [Boolean] + attr_accessor :performance_suggestions + alias_method :performance_suggestions?, :performance_suggestions + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @physical_mail = args[:physical_mail] if args.key?(:physical_mail) + @phone_contact = args[:phone_contact] if args.key?(:phone_contact) + @market_comm = args[:market_comm] if args.key?(:market_comm) + @special_offers = args[:special_offers] if args.key?(:special_offers) + @performance_suggestions = args[:performance_suggestions] if args.key?(:performance_suggestions) + end + end + + # Information related to ranking of results. + class Rank + include Google::Apis::Core::Hashable + + # The numerical value of the rank. + # Corresponds to the JSON property `value` + # @return [Float] + attr_accessor :value + + # The type of rank. + # Corresponds to the JSON property `type` + # @return [String] + attr_accessor :type + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @value = args[:value] if args.key?(:value) + @type = args[:type] if args.key?(:type) + end + end + + # The profile information of a Partners user. + class UserProfile + include Google::Apis::Core::Hashable + + # A location with address and geographic coordinates. May optionally contain a + # detailed (multi-field) version of the address. + # Corresponds to the JSON property `address` + # @return [Google::Apis::PartnersV2::Location] + attr_accessor :address + + # A list of ids representing which industries the user selected. + # Corresponds to the JSON property `industries` + # @return [Array] + attr_accessor :industries + + # The list of languages this user understands. + # Corresponds to the JSON property `languages` + # @return [Array] + attr_accessor :languages + + # The user's family name. + # Corresponds to the JSON property `familyName` + # @return [String] + attr_accessor :family_name + + # A set of opt-ins for a user. + # Corresponds to the JSON property `emailOptIns` + # @return [Google::Apis::PartnersV2::OptIns] + attr_accessor :email_opt_ins + + # A list of ids representing which markets the user was interested in. + # Corresponds to the JSON property `markets` + # @return [Array] + attr_accessor :markets + + # If the user has edit access to multiple accounts, the user can choose the + # preferred account and it is used when a personal account is needed. Can + # be empty. + # Corresponds to the JSON property `adwordsManagerAccount` + # @return [Fixnum] + attr_accessor :adwords_manager_account + + # The user's phone number. + # Corresponds to the JSON property `phoneNumber` + # @return [String] + attr_accessor :phone_number + + # The user's primary country, an ISO 2-character code. + # Corresponds to the JSON property `primaryCountryCode` + # @return [String] + attr_accessor :primary_country_code + + # The email address the user has selected on the Partners site as primary. + # Corresponds to the JSON property `emailAddress` + # @return [String] + attr_accessor :email_address + + # Whether the user's public profile is visible to anyone with the URL. + # Corresponds to the JSON property `profilePublic` + # @return [Boolean] + attr_accessor :profile_public + alias_method :profile_public?, :profile_public + + # A list of ids representing which channels the user selected they were in. + # Corresponds to the JSON property `channels` + # @return [Array] + attr_accessor :channels + + # A list of ids represnting which job categories the user selected. + # Corresponds to the JSON property `jobFunctions` + # @return [Array] + attr_accessor :job_functions + + # The user's given name. + # Corresponds to the JSON property `givenName` + # @return [String] + attr_accessor :given_name + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @address = args[:address] if args.key?(:address) + @industries = args[:industries] if args.key?(:industries) + @languages = args[:languages] if args.key?(:languages) + @family_name = args[:family_name] if args.key?(:family_name) + @email_opt_ins = args[:email_opt_ins] if args.key?(:email_opt_ins) + @markets = args[:markets] if args.key?(:markets) + @adwords_manager_account = args[:adwords_manager_account] if args.key?(:adwords_manager_account) + @phone_number = args[:phone_number] if args.key?(:phone_number) + @primary_country_code = args[:primary_country_code] if args.key?(:primary_country_code) + @email_address = args[:email_address] if args.key?(:email_address) + @profile_public = args[:profile_public] if args.key?(:profile_public) + @channels = args[:channels] if args.key?(:channels) + @job_functions = args[:job_functions] if args.key?(:job_functions) + @given_name = args[:given_name] if args.key?(:given_name) + end + end + + # Response message for + # GetPartnersStatus. + class GetPartnersStatusResponse + include Google::Apis::Core::Hashable + + # Common data that is in each API response. + # Corresponds to the JSON property `responseMetadata` + # @return [Google::Apis::PartnersV2::ResponseMetadata] + attr_accessor :response_metadata + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @response_metadata = args[:response_metadata] if args.key?(:response_metadata) + end + end + + # Historical information about a Google Partners Offer. + class HistoricalOffer + include Google::Apis::Core::Hashable + + # Name (First + Last) of the partners user to whom the incentive is allocated. + # Corresponds to the JSON property `senderName` + # @return [String] + attr_accessor :sender_name + + # Country Code for the offer country. + # Corresponds to the JSON property `offerCountryCode` + # @return [String] + attr_accessor :offer_country_code + + # Time this offer expires. + # Corresponds to the JSON property `expirationTime` + # @return [String] + attr_accessor :expiration_time + + # Offer code. + # Corresponds to the JSON property `offerCode` + # @return [String] + attr_accessor :offer_code + + # Time offer was first created. + # Corresponds to the JSON property `creationTime` + # @return [String] + attr_accessor :creation_time + + # Email address for client. + # Corresponds to the JSON property `clientEmail` + # @return [String] + attr_accessor :client_email + + # Status of the offer. + # Corresponds to the JSON property `status` + # @return [String] + attr_accessor :status + + # ID of client. + # Corresponds to the JSON property `clientId` + # @return [Fixnum] + attr_accessor :client_id + + # Name of the client. + # Corresponds to the JSON property `clientName` + # @return [String] + attr_accessor :client_name + + # Time last action was taken. + # Corresponds to the JSON property `lastModifiedTime` + # @return [String] + attr_accessor :last_modified_time + + # Client's AdWords page URL. + # Corresponds to the JSON property `adwordsUrl` + # @return [String] + attr_accessor :adwords_url + + # Type of offer. + # Corresponds to the JSON property `offerType` + # @return [String] + attr_accessor :offer_type + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @sender_name = args[:sender_name] if args.key?(:sender_name) + @offer_country_code = args[:offer_country_code] if args.key?(:offer_country_code) + @expiration_time = args[:expiration_time] if args.key?(:expiration_time) + @offer_code = args[:offer_code] if args.key?(:offer_code) + @creation_time = args[:creation_time] if args.key?(:creation_time) + @client_email = args[:client_email] if args.key?(:client_email) + @status = args[:status] if args.key?(:status) + @client_id = args[:client_id] if args.key?(:client_id) + @client_name = args[:client_name] if args.key?(:client_name) + @last_modified_time = args[:last_modified_time] if args.key?(:last_modified_time) + @adwords_url = args[:adwords_url] if args.key?(:adwords_url) + @offer_type = args[:offer_type] if args.key?(:offer_type) + end + end + + # Values to use instead of the user's respective defaults. These are only + # honored by whitelisted products. + class UserOverrides + include Google::Apis::Core::Hashable + + # Logged-in user ID to impersonate instead of the user's ID. + # Corresponds to the JSON property `userId` + # @return [String] + attr_accessor :user_id + + # IP address to use instead of the user's geo-located IP address. + # Corresponds to the JSON property `ipAddress` + # @return [String] + attr_accessor :ip_address + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @user_id = args[:user_id] if args.key?(:user_id) + @ip_address = args[:ip_address] if args.key?(:ip_address) + end + end + + # Request message for + # LogUserEvent. + class LogUserEventRequest + include Google::Apis::Core::Hashable + + # The category the action belongs to. + # Corresponds to the JSON property `eventCategory` + # @return [String] + attr_accessor :event_category + + # A lead resource that represents an advertiser contact for a `Company`. These + # are usually generated via Google Partner Search (the advertiser portal). + # Corresponds to the JSON property `lead` + # @return [Google::Apis::PartnersV2::Lead] + attr_accessor :lead + + # The action that occurred. + # Corresponds to the JSON property `eventAction` + # @return [String] + attr_accessor :event_action + + # The URL where the event occurred. + # Corresponds to the JSON property `url` + # @return [String] + attr_accessor :url + + # Common data that is in each API request. + # Corresponds to the JSON property `requestMetadata` + # @return [Google::Apis::PartnersV2::RequestMetadata] + attr_accessor :request_metadata + + # List of event data for the event. + # Corresponds to the JSON property `eventDatas` + # @return [Array] + attr_accessor :event_datas + + # The scope of the event. + # Corresponds to the JSON property `eventScope` + # @return [String] + attr_accessor :event_scope + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @event_category = args[:event_category] if args.key?(:event_category) + @lead = args[:lead] if args.key?(:lead) + @event_action = args[:event_action] if args.key?(:event_action) + @url = args[:url] if args.key?(:url) + @request_metadata = args[:request_metadata] if args.key?(:request_metadata) + @event_datas = args[:event_datas] if args.key?(:event_datas) + @event_scope = args[:event_scope] if args.key?(:event_scope) + end + end + + # Details of the analytics events for a `Company` within a single day. + class AnalyticsDataPoint + include Google::Apis::Core::Hashable + + # Number of times the type of event occurred. + # Meaning depends on context (e.g. profile views, contacts, etc.). + # Corresponds to the JSON property `eventCount` + # @return [Fixnum] + attr_accessor :event_count + + # Location information of where these events occurred. + # Corresponds to the JSON property `eventLocations` + # @return [Array] + attr_accessor :event_locations + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @event_count = args[:event_count] if args.key?(:event_count) + @event_locations = args[:event_locations] if args.key?(:event_locations) + end + end + + # Analytics data for a `Company` within a single day. + class Analytics + include Google::Apis::Core::Hashable + + # Details of the analytics events for a `Company` within a single day. + # Corresponds to the JSON property `contacts` + # @return [Google::Apis::PartnersV2::AnalyticsDataPoint] + attr_accessor :contacts + + # Represents a whole calendar date, e.g. date of birth. The time of day and + # time zone are either specified elsewhere or are not significant. The date + # is relative to the Proleptic Gregorian Calendar. The day may be 0 to + # represent a year and month where the day is not significant, e.g. credit card + # expiration date. The year may be 0 to represent a month and day independent + # of year, e.g. anniversary date. Related types are google.type.TimeOfDay + # and `google.protobuf.Timestamp`. + # Corresponds to the JSON property `eventDate` + # @return [Google::Apis::PartnersV2::Date] + attr_accessor :event_date + + # Details of the analytics events for a `Company` within a single day. + # Corresponds to the JSON property `profileViews` + # @return [Google::Apis::PartnersV2::AnalyticsDataPoint] + attr_accessor :profile_views + + # Details of the analytics events for a `Company` within a single day. + # Corresponds to the JSON property `searchViews` + # @return [Google::Apis::PartnersV2::AnalyticsDataPoint] + attr_accessor :search_views + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @contacts = args[:contacts] if args.key?(:contacts) + @event_date = args[:event_date] if args.key?(:event_date) + @profile_views = args[:profile_views] if args.key?(:profile_views) + @search_views = args[:search_views] if args.key?(:search_views) + end + end + + # Basic information from a public profile. + class PublicProfile + include Google::Apis::Core::Hashable + + # The ID which can be used to retrieve more details about the public profile. + # Corresponds to the JSON property `id` + # @return [String] + attr_accessor :id + + # The URL of the public profile. + # Corresponds to the JSON property `url` + # @return [String] + attr_accessor :url + + # The URL to the main profile image of the public profile. + # Corresponds to the JSON property `profileImage` + # @return [String] + attr_accessor :profile_image + + # The display name of the public profile. + # Corresponds to the JSON property `displayName` + # @return [String] + attr_accessor :display_name + + # The URL to the main display image of the public profile. Being deprecated. + # Corresponds to the JSON property `displayImageUrl` + # @return [String] + attr_accessor :display_image_url + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @id = args[:id] if args.key?(:id) + @url = args[:url] if args.key?(:url) + @profile_image = args[:profile_image] if args.key?(:profile_image) + @display_name = args[:display_name] if args.key?(:display_name) + @display_image_url = args[:display_image_url] if args.key?(:display_image_url) + end + end + + # Information about a particular AdWords Manager Account. + # Read more at https://support.google.com/adwords/answer/6139186 + class AdWordsManagerAccountInfo + include Google::Apis::Core::Hashable + + # The AdWords Manager Account id. + # Corresponds to the JSON property `id` + # @return [Fixnum] + attr_accessor :id + + # Name of the customer this account represents. + # Corresponds to the JSON property `customerName` + # @return [String] + attr_accessor :customer_name + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @id = args[:id] if args.key?(:id) + @customer_name = args[:customer_name] if args.key?(:customer_name) + end + end + + # Common data that is in each API response. + class ResponseMetadata + include Google::Apis::Core::Hashable + + # Debug information about this request. + # Corresponds to the JSON property `debugInfo` + # @return [Google::Apis::PartnersV2::DebugInfo] + attr_accessor :debug_info + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @debug_info = args[:debug_info] if args.key?(:debug_info) + end + end + + # reCaptcha challenge info. + class RecaptchaChallenge + include Google::Apis::Core::Hashable + + # The ID of the reCaptcha challenge. + # Corresponds to the JSON property `id` + # @return [String] + attr_accessor :id + + # The response to the reCaptcha challenge. + # Corresponds to the JSON property `response` + # @return [String] + attr_accessor :response + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @id = args[:id] if args.key?(:id) + @response = args[:response] if args.key?(:response) + end + end + + # Available Offers to be distributed. + class AvailableOffer + include Google::Apis::Core::Hashable + + # Level of this offer. + # Corresponds to the JSON property `offerLevel` + # @return [String] + attr_accessor :offer_level + + # Name of the offer. + # Corresponds to the JSON property `name` + # @return [String] + attr_accessor :name + + # ID of this offer. + # Corresponds to the JSON property `id` + # @return [Fixnum] + attr_accessor :id + + # Whether or not the list of qualified customers is definitely complete. + # Corresponds to the JSON property `qualifiedCustomersComplete` + # @return [Boolean] + attr_accessor :qualified_customers_complete + alias_method :qualified_customers_complete?, :qualified_customers_complete + + # Offer info by country. + # Corresponds to the JSON property `countryOfferInfos` + # @return [Array] + attr_accessor :country_offer_infos + + # Type of offer. + # Corresponds to the JSON property `offerType` + # @return [String] + attr_accessor :offer_type + + # The maximum age of an account [in days] to be eligible. + # Corresponds to the JSON property `maxAccountAge` + # @return [Fixnum] + attr_accessor :max_account_age + + # Customers who qualify for this offer. + # Corresponds to the JSON property `qualifiedCustomer` + # @return [Array] + attr_accessor :qualified_customer + + # Terms of the offer. + # Corresponds to the JSON property `terms` + # @return [String] + attr_accessor :terms + + # Should special text be shown on the offers page. + # Corresponds to the JSON property `showSpecialOfferCopy` + # @return [Boolean] + attr_accessor :show_special_offer_copy + alias_method :show_special_offer_copy?, :show_special_offer_copy + + # The number of codes for this offer that are available for distribution. + # Corresponds to the JSON property `available` + # @return [Fixnum] + attr_accessor :available + + # Description of the offer. + # Corresponds to the JSON property `description` + # @return [String] + attr_accessor :description + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @offer_level = args[:offer_level] if args.key?(:offer_level) + @name = args[:name] if args.key?(:name) + @id = args[:id] if args.key?(:id) + @qualified_customers_complete = args[:qualified_customers_complete] if args.key?(:qualified_customers_complete) + @country_offer_infos = args[:country_offer_infos] if args.key?(:country_offer_infos) + @offer_type = args[:offer_type] if args.key?(:offer_type) + @max_account_age = args[:max_account_age] if args.key?(:max_account_age) + @qualified_customer = args[:qualified_customer] if args.key?(:qualified_customer) + @terms = args[:terms] if args.key?(:terms) + @show_special_offer_copy = args[:show_special_offer_copy] if args.key?(:show_special_offer_copy) + @available = args[:available] if args.key?(:available) + @description = args[:description] if args.key?(:description) + end + end end end end diff --git a/generated/google/apis/partners_v2/representations.rb b/generated/google/apis/partners_v2/representations.rb index e91e0cea6..c3dd80cfa 100644 --- a/generated/google/apis/partners_v2/representations.rb +++ b/generated/google/apis/partners_v2/representations.rb @@ -22,150 +22,6 @@ module Google module Apis module PartnersV2 - class Certification - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class User - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class ListAnalyticsResponse - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class ListLeadsResponse - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class Company - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class CreateLeadResponse - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class GetCompanyResponse - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class Location - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class ExamToken - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class CertificationExamStatus - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class OptIns - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class Rank - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class UserProfile - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class GetPartnersStatusResponse - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class HistoricalOffer - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class UserOverrides - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class LogUserEventRequest - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class AnalyticsDataPoint - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class Analytics - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class PublicProfile - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class AdWordsManagerAccountInfo - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class ResponseMetadata - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class RecaptchaChallenge - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class AvailableOffer - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - class LatLng class Representation < Google::Apis::Core::JsonRepresentation; end @@ -190,13 +46,13 @@ module Google include Google::Apis::Core::JsonObjectSupport end - class Lead + class DebugInfo class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end - class DebugInfo + class Lead class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport @@ -317,321 +173,147 @@ module Google end class Certification - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :last_achieved, as: 'lastAchieved' - property :achieved, as: 'achieved' - property :expiration, as: 'expiration' - property :warning, as: 'warning' - property :certification_type, as: 'certificationType' - end + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class User - # @private - class Representation < Google::Apis::Core::JsonRepresentation - collection :exam_status, as: 'examStatus', class: Google::Apis::PartnersV2::ExamStatus, decorator: Google::Apis::PartnersV2::ExamStatus::Representation + class Representation < Google::Apis::Core::JsonRepresentation; end - property :id, as: 'id' - property :public_profile, as: 'publicProfile', class: Google::Apis::PartnersV2::PublicProfile, decorator: Google::Apis::PartnersV2::PublicProfile::Representation - - collection :certification_status, as: 'certificationStatus', class: Google::Apis::PartnersV2::Certification, decorator: Google::Apis::PartnersV2::Certification::Representation - - property :company_verification_email, as: 'companyVerificationEmail' - property :company, as: 'company', class: Google::Apis::PartnersV2::CompanyRelation, decorator: Google::Apis::PartnersV2::CompanyRelation::Representation - - property :profile, as: 'profile', class: Google::Apis::PartnersV2::UserProfile, decorator: Google::Apis::PartnersV2::UserProfile::Representation - - property :last_access_time, as: 'lastAccessTime' - collection :primary_emails, as: 'primaryEmails' - collection :available_adwords_manager_accounts, as: 'availableAdwordsManagerAccounts', class: Google::Apis::PartnersV2::AdWordsManagerAccountInfo, decorator: Google::Apis::PartnersV2::AdWordsManagerAccountInfo::Representation - - end + include Google::Apis::Core::JsonObjectSupport end class ListAnalyticsResponse - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :next_page_token, as: 'nextPageToken' - property :response_metadata, as: 'responseMetadata', class: Google::Apis::PartnersV2::ResponseMetadata, decorator: Google::Apis::PartnersV2::ResponseMetadata::Representation + class Representation < Google::Apis::Core::JsonRepresentation; end - property :analytics_summary, as: 'analyticsSummary', class: Google::Apis::PartnersV2::AnalyticsSummary, decorator: Google::Apis::PartnersV2::AnalyticsSummary::Representation - - collection :analytics, as: 'analytics', class: Google::Apis::PartnersV2::Analytics, decorator: Google::Apis::PartnersV2::Analytics::Representation - - end + include Google::Apis::Core::JsonObjectSupport end class ListLeadsResponse - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :next_page_token, as: 'nextPageToken' - property :response_metadata, as: 'responseMetadata', class: Google::Apis::PartnersV2::ResponseMetadata, decorator: Google::Apis::PartnersV2::ResponseMetadata::Representation + class Representation < Google::Apis::Core::JsonRepresentation; end - property :total_size, as: 'totalSize' - collection :leads, as: 'leads', class: Google::Apis::PartnersV2::Lead, decorator: Google::Apis::PartnersV2::Lead::Representation - - end + include Google::Apis::Core::JsonObjectSupport end class Company - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :converted_min_monthly_budget, as: 'convertedMinMonthlyBudget', class: Google::Apis::PartnersV2::Money, decorator: Google::Apis::PartnersV2::Money::Representation + class Representation < Google::Apis::Core::JsonRepresentation; end - collection :industries, as: 'industries' - property :website_url, as: 'websiteUrl' - collection :additional_websites, as: 'additionalWebsites' - property :primary_adwords_manager_account_id, as: 'primaryAdwordsManagerAccountId' - property :name, as: 'name' - collection :localized_infos, as: 'localizedInfos', class: Google::Apis::PartnersV2::LocalizedCompanyInfo, decorator: Google::Apis::PartnersV2::LocalizedCompanyInfo::Representation - - collection :certification_statuses, as: 'certificationStatuses', class: Google::Apis::PartnersV2::CertificationStatus, decorator: Google::Apis::PartnersV2::CertificationStatus::Representation - - property :id, as: 'id' - property :original_min_monthly_budget, as: 'originalMinMonthlyBudget', class: Google::Apis::PartnersV2::Money, decorator: Google::Apis::PartnersV2::Money::Representation - - property :public_profile, as: 'publicProfile', class: Google::Apis::PartnersV2::PublicProfile, decorator: Google::Apis::PartnersV2::PublicProfile::Representation - - property :primary_location, as: 'primaryLocation', class: Google::Apis::PartnersV2::Location, decorator: Google::Apis::PartnersV2::Location::Representation - - collection :services, as: 'services' - collection :ranks, as: 'ranks', class: Google::Apis::PartnersV2::Rank, decorator: Google::Apis::PartnersV2::Rank::Representation - - collection :specialization_status, as: 'specializationStatus', class: Google::Apis::PartnersV2::SpecializationStatus, decorator: Google::Apis::PartnersV2::SpecializationStatus::Representation - - property :badge_tier, as: 'badgeTier' - collection :company_types, as: 'companyTypes' - collection :auto_approval_email_domains, as: 'autoApprovalEmailDomains' - property :primary_language_code, as: 'primaryLanguageCode' - property :profile_status, as: 'profileStatus' - collection :locations, as: 'locations', class: Google::Apis::PartnersV2::Location, decorator: Google::Apis::PartnersV2::Location::Representation - - end + include Google::Apis::Core::JsonObjectSupport end class CreateLeadResponse - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :lead, as: 'lead', class: Google::Apis::PartnersV2::Lead, decorator: Google::Apis::PartnersV2::Lead::Representation + class Representation < Google::Apis::Core::JsonRepresentation; end - property :recaptcha_status, as: 'recaptchaStatus' - property :response_metadata, as: 'responseMetadata', class: Google::Apis::PartnersV2::ResponseMetadata, decorator: Google::Apis::PartnersV2::ResponseMetadata::Representation - - end + include Google::Apis::Core::JsonObjectSupport end class GetCompanyResponse - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :company, as: 'company', class: Google::Apis::PartnersV2::Company, decorator: Google::Apis::PartnersV2::Company::Representation + class Representation < Google::Apis::Core::JsonRepresentation; end - property :response_metadata, as: 'responseMetadata', class: Google::Apis::PartnersV2::ResponseMetadata, decorator: Google::Apis::PartnersV2::ResponseMetadata::Representation - - end + include Google::Apis::Core::JsonObjectSupport end class Location - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :language_code, as: 'languageCode' - property :sorting_code, as: 'sortingCode' - collection :address_line, as: 'addressLine' - property :administrative_area, as: 'administrativeArea' - property :locality, as: 'locality' - property :lat_lng, as: 'latLng', class: Google::Apis::PartnersV2::LatLng, decorator: Google::Apis::PartnersV2::LatLng::Representation + class Representation < Google::Apis::Core::JsonRepresentation; end - property :dependent_locality, as: 'dependentLocality' - property :region_code, as: 'regionCode' - property :address, as: 'address' - property :postal_code, as: 'postalCode' - end - end - - class ExamToken - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :token, as: 'token' - property :exam_type, as: 'examType' - property :exam_id, as: 'examId' - end + include Google::Apis::Core::JsonObjectSupport end class CertificationExamStatus - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :number_users_pass, as: 'numberUsersPass' - property :type, as: 'type' - end + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class ExamToken + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class OptIns - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :market_comm, as: 'marketComm' - property :special_offers, as: 'specialOffers' - property :performance_suggestions, as: 'performanceSuggestions' - property :physical_mail, as: 'physicalMail' - property :phone_contact, as: 'phoneContact' - end + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class Rank - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :type, as: 'type' - property :value, as: 'value' - end + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class UserProfile - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :family_name, as: 'familyName' - collection :languages, as: 'languages' - property :email_opt_ins, as: 'emailOptIns', class: Google::Apis::PartnersV2::OptIns, decorator: Google::Apis::PartnersV2::OptIns::Representation + class Representation < Google::Apis::Core::JsonRepresentation; end - collection :markets, as: 'markets' - property :adwords_manager_account, as: 'adwordsManagerAccount' - property :phone_number, as: 'phoneNumber' - property :primary_country_code, as: 'primaryCountryCode' - property :email_address, as: 'emailAddress' - property :profile_public, as: 'profilePublic' - collection :channels, as: 'channels' - collection :job_functions, as: 'jobFunctions' - property :given_name, as: 'givenName' - property :address, as: 'address', class: Google::Apis::PartnersV2::Location, decorator: Google::Apis::PartnersV2::Location::Representation - - collection :industries, as: 'industries' - end + include Google::Apis::Core::JsonObjectSupport end class GetPartnersStatusResponse - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :response_metadata, as: 'responseMetadata', class: Google::Apis::PartnersV2::ResponseMetadata, decorator: Google::Apis::PartnersV2::ResponseMetadata::Representation + class Representation < Google::Apis::Core::JsonRepresentation; end - end + include Google::Apis::Core::JsonObjectSupport end class HistoricalOffer - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :client_name, as: 'clientName' - property :last_modified_time, as: 'lastModifiedTime' - property :adwords_url, as: 'adwordsUrl' - property :offer_type, as: 'offerType' - property :sender_name, as: 'senderName' - property :offer_country_code, as: 'offerCountryCode' - property :expiration_time, as: 'expirationTime' - property :offer_code, as: 'offerCode' - property :creation_time, as: 'creationTime' - property :status, as: 'status' - property :client_email, as: 'clientEmail' - property :client_id, as: 'clientId' - end + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class UserOverrides - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :ip_address, as: 'ipAddress' - property :user_id, as: 'userId' - end + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class LogUserEventRequest - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :url, as: 'url' - property :request_metadata, as: 'requestMetadata', class: Google::Apis::PartnersV2::RequestMetadata, decorator: Google::Apis::PartnersV2::RequestMetadata::Representation + class Representation < Google::Apis::Core::JsonRepresentation; end - property :event_scope, as: 'eventScope' - collection :event_datas, as: 'eventDatas', class: Google::Apis::PartnersV2::EventData, decorator: Google::Apis::PartnersV2::EventData::Representation - - property :event_category, as: 'eventCategory' - property :lead, as: 'lead', class: Google::Apis::PartnersV2::Lead, decorator: Google::Apis::PartnersV2::Lead::Representation - - property :event_action, as: 'eventAction' - end + include Google::Apis::Core::JsonObjectSupport end class AnalyticsDataPoint - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :event_count, as: 'eventCount' - collection :event_locations, as: 'eventLocations', class: Google::Apis::PartnersV2::LatLng, decorator: Google::Apis::PartnersV2::LatLng::Representation + class Representation < Google::Apis::Core::JsonRepresentation; end - end + include Google::Apis::Core::JsonObjectSupport end class Analytics - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :event_date, as: 'eventDate', class: Google::Apis::PartnersV2::Date, decorator: Google::Apis::PartnersV2::Date::Representation + class Representation < Google::Apis::Core::JsonRepresentation; end - property :profile_views, as: 'profileViews', class: Google::Apis::PartnersV2::AnalyticsDataPoint, decorator: Google::Apis::PartnersV2::AnalyticsDataPoint::Representation - - property :search_views, as: 'searchViews', class: Google::Apis::PartnersV2::AnalyticsDataPoint, decorator: Google::Apis::PartnersV2::AnalyticsDataPoint::Representation - - property :contacts, as: 'contacts', class: Google::Apis::PartnersV2::AnalyticsDataPoint, decorator: Google::Apis::PartnersV2::AnalyticsDataPoint::Representation - - end + include Google::Apis::Core::JsonObjectSupport end class PublicProfile - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :display_name, as: 'displayName' - property :display_image_url, as: 'displayImageUrl' - property :id, as: 'id' - property :url, as: 'url' - property :profile_image, as: 'profileImage' - end + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class AdWordsManagerAccountInfo - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :id, as: 'id' - property :customer_name, as: 'customerName' - end + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class ResponseMetadata - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :debug_info, as: 'debugInfo', class: Google::Apis::PartnersV2::DebugInfo, decorator: Google::Apis::PartnersV2::DebugInfo::Representation + class Representation < Google::Apis::Core::JsonRepresentation; end - end + include Google::Apis::Core::JsonObjectSupport end class RecaptchaChallenge - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :id, as: 'id' - property :response, as: 'response' - end + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class AvailableOffer - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :offer_type, as: 'offerType' - property :max_account_age, as: 'maxAccountAge' - collection :qualified_customer, as: 'qualifiedCustomer', class: Google::Apis::PartnersV2::OfferCustomer, decorator: Google::Apis::PartnersV2::OfferCustomer::Representation + class Representation < Google::Apis::Core::JsonRepresentation; end - property :terms, as: 'terms' - property :show_special_offer_copy, as: 'showSpecialOfferCopy' - property :available, as: 'available' - property :description, as: 'description' - property :offer_level, as: 'offerLevel' - property :name, as: 'name' - property :qualified_customers_complete, as: 'qualifiedCustomersComplete' - property :id, as: 'id' - collection :country_offer_infos, as: 'countryOfferInfos', class: Google::Apis::PartnersV2::CountryOfferInfo, decorator: Google::Apis::PartnersV2::CountryOfferInfo::Representation - - end + include Google::Apis::Core::JsonObjectSupport end class LatLng @@ -645,51 +327,29 @@ module Google class Money # @private class Representation < Google::Apis::Core::JsonRepresentation - property :nanos, as: 'nanos' - property :units, as: 'units' + property :units, :numeric_string => true, as: 'units' property :currency_code, as: 'currencyCode' + property :nanos, as: 'nanos' end end class AnalyticsSummary # @private class Representation < Google::Apis::Core::JsonRepresentation + property :search_views_count, as: 'searchViewsCount' property :contacts_count, as: 'contactsCount' property :profile_views_count, as: 'profileViewsCount' - property :search_views_count, as: 'searchViewsCount' end end class LogMessageRequest # @private class Representation < Google::Apis::Core::JsonRepresentation + property :level, as: 'level' + property :details, as: 'details' hash :client_info, as: 'clientInfo' property :request_metadata, as: 'requestMetadata', class: Google::Apis::PartnersV2::RequestMetadata, decorator: Google::Apis::PartnersV2::RequestMetadata::Representation - property :level, as: 'level' - property :details, as: 'details' - end - end - - class Lead - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :create_time, as: 'createTime' - property :marketing_opt_in, as: 'marketingOptIn' - property :type, as: 'type' - property :min_monthly_budget, as: 'minMonthlyBudget', class: Google::Apis::PartnersV2::Money, decorator: Google::Apis::PartnersV2::Money::Representation - - property :given_name, as: 'givenName' - property :language_code, as: 'languageCode' - property :website_url, as: 'websiteUrl' - property :state, as: 'state' - collection :gps_motivations, as: 'gpsMotivations' - property :email, as: 'email' - property :family_name, as: 'familyName' - property :id, as: 'id' - property :comments, as: 'comments' - property :phone_number, as: 'phoneNumber' - property :adwords_customer_id, as: 'adwordsCustomerId' end end @@ -702,6 +362,28 @@ module Google end end + class Lead + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :marketing_opt_in, as: 'marketingOptIn' + property :type, as: 'type' + property :min_monthly_budget, as: 'minMonthlyBudget', class: Google::Apis::PartnersV2::Money, decorator: Google::Apis::PartnersV2::Money::Representation + + property :given_name, as: 'givenName' + property :language_code, as: 'languageCode' + property :website_url, as: 'websiteUrl' + collection :gps_motivations, as: 'gpsMotivations' + property :state, as: 'state' + property :email, as: 'email' + property :family_name, as: 'familyName' + property :id, as: 'id' + property :comments, as: 'comments' + property :adwords_customer_id, :numeric_string => true, as: 'adwordsCustomerId' + property :phone_number, as: 'phoneNumber' + property :create_time, as: 'createTime' + end + end + class ListUserStatesResponse # @private class Representation < Google::Apis::Core::JsonRepresentation @@ -714,22 +396,22 @@ module Google class CompanyRelation # @private class Representation < Google::Apis::Core::JsonRepresentation - property :state, as: 'state' - property :name, as: 'name' - property :manager_account, as: 'managerAccount' - collection :segment, as: 'segment' - collection :specialization_status, as: 'specializationStatus', class: Google::Apis::PartnersV2::SpecializationStatus, decorator: Google::Apis::PartnersV2::SpecializationStatus::Representation - - property :badge_tier, as: 'badgeTier' - property :website, as: 'website' - property :phone_number, as: 'phoneNumber' - property :company_id, as: 'companyId' - property :logo_url, as: 'logoUrl' property :resolved_timestamp, as: 'resolvedTimestamp' property :company_admin, as: 'companyAdmin' property :address, as: 'address' property :is_pending, as: 'isPending' property :creation_time, as: 'creationTime' + property :state, as: 'state' + property :name, as: 'name' + property :manager_account, :numeric_string => true, as: 'managerAccount' + collection :segment, as: 'segment' + property :badge_tier, as: 'badgeTier' + collection :specialization_status, as: 'specializationStatus', class: Google::Apis::PartnersV2::SpecializationStatus, decorator: Google::Apis::PartnersV2::SpecializationStatus::Representation + + property :phone_number, as: 'phoneNumber' + property :website, as: 'website' + property :company_id, as: 'companyId' + property :logo_url, as: 'logoUrl' end end @@ -759,45 +441,45 @@ module Google class RequestMetadata # @private class Representation < Google::Apis::Core::JsonRepresentation + collection :experiment_ids, as: 'experimentIds' + property :traffic_source, as: 'trafficSource', class: Google::Apis::PartnersV2::TrafficSource, decorator: Google::Apis::PartnersV2::TrafficSource::Representation + property :locale, as: 'locale' property :user_overrides, as: 'userOverrides', class: Google::Apis::PartnersV2::UserOverrides, decorator: Google::Apis::PartnersV2::UserOverrides::Representation property :partners_session_id, as: 'partnersSessionId' - collection :experiment_ids, as: 'experimentIds' - property :traffic_source, as: 'trafficSource', class: Google::Apis::PartnersV2::TrafficSource, decorator: Google::Apis::PartnersV2::TrafficSource::Representation - end end class CreateLeadRequest # @private class Representation < Google::Apis::Core::JsonRepresentation + property :request_metadata, as: 'requestMetadata', class: Google::Apis::PartnersV2::RequestMetadata, decorator: Google::Apis::PartnersV2::RequestMetadata::Representation + property :lead, as: 'lead', class: Google::Apis::PartnersV2::Lead, decorator: Google::Apis::PartnersV2::Lead::Representation property :recaptcha_challenge, as: 'recaptchaChallenge', class: Google::Apis::PartnersV2::RecaptchaChallenge, decorator: Google::Apis::PartnersV2::RecaptchaChallenge::Representation - property :request_metadata, as: 'requestMetadata', class: Google::Apis::PartnersV2::RequestMetadata, decorator: Google::Apis::PartnersV2::RequestMetadata::Representation - end end class EventData # @private class Representation < Google::Apis::Core::JsonRepresentation - collection :values, as: 'values' property :key, as: 'key' + collection :values, as: 'values' end end class ExamStatus # @private class Representation < Google::Apis::Core::JsonRepresentation - property :warning, as: 'warning' + property :taken, as: 'taken' + property :passed, as: 'passed' property :expiration, as: 'expiration' + property :warning, as: 'warning' property :last_passed, as: 'lastPassed' property :exam_type, as: 'examType' - property :passed, as: 'passed' - property :taken, as: 'taken' end end @@ -815,57 +497,57 @@ module Google class CountryOfferInfo # @private class Representation < Google::Apis::Core::JsonRepresentation - property :get_y_amount, as: 'getYAmount' property :offer_country_code, as: 'offerCountryCode' property :spend_x_amount, as: 'spendXAmount' property :offer_type, as: 'offerType' + property :get_y_amount, as: 'getYAmount' end end class ListCompaniesResponse # @private class Representation < Google::Apis::Core::JsonRepresentation - property :next_page_token, as: 'nextPageToken' property :response_metadata, as: 'responseMetadata', class: Google::Apis::PartnersV2::ResponseMetadata, decorator: Google::Apis::PartnersV2::ResponseMetadata::Representation collection :companies, as: 'companies', class: Google::Apis::PartnersV2::Company, decorator: Google::Apis::PartnersV2::Company::Representation + property :next_page_token, as: 'nextPageToken' end end class OfferCustomer # @private class Representation < Google::Apis::Core::JsonRepresentation - property :spend_x_amount, as: 'spendXAmount' - property :adwords_url, as: 'adwordsUrl' - property :country_code, as: 'countryCode' - property :external_cid, as: 'externalCid' - property :creation_time, as: 'creationTime' - property :eligibility_days_left, as: 'eligibilityDaysLeft' - property :offer_type, as: 'offerType' property :get_y_amount, as: 'getYAmount' property :name, as: 'name' + property :spend_x_amount, as: 'spendXAmount' + property :adwords_url, as: 'adwordsUrl' + property :offer_type, as: 'offerType' + property :country_code, as: 'countryCode' + property :external_cid, :numeric_string => true, as: 'externalCid' + property :eligibility_days_left, as: 'eligibilityDaysLeft' + property :creation_time, as: 'creationTime' end end class CertificationStatus # @private class Representation < Google::Apis::Core::JsonRepresentation + collection :exam_statuses, as: 'examStatuses', class: Google::Apis::PartnersV2::CertificationExamStatus, decorator: Google::Apis::PartnersV2::CertificationExamStatus::Representation + property :type, as: 'type' property :user_count, as: 'userCount' property :is_certified, as: 'isCertified' - collection :exam_statuses, as: 'examStatuses', class: Google::Apis::PartnersV2::CertificationExamStatus, decorator: Google::Apis::PartnersV2::CertificationExamStatus::Representation - end end class LocalizedCompanyInfo # @private class Representation < Google::Apis::Core::JsonRepresentation - property :display_name, as: 'displayName' - property :language_code, as: 'languageCode' collection :country_codes, as: 'countryCodes' property :overview, as: 'overview' + property :display_name, as: 'displayName' + property :language_code, as: 'languageCode' end end @@ -906,6 +588,324 @@ module Google property :badge_specialization_state, as: 'badgeSpecializationState' end end + + class Certification + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :last_achieved, as: 'lastAchieved' + property :achieved, as: 'achieved' + property :expiration, as: 'expiration' + property :warning, as: 'warning' + property :certification_type, as: 'certificationType' + end + end + + class User + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :available_adwords_manager_accounts, as: 'availableAdwordsManagerAccounts', class: Google::Apis::PartnersV2::AdWordsManagerAccountInfo, decorator: Google::Apis::PartnersV2::AdWordsManagerAccountInfo::Representation + + collection :primary_emails, as: 'primaryEmails' + collection :exam_status, as: 'examStatus', class: Google::Apis::PartnersV2::ExamStatus, decorator: Google::Apis::PartnersV2::ExamStatus::Representation + + property :id, as: 'id' + property :public_profile, as: 'publicProfile', class: Google::Apis::PartnersV2::PublicProfile, decorator: Google::Apis::PartnersV2::PublicProfile::Representation + + property :company_verification_email, as: 'companyVerificationEmail' + collection :certification_status, as: 'certificationStatus', class: Google::Apis::PartnersV2::Certification, decorator: Google::Apis::PartnersV2::Certification::Representation + + property :company, as: 'company', class: Google::Apis::PartnersV2::CompanyRelation, decorator: Google::Apis::PartnersV2::CompanyRelation::Representation + + property :profile, as: 'profile', class: Google::Apis::PartnersV2::UserProfile, decorator: Google::Apis::PartnersV2::UserProfile::Representation + + property :last_access_time, as: 'lastAccessTime' + end + end + + class ListAnalyticsResponse + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :next_page_token, as: 'nextPageToken' + property :response_metadata, as: 'responseMetadata', class: Google::Apis::PartnersV2::ResponseMetadata, decorator: Google::Apis::PartnersV2::ResponseMetadata::Representation + + property :analytics_summary, as: 'analyticsSummary', class: Google::Apis::PartnersV2::AnalyticsSummary, decorator: Google::Apis::PartnersV2::AnalyticsSummary::Representation + + collection :analytics, as: 'analytics', class: Google::Apis::PartnersV2::Analytics, decorator: Google::Apis::PartnersV2::Analytics::Representation + + end + end + + class ListLeadsResponse + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :response_metadata, as: 'responseMetadata', class: Google::Apis::PartnersV2::ResponseMetadata, decorator: Google::Apis::PartnersV2::ResponseMetadata::Representation + + property :total_size, as: 'totalSize' + collection :leads, as: 'leads', class: Google::Apis::PartnersV2::Lead, decorator: Google::Apis::PartnersV2::Lead::Representation + + property :next_page_token, as: 'nextPageToken' + end + end + + class Company + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :locations, as: 'locations', class: Google::Apis::PartnersV2::Location, decorator: Google::Apis::PartnersV2::Location::Representation + + property :converted_min_monthly_budget, as: 'convertedMinMonthlyBudget', class: Google::Apis::PartnersV2::Money, decorator: Google::Apis::PartnersV2::Money::Representation + + collection :industries, as: 'industries' + property :website_url, as: 'websiteUrl' + collection :additional_websites, as: 'additionalWebsites' + property :primary_adwords_manager_account_id, :numeric_string => true, as: 'primaryAdwordsManagerAccountId' + property :name, as: 'name' + collection :localized_infos, as: 'localizedInfos', class: Google::Apis::PartnersV2::LocalizedCompanyInfo, decorator: Google::Apis::PartnersV2::LocalizedCompanyInfo::Representation + + property :id, as: 'id' + collection :certification_statuses, as: 'certificationStatuses', class: Google::Apis::PartnersV2::CertificationStatus, decorator: Google::Apis::PartnersV2::CertificationStatus::Representation + + property :public_profile, as: 'publicProfile', class: Google::Apis::PartnersV2::PublicProfile, decorator: Google::Apis::PartnersV2::PublicProfile::Representation + + property :primary_location, as: 'primaryLocation', class: Google::Apis::PartnersV2::Location, decorator: Google::Apis::PartnersV2::Location::Representation + + collection :services, as: 'services' + property :original_min_monthly_budget, as: 'originalMinMonthlyBudget', class: Google::Apis::PartnersV2::Money, decorator: Google::Apis::PartnersV2::Money::Representation + + collection :ranks, as: 'ranks', class: Google::Apis::PartnersV2::Rank, decorator: Google::Apis::PartnersV2::Rank::Representation + + property :badge_tier, as: 'badgeTier' + collection :specialization_status, as: 'specializationStatus', class: Google::Apis::PartnersV2::SpecializationStatus, decorator: Google::Apis::PartnersV2::SpecializationStatus::Representation + + collection :company_types, as: 'companyTypes' + collection :auto_approval_email_domains, as: 'autoApprovalEmailDomains' + property :primary_language_code, as: 'primaryLanguageCode' + property :profile_status, as: 'profileStatus' + end + end + + class CreateLeadResponse + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :lead, as: 'lead', class: Google::Apis::PartnersV2::Lead, decorator: Google::Apis::PartnersV2::Lead::Representation + + property :recaptcha_status, as: 'recaptchaStatus' + property :response_metadata, as: 'responseMetadata', class: Google::Apis::PartnersV2::ResponseMetadata, decorator: Google::Apis::PartnersV2::ResponseMetadata::Representation + + end + end + + class GetCompanyResponse + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :company, as: 'company', class: Google::Apis::PartnersV2::Company, decorator: Google::Apis::PartnersV2::Company::Representation + + property :response_metadata, as: 'responseMetadata', class: Google::Apis::PartnersV2::ResponseMetadata, decorator: Google::Apis::PartnersV2::ResponseMetadata::Representation + + end + end + + class Location + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :address_line, as: 'addressLine' + property :locality, as: 'locality' + property :administrative_area, as: 'administrativeArea' + property :lat_lng, as: 'latLng', class: Google::Apis::PartnersV2::LatLng, decorator: Google::Apis::PartnersV2::LatLng::Representation + + property :address, as: 'address' + property :region_code, as: 'regionCode' + property :dependent_locality, as: 'dependentLocality' + property :postal_code, as: 'postalCode' + property :sorting_code, as: 'sortingCode' + property :language_code, as: 'languageCode' + end + end + + class CertificationExamStatus + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :number_users_pass, as: 'numberUsersPass' + property :type, as: 'type' + end + end + + class ExamToken + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :exam_id, :numeric_string => true, as: 'examId' + property :token, as: 'token' + property :exam_type, as: 'examType' + end + end + + class OptIns + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :physical_mail, as: 'physicalMail' + property :phone_contact, as: 'phoneContact' + property :market_comm, as: 'marketComm' + property :special_offers, as: 'specialOffers' + property :performance_suggestions, as: 'performanceSuggestions' + end + end + + class Rank + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :value, as: 'value' + property :type, as: 'type' + end + end + + class UserProfile + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :address, as: 'address', class: Google::Apis::PartnersV2::Location, decorator: Google::Apis::PartnersV2::Location::Representation + + collection :industries, as: 'industries' + collection :languages, as: 'languages' + property :family_name, as: 'familyName' + property :email_opt_ins, as: 'emailOptIns', class: Google::Apis::PartnersV2::OptIns, decorator: Google::Apis::PartnersV2::OptIns::Representation + + collection :markets, as: 'markets' + property :adwords_manager_account, :numeric_string => true, as: 'adwordsManagerAccount' + property :phone_number, as: 'phoneNumber' + property :primary_country_code, as: 'primaryCountryCode' + property :email_address, as: 'emailAddress' + property :profile_public, as: 'profilePublic' + collection :channels, as: 'channels' + collection :job_functions, as: 'jobFunctions' + property :given_name, as: 'givenName' + end + end + + class GetPartnersStatusResponse + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :response_metadata, as: 'responseMetadata', class: Google::Apis::PartnersV2::ResponseMetadata, decorator: Google::Apis::PartnersV2::ResponseMetadata::Representation + + end + end + + class HistoricalOffer + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :sender_name, as: 'senderName' + property :offer_country_code, as: 'offerCountryCode' + property :expiration_time, as: 'expirationTime' + property :offer_code, as: 'offerCode' + property :creation_time, as: 'creationTime' + property :client_email, as: 'clientEmail' + property :status, as: 'status' + property :client_id, :numeric_string => true, as: 'clientId' + property :client_name, as: 'clientName' + property :last_modified_time, as: 'lastModifiedTime' + property :adwords_url, as: 'adwordsUrl' + property :offer_type, as: 'offerType' + end + end + + class UserOverrides + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :user_id, as: 'userId' + property :ip_address, as: 'ipAddress' + end + end + + class LogUserEventRequest + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :event_category, as: 'eventCategory' + property :lead, as: 'lead', class: Google::Apis::PartnersV2::Lead, decorator: Google::Apis::PartnersV2::Lead::Representation + + property :event_action, as: 'eventAction' + property :url, as: 'url' + property :request_metadata, as: 'requestMetadata', class: Google::Apis::PartnersV2::RequestMetadata, decorator: Google::Apis::PartnersV2::RequestMetadata::Representation + + collection :event_datas, as: 'eventDatas', class: Google::Apis::PartnersV2::EventData, decorator: Google::Apis::PartnersV2::EventData::Representation + + property :event_scope, as: 'eventScope' + end + end + + class AnalyticsDataPoint + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :event_count, as: 'eventCount' + collection :event_locations, as: 'eventLocations', class: Google::Apis::PartnersV2::LatLng, decorator: Google::Apis::PartnersV2::LatLng::Representation + + end + end + + class Analytics + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :contacts, as: 'contacts', class: Google::Apis::PartnersV2::AnalyticsDataPoint, decorator: Google::Apis::PartnersV2::AnalyticsDataPoint::Representation + + property :event_date, as: 'eventDate', class: Google::Apis::PartnersV2::Date, decorator: Google::Apis::PartnersV2::Date::Representation + + property :profile_views, as: 'profileViews', class: Google::Apis::PartnersV2::AnalyticsDataPoint, decorator: Google::Apis::PartnersV2::AnalyticsDataPoint::Representation + + property :search_views, as: 'searchViews', class: Google::Apis::PartnersV2::AnalyticsDataPoint, decorator: Google::Apis::PartnersV2::AnalyticsDataPoint::Representation + + end + end + + class PublicProfile + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :id, as: 'id' + property :url, as: 'url' + property :profile_image, as: 'profileImage' + property :display_name, as: 'displayName' + property :display_image_url, as: 'displayImageUrl' + end + end + + class AdWordsManagerAccountInfo + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :id, :numeric_string => true, as: 'id' + property :customer_name, as: 'customerName' + end + end + + class ResponseMetadata + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :debug_info, as: 'debugInfo', class: Google::Apis::PartnersV2::DebugInfo, decorator: Google::Apis::PartnersV2::DebugInfo::Representation + + end + end + + class RecaptchaChallenge + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :id, as: 'id' + property :response, as: 'response' + end + end + + class AvailableOffer + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :offer_level, as: 'offerLevel' + property :name, as: 'name' + property :id, :numeric_string => true, as: 'id' + property :qualified_customers_complete, as: 'qualifiedCustomersComplete' + collection :country_offer_infos, as: 'countryOfferInfos', class: Google::Apis::PartnersV2::CountryOfferInfo, decorator: Google::Apis::PartnersV2::CountryOfferInfo::Representation + + property :offer_type, as: 'offerType' + property :max_account_age, as: 'maxAccountAge' + collection :qualified_customer, as: 'qualifiedCustomer', class: Google::Apis::PartnersV2::OfferCustomer, decorator: Google::Apis::PartnersV2::OfferCustomer::Representation + + property :terms, as: 'terms' + property :show_special_offer_copy, as: 'showSpecialOfferCopy' + property :available, as: 'available' + property :description, as: 'description' + end + end end end end diff --git a/generated/google/apis/partners_v2/service.rb b/generated/google/apis/partners_v2/service.rb index 6240d2648..2071d0a43 100644 --- a/generated/google/apis/partners_v2/service.rb +++ b/generated/google/apis/partners_v2/service.rb @@ -45,11 +45,19 @@ module Google def initialize super('https://partners.googleapis.com/', '') + @batch_path = 'batch' end - # Gets an Exam Token for a Partner's user to take an exam in the Exams System - # @param [String] exam_type - # The exam type we are requesting a token for. + # Gets a user. + # @param [String] user_id + # Identifier of the user. Can be set to me to mean the currently + # authenticated user. + # @param [String] request_metadata_user_overrides_user_id + # Logged-in user ID to impersonate instead of the user's ID. + # @param [String] request_metadata_partners_session_id + # Google Partners session ID. + # @param [String] user_view + # Specifies what parts of the user information to return. # @param [String] request_metadata_traffic_source_traffic_source_id # Identifier to indicate where the traffic comes from. # An identifier has multiple letters created by a team which redirected the @@ -64,49 +72,48 @@ module Google # Second level identifier to indicate where the traffic comes from. # An identifier has multiple letters created by a team which redirected the # traffic to us. - # @param [String] request_metadata_partners_session_id - # Google Partners session ID. - # @param [String] request_metadata_user_overrides_user_id - # Logged-in user ID to impersonate instead of the user's ID. + # @param [String] fields + # Selector specifying which fields to include in a partial response. # @param [String] quota_user # Available to use for quota purposes for server-side applications. Can be any # arbitrary string assigned to a user, but should not exceed 40 characters. - # @param [String] fields - # Selector specifying which fields to include in a partial response. # @param [Google::Apis::RequestOptions] options # Request-specific options # # @yield [result, err] Result & error if block supplied - # @yieldparam result [Google::Apis::PartnersV2::ExamToken] parsed result object + # @yieldparam result [Google::Apis::PartnersV2::User] parsed result object # @yieldparam err [StandardError] error object if request failed # - # @return [Google::Apis::PartnersV2::ExamToken] + # @return [Google::Apis::PartnersV2::User] # # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required - def get_exam_token(exam_type, request_metadata_traffic_source_traffic_source_id: nil, request_metadata_locale: nil, request_metadata_user_overrides_ip_address: nil, request_metadata_experiment_ids: nil, request_metadata_traffic_source_traffic_sub_id: nil, request_metadata_partners_session_id: nil, request_metadata_user_overrides_user_id: nil, quota_user: nil, fields: nil, options: nil, &block) - command = make_simple_command(:get, 'v2/exams/{examType}/token', options) - command.response_representation = Google::Apis::PartnersV2::ExamToken::Representation - command.response_class = Google::Apis::PartnersV2::ExamToken - command.params['examType'] = exam_type unless exam_type.nil? + def get_user(user_id, request_metadata_user_overrides_user_id: nil, request_metadata_partners_session_id: nil, user_view: nil, request_metadata_traffic_source_traffic_source_id: nil, request_metadata_locale: nil, request_metadata_user_overrides_ip_address: nil, request_metadata_experiment_ids: nil, request_metadata_traffic_source_traffic_sub_id: nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:get, 'v2/users/{userId}', options) + command.response_representation = Google::Apis::PartnersV2::User::Representation + command.response_class = Google::Apis::PartnersV2::User + command.params['userId'] = user_id unless user_id.nil? + command.query['requestMetadata.userOverrides.userId'] = request_metadata_user_overrides_user_id unless request_metadata_user_overrides_user_id.nil? + command.query['requestMetadata.partnersSessionId'] = request_metadata_partners_session_id unless request_metadata_partners_session_id.nil? + command.query['userView'] = user_view unless user_view.nil? command.query['requestMetadata.trafficSource.trafficSourceId'] = request_metadata_traffic_source_traffic_source_id unless request_metadata_traffic_source_traffic_source_id.nil? command.query['requestMetadata.locale'] = request_metadata_locale unless request_metadata_locale.nil? command.query['requestMetadata.userOverrides.ipAddress'] = request_metadata_user_overrides_ip_address unless request_metadata_user_overrides_ip_address.nil? command.query['requestMetadata.experimentIds'] = request_metadata_experiment_ids unless request_metadata_experiment_ids.nil? command.query['requestMetadata.trafficSource.trafficSubId'] = request_metadata_traffic_source_traffic_sub_id unless request_metadata_traffic_source_traffic_sub_id.nil? - command.query['requestMetadata.partnersSessionId'] = request_metadata_partners_session_id unless request_metadata_partners_session_id.nil? - command.query['requestMetadata.userOverrides.userId'] = request_metadata_user_overrides_user_id unless request_metadata_user_overrides_user_id.nil? - command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end - # Lists advertiser leads for a user's associated company. - # Should only be called within the context of an authorized logged in user. - # @param [Fixnum] page_size - # Requested page size. Server may return fewer leads than requested. - # If unspecified, server picks an appropriate default. + # Updates a user's profile. A user can only update their own profile and + # should only be called within the context of a logged in user. + # @param [Google::Apis::PartnersV2::UserProfile] user_profile_object + # @param [String] request_metadata_user_overrides_user_id + # Logged-in user ID to impersonate instead of the user's ID. + # @param [String] request_metadata_partners_session_id + # Google Partners session ID. # @param [String] request_metadata_traffic_source_traffic_source_id # Identifier to indicate where the traffic comes from. # An identifier has multiple letters created by a team which redirected the @@ -121,63 +128,46 @@ module Google # Second level identifier to indicate where the traffic comes from. # An identifier has multiple letters created by a team which redirected the # traffic to us. - # @param [String] order_by - # How to order Leads. Currently, only `create_time` - # and `create_time desc` are supported - # @param [String] request_metadata_user_overrides_user_id - # Logged-in user ID to impersonate instead of the user's ID. - # @param [String] request_metadata_partners_session_id - # Google Partners session ID. - # @param [String] page_token - # A token identifying a page of results that the server returns. - # Typically, this is the value of `ListLeadsResponse.next_page_token` - # returned from the previous call to - # ListLeads. + # @param [String] fields + # Selector specifying which fields to include in a partial response. # @param [String] quota_user # Available to use for quota purposes for server-side applications. Can be any # arbitrary string assigned to a user, but should not exceed 40 characters. - # @param [String] fields - # Selector specifying which fields to include in a partial response. # @param [Google::Apis::RequestOptions] options # Request-specific options # # @yield [result, err] Result & error if block supplied - # @yieldparam result [Google::Apis::PartnersV2::ListLeadsResponse] parsed result object + # @yieldparam result [Google::Apis::PartnersV2::UserProfile] parsed result object # @yieldparam err [StandardError] error object if request failed # - # @return [Google::Apis::PartnersV2::ListLeadsResponse] + # @return [Google::Apis::PartnersV2::UserProfile] # # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required - def list_leads(page_size: nil, request_metadata_traffic_source_traffic_source_id: nil, request_metadata_locale: nil, request_metadata_user_overrides_ip_address: nil, request_metadata_experiment_ids: nil, request_metadata_traffic_source_traffic_sub_id: nil, order_by: nil, request_metadata_user_overrides_user_id: nil, request_metadata_partners_session_id: nil, page_token: nil, quota_user: nil, fields: nil, options: nil, &block) - command = make_simple_command(:get, 'v2/leads', options) - command.response_representation = Google::Apis::PartnersV2::ListLeadsResponse::Representation - command.response_class = Google::Apis::PartnersV2::ListLeadsResponse - command.query['pageSize'] = page_size unless page_size.nil? + def update_user_profile(user_profile_object = nil, request_metadata_user_overrides_user_id: nil, request_metadata_partners_session_id: nil, request_metadata_traffic_source_traffic_source_id: nil, request_metadata_locale: nil, request_metadata_user_overrides_ip_address: nil, request_metadata_experiment_ids: nil, request_metadata_traffic_source_traffic_sub_id: nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:patch, 'v2/users/profile', options) + command.request_representation = Google::Apis::PartnersV2::UserProfile::Representation + command.request_object = user_profile_object + command.response_representation = Google::Apis::PartnersV2::UserProfile::Representation + command.response_class = Google::Apis::PartnersV2::UserProfile + command.query['requestMetadata.userOverrides.userId'] = request_metadata_user_overrides_user_id unless request_metadata_user_overrides_user_id.nil? + command.query['requestMetadata.partnersSessionId'] = request_metadata_partners_session_id unless request_metadata_partners_session_id.nil? command.query['requestMetadata.trafficSource.trafficSourceId'] = request_metadata_traffic_source_traffic_source_id unless request_metadata_traffic_source_traffic_source_id.nil? command.query['requestMetadata.locale'] = request_metadata_locale unless request_metadata_locale.nil? command.query['requestMetadata.userOverrides.ipAddress'] = request_metadata_user_overrides_ip_address unless request_metadata_user_overrides_ip_address.nil? command.query['requestMetadata.experimentIds'] = request_metadata_experiment_ids unless request_metadata_experiment_ids.nil? command.query['requestMetadata.trafficSource.trafficSubId'] = request_metadata_traffic_source_traffic_sub_id unless request_metadata_traffic_source_traffic_sub_id.nil? - command.query['orderBy'] = order_by unless order_by.nil? - command.query['requestMetadata.userOverrides.userId'] = request_metadata_user_overrides_user_id unless request_metadata_user_overrides_user_id.nil? - command.query['requestMetadata.partnersSessionId'] = request_metadata_partners_session_id unless request_metadata_partners_session_id.nil? - command.query['pageToken'] = page_token unless page_token.nil? - command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end - # Lists the Offers available for the current user - # @param [String] request_metadata_user_overrides_user_id - # Logged-in user ID to impersonate instead of the user's ID. - # @param [String] request_metadata_partners_session_id - # Google Partners session ID. - # @param [String] request_metadata_traffic_source_traffic_source_id - # Identifier to indicate where the traffic comes from. - # An identifier has multiple letters created by a team which redirected the - # traffic to us. + # Creates a user's company relation. Affiliates the user to a company. + # @param [String] user_id + # The ID of the user. Can be set to me to mean + # the currently authenticated user. + # @param [Google::Apis::PartnersV2::CompanyRelation] company_relation_object # @param [String] request_metadata_locale # Locale to use for the current request. # @param [String] request_metadata_user_overrides_ip_address @@ -188,112 +178,58 @@ module Google # Second level identifier to indicate where the traffic comes from. # An identifier has multiple letters created by a team which redirected the # traffic to us. + # @param [String] request_metadata_user_overrides_user_id + # Logged-in user ID to impersonate instead of the user's ID. + # @param [String] request_metadata_partners_session_id + # Google Partners session ID. + # @param [String] request_metadata_traffic_source_traffic_source_id + # Identifier to indicate where the traffic comes from. + # An identifier has multiple letters created by a team which redirected the + # traffic to us. + # @param [String] fields + # Selector specifying which fields to include in a partial response. # @param [String] quota_user # Available to use for quota purposes for server-side applications. Can be any # arbitrary string assigned to a user, but should not exceed 40 characters. - # @param [String] fields - # Selector specifying which fields to include in a partial response. # @param [Google::Apis::RequestOptions] options # Request-specific options # # @yield [result, err] Result & error if block supplied - # @yieldparam result [Google::Apis::PartnersV2::ListOffersResponse] parsed result object + # @yieldparam result [Google::Apis::PartnersV2::CompanyRelation] parsed result object # @yieldparam err [StandardError] error object if request failed # - # @return [Google::Apis::PartnersV2::ListOffersResponse] + # @return [Google::Apis::PartnersV2::CompanyRelation] # # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required - def list_offers(request_metadata_user_overrides_user_id: nil, request_metadata_partners_session_id: nil, request_metadata_traffic_source_traffic_source_id: nil, request_metadata_locale: nil, request_metadata_user_overrides_ip_address: nil, request_metadata_experiment_ids: nil, request_metadata_traffic_source_traffic_sub_id: nil, quota_user: nil, fields: nil, options: nil, &block) - command = make_simple_command(:get, 'v2/offers', options) - command.response_representation = Google::Apis::PartnersV2::ListOffersResponse::Representation - command.response_class = Google::Apis::PartnersV2::ListOffersResponse - command.query['requestMetadata.userOverrides.userId'] = request_metadata_user_overrides_user_id unless request_metadata_user_overrides_user_id.nil? - command.query['requestMetadata.partnersSessionId'] = request_metadata_partners_session_id unless request_metadata_partners_session_id.nil? - command.query['requestMetadata.trafficSource.trafficSourceId'] = request_metadata_traffic_source_traffic_source_id unless request_metadata_traffic_source_traffic_source_id.nil? + def create_user_company_relation(user_id, company_relation_object = nil, request_metadata_locale: nil, request_metadata_user_overrides_ip_address: nil, request_metadata_experiment_ids: nil, request_metadata_traffic_source_traffic_sub_id: nil, request_metadata_user_overrides_user_id: nil, request_metadata_partners_session_id: nil, request_metadata_traffic_source_traffic_source_id: nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:put, 'v2/users/{userId}/companyRelation', options) + command.request_representation = Google::Apis::PartnersV2::CompanyRelation::Representation + command.request_object = company_relation_object + command.response_representation = Google::Apis::PartnersV2::CompanyRelation::Representation + command.response_class = Google::Apis::PartnersV2::CompanyRelation + command.params['userId'] = user_id unless user_id.nil? command.query['requestMetadata.locale'] = request_metadata_locale unless request_metadata_locale.nil? command.query['requestMetadata.userOverrides.ipAddress'] = request_metadata_user_overrides_ip_address unless request_metadata_user_overrides_ip_address.nil? command.query['requestMetadata.experimentIds'] = request_metadata_experiment_ids unless request_metadata_experiment_ids.nil? command.query['requestMetadata.trafficSource.trafficSubId'] = request_metadata_traffic_source_traffic_sub_id unless request_metadata_traffic_source_traffic_sub_id.nil? - command.query['quotaUser'] = quota_user unless quota_user.nil? + command.query['requestMetadata.userOverrides.userId'] = request_metadata_user_overrides_user_id unless request_metadata_user_overrides_user_id.nil? + command.query['requestMetadata.partnersSessionId'] = request_metadata_partners_session_id unless request_metadata_partners_session_id.nil? + command.query['requestMetadata.trafficSource.trafficSourceId'] = request_metadata_traffic_source_traffic_source_id unless request_metadata_traffic_source_traffic_source_id.nil? command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end - # Lists the Historical Offers for the current user (or user's entire company) - # @param [Fixnum] page_size - # Maximum number of rows to return per page. - # @param [String] request_metadata_traffic_source_traffic_source_id - # Identifier to indicate where the traffic comes from. - # An identifier has multiple letters created by a team which redirected the - # traffic to us. - # @param [String] request_metadata_locale - # Locale to use for the current request. - # @param [String] request_metadata_user_overrides_ip_address - # IP address to use instead of the user's geo-located IP address. - # @param [Array, String] request_metadata_experiment_ids - # Experiment IDs the current request belongs to. - # @param [Boolean] entire_company - # if true, show history for the entire company. Requires user to be admin. - # @param [String] order_by - # Comma-separated list of fields to order by, e.g.: "foo,bar,baz". - # Use "foo desc" to sort descending. - # List of valid field names is: name, offer_code, expiration_time, status, - # last_modified_time, sender_name, creation_time, country_code, - # offer_type. - # @param [String] request_metadata_traffic_source_traffic_sub_id - # Second level identifier to indicate where the traffic comes from. - # An identifier has multiple letters created by a team which redirected the - # traffic to us. - # @param [String] request_metadata_user_overrides_user_id - # Logged-in user ID to impersonate instead of the user's ID. + # Deletes a user's company relation. Unaffiliaites the user from a company. + # @param [String] user_id + # The ID of the user. Can be set to me to mean + # the currently authenticated user. # @param [String] request_metadata_partners_session_id # Google Partners session ID. - # @param [String] page_token - # Token to retrieve a specific page. - # @param [String] quota_user - # Available to use for quota purposes for server-side applications. Can be any - # arbitrary string assigned to a user, but should not exceed 40 characters. - # @param [String] fields - # Selector specifying which fields to include in a partial response. - # @param [Google::Apis::RequestOptions] options - # Request-specific options - # - # @yield [result, err] Result & error if block supplied - # @yieldparam result [Google::Apis::PartnersV2::ListOffersHistoryResponse] parsed result object - # @yieldparam err [StandardError] error object if request failed - # - # @return [Google::Apis::PartnersV2::ListOffersHistoryResponse] - # - # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried - # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification - # @raise [Google::Apis::AuthorizationError] Authorization is required - def list_offer_histories(page_size: nil, request_metadata_traffic_source_traffic_source_id: nil, request_metadata_locale: nil, request_metadata_user_overrides_ip_address: nil, request_metadata_experiment_ids: nil, entire_company: nil, order_by: nil, request_metadata_traffic_source_traffic_sub_id: nil, request_metadata_user_overrides_user_id: nil, request_metadata_partners_session_id: nil, page_token: nil, quota_user: nil, fields: nil, options: nil, &block) - command = make_simple_command(:get, 'v2/offers/history', options) - command.response_representation = Google::Apis::PartnersV2::ListOffersHistoryResponse::Representation - command.response_class = Google::Apis::PartnersV2::ListOffersHistoryResponse - command.query['pageSize'] = page_size unless page_size.nil? - command.query['requestMetadata.trafficSource.trafficSourceId'] = request_metadata_traffic_source_traffic_source_id unless request_metadata_traffic_source_traffic_source_id.nil? - command.query['requestMetadata.locale'] = request_metadata_locale unless request_metadata_locale.nil? - command.query['requestMetadata.userOverrides.ipAddress'] = request_metadata_user_overrides_ip_address unless request_metadata_user_overrides_ip_address.nil? - command.query['requestMetadata.experimentIds'] = request_metadata_experiment_ids unless request_metadata_experiment_ids.nil? - command.query['entireCompany'] = entire_company unless entire_company.nil? - command.query['orderBy'] = order_by unless order_by.nil? - command.query['requestMetadata.trafficSource.trafficSubId'] = request_metadata_traffic_source_traffic_sub_id unless request_metadata_traffic_source_traffic_sub_id.nil? - command.query['requestMetadata.userOverrides.userId'] = request_metadata_user_overrides_user_id unless request_metadata_user_overrides_user_id.nil? - command.query['requestMetadata.partnersSessionId'] = request_metadata_partners_session_id unless request_metadata_partners_session_id.nil? - command.query['pageToken'] = page_token unless page_token.nil? - command.query['quotaUser'] = quota_user unless quota_user.nil? - command.query['fields'] = fields unless fields.nil? - execute_or_queue_command(command, &block) - end - - # Lists states for current user. # @param [String] request_metadata_user_overrides_user_id # Logged-in user ID to impersonate instead of the user's ID. - # @param [String] request_metadata_partners_session_id - # Google Partners session ID. # @param [String] request_metadata_traffic_source_traffic_source_id # Identifier to indicate where the traffic comes from. # An identifier has multiple letters created by a team which redirected the @@ -308,286 +244,56 @@ module Google # Second level identifier to indicate where the traffic comes from. # An identifier has multiple letters created by a team which redirected the # traffic to us. + # @param [String] fields + # Selector specifying which fields to include in a partial response. # @param [String] quota_user # Available to use for quota purposes for server-side applications. Can be any # arbitrary string assigned to a user, but should not exceed 40 characters. - # @param [String] fields - # Selector specifying which fields to include in a partial response. # @param [Google::Apis::RequestOptions] options # Request-specific options # # @yield [result, err] Result & error if block supplied - # @yieldparam result [Google::Apis::PartnersV2::ListUserStatesResponse] parsed result object + # @yieldparam result [Google::Apis::PartnersV2::Empty] parsed result object # @yieldparam err [StandardError] error object if request failed # - # @return [Google::Apis::PartnersV2::ListUserStatesResponse] + # @return [Google::Apis::PartnersV2::Empty] # # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required - def list_user_states(request_metadata_user_overrides_user_id: nil, request_metadata_partners_session_id: nil, request_metadata_traffic_source_traffic_source_id: nil, request_metadata_locale: nil, request_metadata_user_overrides_ip_address: nil, request_metadata_experiment_ids: nil, request_metadata_traffic_source_traffic_sub_id: nil, quota_user: nil, fields: nil, options: nil, &block) - command = make_simple_command(:get, 'v2/userStates', options) - command.response_representation = Google::Apis::PartnersV2::ListUserStatesResponse::Representation - command.response_class = Google::Apis::PartnersV2::ListUserStatesResponse - command.query['requestMetadata.userOverrides.userId'] = request_metadata_user_overrides_user_id unless request_metadata_user_overrides_user_id.nil? - command.query['requestMetadata.partnersSessionId'] = request_metadata_partners_session_id unless request_metadata_partners_session_id.nil? - command.query['requestMetadata.trafficSource.trafficSourceId'] = request_metadata_traffic_source_traffic_source_id unless request_metadata_traffic_source_traffic_source_id.nil? - command.query['requestMetadata.locale'] = request_metadata_locale unless request_metadata_locale.nil? - command.query['requestMetadata.userOverrides.ipAddress'] = request_metadata_user_overrides_ip_address unless request_metadata_user_overrides_ip_address.nil? - command.query['requestMetadata.experimentIds'] = request_metadata_experiment_ids unless request_metadata_experiment_ids.nil? - command.query['requestMetadata.trafficSource.trafficSubId'] = request_metadata_traffic_source_traffic_sub_id unless request_metadata_traffic_source_traffic_sub_id.nil? - command.query['quotaUser'] = quota_user unless quota_user.nil? - command.query['fields'] = fields unless fields.nil? - execute_or_queue_command(command, &block) - end - - # Lists analytics data for a user's associated company. - # Should only be called within the context of an authorized logged in user. - # @param [Fixnum] page_size - # Requested page size. Server may return fewer analytics than requested. - # If unspecified or set to 0, default value is 30. - # Specifies the number of days in the date range when querying analytics. - # The `page_token` represents the end date of the date range - # and the start date is calculated using the `page_size` as the number - # of days BEFORE the end date. - # Must be a non-negative integer. - # @param [String] request_metadata_traffic_source_traffic_source_id - # Identifier to indicate where the traffic comes from. - # An identifier has multiple letters created by a team which redirected the - # traffic to us. - # @param [String] request_metadata_locale - # Locale to use for the current request. - # @param [String] request_metadata_user_overrides_ip_address - # IP address to use instead of the user's geo-located IP address. - # @param [Array, String] request_metadata_experiment_ids - # Experiment IDs the current request belongs to. - # @param [String] request_metadata_traffic_source_traffic_sub_id - # Second level identifier to indicate where the traffic comes from. - # An identifier has multiple letters created by a team which redirected the - # traffic to us. - # @param [String] request_metadata_user_overrides_user_id - # Logged-in user ID to impersonate instead of the user's ID. - # @param [String] request_metadata_partners_session_id - # Google Partners session ID. - # @param [String] page_token - # A token identifying a page of results that the server returns. - # Typically, this is the value of `ListAnalyticsResponse.next_page_token` - # returned from the previous call to - # ListAnalytics. - # Will be a date string in `YYYY-MM-DD` format representing the end date - # of the date range of results to return. - # If unspecified or set to "", default value is the current date. - # @param [String] quota_user - # Available to use for quota purposes for server-side applications. Can be any - # arbitrary string assigned to a user, but should not exceed 40 characters. - # @param [String] fields - # Selector specifying which fields to include in a partial response. - # @param [Google::Apis::RequestOptions] options - # Request-specific options - # - # @yield [result, err] Result & error if block supplied - # @yieldparam result [Google::Apis::PartnersV2::ListAnalyticsResponse] parsed result object - # @yieldparam err [StandardError] error object if request failed - # - # @return [Google::Apis::PartnersV2::ListAnalyticsResponse] - # - # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried - # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification - # @raise [Google::Apis::AuthorizationError] Authorization is required - def list_analytics(page_size: nil, request_metadata_traffic_source_traffic_source_id: nil, request_metadata_locale: nil, request_metadata_user_overrides_ip_address: nil, request_metadata_experiment_ids: nil, request_metadata_traffic_source_traffic_sub_id: nil, request_metadata_user_overrides_user_id: nil, request_metadata_partners_session_id: nil, page_token: nil, quota_user: nil, fields: nil, options: nil, &block) - command = make_simple_command(:get, 'v2/analytics', options) - command.response_representation = Google::Apis::PartnersV2::ListAnalyticsResponse::Representation - command.response_class = Google::Apis::PartnersV2::ListAnalyticsResponse - command.query['pageSize'] = page_size unless page_size.nil? - command.query['requestMetadata.trafficSource.trafficSourceId'] = request_metadata_traffic_source_traffic_source_id unless request_metadata_traffic_source_traffic_source_id.nil? - command.query['requestMetadata.locale'] = request_metadata_locale unless request_metadata_locale.nil? - command.query['requestMetadata.userOverrides.ipAddress'] = request_metadata_user_overrides_ip_address unless request_metadata_user_overrides_ip_address.nil? - command.query['requestMetadata.experimentIds'] = request_metadata_experiment_ids unless request_metadata_experiment_ids.nil? - command.query['requestMetadata.trafficSource.trafficSubId'] = request_metadata_traffic_source_traffic_sub_id unless request_metadata_traffic_source_traffic_sub_id.nil? - command.query['requestMetadata.userOverrides.userId'] = request_metadata_user_overrides_user_id unless request_metadata_user_overrides_user_id.nil? - command.query['requestMetadata.partnersSessionId'] = request_metadata_partners_session_id unless request_metadata_partners_session_id.nil? - command.query['pageToken'] = page_token unless page_token.nil? - command.query['quotaUser'] = quota_user unless quota_user.nil? - command.query['fields'] = fields unless fields.nil? - execute_or_queue_command(command, &block) - end - - # Gets Partners Status of the logged in user's agency. - # Should only be called if the logged in user is the admin of the agency. - # @param [Array, String] request_metadata_experiment_ids - # Experiment IDs the current request belongs to. - # @param [String] request_metadata_traffic_source_traffic_sub_id - # Second level identifier to indicate where the traffic comes from. - # An identifier has multiple letters created by a team which redirected the - # traffic to us. - # @param [String] request_metadata_user_overrides_user_id - # Logged-in user ID to impersonate instead of the user's ID. - # @param [String] request_metadata_partners_session_id - # Google Partners session ID. - # @param [String] request_metadata_traffic_source_traffic_source_id - # Identifier to indicate where the traffic comes from. - # An identifier has multiple letters created by a team which redirected the - # traffic to us. - # @param [String] request_metadata_locale - # Locale to use for the current request. - # @param [String] request_metadata_user_overrides_ip_address - # IP address to use instead of the user's geo-located IP address. - # @param [String] quota_user - # Available to use for quota purposes for server-side applications. Can be any - # arbitrary string assigned to a user, but should not exceed 40 characters. - # @param [String] fields - # Selector specifying which fields to include in a partial response. - # @param [Google::Apis::RequestOptions] options - # Request-specific options - # - # @yield [result, err] Result & error if block supplied - # @yieldparam result [Google::Apis::PartnersV2::GetPartnersStatusResponse] parsed result object - # @yieldparam err [StandardError] error object if request failed - # - # @return [Google::Apis::PartnersV2::GetPartnersStatusResponse] - # - # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried - # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification - # @raise [Google::Apis::AuthorizationError] Authorization is required - def get_partnersstatus(request_metadata_experiment_ids: nil, request_metadata_traffic_source_traffic_sub_id: nil, request_metadata_user_overrides_user_id: nil, request_metadata_partners_session_id: nil, request_metadata_traffic_source_traffic_source_id: nil, request_metadata_locale: nil, request_metadata_user_overrides_ip_address: nil, quota_user: nil, fields: nil, options: nil, &block) - command = make_simple_command(:get, 'v2/partnersstatus', options) - command.response_representation = Google::Apis::PartnersV2::GetPartnersStatusResponse::Representation - command.response_class = Google::Apis::PartnersV2::GetPartnersStatusResponse - command.query['requestMetadata.experimentIds'] = request_metadata_experiment_ids unless request_metadata_experiment_ids.nil? - command.query['requestMetadata.trafficSource.trafficSubId'] = request_metadata_traffic_source_traffic_sub_id unless request_metadata_traffic_source_traffic_sub_id.nil? - command.query['requestMetadata.userOverrides.userId'] = request_metadata_user_overrides_user_id unless request_metadata_user_overrides_user_id.nil? - command.query['requestMetadata.partnersSessionId'] = request_metadata_partners_session_id unless request_metadata_partners_session_id.nil? - command.query['requestMetadata.trafficSource.trafficSourceId'] = request_metadata_traffic_source_traffic_source_id unless request_metadata_traffic_source_traffic_source_id.nil? - command.query['requestMetadata.locale'] = request_metadata_locale unless request_metadata_locale.nil? - command.query['requestMetadata.userOverrides.ipAddress'] = request_metadata_user_overrides_ip_address unless request_metadata_user_overrides_ip_address.nil? - command.query['quotaUser'] = quota_user unless quota_user.nil? - command.query['fields'] = fields unless fields.nil? - execute_or_queue_command(command, &block) - end - - # Updates the specified lead. - # @param [Google::Apis::PartnersV2::Lead] lead_object - # @param [String] request_metadata_partners_session_id - # Google Partners session ID. - # @param [String] request_metadata_user_overrides_user_id - # Logged-in user ID to impersonate instead of the user's ID. - # @param [String] request_metadata_traffic_source_traffic_source_id - # Identifier to indicate where the traffic comes from. - # An identifier has multiple letters created by a team which redirected the - # traffic to us. - # @param [String] request_metadata_locale - # Locale to use for the current request. - # @param [String] request_metadata_user_overrides_ip_address - # IP address to use instead of the user's geo-located IP address. - # @param [String] update_mask - # Standard field mask for the set of fields to be updated. - # Required with at least 1 value in FieldMask's paths. - # Only `state` and `adwords_customer_id` are currently supported. - # @param [Array, String] request_metadata_experiment_ids - # Experiment IDs the current request belongs to. - # @param [String] request_metadata_traffic_source_traffic_sub_id - # Second level identifier to indicate where the traffic comes from. - # An identifier has multiple letters created by a team which redirected the - # traffic to us. - # @param [String] quota_user - # Available to use for quota purposes for server-side applications. Can be any - # arbitrary string assigned to a user, but should not exceed 40 characters. - # @param [String] fields - # Selector specifying which fields to include in a partial response. - # @param [Google::Apis::RequestOptions] options - # Request-specific options - # - # @yield [result, err] Result & error if block supplied - # @yieldparam result [Google::Apis::PartnersV2::Lead] parsed result object - # @yieldparam err [StandardError] error object if request failed - # - # @return [Google::Apis::PartnersV2::Lead] - # - # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried - # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification - # @raise [Google::Apis::AuthorizationError] Authorization is required - def update_leads(lead_object = nil, request_metadata_partners_session_id: nil, request_metadata_user_overrides_user_id: nil, request_metadata_traffic_source_traffic_source_id: nil, request_metadata_locale: nil, request_metadata_user_overrides_ip_address: nil, update_mask: nil, request_metadata_experiment_ids: nil, request_metadata_traffic_source_traffic_sub_id: nil, quota_user: nil, fields: nil, options: nil, &block) - command = make_simple_command(:patch, 'v2/leads', options) - command.request_representation = Google::Apis::PartnersV2::Lead::Representation - command.request_object = lead_object - command.response_representation = Google::Apis::PartnersV2::Lead::Representation - command.response_class = Google::Apis::PartnersV2::Lead + def delete_user_company_relation(user_id, request_metadata_partners_session_id: nil, request_metadata_user_overrides_user_id: nil, request_metadata_traffic_source_traffic_source_id: nil, request_metadata_locale: nil, request_metadata_user_overrides_ip_address: nil, request_metadata_experiment_ids: nil, request_metadata_traffic_source_traffic_sub_id: nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:delete, 'v2/users/{userId}/companyRelation', options) + command.response_representation = Google::Apis::PartnersV2::Empty::Representation + command.response_class = Google::Apis::PartnersV2::Empty + command.params['userId'] = user_id unless user_id.nil? command.query['requestMetadata.partnersSessionId'] = request_metadata_partners_session_id unless request_metadata_partners_session_id.nil? command.query['requestMetadata.userOverrides.userId'] = request_metadata_user_overrides_user_id unless request_metadata_user_overrides_user_id.nil? command.query['requestMetadata.trafficSource.trafficSourceId'] = request_metadata_traffic_source_traffic_source_id unless request_metadata_traffic_source_traffic_source_id.nil? command.query['requestMetadata.locale'] = request_metadata_locale unless request_metadata_locale.nil? command.query['requestMetadata.userOverrides.ipAddress'] = request_metadata_user_overrides_ip_address unless request_metadata_user_overrides_ip_address.nil? - command.query['updateMask'] = update_mask unless update_mask.nil? command.query['requestMetadata.experimentIds'] = request_metadata_experiment_ids unless request_metadata_experiment_ids.nil? command.query['requestMetadata.trafficSource.trafficSubId'] = request_metadata_traffic_source_traffic_sub_id unless request_metadata_traffic_source_traffic_sub_id.nil? - command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['fields'] = fields unless fields.nil? - execute_or_queue_command(command, &block) - end - - # Update company. - # Should only be called within the context of an authorized logged in user. - # @param [Google::Apis::PartnersV2::Company] company_object - # @param [String] request_metadata_traffic_source_traffic_source_id - # Identifier to indicate where the traffic comes from. - # An identifier has multiple letters created by a team which redirected the - # traffic to us. - # @param [String] request_metadata_locale - # Locale to use for the current request. - # @param [String] request_metadata_user_overrides_ip_address - # IP address to use instead of the user's geo-located IP address. - # @param [String] update_mask - # Standard field mask for the set of fields to be updated. - # Required with at least 1 value in FieldMask's paths. - # @param [Array, String] request_metadata_experiment_ids - # Experiment IDs the current request belongs to. - # @param [String] request_metadata_traffic_source_traffic_sub_id - # Second level identifier to indicate where the traffic comes from. - # An identifier has multiple letters created by a team which redirected the - # traffic to us. - # @param [String] request_metadata_partners_session_id - # Google Partners session ID. - # @param [String] request_metadata_user_overrides_user_id - # Logged-in user ID to impersonate instead of the user's ID. - # @param [String] quota_user - # Available to use for quota purposes for server-side applications. Can be any - # arbitrary string assigned to a user, but should not exceed 40 characters. - # @param [String] fields - # Selector specifying which fields to include in a partial response. - # @param [Google::Apis::RequestOptions] options - # Request-specific options - # - # @yield [result, err] Result & error if block supplied - # @yieldparam result [Google::Apis::PartnersV2::Company] parsed result object - # @yieldparam err [StandardError] error object if request failed - # - # @return [Google::Apis::PartnersV2::Company] - # - # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried - # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification - # @raise [Google::Apis::AuthorizationError] Authorization is required - def update_companies(company_object = nil, request_metadata_traffic_source_traffic_source_id: nil, request_metadata_locale: nil, request_metadata_user_overrides_ip_address: nil, update_mask: nil, request_metadata_experiment_ids: nil, request_metadata_traffic_source_traffic_sub_id: nil, request_metadata_partners_session_id: nil, request_metadata_user_overrides_user_id: nil, quota_user: nil, fields: nil, options: nil, &block) - command = make_simple_command(:patch, 'v2/companies', options) - command.request_representation = Google::Apis::PartnersV2::Company::Representation - command.request_object = company_object - command.response_representation = Google::Apis::PartnersV2::Company::Representation - command.response_class = Google::Apis::PartnersV2::Company - command.query['requestMetadata.trafficSource.trafficSourceId'] = request_metadata_traffic_source_traffic_source_id unless request_metadata_traffic_source_traffic_source_id.nil? - command.query['requestMetadata.locale'] = request_metadata_locale unless request_metadata_locale.nil? - command.query['requestMetadata.userOverrides.ipAddress'] = request_metadata_user_overrides_ip_address unless request_metadata_user_overrides_ip_address.nil? - command.query['updateMask'] = update_mask unless update_mask.nil? - command.query['requestMetadata.experimentIds'] = request_metadata_experiment_ids unless request_metadata_experiment_ids.nil? - command.query['requestMetadata.trafficSource.trafficSubId'] = request_metadata_traffic_source_traffic_sub_id unless request_metadata_traffic_source_traffic_sub_id.nil? - command.query['requestMetadata.partnersSessionId'] = request_metadata_partners_session_id unless request_metadata_partners_session_id.nil? - command.query['requestMetadata.userOverrides.userId'] = request_metadata_user_overrides_user_id unless request_metadata_user_overrides_user_id.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? - command.query['fields'] = fields unless fields.nil? execute_or_queue_command(command, &block) end # Gets a company. # @param [String] company_id # The ID of the company to retrieve. + # @param [String] request_metadata_partners_session_id + # Google Partners session ID. + # @param [String] request_metadata_user_overrides_user_id + # Logged-in user ID to impersonate instead of the user's ID. + # @param [String] view + # The view of `Company` resource to be returned. This must not be + # `COMPANY_VIEW_UNSPECIFIED`. + # @param [String] address + # The address to use for sorting the company's addresses by proximity. + # If not given, the geo-located address of the request is used. + # Used when order_by is set. + # @param [String] request_metadata_locale + # Locale to use for the current request. # @param [String] request_metadata_traffic_source_traffic_source_id # Identifier to indicate where the traffic comes from. # An identifier has multiple letters created by a team which redirected the @@ -599,33 +305,20 @@ module Google # @param [String] currency_code # If the company's budget is in a different currency code than this one, then # the converted budget is converted to this currency code. + # @param [String] request_metadata_traffic_source_traffic_sub_id + # Second level identifier to indicate where the traffic comes from. + # An identifier has multiple letters created by a team which redirected the + # traffic to us. # @param [String] order_by # How to order addresses within the returned company. Currently, only # `address` and `address desc` is supported which will sorted by closest to # farthest in distance from given address and farthest to closest distance # from given address respectively. - # @param [String] request_metadata_traffic_source_traffic_sub_id - # Second level identifier to indicate where the traffic comes from. - # An identifier has multiple letters created by a team which redirected the - # traffic to us. - # @param [String] request_metadata_user_overrides_user_id - # Logged-in user ID to impersonate instead of the user's ID. - # @param [String] request_metadata_partners_session_id - # Google Partners session ID. - # @param [String] view - # The view of `Company` resource to be returned. This must not be - # `COMPANY_VIEW_UNSPECIFIED`. - # @param [String] address - # The address to use for sorting the company's addresses by proximity. - # If not given, the geo-located address of the request is used. - # Used when order_by is set. - # @param [String] request_metadata_locale - # Locale to use for the current request. + # @param [String] fields + # Selector specifying which fields to include in a partial response. # @param [String] quota_user # Available to use for quota purposes for server-side applications. Can be any # arbitrary string assigned to a user, but should not exceed 40 characters. - # @param [String] fields - # Selector specifying which fields to include in a partial response. # @param [Google::Apis::RequestOptions] options # Request-specific options # @@ -638,57 +331,33 @@ module Google # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required - def get_company(company_id, request_metadata_traffic_source_traffic_source_id: nil, request_metadata_user_overrides_ip_address: nil, request_metadata_experiment_ids: nil, currency_code: nil, order_by: nil, request_metadata_traffic_source_traffic_sub_id: nil, request_metadata_user_overrides_user_id: nil, request_metadata_partners_session_id: nil, view: nil, address: nil, request_metadata_locale: nil, quota_user: nil, fields: nil, options: nil, &block) + def get_company(company_id, request_metadata_partners_session_id: nil, request_metadata_user_overrides_user_id: nil, view: nil, address: nil, request_metadata_locale: nil, request_metadata_traffic_source_traffic_source_id: nil, request_metadata_user_overrides_ip_address: nil, request_metadata_experiment_ids: nil, currency_code: nil, request_metadata_traffic_source_traffic_sub_id: nil, order_by: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v2/companies/{companyId}', options) command.response_representation = Google::Apis::PartnersV2::GetCompanyResponse::Representation command.response_class = Google::Apis::PartnersV2::GetCompanyResponse command.params['companyId'] = company_id unless company_id.nil? + command.query['requestMetadata.partnersSessionId'] = request_metadata_partners_session_id unless request_metadata_partners_session_id.nil? + command.query['requestMetadata.userOverrides.userId'] = request_metadata_user_overrides_user_id unless request_metadata_user_overrides_user_id.nil? + command.query['view'] = view unless view.nil? + command.query['address'] = address unless address.nil? + command.query['requestMetadata.locale'] = request_metadata_locale unless request_metadata_locale.nil? command.query['requestMetadata.trafficSource.trafficSourceId'] = request_metadata_traffic_source_traffic_source_id unless request_metadata_traffic_source_traffic_source_id.nil? command.query['requestMetadata.userOverrides.ipAddress'] = request_metadata_user_overrides_ip_address unless request_metadata_user_overrides_ip_address.nil? command.query['requestMetadata.experimentIds'] = request_metadata_experiment_ids unless request_metadata_experiment_ids.nil? command.query['currencyCode'] = currency_code unless currency_code.nil? - command.query['orderBy'] = order_by unless order_by.nil? command.query['requestMetadata.trafficSource.trafficSubId'] = request_metadata_traffic_source_traffic_sub_id unless request_metadata_traffic_source_traffic_sub_id.nil? - command.query['requestMetadata.userOverrides.userId'] = request_metadata_user_overrides_user_id unless request_metadata_user_overrides_user_id.nil? - command.query['requestMetadata.partnersSessionId'] = request_metadata_partners_session_id unless request_metadata_partners_session_id.nil? - command.query['view'] = view unless view.nil? - command.query['address'] = address unless address.nil? - command.query['requestMetadata.locale'] = request_metadata_locale unless request_metadata_locale.nil? - command.query['quotaUser'] = quota_user unless quota_user.nil? + command.query['orderBy'] = order_by unless order_by.nil? command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end # Lists companies. - # @param [String] max_monthly_budget_currency_code - # The 3-letter currency code defined in ISO 4217. - # @param [String] min_monthly_budget_currency_code - # The 3-letter currency code defined in ISO 4217. - # @param [String] request_metadata_user_overrides_user_id - # Logged-in user ID to impersonate instead of the user's ID. - # @param [String] view - # The view of the `Company` resource to be returned. This must not be - # `COMPANY_VIEW_UNSPECIFIED`. - # @param [String] request_metadata_locale - # Locale to use for the current request. - # @param [String] address - # The address to use when searching for companies. - # If not given, the geo-located address of the request is used. - # @param [String] min_monthly_budget_units - # The whole units of the amount. - # For example if `currencyCode` is `"USD"`, then 1 unit is one US dollar. - # @param [Fixnum] max_monthly_budget_nanos - # Number of nano (10^-9) units of the amount. - # The value must be between -999,999,999 and +999,999,999 inclusive. - # If `units` is positive, `nanos` must be positive or zero. - # If `units` is zero, `nanos` can be positive, zero, or negative. - # If `units` is negative, `nanos` must be negative or zero. - # For example $-1.75 is represented as `units`=-1 and `nanos`=-750,000,000. # @param [Array, String] services # List of services that the returned agencies should provide. If this is # not empty, any returned agency must have at least one of these services, # or one of the specializations in the "specializations" field. - # @param [String] max_monthly_budget_units + # @param [Fixnum] max_monthly_budget_units # The whole units of the amount. # For example if `currencyCode` is `"USD"`, then 1 unit is one US dollar. # @param [String] request_metadata_traffic_source_traffic_source_id @@ -743,11 +412,35 @@ module Google # List of specializations that the returned agencies should provide. If this # is not empty, any returned agency must have at least one of these # specializations, or one of the services in the "services" field. + # @param [String] max_monthly_budget_currency_code + # The 3-letter currency code defined in ISO 4217. + # @param [String] min_monthly_budget_currency_code + # The 3-letter currency code defined in ISO 4217. + # @param [String] request_metadata_user_overrides_user_id + # Logged-in user ID to impersonate instead of the user's ID. + # @param [String] view + # The view of the `Company` resource to be returned. This must not be + # `COMPANY_VIEW_UNSPECIFIED`. + # @param [String] request_metadata_locale + # Locale to use for the current request. + # @param [String] address + # The address to use when searching for companies. + # If not given, the geo-located address of the request is used. + # @param [Fixnum] min_monthly_budget_units + # The whole units of the amount. + # For example if `currencyCode` is `"USD"`, then 1 unit is one US dollar. + # @param [Fixnum] max_monthly_budget_nanos + # Number of nano (10^-9) units of the amount. + # The value must be between -999,999,999 and +999,999,999 inclusive. + # If `units` is positive, `nanos` must be positive or zero. + # If `units` is zero, `nanos` can be positive, zero, or negative. + # If `units` is negative, `nanos` must be negative or zero. + # For example $-1.75 is represented as `units`=-1 and `nanos`=-750,000,000. + # @param [String] fields + # Selector specifying which fields to include in a partial response. # @param [String] quota_user # Available to use for quota purposes for server-side applications. Can be any # arbitrary string assigned to a user, but should not exceed 40 characters. - # @param [String] fields - # Selector specifying which fields to include in a partial response. # @param [Google::Apis::RequestOptions] options # Request-specific options # @@ -760,18 +453,10 @@ module Google # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required - def list_companies(max_monthly_budget_currency_code: nil, min_monthly_budget_currency_code: nil, request_metadata_user_overrides_user_id: nil, view: nil, request_metadata_locale: nil, address: nil, min_monthly_budget_units: nil, max_monthly_budget_nanos: nil, services: nil, max_monthly_budget_units: nil, request_metadata_traffic_source_traffic_source_id: nil, request_metadata_traffic_source_traffic_sub_id: nil, min_monthly_budget_nanos: nil, request_metadata_partners_session_id: nil, page_token: nil, company_name: nil, industries: nil, website_url: nil, gps_motivations: nil, language_codes: nil, page_size: nil, request_metadata_user_overrides_ip_address: nil, request_metadata_experiment_ids: nil, order_by: nil, specializations: nil, quota_user: nil, fields: nil, options: nil, &block) + def list_companies(services: nil, max_monthly_budget_units: nil, request_metadata_traffic_source_traffic_source_id: nil, request_metadata_traffic_source_traffic_sub_id: nil, min_monthly_budget_nanos: nil, request_metadata_partners_session_id: nil, page_token: nil, company_name: nil, industries: nil, website_url: nil, gps_motivations: nil, language_codes: nil, page_size: nil, request_metadata_user_overrides_ip_address: nil, request_metadata_experiment_ids: nil, order_by: nil, specializations: nil, max_monthly_budget_currency_code: nil, min_monthly_budget_currency_code: nil, request_metadata_user_overrides_user_id: nil, view: nil, request_metadata_locale: nil, address: nil, min_monthly_budget_units: nil, max_monthly_budget_nanos: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v2/companies', options) command.response_representation = Google::Apis::PartnersV2::ListCompaniesResponse::Representation command.response_class = Google::Apis::PartnersV2::ListCompaniesResponse - command.query['maxMonthlyBudget.currencyCode'] = max_monthly_budget_currency_code unless max_monthly_budget_currency_code.nil? - command.query['minMonthlyBudget.currencyCode'] = min_monthly_budget_currency_code unless min_monthly_budget_currency_code.nil? - command.query['requestMetadata.userOverrides.userId'] = request_metadata_user_overrides_user_id unless request_metadata_user_overrides_user_id.nil? - command.query['view'] = view unless view.nil? - command.query['requestMetadata.locale'] = request_metadata_locale unless request_metadata_locale.nil? - command.query['address'] = address unless address.nil? - command.query['minMonthlyBudget.units'] = min_monthly_budget_units unless min_monthly_budget_units.nil? - command.query['maxMonthlyBudget.nanos'] = max_monthly_budget_nanos unless max_monthly_budget_nanos.nil? command.query['services'] = services unless services.nil? command.query['maxMonthlyBudget.units'] = max_monthly_budget_units unless max_monthly_budget_units.nil? command.query['requestMetadata.trafficSource.trafficSourceId'] = request_metadata_traffic_source_traffic_source_id unless request_metadata_traffic_source_traffic_source_id.nil? @@ -789,8 +474,16 @@ module Google command.query['requestMetadata.experimentIds'] = request_metadata_experiment_ids unless request_metadata_experiment_ids.nil? command.query['orderBy'] = order_by unless order_by.nil? command.query['specializations'] = specializations unless specializations.nil? - command.query['quotaUser'] = quota_user unless quota_user.nil? + command.query['maxMonthlyBudget.currencyCode'] = max_monthly_budget_currency_code unless max_monthly_budget_currency_code.nil? + command.query['minMonthlyBudget.currencyCode'] = min_monthly_budget_currency_code unless min_monthly_budget_currency_code.nil? + command.query['requestMetadata.userOverrides.userId'] = request_metadata_user_overrides_user_id unless request_metadata_user_overrides_user_id.nil? + command.query['view'] = view unless view.nil? + command.query['requestMetadata.locale'] = request_metadata_locale unless request_metadata_locale.nil? + command.query['address'] = address unless address.nil? + command.query['minMonthlyBudget.units'] = min_monthly_budget_units unless min_monthly_budget_units.nil? + command.query['maxMonthlyBudget.nanos'] = max_monthly_budget_nanos unless max_monthly_budget_nanos.nil? command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end @@ -798,11 +491,11 @@ module Google # @param [String] company_id # The ID of the company to contact. # @param [Google::Apis::PartnersV2::CreateLeadRequest] create_lead_request_object + # @param [String] fields + # Selector specifying which fields to include in a partial response. # @param [String] quota_user # Available to use for quota purposes for server-side applications. Can be any # arbitrary string assigned to a user, but should not exceed 40 characters. - # @param [String] fields - # Selector specifying which fields to include in a partial response. # @param [Google::Apis::RequestOptions] options # Request-specific options # @@ -815,255 +508,25 @@ module Google # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required - def create_lead(company_id, create_lead_request_object = nil, quota_user: nil, fields: nil, options: nil, &block) + def create_lead(company_id, create_lead_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'v2/companies/{companyId}/leads', options) command.request_representation = Google::Apis::PartnersV2::CreateLeadRequest::Representation command.request_object = create_lead_request_object command.response_representation = Google::Apis::PartnersV2::CreateLeadResponse::Representation command.response_class = Google::Apis::PartnersV2::CreateLeadResponse command.params['companyId'] = company_id unless company_id.nil? - command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['fields'] = fields unless fields.nil? - execute_or_queue_command(command, &block) - end - - # Creates a user's company relation. Affiliates the user to a company. - # @param [String] user_id - # The ID of the user. Can be set to me to mean - # the currently authenticated user. - # @param [Google::Apis::PartnersV2::CompanyRelation] company_relation_object - # @param [Array, String] request_metadata_experiment_ids - # Experiment IDs the current request belongs to. - # @param [String] request_metadata_traffic_source_traffic_sub_id - # Second level identifier to indicate where the traffic comes from. - # An identifier has multiple letters created by a team which redirected the - # traffic to us. - # @param [String] request_metadata_partners_session_id - # Google Partners session ID. - # @param [String] request_metadata_user_overrides_user_id - # Logged-in user ID to impersonate instead of the user's ID. - # @param [String] request_metadata_traffic_source_traffic_source_id - # Identifier to indicate where the traffic comes from. - # An identifier has multiple letters created by a team which redirected the - # traffic to us. - # @param [String] request_metadata_locale - # Locale to use for the current request. - # @param [String] request_metadata_user_overrides_ip_address - # IP address to use instead of the user's geo-located IP address. - # @param [String] quota_user - # Available to use for quota purposes for server-side applications. Can be any - # arbitrary string assigned to a user, but should not exceed 40 characters. - # @param [String] fields - # Selector specifying which fields to include in a partial response. - # @param [Google::Apis::RequestOptions] options - # Request-specific options - # - # @yield [result, err] Result & error if block supplied - # @yieldparam result [Google::Apis::PartnersV2::CompanyRelation] parsed result object - # @yieldparam err [StandardError] error object if request failed - # - # @return [Google::Apis::PartnersV2::CompanyRelation] - # - # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried - # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification - # @raise [Google::Apis::AuthorizationError] Authorization is required - def create_user_company_relation(user_id, company_relation_object = nil, request_metadata_experiment_ids: nil, request_metadata_traffic_source_traffic_sub_id: nil, request_metadata_partners_session_id: nil, request_metadata_user_overrides_user_id: nil, request_metadata_traffic_source_traffic_source_id: nil, request_metadata_locale: nil, request_metadata_user_overrides_ip_address: nil, quota_user: nil, fields: nil, options: nil, &block) - command = make_simple_command(:put, 'v2/users/{userId}/companyRelation', options) - command.request_representation = Google::Apis::PartnersV2::CompanyRelation::Representation - command.request_object = company_relation_object - command.response_representation = Google::Apis::PartnersV2::CompanyRelation::Representation - command.response_class = Google::Apis::PartnersV2::CompanyRelation - command.params['userId'] = user_id unless user_id.nil? - command.query['requestMetadata.experimentIds'] = request_metadata_experiment_ids unless request_metadata_experiment_ids.nil? - command.query['requestMetadata.trafficSource.trafficSubId'] = request_metadata_traffic_source_traffic_sub_id unless request_metadata_traffic_source_traffic_sub_id.nil? - command.query['requestMetadata.partnersSessionId'] = request_metadata_partners_session_id unless request_metadata_partners_session_id.nil? - command.query['requestMetadata.userOverrides.userId'] = request_metadata_user_overrides_user_id unless request_metadata_user_overrides_user_id.nil? - command.query['requestMetadata.trafficSource.trafficSourceId'] = request_metadata_traffic_source_traffic_source_id unless request_metadata_traffic_source_traffic_source_id.nil? - command.query['requestMetadata.locale'] = request_metadata_locale unless request_metadata_locale.nil? - command.query['requestMetadata.userOverrides.ipAddress'] = request_metadata_user_overrides_ip_address unless request_metadata_user_overrides_ip_address.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? - command.query['fields'] = fields unless fields.nil? - execute_or_queue_command(command, &block) - end - - # Deletes a user's company relation. Unaffiliaites the user from a company. - # @param [String] user_id - # The ID of the user. Can be set to me to mean - # the currently authenticated user. - # @param [String] request_metadata_user_overrides_user_id - # Logged-in user ID to impersonate instead of the user's ID. - # @param [String] request_metadata_partners_session_id - # Google Partners session ID. - # @param [String] request_metadata_traffic_source_traffic_source_id - # Identifier to indicate where the traffic comes from. - # An identifier has multiple letters created by a team which redirected the - # traffic to us. - # @param [String] request_metadata_locale - # Locale to use for the current request. - # @param [String] request_metadata_user_overrides_ip_address - # IP address to use instead of the user's geo-located IP address. - # @param [Array, String] request_metadata_experiment_ids - # Experiment IDs the current request belongs to. - # @param [String] request_metadata_traffic_source_traffic_sub_id - # Second level identifier to indicate where the traffic comes from. - # An identifier has multiple letters created by a team which redirected the - # traffic to us. - # @param [String] quota_user - # Available to use for quota purposes for server-side applications. Can be any - # arbitrary string assigned to a user, but should not exceed 40 characters. - # @param [String] fields - # Selector specifying which fields to include in a partial response. - # @param [Google::Apis::RequestOptions] options - # Request-specific options - # - # @yield [result, err] Result & error if block supplied - # @yieldparam result [Google::Apis::PartnersV2::Empty] parsed result object - # @yieldparam err [StandardError] error object if request failed - # - # @return [Google::Apis::PartnersV2::Empty] - # - # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried - # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification - # @raise [Google::Apis::AuthorizationError] Authorization is required - def delete_user_company_relation(user_id, request_metadata_user_overrides_user_id: nil, request_metadata_partners_session_id: nil, request_metadata_traffic_source_traffic_source_id: nil, request_metadata_locale: nil, request_metadata_user_overrides_ip_address: nil, request_metadata_experiment_ids: nil, request_metadata_traffic_source_traffic_sub_id: nil, quota_user: nil, fields: nil, options: nil, &block) - command = make_simple_command(:delete, 'v2/users/{userId}/companyRelation', options) - command.response_representation = Google::Apis::PartnersV2::Empty::Representation - command.response_class = Google::Apis::PartnersV2::Empty - command.params['userId'] = user_id unless user_id.nil? - command.query['requestMetadata.userOverrides.userId'] = request_metadata_user_overrides_user_id unless request_metadata_user_overrides_user_id.nil? - command.query['requestMetadata.partnersSessionId'] = request_metadata_partners_session_id unless request_metadata_partners_session_id.nil? - command.query['requestMetadata.trafficSource.trafficSourceId'] = request_metadata_traffic_source_traffic_source_id unless request_metadata_traffic_source_traffic_source_id.nil? - command.query['requestMetadata.locale'] = request_metadata_locale unless request_metadata_locale.nil? - command.query['requestMetadata.userOverrides.ipAddress'] = request_metadata_user_overrides_ip_address unless request_metadata_user_overrides_ip_address.nil? - command.query['requestMetadata.experimentIds'] = request_metadata_experiment_ids unless request_metadata_experiment_ids.nil? - command.query['requestMetadata.trafficSource.trafficSubId'] = request_metadata_traffic_source_traffic_sub_id unless request_metadata_traffic_source_traffic_sub_id.nil? - command.query['quotaUser'] = quota_user unless quota_user.nil? - command.query['fields'] = fields unless fields.nil? - execute_or_queue_command(command, &block) - end - - # Gets a user. - # @param [String] user_id - # Identifier of the user. Can be set to me to mean the currently - # authenticated user. - # @param [String] request_metadata_partners_session_id - # Google Partners session ID. - # @param [String] request_metadata_user_overrides_user_id - # Logged-in user ID to impersonate instead of the user's ID. - # @param [String] user_view - # Specifies what parts of the user information to return. - # @param [String] request_metadata_traffic_source_traffic_source_id - # Identifier to indicate where the traffic comes from. - # An identifier has multiple letters created by a team which redirected the - # traffic to us. - # @param [String] request_metadata_locale - # Locale to use for the current request. - # @param [String] request_metadata_user_overrides_ip_address - # IP address to use instead of the user's geo-located IP address. - # @param [Array, String] request_metadata_experiment_ids - # Experiment IDs the current request belongs to. - # @param [String] request_metadata_traffic_source_traffic_sub_id - # Second level identifier to indicate where the traffic comes from. - # An identifier has multiple letters created by a team which redirected the - # traffic to us. - # @param [String] quota_user - # Available to use for quota purposes for server-side applications. Can be any - # arbitrary string assigned to a user, but should not exceed 40 characters. - # @param [String] fields - # Selector specifying which fields to include in a partial response. - # @param [Google::Apis::RequestOptions] options - # Request-specific options - # - # @yield [result, err] Result & error if block supplied - # @yieldparam result [Google::Apis::PartnersV2::User] parsed result object - # @yieldparam err [StandardError] error object if request failed - # - # @return [Google::Apis::PartnersV2::User] - # - # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried - # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification - # @raise [Google::Apis::AuthorizationError] Authorization is required - def get_user(user_id, request_metadata_partners_session_id: nil, request_metadata_user_overrides_user_id: nil, user_view: nil, request_metadata_traffic_source_traffic_source_id: nil, request_metadata_locale: nil, request_metadata_user_overrides_ip_address: nil, request_metadata_experiment_ids: nil, request_metadata_traffic_source_traffic_sub_id: nil, quota_user: nil, fields: nil, options: nil, &block) - command = make_simple_command(:get, 'v2/users/{userId}', options) - command.response_representation = Google::Apis::PartnersV2::User::Representation - command.response_class = Google::Apis::PartnersV2::User - command.params['userId'] = user_id unless user_id.nil? - command.query['requestMetadata.partnersSessionId'] = request_metadata_partners_session_id unless request_metadata_partners_session_id.nil? - command.query['requestMetadata.userOverrides.userId'] = request_metadata_user_overrides_user_id unless request_metadata_user_overrides_user_id.nil? - command.query['userView'] = user_view unless user_view.nil? - command.query['requestMetadata.trafficSource.trafficSourceId'] = request_metadata_traffic_source_traffic_source_id unless request_metadata_traffic_source_traffic_source_id.nil? - command.query['requestMetadata.locale'] = request_metadata_locale unless request_metadata_locale.nil? - command.query['requestMetadata.userOverrides.ipAddress'] = request_metadata_user_overrides_ip_address unless request_metadata_user_overrides_ip_address.nil? - command.query['requestMetadata.experimentIds'] = request_metadata_experiment_ids unless request_metadata_experiment_ids.nil? - command.query['requestMetadata.trafficSource.trafficSubId'] = request_metadata_traffic_source_traffic_sub_id unless request_metadata_traffic_source_traffic_sub_id.nil? - command.query['quotaUser'] = quota_user unless quota_user.nil? - command.query['fields'] = fields unless fields.nil? - execute_or_queue_command(command, &block) - end - - # Updates a user's profile. A user can only update their own profile and - # should only be called within the context of a logged in user. - # @param [Google::Apis::PartnersV2::UserProfile] user_profile_object - # @param [String] request_metadata_user_overrides_user_id - # Logged-in user ID to impersonate instead of the user's ID. - # @param [String] request_metadata_partners_session_id - # Google Partners session ID. - # @param [String] request_metadata_traffic_source_traffic_source_id - # Identifier to indicate where the traffic comes from. - # An identifier has multiple letters created by a team which redirected the - # traffic to us. - # @param [String] request_metadata_locale - # Locale to use for the current request. - # @param [String] request_metadata_user_overrides_ip_address - # IP address to use instead of the user's geo-located IP address. - # @param [Array, String] request_metadata_experiment_ids - # Experiment IDs the current request belongs to. - # @param [String] request_metadata_traffic_source_traffic_sub_id - # Second level identifier to indicate where the traffic comes from. - # An identifier has multiple letters created by a team which redirected the - # traffic to us. - # @param [String] quota_user - # Available to use for quota purposes for server-side applications. Can be any - # arbitrary string assigned to a user, but should not exceed 40 characters. - # @param [String] fields - # Selector specifying which fields to include in a partial response. - # @param [Google::Apis::RequestOptions] options - # Request-specific options - # - # @yield [result, err] Result & error if block supplied - # @yieldparam result [Google::Apis::PartnersV2::UserProfile] parsed result object - # @yieldparam err [StandardError] error object if request failed - # - # @return [Google::Apis::PartnersV2::UserProfile] - # - # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried - # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification - # @raise [Google::Apis::AuthorizationError] Authorization is required - def update_user_profile(user_profile_object = nil, request_metadata_user_overrides_user_id: nil, request_metadata_partners_session_id: nil, request_metadata_traffic_source_traffic_source_id: nil, request_metadata_locale: nil, request_metadata_user_overrides_ip_address: nil, request_metadata_experiment_ids: nil, request_metadata_traffic_source_traffic_sub_id: nil, quota_user: nil, fields: nil, options: nil, &block) - command = make_simple_command(:patch, 'v2/users/profile', options) - command.request_representation = Google::Apis::PartnersV2::UserProfile::Representation - command.request_object = user_profile_object - command.response_representation = Google::Apis::PartnersV2::UserProfile::Representation - command.response_class = Google::Apis::PartnersV2::UserProfile - command.query['requestMetadata.userOverrides.userId'] = request_metadata_user_overrides_user_id unless request_metadata_user_overrides_user_id.nil? - command.query['requestMetadata.partnersSessionId'] = request_metadata_partners_session_id unless request_metadata_partners_session_id.nil? - command.query['requestMetadata.trafficSource.trafficSourceId'] = request_metadata_traffic_source_traffic_source_id unless request_metadata_traffic_source_traffic_source_id.nil? - command.query['requestMetadata.locale'] = request_metadata_locale unless request_metadata_locale.nil? - command.query['requestMetadata.userOverrides.ipAddress'] = request_metadata_user_overrides_ip_address unless request_metadata_user_overrides_ip_address.nil? - command.query['requestMetadata.experimentIds'] = request_metadata_experiment_ids unless request_metadata_experiment_ids.nil? - command.query['requestMetadata.trafficSource.trafficSubId'] = request_metadata_traffic_source_traffic_sub_id unless request_metadata_traffic_source_traffic_sub_id.nil? - command.query['quotaUser'] = quota_user unless quota_user.nil? - command.query['fields'] = fields unless fields.nil? execute_or_queue_command(command, &block) end # Logs a user event. # @param [Google::Apis::PartnersV2::LogUserEventRequest] log_user_event_request_object + # @param [String] fields + # Selector specifying which fields to include in a partial response. # @param [String] quota_user # Available to use for quota purposes for server-side applications. Can be any # arbitrary string assigned to a user, but should not exceed 40 characters. - # @param [String] fields - # Selector specifying which fields to include in a partial response. # @param [Google::Apis::RequestOptions] options # Request-specific options # @@ -1076,14 +539,14 @@ module Google # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required - def log_user_event(log_user_event_request_object = nil, quota_user: nil, fields: nil, options: nil, &block) + def log_user_event(log_user_event_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'v2/userEvents:log', options) command.request_representation = Google::Apis::PartnersV2::LogUserEventRequest::Representation command.request_object = log_user_event_request_object command.response_representation = Google::Apis::PartnersV2::LogUserEventResponse::Representation command.response_class = Google::Apis::PartnersV2::LogUserEventResponse - command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end @@ -1091,11 +554,11 @@ module Google # `Failed to render component`, `Profile page is running slow`, # `More than 500 users have accessed this result.`, etc. # @param [Google::Apis::PartnersV2::LogMessageRequest] log_message_request_object + # @param [String] fields + # Selector specifying which fields to include in a partial response. # @param [String] quota_user # Available to use for quota purposes for server-side applications. Can be any # arbitrary string assigned to a user, but should not exceed 40 characters. - # @param [String] fields - # Selector specifying which fields to include in a partial response. # @param [Google::Apis::RequestOptions] options # Request-specific options # @@ -1108,14 +571,552 @@ module Google # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required - def log_client_message_message(log_message_request_object = nil, quota_user: nil, fields: nil, options: nil, &block) + def log_client_message_message(log_message_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'v2/clientMessages:log', options) command.request_representation = Google::Apis::PartnersV2::LogMessageRequest::Representation command.request_object = log_message_request_object command.response_representation = Google::Apis::PartnersV2::LogMessageResponse::Representation command.response_class = Google::Apis::PartnersV2::LogMessageResponse - command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + execute_or_queue_command(command, &block) + end + + # Gets an Exam Token for a Partner's user to take an exam in the Exams System + # @param [String] exam_type + # The exam type we are requesting a token for. + # @param [String] request_metadata_user_overrides_user_id + # Logged-in user ID to impersonate instead of the user's ID. + # @param [String] request_metadata_partners_session_id + # Google Partners session ID. + # @param [String] request_metadata_traffic_source_traffic_source_id + # Identifier to indicate where the traffic comes from. + # An identifier has multiple letters created by a team which redirected the + # traffic to us. + # @param [String] request_metadata_locale + # Locale to use for the current request. + # @param [String] request_metadata_user_overrides_ip_address + # IP address to use instead of the user's geo-located IP address. + # @param [Array, String] request_metadata_experiment_ids + # Experiment IDs the current request belongs to. + # @param [String] request_metadata_traffic_source_traffic_sub_id + # Second level identifier to indicate where the traffic comes from. + # An identifier has multiple letters created by a team which redirected the + # traffic to us. + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # Available to use for quota purposes for server-side applications. Can be any + # arbitrary string assigned to a user, but should not exceed 40 characters. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::PartnersV2::ExamToken] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::PartnersV2::ExamToken] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def get_exam_token(exam_type, request_metadata_user_overrides_user_id: nil, request_metadata_partners_session_id: nil, request_metadata_traffic_source_traffic_source_id: nil, request_metadata_locale: nil, request_metadata_user_overrides_ip_address: nil, request_metadata_experiment_ids: nil, request_metadata_traffic_source_traffic_sub_id: nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:get, 'v2/exams/{examType}/token', options) + command.response_representation = Google::Apis::PartnersV2::ExamToken::Representation + command.response_class = Google::Apis::PartnersV2::ExamToken + command.params['examType'] = exam_type unless exam_type.nil? + command.query['requestMetadata.userOverrides.userId'] = request_metadata_user_overrides_user_id unless request_metadata_user_overrides_user_id.nil? + command.query['requestMetadata.partnersSessionId'] = request_metadata_partners_session_id unless request_metadata_partners_session_id.nil? + command.query['requestMetadata.trafficSource.trafficSourceId'] = request_metadata_traffic_source_traffic_source_id unless request_metadata_traffic_source_traffic_source_id.nil? + command.query['requestMetadata.locale'] = request_metadata_locale unless request_metadata_locale.nil? + command.query['requestMetadata.userOverrides.ipAddress'] = request_metadata_user_overrides_ip_address unless request_metadata_user_overrides_ip_address.nil? + command.query['requestMetadata.experimentIds'] = request_metadata_experiment_ids unless request_metadata_experiment_ids.nil? + command.query['requestMetadata.trafficSource.trafficSubId'] = request_metadata_traffic_source_traffic_sub_id unless request_metadata_traffic_source_traffic_sub_id.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + execute_or_queue_command(command, &block) + end + + # Lists advertiser leads for a user's associated company. + # Should only be called within the context of an authorized logged in user. + # @param [String] request_metadata_locale + # Locale to use for the current request. + # @param [String] request_metadata_user_overrides_ip_address + # IP address to use instead of the user's geo-located IP address. + # @param [Array, String] request_metadata_experiment_ids + # Experiment IDs the current request belongs to. + # @param [String] request_metadata_traffic_source_traffic_sub_id + # Second level identifier to indicate where the traffic comes from. + # An identifier has multiple letters created by a team which redirected the + # traffic to us. + # @param [String] order_by + # How to order Leads. Currently, only `create_time` + # and `create_time desc` are supported + # @param [String] request_metadata_partners_session_id + # Google Partners session ID. + # @param [String] request_metadata_user_overrides_user_id + # Logged-in user ID to impersonate instead of the user's ID. + # @param [String] page_token + # A token identifying a page of results that the server returns. + # Typically, this is the value of `ListLeadsResponse.next_page_token` + # returned from the previous call to + # ListLeads. + # @param [Fixnum] page_size + # Requested page size. Server may return fewer leads than requested. + # If unspecified, server picks an appropriate default. + # @param [String] request_metadata_traffic_source_traffic_source_id + # Identifier to indicate where the traffic comes from. + # An identifier has multiple letters created by a team which redirected the + # traffic to us. + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # Available to use for quota purposes for server-side applications. Can be any + # arbitrary string assigned to a user, but should not exceed 40 characters. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::PartnersV2::ListLeadsResponse] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::PartnersV2::ListLeadsResponse] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def list_leads(request_metadata_locale: nil, request_metadata_user_overrides_ip_address: nil, request_metadata_experiment_ids: nil, request_metadata_traffic_source_traffic_sub_id: nil, order_by: nil, request_metadata_partners_session_id: nil, request_metadata_user_overrides_user_id: nil, page_token: nil, page_size: nil, request_metadata_traffic_source_traffic_source_id: nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:get, 'v2/leads', options) + command.response_representation = Google::Apis::PartnersV2::ListLeadsResponse::Representation + command.response_class = Google::Apis::PartnersV2::ListLeadsResponse + command.query['requestMetadata.locale'] = request_metadata_locale unless request_metadata_locale.nil? + command.query['requestMetadata.userOverrides.ipAddress'] = request_metadata_user_overrides_ip_address unless request_metadata_user_overrides_ip_address.nil? + command.query['requestMetadata.experimentIds'] = request_metadata_experiment_ids unless request_metadata_experiment_ids.nil? + command.query['requestMetadata.trafficSource.trafficSubId'] = request_metadata_traffic_source_traffic_sub_id unless request_metadata_traffic_source_traffic_sub_id.nil? + command.query['orderBy'] = order_by unless order_by.nil? + command.query['requestMetadata.partnersSessionId'] = request_metadata_partners_session_id unless request_metadata_partners_session_id.nil? + command.query['requestMetadata.userOverrides.userId'] = request_metadata_user_overrides_user_id unless request_metadata_user_overrides_user_id.nil? + command.query['pageToken'] = page_token unless page_token.nil? + command.query['pageSize'] = page_size unless page_size.nil? + command.query['requestMetadata.trafficSource.trafficSourceId'] = request_metadata_traffic_source_traffic_source_id unless request_metadata_traffic_source_traffic_source_id.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + execute_or_queue_command(command, &block) + end + + # Lists the Offers available for the current user + # @param [String] request_metadata_user_overrides_ip_address + # IP address to use instead of the user's geo-located IP address. + # @param [Array, String] request_metadata_experiment_ids + # Experiment IDs the current request belongs to. + # @param [String] request_metadata_traffic_source_traffic_sub_id + # Second level identifier to indicate where the traffic comes from. + # An identifier has multiple letters created by a team which redirected the + # traffic to us. + # @param [String] request_metadata_user_overrides_user_id + # Logged-in user ID to impersonate instead of the user's ID. + # @param [String] request_metadata_partners_session_id + # Google Partners session ID. + # @param [String] request_metadata_traffic_source_traffic_source_id + # Identifier to indicate where the traffic comes from. + # An identifier has multiple letters created by a team which redirected the + # traffic to us. + # @param [String] request_metadata_locale + # Locale to use for the current request. + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # Available to use for quota purposes for server-side applications. Can be any + # arbitrary string assigned to a user, but should not exceed 40 characters. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::PartnersV2::ListOffersResponse] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::PartnersV2::ListOffersResponse] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def list_offers(request_metadata_user_overrides_ip_address: nil, request_metadata_experiment_ids: nil, request_metadata_traffic_source_traffic_sub_id: nil, request_metadata_user_overrides_user_id: nil, request_metadata_partners_session_id: nil, request_metadata_traffic_source_traffic_source_id: nil, request_metadata_locale: nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:get, 'v2/offers', options) + command.response_representation = Google::Apis::PartnersV2::ListOffersResponse::Representation + command.response_class = Google::Apis::PartnersV2::ListOffersResponse + command.query['requestMetadata.userOverrides.ipAddress'] = request_metadata_user_overrides_ip_address unless request_metadata_user_overrides_ip_address.nil? + command.query['requestMetadata.experimentIds'] = request_metadata_experiment_ids unless request_metadata_experiment_ids.nil? + command.query['requestMetadata.trafficSource.trafficSubId'] = request_metadata_traffic_source_traffic_sub_id unless request_metadata_traffic_source_traffic_sub_id.nil? + command.query['requestMetadata.userOverrides.userId'] = request_metadata_user_overrides_user_id unless request_metadata_user_overrides_user_id.nil? + command.query['requestMetadata.partnersSessionId'] = request_metadata_partners_session_id unless request_metadata_partners_session_id.nil? + command.query['requestMetadata.trafficSource.trafficSourceId'] = request_metadata_traffic_source_traffic_source_id unless request_metadata_traffic_source_traffic_source_id.nil? + command.query['requestMetadata.locale'] = request_metadata_locale unless request_metadata_locale.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + execute_or_queue_command(command, &block) + end + + # Lists the Historical Offers for the current user (or user's entire company) + # @param [String] request_metadata_partners_session_id + # Google Partners session ID. + # @param [String] request_metadata_user_overrides_user_id + # Logged-in user ID to impersonate instead of the user's ID. + # @param [String] page_token + # Token to retrieve a specific page. + # @param [Fixnum] page_size + # Maximum number of rows to return per page. + # @param [String] request_metadata_traffic_source_traffic_source_id + # Identifier to indicate where the traffic comes from. + # An identifier has multiple letters created by a team which redirected the + # traffic to us. + # @param [String] request_metadata_locale + # Locale to use for the current request. + # @param [String] request_metadata_user_overrides_ip_address + # IP address to use instead of the user's geo-located IP address. + # @param [Boolean] entire_company + # if true, show history for the entire company. Requires user to be admin. + # @param [Array, String] request_metadata_experiment_ids + # Experiment IDs the current request belongs to. + # @param [String] order_by + # Comma-separated list of fields to order by, e.g.: "foo,bar,baz". + # Use "foo desc" to sort descending. + # List of valid field names is: name, offer_code, expiration_time, status, + # last_modified_time, sender_name, creation_time, country_code, + # offer_type. + # @param [String] request_metadata_traffic_source_traffic_sub_id + # Second level identifier to indicate where the traffic comes from. + # An identifier has multiple letters created by a team which redirected the + # traffic to us. + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # Available to use for quota purposes for server-side applications. Can be any + # arbitrary string assigned to a user, but should not exceed 40 characters. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::PartnersV2::ListOffersHistoryResponse] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::PartnersV2::ListOffersHistoryResponse] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def list_offer_histories(request_metadata_partners_session_id: nil, request_metadata_user_overrides_user_id: nil, page_token: nil, page_size: nil, request_metadata_traffic_source_traffic_source_id: nil, request_metadata_locale: nil, request_metadata_user_overrides_ip_address: nil, entire_company: nil, request_metadata_experiment_ids: nil, order_by: nil, request_metadata_traffic_source_traffic_sub_id: nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:get, 'v2/offers/history', options) + command.response_representation = Google::Apis::PartnersV2::ListOffersHistoryResponse::Representation + command.response_class = Google::Apis::PartnersV2::ListOffersHistoryResponse + command.query['requestMetadata.partnersSessionId'] = request_metadata_partners_session_id unless request_metadata_partners_session_id.nil? + command.query['requestMetadata.userOverrides.userId'] = request_metadata_user_overrides_user_id unless request_metadata_user_overrides_user_id.nil? + command.query['pageToken'] = page_token unless page_token.nil? + command.query['pageSize'] = page_size unless page_size.nil? + command.query['requestMetadata.trafficSource.trafficSourceId'] = request_metadata_traffic_source_traffic_source_id unless request_metadata_traffic_source_traffic_source_id.nil? + command.query['requestMetadata.locale'] = request_metadata_locale unless request_metadata_locale.nil? + command.query['requestMetadata.userOverrides.ipAddress'] = request_metadata_user_overrides_ip_address unless request_metadata_user_overrides_ip_address.nil? + command.query['entireCompany'] = entire_company unless entire_company.nil? + command.query['requestMetadata.experimentIds'] = request_metadata_experiment_ids unless request_metadata_experiment_ids.nil? + command.query['orderBy'] = order_by unless order_by.nil? + command.query['requestMetadata.trafficSource.trafficSubId'] = request_metadata_traffic_source_traffic_sub_id unless request_metadata_traffic_source_traffic_sub_id.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + execute_or_queue_command(command, &block) + end + + # Lists states for current user. + # @param [String] request_metadata_user_overrides_user_id + # Logged-in user ID to impersonate instead of the user's ID. + # @param [String] request_metadata_partners_session_id + # Google Partners session ID. + # @param [String] request_metadata_traffic_source_traffic_source_id + # Identifier to indicate where the traffic comes from. + # An identifier has multiple letters created by a team which redirected the + # traffic to us. + # @param [String] request_metadata_locale + # Locale to use for the current request. + # @param [String] request_metadata_user_overrides_ip_address + # IP address to use instead of the user's geo-located IP address. + # @param [Array, String] request_metadata_experiment_ids + # Experiment IDs the current request belongs to. + # @param [String] request_metadata_traffic_source_traffic_sub_id + # Second level identifier to indicate where the traffic comes from. + # An identifier has multiple letters created by a team which redirected the + # traffic to us. + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # Available to use for quota purposes for server-side applications. Can be any + # arbitrary string assigned to a user, but should not exceed 40 characters. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::PartnersV2::ListUserStatesResponse] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::PartnersV2::ListUserStatesResponse] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def list_user_states(request_metadata_user_overrides_user_id: nil, request_metadata_partners_session_id: nil, request_metadata_traffic_source_traffic_source_id: nil, request_metadata_locale: nil, request_metadata_user_overrides_ip_address: nil, request_metadata_experiment_ids: nil, request_metadata_traffic_source_traffic_sub_id: nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:get, 'v2/userStates', options) + command.response_representation = Google::Apis::PartnersV2::ListUserStatesResponse::Representation + command.response_class = Google::Apis::PartnersV2::ListUserStatesResponse + command.query['requestMetadata.userOverrides.userId'] = request_metadata_user_overrides_user_id unless request_metadata_user_overrides_user_id.nil? + command.query['requestMetadata.partnersSessionId'] = request_metadata_partners_session_id unless request_metadata_partners_session_id.nil? + command.query['requestMetadata.trafficSource.trafficSourceId'] = request_metadata_traffic_source_traffic_source_id unless request_metadata_traffic_source_traffic_source_id.nil? + command.query['requestMetadata.locale'] = request_metadata_locale unless request_metadata_locale.nil? + command.query['requestMetadata.userOverrides.ipAddress'] = request_metadata_user_overrides_ip_address unless request_metadata_user_overrides_ip_address.nil? + command.query['requestMetadata.experimentIds'] = request_metadata_experiment_ids unless request_metadata_experiment_ids.nil? + command.query['requestMetadata.trafficSource.trafficSubId'] = request_metadata_traffic_source_traffic_sub_id unless request_metadata_traffic_source_traffic_sub_id.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + execute_or_queue_command(command, &block) + end + + # Lists analytics data for a user's associated company. + # Should only be called within the context of an authorized logged in user. + # @param [String] request_metadata_user_overrides_ip_address + # IP address to use instead of the user's geo-located IP address. + # @param [Array, String] request_metadata_experiment_ids + # Experiment IDs the current request belongs to. + # @param [String] request_metadata_traffic_source_traffic_sub_id + # Second level identifier to indicate where the traffic comes from. + # An identifier has multiple letters created by a team which redirected the + # traffic to us. + # @param [String] request_metadata_user_overrides_user_id + # Logged-in user ID to impersonate instead of the user's ID. + # @param [String] request_metadata_partners_session_id + # Google Partners session ID. + # @param [String] page_token + # A token identifying a page of results that the server returns. + # Typically, this is the value of `ListAnalyticsResponse.next_page_token` + # returned from the previous call to + # ListAnalytics. + # Will be a date string in `YYYY-MM-DD` format representing the end date + # of the date range of results to return. + # If unspecified or set to "", default value is the current date. + # @param [Fixnum] page_size + # Requested page size. Server may return fewer analytics than requested. + # If unspecified or set to 0, default value is 30. + # Specifies the number of days in the date range when querying analytics. + # The `page_token` represents the end date of the date range + # and the start date is calculated using the `page_size` as the number + # of days BEFORE the end date. + # Must be a non-negative integer. + # @param [String] request_metadata_traffic_source_traffic_source_id + # Identifier to indicate where the traffic comes from. + # An identifier has multiple letters created by a team which redirected the + # traffic to us. + # @param [String] request_metadata_locale + # Locale to use for the current request. + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # Available to use for quota purposes for server-side applications. Can be any + # arbitrary string assigned to a user, but should not exceed 40 characters. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::PartnersV2::ListAnalyticsResponse] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::PartnersV2::ListAnalyticsResponse] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def list_analytics(request_metadata_user_overrides_ip_address: nil, request_metadata_experiment_ids: nil, request_metadata_traffic_source_traffic_sub_id: nil, request_metadata_user_overrides_user_id: nil, request_metadata_partners_session_id: nil, page_token: nil, page_size: nil, request_metadata_traffic_source_traffic_source_id: nil, request_metadata_locale: nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:get, 'v2/analytics', options) + command.response_representation = Google::Apis::PartnersV2::ListAnalyticsResponse::Representation + command.response_class = Google::Apis::PartnersV2::ListAnalyticsResponse + command.query['requestMetadata.userOverrides.ipAddress'] = request_metadata_user_overrides_ip_address unless request_metadata_user_overrides_ip_address.nil? + command.query['requestMetadata.experimentIds'] = request_metadata_experiment_ids unless request_metadata_experiment_ids.nil? + command.query['requestMetadata.trafficSource.trafficSubId'] = request_metadata_traffic_source_traffic_sub_id unless request_metadata_traffic_source_traffic_sub_id.nil? + command.query['requestMetadata.userOverrides.userId'] = request_metadata_user_overrides_user_id unless request_metadata_user_overrides_user_id.nil? + command.query['requestMetadata.partnersSessionId'] = request_metadata_partners_session_id unless request_metadata_partners_session_id.nil? + command.query['pageToken'] = page_token unless page_token.nil? + command.query['pageSize'] = page_size unless page_size.nil? + command.query['requestMetadata.trafficSource.trafficSourceId'] = request_metadata_traffic_source_traffic_source_id unless request_metadata_traffic_source_traffic_source_id.nil? + command.query['requestMetadata.locale'] = request_metadata_locale unless request_metadata_locale.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + execute_or_queue_command(command, &block) + end + + # Gets Partners Status of the logged in user's agency. + # Should only be called if the logged in user is the admin of the agency. + # @param [String] request_metadata_user_overrides_ip_address + # IP address to use instead of the user's geo-located IP address. + # @param [Array, String] request_metadata_experiment_ids + # Experiment IDs the current request belongs to. + # @param [String] request_metadata_traffic_source_traffic_sub_id + # Second level identifier to indicate where the traffic comes from. + # An identifier has multiple letters created by a team which redirected the + # traffic to us. + # @param [String] request_metadata_user_overrides_user_id + # Logged-in user ID to impersonate instead of the user's ID. + # @param [String] request_metadata_partners_session_id + # Google Partners session ID. + # @param [String] request_metadata_traffic_source_traffic_source_id + # Identifier to indicate where the traffic comes from. + # An identifier has multiple letters created by a team which redirected the + # traffic to us. + # @param [String] request_metadata_locale + # Locale to use for the current request. + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # Available to use for quota purposes for server-side applications. Can be any + # arbitrary string assigned to a user, but should not exceed 40 characters. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::PartnersV2::GetPartnersStatusResponse] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::PartnersV2::GetPartnersStatusResponse] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def get_partnersstatus(request_metadata_user_overrides_ip_address: nil, request_metadata_experiment_ids: nil, request_metadata_traffic_source_traffic_sub_id: nil, request_metadata_user_overrides_user_id: nil, request_metadata_partners_session_id: nil, request_metadata_traffic_source_traffic_source_id: nil, request_metadata_locale: nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:get, 'v2/partnersstatus', options) + command.response_representation = Google::Apis::PartnersV2::GetPartnersStatusResponse::Representation + command.response_class = Google::Apis::PartnersV2::GetPartnersStatusResponse + command.query['requestMetadata.userOverrides.ipAddress'] = request_metadata_user_overrides_ip_address unless request_metadata_user_overrides_ip_address.nil? + command.query['requestMetadata.experimentIds'] = request_metadata_experiment_ids unless request_metadata_experiment_ids.nil? + command.query['requestMetadata.trafficSource.trafficSubId'] = request_metadata_traffic_source_traffic_sub_id unless request_metadata_traffic_source_traffic_sub_id.nil? + command.query['requestMetadata.userOverrides.userId'] = request_metadata_user_overrides_user_id unless request_metadata_user_overrides_user_id.nil? + command.query['requestMetadata.partnersSessionId'] = request_metadata_partners_session_id unless request_metadata_partners_session_id.nil? + command.query['requestMetadata.trafficSource.trafficSourceId'] = request_metadata_traffic_source_traffic_source_id unless request_metadata_traffic_source_traffic_source_id.nil? + command.query['requestMetadata.locale'] = request_metadata_locale unless request_metadata_locale.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + execute_or_queue_command(command, &block) + end + + # Updates the specified lead. + # @param [Google::Apis::PartnersV2::Lead] lead_object + # @param [String] request_metadata_partners_session_id + # Google Partners session ID. + # @param [String] request_metadata_user_overrides_user_id + # Logged-in user ID to impersonate instead of the user's ID. + # @param [String] request_metadata_traffic_source_traffic_source_id + # Identifier to indicate where the traffic comes from. + # An identifier has multiple letters created by a team which redirected the + # traffic to us. + # @param [String] request_metadata_locale + # Locale to use for the current request. + # @param [String] request_metadata_user_overrides_ip_address + # IP address to use instead of the user's geo-located IP address. + # @param [String] update_mask + # Standard field mask for the set of fields to be updated. + # Required with at least 1 value in FieldMask's paths. + # Only `state` and `adwords_customer_id` are currently supported. + # @param [Array, String] request_metadata_experiment_ids + # Experiment IDs the current request belongs to. + # @param [String] request_metadata_traffic_source_traffic_sub_id + # Second level identifier to indicate where the traffic comes from. + # An identifier has multiple letters created by a team which redirected the + # traffic to us. + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # Available to use for quota purposes for server-side applications. Can be any + # arbitrary string assigned to a user, but should not exceed 40 characters. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::PartnersV2::Lead] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::PartnersV2::Lead] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def update_leads(lead_object = nil, request_metadata_partners_session_id: nil, request_metadata_user_overrides_user_id: nil, request_metadata_traffic_source_traffic_source_id: nil, request_metadata_locale: nil, request_metadata_user_overrides_ip_address: nil, update_mask: nil, request_metadata_experiment_ids: nil, request_metadata_traffic_source_traffic_sub_id: nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:patch, 'v2/leads', options) + command.request_representation = Google::Apis::PartnersV2::Lead::Representation + command.request_object = lead_object + command.response_representation = Google::Apis::PartnersV2::Lead::Representation + command.response_class = Google::Apis::PartnersV2::Lead + command.query['requestMetadata.partnersSessionId'] = request_metadata_partners_session_id unless request_metadata_partners_session_id.nil? + command.query['requestMetadata.userOverrides.userId'] = request_metadata_user_overrides_user_id unless request_metadata_user_overrides_user_id.nil? + command.query['requestMetadata.trafficSource.trafficSourceId'] = request_metadata_traffic_source_traffic_source_id unless request_metadata_traffic_source_traffic_source_id.nil? + command.query['requestMetadata.locale'] = request_metadata_locale unless request_metadata_locale.nil? + command.query['requestMetadata.userOverrides.ipAddress'] = request_metadata_user_overrides_ip_address unless request_metadata_user_overrides_ip_address.nil? + command.query['updateMask'] = update_mask unless update_mask.nil? + command.query['requestMetadata.experimentIds'] = request_metadata_experiment_ids unless request_metadata_experiment_ids.nil? + command.query['requestMetadata.trafficSource.trafficSubId'] = request_metadata_traffic_source_traffic_sub_id unless request_metadata_traffic_source_traffic_sub_id.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + execute_or_queue_command(command, &block) + end + + # Update company. + # Should only be called within the context of an authorized logged in user. + # @param [Google::Apis::PartnersV2::Company] company_object + # @param [String] request_metadata_partners_session_id + # Google Partners session ID. + # @param [String] request_metadata_user_overrides_user_id + # Logged-in user ID to impersonate instead of the user's ID. + # @param [String] request_metadata_traffic_source_traffic_source_id + # Identifier to indicate where the traffic comes from. + # An identifier has multiple letters created by a team which redirected the + # traffic to us. + # @param [String] request_metadata_locale + # Locale to use for the current request. + # @param [String] request_metadata_user_overrides_ip_address + # IP address to use instead of the user's geo-located IP address. + # @param [String] update_mask + # Standard field mask for the set of fields to be updated. + # Required with at least 1 value in FieldMask's paths. + # @param [Array, String] request_metadata_experiment_ids + # Experiment IDs the current request belongs to. + # @param [String] request_metadata_traffic_source_traffic_sub_id + # Second level identifier to indicate where the traffic comes from. + # An identifier has multiple letters created by a team which redirected the + # traffic to us. + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # Available to use for quota purposes for server-side applications. Can be any + # arbitrary string assigned to a user, but should not exceed 40 characters. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::PartnersV2::Company] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::PartnersV2::Company] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def update_companies(company_object = nil, request_metadata_partners_session_id: nil, request_metadata_user_overrides_user_id: nil, request_metadata_traffic_source_traffic_source_id: nil, request_metadata_locale: nil, request_metadata_user_overrides_ip_address: nil, update_mask: nil, request_metadata_experiment_ids: nil, request_metadata_traffic_source_traffic_sub_id: nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:patch, 'v2/companies', options) + command.request_representation = Google::Apis::PartnersV2::Company::Representation + command.request_object = company_object + command.response_representation = Google::Apis::PartnersV2::Company::Representation + command.response_class = Google::Apis::PartnersV2::Company + command.query['requestMetadata.partnersSessionId'] = request_metadata_partners_session_id unless request_metadata_partners_session_id.nil? + command.query['requestMetadata.userOverrides.userId'] = request_metadata_user_overrides_user_id unless request_metadata_user_overrides_user_id.nil? + command.query['requestMetadata.trafficSource.trafficSourceId'] = request_metadata_traffic_source_traffic_source_id unless request_metadata_traffic_source_traffic_source_id.nil? + command.query['requestMetadata.locale'] = request_metadata_locale unless request_metadata_locale.nil? + command.query['requestMetadata.userOverrides.ipAddress'] = request_metadata_user_overrides_ip_address unless request_metadata_user_overrides_ip_address.nil? + command.query['updateMask'] = update_mask unless update_mask.nil? + command.query['requestMetadata.experimentIds'] = request_metadata_experiment_ids unless request_metadata_experiment_ids.nil? + command.query['requestMetadata.trafficSource.trafficSubId'] = request_metadata_traffic_source_traffic_sub_id unless request_metadata_traffic_source_traffic_sub_id.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end diff --git a/generated/google/apis/people_v1.rb b/generated/google/apis/people_v1.rb index 69834c823..e36158a91 100644 --- a/generated/google/apis/people_v1.rb +++ b/generated/google/apis/people_v1.rb @@ -25,10 +25,7 @@ module Google # @see https://developers.google.com/people/ module PeopleV1 VERSION = 'V1' - REVISION = '20170330' - - # View your basic profile info - AUTH_USERINFO_PROFILE = 'https://www.googleapis.com/auth/userinfo.profile' + REVISION = '20170402' # View your email addresses AUTH_USER_EMAILS_READ = 'https://www.googleapis.com/auth/user.emails.read' @@ -53,6 +50,9 @@ module Google # Know the list of people in your circles, your age range, and language AUTH_PLUS_LOGIN = 'https://www.googleapis.com/auth/plus.login' + + # View your basic profile info + AUTH_USERINFO_PROFILE = 'https://www.googleapis.com/auth/userinfo.profile' end end end diff --git a/generated/google/apis/people_v1/classes.rb b/generated/google/apis/people_v1/classes.rb index 191db8007..a53dcf85d 100644 --- a/generated/google/apis/people_v1/classes.rb +++ b/generated/google/apis/people_v1/classes.rb @@ -22,15 +22,827 @@ module Google module Apis module PeopleV1 + # The read-only metadata about a profile. + class ProfileMetadata + include Google::Apis::Core::Hashable + + # The profile object type. + # Corresponds to the JSON property `objectType` + # @return [String] + attr_accessor :object_type + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @object_type = args[:object_type] if args.key?(:object_type) + end + end + + # A person's associated URLs. + class Url + include Google::Apis::Core::Hashable + + # Metadata about a field. + # Corresponds to the JSON property `metadata` + # @return [Google::Apis::PeopleV1::FieldMetadata] + attr_accessor :metadata + + # The type of the URL. The type can be custom or predefined. + # Possible values include, but are not limited to, the following: + # * `home` + # * `work` + # * `blog` + # * `profile` + # * `homePage` + # * `ftp` + # * `reservations` + # * `appInstallPage`: website for a Google+ application. + # * `other` + # Corresponds to the JSON property `type` + # @return [String] + attr_accessor :type + + # The URL. + # Corresponds to the JSON property `value` + # @return [String] + attr_accessor :value + + # The read-only type of the URL translated and formatted in the viewer's + # account locale or the `Accept-Language` HTTP header locale. + # Corresponds to the JSON property `formattedType` + # @return [String] + attr_accessor :formatted_type + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @metadata = args[:metadata] if args.key?(:metadata) + @type = args[:type] if args.key?(:type) + @value = args[:value] if args.key?(:value) + @formatted_type = args[:formatted_type] if args.key?(:formatted_type) + end + end + + # A person's gender. + class Gender + include Google::Apis::Core::Hashable + + # The gender for the person. The gender can be custom or predefined. + # Possible values include, but are not limited to, the + # following: + # * `male` + # * `female` + # * `other` + # * `unknown` + # Corresponds to the JSON property `value` + # @return [String] + attr_accessor :value + + # The read-only value of the gender translated and formatted in the viewer's + # account locale or the `Accept-Language` HTTP header locale. + # Corresponds to the JSON property `formattedValue` + # @return [String] + attr_accessor :formatted_value + + # Metadata about a field. + # Corresponds to the JSON property `metadata` + # @return [Google::Apis::PeopleV1::FieldMetadata] + attr_accessor :metadata + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @value = args[:value] if args.key?(:value) + @formatted_value = args[:formatted_value] if args.key?(:formatted_value) + @metadata = args[:metadata] if args.key?(:metadata) + end + end + + # A person's read-only cover photo. A large image shown on the person's + # profile page that represents who they are or what they care about. + class CoverPhoto + include Google::Apis::Core::Hashable + + # Metadata about a field. + # Corresponds to the JSON property `metadata` + # @return [Google::Apis::PeopleV1::FieldMetadata] + attr_accessor :metadata + + # True if the cover photo is the default cover photo; + # false if the cover photo is a user-provided cover photo. + # Corresponds to the JSON property `default` + # @return [Boolean] + attr_accessor :default + alias_method :default?, :default + + # The URL of the cover photo. + # Corresponds to the JSON property `url` + # @return [String] + attr_accessor :url + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @metadata = args[:metadata] if args.key?(:metadata) + @default = args[:default] if args.key?(:default) + @url = args[:url] if args.key?(:url) + end + end + + # One of the person's interests. + class Interest + include Google::Apis::Core::Hashable + + # Metadata about a field. + # Corresponds to the JSON property `metadata` + # @return [Google::Apis::PeopleV1::FieldMetadata] + attr_accessor :metadata + + # The interest; for example, `stargazing`. + # Corresponds to the JSON property `value` + # @return [String] + attr_accessor :value + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @metadata = args[:metadata] if args.key?(:metadata) + @value = args[:value] if args.key?(:value) + end + end + + # A person's instant messaging client. + class ImClient + include Google::Apis::Core::Hashable + + # The read-only protocol of the IM client formatted in the viewer's account + # locale or the `Accept-Language` HTTP header locale. + # Corresponds to the JSON property `formattedProtocol` + # @return [String] + attr_accessor :formatted_protocol + + # The read-only type of the IM client translated and formatted in the + # viewer's account locale or the `Accept-Language` HTTP header locale. + # Corresponds to the JSON property `formattedType` + # @return [String] + attr_accessor :formatted_type + + # The protocol of the IM client. The protocol can be custom or predefined. + # Possible values include, but are not limited to, the following: + # * `aim` + # * `msn` + # * `yahoo` + # * `skype` + # * `qq` + # * `googleTalk` + # * `icq` + # * `jabber` + # * `netMeeting` + # Corresponds to the JSON property `protocol` + # @return [String] + attr_accessor :protocol + + # Metadata about a field. + # Corresponds to the JSON property `metadata` + # @return [Google::Apis::PeopleV1::FieldMetadata] + attr_accessor :metadata + + # The type of the IM client. The type can be custom or predefined. + # Possible values include, but are not limited to, the following: + # * `home` + # * `work` + # * `other` + # Corresponds to the JSON property `type` + # @return [String] + attr_accessor :type + + # The user name used in the IM client. + # Corresponds to the JSON property `username` + # @return [String] + attr_accessor :username + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @formatted_protocol = args[:formatted_protocol] if args.key?(:formatted_protocol) + @formatted_type = args[:formatted_type] if args.key?(:formatted_type) + @protocol = args[:protocol] if args.key?(:protocol) + @metadata = args[:metadata] if args.key?(:metadata) + @type = args[:type] if args.key?(:type) + @username = args[:username] if args.key?(:username) + end + end + + # A person's email address. + class EmailAddress + include Google::Apis::Core::Hashable + + # The email address. + # Corresponds to the JSON property `value` + # @return [String] + attr_accessor :value + + # The read-only type of the email address translated and formatted in the + # viewer's account locale or the `Accept-Language` HTTP header locale. + # Corresponds to the JSON property `formattedType` + # @return [String] + attr_accessor :formatted_type + + # The display name of the email. + # Corresponds to the JSON property `displayName` + # @return [String] + attr_accessor :display_name + + # Metadata about a field. + # Corresponds to the JSON property `metadata` + # @return [Google::Apis::PeopleV1::FieldMetadata] + attr_accessor :metadata + + # The type of the email address. The type can be custom or predefined. + # Possible values include, but are not limited to, the following: + # * `home` + # * `work` + # * `other` + # Corresponds to the JSON property `type` + # @return [String] + attr_accessor :type + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @value = args[:value] if args.key?(:value) + @formatted_type = args[:formatted_type] if args.key?(:formatted_type) + @display_name = args[:display_name] if args.key?(:display_name) + @metadata = args[:metadata] if args.key?(:metadata) + @type = args[:type] if args.key?(:type) + end + end + + # A person's nickname. + class Nickname + include Google::Apis::Core::Hashable + + # Metadata about a field. + # Corresponds to the JSON property `metadata` + # @return [Google::Apis::PeopleV1::FieldMetadata] + attr_accessor :metadata + + # The type of the nickname. + # Corresponds to the JSON property `type` + # @return [String] + attr_accessor :type + + # The nickname. + # Corresponds to the JSON property `value` + # @return [String] + attr_accessor :value + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @metadata = args[:metadata] if args.key?(:metadata) + @type = args[:type] if args.key?(:type) + @value = args[:value] if args.key?(:value) + end + end + + # A skill that the person has. + class Skill + include Google::Apis::Core::Hashable + + # The skill; for example, `underwater basket weaving`. + # Corresponds to the JSON property `value` + # @return [String] + attr_accessor :value + + # Metadata about a field. + # Corresponds to the JSON property `metadata` + # @return [Google::Apis::PeopleV1::FieldMetadata] + attr_accessor :metadata + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @value = args[:value] if args.key?(:value) + @metadata = args[:metadata] if args.key?(:metadata) + end + end + + # A Google Apps Domain membership. + class DomainMembership + include Google::Apis::Core::Hashable + + # True if the person is in the viewer's Google Apps domain. + # Corresponds to the JSON property `inViewerDomain` + # @return [Boolean] + attr_accessor :in_viewer_domain + alias_method :in_viewer_domain?, :in_viewer_domain + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @in_viewer_domain = args[:in_viewer_domain] if args.key?(:in_viewer_domain) + end + end + + # A person's read-only membership in a group. + class Membership + include Google::Apis::Core::Hashable + + # Metadata about a field. + # Corresponds to the JSON property `metadata` + # @return [Google::Apis::PeopleV1::FieldMetadata] + attr_accessor :metadata + + # A Google contact group membership. + # Corresponds to the JSON property `contactGroupMembership` + # @return [Google::Apis::PeopleV1::ContactGroupMembership] + attr_accessor :contact_group_membership + + # A Google Apps Domain membership. + # Corresponds to the JSON property `domainMembership` + # @return [Google::Apis::PeopleV1::DomainMembership] + attr_accessor :domain_membership + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @metadata = args[:metadata] if args.key?(:metadata) + @contact_group_membership = args[:contact_group_membership] if args.key?(:contact_group_membership) + @domain_membership = args[:domain_membership] if args.key?(:domain_membership) + end + end + + # A person's read-only relationship status. + class RelationshipStatus + include Google::Apis::Core::Hashable + + # The read-only value of the relationship status translated and formatted in + # the viewer's account locale or the `Accept-Language` HTTP header locale. + # Corresponds to the JSON property `formattedValue` + # @return [String] + attr_accessor :formatted_value + + # Metadata about a field. + # Corresponds to the JSON property `metadata` + # @return [Google::Apis::PeopleV1::FieldMetadata] + attr_accessor :metadata + + # The relationship status. The value can be custom or predefined. + # Possible values include, but are not limited to, the following: + # * `single` + # * `inARelationship` + # * `engaged` + # * `married` + # * `itsComplicated` + # * `openRelationship` + # * `widowed` + # * `inDomesticPartnership` + # * `inCivilUnion` + # Corresponds to the JSON property `value` + # @return [String] + attr_accessor :value + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @formatted_value = args[:formatted_value] if args.key?(:formatted_value) + @metadata = args[:metadata] if args.key?(:metadata) + @value = args[:value] if args.key?(:value) + end + end + + # A read-only brief one-line description of the person. + class Tagline + include Google::Apis::Core::Hashable + + # The tagline. + # Corresponds to the JSON property `value` + # @return [String] + attr_accessor :value + + # Metadata about a field. + # Corresponds to the JSON property `metadata` + # @return [Google::Apis::PeopleV1::FieldMetadata] + attr_accessor :metadata + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @value = args[:value] if args.key?(:value) + @metadata = args[:metadata] if args.key?(:metadata) + end + end + + # Represents a whole calendar date, for example a date of birth. The time + # of day and time zone are either specified elsewhere or are not + # significant. The date is relative to the + # [Proleptic Gregorian Calendar](https://en.wikipedia.org/wiki/ + # Proleptic_Gregorian_calendar). + # The day may be 0 to represent a year and month where the day is not + # significant. The year may be 0 to represent a month and day independent + # of year; for example, anniversary date. + class Date + include Google::Apis::Core::Hashable + + # Year of date. Must be from 1 to 9999, or 0 if specifying a date without + # a year. + # Corresponds to the JSON property `year` + # @return [Fixnum] + attr_accessor :year + + # Day of month. Must be from 1 to 31 and valid for the year and month, or 0 + # if specifying a year/month where the day is not significant. + # Corresponds to the JSON property `day` + # @return [Fixnum] + attr_accessor :day + + # Month of year. Must be from 1 to 12. + # Corresponds to the JSON property `month` + # @return [Fixnum] + attr_accessor :month + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @year = args[:year] if args.key?(:year) + @day = args[:day] if args.key?(:day) + @month = args[:month] if args.key?(:month) + end + end + + # A person's name. If the name is a mononym, the family name is empty. + class Name + include Google::Apis::Core::Hashable + + # The read-only display name formatted according to the locale specified by + # the viewer's account or the Accept-Language HTTP header. + # Corresponds to the JSON property `displayName` + # @return [String] + attr_accessor :display_name + + # The honorific suffixes, such as `Jr.` + # Corresponds to the JSON property `honorificSuffix` + # @return [String] + attr_accessor :honorific_suffix + + # The honorific prefixes, such as `Mrs.` or `Dr.` + # Corresponds to the JSON property `honorificPrefix` + # @return [String] + attr_accessor :honorific_prefix + + # The honorific suffixes spelled as they sound. + # Corresponds to the JSON property `phoneticHonorificSuffix` + # @return [String] + attr_accessor :phonetic_honorific_suffix + + # The given name. + # Corresponds to the JSON property `givenName` + # @return [String] + attr_accessor :given_name + + # The middle name(s). + # Corresponds to the JSON property `middleName` + # @return [String] + attr_accessor :middle_name + + # The honorific prefixes spelled as they sound. + # Corresponds to the JSON property `phoneticHonorificPrefix` + # @return [String] + attr_accessor :phonetic_honorific_prefix + + # The given name spelled as it sounds. + # Corresponds to the JSON property `phoneticGivenName` + # @return [String] + attr_accessor :phonetic_given_name + + # The family name spelled as it sounds. + # Corresponds to the JSON property `phoneticFamilyName` + # @return [String] + attr_accessor :phonetic_family_name + + # The family name. + # Corresponds to the JSON property `familyName` + # @return [String] + attr_accessor :family_name + + # Metadata about a field. + # Corresponds to the JSON property `metadata` + # @return [Google::Apis::PeopleV1::FieldMetadata] + attr_accessor :metadata + + # The middle name(s) spelled as they sound. + # Corresponds to the JSON property `phoneticMiddleName` + # @return [String] + attr_accessor :phonetic_middle_name + + # The full name spelled as it sounds. + # Corresponds to the JSON property `phoneticFullName` + # @return [String] + attr_accessor :phonetic_full_name + + # The read-only display name with the last name first formatted according to + # the locale specified by the viewer's account or the + # Accept-Language HTTP header. + # Corresponds to the JSON property `displayNameLastFirst` + # @return [String] + attr_accessor :display_name_last_first + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @display_name = args[:display_name] if args.key?(:display_name) + @honorific_suffix = args[:honorific_suffix] if args.key?(:honorific_suffix) + @honorific_prefix = args[:honorific_prefix] if args.key?(:honorific_prefix) + @phonetic_honorific_suffix = args[:phonetic_honorific_suffix] if args.key?(:phonetic_honorific_suffix) + @given_name = args[:given_name] if args.key?(:given_name) + @middle_name = args[:middle_name] if args.key?(:middle_name) + @phonetic_honorific_prefix = args[:phonetic_honorific_prefix] if args.key?(:phonetic_honorific_prefix) + @phonetic_given_name = args[:phonetic_given_name] if args.key?(:phonetic_given_name) + @phonetic_family_name = args[:phonetic_family_name] if args.key?(:phonetic_family_name) + @family_name = args[:family_name] if args.key?(:family_name) + @metadata = args[:metadata] if args.key?(:metadata) + @phonetic_middle_name = args[:phonetic_middle_name] if args.key?(:phonetic_middle_name) + @phonetic_full_name = args[:phonetic_full_name] if args.key?(:phonetic_full_name) + @display_name_last_first = args[:display_name_last_first] if args.key?(:display_name_last_first) + end + end + + # A person's bragging rights. + class BraggingRights + include Google::Apis::Core::Hashable + + # Metadata about a field. + # Corresponds to the JSON property `metadata` + # @return [Google::Apis::PeopleV1::FieldMetadata] + attr_accessor :metadata + + # The bragging rights; for example, `climbed mount everest`. + # Corresponds to the JSON property `value` + # @return [String] + attr_accessor :value + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @metadata = args[:metadata] if args.key?(:metadata) + @value = args[:value] if args.key?(:value) + end + end + + # A person's locale preference. + class Locale + include Google::Apis::Core::Hashable + + # Metadata about a field. + # Corresponds to the JSON property `metadata` + # @return [Google::Apis::PeopleV1::FieldMetadata] + attr_accessor :metadata + + # The well-formed [IETF BCP 47](https://tools.ietf.org/html/bcp47) + # language tag representing the locale. + # Corresponds to the JSON property `value` + # @return [String] + attr_accessor :value + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @metadata = args[:metadata] if args.key?(:metadata) + @value = args[:value] if args.key?(:value) + end + end + + # A person's past or current organization. Overlapping date ranges are + # permitted. + class Organization + include Google::Apis::Core::Hashable + + # The domain name associated with the organization; for example, `google.com`. + # Corresponds to the JSON property `domain` + # @return [String] + attr_accessor :domain + + # The person's department at the organization. + # Corresponds to the JSON property `department` + # @return [String] + attr_accessor :department + + # The phonetic name of the organization. + # Corresponds to the JSON property `phoneticName` + # @return [String] + attr_accessor :phonetic_name + + # The type of the organization. The type can be custom or predefined. + # Possible values include, but are not limited to, the following: + # * `work` + # * `school` + # Corresponds to the JSON property `type` + # @return [String] + attr_accessor :type + + # The person's job description at the organization. + # Corresponds to the JSON property `jobDescription` + # @return [String] + attr_accessor :job_description + + # Represents a whole calendar date, for example a date of birth. The time + # of day and time zone are either specified elsewhere or are not + # significant. The date is relative to the + # [Proleptic Gregorian Calendar](https://en.wikipedia.org/wiki/ + # Proleptic_Gregorian_calendar). + # The day may be 0 to represent a year and month where the day is not + # significant. The year may be 0 to represent a month and day independent + # of year; for example, anniversary date. + # Corresponds to the JSON property `endDate` + # @return [Google::Apis::PeopleV1::Date] + attr_accessor :end_date + + # The symbol associated with the organization; for example, a stock ticker + # symbol, abbreviation, or acronym. + # Corresponds to the JSON property `symbol` + # @return [String] + attr_accessor :symbol + + # The name of the organization. + # Corresponds to the JSON property `name` + # @return [String] + attr_accessor :name + + # Metadata about a field. + # Corresponds to the JSON property `metadata` + # @return [Google::Apis::PeopleV1::FieldMetadata] + attr_accessor :metadata + + # The location of the organization office the person works at. + # Corresponds to the JSON property `location` + # @return [String] + attr_accessor :location + + # The person's job title at the organization. + # Corresponds to the JSON property `title` + # @return [String] + attr_accessor :title + + # True if the organization is the person's current organization; + # false if the organization is a past organization. + # Corresponds to the JSON property `current` + # @return [Boolean] + attr_accessor :current + alias_method :current?, :current + + # Represents a whole calendar date, for example a date of birth. The time + # of day and time zone are either specified elsewhere or are not + # significant. The date is relative to the + # [Proleptic Gregorian Calendar](https://en.wikipedia.org/wiki/ + # Proleptic_Gregorian_calendar). + # The day may be 0 to represent a year and month where the day is not + # significant. The year may be 0 to represent a month and day independent + # of year; for example, anniversary date. + # Corresponds to the JSON property `startDate` + # @return [Google::Apis::PeopleV1::Date] + attr_accessor :start_date + + # The read-only type of the organization translated and formatted in the + # viewer's account locale or the `Accept-Language` HTTP header locale. + # Corresponds to the JSON property `formattedType` + # @return [String] + attr_accessor :formatted_type + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @domain = args[:domain] if args.key?(:domain) + @department = args[:department] if args.key?(:department) + @phonetic_name = args[:phonetic_name] if args.key?(:phonetic_name) + @type = args[:type] if args.key?(:type) + @job_description = args[:job_description] if args.key?(:job_description) + @end_date = args[:end_date] if args.key?(:end_date) + @symbol = args[:symbol] if args.key?(:symbol) + @name = args[:name] if args.key?(:name) + @metadata = args[:metadata] if args.key?(:metadata) + @location = args[:location] if args.key?(:location) + @title = args[:title] if args.key?(:title) + @current = args[:current] if args.key?(:current) + @start_date = args[:start_date] if args.key?(:start_date) + @formatted_type = args[:formatted_type] if args.key?(:formatted_type) + end + end + + # A person's short biography. + class Biography + include Google::Apis::Core::Hashable + + # The content type of the biography. + # Corresponds to the JSON property `contentType` + # @return [String] + attr_accessor :content_type + + # Metadata about a field. + # Corresponds to the JSON property `metadata` + # @return [Google::Apis::PeopleV1::FieldMetadata] + attr_accessor :metadata + + # The short biography. + # Corresponds to the JSON property `value` + # @return [String] + attr_accessor :value + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @content_type = args[:content_type] if args.key?(:content_type) + @metadata = args[:metadata] if args.key?(:metadata) + @value = args[:value] if args.key?(:value) + end + end + + # A person's age range. + class AgeRangeType + include Google::Apis::Core::Hashable + + # The age range. + # Corresponds to the JSON property `ageRange` + # @return [String] + attr_accessor :age_range + + # Metadata about a field. + # Corresponds to the JSON property `metadata` + # @return [Google::Apis::PeopleV1::FieldMetadata] + attr_accessor :metadata + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @age_range = args[:age_range] if args.key?(:age_range) + @metadata = args[:metadata] if args.key?(:metadata) + end + end + # Metadata about a field. class FieldMetadata include Google::Apis::Core::Hashable - # The source of a field. - # Corresponds to the JSON property `source` - # @return [Google::Apis::PeopleV1::Source] - attr_accessor :source - # True if the field is verified; false if the field is unverified. A # verified field is typically a name, email address, phone number, or # website that has been confirmed to be owned by the person. @@ -46,15 +858,20 @@ module Google attr_accessor :primary alias_method :primary?, :primary + # The source of a field. + # Corresponds to the JSON property `source` + # @return [Google::Apis::PeopleV1::Source] + attr_accessor :source + def initialize(**args) update!(**args) end # Update properties of this object def update!(**args) - @source = args[:source] if args.key?(:source) @verified = args[:verified] if args.key?(:verified) @primary = args[:primary] if args.key?(:primary) + @source = args[:source] if args.key?(:source) end end @@ -62,11 +879,6 @@ module Google class Source include Google::Apis::Core::Hashable - # The read-only metadata about a profile. - # Corresponds to the JSON property `profileMetadata` - # @return [Google::Apis::PeopleV1::ProfileMetadata] - attr_accessor :profile_metadata - # The source type. # Corresponds to the JSON property `type` # @return [String] @@ -84,16 +896,21 @@ module Google # @return [String] attr_accessor :id + # The read-only metadata about a profile. + # Corresponds to the JSON property `profileMetadata` + # @return [Google::Apis::PeopleV1::ProfileMetadata] + attr_accessor :profile_metadata + def initialize(**args) update!(**args) end # Update properties of this object def update!(**args) - @profile_metadata = args[:profile_metadata] if args.key?(:profile_metadata) @type = args[:type] if args.key?(:type) @etag = args[:etag] if args.key?(:etag) @id = args[:id] if args.key?(:id) + @profile_metadata = args[:profile_metadata] if args.key?(:profile_metadata) end end @@ -266,11 +1083,6 @@ module Google class Person include Google::Apis::Core::Hashable - # The person's cover photos. - # Corresponds to the JSON property `coverPhotos` - # @return [Array] - attr_accessor :cover_photos - # The person's instant messaging clients. # Corresponds to the JSON property `imClients` # @return [Array] @@ -301,16 +1113,16 @@ module Google # @return [Array] attr_accessor :nicknames - # The person's relations. - # Corresponds to the JSON property `relations` - # @return [Array] - attr_accessor :relations - # The person's names. # Corresponds to the JSON property `names` # @return [Array] attr_accessor :names + # The person's relations. + # Corresponds to the JSON property `relations` + # @return [Array] + attr_accessor :relations + # The person's occupations. # Corresponds to the JSON property `occupations` # @return [Array] @@ -352,17 +1164,17 @@ module Google # @return [Array] attr_accessor :genders + # The person's interests. + # Corresponds to the JSON property `interests` + # @return [Array] + attr_accessor :interests + # The resource name for the person, assigned by the server. An ASCII string # with a max length of 27 characters. Always starts with `people/`. # Corresponds to the JSON property `resourceName` # @return [String] attr_accessor :resource_name - # The person's interests. - # Corresponds to the JSON property `interests` - # @return [Array] - attr_accessor :interests - # The person's biographies. # Corresponds to the JSON property `biographies` # @return [Array] @@ -418,21 +1230,25 @@ module Google # @return [Array] attr_accessor :phone_numbers + # The person's cover photos. + # Corresponds to the JSON property `coverPhotos` + # @return [Array] + attr_accessor :cover_photos + def initialize(**args) update!(**args) end # Update properties of this object def update!(**args) - @cover_photos = args[:cover_photos] if args.key?(:cover_photos) @im_clients = args[:im_clients] if args.key?(:im_clients) @birthdays = args[:birthdays] if args.key?(:birthdays) @locales = args[:locales] if args.key?(:locales) @relationship_interests = args[:relationship_interests] if args.key?(:relationship_interests) @urls = args[:urls] if args.key?(:urls) @nicknames = args[:nicknames] if args.key?(:nicknames) - @relations = args[:relations] if args.key?(:relations) @names = args[:names] if args.key?(:names) + @relations = args[:relations] if args.key?(:relations) @occupations = args[:occupations] if args.key?(:occupations) @email_addresses = args[:email_addresses] if args.key?(:email_addresses) @organizations = args[:organizations] if args.key?(:organizations) @@ -441,8 +1257,8 @@ module Google @metadata = args[:metadata] if args.key?(:metadata) @residences = args[:residences] if args.key?(:residences) @genders = args[:genders] if args.key?(:genders) - @resource_name = args[:resource_name] if args.key?(:resource_name) @interests = args[:interests] if args.key?(:interests) + @resource_name = args[:resource_name] if args.key?(:resource_name) @biographies = args[:biographies] if args.key?(:biographies) @skills = args[:skills] if args.key?(:skills) @relationship_statuses = args[:relationship_statuses] if args.key?(:relationship_statuses) @@ -454,6 +1270,7 @@ module Google @events = args[:events] if args.key?(:events) @memberships = args[:memberships] if args.key?(:memberships) @phone_numbers = args[:phone_numbers] if args.key?(:phone_numbers) + @cover_photos = args[:cover_photos] if args.key?(:cover_photos) end end @@ -481,24 +1298,24 @@ module Google class Photo include Google::Apis::Core::Hashable - # The URL of the photo. - # Corresponds to the JSON property `url` - # @return [String] - attr_accessor :url - # Metadata about a field. # Corresponds to the JSON property `metadata` # @return [Google::Apis::PeopleV1::FieldMetadata] attr_accessor :metadata + # The URL of the photo. + # Corresponds to the JSON property `url` + # @return [String] + attr_accessor :url + def initialize(**args) update!(**args) end # Update properties of this object def update!(**args) - @url = args[:url] if args.key?(:url) @metadata = args[:metadata] if args.key?(:metadata) + @url = args[:url] if args.key?(:url) end end @@ -638,11 +1455,61 @@ module Google end end + # A person's past or current residence. + class Residence + include Google::Apis::Core::Hashable + + # Metadata about a field. + # Corresponds to the JSON property `metadata` + # @return [Google::Apis::PeopleV1::FieldMetadata] + attr_accessor :metadata + + # True if the residence is the person's current residence; + # false if the residence is a past residence. + # Corresponds to the JSON property `current` + # @return [Boolean] + attr_accessor :current + alias_method :current?, :current + + # The address of the residence. + # Corresponds to the JSON property `value` + # @return [String] + attr_accessor :value + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @metadata = args[:metadata] if args.key?(:metadata) + @current = args[:current] if args.key?(:current) + @value = args[:value] if args.key?(:value) + end + end + # A person's physical address. May be a P.O. box or street address. All fields # are optional. class Address include Google::Apis::Core::Hashable + # The [ISO 3166-1 alpha-2](http://www.iso.org/iso/country_codes.htm) country + # code of the address. + # Corresponds to the JSON property `countryCode` + # @return [String] + attr_accessor :country_code + + # The read-only type of the address translated and formatted in the viewer's + # account locale or the `Accept-Language` HTTP header locale. + # Corresponds to the JSON property `formattedType` + # @return [String] + attr_accessor :formatted_type + + # The city of the address. + # Corresponds to the JSON property `city` + # @return [String] + attr_accessor :city + # The unstructured value of the address. If this is not set by the user it # will be automatically constructed from structured values. # Corresponds to the JSON property `formattedValue` @@ -693,29 +1560,15 @@ module Google # @return [Google::Apis::PeopleV1::FieldMetadata] attr_accessor :metadata - # The [ISO 3166-1 alpha-2](http://www.iso.org/iso/country_codes.htm) country - # code of the address. - # Corresponds to the JSON property `countryCode` - # @return [String] - attr_accessor :country_code - - # The read-only type of the address translated and formatted in the viewer's - # account locale or the `Accept-Language` HTTP header locale. - # Corresponds to the JSON property `formattedType` - # @return [String] - attr_accessor :formatted_type - - # The city of the address. - # Corresponds to the JSON property `city` - # @return [String] - attr_accessor :city - def initialize(**args) update!(**args) end # Update properties of this object def update!(**args) + @country_code = args[:country_code] if args.key?(:country_code) + @formatted_type = args[:formatted_type] if args.key?(:formatted_type) + @city = args[:city] if args.key?(:city) @formatted_value = args[:formatted_value] if args.key?(:formatted_value) @country = args[:country] if args.key?(:country) @type = args[:type] if args.key?(:type) @@ -725,42 +1578,6 @@ module Google @region = args[:region] if args.key?(:region) @street_address = args[:street_address] if args.key?(:street_address) @metadata = args[:metadata] if args.key?(:metadata) - @country_code = args[:country_code] if args.key?(:country_code) - @formatted_type = args[:formatted_type] if args.key?(:formatted_type) - @city = args[:city] if args.key?(:city) - end - end - - # A person's past or current residence. - class Residence - include Google::Apis::Core::Hashable - - # The address of the residence. - # Corresponds to the JSON property `value` - # @return [String] - attr_accessor :value - - # Metadata about a field. - # Corresponds to the JSON property `metadata` - # @return [Google::Apis::PeopleV1::FieldMetadata] - attr_accessor :metadata - - # True if the residence is the person's current residence; - # false if the residence is a past residence. - # Corresponds to the JSON property `current` - # @return [Boolean] - attr_accessor :current - alias_method :current?, :current - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @value = args[:value] if args.key?(:value) - @metadata = args[:metadata] if args.key?(:metadata) - @current = args[:current] if args.key?(:current) end end @@ -792,6 +1609,14 @@ module Google class PersonMetadata include Google::Apis::Core::Hashable + # True if the person resource has been deleted. Populated only for + # [`connections.list`](/people/api/rest/v1/people.connections/list) requests + # that include a sync token. + # Corresponds to the JSON property `deleted` + # @return [Boolean] + attr_accessor :deleted + alias_method :deleted?, :deleted + # DEPRECATED(Please read person.metadata.sources.profile_metadata instead). # The type of the person object. # Corresponds to the JSON property `objectType` @@ -818,25 +1643,17 @@ module Google # @return [Array] attr_accessor :previous_resource_names - # True if the person resource has been deleted. Populated only for - # [`connections.list`](/people/api/rest/v1/people.connections/list) requests - # that include a sync token. - # Corresponds to the JSON property `deleted` - # @return [Boolean] - attr_accessor :deleted - alias_method :deleted?, :deleted - def initialize(**args) update!(**args) end # Update properties of this object def update!(**args) + @deleted = args[:deleted] if args.key?(:deleted) @object_type = args[:object_type] if args.key?(:object_type) @linked_people_resource_names = args[:linked_people_resource_names] if args.key?(:linked_people_resource_names) @sources = args[:sources] if args.key?(:sources) @previous_resource_names = args[:previous_resource_names] if args.key?(:previous_resource_names) - @deleted = args[:deleted] if args.key?(:deleted) end end @@ -887,823 +1704,6 @@ module Google @formatted_type = args[:formatted_type] if args.key?(:formatted_type) end end - - # The read-only metadata about a profile. - class ProfileMetadata - include Google::Apis::Core::Hashable - - # The profile object type. - # Corresponds to the JSON property `objectType` - # @return [String] - attr_accessor :object_type - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @object_type = args[:object_type] if args.key?(:object_type) - end - end - - # A person's associated URLs. - class Url - include Google::Apis::Core::Hashable - - # Metadata about a field. - # Corresponds to the JSON property `metadata` - # @return [Google::Apis::PeopleV1::FieldMetadata] - attr_accessor :metadata - - # The type of the URL. The type can be custom or predefined. - # Possible values include, but are not limited to, the following: - # * `home` - # * `work` - # * `blog` - # * `profile` - # * `homePage` - # * `ftp` - # * `reservations` - # * `appInstallPage`: website for a Google+ application. - # * `other` - # Corresponds to the JSON property `type` - # @return [String] - attr_accessor :type - - # The URL. - # Corresponds to the JSON property `value` - # @return [String] - attr_accessor :value - - # The read-only type of the URL translated and formatted in the viewer's - # account locale or the `Accept-Language` HTTP header locale. - # Corresponds to the JSON property `formattedType` - # @return [String] - attr_accessor :formatted_type - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @metadata = args[:metadata] if args.key?(:metadata) - @type = args[:type] if args.key?(:type) - @value = args[:value] if args.key?(:value) - @formatted_type = args[:formatted_type] if args.key?(:formatted_type) - end - end - - # A person's gender. - class Gender - include Google::Apis::Core::Hashable - - # The read-only value of the gender translated and formatted in the viewer's - # account locale or the `Accept-Language` HTTP header locale. - # Corresponds to the JSON property `formattedValue` - # @return [String] - attr_accessor :formatted_value - - # Metadata about a field. - # Corresponds to the JSON property `metadata` - # @return [Google::Apis::PeopleV1::FieldMetadata] - attr_accessor :metadata - - # The gender for the person. The gender can be custom or predefined. - # Possible values include, but are not limited to, the - # following: - # * `male` - # * `female` - # * `other` - # * `unknown` - # Corresponds to the JSON property `value` - # @return [String] - attr_accessor :value - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @formatted_value = args[:formatted_value] if args.key?(:formatted_value) - @metadata = args[:metadata] if args.key?(:metadata) - @value = args[:value] if args.key?(:value) - end - end - - # A person's read-only cover photo. A large image shown on the person's - # profile page that represents who they are or what they care about. - class CoverPhoto - include Google::Apis::Core::Hashable - - # The URL of the cover photo. - # Corresponds to the JSON property `url` - # @return [String] - attr_accessor :url - - # Metadata about a field. - # Corresponds to the JSON property `metadata` - # @return [Google::Apis::PeopleV1::FieldMetadata] - attr_accessor :metadata - - # True if the cover photo is the default cover photo; - # false if the cover photo is a user-provided cover photo. - # Corresponds to the JSON property `default` - # @return [Boolean] - attr_accessor :default - alias_method :default?, :default - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @url = args[:url] if args.key?(:url) - @metadata = args[:metadata] if args.key?(:metadata) - @default = args[:default] if args.key?(:default) - end - end - - # One of the person's interests. - class Interest - include Google::Apis::Core::Hashable - - # Metadata about a field. - # Corresponds to the JSON property `metadata` - # @return [Google::Apis::PeopleV1::FieldMetadata] - attr_accessor :metadata - - # The interest; for example, `stargazing`. - # Corresponds to the JSON property `value` - # @return [String] - attr_accessor :value - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @metadata = args[:metadata] if args.key?(:metadata) - @value = args[:value] if args.key?(:value) - end - end - - # A person's instant messaging client. - class ImClient - include Google::Apis::Core::Hashable - - # The read-only protocol of the IM client formatted in the viewer's account - # locale or the `Accept-Language` HTTP header locale. - # Corresponds to the JSON property `formattedProtocol` - # @return [String] - attr_accessor :formatted_protocol - - # The read-only type of the IM client translated and formatted in the - # viewer's account locale or the `Accept-Language` HTTP header locale. - # Corresponds to the JSON property `formattedType` - # @return [String] - attr_accessor :formatted_type - - # Metadata about a field. - # Corresponds to the JSON property `metadata` - # @return [Google::Apis::PeopleV1::FieldMetadata] - attr_accessor :metadata - - # The type of the IM client. The type can be custom or predefined. - # Possible values include, but are not limited to, the following: - # * `home` - # * `work` - # * `other` - # Corresponds to the JSON property `type` - # @return [String] - attr_accessor :type - - # The protocol of the IM client. The protocol can be custom or predefined. - # Possible values include, but are not limited to, the following: - # * `aim` - # * `msn` - # * `yahoo` - # * `skype` - # * `qq` - # * `googleTalk` - # * `icq` - # * `jabber` - # * `netMeeting` - # Corresponds to the JSON property `protocol` - # @return [String] - attr_accessor :protocol - - # The user name used in the IM client. - # Corresponds to the JSON property `username` - # @return [String] - attr_accessor :username - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @formatted_protocol = args[:formatted_protocol] if args.key?(:formatted_protocol) - @formatted_type = args[:formatted_type] if args.key?(:formatted_type) - @metadata = args[:metadata] if args.key?(:metadata) - @type = args[:type] if args.key?(:type) - @protocol = args[:protocol] if args.key?(:protocol) - @username = args[:username] if args.key?(:username) - end - end - - # A person's email address. - class EmailAddress - include Google::Apis::Core::Hashable - - # The display name of the email. - # Corresponds to the JSON property `displayName` - # @return [String] - attr_accessor :display_name - - # Metadata about a field. - # Corresponds to the JSON property `metadata` - # @return [Google::Apis::PeopleV1::FieldMetadata] - attr_accessor :metadata - - # The type of the email address. The type can be custom or predefined. - # Possible values include, but are not limited to, the following: - # * `home` - # * `work` - # * `other` - # Corresponds to the JSON property `type` - # @return [String] - attr_accessor :type - - # The email address. - # Corresponds to the JSON property `value` - # @return [String] - attr_accessor :value - - # The read-only type of the email address translated and formatted in the - # viewer's account locale or the `Accept-Language` HTTP header locale. - # Corresponds to the JSON property `formattedType` - # @return [String] - attr_accessor :formatted_type - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @display_name = args[:display_name] if args.key?(:display_name) - @metadata = args[:metadata] if args.key?(:metadata) - @type = args[:type] if args.key?(:type) - @value = args[:value] if args.key?(:value) - @formatted_type = args[:formatted_type] if args.key?(:formatted_type) - end - end - - # A person's nickname. - class Nickname - include Google::Apis::Core::Hashable - - # Metadata about a field. - # Corresponds to the JSON property `metadata` - # @return [Google::Apis::PeopleV1::FieldMetadata] - attr_accessor :metadata - - # The type of the nickname. - # Corresponds to the JSON property `type` - # @return [String] - attr_accessor :type - - # The nickname. - # Corresponds to the JSON property `value` - # @return [String] - attr_accessor :value - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @metadata = args[:metadata] if args.key?(:metadata) - @type = args[:type] if args.key?(:type) - @value = args[:value] if args.key?(:value) - end - end - - # A skill that the person has. - class Skill - include Google::Apis::Core::Hashable - - # Metadata about a field. - # Corresponds to the JSON property `metadata` - # @return [Google::Apis::PeopleV1::FieldMetadata] - attr_accessor :metadata - - # The skill; for example, `underwater basket weaving`. - # Corresponds to the JSON property `value` - # @return [String] - attr_accessor :value - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @metadata = args[:metadata] if args.key?(:metadata) - @value = args[:value] if args.key?(:value) - end - end - - # A Google Apps Domain membership. - class DomainMembership - include Google::Apis::Core::Hashable - - # True if the person is in the viewer's Google Apps domain. - # Corresponds to the JSON property `inViewerDomain` - # @return [Boolean] - attr_accessor :in_viewer_domain - alias_method :in_viewer_domain?, :in_viewer_domain - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @in_viewer_domain = args[:in_viewer_domain] if args.key?(:in_viewer_domain) - end - end - - # A person's read-only membership in a group. - class Membership - include Google::Apis::Core::Hashable - - # A Google contact group membership. - # Corresponds to the JSON property `contactGroupMembership` - # @return [Google::Apis::PeopleV1::ContactGroupMembership] - attr_accessor :contact_group_membership - - # A Google Apps Domain membership. - # Corresponds to the JSON property `domainMembership` - # @return [Google::Apis::PeopleV1::DomainMembership] - attr_accessor :domain_membership - - # Metadata about a field. - # Corresponds to the JSON property `metadata` - # @return [Google::Apis::PeopleV1::FieldMetadata] - attr_accessor :metadata - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @contact_group_membership = args[:contact_group_membership] if args.key?(:contact_group_membership) - @domain_membership = args[:domain_membership] if args.key?(:domain_membership) - @metadata = args[:metadata] if args.key?(:metadata) - end - end - - # A person's read-only relationship status. - class RelationshipStatus - include Google::Apis::Core::Hashable - - # The read-only value of the relationship status translated and formatted in - # the viewer's account locale or the `Accept-Language` HTTP header locale. - # Corresponds to the JSON property `formattedValue` - # @return [String] - attr_accessor :formatted_value - - # Metadata about a field. - # Corresponds to the JSON property `metadata` - # @return [Google::Apis::PeopleV1::FieldMetadata] - attr_accessor :metadata - - # The relationship status. The value can be custom or predefined. - # Possible values include, but are not limited to, the following: - # * `single` - # * `inARelationship` - # * `engaged` - # * `married` - # * `itsComplicated` - # * `openRelationship` - # * `widowed` - # * `inDomesticPartnership` - # * `inCivilUnion` - # Corresponds to the JSON property `value` - # @return [String] - attr_accessor :value - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @formatted_value = args[:formatted_value] if args.key?(:formatted_value) - @metadata = args[:metadata] if args.key?(:metadata) - @value = args[:value] if args.key?(:value) - end - end - - # A read-only brief one-line description of the person. - class Tagline - include Google::Apis::Core::Hashable - - # Metadata about a field. - # Corresponds to the JSON property `metadata` - # @return [Google::Apis::PeopleV1::FieldMetadata] - attr_accessor :metadata - - # The tagline. - # Corresponds to the JSON property `value` - # @return [String] - attr_accessor :value - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @metadata = args[:metadata] if args.key?(:metadata) - @value = args[:value] if args.key?(:value) - end - end - - # Represents a whole calendar date, for example a date of birth. The time - # of day and time zone are either specified elsewhere or are not - # significant. The date is relative to the - # [Proleptic Gregorian Calendar](https://en.wikipedia.org/wiki/ - # Proleptic_Gregorian_calendar). - # The day may be 0 to represent a year and month where the day is not - # significant. The year may be 0 to represent a month and day independent - # of year; for example, anniversary date. - class Date - include Google::Apis::Core::Hashable - - # Year of date. Must be from 1 to 9999, or 0 if specifying a date without - # a year. - # Corresponds to the JSON property `year` - # @return [Fixnum] - attr_accessor :year - - # Day of month. Must be from 1 to 31 and valid for the year and month, or 0 - # if specifying a year/month where the day is not significant. - # Corresponds to the JSON property `day` - # @return [Fixnum] - attr_accessor :day - - # Month of year. Must be from 1 to 12. - # Corresponds to the JSON property `month` - # @return [Fixnum] - attr_accessor :month - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @year = args[:year] if args.key?(:year) - @day = args[:day] if args.key?(:day) - @month = args[:month] if args.key?(:month) - end - end - - # A person's name. If the name is a mononym, the family name is empty. - class Name - include Google::Apis::Core::Hashable - - # The family name spelled as it sounds. - # Corresponds to the JSON property `phoneticFamilyName` - # @return [String] - attr_accessor :phonetic_family_name - - # The family name. - # Corresponds to the JSON property `familyName` - # @return [String] - attr_accessor :family_name - - # The middle name(s) spelled as they sound. - # Corresponds to the JSON property `phoneticMiddleName` - # @return [String] - attr_accessor :phonetic_middle_name - - # Metadata about a field. - # Corresponds to the JSON property `metadata` - # @return [Google::Apis::PeopleV1::FieldMetadata] - attr_accessor :metadata - - # The full name spelled as it sounds. - # Corresponds to the JSON property `phoneticFullName` - # @return [String] - attr_accessor :phonetic_full_name - - # The read-only display name with the last name first formatted according to - # the locale specified by the viewer's account or the - # Accept-Language HTTP header. - # Corresponds to the JSON property `displayNameLastFirst` - # @return [String] - attr_accessor :display_name_last_first - - # The read-only display name formatted according to the locale specified by - # the viewer's account or the Accept-Language HTTP header. - # Corresponds to the JSON property `displayName` - # @return [String] - attr_accessor :display_name - - # The honorific suffixes, such as `Jr.` - # Corresponds to the JSON property `honorificSuffix` - # @return [String] - attr_accessor :honorific_suffix - - # The honorific prefixes, such as `Mrs.` or `Dr.` - # Corresponds to the JSON property `honorificPrefix` - # @return [String] - attr_accessor :honorific_prefix - - # The honorific suffixes spelled as they sound. - # Corresponds to the JSON property `phoneticHonorificSuffix` - # @return [String] - attr_accessor :phonetic_honorific_suffix - - # The given name. - # Corresponds to the JSON property `givenName` - # @return [String] - attr_accessor :given_name - - # The middle name(s). - # Corresponds to the JSON property `middleName` - # @return [String] - attr_accessor :middle_name - - # The honorific prefixes spelled as they sound. - # Corresponds to the JSON property `phoneticHonorificPrefix` - # @return [String] - attr_accessor :phonetic_honorific_prefix - - # The given name spelled as it sounds. - # Corresponds to the JSON property `phoneticGivenName` - # @return [String] - attr_accessor :phonetic_given_name - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @phonetic_family_name = args[:phonetic_family_name] if args.key?(:phonetic_family_name) - @family_name = args[:family_name] if args.key?(:family_name) - @phonetic_middle_name = args[:phonetic_middle_name] if args.key?(:phonetic_middle_name) - @metadata = args[:metadata] if args.key?(:metadata) - @phonetic_full_name = args[:phonetic_full_name] if args.key?(:phonetic_full_name) - @display_name_last_first = args[:display_name_last_first] if args.key?(:display_name_last_first) - @display_name = args[:display_name] if args.key?(:display_name) - @honorific_suffix = args[:honorific_suffix] if args.key?(:honorific_suffix) - @honorific_prefix = args[:honorific_prefix] if args.key?(:honorific_prefix) - @phonetic_honorific_suffix = args[:phonetic_honorific_suffix] if args.key?(:phonetic_honorific_suffix) - @given_name = args[:given_name] if args.key?(:given_name) - @middle_name = args[:middle_name] if args.key?(:middle_name) - @phonetic_honorific_prefix = args[:phonetic_honorific_prefix] if args.key?(:phonetic_honorific_prefix) - @phonetic_given_name = args[:phonetic_given_name] if args.key?(:phonetic_given_name) - end - end - - # A person's bragging rights. - class BraggingRights - include Google::Apis::Core::Hashable - - # Metadata about a field. - # Corresponds to the JSON property `metadata` - # @return [Google::Apis::PeopleV1::FieldMetadata] - attr_accessor :metadata - - # The bragging rights; for example, `climbed mount everest`. - # Corresponds to the JSON property `value` - # @return [String] - attr_accessor :value - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @metadata = args[:metadata] if args.key?(:metadata) - @value = args[:value] if args.key?(:value) - end - end - - # A person's locale preference. - class Locale - include Google::Apis::Core::Hashable - - # Metadata about a field. - # Corresponds to the JSON property `metadata` - # @return [Google::Apis::PeopleV1::FieldMetadata] - attr_accessor :metadata - - # The well-formed [IETF BCP 47](https://tools.ietf.org/html/bcp47) - # language tag representing the locale. - # Corresponds to the JSON property `value` - # @return [String] - attr_accessor :value - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @metadata = args[:metadata] if args.key?(:metadata) - @value = args[:value] if args.key?(:value) - end - end - - # A person's past or current organization. Overlapping date ranges are - # permitted. - class Organization - include Google::Apis::Core::Hashable - - # True if the organization is the person's current organization; - # false if the organization is a past organization. - # Corresponds to the JSON property `current` - # @return [Boolean] - attr_accessor :current - alias_method :current?, :current - - # The read-only type of the organization translated and formatted in the - # viewer's account locale or the `Accept-Language` HTTP header locale. - # Corresponds to the JSON property `formattedType` - # @return [String] - attr_accessor :formatted_type - - # Represents a whole calendar date, for example a date of birth. The time - # of day and time zone are either specified elsewhere or are not - # significant. The date is relative to the - # [Proleptic Gregorian Calendar](https://en.wikipedia.org/wiki/ - # Proleptic_Gregorian_calendar). - # The day may be 0 to represent a year and month where the day is not - # significant. The year may be 0 to represent a month and day independent - # of year; for example, anniversary date. - # Corresponds to the JSON property `startDate` - # @return [Google::Apis::PeopleV1::Date] - attr_accessor :start_date - - # The domain name associated with the organization; for example, `google.com`. - # Corresponds to the JSON property `domain` - # @return [String] - attr_accessor :domain - - # The person's department at the organization. - # Corresponds to the JSON property `department` - # @return [String] - attr_accessor :department - - # The phonetic name of the organization. - # Corresponds to the JSON property `phoneticName` - # @return [String] - attr_accessor :phonetic_name - - # The type of the organization. The type can be custom or predefined. - # Possible values include, but are not limited to, the following: - # * `work` - # * `school` - # Corresponds to the JSON property `type` - # @return [String] - attr_accessor :type - - # The person's job description at the organization. - # Corresponds to the JSON property `jobDescription` - # @return [String] - attr_accessor :job_description - - # Represents a whole calendar date, for example a date of birth. The time - # of day and time zone are either specified elsewhere or are not - # significant. The date is relative to the - # [Proleptic Gregorian Calendar](https://en.wikipedia.org/wiki/ - # Proleptic_Gregorian_calendar). - # The day may be 0 to represent a year and month where the day is not - # significant. The year may be 0 to represent a month and day independent - # of year; for example, anniversary date. - # Corresponds to the JSON property `endDate` - # @return [Google::Apis::PeopleV1::Date] - attr_accessor :end_date - - # The symbol associated with the organization; for example, a stock ticker - # symbol, abbreviation, or acronym. - # Corresponds to the JSON property `symbol` - # @return [String] - attr_accessor :symbol - - # The name of the organization. - # Corresponds to the JSON property `name` - # @return [String] - attr_accessor :name - - # Metadata about a field. - # Corresponds to the JSON property `metadata` - # @return [Google::Apis::PeopleV1::FieldMetadata] - attr_accessor :metadata - - # The location of the organization office the person works at. - # Corresponds to the JSON property `location` - # @return [String] - attr_accessor :location - - # The person's job title at the organization. - # Corresponds to the JSON property `title` - # @return [String] - attr_accessor :title - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @current = args[:current] if args.key?(:current) - @formatted_type = args[:formatted_type] if args.key?(:formatted_type) - @start_date = args[:start_date] if args.key?(:start_date) - @domain = args[:domain] if args.key?(:domain) - @department = args[:department] if args.key?(:department) - @phonetic_name = args[:phonetic_name] if args.key?(:phonetic_name) - @type = args[:type] if args.key?(:type) - @job_description = args[:job_description] if args.key?(:job_description) - @end_date = args[:end_date] if args.key?(:end_date) - @symbol = args[:symbol] if args.key?(:symbol) - @name = args[:name] if args.key?(:name) - @metadata = args[:metadata] if args.key?(:metadata) - @location = args[:location] if args.key?(:location) - @title = args[:title] if args.key?(:title) - end - end - - # A person's short biography. - class Biography - include Google::Apis::Core::Hashable - - # The content type of the biography. - # Corresponds to the JSON property `contentType` - # @return [String] - attr_accessor :content_type - - # Metadata about a field. - # Corresponds to the JSON property `metadata` - # @return [Google::Apis::PeopleV1::FieldMetadata] - attr_accessor :metadata - - # The short biography. - # Corresponds to the JSON property `value` - # @return [String] - attr_accessor :value - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @content_type = args[:content_type] if args.key?(:content_type) - @metadata = args[:metadata] if args.key?(:metadata) - @value = args[:value] if args.key?(:value) - end - end - - # A person's age range. - class AgeRangeType - include Google::Apis::Core::Hashable - - # The age range. - # Corresponds to the JSON property `ageRange` - # @return [String] - attr_accessor :age_range - - # Metadata about a field. - # Corresponds to the JSON property `metadata` - # @return [Google::Apis::PeopleV1::FieldMetadata] - attr_accessor :metadata - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @age_range = args[:age_range] if args.key?(:age_range) - @metadata = args[:metadata] if args.key?(:metadata) - end - end end end end diff --git a/generated/google/apis/people_v1/representations.rb b/generated/google/apis/people_v1/representations.rb index 84ea0d76e..e4b5df616 100644 --- a/generated/google/apis/people_v1/representations.rb +++ b/generated/google/apis/people_v1/representations.rb @@ -22,108 +22,6 @@ module Google module Apis module PeopleV1 - class FieldMetadata - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class Source - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class PersonResponse - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class RelationshipInterest - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class Relation - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class Occupation - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class Person - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class GetPeopleResponse - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class Photo - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class PhoneNumber - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class ListConnectionsResponse - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class Birthday - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class Address - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class Residence - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class ContactGroupMembership - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class PersonMetadata - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class Event - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - class ProfileMetadata class Representation < Google::Apis::Core::JsonRepresentation; end @@ -245,23 +143,344 @@ module Google end class FieldMetadata + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class Source + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class PersonResponse + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class RelationshipInterest + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class Relation + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class Occupation + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class Person + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GetPeopleResponse + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class Photo + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class PhoneNumber + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class ListConnectionsResponse + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class Birthday + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class Residence + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class Address + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class ContactGroupMembership + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class PersonMetadata + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class Event + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class ProfileMetadata # @private class Representation < Google::Apis::Core::JsonRepresentation - property :source, as: 'source', class: Google::Apis::PeopleV1::Source, decorator: Google::Apis::PeopleV1::Source::Representation + property :object_type, as: 'objectType' + end + end + class Url + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :metadata, as: 'metadata', class: Google::Apis::PeopleV1::FieldMetadata, decorator: Google::Apis::PeopleV1::FieldMetadata::Representation + + property :type, as: 'type' + property :value, as: 'value' + property :formatted_type, as: 'formattedType' + end + end + + class Gender + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :value, as: 'value' + property :formatted_value, as: 'formattedValue' + property :metadata, as: 'metadata', class: Google::Apis::PeopleV1::FieldMetadata, decorator: Google::Apis::PeopleV1::FieldMetadata::Representation + + end + end + + class CoverPhoto + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :metadata, as: 'metadata', class: Google::Apis::PeopleV1::FieldMetadata, decorator: Google::Apis::PeopleV1::FieldMetadata::Representation + + property :default, as: 'default' + property :url, as: 'url' + end + end + + class Interest + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :metadata, as: 'metadata', class: Google::Apis::PeopleV1::FieldMetadata, decorator: Google::Apis::PeopleV1::FieldMetadata::Representation + + property :value, as: 'value' + end + end + + class ImClient + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :formatted_protocol, as: 'formattedProtocol' + property :formatted_type, as: 'formattedType' + property :protocol, as: 'protocol' + property :metadata, as: 'metadata', class: Google::Apis::PeopleV1::FieldMetadata, decorator: Google::Apis::PeopleV1::FieldMetadata::Representation + + property :type, as: 'type' + property :username, as: 'username' + end + end + + class EmailAddress + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :value, as: 'value' + property :formatted_type, as: 'formattedType' + property :display_name, as: 'displayName' + property :metadata, as: 'metadata', class: Google::Apis::PeopleV1::FieldMetadata, decorator: Google::Apis::PeopleV1::FieldMetadata::Representation + + property :type, as: 'type' + end + end + + class Nickname + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :metadata, as: 'metadata', class: Google::Apis::PeopleV1::FieldMetadata, decorator: Google::Apis::PeopleV1::FieldMetadata::Representation + + property :type, as: 'type' + property :value, as: 'value' + end + end + + class Skill + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :value, as: 'value' + property :metadata, as: 'metadata', class: Google::Apis::PeopleV1::FieldMetadata, decorator: Google::Apis::PeopleV1::FieldMetadata::Representation + + end + end + + class DomainMembership + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :in_viewer_domain, as: 'inViewerDomain' + end + end + + class Membership + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :metadata, as: 'metadata', class: Google::Apis::PeopleV1::FieldMetadata, decorator: Google::Apis::PeopleV1::FieldMetadata::Representation + + property :contact_group_membership, as: 'contactGroupMembership', class: Google::Apis::PeopleV1::ContactGroupMembership, decorator: Google::Apis::PeopleV1::ContactGroupMembership::Representation + + property :domain_membership, as: 'domainMembership', class: Google::Apis::PeopleV1::DomainMembership, decorator: Google::Apis::PeopleV1::DomainMembership::Representation + + end + end + + class RelationshipStatus + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :formatted_value, as: 'formattedValue' + property :metadata, as: 'metadata', class: Google::Apis::PeopleV1::FieldMetadata, decorator: Google::Apis::PeopleV1::FieldMetadata::Representation + + property :value, as: 'value' + end + end + + class Tagline + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :value, as: 'value' + property :metadata, as: 'metadata', class: Google::Apis::PeopleV1::FieldMetadata, decorator: Google::Apis::PeopleV1::FieldMetadata::Representation + + end + end + + class Date + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :year, as: 'year' + property :day, as: 'day' + property :month, as: 'month' + end + end + + class Name + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :display_name, as: 'displayName' + property :honorific_suffix, as: 'honorificSuffix' + property :honorific_prefix, as: 'honorificPrefix' + property :phonetic_honorific_suffix, as: 'phoneticHonorificSuffix' + property :given_name, as: 'givenName' + property :middle_name, as: 'middleName' + property :phonetic_honorific_prefix, as: 'phoneticHonorificPrefix' + property :phonetic_given_name, as: 'phoneticGivenName' + property :phonetic_family_name, as: 'phoneticFamilyName' + property :family_name, as: 'familyName' + property :metadata, as: 'metadata', class: Google::Apis::PeopleV1::FieldMetadata, decorator: Google::Apis::PeopleV1::FieldMetadata::Representation + + property :phonetic_middle_name, as: 'phoneticMiddleName' + property :phonetic_full_name, as: 'phoneticFullName' + property :display_name_last_first, as: 'displayNameLastFirst' + end + end + + class BraggingRights + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :metadata, as: 'metadata', class: Google::Apis::PeopleV1::FieldMetadata, decorator: Google::Apis::PeopleV1::FieldMetadata::Representation + + property :value, as: 'value' + end + end + + class Locale + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :metadata, as: 'metadata', class: Google::Apis::PeopleV1::FieldMetadata, decorator: Google::Apis::PeopleV1::FieldMetadata::Representation + + property :value, as: 'value' + end + end + + class Organization + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :domain, as: 'domain' + property :department, as: 'department' + property :phonetic_name, as: 'phoneticName' + property :type, as: 'type' + property :job_description, as: 'jobDescription' + property :end_date, as: 'endDate', class: Google::Apis::PeopleV1::Date, decorator: Google::Apis::PeopleV1::Date::Representation + + property :symbol, as: 'symbol' + property :name, as: 'name' + property :metadata, as: 'metadata', class: Google::Apis::PeopleV1::FieldMetadata, decorator: Google::Apis::PeopleV1::FieldMetadata::Representation + + property :location, as: 'location' + property :title, as: 'title' + property :current, as: 'current' + property :start_date, as: 'startDate', class: Google::Apis::PeopleV1::Date, decorator: Google::Apis::PeopleV1::Date::Representation + + property :formatted_type, as: 'formattedType' + end + end + + class Biography + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :content_type, as: 'contentType' + property :metadata, as: 'metadata', class: Google::Apis::PeopleV1::FieldMetadata, decorator: Google::Apis::PeopleV1::FieldMetadata::Representation + + property :value, as: 'value' + end + end + + class AgeRangeType + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :age_range, as: 'ageRange' + property :metadata, as: 'metadata', class: Google::Apis::PeopleV1::FieldMetadata, decorator: Google::Apis::PeopleV1::FieldMetadata::Representation + + end + end + + class FieldMetadata + # @private + class Representation < Google::Apis::Core::JsonRepresentation property :verified, as: 'verified' property :primary, as: 'primary' + property :source, as: 'source', class: Google::Apis::PeopleV1::Source, decorator: Google::Apis::PeopleV1::Source::Representation + end end class Source # @private class Representation < Google::Apis::Core::JsonRepresentation - property :profile_metadata, as: 'profileMetadata', class: Google::Apis::PeopleV1::ProfileMetadata, decorator: Google::Apis::PeopleV1::ProfileMetadata::Representation - property :type, as: 'type' property :etag, as: 'etag' property :id, as: 'id' + property :profile_metadata, as: 'profileMetadata', class: Google::Apis::PeopleV1::ProfileMetadata, decorator: Google::Apis::PeopleV1::ProfileMetadata::Representation + end end @@ -308,8 +527,6 @@ module Google class Person # @private class Representation < Google::Apis::Core::JsonRepresentation - collection :cover_photos, as: 'coverPhotos', class: Google::Apis::PeopleV1::CoverPhoto, decorator: Google::Apis::PeopleV1::CoverPhoto::Representation - collection :im_clients, as: 'imClients', class: Google::Apis::PeopleV1::ImClient, decorator: Google::Apis::PeopleV1::ImClient::Representation collection :birthdays, as: 'birthdays', class: Google::Apis::PeopleV1::Birthday, decorator: Google::Apis::PeopleV1::Birthday::Representation @@ -322,10 +539,10 @@ module Google collection :nicknames, as: 'nicknames', class: Google::Apis::PeopleV1::Nickname, decorator: Google::Apis::PeopleV1::Nickname::Representation - collection :relations, as: 'relations', class: Google::Apis::PeopleV1::Relation, decorator: Google::Apis::PeopleV1::Relation::Representation - collection :names, as: 'names', class: Google::Apis::PeopleV1::Name, decorator: Google::Apis::PeopleV1::Name::Representation + collection :relations, as: 'relations', class: Google::Apis::PeopleV1::Relation, decorator: Google::Apis::PeopleV1::Relation::Representation + collection :occupations, as: 'occupations', class: Google::Apis::PeopleV1::Occupation, decorator: Google::Apis::PeopleV1::Occupation::Representation collection :email_addresses, as: 'emailAddresses', class: Google::Apis::PeopleV1::EmailAddress, decorator: Google::Apis::PeopleV1::EmailAddress::Representation @@ -341,9 +558,9 @@ module Google collection :genders, as: 'genders', class: Google::Apis::PeopleV1::Gender, decorator: Google::Apis::PeopleV1::Gender::Representation - property :resource_name, as: 'resourceName' collection :interests, as: 'interests', class: Google::Apis::PeopleV1::Interest, decorator: Google::Apis::PeopleV1::Interest::Representation + property :resource_name, as: 'resourceName' collection :biographies, as: 'biographies', class: Google::Apis::PeopleV1::Biography, decorator: Google::Apis::PeopleV1::Biography::Representation collection :skills, as: 'skills', class: Google::Apis::PeopleV1::Skill, decorator: Google::Apis::PeopleV1::Skill::Representation @@ -365,6 +582,8 @@ module Google collection :phone_numbers, as: 'phoneNumbers', class: Google::Apis::PeopleV1::PhoneNumber, decorator: Google::Apis::PeopleV1::PhoneNumber::Representation + collection :cover_photos, as: 'coverPhotos', class: Google::Apis::PeopleV1::CoverPhoto, decorator: Google::Apis::PeopleV1::CoverPhoto::Representation + end end @@ -379,9 +598,9 @@ module Google class Photo # @private class Representation < Google::Apis::Core::JsonRepresentation - property :url, as: 'url' property :metadata, as: 'metadata', class: Google::Apis::PeopleV1::FieldMetadata, decorator: Google::Apis::PeopleV1::FieldMetadata::Representation + property :url, as: 'url' end end @@ -419,9 +638,22 @@ module Google end end + class Residence + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :metadata, as: 'metadata', class: Google::Apis::PeopleV1::FieldMetadata, decorator: Google::Apis::PeopleV1::FieldMetadata::Representation + + property :current, as: 'current' + property :value, as: 'value' + end + end + class Address # @private class Representation < Google::Apis::Core::JsonRepresentation + property :country_code, as: 'countryCode' + property :formatted_type, as: 'formattedType' + property :city, as: 'city' property :formatted_value, as: 'formattedValue' property :country, as: 'country' property :type, as: 'type' @@ -432,19 +664,6 @@ module Google property :street_address, as: 'streetAddress' property :metadata, as: 'metadata', class: Google::Apis::PeopleV1::FieldMetadata, decorator: Google::Apis::PeopleV1::FieldMetadata::Representation - property :country_code, as: 'countryCode' - property :formatted_type, as: 'formattedType' - property :city, as: 'city' - end - end - - class Residence - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :value, as: 'value' - property :metadata, as: 'metadata', class: Google::Apis::PeopleV1::FieldMetadata, decorator: Google::Apis::PeopleV1::FieldMetadata::Representation - - property :current, as: 'current' end end @@ -458,12 +677,12 @@ module Google class PersonMetadata # @private class Representation < Google::Apis::Core::JsonRepresentation + property :deleted, as: 'deleted' property :object_type, as: 'objectType' collection :linked_people_resource_names, as: 'linkedPeopleResourceNames' collection :sources, as: 'sources', class: Google::Apis::PeopleV1::Source, decorator: Google::Apis::PeopleV1::Source::Representation collection :previous_resource_names, as: 'previousResourceNames' - property :deleted, as: 'deleted' end end @@ -478,225 +697,6 @@ module Google property :formatted_type, as: 'formattedType' end end - - class ProfileMetadata - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :object_type, as: 'objectType' - end - end - - class Url - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :metadata, as: 'metadata', class: Google::Apis::PeopleV1::FieldMetadata, decorator: Google::Apis::PeopleV1::FieldMetadata::Representation - - property :type, as: 'type' - property :value, as: 'value' - property :formatted_type, as: 'formattedType' - end - end - - class Gender - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :formatted_value, as: 'formattedValue' - property :metadata, as: 'metadata', class: Google::Apis::PeopleV1::FieldMetadata, decorator: Google::Apis::PeopleV1::FieldMetadata::Representation - - property :value, as: 'value' - end - end - - class CoverPhoto - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :url, as: 'url' - property :metadata, as: 'metadata', class: Google::Apis::PeopleV1::FieldMetadata, decorator: Google::Apis::PeopleV1::FieldMetadata::Representation - - property :default, as: 'default' - end - end - - class Interest - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :metadata, as: 'metadata', class: Google::Apis::PeopleV1::FieldMetadata, decorator: Google::Apis::PeopleV1::FieldMetadata::Representation - - property :value, as: 'value' - end - end - - class ImClient - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :formatted_protocol, as: 'formattedProtocol' - property :formatted_type, as: 'formattedType' - property :metadata, as: 'metadata', class: Google::Apis::PeopleV1::FieldMetadata, decorator: Google::Apis::PeopleV1::FieldMetadata::Representation - - property :type, as: 'type' - property :protocol, as: 'protocol' - property :username, as: 'username' - end - end - - class EmailAddress - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :display_name, as: 'displayName' - property :metadata, as: 'metadata', class: Google::Apis::PeopleV1::FieldMetadata, decorator: Google::Apis::PeopleV1::FieldMetadata::Representation - - property :type, as: 'type' - property :value, as: 'value' - property :formatted_type, as: 'formattedType' - end - end - - class Nickname - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :metadata, as: 'metadata', class: Google::Apis::PeopleV1::FieldMetadata, decorator: Google::Apis::PeopleV1::FieldMetadata::Representation - - property :type, as: 'type' - property :value, as: 'value' - end - end - - class Skill - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :metadata, as: 'metadata', class: Google::Apis::PeopleV1::FieldMetadata, decorator: Google::Apis::PeopleV1::FieldMetadata::Representation - - property :value, as: 'value' - end - end - - class DomainMembership - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :in_viewer_domain, as: 'inViewerDomain' - end - end - - class Membership - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :contact_group_membership, as: 'contactGroupMembership', class: Google::Apis::PeopleV1::ContactGroupMembership, decorator: Google::Apis::PeopleV1::ContactGroupMembership::Representation - - property :domain_membership, as: 'domainMembership', class: Google::Apis::PeopleV1::DomainMembership, decorator: Google::Apis::PeopleV1::DomainMembership::Representation - - property :metadata, as: 'metadata', class: Google::Apis::PeopleV1::FieldMetadata, decorator: Google::Apis::PeopleV1::FieldMetadata::Representation - - end - end - - class RelationshipStatus - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :formatted_value, as: 'formattedValue' - property :metadata, as: 'metadata', class: Google::Apis::PeopleV1::FieldMetadata, decorator: Google::Apis::PeopleV1::FieldMetadata::Representation - - property :value, as: 'value' - end - end - - class Tagline - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :metadata, as: 'metadata', class: Google::Apis::PeopleV1::FieldMetadata, decorator: Google::Apis::PeopleV1::FieldMetadata::Representation - - property :value, as: 'value' - end - end - - class Date - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :year, as: 'year' - property :day, as: 'day' - property :month, as: 'month' - end - end - - class Name - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :phonetic_family_name, as: 'phoneticFamilyName' - property :family_name, as: 'familyName' - property :phonetic_middle_name, as: 'phoneticMiddleName' - property :metadata, as: 'metadata', class: Google::Apis::PeopleV1::FieldMetadata, decorator: Google::Apis::PeopleV1::FieldMetadata::Representation - - property :phonetic_full_name, as: 'phoneticFullName' - property :display_name_last_first, as: 'displayNameLastFirst' - property :display_name, as: 'displayName' - property :honorific_suffix, as: 'honorificSuffix' - property :honorific_prefix, as: 'honorificPrefix' - property :phonetic_honorific_suffix, as: 'phoneticHonorificSuffix' - property :given_name, as: 'givenName' - property :middle_name, as: 'middleName' - property :phonetic_honorific_prefix, as: 'phoneticHonorificPrefix' - property :phonetic_given_name, as: 'phoneticGivenName' - end - end - - class BraggingRights - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :metadata, as: 'metadata', class: Google::Apis::PeopleV1::FieldMetadata, decorator: Google::Apis::PeopleV1::FieldMetadata::Representation - - property :value, as: 'value' - end - end - - class Locale - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :metadata, as: 'metadata', class: Google::Apis::PeopleV1::FieldMetadata, decorator: Google::Apis::PeopleV1::FieldMetadata::Representation - - property :value, as: 'value' - end - end - - class Organization - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :current, as: 'current' - property :formatted_type, as: 'formattedType' - property :start_date, as: 'startDate', class: Google::Apis::PeopleV1::Date, decorator: Google::Apis::PeopleV1::Date::Representation - - property :domain, as: 'domain' - property :department, as: 'department' - property :phonetic_name, as: 'phoneticName' - property :type, as: 'type' - property :job_description, as: 'jobDescription' - property :end_date, as: 'endDate', class: Google::Apis::PeopleV1::Date, decorator: Google::Apis::PeopleV1::Date::Representation - - property :symbol, as: 'symbol' - property :name, as: 'name' - property :metadata, as: 'metadata', class: Google::Apis::PeopleV1::FieldMetadata, decorator: Google::Apis::PeopleV1::FieldMetadata::Representation - - property :location, as: 'location' - property :title, as: 'title' - end - end - - class Biography - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :content_type, as: 'contentType' - property :metadata, as: 'metadata', class: Google::Apis::PeopleV1::FieldMetadata, decorator: Google::Apis::PeopleV1::FieldMetadata::Representation - - property :value, as: 'value' - end - end - - class AgeRangeType - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :age_range, as: 'ageRange' - property :metadata, as: 'metadata', class: Google::Apis::PeopleV1::FieldMetadata, decorator: Google::Apis::PeopleV1::FieldMetadata::Representation - - end - end end end end diff --git a/generated/google/apis/people_v1/service.rb b/generated/google/apis/people_v1/service.rb index 69e65ea6c..82e341e76 100644 --- a/generated/google/apis/people_v1/service.rb +++ b/generated/google/apis/people_v1/service.rb @@ -44,16 +44,12 @@ module Google def initialize super('https://people.googleapis.com/', '') + @batch_path = 'batch' end # Provides information about a list of specific people by specifying a list # of requested resource names. Use `people/me` to indicate the authenticated # user. - # @param [Array, String] resource_names - # The resource name, such as one returned by - # [`people.connections.list`](/people/api/rest/v1/people.connections/list), - # of one of the people to provide information about. You can include this - # parameter up to 50 times in one request. # @param [String] request_mask_include_field # Comma-separated list of fields to be included in the response. Omitting # this field will include all fields except for connections.list requests, @@ -61,6 +57,11 @@ module Google # photo, and profile url. # Each path should start with `person.`: for example, `person.names` or # `person.photos`. + # @param [Array, String] resource_names + # The resource name, such as one returned by + # [`people.connections.list`](/people/api/rest/v1/people.connections/list), + # of one of the people to provide information about. You can include this + # parameter up to 50 times in one request. # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user @@ -78,12 +79,12 @@ module Google # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required - def get_people(resource_names: nil, request_mask_include_field: nil, fields: nil, quota_user: nil, options: nil, &block) + def get_people(request_mask_include_field: nil, resource_names: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1/people:batchGet', options) command.response_representation = Google::Apis::PeopleV1::GetPeopleResponse::Representation command.response_class = Google::Apis::PeopleV1::GetPeopleResponse - command.query['resourceNames'] = resource_names unless resource_names.nil? command.query['requestMask.includeField'] = request_mask_include_field unless request_mask_include_field.nil? + command.query['resourceNames'] = resource_names unless resource_names.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) @@ -136,6 +137,9 @@ module Google # linked profiles. # @param [String] resource_name # The resource name to return connections for. Only `people/me` is valid. + # @param [String] sort_order + # The order in which the connections should be sorted. Defaults to + # `LAST_MODIFIED_ASCENDING`. # @param [Boolean] request_sync_token # Whether the response should include a sync token, which can be used to get # all changes since the last request. @@ -154,9 +158,6 @@ module Google # @param [String] sync_token # A sync token, returned by a previous call to `people.connections.list`. # Only resources changed since the sync token was created will be returned. - # @param [String] sort_order - # The order in which the connections should be sorted. Defaults to - # `LAST_MODIFIED_ASCENDING`. # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user @@ -174,17 +175,17 @@ module Google # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required - def list_person_connections(resource_name, request_sync_token: nil, page_token: nil, request_mask_include_field: nil, page_size: nil, sync_token: nil, sort_order: nil, fields: nil, quota_user: nil, options: nil, &block) + def list_person_connections(resource_name, sort_order: nil, request_sync_token: nil, page_token: nil, request_mask_include_field: nil, page_size: nil, sync_token: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1/{+resourceName}/connections', options) command.response_representation = Google::Apis::PeopleV1::ListConnectionsResponse::Representation command.response_class = Google::Apis::PeopleV1::ListConnectionsResponse command.params['resourceName'] = resource_name unless resource_name.nil? + command.query['sortOrder'] = sort_order unless sort_order.nil? command.query['requestSyncToken'] = request_sync_token unless request_sync_token.nil? command.query['pageToken'] = page_token unless page_token.nil? command.query['requestMask.includeField'] = request_mask_include_field unless request_mask_include_field.nil? command.query['pageSize'] = page_size unless page_size.nil? command.query['syncToken'] = sync_token unless sync_token.nil? - command.query['sortOrder'] = sort_order unless sort_order.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) diff --git a/generated/google/apis/plus_domains_v1/classes.rb b/generated/google/apis/plus_domains_v1/classes.rb index 939fe7a57..26d88827f 100644 --- a/generated/google/apis/plus_domains_v1/classes.rb +++ b/generated/google/apis/plus_domains_v1/classes.rb @@ -1693,7 +1693,7 @@ module Google # The size in bytes of this video. # Corresponds to the JSON property `sizeBytes` - # @return [String] + # @return [Fixnum] attr_accessor :size_bytes # The list of video streams for this video. There might be several different @@ -1720,7 +1720,7 @@ module Google # The duration in milliseconds of this video. # Corresponds to the JSON property `videoDuration` - # @return [String] + # @return [Fixnum] attr_accessor :video_duration # The encoding status of this video. Possible values are: diff --git a/generated/google/apis/plus_domains_v1/representations.rb b/generated/google/apis/plus_domains_v1/representations.rb index 2759eb3e5..474e08a6c 100644 --- a/generated/google/apis/plus_domains_v1/representations.rb +++ b/generated/google/apis/plus_domains_v1/representations.rb @@ -878,14 +878,14 @@ module Google property :media_url, as: 'mediaUrl' property :published, as: 'published', type: DateTime - property :size_bytes, as: 'sizeBytes' + property :size_bytes, :numeric_string => true, as: 'sizeBytes' collection :streams, as: 'streams', class: Google::Apis::PlusDomainsV1::Videostream, decorator: Google::Apis::PlusDomainsV1::Videostream::Representation property :summary, as: 'summary' property :updated, as: 'updated', type: DateTime property :url, as: 'url' - property :video_duration, as: 'videoDuration' + property :video_duration, :numeric_string => true, as: 'videoDuration' property :video_status, as: 'videoStatus' property :width, as: 'width' end diff --git a/generated/google/apis/plus_domains_v1/service.rb b/generated/google/apis/plus_domains_v1/service.rb index 307d79af7..455d63a58 100644 --- a/generated/google/apis/plus_domains_v1/service.rb +++ b/generated/google/apis/plus_domains_v1/service.rb @@ -50,6 +50,7 @@ module Google def initialize super('https://www.googleapis.com/', 'plusDomains/v1/') + @batch_path = 'batch' end # Get an activity. diff --git a/generated/google/apis/plus_v1/service.rb b/generated/google/apis/plus_v1/service.rb index cf30a8446..09c27c694 100644 --- a/generated/google/apis/plus_v1/service.rb +++ b/generated/google/apis/plus_v1/service.rb @@ -50,6 +50,7 @@ module Google def initialize super('https://www.googleapis.com/', 'plus/v1/') + @batch_path = 'batch' end # Get an activity. diff --git a/generated/google/apis/prediction_v1_6/classes.rb b/generated/google/apis/prediction_v1_6/classes.rb index 75562d5df..b7da49d8d 100644 --- a/generated/google/apis/prediction_v1_6/classes.rb +++ b/generated/google/apis/prediction_v1_6/classes.rb @@ -105,7 +105,7 @@ module Google # The feature index. # Corresponds to the JSON property `index` - # @return [String] + # @return [Fixnum] attr_accessor :index # Description of the numeric values of this feature. @@ -136,7 +136,7 @@ module Google # Number of categorical values for this feature in the data. # Corresponds to the JSON property `count` - # @return [String] + # @return [Fixnum] attr_accessor :count # List of all the categories for this feature in the data set. @@ -160,7 +160,7 @@ module Google # Number of times this feature had this value. # Corresponds to the JSON property `count` - # @return [String] + # @return [Fixnum] attr_accessor :count # The category name. @@ -186,7 +186,7 @@ module Google # Number of numeric values for this feature in the data set. # Corresponds to the JSON property `count` - # @return [String] + # @return [Fixnum] attr_accessor :count # Mean of the numeric values of this feature in the data set. @@ -217,7 +217,7 @@ module Google # Number of multiple-word text values for this feature. # Corresponds to the JSON property `count` - # @return [String] + # @return [Fixnum] attr_accessor :count def initialize(**args) @@ -261,7 +261,7 @@ module Google # Number of numeric output values in the data set. # Corresponds to the JSON property `count` - # @return [String] + # @return [Fixnum] attr_accessor :count # Mean of the output values in the data set. @@ -292,7 +292,7 @@ module Google # Number of times the output label occurred in the data set. # Corresponds to the JSON property `count` - # @return [String] + # @return [Fixnum] attr_accessor :count # The output label. @@ -586,12 +586,12 @@ module Google # Number of valid data instances used in the trained model. # Corresponds to the JSON property `numberInstances` - # @return [String] + # @return [Fixnum] attr_accessor :number_instances # Number of class labels in the trained model (Categorical models only). # Corresponds to the JSON property `numberLabels` - # @return [String] + # @return [Fixnum] attr_accessor :number_labels def initialize(**args) diff --git a/generated/google/apis/prediction_v1_6/representations.rb b/generated/google/apis/prediction_v1_6/representations.rb index a5c6e318e..50ec46a41 100644 --- a/generated/google/apis/prediction_v1_6/representations.rb +++ b/generated/google/apis/prediction_v1_6/representations.rb @@ -175,7 +175,7 @@ module Google class Representation < Google::Apis::Core::JsonRepresentation property :categorical, as: 'categorical', class: Google::Apis::PredictionV1_6::Analyze::DataDescription::Feature::Categorical, decorator: Google::Apis::PredictionV1_6::Analyze::DataDescription::Feature::Categorical::Representation - property :index, as: 'index' + property :index, :numeric_string => true, as: 'index' property :numeric, as: 'numeric', class: Google::Apis::PredictionV1_6::Analyze::DataDescription::Feature::Numeric, decorator: Google::Apis::PredictionV1_6::Analyze::DataDescription::Feature::Numeric::Representation property :text, as: 'text', class: Google::Apis::PredictionV1_6::Analyze::DataDescription::Feature::Text, decorator: Google::Apis::PredictionV1_6::Analyze::DataDescription::Feature::Text::Representation @@ -185,7 +185,7 @@ module Google class Categorical # @private class Representation < Google::Apis::Core::JsonRepresentation - property :count, as: 'count' + property :count, :numeric_string => true, as: 'count' collection :values, as: 'values', class: Google::Apis::PredictionV1_6::Analyze::DataDescription::Feature::Categorical::Value, decorator: Google::Apis::PredictionV1_6::Analyze::DataDescription::Feature::Categorical::Value::Representation end @@ -193,7 +193,7 @@ module Google class Value # @private class Representation < Google::Apis::Core::JsonRepresentation - property :count, as: 'count' + property :count, :numeric_string => true, as: 'count' property :value, as: 'value' end end @@ -202,7 +202,7 @@ module Google class Numeric # @private class Representation < Google::Apis::Core::JsonRepresentation - property :count, as: 'count' + property :count, :numeric_string => true, as: 'count' property :mean, as: 'mean' property :variance, as: 'variance' end @@ -211,7 +211,7 @@ module Google class Text # @private class Representation < Google::Apis::Core::JsonRepresentation - property :count, as: 'count' + property :count, :numeric_string => true, as: 'count' end end end @@ -228,7 +228,7 @@ module Google class Numeric # @private class Representation < Google::Apis::Core::JsonRepresentation - property :count, as: 'count' + property :count, :numeric_string => true, as: 'count' property :mean, as: 'mean' property :variance, as: 'variance' end @@ -237,7 +237,7 @@ module Google class Text # @private class Representation < Google::Apis::Core::JsonRepresentation - property :count, as: 'count' + property :count, :numeric_string => true, as: 'count' property :value, as: 'value' end end @@ -319,8 +319,8 @@ module Google property :classification_accuracy, as: 'classificationAccuracy' property :mean_squared_error, as: 'meanSquaredError' property :model_type, as: 'modelType' - property :number_instances, as: 'numberInstances' - property :number_labels, as: 'numberLabels' + property :number_instances, :numeric_string => true, as: 'numberInstances' + property :number_labels, :numeric_string => true, as: 'numberLabels' end end end diff --git a/generated/google/apis/prediction_v1_6/service.rb b/generated/google/apis/prediction_v1_6/service.rb index ad571d5a9..eeb6a68af 100644 --- a/generated/google/apis/prediction_v1_6/service.rb +++ b/generated/google/apis/prediction_v1_6/service.rb @@ -51,6 +51,7 @@ module Google def initialize super('https://www.googleapis.com/', 'prediction/v1.6/projects/') + @batch_path = 'batch' end # Submit input and request an output against a hosted model. diff --git a/generated/google/apis/proximitybeacon_v1beta1/classes.rb b/generated/google/apis/proximitybeacon_v1beta1/classes.rb index 6ef160948..d3af1255a 100644 --- a/generated/google/apis/proximitybeacon_v1beta1/classes.rb +++ b/generated/google/apis/proximitybeacon_v1beta1/classes.rb @@ -22,49 +22,32 @@ module Google module Apis module ProximitybeaconV1beta1 - # Information about the requested beacons, optionally including attachment - # data. - class GetInfoForObservedBeaconsResponse - include Google::Apis::Core::Hashable - - # Public information about beacons. - # May be empty if the request matched no beacons. - # Corresponds to the JSON property `beacons` - # @return [Array] - attr_accessor :beacons - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @beacons = args[:beacons] if args.key?(:beacons) - end - end - # Details of a beacon device. class Beacon include Google::Apis::Core::Hashable + # Resource name of this beacon. A beacon name has the format + # "beacons/N!beaconId" where the beaconId is the base16 ID broadcast by + # the beacon and N is a code for the beacon's type. Possible values are + # `3` for Eddystone, `1` for iBeacon, or `5` for AltBeacon. + # This field must be left empty when registering. After reading a beacon, + # clients can use the name for future operations. + # Corresponds to the JSON property `beaconName` + # @return [String] + attr_accessor :beacon_name + + # Expected location stability. This is set when the beacon is registered or + # updated, not automatically detected in any way. + # Optional. + # Corresponds to the JSON property `expectedStability` + # @return [String] + attr_accessor :expected_stability + # Defines a unique identifier of a beacon as broadcast by the device. # Corresponds to the JSON property `advertisedId` # @return [Google::Apis::ProximitybeaconV1beta1::AdvertisedId] attr_accessor :advertised_id - # Some beacons may require a user to provide an authorization key before - # changing any of its configuration (e.g. broadcast frames, transmit power). - # This field provides a place to store and control access to that key. - # This field is populated in responses to `GET /v1beta1/beacons/3!beaconId` - # from users with write access to the given beacon. That is to say: If the - # user is authorized to write the beacon's confidential data in the service, - # the service considers them authorized to configure the beacon. Note - # that this key grants nothing on the service, only on the beacon itself. - # Corresponds to the JSON property `provisioningKey` - # NOTE: Values are automatically base64 encoded/decoded in the client library. - # @return [String] - attr_accessor :provisioning_key - # Write-only registration parameters for beacons using Eddystone-EID format. # Two ways of securely registering an Eddystone-EID beacon with the service # are supported: @@ -89,6 +72,34 @@ module Google # @return [Google::Apis::ProximitybeaconV1beta1::EphemeralIdRegistration] attr_accessor :ephemeral_id_registration + # Some beacons may require a user to provide an authorization key before + # changing any of its configuration (e.g. broadcast frames, transmit power). + # This field provides a place to store and control access to that key. + # This field is populated in responses to `GET /v1beta1/beacons/3!beaconId` + # from users with write access to the given beacon. That is to say: If the + # user is authorized to write the beacon's confidential data in the service, + # the service considers them authorized to configure the beacon. Note + # that this key grants nothing on the service, only on the beacon itself. + # Corresponds to the JSON property `provisioningKey` + # NOTE: Values are automatically base64 encoded/decoded in the client library. + # @return [String] + attr_accessor :provisioning_key + + # Free text used to identify and describe the beacon. Maximum length 140 + # characters. + # Optional. + # Corresponds to the JSON property `description` + # @return [String] + attr_accessor :description + + # The [Google Places API](/places/place-id) Place ID of the place where + # the beacon is deployed. This is given when the beacon is registered or + # updated, not automatically detected in any way. + # Optional. + # Corresponds to the JSON property `placeId` + # @return [String] + attr_accessor :place_id + # An object representing a latitude/longitude pair. This is expressed as a pair # of doubles representing degrees latitude and degrees longitude. Unless # specified otherwise, this must conform to the @@ -130,21 +141,6 @@ module Google # @return [Google::Apis::ProximitybeaconV1beta1::LatLng] attr_accessor :lat_lng - # Free text used to identify and describe the beacon. Maximum length 140 - # characters. - # Optional. - # Corresponds to the JSON property `description` - # @return [String] - attr_accessor :description - - # The [Google Places API](/places/place-id) Place ID of the place where - # the beacon is deployed. This is given when the beacon is registered or - # updated, not automatically detected in any way. - # Optional. - # Corresponds to the JSON property `placeId` - # @return [String] - attr_accessor :place_id - # Properties of the beacon device, for example battery type or firmware # version. # Optional. @@ -164,40 +160,23 @@ module Google # @return [Google::Apis::ProximitybeaconV1beta1::IndoorLevel] attr_accessor :indoor_level - # Resource name of this beacon. A beacon name has the format - # "beacons/N!beaconId" where the beaconId is the base16 ID broadcast by - # the beacon and N is a code for the beacon's type. Possible values are - # `3` for Eddystone, `1` for iBeacon, or `5` for AltBeacon. - # This field must be left empty when registering. After reading a beacon, - # clients can use the name for future operations. - # Corresponds to the JSON property `beaconName` - # @return [String] - attr_accessor :beacon_name - - # Expected location stability. This is set when the beacon is registered or - # updated, not automatically detected in any way. - # Optional. - # Corresponds to the JSON property `expectedStability` - # @return [String] - attr_accessor :expected_stability - def initialize(**args) update!(**args) end # Update properties of this object def update!(**args) + @beacon_name = args[:beacon_name] if args.key?(:beacon_name) + @expected_stability = args[:expected_stability] if args.key?(:expected_stability) @advertised_id = args[:advertised_id] if args.key?(:advertised_id) - @provisioning_key = args[:provisioning_key] if args.key?(:provisioning_key) @ephemeral_id_registration = args[:ephemeral_id_registration] if args.key?(:ephemeral_id_registration) - @lat_lng = args[:lat_lng] if args.key?(:lat_lng) + @provisioning_key = args[:provisioning_key] if args.key?(:provisioning_key) @description = args[:description] if args.key?(:description) @place_id = args[:place_id] if args.key?(:place_id) + @lat_lng = args[:lat_lng] if args.key?(:lat_lng) @properties = args[:properties] if args.key?(:properties) @status = args[:status] if args.key?(:status) @indoor_level = args[:indoor_level] if args.key?(:indoor_level) - @beacon_name = args[:beacon_name] if args.key?(:beacon_name) - @expected_stability = args[:expected_stability] if args.key?(:expected_stability) end end @@ -311,6 +290,44 @@ module Google end end + # Diagnostics for a single beacon. + class Diagnostics + include Google::Apis::Core::Hashable + + # Resource name of the beacon. For Eddystone-EID beacons, this may + # be the beacon's current EID, or the beacon's "stable" Eddystone-UID. + # Corresponds to the JSON property `beaconName` + # @return [String] + attr_accessor :beacon_name + + # An unordered list of Alerts that the beacon has. + # Corresponds to the JSON property `alerts` + # @return [Array] + attr_accessor :alerts + + # Represents a whole calendar date, e.g. date of birth. The time of day and + # time zone are either specified elsewhere or are not significant. The date + # is relative to the Proleptic Gregorian Calendar. The day may be 0 to + # represent a year and month where the day is not significant, e.g. credit card + # expiration date. The year may be 0 to represent a month and day independent + # of year, e.g. anniversary date. Related types are google.type.TimeOfDay + # and `google.protobuf.Timestamp`. + # Corresponds to the JSON property `estimatedLowBatteryDate` + # @return [Google::Apis::ProximitybeaconV1beta1::Date] + attr_accessor :estimated_low_battery_date + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @beacon_name = args[:beacon_name] if args.key?(:beacon_name) + @alerts = args[:alerts] if args.key?(:alerts) + @estimated_low_battery_date = args[:estimated_low_battery_date] if args.key?(:estimated_low_battery_date) + end + end + # Response that contains list beacon results and pagination help. class ListBeaconsResponse include Google::Apis::Core::Hashable @@ -329,7 +346,7 @@ module Google # Estimate of the total number of beacons matched by the query. Higher # values may be less accurate. # Corresponds to the JSON property `totalCount` - # @return [String] + # @return [Fixnum] attr_accessor :total_count def initialize(**args) @@ -344,63 +361,6 @@ module Google end end - # Diagnostics for a single beacon. - class Diagnostics - include Google::Apis::Core::Hashable - - # An unordered list of Alerts that the beacon has. - # Corresponds to the JSON property `alerts` - # @return [Array] - attr_accessor :alerts - - # Represents a whole calendar date, e.g. date of birth. The time of day and - # time zone are either specified elsewhere or are not significant. The date - # is relative to the Proleptic Gregorian Calendar. The day may be 0 to - # represent a year and month where the day is not significant, e.g. credit card - # expiration date. The year may be 0 to represent a month and day independent - # of year, e.g. anniversary date. Related types are google.type.TimeOfDay - # and `google.protobuf.Timestamp`. - # Corresponds to the JSON property `estimatedLowBatteryDate` - # @return [Google::Apis::ProximitybeaconV1beta1::Date] - attr_accessor :estimated_low_battery_date - - # Resource name of the beacon. For Eddystone-EID beacons, this may - # be the beacon's current EID, or the beacon's "stable" Eddystone-UID. - # Corresponds to the JSON property `beaconName` - # @return [String] - attr_accessor :beacon_name - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @alerts = args[:alerts] if args.key?(:alerts) - @estimated_low_battery_date = args[:estimated_low_battery_date] if args.key?(:estimated_low_battery_date) - @beacon_name = args[:beacon_name] if args.key?(:beacon_name) - end - end - - # A generic empty message that you can re-use to avoid defining duplicated - # empty messages in your APIs. A typical example is to use it as the request - # or the response type of an API method. For instance: - # service Foo ` - # rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty); - # ` - # The JSON representation for `Empty` is empty JSON object ````. - class Empty - include Google::Apis::Core::Hashable - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - end - end - # Request for beacon and attachment information about beacons that # a mobile client has encountered "in the wild". class GetInfoForObservedBeaconsRequest @@ -433,6 +393,25 @@ module Google end end + # A generic empty message that you can re-use to avoid defining duplicated + # empty messages in your APIs. A typical example is to use it as the request + # or the response type of an API method. For instance: + # service Foo ` + # rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty); + # ` + # The JSON representation for `Empty` is empty JSON object ````. + class Empty + include Google::Apis::Core::Hashable + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + end + end + # Project-specific data associated with a beacon. class BeaconAttachment include Google::Apis::Core::Hashable @@ -504,6 +483,34 @@ module Google class EphemeralIdRegistration include Google::Apis::Core::Hashable + # The beacon's public key used for the Elliptic curve Diffie-Hellman + # key exchange. When this field is populated, `service_ecdh_public_key` + # must also be populated, and `beacon_identity_key` must not be. + # Corresponds to the JSON property `beaconEcdhPublicKey` + # NOTE: Values are automatically base64 encoded/decoded in the client library. + # @return [String] + attr_accessor :beacon_ecdh_public_key + + # The initial clock value of the beacon. The beacon's clock must have + # begun counting at this value immediately prior to transmitting this + # value to the resolving service. Significant delay in transmitting this + # value to the service risks registration or resolution failures. If a + # value is not provided, the default is zero. + # Corresponds to the JSON property `initialClockValue` + # @return [Fixnum] + attr_accessor :initial_clock_value + + # Indicates the nominal period between each rotation of the beacon's + # ephemeral ID. "Nominal" because the beacon should randomize the + # actual interval. See [the spec at github](https://github.com/google/eddystone/ + # tree/master/eddystone-eid) + # for details. This value corresponds to a power-of-two scaler on the + # beacon's clock: when the scaler value is K, the beacon will begin + # broadcasting a new ephemeral ID on average every 2^K seconds. + # Corresponds to the JSON property `rotationPeriodExponent` + # @return [Fixnum] + attr_accessor :rotation_period_exponent + # The service's public key used for the Elliptic curve Diffie-Hellman # key exchange. When this field is populated, `beacon_ecdh_public_key` # must also be populated, and `beacon_identity_key` must not be. @@ -530,46 +537,18 @@ module Google # @return [String] attr_accessor :initial_eid - # The beacon's public key used for the Elliptic curve Diffie-Hellman - # key exchange. When this field is populated, `service_ecdh_public_key` - # must also be populated, and `beacon_identity_key` must not be. - # Corresponds to the JSON property `beaconEcdhPublicKey` - # NOTE: Values are automatically base64 encoded/decoded in the client library. - # @return [String] - attr_accessor :beacon_ecdh_public_key - - # The initial clock value of the beacon. The beacon's clock must have - # begun counting at this value immediately prior to transmitting this - # value to the resolving service. Significant delay in transmitting this - # value to the service risks registration or resolution failures. If a - # value is not provided, the default is zero. - # Corresponds to the JSON property `initialClockValue` - # @return [String] - attr_accessor :initial_clock_value - - # Indicates the nominal period between each rotation of the beacon's - # ephemeral ID. "Nominal" because the beacon should randomize the - # actual interval. See [the spec at github](https://github.com/google/eddystone/ - # tree/master/eddystone-eid) - # for details. This value corresponds to a power-of-two scaler on the - # beacon's clock: when the scaler value is K, the beacon will begin - # broadcasting a new ephemeral ID on average every 2^K seconds. - # Corresponds to the JSON property `rotationPeriodExponent` - # @return [Fixnum] - attr_accessor :rotation_period_exponent - def initialize(**args) update!(**args) end # Update properties of this object def update!(**args) - @service_ecdh_public_key = args[:service_ecdh_public_key] if args.key?(:service_ecdh_public_key) - @beacon_identity_key = args[:beacon_identity_key] if args.key?(:beacon_identity_key) - @initial_eid = args[:initial_eid] if args.key?(:initial_eid) @beacon_ecdh_public_key = args[:beacon_ecdh_public_key] if args.key?(:beacon_ecdh_public_key) @initial_clock_value = args[:initial_clock_value] if args.key?(:initial_clock_value) @rotation_period_exponent = args[:rotation_period_exponent] if args.key?(:rotation_period_exponent) + @service_ecdh_public_key = args[:service_ecdh_public_key] if args.key?(:service_ecdh_public_key) + @beacon_identity_key = args[:beacon_identity_key] if args.key?(:beacon_identity_key) + @initial_eid = args[:initial_eid] if args.key?(:initial_eid) end end @@ -613,24 +592,24 @@ module Google class LatLng include Google::Apis::Core::Hashable - # The latitude in degrees. It must be in the range [-90.0, +90.0]. - # Corresponds to the JSON property `latitude` - # @return [Float] - attr_accessor :latitude - # The longitude in degrees. It must be in the range [-180.0, +180.0]. # Corresponds to the JSON property `longitude` # @return [Float] attr_accessor :longitude + # The latitude in degrees. It must be in the range [-90.0, +90.0]. + # Corresponds to the JSON property `latitude` + # @return [Float] + attr_accessor :latitude + def initialize(**args) update!(**args) end # Update properties of this object def update!(**args) - @latitude = args[:latitude] if args.key?(:latitude) @longitude = args[:longitude] if args.key?(:longitude) + @latitude = args[:latitude] if args.key?(:latitude) end end @@ -682,41 +661,16 @@ module Google end end - # A subset of attachment information served via the - # `beaconinfo.getforobserved` method, used when your users encounter your - # beacons. - class AttachmentInfo - include Google::Apis::Core::Hashable - - # Specifies what kind of attachment this is. Tells a client how to - # interpret the `data` field. Format is namespace/type, for - # example scrupulous-wombat-12345/welcome-message - # Corresponds to the JSON property `namespacedType` - # @return [String] - attr_accessor :namespaced_type - - # An opaque data container for client-provided data. - # Corresponds to the JSON property `data` - # NOTE: Values are automatically base64 encoded/decoded in the client library. - # @return [String] - attr_accessor :data - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @namespaced_type = args[:namespaced_type] if args.key?(:namespaced_type) - @data = args[:data] if args.key?(:data) - end - end - # A subset of beacon information served via the `beaconinfo.getforobserved` # method, which you call when users of your app encounter your beacons. class BeaconInfo include Google::Apis::Core::Hashable + # The name under which the beacon is registered. + # Corresponds to the JSON property `beaconName` + # @return [String] + attr_accessor :beacon_name + # Defines a unique identifier of a beacon as broadcast by the device. # Corresponds to the JSON property `advertisedId` # @return [Google::Apis::ProximitybeaconV1beta1::AdvertisedId] @@ -728,49 +682,36 @@ module Google # @return [Array] attr_accessor :attachments - # The name under which the beacon is registered. - # Corresponds to the JSON property `beaconName` - # @return [String] - attr_accessor :beacon_name - def initialize(**args) update!(**args) end # Update properties of this object def update!(**args) + @beacon_name = args[:beacon_name] if args.key?(:beacon_name) @advertised_id = args[:advertised_id] if args.key?(:advertised_id) @attachments = args[:attachments] if args.key?(:attachments) - @beacon_name = args[:beacon_name] if args.key?(:beacon_name) end end - # Information a client needs to provision and register beacons that - # broadcast Eddystone-EID format beacon IDs, using Elliptic curve - # Diffie-Hellman key exchange. See - # [the Eddystone specification](https://github.com/google/eddystone/tree/master/ - # eddystone-eid) at GitHub. - class EphemeralIdRegistrationParams + # A subset of attachment information served via the + # `beaconinfo.getforobserved` method, used when your users encounter your + # beacons. + class AttachmentInfo include Google::Apis::Core::Hashable - # The beacon service's public key for use by a beacon to derive its - # Identity Key using Elliptic Curve Diffie-Hellman key exchange. - # Corresponds to the JSON property `serviceEcdhPublicKey` + # An opaque data container for client-provided data. + # Corresponds to the JSON property `data` # NOTE: Values are automatically base64 encoded/decoded in the client library. # @return [String] - attr_accessor :service_ecdh_public_key + attr_accessor :data - # Indicates the minimum rotation period supported by the service. - # See EddystoneEidRegistration.rotation_period_exponent - # Corresponds to the JSON property `minRotationPeriodExponent` - # @return [Fixnum] - attr_accessor :min_rotation_period_exponent - - # Indicates the maximum rotation period supported by the service. - # See EddystoneEidRegistration.rotation_period_exponent - # Corresponds to the JSON property `maxRotationPeriodExponent` - # @return [Fixnum] - attr_accessor :max_rotation_period_exponent + # Specifies what kind of attachment this is. Tells a client how to + # interpret the `data` field. Format is namespace/type, for + # example scrupulous-wombat-12345/welcome-message + # Corresponds to the JSON property `namespacedType` + # @return [String] + attr_accessor :namespaced_type def initialize(**args) update!(**args) @@ -778,9 +719,8 @@ module Google # Update properties of this object def update!(**args) - @service_ecdh_public_key = args[:service_ecdh_public_key] if args.key?(:service_ecdh_public_key) - @min_rotation_period_exponent = args[:min_rotation_period_exponent] if args.key?(:min_rotation_period_exponent) - @max_rotation_period_exponent = args[:max_rotation_period_exponent] if args.key?(:max_rotation_period_exponent) + @data = args[:data] if args.key?(:data) + @namespaced_type = args[:namespaced_type] if args.key?(:namespaced_type) end end @@ -803,15 +743,49 @@ module Google end end + # Information a client needs to provision and register beacons that + # broadcast Eddystone-EID format beacon IDs, using Elliptic curve + # Diffie-Hellman key exchange. See + # [the Eddystone specification](https://github.com/google/eddystone/tree/master/ + # eddystone-eid) at GitHub. + class EphemeralIdRegistrationParams + include Google::Apis::Core::Hashable + + # Indicates the minimum rotation period supported by the service. + # See EddystoneEidRegistration.rotation_period_exponent + # Corresponds to the JSON property `minRotationPeriodExponent` + # @return [Fixnum] + attr_accessor :min_rotation_period_exponent + + # Indicates the maximum rotation period supported by the service. + # See EddystoneEidRegistration.rotation_period_exponent + # Corresponds to the JSON property `maxRotationPeriodExponent` + # @return [Fixnum] + attr_accessor :max_rotation_period_exponent + + # The beacon service's public key for use by a beacon to derive its + # Identity Key using Elliptic Curve Diffie-Hellman key exchange. + # Corresponds to the JSON property `serviceEcdhPublicKey` + # NOTE: Values are automatically base64 encoded/decoded in the client library. + # @return [String] + attr_accessor :service_ecdh_public_key + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @min_rotation_period_exponent = args[:min_rotation_period_exponent] if args.key?(:min_rotation_period_exponent) + @max_rotation_period_exponent = args[:max_rotation_period_exponent] if args.key?(:max_rotation_period_exponent) + @service_ecdh_public_key = args[:service_ecdh_public_key] if args.key?(:service_ecdh_public_key) + end + end + # Represents one beacon observed once. class Observation include Google::Apis::Core::Hashable - # Defines a unique identifier of a beacon as broadcast by the device. - # Corresponds to the JSON property `advertisedId` - # @return [Google::Apis::ProximitybeaconV1beta1::AdvertisedId] - attr_accessor :advertised_id - # The array of telemetry bytes received from the beacon. The server is # responsible for parsing it. This field may frequently be empty, as # with a beacon that transmits telemetry only occasionally. @@ -825,15 +799,20 @@ module Google # @return [String] attr_accessor :timestamp_ms + # Defines a unique identifier of a beacon as broadcast by the device. + # Corresponds to the JSON property `advertisedId` + # @return [Google::Apis::ProximitybeaconV1beta1::AdvertisedId] + attr_accessor :advertised_id + def initialize(**args) update!(**args) end # Update properties of this object def update!(**args) - @advertised_id = args[:advertised_id] if args.key?(:advertised_id) @telemetry = args[:telemetry] if args.key?(:telemetry) @timestamp_ms = args[:timestamp_ms] if args.key?(:timestamp_ms) + @advertised_id = args[:advertised_id] if args.key?(:advertised_id) end end @@ -841,25 +820,46 @@ module Google class ListDiagnosticsResponse include Google::Apis::Core::Hashable - # The diagnostics matching the given request. - # Corresponds to the JSON property `diagnostics` - # @return [Array] - attr_accessor :diagnostics - # Token that can be used for pagination. Returned only if the # request matches more beacons than can be returned in this response. # Corresponds to the JSON property `nextPageToken` # @return [String] attr_accessor :next_page_token + # The diagnostics matching the given request. + # Corresponds to the JSON property `diagnostics` + # @return [Array] + attr_accessor :diagnostics + def initialize(**args) update!(**args) end # Update properties of this object def update!(**args) - @diagnostics = args[:diagnostics] if args.key?(:diagnostics) @next_page_token = args[:next_page_token] if args.key?(:next_page_token) + @diagnostics = args[:diagnostics] if args.key?(:diagnostics) + end + end + + # Information about the requested beacons, optionally including attachment + # data. + class GetInfoForObservedBeaconsResponse + include Google::Apis::Core::Hashable + + # Public information about beacons. + # May be empty if the request matched no beacons. + # Corresponds to the JSON property `beacons` + # @return [Array] + attr_accessor :beacons + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @beacons = args[:beacons] if args.key?(:beacons) end end end diff --git a/generated/google/apis/proximitybeacon_v1beta1/representations.rb b/generated/google/apis/proximitybeacon_v1beta1/representations.rb index 4a8616bd8..95a772fd5 100644 --- a/generated/google/apis/proximitybeacon_v1beta1/representations.rb +++ b/generated/google/apis/proximitybeacon_v1beta1/representations.rb @@ -22,12 +22,6 @@ module Google module Apis module ProximitybeaconV1beta1 - class GetInfoForObservedBeaconsResponse - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - class Beacon class Representation < Google::Apis::Core::JsonRepresentation; end @@ -58,19 +52,13 @@ module Google include Google::Apis::Core::JsonObjectSupport end - class ListBeaconsResponse - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - class Diagnostics class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end - class Empty + class ListBeaconsResponse class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport @@ -82,6 +70,12 @@ module Google include Google::Apis::Core::JsonObjectSupport end + class Empty + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + class BeaconAttachment class Representation < Google::Apis::Core::JsonRepresentation; end @@ -112,19 +106,13 @@ module Google include Google::Apis::Core::JsonObjectSupport end - class AttachmentInfo - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - class BeaconInfo class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end - class EphemeralIdRegistrationParams + class AttachmentInfo class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport @@ -136,6 +124,12 @@ module Google include Google::Apis::Core::JsonObjectSupport end + class EphemeralIdRegistrationParams + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + class Observation class Representation < Google::Apis::Core::JsonRepresentation; end @@ -149,31 +143,29 @@ module Google end class GetInfoForObservedBeaconsResponse - # @private - class Representation < Google::Apis::Core::JsonRepresentation - collection :beacons, as: 'beacons', class: Google::Apis::ProximitybeaconV1beta1::BeaconInfo, decorator: Google::Apis::ProximitybeaconV1beta1::BeaconInfo::Representation + class Representation < Google::Apis::Core::JsonRepresentation; end - end + include Google::Apis::Core::JsonObjectSupport end class Beacon # @private class Representation < Google::Apis::Core::JsonRepresentation + property :beacon_name, as: 'beaconName' + property :expected_stability, as: 'expectedStability' property :advertised_id, as: 'advertisedId', class: Google::Apis::ProximitybeaconV1beta1::AdvertisedId, decorator: Google::Apis::ProximitybeaconV1beta1::AdvertisedId::Representation - property :provisioning_key, :base64 => true, as: 'provisioningKey' property :ephemeral_id_registration, as: 'ephemeralIdRegistration', class: Google::Apis::ProximitybeaconV1beta1::EphemeralIdRegistration, decorator: Google::Apis::ProximitybeaconV1beta1::EphemeralIdRegistration::Representation - property :lat_lng, as: 'latLng', class: Google::Apis::ProximitybeaconV1beta1::LatLng, decorator: Google::Apis::ProximitybeaconV1beta1::LatLng::Representation - + property :provisioning_key, :base64 => true, as: 'provisioningKey' property :description, as: 'description' property :place_id, as: 'placeId' + property :lat_lng, as: 'latLng', class: Google::Apis::ProximitybeaconV1beta1::LatLng, decorator: Google::Apis::ProximitybeaconV1beta1::LatLng::Representation + hash :properties, as: 'properties' property :status, as: 'status' property :indoor_level, as: 'indoorLevel', class: Google::Apis::ProximitybeaconV1beta1::IndoorLevel, decorator: Google::Apis::ProximitybeaconV1beta1::IndoorLevel::Representation - property :beacon_name, as: 'beaconName' - property :expected_stability, as: 'expectedStability' end end @@ -209,29 +201,23 @@ module Google end end + class Diagnostics + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :beacon_name, as: 'beaconName' + collection :alerts, as: 'alerts' + property :estimated_low_battery_date, as: 'estimatedLowBatteryDate', class: Google::Apis::ProximitybeaconV1beta1::Date, decorator: Google::Apis::ProximitybeaconV1beta1::Date::Representation + + end + end + class ListBeaconsResponse # @private class Representation < Google::Apis::Core::JsonRepresentation property :next_page_token, as: 'nextPageToken' collection :beacons, as: 'beacons', class: Google::Apis::ProximitybeaconV1beta1::Beacon, decorator: Google::Apis::ProximitybeaconV1beta1::Beacon::Representation - property :total_count, as: 'totalCount' - end - end - - class Diagnostics - # @private - class Representation < Google::Apis::Core::JsonRepresentation - collection :alerts, as: 'alerts' - property :estimated_low_battery_date, as: 'estimatedLowBatteryDate', class: Google::Apis::ProximitybeaconV1beta1::Date, decorator: Google::Apis::ProximitybeaconV1beta1::Date::Representation - - property :beacon_name, as: 'beaconName' - end - end - - class Empty - # @private - class Representation < Google::Apis::Core::JsonRepresentation + property :total_count, :numeric_string => true, as: 'totalCount' end end @@ -244,6 +230,12 @@ module Google end end + class Empty + # @private + class Representation < Google::Apis::Core::JsonRepresentation + end + end + class BeaconAttachment # @private class Representation < Google::Apis::Core::JsonRepresentation @@ -257,20 +249,20 @@ module Google class EphemeralIdRegistration # @private class Representation < Google::Apis::Core::JsonRepresentation + property :beacon_ecdh_public_key, :base64 => true, as: 'beaconEcdhPublicKey' + property :initial_clock_value, :numeric_string => true, as: 'initialClockValue' + property :rotation_period_exponent, as: 'rotationPeriodExponent' property :service_ecdh_public_key, :base64 => true, as: 'serviceEcdhPublicKey' property :beacon_identity_key, :base64 => true, as: 'beaconIdentityKey' property :initial_eid, :base64 => true, as: 'initialEid' - property :beacon_ecdh_public_key, :base64 => true, as: 'beaconEcdhPublicKey' - property :initial_clock_value, as: 'initialClockValue' - property :rotation_period_exponent, as: 'rotationPeriodExponent' end end class LatLng # @private class Representation < Google::Apis::Core::JsonRepresentation - property :latitude, as: 'latitude' property :longitude, as: 'longitude' + property :latitude, as: 'latitude' end end @@ -290,31 +282,22 @@ module Google end end - class AttachmentInfo - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :namespaced_type, as: 'namespacedType' - property :data, :base64 => true, as: 'data' - end - end - class BeaconInfo # @private class Representation < Google::Apis::Core::JsonRepresentation + property :beacon_name, as: 'beaconName' property :advertised_id, as: 'advertisedId', class: Google::Apis::ProximitybeaconV1beta1::AdvertisedId, decorator: Google::Apis::ProximitybeaconV1beta1::AdvertisedId::Representation collection :attachments, as: 'attachments', class: Google::Apis::ProximitybeaconV1beta1::AttachmentInfo, decorator: Google::Apis::ProximitybeaconV1beta1::AttachmentInfo::Representation - property :beacon_name, as: 'beaconName' end end - class EphemeralIdRegistrationParams + class AttachmentInfo # @private class Representation < Google::Apis::Core::JsonRepresentation - property :service_ecdh_public_key, :base64 => true, as: 'serviceEcdhPublicKey' - property :min_rotation_period_exponent, as: 'minRotationPeriodExponent' - property :max_rotation_period_exponent, as: 'maxRotationPeriodExponent' + property :data, :base64 => true, as: 'data' + property :namespaced_type, as: 'namespacedType' end end @@ -325,22 +308,39 @@ module Google end end + class EphemeralIdRegistrationParams + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :min_rotation_period_exponent, as: 'minRotationPeriodExponent' + property :max_rotation_period_exponent, as: 'maxRotationPeriodExponent' + property :service_ecdh_public_key, :base64 => true, as: 'serviceEcdhPublicKey' + end + end + class Observation # @private class Representation < Google::Apis::Core::JsonRepresentation - property :advertised_id, as: 'advertisedId', class: Google::Apis::ProximitybeaconV1beta1::AdvertisedId, decorator: Google::Apis::ProximitybeaconV1beta1::AdvertisedId::Representation - property :telemetry, :base64 => true, as: 'telemetry' property :timestamp_ms, as: 'timestampMs' + property :advertised_id, as: 'advertisedId', class: Google::Apis::ProximitybeaconV1beta1::AdvertisedId, decorator: Google::Apis::ProximitybeaconV1beta1::AdvertisedId::Representation + end end class ListDiagnosticsResponse # @private class Representation < Google::Apis::Core::JsonRepresentation + property :next_page_token, as: 'nextPageToken' collection :diagnostics, as: 'diagnostics', class: Google::Apis::ProximitybeaconV1beta1::Diagnostics, decorator: Google::Apis::ProximitybeaconV1beta1::Diagnostics::Representation - property :next_page_token, as: 'nextPageToken' + end + end + + class GetInfoForObservedBeaconsResponse + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :beacons, as: 'beacons', class: Google::Apis::ProximitybeaconV1beta1::BeaconInfo, decorator: Google::Apis::ProximitybeaconV1beta1::BeaconInfo::Representation + end end end diff --git a/generated/google/apis/proximitybeacon_v1beta1/service.rb b/generated/google/apis/proximitybeacon_v1beta1/service.rb index e3d5b0df0..847d2a0d7 100644 --- a/generated/google/apis/proximitybeacon_v1beta1/service.rb +++ b/generated/google/apis/proximitybeacon_v1beta1/service.rb @@ -32,130 +32,19 @@ module Google # # @see https://developers.google.com/beacons/proximity/ class ProximitybeaconService < Google::Apis::Core::BaseService - # @return [String] - # API key. Your API key identifies your project and provides you with API access, - # quota, and reports. Required unless you provide an OAuth 2.0 token. - attr_accessor :key - # @return [String] # Available to use for quota purposes for server-side applications. Can be any # arbitrary string assigned to a user, but should not exceed 40 characters. attr_accessor :quota_user + # @return [String] + # API key. Your API key identifies your project and provides you with API access, + # quota, and reports. Required unless you provide an OAuth 2.0 token. + attr_accessor :key + def initialize super('https://proximitybeacon.googleapis.com/', '') - end - - # Given one or more beacon observations, returns any beacon information - # and attachments accessible to your application. Authorize by using the - # [API key](https://developers.google.com/beacons/proximity/how-tos/authorizing# - # APIKey) - # for the application. - # @param [Google::Apis::ProximitybeaconV1beta1::GetInfoForObservedBeaconsRequest] get_info_for_observed_beacons_request_object - # @param [String] quota_user - # Available to use for quota purposes for server-side applications. Can be any - # arbitrary string assigned to a user, but should not exceed 40 characters. - # @param [String] fields - # Selector specifying which fields to include in a partial response. - # @param [Google::Apis::RequestOptions] options - # Request-specific options - # - # @yield [result, err] Result & error if block supplied - # @yieldparam result [Google::Apis::ProximitybeaconV1beta1::GetInfoForObservedBeaconsResponse] parsed result object - # @yieldparam err [StandardError] error object if request failed - # - # @return [Google::Apis::ProximitybeaconV1beta1::GetInfoForObservedBeaconsResponse] - # - # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried - # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification - # @raise [Google::Apis::AuthorizationError] Authorization is required - def getforobserved_beaconinfo(get_info_for_observed_beacons_request_object = nil, quota_user: nil, fields: nil, options: nil, &block) - command = make_simple_command(:post, 'v1beta1/beaconinfo:getforobserved', options) - command.request_representation = Google::Apis::ProximitybeaconV1beta1::GetInfoForObservedBeaconsRequest::Representation - command.request_object = get_info_for_observed_beacons_request_object - command.response_representation = Google::Apis::ProximitybeaconV1beta1::GetInfoForObservedBeaconsResponse::Representation - command.response_class = Google::Apis::ProximitybeaconV1beta1::GetInfoForObservedBeaconsResponse - command.query['quotaUser'] = quota_user unless quota_user.nil? - command.query['fields'] = fields unless fields.nil? - execute_or_queue_command(command, &block) - end - - # Lists all attachment namespaces owned by your Google Developers Console - # project. Attachment data associated with a beacon must include a - # namespaced type, and the namespace must be owned by your project. - # Authenticate using an [OAuth access token](https://developers.google.com/ - # identity/protocols/OAuth2) - # from a signed-in user with **viewer**, **Is owner** or **Can edit** - # permissions in the Google Developers Console project. - # @param [String] project_id - # The project id to list namespaces under. - # Optional. - # @param [String] quota_user - # Available to use for quota purposes for server-side applications. Can be any - # arbitrary string assigned to a user, but should not exceed 40 characters. - # @param [String] fields - # Selector specifying which fields to include in a partial response. - # @param [Google::Apis::RequestOptions] options - # Request-specific options - # - # @yield [result, err] Result & error if block supplied - # @yieldparam result [Google::Apis::ProximitybeaconV1beta1::ListNamespacesResponse] parsed result object - # @yieldparam err [StandardError] error object if request failed - # - # @return [Google::Apis::ProximitybeaconV1beta1::ListNamespacesResponse] - # - # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried - # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification - # @raise [Google::Apis::AuthorizationError] Authorization is required - def list_namespaces(project_id: nil, quota_user: nil, fields: nil, options: nil, &block) - command = make_simple_command(:get, 'v1beta1/namespaces', options) - command.response_representation = Google::Apis::ProximitybeaconV1beta1::ListNamespacesResponse::Representation - command.response_class = Google::Apis::ProximitybeaconV1beta1::ListNamespacesResponse - command.query['projectId'] = project_id unless project_id.nil? - command.query['quotaUser'] = quota_user unless quota_user.nil? - command.query['fields'] = fields unless fields.nil? - execute_or_queue_command(command, &block) - end - - # Updates the information about the specified namespace. Only the namespace - # visibility can be updated. - # @param [String] namespace_name - # Resource name of this namespace. Namespaces names have the format: - # namespaces/namespace. - # @param [Google::Apis::ProximitybeaconV1beta1::Namespace] namespace_object - # @param [String] project_id - # The project id of the namespace to update. If the project id is not - # specified then the project making the request is used. The project id - # must match the project that owns the beacon. - # Optional. - # @param [String] quota_user - # Available to use for quota purposes for server-side applications. Can be any - # arbitrary string assigned to a user, but should not exceed 40 characters. - # @param [String] fields - # Selector specifying which fields to include in a partial response. - # @param [Google::Apis::RequestOptions] options - # Request-specific options - # - # @yield [result, err] Result & error if block supplied - # @yieldparam result [Google::Apis::ProximitybeaconV1beta1::Namespace] parsed result object - # @yieldparam err [StandardError] error object if request failed - # - # @return [Google::Apis::ProximitybeaconV1beta1::Namespace] - # - # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried - # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification - # @raise [Google::Apis::AuthorizationError] Authorization is required - def update_namespace(namespace_name, namespace_object = nil, project_id: nil, quota_user: nil, fields: nil, options: nil, &block) - command = make_simple_command(:put, 'v1beta1/{+namespaceName}', options) - command.request_representation = Google::Apis::ProximitybeaconV1beta1::Namespace::Representation - command.request_object = namespace_object - command.response_representation = Google::Apis::ProximitybeaconV1beta1::Namespace::Representation - command.response_class = Google::Apis::ProximitybeaconV1beta1::Namespace - command.params['namespaceName'] = namespace_name unless namespace_name.nil? - command.query['projectId'] = project_id unless project_id.nil? - command.query['quotaUser'] = quota_user unless quota_user.nil? - command.query['fields'] = fields unless fields.nil? - execute_or_queue_command(command, &block) + @batch_path = 'batch' end # Gets the Proximity Beacon API's current public key and associated @@ -191,206 +80,6 @@ module Google execute_or_queue_command(command, &block) end - # Searches the beacon registry for beacons that match the given search - # criteria. Only those beacons that the client has permission to list - # will be returned. - # Authenticate using an [OAuth access token](https://developers.google.com/ - # identity/protocols/OAuth2) - # from a signed-in user with **viewer**, **Is owner** or **Can edit** - # permissions in the Google Developers Console project. - # @param [String] q - # Filter query string that supports the following field filters: - # * **description:`""`** - # For example: **description:"Room 3"** - # Returns beacons whose description matches tokens in the string "Room 3" - # (not necessarily that exact string). - # The string must be double-quoted. - # * **status:``** - # For example: **status:active** - # Returns beacons whose status matches the given value. Values must be - # one of the Beacon.Status enum values (case insensitive). Accepts - # multiple filters which will be combined with OR logic. - # * **stability:``** - # For example: **stability:mobile** - # Returns beacons whose expected stability matches the given value. - # Values must be one of the Beacon.Stability enum values (case - # insensitive). Accepts multiple filters which will be combined with - # OR logic. - # * **place\_id:`""`** - # For example: **place\_id:"ChIJVSZzVR8FdkgRXGmmm6SslKw="** - # Returns beacons explicitly registered at the given place, expressed as - # a Place ID obtained from [Google Places API](/places/place-id). Does not - # match places inside the given place. Does not consider the beacon's - # actual location (which may be different from its registered place). - # Accepts multiple filters that will be combined with OR logic. The place - # ID must be double-quoted. - # * **registration\_time`[<|>|<=|>=]`** - # For example: **registration\_time>=1433116800** - # Returns beacons whose registration time matches the given filter. - # Supports the operators: <, >, <=, and >=. Timestamp must be expressed as - # an integer number of seconds since midnight January 1, 1970 UTC. Accepts - # at most two filters that will be combined with AND logic, to support - # "between" semantics. If more than two are supplied, the latter ones are - # ignored. - # * **lat:` lng: radius:`** - # For example: **lat:51.1232343 lng:-1.093852 radius:1000** - # Returns beacons whose registered location is within the given circle. - # When any of these fields are given, all are required. Latitude and - # longitude must be decimal degrees between -90.0 and 90.0 and between - # -180.0 and 180.0 respectively. Radius must be an integer number of - # meters between 10 and 1,000,000 (1000 km). - # * **property:`"="`** - # For example: **property:"battery-type=CR2032"** - # Returns beacons which have a property of the given name and value. - # Supports multiple filters which will be combined with OR logic. - # The entire name=value string must be double-quoted as one string. - # * **attachment\_type:`""`** - # For example: **attachment_type:"my-namespace/my-type"** - # Returns beacons having at least one attachment of the given namespaced - # type. Supports "any within this namespace" via the partial wildcard - # syntax: "my-namespace/*". Supports multiple filters which will be - # combined with OR logic. The string must be double-quoted. - # * **indoor\_level:`""`** - # For example: **indoor\_level:"1"** - # Returns beacons which are located on the given indoor level. Accepts - # multiple filters that will be combined with OR logic. - # Multiple filters on the same field are combined with OR logic (except - # registration_time which is combined with AND logic). - # Multiple filters on different fields are combined with AND logic. - # Filters should be separated by spaces. - # As with any HTTP query string parameter, the whole filter expression must - # be URL-encoded. - # Example REST request: - # `GET /v1beta1/beacons?q=status:active%20lat:51.123%20lng:-1.095%20radius:1000` - # @param [Fixnum] page_size - # The maximum number of records to return for this request, up to a - # server-defined upper limit. - # @param [String] project_id - # The project id to list beacons under. If not present then the project - # credential that made the request is used as the project. - # Optional. - # @param [String] page_token - # A pagination token obtained from a previous request to list beacons. - # @param [String] quota_user - # Available to use for quota purposes for server-side applications. Can be any - # arbitrary string assigned to a user, but should not exceed 40 characters. - # @param [String] fields - # Selector specifying which fields to include in a partial response. - # @param [Google::Apis::RequestOptions] options - # Request-specific options - # - # @yield [result, err] Result & error if block supplied - # @yieldparam result [Google::Apis::ProximitybeaconV1beta1::ListBeaconsResponse] parsed result object - # @yieldparam err [StandardError] error object if request failed - # - # @return [Google::Apis::ProximitybeaconV1beta1::ListBeaconsResponse] - # - # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried - # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification - # @raise [Google::Apis::AuthorizationError] Authorization is required - def list_beacons(q: nil, page_size: nil, project_id: nil, page_token: nil, quota_user: nil, fields: nil, options: nil, &block) - command = make_simple_command(:get, 'v1beta1/beacons', options) - command.response_representation = Google::Apis::ProximitybeaconV1beta1::ListBeaconsResponse::Representation - command.response_class = Google::Apis::ProximitybeaconV1beta1::ListBeaconsResponse - command.query['q'] = q unless q.nil? - command.query['pageSize'] = page_size unless page_size.nil? - command.query['projectId'] = project_id unless project_id.nil? - command.query['pageToken'] = page_token unless page_token.nil? - command.query['quotaUser'] = quota_user unless quota_user.nil? - command.query['fields'] = fields unless fields.nil? - execute_or_queue_command(command, &block) - end - - # Registers a previously unregistered beacon given its `advertisedId`. - # These IDs are unique within the system. An ID can be registered only once. - # Authenticate using an [OAuth access token](https://developers.google.com/ - # identity/protocols/OAuth2) - # from a signed-in user with **Is owner** or **Can edit** permissions in the - # Google Developers Console project. - # @param [Google::Apis::ProximitybeaconV1beta1::Beacon] beacon_object - # @param [String] project_id - # The project id of the project the beacon will be registered to. If - # the project id is not specified then the project making the request - # is used. - # Optional. - # @param [String] quota_user - # Available to use for quota purposes for server-side applications. Can be any - # arbitrary string assigned to a user, but should not exceed 40 characters. - # @param [String] fields - # Selector specifying which fields to include in a partial response. - # @param [Google::Apis::RequestOptions] options - # Request-specific options - # - # @yield [result, err] Result & error if block supplied - # @yieldparam result [Google::Apis::ProximitybeaconV1beta1::Beacon] parsed result object - # @yieldparam err [StandardError] error object if request failed - # - # @return [Google::Apis::ProximitybeaconV1beta1::Beacon] - # - # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried - # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification - # @raise [Google::Apis::AuthorizationError] Authorization is required - def register_beacon(beacon_object = nil, project_id: nil, quota_user: nil, fields: nil, options: nil, &block) - command = make_simple_command(:post, 'v1beta1/beacons:register', options) - command.request_representation = Google::Apis::ProximitybeaconV1beta1::Beacon::Representation - command.request_object = beacon_object - command.response_representation = Google::Apis::ProximitybeaconV1beta1::Beacon::Representation - command.response_class = Google::Apis::ProximitybeaconV1beta1::Beacon - command.query['projectId'] = project_id unless project_id.nil? - command.query['quotaUser'] = quota_user unless quota_user.nil? - command.query['fields'] = fields unless fields.nil? - execute_or_queue_command(command, &block) - end - - # Activates a beacon. A beacon that is active will return information - # and attachment data when queried via `beaconinfo.getforobserved`. - # Calling this method on an already active beacon will do nothing (but - # will return a successful response code). - # Authenticate using an [OAuth access token](https://developers.google.com/ - # identity/protocols/OAuth2) - # from a signed-in user with **Is owner** or **Can edit** permissions in the - # Google Developers Console project. - # @param [String] beacon_name - # Beacon that should be activated. A beacon name has the format - # "beacons/N!beaconId" where the beaconId is the base16 ID broadcast by - # the beacon and N is a code for the beacon's type. Possible values are - # `3` for Eddystone-UID, `4` for Eddystone-EID, `1` for iBeacon, or `5` - # for AltBeacon. For Eddystone-EID beacons, you may use either the - # current EID or the beacon's "stable" UID. - # Required. - # @param [String] project_id - # The project id of the beacon to activate. If the project id is not - # specified then the project making the request is used. The project id - # must match the project that owns the beacon. - # Optional. - # @param [String] quota_user - # Available to use for quota purposes for server-side applications. Can be any - # arbitrary string assigned to a user, but should not exceed 40 characters. - # @param [String] fields - # Selector specifying which fields to include in a partial response. - # @param [Google::Apis::RequestOptions] options - # Request-specific options - # - # @yield [result, err] Result & error if block supplied - # @yieldparam result [Google::Apis::ProximitybeaconV1beta1::Empty] parsed result object - # @yieldparam err [StandardError] error object if request failed - # - # @return [Google::Apis::ProximitybeaconV1beta1::Empty] - # - # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried - # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification - # @raise [Google::Apis::AuthorizationError] Authorization is required - def activate_beacon(beacon_name, project_id: nil, quota_user: nil, fields: nil, options: nil, &block) - command = make_simple_command(:post, 'v1beta1/{+beaconName}:activate', options) - command.response_representation = Google::Apis::ProximitybeaconV1beta1::Empty::Representation - command.response_class = Google::Apis::ProximitybeaconV1beta1::Empty - command.params['beaconName'] = beacon_name unless beacon_name.nil? - command.query['projectId'] = project_id unless project_id.nil? - command.query['quotaUser'] = quota_user unless quota_user.nil? - command.query['fields'] = fields unless fields.nil? - execute_or_queue_command(command, &block) - end - # Returns detailed information about the specified beacon. # Authenticate using an [OAuth access token](https://developers.google.com/ # identity/protocols/OAuth2) @@ -545,6 +234,53 @@ module Google execute_or_queue_command(command, &block) end + # Deletes the specified beacon including all diagnostics data for the beacon + # as well as any attachments on the beacon (including those belonging to + # other projects). This operation cannot be undone. + # Authenticate using an [OAuth access token](https://developers.google.com/ + # identity/protocols/OAuth2) + # from a signed-in user with **Is owner** or **Can edit** permissions in the + # Google Developers Console project. + # @param [String] beacon_name + # Beacon that should be deleted. A beacon name has the format + # "beacons/N!beaconId" where the beaconId is the base16 ID broadcast by + # the beacon and N is a code for the beacon's type. Possible values are + # `3` for Eddystone-UID, `4` for Eddystone-EID, `1` for iBeacon, or `5` + # for AltBeacon. For Eddystone-EID beacons, you may use either the + # current EID or the beacon's "stable" UID. + # Required. + # @param [String] project_id + # The project id of the beacon to delete. If not provided, the project + # that is making the request is used. + # Optional. + # @param [String] quota_user + # Available to use for quota purposes for server-side applications. Can be any + # arbitrary string assigned to a user, but should not exceed 40 characters. + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::ProximitybeaconV1beta1::Empty] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::ProximitybeaconV1beta1::Empty] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def delete_beacon(beacon_name, project_id: nil, quota_user: nil, fields: nil, options: nil, &block) + command = make_simple_command(:delete, 'v1beta1/{+beaconName}', options) + command.response_representation = Google::Apis::ProximitybeaconV1beta1::Empty::Representation + command.response_class = Google::Apis::ProximitybeaconV1beta1::Empty + command.params['beaconName'] = beacon_name unless beacon_name.nil? + command.query['projectId'] = project_id unless project_id.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + command.query['fields'] = fields unless fields.nil? + execute_or_queue_command(command, &block) + end + # Deactivates a beacon. Once deactivated, the API will not return # information nor attachment data for the beacon when queried via # `beaconinfo.getforobserved`. Calling this method on an already inactive @@ -594,15 +330,167 @@ module Google execute_or_queue_command(command, &block) end - # Deletes the specified beacon including all diagnostics data for the beacon - # as well as any attachments on the beacon (including those belonging to - # other projects). This operation cannot be undone. + # Searches the beacon registry for beacons that match the given search + # criteria. Only those beacons that the client has permission to list + # will be returned. + # Authenticate using an [OAuth access token](https://developers.google.com/ + # identity/protocols/OAuth2) + # from a signed-in user with **viewer**, **Is owner** or **Can edit** + # permissions in the Google Developers Console project. + # @param [String] page_token + # A pagination token obtained from a previous request to list beacons. + # @param [String] q + # Filter query string that supports the following field filters: + # * **description:`""`** + # For example: **description:"Room 3"** + # Returns beacons whose description matches tokens in the string "Room 3" + # (not necessarily that exact string). + # The string must be double-quoted. + # * **status:``** + # For example: **status:active** + # Returns beacons whose status matches the given value. Values must be + # one of the Beacon.Status enum values (case insensitive). Accepts + # multiple filters which will be combined with OR logic. + # * **stability:``** + # For example: **stability:mobile** + # Returns beacons whose expected stability matches the given value. + # Values must be one of the Beacon.Stability enum values (case + # insensitive). Accepts multiple filters which will be combined with + # OR logic. + # * **place\_id:`""`** + # For example: **place\_id:"ChIJVSZzVR8FdkgRXGmmm6SslKw="** + # Returns beacons explicitly registered at the given place, expressed as + # a Place ID obtained from [Google Places API](/places/place-id). Does not + # match places inside the given place. Does not consider the beacon's + # actual location (which may be different from its registered place). + # Accepts multiple filters that will be combined with OR logic. The place + # ID must be double-quoted. + # * **registration\_time`[<|>|<=|>=]`** + # For example: **registration\_time>=1433116800** + # Returns beacons whose registration time matches the given filter. + # Supports the operators: <, >, <=, and >=. Timestamp must be expressed as + # an integer number of seconds since midnight January 1, 1970 UTC. Accepts + # at most two filters that will be combined with AND logic, to support + # "between" semantics. If more than two are supplied, the latter ones are + # ignored. + # * **lat:` lng: radius:`** + # For example: **lat:51.1232343 lng:-1.093852 radius:1000** + # Returns beacons whose registered location is within the given circle. + # When any of these fields are given, all are required. Latitude and + # longitude must be decimal degrees between -90.0 and 90.0 and between + # -180.0 and 180.0 respectively. Radius must be an integer number of + # meters between 10 and 1,000,000 (1000 km). + # * **property:`"="`** + # For example: **property:"battery-type=CR2032"** + # Returns beacons which have a property of the given name and value. + # Supports multiple filters which will be combined with OR logic. + # The entire name=value string must be double-quoted as one string. + # * **attachment\_type:`""`** + # For example: **attachment_type:"my-namespace/my-type"** + # Returns beacons having at least one attachment of the given namespaced + # type. Supports "any within this namespace" via the partial wildcard + # syntax: "my-namespace/*". Supports multiple filters which will be + # combined with OR logic. The string must be double-quoted. + # * **indoor\_level:`""`** + # For example: **indoor\_level:"1"** + # Returns beacons which are located on the given indoor level. Accepts + # multiple filters that will be combined with OR logic. + # Multiple filters on the same field are combined with OR logic (except + # registration_time which is combined with AND logic). + # Multiple filters on different fields are combined with AND logic. + # Filters should be separated by spaces. + # As with any HTTP query string parameter, the whole filter expression must + # be URL-encoded. + # Example REST request: + # `GET /v1beta1/beacons?q=status:active%20lat:51.123%20lng:-1.095%20radius:1000` + # @param [Fixnum] page_size + # The maximum number of records to return for this request, up to a + # server-defined upper limit. + # @param [String] project_id + # The project id to list beacons under. If not present then the project + # credential that made the request is used as the project. + # Optional. + # @param [String] quota_user + # Available to use for quota purposes for server-side applications. Can be any + # arbitrary string assigned to a user, but should not exceed 40 characters. + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::ProximitybeaconV1beta1::ListBeaconsResponse] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::ProximitybeaconV1beta1::ListBeaconsResponse] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def list_beacons(page_token: nil, q: nil, page_size: nil, project_id: nil, quota_user: nil, fields: nil, options: nil, &block) + command = make_simple_command(:get, 'v1beta1/beacons', options) + command.response_representation = Google::Apis::ProximitybeaconV1beta1::ListBeaconsResponse::Representation + command.response_class = Google::Apis::ProximitybeaconV1beta1::ListBeaconsResponse + command.query['pageToken'] = page_token unless page_token.nil? + command.query['q'] = q unless q.nil? + command.query['pageSize'] = page_size unless page_size.nil? + command.query['projectId'] = project_id unless project_id.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + command.query['fields'] = fields unless fields.nil? + execute_or_queue_command(command, &block) + end + + # Registers a previously unregistered beacon given its `advertisedId`. + # These IDs are unique within the system. An ID can be registered only once. + # Authenticate using an [OAuth access token](https://developers.google.com/ + # identity/protocols/OAuth2) + # from a signed-in user with **Is owner** or **Can edit** permissions in the + # Google Developers Console project. + # @param [Google::Apis::ProximitybeaconV1beta1::Beacon] beacon_object + # @param [String] project_id + # The project id of the project the beacon will be registered to. If + # the project id is not specified then the project making the request + # is used. + # Optional. + # @param [String] quota_user + # Available to use for quota purposes for server-side applications. Can be any + # arbitrary string assigned to a user, but should not exceed 40 characters. + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::ProximitybeaconV1beta1::Beacon] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::ProximitybeaconV1beta1::Beacon] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def register_beacon(beacon_object = nil, project_id: nil, quota_user: nil, fields: nil, options: nil, &block) + command = make_simple_command(:post, 'v1beta1/beacons:register', options) + command.request_representation = Google::Apis::ProximitybeaconV1beta1::Beacon::Representation + command.request_object = beacon_object + command.response_representation = Google::Apis::ProximitybeaconV1beta1::Beacon::Representation + command.response_class = Google::Apis::ProximitybeaconV1beta1::Beacon + command.query['projectId'] = project_id unless project_id.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + command.query['fields'] = fields unless fields.nil? + execute_or_queue_command(command, &block) + end + + # Activates a beacon. A beacon that is active will return information + # and attachment data when queried via `beaconinfo.getforobserved`. + # Calling this method on an already active beacon will do nothing (but + # will return a successful response code). # Authenticate using an [OAuth access token](https://developers.google.com/ # identity/protocols/OAuth2) # from a signed-in user with **Is owner** or **Can edit** permissions in the # Google Developers Console project. # @param [String] beacon_name - # Beacon that should be deleted. A beacon name has the format + # Beacon that should be activated. A beacon name has the format # "beacons/N!beaconId" where the beaconId is the base16 ID broadcast by # the beacon and N is a code for the beacon's type. Possible values are # `3` for Eddystone-UID, `4` for Eddystone-EID, `1` for iBeacon, or `5` @@ -610,8 +498,9 @@ module Google # current EID or the beacon's "stable" UID. # Required. # @param [String] project_id - # The project id of the beacon to delete. If not provided, the project - # that is making the request is used. + # The project id of the beacon to activate. If the project id is not + # specified then the project making the request is used. The project id + # must match the project that owns the beacon. # Optional. # @param [String] quota_user # Available to use for quota purposes for server-side applications. Can be any @@ -630,8 +519,8 @@ module Google # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required - def delete_beacon(beacon_name, project_id: nil, quota_user: nil, fields: nil, options: nil, &block) - command = make_simple_command(:delete, 'v1beta1/{+beaconName}', options) + def activate_beacon(beacon_name, project_id: nil, quota_user: nil, fields: nil, options: nil, &block) + command = make_simple_command(:post, 'v1beta1/{+beaconName}:activate', options) command.response_representation = Google::Apis::ProximitybeaconV1beta1::Empty::Representation command.response_class = Google::Apis::ProximitybeaconV1beta1::Empty command.params['beaconName'] = beacon_name unless beacon_name.nil? @@ -641,59 +530,6 @@ module Google execute_or_queue_command(command, &block) end - # List the diagnostics for a single beacon. You can also list diagnostics for - # all the beacons owned by your Google Developers Console project by using - # the beacon name `beacons/-`. - # Authenticate using an [OAuth access token](https://developers.google.com/ - # identity/protocols/OAuth2) - # from a signed-in user with **viewer**, **Is owner** or **Can edit** - # permissions in the Google Developers Console project. - # @param [String] beacon_name - # Beacon that the diagnostics are for. - # @param [Fixnum] page_size - # Specifies the maximum number of results to return. Defaults to - # 10. Maximum 1000. Optional. - # @param [String] alert_filter - # Requests only beacons that have the given alert. For example, to find - # beacons that have low batteries use `alert_filter=LOW_BATTERY`. - # @param [String] project_id - # Requests only diagnostic records for the given project id. If not set, - # then the project making the request will be used for looking up - # diagnostic records. Optional. - # @param [String] page_token - # Requests results that occur after the `page_token`, obtained from the - # response to a previous request. Optional. - # @param [String] quota_user - # Available to use for quota purposes for server-side applications. Can be any - # arbitrary string assigned to a user, but should not exceed 40 characters. - # @param [String] fields - # Selector specifying which fields to include in a partial response. - # @param [Google::Apis::RequestOptions] options - # Request-specific options - # - # @yield [result, err] Result & error if block supplied - # @yieldparam result [Google::Apis::ProximitybeaconV1beta1::ListDiagnosticsResponse] parsed result object - # @yieldparam err [StandardError] error object if request failed - # - # @return [Google::Apis::ProximitybeaconV1beta1::ListDiagnosticsResponse] - # - # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried - # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification - # @raise [Google::Apis::AuthorizationError] Authorization is required - def list_beacon_diagnostics(beacon_name, page_size: nil, alert_filter: nil, project_id: nil, page_token: nil, quota_user: nil, fields: nil, options: nil, &block) - command = make_simple_command(:get, 'v1beta1/{+beaconName}/diagnostics', options) - command.response_representation = Google::Apis::ProximitybeaconV1beta1::ListDiagnosticsResponse::Representation - command.response_class = Google::Apis::ProximitybeaconV1beta1::ListDiagnosticsResponse - command.params['beaconName'] = beacon_name unless beacon_name.nil? - command.query['pageSize'] = page_size unless page_size.nil? - command.query['alertFilter'] = alert_filter unless alert_filter.nil? - command.query['projectId'] = project_id unless project_id.nil? - command.query['pageToken'] = page_token unless page_token.nil? - command.query['quotaUser'] = quota_user unless quota_user.nil? - command.query['fields'] = fields unless fields.nil? - execute_or_queue_command(command, &block) - end - # Deletes the specified attachment for the given beacon. Each attachment has # a unique attachment name (`attachmentName`) which is returned when you # fetch the attachment data via this API. You specify this with the delete @@ -760,10 +596,6 @@ module Google # for AltBeacon. For Eddystone-EID beacons, you may use either the # current EID or the beacon's "stable" UID. # Required. - # @param [String] namespaced_type - # Specifies the namespace and type of attachment to include in response in - # namespace/type format. Accepts `*/*` to specify - # "all types in all namespaces". # @param [String] project_id # The project id to list beacon attachments under. This field can be # used when "*" is specified to mean all attachment namespaces. Projects @@ -771,6 +603,10 @@ module Google # specified and the projectId string is empty, then the project # making the request is used. # Optional. + # @param [String] namespaced_type + # Specifies the namespace and type of attachment to include in response in + # namespace/type format. Accepts `*/*` to specify + # "all types in all namespaces". # @param [String] quota_user # Available to use for quota purposes for server-side applications. Can be any # arbitrary string assigned to a user, but should not exceed 40 characters. @@ -788,13 +624,13 @@ module Google # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required - def list_beacon_attachments(beacon_name, namespaced_type: nil, project_id: nil, quota_user: nil, fields: nil, options: nil, &block) + def list_beacon_attachments(beacon_name, project_id: nil, namespaced_type: nil, quota_user: nil, fields: nil, options: nil, &block) command = make_simple_command(:get, 'v1beta1/{+beaconName}/attachments', options) command.response_representation = Google::Apis::ProximitybeaconV1beta1::ListBeaconAttachmentsResponse::Representation command.response_class = Google::Apis::ProximitybeaconV1beta1::ListBeaconAttachmentsResponse command.params['beaconName'] = beacon_name unless beacon_name.nil? - command.query['namespacedType'] = namespaced_type unless namespaced_type.nil? command.query['projectId'] = project_id unless project_id.nil? + command.query['namespacedType'] = namespaced_type unless namespaced_type.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['fields'] = fields unless fields.nil? execute_or_queue_command(command, &block) @@ -877,11 +713,6 @@ module Google # for AltBeacon. For Eddystone-EID beacons, you may use either the # current EID or the beacon's "stable" UID. # Required. - # @param [String] namespaced_type - # Specifies the namespace and type of attachments to delete in - # `namespace/type` format. Accepts `*/*` to specify - # "all types in all namespaces". - # Optional. # @param [String] project_id # The project id to delete beacon attachments under. This field can be # used when "*" is specified to mean all attachment namespaces. Projects @@ -889,6 +720,11 @@ module Google # specified and the projectId string is empty, then the project # making the request is used. # Optional. + # @param [String] namespaced_type + # Specifies the namespace and type of attachments to delete in + # `namespace/type` format. Accepts `*/*` to specify + # "all types in all namespaces". + # Optional. # @param [String] quota_user # Available to use for quota purposes for server-side applications. Can be any # arbitrary string assigned to a user, but should not exceed 40 characters. @@ -906,12 +742,177 @@ module Google # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required - def batch_beacon_attachment_delete(beacon_name, namespaced_type: nil, project_id: nil, quota_user: nil, fields: nil, options: nil, &block) + def batch_beacon_attachment_delete(beacon_name, project_id: nil, namespaced_type: nil, quota_user: nil, fields: nil, options: nil, &block) command = make_simple_command(:post, 'v1beta1/{+beaconName}/attachments:batchDelete', options) command.response_representation = Google::Apis::ProximitybeaconV1beta1::DeleteAttachmentsResponse::Representation command.response_class = Google::Apis::ProximitybeaconV1beta1::DeleteAttachmentsResponse command.params['beaconName'] = beacon_name unless beacon_name.nil? + command.query['projectId'] = project_id unless project_id.nil? command.query['namespacedType'] = namespaced_type unless namespaced_type.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + command.query['fields'] = fields unless fields.nil? + execute_or_queue_command(command, &block) + end + + # List the diagnostics for a single beacon. You can also list diagnostics for + # all the beacons owned by your Google Developers Console project by using + # the beacon name `beacons/-`. + # Authenticate using an [OAuth access token](https://developers.google.com/ + # identity/protocols/OAuth2) + # from a signed-in user with **viewer**, **Is owner** or **Can edit** + # permissions in the Google Developers Console project. + # @param [String] beacon_name + # Beacon that the diagnostics are for. + # @param [String] page_token + # Requests results that occur after the `page_token`, obtained from the + # response to a previous request. Optional. + # @param [Fixnum] page_size + # Specifies the maximum number of results to return. Defaults to + # 10. Maximum 1000. Optional. + # @param [String] alert_filter + # Requests only beacons that have the given alert. For example, to find + # beacons that have low batteries use `alert_filter=LOW_BATTERY`. + # @param [String] project_id + # Requests only diagnostic records for the given project id. If not set, + # then the project making the request will be used for looking up + # diagnostic records. Optional. + # @param [String] quota_user + # Available to use for quota purposes for server-side applications. Can be any + # arbitrary string assigned to a user, but should not exceed 40 characters. + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::ProximitybeaconV1beta1::ListDiagnosticsResponse] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::ProximitybeaconV1beta1::ListDiagnosticsResponse] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def list_beacon_diagnostics(beacon_name, page_token: nil, page_size: nil, alert_filter: nil, project_id: nil, quota_user: nil, fields: nil, options: nil, &block) + command = make_simple_command(:get, 'v1beta1/{+beaconName}/diagnostics', options) + command.response_representation = Google::Apis::ProximitybeaconV1beta1::ListDiagnosticsResponse::Representation + command.response_class = Google::Apis::ProximitybeaconV1beta1::ListDiagnosticsResponse + command.params['beaconName'] = beacon_name unless beacon_name.nil? + command.query['pageToken'] = page_token unless page_token.nil? + command.query['pageSize'] = page_size unless page_size.nil? + command.query['alertFilter'] = alert_filter unless alert_filter.nil? + command.query['projectId'] = project_id unless project_id.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + command.query['fields'] = fields unless fields.nil? + execute_or_queue_command(command, &block) + end + + # Given one or more beacon observations, returns any beacon information + # and attachments accessible to your application. Authorize by using the + # [API key](https://developers.google.com/beacons/proximity/how-tos/authorizing# + # APIKey) + # for the application. + # @param [Google::Apis::ProximitybeaconV1beta1::GetInfoForObservedBeaconsRequest] get_info_for_observed_beacons_request_object + # @param [String] quota_user + # Available to use for quota purposes for server-side applications. Can be any + # arbitrary string assigned to a user, but should not exceed 40 characters. + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::ProximitybeaconV1beta1::GetInfoForObservedBeaconsResponse] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::ProximitybeaconV1beta1::GetInfoForObservedBeaconsResponse] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def getforobserved_beaconinfo(get_info_for_observed_beacons_request_object = nil, quota_user: nil, fields: nil, options: nil, &block) + command = make_simple_command(:post, 'v1beta1/beaconinfo:getforobserved', options) + command.request_representation = Google::Apis::ProximitybeaconV1beta1::GetInfoForObservedBeaconsRequest::Representation + command.request_object = get_info_for_observed_beacons_request_object + command.response_representation = Google::Apis::ProximitybeaconV1beta1::GetInfoForObservedBeaconsResponse::Representation + command.response_class = Google::Apis::ProximitybeaconV1beta1::GetInfoForObservedBeaconsResponse + command.query['quotaUser'] = quota_user unless quota_user.nil? + command.query['fields'] = fields unless fields.nil? + execute_or_queue_command(command, &block) + end + + # Updates the information about the specified namespace. Only the namespace + # visibility can be updated. + # @param [String] namespace_name + # Resource name of this namespace. Namespaces names have the format: + # namespaces/namespace. + # @param [Google::Apis::ProximitybeaconV1beta1::Namespace] namespace_object + # @param [String] project_id + # The project id of the namespace to update. If the project id is not + # specified then the project making the request is used. The project id + # must match the project that owns the beacon. + # Optional. + # @param [String] quota_user + # Available to use for quota purposes for server-side applications. Can be any + # arbitrary string assigned to a user, but should not exceed 40 characters. + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::ProximitybeaconV1beta1::Namespace] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::ProximitybeaconV1beta1::Namespace] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def update_namespace(namespace_name, namespace_object = nil, project_id: nil, quota_user: nil, fields: nil, options: nil, &block) + command = make_simple_command(:put, 'v1beta1/{+namespaceName}', options) + command.request_representation = Google::Apis::ProximitybeaconV1beta1::Namespace::Representation + command.request_object = namespace_object + command.response_representation = Google::Apis::ProximitybeaconV1beta1::Namespace::Representation + command.response_class = Google::Apis::ProximitybeaconV1beta1::Namespace + command.params['namespaceName'] = namespace_name unless namespace_name.nil? + command.query['projectId'] = project_id unless project_id.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + command.query['fields'] = fields unless fields.nil? + execute_or_queue_command(command, &block) + end + + # Lists all attachment namespaces owned by your Google Developers Console + # project. Attachment data associated with a beacon must include a + # namespaced type, and the namespace must be owned by your project. + # Authenticate using an [OAuth access token](https://developers.google.com/ + # identity/protocols/OAuth2) + # from a signed-in user with **viewer**, **Is owner** or **Can edit** + # permissions in the Google Developers Console project. + # @param [String] project_id + # The project id to list namespaces under. + # Optional. + # @param [String] quota_user + # Available to use for quota purposes for server-side applications. Can be any + # arbitrary string assigned to a user, but should not exceed 40 characters. + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::ProximitybeaconV1beta1::ListNamespacesResponse] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::ProximitybeaconV1beta1::ListNamespacesResponse] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def list_namespaces(project_id: nil, quota_user: nil, fields: nil, options: nil, &block) + command = make_simple_command(:get, 'v1beta1/namespaces', options) + command.response_representation = Google::Apis::ProximitybeaconV1beta1::ListNamespacesResponse::Representation + command.response_class = Google::Apis::ProximitybeaconV1beta1::ListNamespacesResponse command.query['projectId'] = project_id unless project_id.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['fields'] = fields unless fields.nil? @@ -921,8 +922,8 @@ module Google protected def apply_command_defaults(command) - command.query['key'] = key unless key.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? + command.query['key'] = key unless key.nil? end end end diff --git a/generated/google/apis/pubsub_v1/classes.rb b/generated/google/apis/pubsub_v1/classes.rb index 494e46eaf..a7b0921fe 100644 --- a/generated/google/apis/pubsub_v1/classes.rb +++ b/generated/google/apis/pubsub_v1/classes.rb @@ -22,6 +22,97 @@ module Google module Apis module PubsubV1 + # A topic resource. + class Topic + include Google::Apis::Core::Hashable + + # The name of the topic. It must have the format + # `"projects/`project`/topics/`topic`"`. ``topic`` must start with a letter, + # and contain only letters (`[A-Za-z]`), numbers (`[0-9]`), dashes (`-`), + # underscores (`_`), periods (`.`), tildes (`~`), plus (`+`) or percent + # signs (`%`). It must be between 3 and 255 characters in length, and it + # must not start with `"goog"`. + # Corresponds to the JSON property `name` + # @return [String] + attr_accessor :name + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @name = args[:name] if args.key?(:name) + end + end + + # Defines an Identity and Access Management (IAM) policy. It is used to + # specify access control policies for Cloud Platform resources. + # A `Policy` consists of a list of `bindings`. A `Binding` binds a list of + # `members` to a `role`, where the members can be user accounts, Google groups, + # Google domains, and service accounts. A `role` is a named list of permissions + # defined by IAM. + # **Example** + # ` + # "bindings": [ + # ` + # "role": "roles/owner", + # "members": [ + # "user:mike@example.com", + # "group:admins@example.com", + # "domain:google.com", + # "serviceAccount:my-other-app@appspot.gserviceaccount.com", + # ] + # `, + # ` + # "role": "roles/viewer", + # "members": ["user:sean@example.com"] + # ` + # ] + # ` + # For a description of IAM and its features, see the + # [IAM developer's guide](https://cloud.google.com/iam). + class Policy + include Google::Apis::Core::Hashable + + # Version of the `Policy`. The default version is 0. + # Corresponds to the JSON property `version` + # @return [Fixnum] + attr_accessor :version + + # Associates a list of `members` to a `role`. + # Multiple `bindings` must not be specified for the same `role`. + # `bindings` with no members will result in an error. + # Corresponds to the JSON property `bindings` + # @return [Array] + attr_accessor :bindings + + # `etag` is used for optimistic concurrency control as a way to help + # prevent simultaneous updates of a policy from overwriting each other. + # It is strongly suggested that systems make use of the `etag` in the + # read-modify-write cycle to perform policy updates in order to avoid race + # conditions: An `etag` is returned in the response to `getIamPolicy`, and + # systems are expected to put that etag in the request to `setIamPolicy` to + # ensure that their change will be applied to the same version of the policy. + # If no `etag` is provided in the call to `setIamPolicy`, then the existing + # policy is overwritten blindly. + # Corresponds to the JSON property `etag` + # NOTE: Values are automatically base64 encoded/decoded in the client library. + # @return [String] + attr_accessor :etag + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @version = args[:version] if args.key?(:version) + @bindings = args[:bindings] if args.key?(:bindings) + @etag = args[:etag] if args.key?(:etag) + end + end + # Request for the ModifyAckDeadline method. class ModifyAckDeadlineRequest include Google::Apis::Core::Hashable @@ -121,6 +212,13 @@ module Google class Message include Google::Apis::Core::Hashable + # The time at which the message was published, populated by the server when + # it receives the `Publish` call. It must not be populated by the + # publisher in a `Publish` call. + # Corresponds to the JSON property `publishTime` + # @return [String] + attr_accessor :publish_time + # The message payload. # Corresponds to the JSON property `data` # NOTE: Values are automatically base64 encoded/decoded in the client library. @@ -140,23 +238,16 @@ module Google # @return [String] attr_accessor :message_id - # The time at which the message was published, populated by the server when - # it receives the `Publish` call. It must not be populated by the - # publisher in a `Publish` call. - # Corresponds to the JSON property `publishTime` - # @return [String] - attr_accessor :publish_time - def initialize(**args) update!(**args) end # Update properties of this object def update!(**args) + @publish_time = args[:publish_time] if args.key?(:publish_time) @data = args[:data] if args.key?(:data) @attributes = args[:attributes] if args.key?(:attributes) @message_id = args[:message_id] if args.key?(:message_id) - @publish_time = args[:publish_time] if args.key?(:publish_time) end end @@ -581,97 +672,6 @@ module Google @permissions = args[:permissions] if args.key?(:permissions) end end - - # Defines an Identity and Access Management (IAM) policy. It is used to - # specify access control policies for Cloud Platform resources. - # A `Policy` consists of a list of `bindings`. A `Binding` binds a list of - # `members` to a `role`, where the members can be user accounts, Google groups, - # Google domains, and service accounts. A `role` is a named list of permissions - # defined by IAM. - # **Example** - # ` - # "bindings": [ - # ` - # "role": "roles/owner", - # "members": [ - # "user:mike@example.com", - # "group:admins@example.com", - # "domain:google.com", - # "serviceAccount:my-other-app@appspot.gserviceaccount.com", - # ] - # `, - # ` - # "role": "roles/viewer", - # "members": ["user:sean@example.com"] - # ` - # ] - # ` - # For a description of IAM and its features, see the - # [IAM developer's guide](https://cloud.google.com/iam). - class Policy - include Google::Apis::Core::Hashable - - # `etag` is used for optimistic concurrency control as a way to help - # prevent simultaneous updates of a policy from overwriting each other. - # It is strongly suggested that systems make use of the `etag` in the - # read-modify-write cycle to perform policy updates in order to avoid race - # conditions: An `etag` is returned in the response to `getIamPolicy`, and - # systems are expected to put that etag in the request to `setIamPolicy` to - # ensure that their change will be applied to the same version of the policy. - # If no `etag` is provided in the call to `setIamPolicy`, then the existing - # policy is overwritten blindly. - # Corresponds to the JSON property `etag` - # NOTE: Values are automatically base64 encoded/decoded in the client library. - # @return [String] - attr_accessor :etag - - # Version of the `Policy`. The default version is 0. - # Corresponds to the JSON property `version` - # @return [Fixnum] - attr_accessor :version - - # Associates a list of `members` to a `role`. - # Multiple `bindings` must not be specified for the same `role`. - # `bindings` with no members will result in an error. - # Corresponds to the JSON property `bindings` - # @return [Array] - attr_accessor :bindings - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @etag = args[:etag] if args.key?(:etag) - @version = args[:version] if args.key?(:version) - @bindings = args[:bindings] if args.key?(:bindings) - end - end - - # A topic resource. - class Topic - include Google::Apis::Core::Hashable - - # The name of the topic. It must have the format - # `"projects/`project`/topics/`topic`"`. ``topic`` must start with a letter, - # and contain only letters (`[A-Za-z]`), numbers (`[0-9]`), dashes (`-`), - # underscores (`_`), periods (`.`), tildes (`~`), plus (`+`) or percent - # signs (`%`). It must be between 3 and 255 characters in length, and it - # must not start with `"goog"`. - # Corresponds to the JSON property `name` - # @return [String] - attr_accessor :name - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @name = args[:name] if args.key?(:name) - end - end end end end diff --git a/generated/google/apis/pubsub_v1/representations.rb b/generated/google/apis/pubsub_v1/representations.rb index 7ff2a60fe..3e025ec6a 100644 --- a/generated/google/apis/pubsub_v1/representations.rb +++ b/generated/google/apis/pubsub_v1/representations.rb @@ -22,6 +22,18 @@ module Google module Apis module PubsubV1 + class Topic + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class Policy + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + class ModifyAckDeadlineRequest class Representation < Google::Apis::Core::JsonRepresentation; end @@ -136,16 +148,21 @@ module Google include Google::Apis::Core::JsonObjectSupport end - class Policy - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport + class Topic + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :name, as: 'name' + end end - class Topic - class Representation < Google::Apis::Core::JsonRepresentation; end + class Policy + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :version, as: 'version' + collection :bindings, as: 'bindings', class: Google::Apis::PubsubV1::Binding, decorator: Google::Apis::PubsubV1::Binding::Representation - include Google::Apis::Core::JsonObjectSupport + property :etag, :base64 => true, as: 'etag' + end end class ModifyAckDeadlineRequest @@ -175,10 +192,10 @@ module Google class Message # @private class Representation < Google::Apis::Core::JsonRepresentation + property :publish_time, as: 'publishTime' property :data, :base64 => true, as: 'data' hash :attributes, as: 'attributes' property :message_id, as: 'messageId' - property :publish_time, as: 'publishTime' end end @@ -301,23 +318,6 @@ module Google collection :permissions, as: 'permissions' end end - - class Policy - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :etag, :base64 => true, as: 'etag' - property :version, as: 'version' - collection :bindings, as: 'bindings', class: Google::Apis::PubsubV1::Binding, decorator: Google::Apis::PubsubV1::Binding::Representation - - end - end - - class Topic - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :name, as: 'name' - end - end end end end diff --git a/generated/google/apis/pubsub_v1/service.rb b/generated/google/apis/pubsub_v1/service.rb index c96062b5e..562ec2071 100644 --- a/generated/google/apis/pubsub_v1/service.rb +++ b/generated/google/apis/pubsub_v1/service.rb @@ -44,186 +44,7 @@ module Google def initialize super('https://pubsub.googleapis.com/', '') - end - - # Acknowledges the messages associated with the `ack_ids` in the - # `AcknowledgeRequest`. The Pub/Sub system can remove the relevant messages - # from the subscription. - # Acknowledging a message whose ack deadline has expired may succeed, - # but such a message may be redelivered later. Acknowledging a message more - # than once will not result in an error. - # @param [String] subscription - # The subscription whose message is being acknowledged. - # Format is `projects/`project`/subscriptions/`sub``. - # @param [Google::Apis::PubsubV1::AcknowledgeRequest] acknowledge_request_object - # @param [String] fields - # Selector specifying which fields to include in a partial response. - # @param [String] quota_user - # Available to use for quota purposes for server-side applications. Can be any - # arbitrary string assigned to a user, but should not exceed 40 characters. - # @param [Google::Apis::RequestOptions] options - # Request-specific options - # - # @yield [result, err] Result & error if block supplied - # @yieldparam result [Google::Apis::PubsubV1::Empty] parsed result object - # @yieldparam err [StandardError] error object if request failed - # - # @return [Google::Apis::PubsubV1::Empty] - # - # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried - # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification - # @raise [Google::Apis::AuthorizationError] Authorization is required - def acknowledge_subscription(subscription, acknowledge_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) - command = make_simple_command(:post, 'v1/{+subscription}:acknowledge', options) - command.request_representation = Google::Apis::PubsubV1::AcknowledgeRequest::Representation - command.request_object = acknowledge_request_object - command.response_representation = Google::Apis::PubsubV1::Empty::Representation - command.response_class = Google::Apis::PubsubV1::Empty - command.params['subscription'] = subscription unless subscription.nil? - command.query['fields'] = fields unless fields.nil? - command.query['quotaUser'] = quota_user unless quota_user.nil? - execute_or_queue_command(command, &block) - end - - # Modifies the ack deadline for a specific message. This method is useful - # to indicate that more time is needed to process a message by the - # subscriber, or to make the message available for redelivery if the - # processing was interrupted. Note that this does not modify the - # subscription-level `ackDeadlineSeconds` used for subsequent messages. - # @param [String] subscription - # The name of the subscription. - # Format is `projects/`project`/subscriptions/`sub``. - # @param [Google::Apis::PubsubV1::ModifyAckDeadlineRequest] modify_ack_deadline_request_object - # @param [String] fields - # Selector specifying which fields to include in a partial response. - # @param [String] quota_user - # Available to use for quota purposes for server-side applications. Can be any - # arbitrary string assigned to a user, but should not exceed 40 characters. - # @param [Google::Apis::RequestOptions] options - # Request-specific options - # - # @yield [result, err] Result & error if block supplied - # @yieldparam result [Google::Apis::PubsubV1::Empty] parsed result object - # @yieldparam err [StandardError] error object if request failed - # - # @return [Google::Apis::PubsubV1::Empty] - # - # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried - # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification - # @raise [Google::Apis::AuthorizationError] Authorization is required - def modify_subscription_ack_deadline(subscription, modify_ack_deadline_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) - command = make_simple_command(:post, 'v1/{+subscription}:modifyAckDeadline', options) - command.request_representation = Google::Apis::PubsubV1::ModifyAckDeadlineRequest::Representation - command.request_object = modify_ack_deadline_request_object - command.response_representation = Google::Apis::PubsubV1::Empty::Representation - command.response_class = Google::Apis::PubsubV1::Empty - command.params['subscription'] = subscription unless subscription.nil? - command.query['fields'] = fields unless fields.nil? - command.query['quotaUser'] = quota_user unless quota_user.nil? - execute_or_queue_command(command, &block) - end - - # Gets the access control policy for a resource. - # Returns an empty policy if the resource exists and does not have a policy - # set. - # @param [String] resource - # REQUIRED: The resource for which the policy is being requested. - # See the operation documentation for the appropriate value for this field. - # @param [String] fields - # Selector specifying which fields to include in a partial response. - # @param [String] quota_user - # Available to use for quota purposes for server-side applications. Can be any - # arbitrary string assigned to a user, but should not exceed 40 characters. - # @param [Google::Apis::RequestOptions] options - # Request-specific options - # - # @yield [result, err] Result & error if block supplied - # @yieldparam result [Google::Apis::PubsubV1::Policy] parsed result object - # @yieldparam err [StandardError] error object if request failed - # - # @return [Google::Apis::PubsubV1::Policy] - # - # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried - # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification - # @raise [Google::Apis::AuthorizationError] Authorization is required - def get_project_subscription_iam_policy(resource, fields: nil, quota_user: nil, options: nil, &block) - command = make_simple_command(:get, 'v1/{+resource}:getIamPolicy', options) - command.response_representation = Google::Apis::PubsubV1::Policy::Representation - command.response_class = Google::Apis::PubsubV1::Policy - command.params['resource'] = resource unless resource.nil? - command.query['fields'] = fields unless fields.nil? - command.query['quotaUser'] = quota_user unless quota_user.nil? - execute_or_queue_command(command, &block) - end - - # Gets the configuration details of a subscription. - # @param [String] subscription - # The name of the subscription to get. - # Format is `projects/`project`/subscriptions/`sub``. - # @param [String] fields - # Selector specifying which fields to include in a partial response. - # @param [String] quota_user - # Available to use for quota purposes for server-side applications. Can be any - # arbitrary string assigned to a user, but should not exceed 40 characters. - # @param [Google::Apis::RequestOptions] options - # Request-specific options - # - # @yield [result, err] Result & error if block supplied - # @yieldparam result [Google::Apis::PubsubV1::Subscription] parsed result object - # @yieldparam err [StandardError] error object if request failed - # - # @return [Google::Apis::PubsubV1::Subscription] - # - # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried - # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification - # @raise [Google::Apis::AuthorizationError] Authorization is required - def get_subscription(subscription, fields: nil, quota_user: nil, options: nil, &block) - command = make_simple_command(:get, 'v1/{+subscription}', options) - command.response_representation = Google::Apis::PubsubV1::Subscription::Representation - command.response_class = Google::Apis::PubsubV1::Subscription - command.params['subscription'] = subscription unless subscription.nil? - command.query['fields'] = fields unless fields.nil? - command.query['quotaUser'] = quota_user unless quota_user.nil? - execute_or_queue_command(command, &block) - end - - # Returns permissions that a caller has on the specified resource. - # If the resource does not exist, this will return an empty set of - # permissions, not a NOT_FOUND error. - # Note: This operation is designed to be used for building permission-aware - # UIs and command-line tools, not for authorization checking. This operation - # may "fail open" without warning. - # @param [String] resource - # REQUIRED: The resource for which the policy detail is being requested. - # See the operation documentation for the appropriate value for this field. - # @param [Google::Apis::PubsubV1::TestIamPermissionsRequest] test_iam_permissions_request_object - # @param [String] fields - # Selector specifying which fields to include in a partial response. - # @param [String] quota_user - # Available to use for quota purposes for server-side applications. Can be any - # arbitrary string assigned to a user, but should not exceed 40 characters. - # @param [Google::Apis::RequestOptions] options - # Request-specific options - # - # @yield [result, err] Result & error if block supplied - # @yieldparam result [Google::Apis::PubsubV1::TestIamPermissionsResponse] parsed result object - # @yieldparam err [StandardError] error object if request failed - # - # @return [Google::Apis::PubsubV1::TestIamPermissionsResponse] - # - # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried - # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification - # @raise [Google::Apis::AuthorizationError] Authorization is required - def test_subscription_iam_permissions(resource, test_iam_permissions_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) - command = make_simple_command(:post, 'v1/{+resource}:testIamPermissions', options) - command.request_representation = Google::Apis::PubsubV1::TestIamPermissionsRequest::Representation - command.request_object = test_iam_permissions_request_object - command.response_representation = Google::Apis::PubsubV1::TestIamPermissionsResponse::Representation - command.response_class = Google::Apis::PubsubV1::TestIamPermissionsResponse - command.params['resource'] = resource unless resource.nil? - command.query['fields'] = fields unless fields.nil? - command.query['quotaUser'] = quota_user unless quota_user.nil? - execute_or_queue_command(command, &block) + @batch_path = 'batch' end # Modifies the `PushConfig` for a specified subscription. @@ -340,12 +161,12 @@ module Google # @param [String] project # The name of the cloud project that subscriptions belong to. # Format is `projects/`project``. + # @param [Fixnum] page_size + # Maximum number of subscriptions to return. # @param [String] page_token # The value returned by the last `ListSubscriptionsResponse`; indicates that # this is a continuation of a prior `ListSubscriptions` call, and that the # system should return the next page of data. - # @param [Fixnum] page_size - # Maximum number of subscriptions to return. # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user @@ -363,13 +184,48 @@ module Google # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required - def list_subscriptions(project, page_token: nil, page_size: nil, fields: nil, quota_user: nil, options: nil, &block) + def list_subscriptions(project, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1/{+project}/subscriptions', options) command.response_representation = Google::Apis::PubsubV1::ListSubscriptionsResponse::Representation command.response_class = Google::Apis::PubsubV1::ListSubscriptionsResponse command.params['project'] = project unless project.nil? - command.query['pageToken'] = page_token unless page_token.nil? command.query['pageSize'] = page_size unless page_size.nil? + command.query['pageToken'] = page_token unless page_token.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + execute_or_queue_command(command, &block) + end + + # Sets the access control policy on the specified resource. Replaces any + # existing policy. + # @param [String] resource + # REQUIRED: The resource for which the policy is being specified. + # See the operation documentation for the appropriate value for this field. + # @param [Google::Apis::PubsubV1::SetIamPolicyRequest] set_iam_policy_request_object + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # Available to use for quota purposes for server-side applications. Can be any + # arbitrary string assigned to a user, but should not exceed 40 characters. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::PubsubV1::Policy] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::PubsubV1::Policy] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def set_subscription_iam_policy(resource, set_iam_policy_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:post, 'v1/{+resource}:setIamPolicy', options) + command.request_representation = Google::Apis::PubsubV1::SetIamPolicyRequest::Representation + command.request_object = set_iam_policy_request_object + command.response_representation = Google::Apis::PubsubV1::Policy::Representation + command.response_class = Google::Apis::PubsubV1::Policy + command.params['resource'] = resource unless resource.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) @@ -421,12 +277,12 @@ module Google execute_or_queue_command(command, &block) end - # Sets the access control policy on the specified resource. Replaces any - # existing policy. + # Gets the access control policy for a resource. + # Returns an empty policy if the resource exists and does not have a policy + # set. # @param [String] resource - # REQUIRED: The resource for which the policy is being specified. + # REQUIRED: The resource for which the policy is being requested. # See the operation documentation for the appropriate value for this field. - # @param [Google::Apis::PubsubV1::SetIamPolicyRequest] set_iam_policy_request_object # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user @@ -444,10 +300,188 @@ module Google # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required - def set_subscription_iam_policy(resource, set_iam_policy_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) - command = make_simple_command(:post, 'v1/{+resource}:setIamPolicy', options) - command.request_representation = Google::Apis::PubsubV1::SetIamPolicyRequest::Representation - command.request_object = set_iam_policy_request_object + def get_project_subscription_iam_policy(resource, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:get, 'v1/{+resource}:getIamPolicy', options) + command.response_representation = Google::Apis::PubsubV1::Policy::Representation + command.response_class = Google::Apis::PubsubV1::Policy + command.params['resource'] = resource unless resource.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + execute_or_queue_command(command, &block) + end + + # Acknowledges the messages associated with the `ack_ids` in the + # `AcknowledgeRequest`. The Pub/Sub system can remove the relevant messages + # from the subscription. + # Acknowledging a message whose ack deadline has expired may succeed, + # but such a message may be redelivered later. Acknowledging a message more + # than once will not result in an error. + # @param [String] subscription + # The subscription whose message is being acknowledged. + # Format is `projects/`project`/subscriptions/`sub``. + # @param [Google::Apis::PubsubV1::AcknowledgeRequest] acknowledge_request_object + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # Available to use for quota purposes for server-side applications. Can be any + # arbitrary string assigned to a user, but should not exceed 40 characters. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::PubsubV1::Empty] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::PubsubV1::Empty] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def acknowledge_subscription(subscription, acknowledge_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:post, 'v1/{+subscription}:acknowledge', options) + command.request_representation = Google::Apis::PubsubV1::AcknowledgeRequest::Representation + command.request_object = acknowledge_request_object + command.response_representation = Google::Apis::PubsubV1::Empty::Representation + command.response_class = Google::Apis::PubsubV1::Empty + command.params['subscription'] = subscription unless subscription.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + execute_or_queue_command(command, &block) + end + + # Modifies the ack deadline for a specific message. This method is useful + # to indicate that more time is needed to process a message by the + # subscriber, or to make the message available for redelivery if the + # processing was interrupted. Note that this does not modify the + # subscription-level `ackDeadlineSeconds` used for subsequent messages. + # @param [String] subscription + # The name of the subscription. + # Format is `projects/`project`/subscriptions/`sub``. + # @param [Google::Apis::PubsubV1::ModifyAckDeadlineRequest] modify_ack_deadline_request_object + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # Available to use for quota purposes for server-side applications. Can be any + # arbitrary string assigned to a user, but should not exceed 40 characters. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::PubsubV1::Empty] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::PubsubV1::Empty] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def modify_subscription_ack_deadline(subscription, modify_ack_deadline_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:post, 'v1/{+subscription}:modifyAckDeadline', options) + command.request_representation = Google::Apis::PubsubV1::ModifyAckDeadlineRequest::Representation + command.request_object = modify_ack_deadline_request_object + command.response_representation = Google::Apis::PubsubV1::Empty::Representation + command.response_class = Google::Apis::PubsubV1::Empty + command.params['subscription'] = subscription unless subscription.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + execute_or_queue_command(command, &block) + end + + # Gets the configuration details of a subscription. + # @param [String] subscription + # The name of the subscription to get. + # Format is `projects/`project`/subscriptions/`sub``. + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # Available to use for quota purposes for server-side applications. Can be any + # arbitrary string assigned to a user, but should not exceed 40 characters. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::PubsubV1::Subscription] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::PubsubV1::Subscription] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def get_subscription(subscription, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:get, 'v1/{+subscription}', options) + command.response_representation = Google::Apis::PubsubV1::Subscription::Representation + command.response_class = Google::Apis::PubsubV1::Subscription + command.params['subscription'] = subscription unless subscription.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + execute_or_queue_command(command, &block) + end + + # Returns permissions that a caller has on the specified resource. + # If the resource does not exist, this will return an empty set of + # permissions, not a NOT_FOUND error. + # Note: This operation is designed to be used for building permission-aware + # UIs and command-line tools, not for authorization checking. This operation + # may "fail open" without warning. + # @param [String] resource + # REQUIRED: The resource for which the policy detail is being requested. + # See the operation documentation for the appropriate value for this field. + # @param [Google::Apis::PubsubV1::TestIamPermissionsRequest] test_iam_permissions_request_object + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # Available to use for quota purposes for server-side applications. Can be any + # arbitrary string assigned to a user, but should not exceed 40 characters. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::PubsubV1::TestIamPermissionsResponse] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::PubsubV1::TestIamPermissionsResponse] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def test_subscription_iam_permissions(resource, test_iam_permissions_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:post, 'v1/{+resource}:testIamPermissions', options) + command.request_representation = Google::Apis::PubsubV1::TestIamPermissionsRequest::Representation + command.request_object = test_iam_permissions_request_object + command.response_representation = Google::Apis::PubsubV1::TestIamPermissionsResponse::Representation + command.response_class = Google::Apis::PubsubV1::TestIamPermissionsResponse + command.params['resource'] = resource unless resource.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + execute_or_queue_command(command, &block) + end + + # Gets the access control policy for a resource. + # Returns an empty policy if the resource exists and does not have a policy + # set. + # @param [String] resource + # REQUIRED: The resource for which the policy is being requested. + # See the operation documentation for the appropriate value for this field. + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # Available to use for quota purposes for server-side applications. Can be any + # arbitrary string assigned to a user, but should not exceed 40 characters. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::PubsubV1::Policy] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::PubsubV1::Policy] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def get_project_snapshot_iam_policy(resource, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:get, 'v1/{+resource}:getIamPolicy', options) command.response_representation = Google::Apis::PubsubV1::Policy::Representation command.response_class = Google::Apis::PubsubV1::Policy command.params['resource'] = resource unless resource.nil? @@ -553,7 +587,7 @@ module Google # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required - def get_project_snapshot_iam_policy(resource, fields: nil, quota_user: nil, options: nil, &block) + def get_project_topic_iam_policy(resource, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1/{+resource}:getIamPolicy', options) command.response_representation = Google::Apis::PubsubV1::Policy::Representation command.response_class = Google::Apis::PubsubV1::Policy @@ -563,6 +597,37 @@ module Google execute_or_queue_command(command, &block) end + # Gets the configuration of a topic. + # @param [String] topic + # The name of the topic to get. + # Format is `projects/`project`/topics/`topic``. + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # Available to use for quota purposes for server-side applications. Can be any + # arbitrary string assigned to a user, but should not exceed 40 characters. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::PubsubV1::Topic] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::PubsubV1::Topic] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def get_topic(topic, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:get, 'v1/{+topic}', options) + command.response_representation = Google::Apis::PubsubV1::Topic::Representation + command.response_class = Google::Apis::PubsubV1::Topic + command.params['topic'] = topic unless topic.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + execute_or_queue_command(command, &block) + end + # Adds one or more messages to the topic. Returns `NOT_FOUND` if the topic # does not exist. The message payload must not be empty; it must contain # either a non-empty data field, or at least one attribute. @@ -712,44 +777,6 @@ module Google execute_or_queue_command(command, &block) end - # Creates the given topic with the given name. - # @param [String] name - # The name of the topic. It must have the format - # `"projects/`project`/topics/`topic`"`. ``topic`` must start with a letter, - # and contain only letters (`[A-Za-z]`), numbers (`[0-9]`), dashes (`-`), - # underscores (`_`), periods (`.`), tildes (`~`), plus (`+`) or percent - # signs (`%`). It must be between 3 and 255 characters in length, and it - # must not start with `"goog"`. - # @param [Google::Apis::PubsubV1::Topic] topic_object - # @param [String] fields - # Selector specifying which fields to include in a partial response. - # @param [String] quota_user - # Available to use for quota purposes for server-side applications. Can be any - # arbitrary string assigned to a user, but should not exceed 40 characters. - # @param [Google::Apis::RequestOptions] options - # Request-specific options - # - # @yield [result, err] Result & error if block supplied - # @yieldparam result [Google::Apis::PubsubV1::Topic] parsed result object - # @yieldparam err [StandardError] error object if request failed - # - # @return [Google::Apis::PubsubV1::Topic] - # - # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried - # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification - # @raise [Google::Apis::AuthorizationError] Authorization is required - def create_topic(name, topic_object = nil, fields: nil, quota_user: nil, options: nil, &block) - command = make_simple_command(:put, 'v1/{+name}', options) - command.request_representation = Google::Apis::PubsubV1::Topic::Representation - command.request_object = topic_object - command.response_representation = Google::Apis::PubsubV1::Topic::Representation - command.response_class = Google::Apis::PubsubV1::Topic - command.params['name'] = name unless name.nil? - command.query['fields'] = fields unless fields.nil? - command.query['quotaUser'] = quota_user unless quota_user.nil? - execute_or_queue_command(command, &block) - end - # Sets the access control policy on the specified resource. Replaces any # existing policy. # @param [String] resource @@ -785,43 +812,15 @@ module Google execute_or_queue_command(command, &block) end - # Gets the access control policy for a resource. - # Returns an empty policy if the resource exists and does not have a policy - # set. - # @param [String] resource - # REQUIRED: The resource for which the policy is being requested. - # See the operation documentation for the appropriate value for this field. - # @param [String] fields - # Selector specifying which fields to include in a partial response. - # @param [String] quota_user - # Available to use for quota purposes for server-side applications. Can be any - # arbitrary string assigned to a user, but should not exceed 40 characters. - # @param [Google::Apis::RequestOptions] options - # Request-specific options - # - # @yield [result, err] Result & error if block supplied - # @yieldparam result [Google::Apis::PubsubV1::Policy] parsed result object - # @yieldparam err [StandardError] error object if request failed - # - # @return [Google::Apis::PubsubV1::Policy] - # - # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried - # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification - # @raise [Google::Apis::AuthorizationError] Authorization is required - def get_project_topic_iam_policy(resource, fields: nil, quota_user: nil, options: nil, &block) - command = make_simple_command(:get, 'v1/{+resource}:getIamPolicy', options) - command.response_representation = Google::Apis::PubsubV1::Policy::Representation - command.response_class = Google::Apis::PubsubV1::Policy - command.params['resource'] = resource unless resource.nil? - command.query['fields'] = fields unless fields.nil? - command.query['quotaUser'] = quota_user unless quota_user.nil? - execute_or_queue_command(command, &block) - end - - # Gets the configuration of a topic. - # @param [String] topic - # The name of the topic to get. - # Format is `projects/`project`/topics/`topic``. + # Creates the given topic with the given name. + # @param [String] name + # The name of the topic. It must have the format + # `"projects/`project`/topics/`topic`"`. ``topic`` must start with a letter, + # and contain only letters (`[A-Za-z]`), numbers (`[0-9]`), dashes (`-`), + # underscores (`_`), periods (`.`), tildes (`~`), plus (`+`) or percent + # signs (`%`). It must be between 3 and 255 characters in length, and it + # must not start with `"goog"`. + # @param [Google::Apis::PubsubV1::Topic] topic_object # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user @@ -839,11 +838,13 @@ module Google # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required - def get_topic(topic, fields: nil, quota_user: nil, options: nil, &block) - command = make_simple_command(:get, 'v1/{+topic}', options) + def create_topic(name, topic_object = nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:put, 'v1/{+name}', options) + command.request_representation = Google::Apis::PubsubV1::Topic::Representation + command.request_object = topic_object command.response_representation = Google::Apis::PubsubV1::Topic::Representation command.response_class = Google::Apis::PubsubV1::Topic - command.params['topic'] = topic unless topic.nil? + command.params['name'] = name unless name.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) diff --git a/generated/google/apis/qpx_express_v1/service.rb b/generated/google/apis/qpx_express_v1/service.rb index e4119d789..53bac3a4b 100644 --- a/generated/google/apis/qpx_express_v1/service.rb +++ b/generated/google/apis/qpx_express_v1/service.rb @@ -50,6 +50,7 @@ module Google def initialize super('https://www.googleapis.com/', 'qpxExpress/v1/trips/') + @batch_path = 'batch' end # Returns a list of flights. diff --git a/generated/google/apis/replicapool_v1beta2/classes.rb b/generated/google/apis/replicapool_v1beta2/classes.rb index be0cefe69..8b9f63627 100644 --- a/generated/google/apis/replicapool_v1beta2/classes.rb +++ b/generated/google/apis/replicapool_v1beta2/classes.rb @@ -75,7 +75,7 @@ module Google # [Output only] A server-assigned unique identifier for the resource. # Corresponds to the JSON property `id` - # @return [String] + # @return [Fixnum] attr_accessor :id # The full URL to an instance template from which all new instances will be @@ -330,7 +330,7 @@ module Google # [Output Only] Unique identifier for the resource, generated by the server. # Corresponds to the JSON property `id` - # @return [String] + # @return [Fixnum] attr_accessor :id # [Output Only] The time that this operation was requested, in RFC3339 text @@ -394,7 +394,7 @@ module Google # [Output Only] Unique target ID which identifies a particular incarnation of # the target. # Corresponds to the JSON property `targetId` - # @return [String] + # @return [Fixnum] attr_accessor :target_id # [Output only] URL of the resource the operation is mutating. diff --git a/generated/google/apis/replicapool_v1beta2/representations.rb b/generated/google/apis/replicapool_v1beta2/representations.rb index 1279d323f..4133d608c 100644 --- a/generated/google/apis/replicapool_v1beta2/representations.rb +++ b/generated/google/apis/replicapool_v1beta2/representations.rb @@ -117,7 +117,7 @@ module Google property :description, as: 'description' property :fingerprint, :base64 => true, as: 'fingerprint' property :group, as: 'group' - property :id, as: 'id' + property :id, :numeric_string => true, as: 'id' property :instance_template, as: 'instanceTemplate' property :kind, as: 'kind' property :name, as: 'name' @@ -185,7 +185,7 @@ module Google property :http_error_message, as: 'httpErrorMessage' property :http_error_status_code, as: 'httpErrorStatusCode' - property :id, as: 'id' + property :id, :numeric_string => true, as: 'id' property :insert_time, as: 'insertTime' property :kind, as: 'kind' property :name, as: 'name' @@ -196,7 +196,7 @@ module Google property :start_time, as: 'startTime' property :status, as: 'status' property :status_message, as: 'statusMessage' - property :target_id, as: 'targetId' + property :target_id, :numeric_string => true, as: 'targetId' property :target_link, as: 'targetLink' property :user, as: 'user' collection :warnings, as: 'warnings', class: Google::Apis::ReplicapoolV1beta2::Operation::Warning, decorator: Google::Apis::ReplicapoolV1beta2::Operation::Warning::Representation diff --git a/generated/google/apis/replicapool_v1beta2/service.rb b/generated/google/apis/replicapool_v1beta2/service.rb index 203889e81..d6d9a63e1 100644 --- a/generated/google/apis/replicapool_v1beta2/service.rb +++ b/generated/google/apis/replicapool_v1beta2/service.rb @@ -51,6 +51,7 @@ module Google def initialize super('https://www.googleapis.com/', 'replicapool/v1beta2/projects/') + @batch_path = 'batch' end # Removes the specified instances from the managed instance group, and from any diff --git a/generated/google/apis/replicapoolupdater_v1beta1/classes.rb b/generated/google/apis/replicapoolupdater_v1beta1/classes.rb index 25529ad99..0d065c677 100644 --- a/generated/google/apis/replicapoolupdater_v1beta1/classes.rb +++ b/generated/google/apis/replicapoolupdater_v1beta1/classes.rb @@ -188,7 +188,7 @@ module Google # [Output Only] Unique identifier for the resource; defined by the server. # Corresponds to the JSON property `id` - # @return [String] + # @return [Fixnum] attr_accessor :id # [Output Only] The time that this operation was requested. This is in RFC 3339 @@ -249,7 +249,7 @@ module Google # [Output Only] Unique target id which identifies a particular incarnation of # the target. # Corresponds to the JSON property `targetId` - # @return [String] + # @return [Fixnum] attr_accessor :target_id # [Output Only] URL of the resource the operation is mutating. diff --git a/generated/google/apis/replicapoolupdater_v1beta1/representations.rb b/generated/google/apis/replicapoolupdater_v1beta1/representations.rb index 3ba1a7a0d..8cf066288 100644 --- a/generated/google/apis/replicapoolupdater_v1beta1/representations.rb +++ b/generated/google/apis/replicapoolupdater_v1beta1/representations.rb @@ -160,7 +160,7 @@ module Google property :http_error_message, as: 'httpErrorMessage' property :http_error_status_code, as: 'httpErrorStatusCode' - property :id, as: 'id' + property :id, :numeric_string => true, as: 'id' property :insert_time, as: 'insertTime' property :kind, as: 'kind' property :name, as: 'name' @@ -171,7 +171,7 @@ module Google property :start_time, as: 'startTime' property :status, as: 'status' property :status_message, as: 'statusMessage' - property :target_id, as: 'targetId' + property :target_id, :numeric_string => true, as: 'targetId' property :target_link, as: 'targetLink' property :user, as: 'user' collection :warnings, as: 'warnings', class: Google::Apis::ReplicapoolupdaterV1beta1::Operation::Warning, decorator: Google::Apis::ReplicapoolupdaterV1beta1::Operation::Warning::Representation diff --git a/generated/google/apis/replicapoolupdater_v1beta1/service.rb b/generated/google/apis/replicapoolupdater_v1beta1/service.rb index 005b44861..8a4575663 100644 --- a/generated/google/apis/replicapoolupdater_v1beta1/service.rb +++ b/generated/google/apis/replicapoolupdater_v1beta1/service.rb @@ -52,6 +52,7 @@ module Google def initialize super('https://www.googleapis.com/', 'replicapoolupdater/v1beta1/projects/') + @batch_path = 'batch' end # Cancels an update. The update must be PAUSED before it can be cancelled. This diff --git a/generated/google/apis/reseller_v1/classes.rb b/generated/google/apis/reseller_v1/classes.rb index 0136726e8..ee3fc78fc 100644 --- a/generated/google/apis/reseller_v1/classes.rb +++ b/generated/google/apis/reseller_v1/classes.rb @@ -385,7 +385,7 @@ module Google # The creationTime property is the date when subscription was created. It is in # milliseconds using the Epoch format. See an example Epoch converter. # Corresponds to the JSON property `creationTime` - # @return [String] + # @return [Fixnum] attr_accessor :creation_time # Primary domain name of the customer @@ -582,13 +582,13 @@ module Google # An annual commitment plan's interval's endTime in milliseconds using the UNIX # Epoch format. See an example Epoch converter. # Corresponds to the JSON property `endTime` - # @return [String] + # @return [Fixnum] attr_accessor :end_time # An annual commitment plan's interval's startTime in milliseconds using UNIX # Epoch format. See an example Epoch converter. # Corresponds to the JSON property `startTime` - # @return [String] + # @return [Fixnum] attr_accessor :start_time def initialize(**args) @@ -619,7 +619,7 @@ module Google # The time when transfer token or intent to transfer will expire. The time is in # milliseconds using UNIX Epoch format. # Corresponds to the JSON property `transferabilityExpirationTime` - # @return [String] + # @return [Fixnum] attr_accessor :transferability_expiration_time def initialize(**args) @@ -649,7 +649,7 @@ module Google # Date when the trial ends. The value is in milliseconds using the UNIX Epoch # format. See an example Epoch converter. # Corresponds to the JSON property `trialEndTime` - # @return [String] + # @return [Fixnum] attr_accessor :trial_end_time def initialize(**args) diff --git a/generated/google/apis/reseller_v1/representations.rb b/generated/google/apis/reseller_v1/representations.rb index 30c2aad24..866e80df5 100644 --- a/generated/google/apis/reseller_v1/representations.rb +++ b/generated/google/apis/reseller_v1/representations.rb @@ -180,7 +180,7 @@ module Google # @private class Representation < Google::Apis::Core::JsonRepresentation property :billing_method, as: 'billingMethod' - property :creation_time, as: 'creationTime' + property :creation_time, :numeric_string => true, as: 'creationTime' property :customer_domain, as: 'customerDomain' property :customer_id, as: 'customerId' property :deal_code, as: 'dealCode' @@ -216,8 +216,8 @@ module Google class CommitmentInterval # @private class Representation < Google::Apis::Core::JsonRepresentation - property :end_time, as: 'endTime' - property :start_time, as: 'startTime' + property :end_time, :numeric_string => true, as: 'endTime' + property :start_time, :numeric_string => true, as: 'startTime' end end end @@ -226,7 +226,7 @@ module Google # @private class Representation < Google::Apis::Core::JsonRepresentation property :minimum_transferable_seats, as: 'minimumTransferableSeats' - property :transferability_expiration_time, as: 'transferabilityExpirationTime' + property :transferability_expiration_time, :numeric_string => true, as: 'transferabilityExpirationTime' end end @@ -234,7 +234,7 @@ module Google # @private class Representation < Google::Apis::Core::JsonRepresentation property :is_in_trial, as: 'isInTrial' - property :trial_end_time, as: 'trialEndTime' + property :trial_end_time, :numeric_string => true, as: 'trialEndTime' end end end diff --git a/generated/google/apis/reseller_v1/service.rb b/generated/google/apis/reseller_v1/service.rb index 8a6aea9e0..1f40cd3a0 100644 --- a/generated/google/apis/reseller_v1/service.rb +++ b/generated/google/apis/reseller_v1/service.rb @@ -50,6 +50,7 @@ module Google def initialize super('https://www.googleapis.com/', 'apps/reseller/v1/') + @batch_path = 'batch' end # Get a customer account. diff --git a/generated/google/apis/resourceviews_v1beta2/classes.rb b/generated/google/apis/resourceviews_v1beta2/classes.rb index 25a068ad9..74ed3abaf 100644 --- a/generated/google/apis/resourceviews_v1beta2/classes.rb +++ b/generated/google/apis/resourceviews_v1beta2/classes.rb @@ -112,7 +112,7 @@ module Google # [Output Only] Unique identifier for the resource, generated by the server. # Corresponds to the JSON property `id` - # @return [String] + # @return [Fixnum] attr_accessor :id # [Output Only] The time that this operation was requested, in RFC3339 text @@ -176,7 +176,7 @@ module Google # [Output Only] Unique target ID which identifies a particular incarnation of # the target. # Corresponds to the JSON property `targetId` - # @return [String] + # @return [Fixnum] attr_accessor :target_id # [Output only] URL of the resource the operation is mutating. diff --git a/generated/google/apis/resourceviews_v1beta2/representations.rb b/generated/google/apis/resourceviews_v1beta2/representations.rb index 1e77f52a6..01c4c556d 100644 --- a/generated/google/apis/resourceviews_v1beta2/representations.rb +++ b/generated/google/apis/resourceviews_v1beta2/representations.rb @@ -148,7 +148,7 @@ module Google property :http_error_message, as: 'httpErrorMessage' property :http_error_status_code, as: 'httpErrorStatusCode' - property :id, as: 'id' + property :id, :numeric_string => true, as: 'id' property :insert_time, as: 'insertTime' property :kind, as: 'kind' property :name, as: 'name' @@ -159,7 +159,7 @@ module Google property :start_time, as: 'startTime' property :status, as: 'status' property :status_message, as: 'statusMessage' - property :target_id, as: 'targetId' + property :target_id, :numeric_string => true, as: 'targetId' property :target_link, as: 'targetLink' property :user, as: 'user' collection :warnings, as: 'warnings', class: Google::Apis::ResourceviewsV1beta2::Operation::Warning, decorator: Google::Apis::ResourceviewsV1beta2::Operation::Warning::Representation diff --git a/generated/google/apis/resourceviews_v1beta2/service.rb b/generated/google/apis/resourceviews_v1beta2/service.rb index 354f1fcd5..06f2667f4 100644 --- a/generated/google/apis/resourceviews_v1beta2/service.rb +++ b/generated/google/apis/resourceviews_v1beta2/service.rb @@ -51,6 +51,7 @@ module Google def initialize super('https://www.googleapis.com/', 'resourceviews/v1beta2/projects/') + @batch_path = 'batch' end # Retrieves the specified zone-specific operation resource. diff --git a/generated/google/apis/runtimeconfig_v1.rb b/generated/google/apis/runtimeconfig_v1.rb index a8e1c9d85..4becd8df7 100644 --- a/generated/google/apis/runtimeconfig_v1.rb +++ b/generated/google/apis/runtimeconfig_v1.rb @@ -28,11 +28,11 @@ module Google VERSION = 'V1' REVISION = '20170327' - # View and manage your data across Google Cloud Platform services - AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform' - # Manage your Google Cloud Platform services' runtime configuration AUTH_CLOUDRUNTIMECONFIG = 'https://www.googleapis.com/auth/cloudruntimeconfig' + + # View and manage your data across Google Cloud Platform services + AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform' end end end diff --git a/generated/google/apis/runtimeconfig_v1/classes.rb b/generated/google/apis/runtimeconfig_v1/classes.rb index bf47e0b2a..08e6b4c1d 100644 --- a/generated/google/apis/runtimeconfig_v1/classes.rb +++ b/generated/google/apis/runtimeconfig_v1/classes.rb @@ -77,6 +77,11 @@ module Google class Status include Google::Apis::Core::Hashable + # The status code, which should be an enum value of google.rpc.Code. + # Corresponds to the JSON property `code` + # @return [Fixnum] + attr_accessor :code + # A developer-facing error message, which should be in English. Any # user-facing error message should be localized and sent in the # google.rpc.Status.details field, or localized by the client. @@ -90,20 +95,15 @@ module Google # @return [Array>] attr_accessor :details - # The status code, which should be an enum value of google.rpc.Code. - # Corresponds to the JSON property `code` - # @return [Fixnum] - attr_accessor :code - def initialize(**args) update!(**args) end # Update properties of this object def update!(**args) + @code = args[:code] if args.key?(:code) @message = args[:message] if args.key?(:message) @details = args[:details] if args.key?(:details) - @code = args[:code] if args.key?(:code) end end @@ -137,26 +137,6 @@ module Google class Operation include Google::Apis::Core::Hashable - # If the value is `false`, it means the operation is still in progress. - # If true, the operation is completed, and either `error` or `response` is - # available. - # Corresponds to the JSON property `done` - # @return [Boolean] - attr_accessor :done - alias_method :done?, :done - - # The normal response of the operation in case of success. If the original - # method returns no data on success, such as `Delete`, the response is - # `google.protobuf.Empty`. If the original method is standard - # `Get`/`Create`/`Update`, the response should be the resource. For other - # methods, the response should have the type `XxxResponse`, where `Xxx` - # is the original method name. For example, if the original method name - # is `TakeSnapshot()`, the inferred response type is - # `TakeSnapshotResponse`. - # Corresponds to the JSON property `response` - # @return [Hash] - attr_accessor :response - # The server-assigned name, which is only unique within the same service that # originally returns it. If you use the default HTTP mapping, the # `name` should have the format of `operations/some/unique/name`. @@ -215,17 +195,37 @@ module Google # @return [Hash] attr_accessor :metadata + # If the value is `false`, it means the operation is still in progress. + # If true, the operation is completed, and either `error` or `response` is + # available. + # Corresponds to the JSON property `done` + # @return [Boolean] + attr_accessor :done + alias_method :done?, :done + + # The normal response of the operation in case of success. If the original + # method returns no data on success, such as `Delete`, the response is + # `google.protobuf.Empty`. If the original method is standard + # `Get`/`Create`/`Update`, the response should be the resource. For other + # methods, the response should have the type `XxxResponse`, where `Xxx` + # is the original method name. For example, if the original method name + # is `TakeSnapshot()`, the inferred response type is + # `TakeSnapshotResponse`. + # Corresponds to the JSON property `response` + # @return [Hash] + attr_accessor :response + def initialize(**args) update!(**args) end # Update properties of this object def update!(**args) - @done = args[:done] if args.key?(:done) - @response = args[:response] if args.key?(:response) @name = args[:name] if args.key?(:name) @error = args[:error] if args.key?(:error) @metadata = args[:metadata] if args.key?(:metadata) + @done = args[:done] if args.key?(:done) + @response = args[:response] if args.key?(:response) end end diff --git a/generated/google/apis/runtimeconfig_v1/representations.rb b/generated/google/apis/runtimeconfig_v1/representations.rb index 601a686f4..053a53c9d 100644 --- a/generated/google/apis/runtimeconfig_v1/representations.rb +++ b/generated/google/apis/runtimeconfig_v1/representations.rb @@ -61,9 +61,9 @@ module Google class Status # @private class Representation < Google::Apis::Core::JsonRepresentation + property :code, as: 'code' property :message, as: 'message' collection :details, as: 'details' - property :code, as: 'code' end end @@ -79,12 +79,12 @@ module Google class Operation # @private class Representation < Google::Apis::Core::JsonRepresentation - property :done, as: 'done' - hash :response, as: 'response' property :name, as: 'name' property :error, as: 'error', class: Google::Apis::RuntimeconfigV1::Status, decorator: Google::Apis::RuntimeconfigV1::Status::Representation hash :metadata, as: 'metadata' + property :done, as: 'done' + hash :response, as: 'response' end end diff --git a/generated/google/apis/runtimeconfig_v1/service.rb b/generated/google/apis/runtimeconfig_v1/service.rb index db612bd76..e8eb9262c 100644 --- a/generated/google/apis/runtimeconfig_v1/service.rb +++ b/generated/google/apis/runtimeconfig_v1/service.rb @@ -45,6 +45,82 @@ module Google def initialize super('https://runtimeconfig.googleapis.com/', '') + @batch_path = 'batch' + end + + # Deletes a long-running operation. This method indicates that the client is + # no longer interested in the operation result. It does not cancel the + # operation. If the server doesn't support this method, it returns + # `google.rpc.Code.UNIMPLEMENTED`. + # @param [String] name + # The name of the operation resource to be deleted. + # @param [String] quota_user + # Available to use for quota purposes for server-side applications. Can be any + # arbitrary string assigned to a user, but should not exceed 40 characters. + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::RuntimeconfigV1::Empty] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::RuntimeconfigV1::Empty] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def delete_operation(name, quota_user: nil, fields: nil, options: nil, &block) + command = make_simple_command(:delete, 'v1/{+name}', options) + command.response_representation = Google::Apis::RuntimeconfigV1::Empty::Representation + command.response_class = Google::Apis::RuntimeconfigV1::Empty + command.params['name'] = name unless name.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + command.query['fields'] = fields unless fields.nil? + execute_or_queue_command(command, &block) + end + + # Lists operations that match the specified filter in the request. If the + # server doesn't support this method, it returns `UNIMPLEMENTED`. + # NOTE: the `name` binding below allows API services to override the binding + # to use different resource name schemes, such as `users/*/operations`. + # @param [String] name + # The name of the operation collection. + # @param [String] page_token + # The standard list page token. + # @param [Fixnum] page_size + # The standard list page size. + # @param [String] filter + # The standard list filter. + # @param [String] quota_user + # Available to use for quota purposes for server-side applications. Can be any + # arbitrary string assigned to a user, but should not exceed 40 characters. + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::RuntimeconfigV1::ListOperationsResponse] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::RuntimeconfigV1::ListOperationsResponse] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def list_operations(name, page_token: nil, page_size: nil, filter: nil, quota_user: nil, fields: nil, options: nil, &block) + command = make_simple_command(:get, 'v1/{+name}', options) + command.response_representation = Google::Apis::RuntimeconfigV1::ListOperationsResponse::Representation + command.response_class = Google::Apis::RuntimeconfigV1::ListOperationsResponse + command.params['name'] = name unless name.nil? + command.query['pageToken'] = page_token unless page_token.nil? + command.query['pageSize'] = page_size unless page_size.nil? + command.query['filter'] = filter unless filter.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + command.query['fields'] = fields unless fields.nil? + execute_or_queue_command(command, &block) end # Starts asynchronous cancellation on a long-running operation. The server @@ -60,11 +136,11 @@ module Google # @param [String] name # The name of the operation resource to be cancelled. # @param [Google::Apis::RuntimeconfigV1::CancelOperationRequest] cancel_operation_request_object - # @param [String] fields - # Selector specifying which fields to include in a partial response. # @param [String] quota_user # Available to use for quota purposes for server-side applications. Can be any # arbitrary string assigned to a user, but should not exceed 40 characters. + # @param [String] fields + # Selector specifying which fields to include in a partial response. # @param [Google::Apis::RequestOptions] options # Request-specific options # @@ -77,90 +153,15 @@ module Google # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required - def cancel_operation(name, cancel_operation_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) + def cancel_operation(name, cancel_operation_request_object = nil, quota_user: nil, fields: nil, options: nil, &block) command = make_simple_command(:post, 'v1/{+name}:cancel', options) command.request_representation = Google::Apis::RuntimeconfigV1::CancelOperationRequest::Representation command.request_object = cancel_operation_request_object command.response_representation = Google::Apis::RuntimeconfigV1::Empty::Representation command.response_class = Google::Apis::RuntimeconfigV1::Empty command.params['name'] = name unless name.nil? - command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? - execute_or_queue_command(command, &block) - end - - # Deletes a long-running operation. This method indicates that the client is - # no longer interested in the operation result. It does not cancel the - # operation. If the server doesn't support this method, it returns - # `google.rpc.Code.UNIMPLEMENTED`. - # @param [String] name - # The name of the operation resource to be deleted. - # @param [String] fields - # Selector specifying which fields to include in a partial response. - # @param [String] quota_user - # Available to use for quota purposes for server-side applications. Can be any - # arbitrary string assigned to a user, but should not exceed 40 characters. - # @param [Google::Apis::RequestOptions] options - # Request-specific options - # - # @yield [result, err] Result & error if block supplied - # @yieldparam result [Google::Apis::RuntimeconfigV1::Empty] parsed result object - # @yieldparam err [StandardError] error object if request failed - # - # @return [Google::Apis::RuntimeconfigV1::Empty] - # - # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried - # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification - # @raise [Google::Apis::AuthorizationError] Authorization is required - def delete_operation(name, fields: nil, quota_user: nil, options: nil, &block) - command = make_simple_command(:delete, 'v1/{+name}', options) - command.response_representation = Google::Apis::RuntimeconfigV1::Empty::Representation - command.response_class = Google::Apis::RuntimeconfigV1::Empty - command.params['name'] = name unless name.nil? command.query['fields'] = fields unless fields.nil? - command.query['quotaUser'] = quota_user unless quota_user.nil? - execute_or_queue_command(command, &block) - end - - # Lists operations that match the specified filter in the request. If the - # server doesn't support this method, it returns `UNIMPLEMENTED`. - # NOTE: the `name` binding below allows API services to override the binding - # to use different resource name schemes, such as `users/*/operations`. - # @param [String] name - # The name of the operation collection. - # @param [String] filter - # The standard list filter. - # @param [String] page_token - # The standard list page token. - # @param [Fixnum] page_size - # The standard list page size. - # @param [String] fields - # Selector specifying which fields to include in a partial response. - # @param [String] quota_user - # Available to use for quota purposes for server-side applications. Can be any - # arbitrary string assigned to a user, but should not exceed 40 characters. - # @param [Google::Apis::RequestOptions] options - # Request-specific options - # - # @yield [result, err] Result & error if block supplied - # @yieldparam result [Google::Apis::RuntimeconfigV1::ListOperationsResponse] parsed result object - # @yieldparam err [StandardError] error object if request failed - # - # @return [Google::Apis::RuntimeconfigV1::ListOperationsResponse] - # - # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried - # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification - # @raise [Google::Apis::AuthorizationError] Authorization is required - def list_operations(name, filter: nil, page_token: nil, page_size: nil, fields: nil, quota_user: nil, options: nil, &block) - command = make_simple_command(:get, 'v1/{+name}', options) - command.response_representation = Google::Apis::RuntimeconfigV1::ListOperationsResponse::Representation - command.response_class = Google::Apis::RuntimeconfigV1::ListOperationsResponse - command.params['name'] = name unless name.nil? - command.query['filter'] = filter unless filter.nil? - command.query['pageToken'] = page_token unless page_token.nil? - command.query['pageSize'] = page_size unless page_size.nil? - command.query['fields'] = fields unless fields.nil? - command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end diff --git a/generated/google/apis/script_v1.rb b/generated/google/apis/script_v1.rb index 8cf659335..e0a7059d4 100644 --- a/generated/google/apis/script_v1.rb +++ b/generated/google/apis/script_v1.rb @@ -27,6 +27,24 @@ module Google VERSION = 'V1' REVISION = '20170328' + # View and manage the provisioning of groups on your domain + AUTH_ADMIN_DIRECTORY_GROUP = 'https://www.googleapis.com/auth/admin.directory.group' + + # View and manage the provisioning of users on your domain + AUTH_ADMIN_DIRECTORY_USER = 'https://www.googleapis.com/auth/admin.directory.user' + + # Read, send, delete, and manage your email + AUTH_SCOPE = 'https://mail.google.com/' + + # View and manage your spreadsheets in Google Drive + AUTH_SPREADSHEETS = 'https://www.googleapis.com/auth/spreadsheets' + + # View and manage your forms in Google Drive + AUTH_FORMS = 'https://www.googleapis.com/auth/forms' + + # Manage your contacts + M8_FEEDS = 'https://www.google.com/m8/feeds' + # View your email address AUTH_USERINFO_EMAIL = 'https://www.googleapis.com/auth/userinfo.email' @@ -41,24 +59,6 @@ module Google # View and manage the files in your Google Drive AUTH_DRIVE = 'https://www.googleapis.com/auth/drive' - - # Read, send, delete, and manage your email - AUTH_SCOPE = 'https://mail.google.com/' - - # View and manage your spreadsheets in Google Drive - AUTH_SPREADSHEETS = 'https://www.googleapis.com/auth/spreadsheets' - - # View and manage the provisioning of groups on your domain - AUTH_ADMIN_DIRECTORY_GROUP = 'https://www.googleapis.com/auth/admin.directory.group' - - # View and manage the provisioning of users on your domain - AUTH_ADMIN_DIRECTORY_USER = 'https://www.googleapis.com/auth/admin.directory.user' - - # View and manage your forms in Google Drive - AUTH_FORMS = 'https://www.googleapis.com/auth/forms' - - # Manage your contacts - M8_FEEDS = 'https://www.google.com/m8/feeds' end end end diff --git a/generated/google/apis/script_v1/classes.rb b/generated/google/apis/script_v1/classes.rb index 6328e1712..b8213b0ff 100644 --- a/generated/google/apis/script_v1/classes.rb +++ b/generated/google/apis/script_v1/classes.rb @@ -22,6 +22,67 @@ module Google module Apis module ScriptV1 + # The response will not arrive until the function finishes executing. The + # maximum runtime is listed in the guide to [limitations in Apps Script](https:// + # developers.google.com/apps-script/guides/services/quotas#current_limitations). + #

If the script function returns successfully, the `response` field will + # contain an `ExecutionResponse` object with the function's return value in the + # object's `result` field.

+ #

If the script function (or Apps Script itself) throws an exception, the ` + # error` field will contain a `Status` object. The `Status` object's `details` + # field will contain an array with a single `ExecutionError` object that + # provides information about the nature of the error.

+ #

If the `run` call itself fails (for example, because of a malformed request + # or an authorization error), the method will return an HTTP response code in + # the 4XX range with a different format for the response body. Client libraries + # will automatically convert a 4XX response into an exception class.

+ class Operation + include Google::Apis::Core::Hashable + + # If the script function returns successfully, this field will contain an ` + # ExecutionResponse` object with the function's return value as the object's ` + # result` field. + # Corresponds to the JSON property `response` + # @return [Hash] + attr_accessor :response + + # This field is not used. + # Corresponds to the JSON property `name` + # @return [String] + attr_accessor :name + + # If a `run` call succeeds but the script function (or Apps Script itself) + # throws an exception, the response body's `error` field will contain this ` + # Status` object. + # Corresponds to the JSON property `error` + # @return [Google::Apis::ScriptV1::Status] + attr_accessor :error + + # This field is not used. + # Corresponds to the JSON property `metadata` + # @return [Hash] + attr_accessor :metadata + + # This field is not used. + # Corresponds to the JSON property `done` + # @return [Boolean] + attr_accessor :done + alias_method :done?, :done + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @response = args[:response] if args.key?(:response) + @name = args[:name] if args.key?(:name) + @error = args[:error] if args.key?(:error) + @metadata = args[:metadata] if args.key?(:metadata) + @done = args[:done] if args.key?(:done) + end + end + # A stack trace through the script that shows where the execution failed. class ScriptStackTraceElement include Google::Apis::Core::Hashable @@ -57,6 +118,12 @@ module Google class ExecutionError include Google::Apis::Core::Hashable + # An array of objects that provide a stack trace through the script to show + # where the execution failed, with the deepest call first. + # Corresponds to the JSON property `scriptStackTraceElements` + # @return [Array] + attr_accessor :script_stack_trace_elements + # The error type, for example `TypeError` or `ReferenceError`. If the error # type is unavailable, this field is not included. # Corresponds to the JSON property `errorType` @@ -69,21 +136,15 @@ module Google # @return [String] attr_accessor :error_message - # An array of objects that provide a stack trace through the script to show - # where the execution failed, with the deepest call first. - # Corresponds to the JSON property `scriptStackTraceElements` - # @return [Array] - attr_accessor :script_stack_trace_elements - def initialize(**args) update!(**args) end # Update properties of this object def update!(**args) + @script_stack_trace_elements = args[:script_stack_trace_elements] if args.key?(:script_stack_trace_elements) @error_type = args[:error_type] if args.key?(:error_type) @error_message = args[:error_message] if args.key?(:error_message) - @script_stack_trace_elements = args[:script_stack_trace_elements] if args.key?(:script_stack_trace_elements) end end @@ -130,20 +191,6 @@ module Google class ExecutionRequest include Google::Apis::Core::Hashable - # The name of the function to execute in the given script. The name does not - # include parentheses or parameters. - # Corresponds to the JSON property `function` - # @return [String] - attr_accessor :function - - # If `true` and the user is an owner of the script, the script runs at the - # most recently saved version rather than the version deployed for use with - # the Execution API. Optional; default is `false`. - # Corresponds to the JSON property `devMode` - # @return [Boolean] - attr_accessor :dev_mode - alias_method :dev_mode?, :dev_mode - # The parameters to be passed to the function being executed. The object type # for each parameter should match the expected type in Apps Script. # Parameters cannot be Apps Script-specific object types (such as a @@ -167,16 +214,30 @@ module Google # @return [String] attr_accessor :session_state + # The name of the function to execute in the given script. The name does not + # include parentheses or parameters. + # Corresponds to the JSON property `function` + # @return [String] + attr_accessor :function + + # If `true` and the user is an owner of the script, the script runs at the + # most recently saved version rather than the version deployed for use with + # the Execution API. Optional; default is `false`. + # Corresponds to the JSON property `devMode` + # @return [Boolean] + attr_accessor :dev_mode + alias_method :dev_mode?, :dev_mode + def initialize(**args) update!(**args) end # Update properties of this object def update!(**args) - @function = args[:function] if args.key?(:function) - @dev_mode = args[:dev_mode] if args.key?(:dev_mode) @parameters = args[:parameters] if args.key?(:parameters) @session_state = args[:session_state] if args.key?(:session_state) + @function = args[:function] if args.key?(:function) + @dev_mode = args[:dev_mode] if args.key?(:dev_mode) end end @@ -207,67 +268,6 @@ module Google @result = args[:result] if args.key?(:result) end end - - # The response will not arrive until the function finishes executing. The - # maximum runtime is listed in the guide to [limitations in Apps Script](https:// - # developers.google.com/apps-script/guides/services/quotas#current_limitations). - #

If the script function returns successfully, the `response` field will - # contain an `ExecutionResponse` object with the function's return value in the - # object's `result` field.

- #

If the script function (or Apps Script itself) throws an exception, the ` - # error` field will contain a `Status` object. The `Status` object's `details` - # field will contain an array with a single `ExecutionError` object that - # provides information about the nature of the error.

- #

If the `run` call itself fails (for example, because of a malformed request - # or an authorization error), the method will return an HTTP response code in - # the 4XX range with a different format for the response body. Client libraries - # will automatically convert a 4XX response into an exception class.

- class Operation - include Google::Apis::Core::Hashable - - # This field is not used. - # Corresponds to the JSON property `done` - # @return [Boolean] - attr_accessor :done - alias_method :done?, :done - - # If the script function returns successfully, this field will contain an ` - # ExecutionResponse` object with the function's return value as the object's ` - # result` field. - # Corresponds to the JSON property `response` - # @return [Hash] - attr_accessor :response - - # This field is not used. - # Corresponds to the JSON property `name` - # @return [String] - attr_accessor :name - - # If a `run` call succeeds but the script function (or Apps Script itself) - # throws an exception, the response body's `error` field will contain this ` - # Status` object. - # Corresponds to the JSON property `error` - # @return [Google::Apis::ScriptV1::Status] - attr_accessor :error - - # This field is not used. - # Corresponds to the JSON property `metadata` - # @return [Hash] - attr_accessor :metadata - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @done = args[:done] if args.key?(:done) - @response = args[:response] if args.key?(:response) - @name = args[:name] if args.key?(:name) - @error = args[:error] if args.key?(:error) - @metadata = args[:metadata] if args.key?(:metadata) - end - end end end end diff --git a/generated/google/apis/script_v1/representations.rb b/generated/google/apis/script_v1/representations.rb index 72cae21a5..1db7f3476 100644 --- a/generated/google/apis/script_v1/representations.rb +++ b/generated/google/apis/script_v1/representations.rb @@ -22,6 +22,12 @@ module Google module Apis module ScriptV1 + class Operation + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + class ScriptStackTraceElement class Representation < Google::Apis::Core::JsonRepresentation; end @@ -53,9 +59,15 @@ module Google end class Operation - class Representation < Google::Apis::Core::JsonRepresentation; end + # @private + class Representation < Google::Apis::Core::JsonRepresentation + hash :response, as: 'response' + property :name, as: 'name' + property :error, as: 'error', class: Google::Apis::ScriptV1::Status, decorator: Google::Apis::ScriptV1::Status::Representation - include Google::Apis::Core::JsonObjectSupport + hash :metadata, as: 'metadata' + property :done, as: 'done' + end end class ScriptStackTraceElement @@ -69,10 +81,10 @@ module Google class ExecutionError # @private class Representation < Google::Apis::Core::JsonRepresentation - property :error_type, as: 'errorType' - property :error_message, as: 'errorMessage' collection :script_stack_trace_elements, as: 'scriptStackTraceElements', class: Google::Apis::ScriptV1::ScriptStackTraceElement, decorator: Google::Apis::ScriptV1::ScriptStackTraceElement::Representation + property :error_type, as: 'errorType' + property :error_message, as: 'errorMessage' end end @@ -88,10 +100,10 @@ module Google class ExecutionRequest # @private class Representation < Google::Apis::Core::JsonRepresentation - property :function, as: 'function' - property :dev_mode, as: 'devMode' collection :parameters, as: 'parameters' property :session_state, as: 'sessionState' + property :function, as: 'function' + property :dev_mode, as: 'devMode' end end @@ -101,18 +113,6 @@ module Google property :result, as: 'result' end end - - class Operation - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :done, as: 'done' - hash :response, as: 'response' - property :name, as: 'name' - property :error, as: 'error', class: Google::Apis::ScriptV1::Status, decorator: Google::Apis::ScriptV1::Status::Representation - - hash :metadata, as: 'metadata' - end - end end end end diff --git a/generated/google/apis/script_v1/service.rb b/generated/google/apis/script_v1/service.rb index 797bd98b6..b35bbdb0e 100644 --- a/generated/google/apis/script_v1/service.rb +++ b/generated/google/apis/script_v1/service.rb @@ -32,18 +32,19 @@ module Google # # @see https://developers.google.com/apps-script/execution/rest/v1/scripts/run class ScriptService < Google::Apis::Core::BaseService - # @return [String] - # API key. Your API key identifies your project and provides you with API access, - # quota, and reports. Required unless you provide an OAuth 2.0 token. - attr_accessor :key - # @return [String] # Available to use for quota purposes for server-side applications. Can be any # arbitrary string assigned to a user, but should not exceed 40 characters. attr_accessor :quota_user + # @return [String] + # API key. Your API key identifies your project and provides you with API access, + # quota, and reports. Required unless you provide an OAuth 2.0 token. + attr_accessor :key + def initialize super('https://script.googleapis.com/', '') + @batch_path = 'batch' end # Runs a function in an Apps Script project. The project must be deployed @@ -58,11 +59,11 @@ module Google # The project key of the script to be executed. To find the project key, open # the project in the script editor and select **File > Project properties**. # @param [Google::Apis::ScriptV1::ExecutionRequest] execution_request_object - # @param [String] fields - # Selector specifying which fields to include in a partial response. # @param [String] quota_user # Available to use for quota purposes for server-side applications. Can be any # arbitrary string assigned to a user, but should not exceed 40 characters. + # @param [String] fields + # Selector specifying which fields to include in a partial response. # @param [Google::Apis::RequestOptions] options # Request-specific options # @@ -75,23 +76,23 @@ module Google # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required - def run_script(script_id, execution_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) + def run_script(script_id, execution_request_object = nil, quota_user: nil, fields: nil, options: nil, &block) command = make_simple_command(:post, 'v1/scripts/{scriptId}:run', options) command.request_representation = Google::Apis::ScriptV1::ExecutionRequest::Representation command.request_object = execution_request_object command.response_representation = Google::Apis::ScriptV1::Operation::Representation command.response_class = Google::Apis::ScriptV1::Operation command.params['scriptId'] = script_id unless script_id.nil? - command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? + command.query['fields'] = fields unless fields.nil? execute_or_queue_command(command, &block) end protected def apply_command_defaults(command) - command.query['key'] = key unless key.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? + command.query['key'] = key unless key.nil? end end end diff --git a/generated/google/apis/searchconsole_v1/classes.rb b/generated/google/apis/searchconsole_v1/classes.rb index d064b4065..fa987cbb1 100644 --- a/generated/google/apis/searchconsole_v1/classes.rb +++ b/generated/google/apis/searchconsole_v1/classes.rb @@ -22,69 +22,6 @@ module Google module Apis module SearchconsoleV1 - # Mobile-friendly issue. - class MobileFriendlyIssue - include Google::Apis::Core::Hashable - - # Rule violated. - # Corresponds to the JSON property `rule` - # @return [String] - attr_accessor :rule - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @rule = args[:rule] if args.key?(:rule) - end - end - - # Mobile-friendly test response, including mobile-friendly issues and resource - # issues. - class RunMobileFriendlyTestResponse - include Google::Apis::Core::Hashable - - # Test verdict, whether the page is mobile friendly or not. - # Corresponds to the JSON property `mobileFriendliness` - # @return [String] - attr_accessor :mobile_friendliness - - # List of mobile-usability issues. - # Corresponds to the JSON property `mobileFriendlyIssues` - # @return [Array] - attr_accessor :mobile_friendly_issues - - # Describe image data. - # Corresponds to the JSON property `screenshot` - # @return [Google::Apis::SearchconsoleV1::Image] - attr_accessor :screenshot - - # Final state of the test, including error details if necessary. - # Corresponds to the JSON property `testStatus` - # @return [Google::Apis::SearchconsoleV1::TestStatus] - attr_accessor :test_status - - # Information about embedded resources issues. - # Corresponds to the JSON property `resourceIssues` - # @return [Array] - attr_accessor :resource_issues - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @mobile_friendliness = args[:mobile_friendliness] if args.key?(:mobile_friendliness) - @mobile_friendly_issues = args[:mobile_friendly_issues] if args.key?(:mobile_friendly_issues) - @screenshot = args[:screenshot] if args.key?(:screenshot) - @test_status = args[:test_status] if args.key?(:test_status) - @resource_issues = args[:resource_issues] if args.key?(:resource_issues) - end - end - # Information about a resource with issue. class ResourceIssue include Google::Apis::Core::Hashable @@ -148,6 +85,32 @@ module Google end end + # Mobile-friendly test request. + class RunMobileFriendlyTestRequest + include Google::Apis::Core::Hashable + + # URL for inspection. + # Corresponds to the JSON property `url` + # @return [String] + attr_accessor :url + + # Whether or not screenshot is requested. Default is false. + # Corresponds to the JSON property `requestScreenshot` + # @return [Boolean] + attr_accessor :request_screenshot + alias_method :request_screenshot?, :request_screenshot + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @url = args[:url] if args.key?(:url) + @request_screenshot = args[:request_screenshot] if args.key?(:request_screenshot) + end + end + # Describe image data. class Image include Google::Apis::Core::Hashable @@ -175,20 +138,14 @@ module Google end end - # Mobile-friendly test request. - class RunMobileFriendlyTestRequest + # Mobile-friendly issue. + class MobileFriendlyIssue include Google::Apis::Core::Hashable - # URL for inspection. - # Corresponds to the JSON property `url` + # Rule violated. + # Corresponds to the JSON property `rule` # @return [String] - attr_accessor :url - - # Whether or not screenshot is requested. Default is false. - # Corresponds to the JSON property `requestScreenshot` - # @return [Boolean] - attr_accessor :request_screenshot - alias_method :request_screenshot?, :request_screenshot + attr_accessor :rule def initialize(**args) update!(**args) @@ -196,8 +153,51 @@ module Google # Update properties of this object def update!(**args) - @url = args[:url] if args.key?(:url) - @request_screenshot = args[:request_screenshot] if args.key?(:request_screenshot) + @rule = args[:rule] if args.key?(:rule) + end + end + + # Mobile-friendly test response, including mobile-friendly issues and resource + # issues. + class RunMobileFriendlyTestResponse + include Google::Apis::Core::Hashable + + # List of mobile-usability issues. + # Corresponds to the JSON property `mobileFriendlyIssues` + # @return [Array] + attr_accessor :mobile_friendly_issues + + # Describe image data. + # Corresponds to the JSON property `screenshot` + # @return [Google::Apis::SearchconsoleV1::Image] + attr_accessor :screenshot + + # Final state of the test, including error details if necessary. + # Corresponds to the JSON property `testStatus` + # @return [Google::Apis::SearchconsoleV1::TestStatus] + attr_accessor :test_status + + # Information about embedded resources issues. + # Corresponds to the JSON property `resourceIssues` + # @return [Array] + attr_accessor :resource_issues + + # Test verdict, whether the page is mobile friendly or not. + # Corresponds to the JSON property `mobileFriendliness` + # @return [String] + attr_accessor :mobile_friendliness + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @mobile_friendly_issues = args[:mobile_friendly_issues] if args.key?(:mobile_friendly_issues) + @screenshot = args[:screenshot] if args.key?(:screenshot) + @test_status = args[:test_status] if args.key?(:test_status) + @resource_issues = args[:resource_issues] if args.key?(:resource_issues) + @mobile_friendliness = args[:mobile_friendliness] if args.key?(:mobile_friendliness) end end end diff --git a/generated/google/apis/searchconsole_v1/representations.rb b/generated/google/apis/searchconsole_v1/representations.rb index 5e1e4f68b..f54ce0a94 100644 --- a/generated/google/apis/searchconsole_v1/representations.rb +++ b/generated/google/apis/searchconsole_v1/representations.rb @@ -22,18 +22,6 @@ module Google module Apis module SearchconsoleV1 - class MobileFriendlyIssue - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class RunMobileFriendlyTestResponse - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - class ResourceIssue class Representation < Google::Apis::Core::JsonRepresentation; end @@ -52,38 +40,28 @@ module Google include Google::Apis::Core::JsonObjectSupport end - class Image - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - class RunMobileFriendlyTestRequest class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end + class Image + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + class MobileFriendlyIssue - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :rule, as: 'rule' - end + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class RunMobileFriendlyTestResponse - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :mobile_friendliness, as: 'mobileFriendliness' - collection :mobile_friendly_issues, as: 'mobileFriendlyIssues', class: Google::Apis::SearchconsoleV1::MobileFriendlyIssue, decorator: Google::Apis::SearchconsoleV1::MobileFriendlyIssue::Representation + class Representation < Google::Apis::Core::JsonRepresentation; end - property :screenshot, as: 'screenshot', class: Google::Apis::SearchconsoleV1::Image, decorator: Google::Apis::SearchconsoleV1::Image::Representation - - property :test_status, as: 'testStatus', class: Google::Apis::SearchconsoleV1::TestStatus, decorator: Google::Apis::SearchconsoleV1::TestStatus::Representation - - collection :resource_issues, as: 'resourceIssues', class: Google::Apis::SearchconsoleV1::ResourceIssue, decorator: Google::Apis::SearchconsoleV1::ResourceIssue::Representation - - end + include Google::Apis::Core::JsonObjectSupport end class ResourceIssue @@ -109,6 +87,14 @@ module Google end end + class RunMobileFriendlyTestRequest + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :url, as: 'url' + property :request_screenshot, as: 'requestScreenshot' + end + end + class Image # @private class Representation < Google::Apis::Core::JsonRepresentation @@ -117,11 +103,25 @@ module Google end end - class RunMobileFriendlyTestRequest + class MobileFriendlyIssue # @private class Representation < Google::Apis::Core::JsonRepresentation - property :url, as: 'url' - property :request_screenshot, as: 'requestScreenshot' + property :rule, as: 'rule' + end + end + + class RunMobileFriendlyTestResponse + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :mobile_friendly_issues, as: 'mobileFriendlyIssues', class: Google::Apis::SearchconsoleV1::MobileFriendlyIssue, decorator: Google::Apis::SearchconsoleV1::MobileFriendlyIssue::Representation + + property :screenshot, as: 'screenshot', class: Google::Apis::SearchconsoleV1::Image, decorator: Google::Apis::SearchconsoleV1::Image::Representation + + property :test_status, as: 'testStatus', class: Google::Apis::SearchconsoleV1::TestStatus, decorator: Google::Apis::SearchconsoleV1::TestStatus::Representation + + collection :resource_issues, as: 'resourceIssues', class: Google::Apis::SearchconsoleV1::ResourceIssue, decorator: Google::Apis::SearchconsoleV1::ResourceIssue::Representation + + property :mobile_friendliness, as: 'mobileFriendliness' end end end diff --git a/generated/google/apis/searchconsole_v1/service.rb b/generated/google/apis/searchconsole_v1/service.rb index 6507ac530..c1f536f2f 100644 --- a/generated/google/apis/searchconsole_v1/service.rb +++ b/generated/google/apis/searchconsole_v1/service.rb @@ -32,27 +32,28 @@ module Google # # @see https://developers.google.com/webmaster-tools/search-console-api/ class SearchConsoleService < Google::Apis::Core::BaseService - # @return [String] - # API key. Your API key identifies your project and provides you with API access, - # quota, and reports. Required unless you provide an OAuth 2.0 token. - attr_accessor :key - # @return [String] # Available to use for quota purposes for server-side applications. Can be any # arbitrary string assigned to a user, but should not exceed 40 characters. attr_accessor :quota_user + # @return [String] + # API key. Your API key identifies your project and provides you with API access, + # quota, and reports. Required unless you provide an OAuth 2.0 token. + attr_accessor :key + def initialize super('https://searchconsole.googleapis.com/', '') + @batch_path = 'batch' end # Runs Mobile-Friendly Test for a given URL. # @param [Google::Apis::SearchconsoleV1::RunMobileFriendlyTestRequest] run_mobile_friendly_test_request_object - # @param [String] fields - # Selector specifying which fields to include in a partial response. # @param [String] quota_user # Available to use for quota purposes for server-side applications. Can be any # arbitrary string assigned to a user, but should not exceed 40 characters. + # @param [String] fields + # Selector specifying which fields to include in a partial response. # @param [Google::Apis::RequestOptions] options # Request-specific options # @@ -65,22 +66,22 @@ module Google # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required - def run_mobile_friendly_test(run_mobile_friendly_test_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) + def run_mobile_friendly_test(run_mobile_friendly_test_request_object = nil, quota_user: nil, fields: nil, options: nil, &block) command = make_simple_command(:post, 'v1/urlTestingTools/mobileFriendlyTest:run', options) command.request_representation = Google::Apis::SearchconsoleV1::RunMobileFriendlyTestRequest::Representation command.request_object = run_mobile_friendly_test_request_object command.response_representation = Google::Apis::SearchconsoleV1::RunMobileFriendlyTestResponse::Representation command.response_class = Google::Apis::SearchconsoleV1::RunMobileFriendlyTestResponse - command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? + command.query['fields'] = fields unless fields.nil? execute_or_queue_command(command, &block) end protected def apply_command_defaults(command) - command.query['key'] = key unless key.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? + command.query['key'] = key unless key.nil? end end end diff --git a/generated/google/apis/servicecontrol_v1/classes.rb b/generated/google/apis/servicecontrol_v1/classes.rb index d8789848d..ffcb25823 100644 --- a/generated/google/apis/servicecontrol_v1/classes.rb +++ b/generated/google/apis/servicecontrol_v1/classes.rb @@ -22,293 +22,6 @@ module Google module Apis module ServicecontrolV1 - # Represents a single metric value. - class MetricValue - include Google::Apis::Core::Hashable - - # A text string value. - # Corresponds to the JSON property `stringValue` - # @return [String] - attr_accessor :string_value - - # The labels describing the metric value. - # See comments on google.api.servicecontrol.v1.Operation.labels for - # the overriding relationship. - # Corresponds to the JSON property `labels` - # @return [Hash] - attr_accessor :labels - - # A double precision floating point value. - # Corresponds to the JSON property `doubleValue` - # @return [Float] - attr_accessor :double_value - - # A signed 64-bit integer value. - # Corresponds to the JSON property `int64Value` - # @return [String] - attr_accessor :int64_value - - # Distribution represents a frequency distribution of double-valued sample - # points. It contains the size of the population of sample points plus - # additional optional information: - # - the arithmetic mean of the samples - # - the minimum and maximum of the samples - # - the sum-squared-deviation of the samples, used to compute variance - # - a histogram of the values of the sample points - # Corresponds to the JSON property `distributionValue` - # @return [Google::Apis::ServicecontrolV1::Distribution] - attr_accessor :distribution_value - - # A boolean value. - # Corresponds to the JSON property `boolValue` - # @return [Boolean] - attr_accessor :bool_value - alias_method :bool_value?, :bool_value - - # The end of the time period over which this metric value's measurement - # applies. - # Corresponds to the JSON property `endTime` - # @return [String] - attr_accessor :end_time - - # The start of the time period over which this metric value's measurement - # applies. The time period has different semantics for different metric - # types (cumulative, delta, and gauge). See the metric definition - # documentation in the service configuration for details. - # Corresponds to the JSON property `startTime` - # @return [String] - attr_accessor :start_time - - # Represents an amount of money with its currency type. - # Corresponds to the JSON property `moneyValue` - # @return [Google::Apis::ServicecontrolV1::Money] - attr_accessor :money_value - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @string_value = args[:string_value] if args.key?(:string_value) - @labels = args[:labels] if args.key?(:labels) - @double_value = args[:double_value] if args.key?(:double_value) - @int64_value = args[:int64_value] if args.key?(:int64_value) - @distribution_value = args[:distribution_value] if args.key?(:distribution_value) - @bool_value = args[:bool_value] if args.key?(:bool_value) - @end_time = args[:end_time] if args.key?(:end_time) - @start_time = args[:start_time] if args.key?(:start_time) - @money_value = args[:money_value] if args.key?(:money_value) - end - end - - # Represents an amount of money with its currency type. - class Money - include Google::Apis::Core::Hashable - - # The 3-letter currency code defined in ISO 4217. - # Corresponds to the JSON property `currencyCode` - # @return [String] - attr_accessor :currency_code - - # Number of nano (10^-9) units of the amount. - # The value must be between -999,999,999 and +999,999,999 inclusive. - # If `units` is positive, `nanos` must be positive or zero. - # If `units` is zero, `nanos` can be positive, zero, or negative. - # If `units` is negative, `nanos` must be negative or zero. - # For example $-1.75 is represented as `units`=-1 and `nanos`=-750,000,000. - # Corresponds to the JSON property `nanos` - # @return [Fixnum] - attr_accessor :nanos - - # The whole units of the amount. - # For example if `currencyCode` is `"USD"`, then 1 unit is one US dollar. - # Corresponds to the JSON property `units` - # @return [String] - attr_accessor :units - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @currency_code = args[:currency_code] if args.key?(:currency_code) - @nanos = args[:nanos] if args.key?(:nanos) - @units = args[:units] if args.key?(:units) - end - end - - # - class EndReconciliationResponse - include Google::Apis::Core::Hashable - - # Metric values as tracked by One Platform before the adjustment was made. - # The following metrics will be included: - # 1. Per quota metric total usage will be specified using the following gauge - # metric: - # "serviceruntime.googleapis.com/allocation/consumer/quota_used_count" - # 2. Value for each quota limit associated with the metrics will be specified - # using the following gauge metric: - # "serviceruntime.googleapis.com/quota/limit" - # 3. Delta value of the usage after the reconciliation for limits associated - # with the metrics will be specified using the following metric: - # "serviceruntime.googleapis.com/allocation/reconciliation_delta" - # The delta value is defined as: - # new_usage_from_client - existing_value_in_spanner. - # This metric is not defined in serviceruntime.yaml or in Cloud Monarch. - # This metric is meant for callers' use only. Since this metric is not - # defined in the monitoring backend, reporting on this metric will result in - # an error. - # Corresponds to the JSON property `quotaMetrics` - # @return [Array] - attr_accessor :quota_metrics - - # The same operation_id value used in the EndReconciliationRequest. Used for - # logging and diagnostics purposes. - # Corresponds to the JSON property `operationId` - # @return [String] - attr_accessor :operation_id - - # Indicates the decision of the reconciliation end. - # Corresponds to the JSON property `reconciliationErrors` - # @return [Array] - attr_accessor :reconciliation_errors - - # ID of the actual config used to process the request. - # Corresponds to the JSON property `serviceConfigId` - # @return [String] - attr_accessor :service_config_id - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @quota_metrics = args[:quota_metrics] if args.key?(:quota_metrics) - @operation_id = args[:operation_id] if args.key?(:operation_id) - @reconciliation_errors = args[:reconciliation_errors] if args.key?(:reconciliation_errors) - @service_config_id = args[:service_config_id] if args.key?(:service_config_id) - end - end - - # Describing buckets with arbitrary user-provided width. - class ExplicitBuckets - include Google::Apis::Core::Hashable - - # 'bound' is a list of strictly increasing boundaries between - # buckets. Note that a list of length N-1 defines N buckets because - # of fenceposting. See comments on `bucket_options` for details. - # The i'th finite bucket covers the interval - # [bound[i-1], bound[i]) - # where i ranges from 1 to bound_size() - 1. Note that there are no - # finite buckets at all if 'bound' only contains a single element; in - # that special case the single bound defines the boundary between the - # underflow and overflow buckets. - # bucket number lower bound upper bound - # i == 0 (underflow) -inf bound[i] - # 0 < i < bound_size() bound[i-1] bound[i] - # i == bound_size() (overflow) bound[i-1] +inf - # Corresponds to the JSON property `bounds` - # @return [Array] - attr_accessor :bounds - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @bounds = args[:bounds] if args.key?(:bounds) - end - end - - # Distribution represents a frequency distribution of double-valued sample - # points. It contains the size of the population of sample points plus - # additional optional information: - # - the arithmetic mean of the samples - # - the minimum and maximum of the samples - # - the sum-squared-deviation of the samples, used to compute variance - # - a histogram of the values of the sample points - class Distribution - include Google::Apis::Core::Hashable - - # Describing buckets with exponentially growing width. - # Corresponds to the JSON property `exponentialBuckets` - # @return [Google::Apis::ServicecontrolV1::ExponentialBuckets] - attr_accessor :exponential_buckets - - # The minimum of the population of values. Ignored if `count` is zero. - # Corresponds to the JSON property `minimum` - # @return [Float] - attr_accessor :minimum - - # Describing buckets with constant width. - # Corresponds to the JSON property `linearBuckets` - # @return [Google::Apis::ServicecontrolV1::LinearBuckets] - attr_accessor :linear_buckets - - # The total number of samples in the distribution. Must be >= 0. - # Corresponds to the JSON property `count` - # @return [String] - attr_accessor :count - - # The arithmetic mean of the samples in the distribution. If `count` is - # zero then this field must be zero. - # Corresponds to the JSON property `mean` - # @return [Float] - attr_accessor :mean - - # The number of samples in each histogram bucket. `bucket_counts` are - # optional. If present, they must sum to the `count` value. - # The buckets are defined below in `bucket_option`. There are N buckets. - # `bucket_counts[0]` is the number of samples in the underflow bucket. - # `bucket_counts[1]` to `bucket_counts[N-1]` are the numbers of samples - # in each of the finite buckets. And `bucket_counts[N] is the number - # of samples in the overflow bucket. See the comments of `bucket_option` - # below for more details. - # Any suffix of trailing zeros may be omitted. - # Corresponds to the JSON property `bucketCounts` - # @return [Array] - attr_accessor :bucket_counts - - # Describing buckets with arbitrary user-provided width. - # Corresponds to the JSON property `explicitBuckets` - # @return [Google::Apis::ServicecontrolV1::ExplicitBuckets] - attr_accessor :explicit_buckets - - # The maximum of the population of values. Ignored if `count` is zero. - # Corresponds to the JSON property `maximum` - # @return [Float] - attr_accessor :maximum - - # The sum of squared deviations from the mean: - # Sum[i=1..count]((x_i - mean)^2) - # where each x_i is a sample values. If `count` is zero then this field - # must be zero, otherwise validation of the request fails. - # Corresponds to the JSON property `sumOfSquaredDeviation` - # @return [Float] - attr_accessor :sum_of_squared_deviation - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @exponential_buckets = args[:exponential_buckets] if args.key?(:exponential_buckets) - @minimum = args[:minimum] if args.key?(:minimum) - @linear_buckets = args[:linear_buckets] if args.key?(:linear_buckets) - @count = args[:count] if args.key?(:count) - @mean = args[:mean] if args.key?(:mean) - @bucket_counts = args[:bucket_counts] if args.key?(:bucket_counts) - @explicit_buckets = args[:explicit_buckets] if args.key?(:explicit_buckets) - @maximum = args[:maximum] if args.key?(:maximum) - @sum_of_squared_deviation = args[:sum_of_squared_deviation] if args.key?(:sum_of_squared_deviation) - end - end - # Describing buckets with exponentially growing width. class ExponentialBuckets include Google::Apis::Core::Hashable @@ -386,6 +99,18 @@ module Google class StartReconciliationResponse include Google::Apis::Core::Hashable + # Metric values as tracked by One Platform before the start of + # reconciliation. The following metrics will be included: + # 1. Per quota metric total usage will be specified using the following gauge + # metric: + # "serviceruntime.googleapis.com/allocation/consumer/quota_used_count" + # 2. Value for each quota limit associated with the metrics will be specified + # using the following gauge metric: + # "serviceruntime.googleapis.com/quota/limit" + # Corresponds to the JSON property `quotaMetrics` + # @return [Array] + attr_accessor :quota_metrics + # The same operation_id value used in the StartReconciliationRequest. Used # for logging and diagnostics purposes. # Corresponds to the JSON property `operationId` @@ -402,28 +127,16 @@ module Google # @return [String] attr_accessor :service_config_id - # Metric values as tracked by One Platform before the start of - # reconciliation. The following metrics will be included: - # 1. Per quota metric total usage will be specified using the following gauge - # metric: - # "serviceruntime.googleapis.com/allocation/consumer/quota_used_count" - # 2. Value for each quota limit associated with the metrics will be specified - # using the following gauge metric: - # "serviceruntime.googleapis.com/quota/limit" - # Corresponds to the JSON property `quotaMetrics` - # @return [Array] - attr_accessor :quota_metrics - def initialize(**args) update!(**args) end # Update properties of this object def update!(**args) + @quota_metrics = args[:quota_metrics] if args.key?(:quota_metrics) @operation_id = args[:operation_id] if args.key?(:operation_id) @reconciliation_errors = args[:reconciliation_errors] if args.key?(:reconciliation_errors) @service_config_id = args[:service_config_id] if args.key?(:service_config_id) - @quota_metrics = args[:quota_metrics] if args.key?(:quota_metrics) end end @@ -431,6 +144,11 @@ module Google class QuotaProperties include Google::Apis::Core::Hashable + # Quota mode for this operation. + # Corresponds to the JSON property `quotaMode` + # @return [String] + attr_accessor :quota_mode + # LimitType IDs that should be used for checking quota. Key in this map # should be a valid LimitType string, and the value is the ID to be used. For # example, an entry will cause all user quota limits to use 123 @@ -446,19 +164,14 @@ module Google # @return [Hash] attr_accessor :limit_by_ids - # Quota mode for this operation. - # Corresponds to the JSON property `quotaMode` - # @return [String] - attr_accessor :quota_mode - def initialize(**args) update!(**args) end # Update properties of this object def update!(**args) - @limit_by_ids = args[:limit_by_ids] if args.key?(:limit_by_ids) @quota_mode = args[:quota_mode] if args.key?(:quota_mode) + @limit_by_ids = args[:limit_by_ids] if args.key?(:limit_by_ids) end end @@ -466,6 +179,14 @@ module Google class LinearBuckets include Google::Apis::Core::Hashable + # The i'th linear bucket covers the interval + # [offset + (i-1) * width, offset + i * width) + # where i ranges from 1 to num_finite_buckets, inclusive. + # Must be strictly positive. + # Corresponds to the JSON property `width` + # @return [Float] + attr_accessor :width + # The i'th linear bucket covers the interval # [offset + (i-1) * width, offset + i * width) # where i ranges from 1 to num_finite_buckets, inclusive. @@ -480,23 +201,15 @@ module Google # @return [Fixnum] attr_accessor :num_finite_buckets - # The i'th linear bucket covers the interval - # [offset + (i-1) * width, offset + i * width) - # where i ranges from 1 to num_finite_buckets, inclusive. - # Must be strictly positive. - # Corresponds to the JSON property `width` - # @return [Float] - attr_accessor :width - def initialize(**args) update!(**args) end # Update properties of this object def update!(**args) + @width = args[:width] if args.key?(:width) @offset = args[:offset] if args.key?(:offset) @num_finite_buckets = args[:num_finite_buckets] if args.key?(:num_finite_buckets) - @width = args[:width] if args.key?(:width) end end @@ -530,6 +243,12 @@ module Google class AllocateQuotaResponse include Google::Apis::Core::Hashable + # The same operation_id value used in the AllocateQuotaRequest. Used for + # logging and diagnostics purposes. + # Corresponds to the JSON property `operationId` + # @return [String] + attr_accessor :operation_id + # ID of the actual config used to process the request. # Corresponds to the JSON property `serviceConfigId` # @return [String] @@ -558,22 +277,16 @@ module Google # @return [Array] attr_accessor :quota_metrics - # The same operation_id value used in the AllocateQuotaRequest. Used for - # logging and diagnostics purposes. - # Corresponds to the JSON property `operationId` - # @return [String] - attr_accessor :operation_id - def initialize(**args) update!(**args) end # Update properties of this object def update!(**args) + @operation_id = args[:operation_id] if args.key?(:operation_id) @service_config_id = args[:service_config_id] if args.key?(:service_config_id) @allocate_errors = args[:allocate_errors] if args.key?(:allocate_errors) @quota_metrics = args[:quota_metrics] if args.key?(:quota_metrics) - @operation_id = args[:operation_id] if args.key?(:operation_id) end end @@ -604,6 +317,39 @@ module Google end end + # + class QuotaError + include Google::Apis::Core::Hashable + + # Subject to whom this error applies. See the specific enum for more details + # on this field. For example, "clientip:" or + # "project:". + # Corresponds to the JSON property `subject` + # @return [String] + attr_accessor :subject + + # Free-form text that provides details on the cause of the error. + # Corresponds to the JSON property `description` + # @return [String] + attr_accessor :description + + # Error code. + # Corresponds to the JSON property `code` + # @return [String] + attr_accessor :code + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @subject = args[:subject] if args.key?(:subject) + @description = args[:description] if args.key?(:description) + @code = args[:code] if args.key?(:code) + end + end + # Metadata about the request. class RequestMetadata include Google::Apis::Core::Hashable @@ -638,39 +384,6 @@ module Google end end - # - class QuotaError - include Google::Apis::Core::Hashable - - # Subject to whom this error applies. See the specific enum for more details - # on this field. For example, "clientip:" or - # "project:". - # Corresponds to the JSON property `subject` - # @return [String] - attr_accessor :subject - - # Free-form text that provides details on the cause of the error. - # Corresponds to the JSON property `description` - # @return [String] - attr_accessor :description - - # Error code. - # Corresponds to the JSON property `code` - # @return [String] - attr_accessor :code - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @subject = args[:subject] if args.key?(:subject) - @description = args[:description] if args.key?(:description) - @code = args[:code] if args.key?(:code) - end - end - # class CheckInfo include Google::Apis::Core::Hashable @@ -696,21 +409,6 @@ module Google class ReleaseQuotaResponse include Google::Apis::Core::Hashable - # Quota metrics to indicate the result of release. Depending on the - # request, one or more of the following metrics will be included: - # 1. For rate quota, per quota group or per quota metric released amount - # will be specified using the following delta metric: - # "serviceruntime.googleapis.com/api/consumer/quota_refund_count" - # 2. For allocation quota, per quota metric total usage will be specified - # using the following gauge metric: - # "serviceruntime.googleapis.com/allocation/consumer/quota_used_count" - # 3. For allocation quota, value for each quota limit associated with - # the metrics will be specified using the following gauge metric: - # "serviceruntime.googleapis.com/quota/limit" - # Corresponds to the JSON property `quotaMetrics` - # @return [Array] - attr_accessor :quota_metrics - # The same operation_id value used in the ReleaseQuotaRequest. Used for # logging and diagnostics purposes. # Corresponds to the JSON property `operationId` @@ -727,16 +425,31 @@ module Google # @return [Array] attr_accessor :release_errors + # Quota metrics to indicate the result of release. Depending on the + # request, one or more of the following metrics will be included: + # 1. For rate quota, per quota group or per quota metric released amount + # will be specified using the following delta metric: + # "serviceruntime.googleapis.com/api/consumer/quota_refund_count" + # 2. For allocation quota, per quota metric total usage will be specified + # using the following gauge metric: + # "serviceruntime.googleapis.com/allocation/consumer/quota_used_count" + # 3. For allocation quota, value for each quota limit associated with + # the metrics will be specified using the following gauge metric: + # "serviceruntime.googleapis.com/quota/limit" + # Corresponds to the JSON property `quotaMetrics` + # @return [Array] + attr_accessor :quota_metrics + def initialize(**args) update!(**args) end # Update properties of this object def update!(**args) - @quota_metrics = args[:quota_metrics] if args.key?(:quota_metrics) @operation_id = args[:operation_id] if args.key?(:operation_id) @service_config_id = args[:service_config_id] if args.key?(:service_config_id) @release_errors = args[:release_errors] if args.key?(:release_errors) + @quota_metrics = args[:quota_metrics] if args.key?(:quota_metrics) end end @@ -744,6 +457,12 @@ module Google class AllocateQuotaRequest include Google::Apis::Core::Hashable + # Allocation mode for this operation. + # Deprecated: use QuotaMode inside the QuotaOperation. + # Corresponds to the JSON property `allocationMode` + # @return [String] + attr_accessor :allocation_mode + # Specifies which version of service configuration should be used to process # the request. If unspecified or no matching version can be found, the latest # one will be used. @@ -756,21 +475,15 @@ module Google # @return [Google::Apis::ServicecontrolV1::QuotaOperation] attr_accessor :allocate_operation - # Allocation mode for this operation. - # Deprecated: use QuotaMode inside the QuotaOperation. - # Corresponds to the JSON property `allocationMode` - # @return [String] - attr_accessor :allocation_mode - def initialize(**args) update!(**args) end # Update properties of this object def update!(**args) + @allocation_mode = args[:allocation_mode] if args.key?(:allocation_mode) @service_config_id = args[:service_config_id] if args.key?(:service_config_id) @allocate_operation = args[:allocate_operation] if args.key?(:allocate_operation) - @allocation_mode = args[:allocation_mode] if args.key?(:allocation_mode) end end @@ -805,11 +518,6 @@ module Google class ReportError include Google::Apis::Core::Hashable - # The Operation.operation_id value from the request. - # Corresponds to the JSON property `operationId` - # @return [String] - attr_accessor :operation_id - # The `Status` type defines a logical error model that is suitable for different # programming environments, including REST APIs and RPC APIs. It is used by # [gRPC](https://github.com/grpc). The error model is designed to be: @@ -853,14 +561,19 @@ module Google # @return [Google::Apis::ServicecontrolV1::Status] attr_accessor :status + # The Operation.operation_id value from the request. + # Corresponds to the JSON property `operationId` + # @return [String] + attr_accessor :operation_id + def initialize(**args) update!(**args) end # Update properties of this object def update!(**args) - @operation_id = args[:operation_id] if args.key?(:operation_id) @status = args[:status] if args.key?(:status) + @operation_id = args[:operation_id] if args.key?(:operation_id) end end @@ -868,6 +581,11 @@ module Google class StartReconciliationRequest include Google::Apis::Core::Hashable + # Represents information regarding a quota operation. + # Corresponds to the JSON property `reconciliationOperation` + # @return [Google::Apis::ServicecontrolV1::QuotaOperation] + attr_accessor :reconciliation_operation + # Specifies which version of service configuration should be used to process # the request. If unspecified or no matching version can be found, the latest # one will be used. @@ -875,19 +593,14 @@ module Google # @return [String] attr_accessor :service_config_id - # Represents information regarding a quota operation. - # Corresponds to the JSON property `reconciliationOperation` - # @return [Google::Apis::ServicecontrolV1::QuotaOperation] - attr_accessor :reconciliation_operation - def initialize(**args) update!(**args) end # Update properties of this object def update!(**args) - @service_config_id = args[:service_config_id] if args.key?(:service_config_id) @reconciliation_operation = args[:reconciliation_operation] if args.key?(:reconciliation_operation) + @service_config_id = args[:service_config_id] if args.key?(:service_config_id) end end @@ -896,24 +609,24 @@ module Google class CheckError include Google::Apis::Core::Hashable - # Free-form text providing details on the error cause of the error. - # Corresponds to the JSON property `detail` - # @return [String] - attr_accessor :detail - # The error code. # Corresponds to the JSON property `code` # @return [String] attr_accessor :code + # Free-form text providing details on the error cause of the error. + # Corresponds to the JSON property `detail` + # @return [String] + attr_accessor :detail + def initialize(**args) update!(**args) end # Update properties of this object def update!(**args) - @detail = args[:detail] if args.key?(:detail) @code = args[:code] if args.key?(:code) + @detail = args[:detail] if args.key?(:detail) end end @@ -1012,6 +725,11 @@ module Google class QuotaOperation include Google::Apis::Core::Hashable + # Labels describing the operation. + # Corresponds to the JSON property `labels` + # @return [Hash] + attr_accessor :labels + # Identity of the consumer for whom this quota operation is being performed. # This can be in one of the following formats: # project:, @@ -1061,23 +779,18 @@ module Google # @return [Array] attr_accessor :quota_metrics - # Labels describing the operation. - # Corresponds to the JSON property `labels` - # @return [Hash] - attr_accessor :labels - def initialize(**args) update!(**args) end # Update properties of this object def update!(**args) + @labels = args[:labels] if args.key?(:labels) @consumer_id = args[:consumer_id] if args.key?(:consumer_id) @operation_id = args[:operation_id] if args.key?(:operation_id) @quota_mode = args[:quota_mode] if args.key?(:quota_mode) @method_name = args[:method_name] if args.key?(:method_name) @quota_metrics = args[:quota_metrics] if args.key?(:quota_metrics) - @labels = args[:labels] if args.key?(:labels) end end @@ -1137,10 +850,34 @@ module Google class Operation include Google::Apis::Core::Hashable - # Fully qualified name of the operation. Reserved for future use. - # Corresponds to the JSON property `operationName` + # Represents the properties needed for quota operations. + # Corresponds to the JSON property `quotaProperties` + # @return [Google::Apis::ServicecontrolV1::QuotaProperties] + attr_accessor :quota_properties + + # Identity of the consumer who is using the service. + # This field should be filled in for the operations initiated by a + # consumer, but not for service-initiated operations that are + # not related to a specific consumer. + # This can be in one of the following formats: + # project:, + # project_number:, + # api_key:. + # Corresponds to the JSON property `consumerId` # @return [String] - attr_accessor :operation_name + attr_accessor :consumer_id + + # Identity of the operation. This must be unique within the scope of the + # service that generated the operation. If the service calls + # Check() and Report() on the same operation, the two calls should carry + # the same id. + # UUID version 4 is recommended, though not required. + # In scenarios where an operation is computed from existing information + # and an idempotent id is desirable for deduplication purpose, UUID version 5 + # is recommended. See RFC 4122 for details. + # Corresponds to the JSON property `operationId` + # @return [String] + attr_accessor :operation_id # End time of the operation. # Required when the operation is used in ServiceController.Report, @@ -1149,6 +886,11 @@ module Google # @return [String] attr_accessor :end_time + # Fully qualified name of the operation. Reserved for future use. + # Corresponds to the JSON property `operationName` + # @return [String] + attr_accessor :operation_name + # Required. Start time of the operation. # Corresponds to the JSON property `startTime` # @return [String] @@ -1210,43 +952,17 @@ module Google # @return [Array] attr_accessor :metric_value_sets - # Represents the properties needed for quota operations. - # Corresponds to the JSON property `quotaProperties` - # @return [Google::Apis::ServicecontrolV1::QuotaProperties] - attr_accessor :quota_properties - - # Identity of the consumer who is using the service. - # This field should be filled in for the operations initiated by a - # consumer, but not for service-initiated operations that are - # not related to a specific consumer. - # This can be in one of the following formats: - # project:, - # project_number:, - # api_key:. - # Corresponds to the JSON property `consumerId` - # @return [String] - attr_accessor :consumer_id - - # Identity of the operation. This must be unique within the scope of the - # service that generated the operation. If the service calls - # Check() and Report() on the same operation, the two calls should carry - # the same id. - # UUID version 4 is recommended, though not required. - # In scenarios where an operation is computed from existing information - # and an idempotent id is desirable for deduplication purpose, UUID version 5 - # is recommended. See RFC 4122 for details. - # Corresponds to the JSON property `operationId` - # @return [String] - attr_accessor :operation_id - def initialize(**args) update!(**args) end # Update properties of this object def update!(**args) - @operation_name = args[:operation_name] if args.key?(:operation_name) + @quota_properties = args[:quota_properties] if args.key?(:quota_properties) + @consumer_id = args[:consumer_id] if args.key?(:consumer_id) + @operation_id = args[:operation_id] if args.key?(:operation_id) @end_time = args[:end_time] if args.key?(:end_time) + @operation_name = args[:operation_name] if args.key?(:operation_name) @start_time = args[:start_time] if args.key?(:start_time) @importance = args[:importance] if args.key?(:importance) @resource_container = args[:resource_container] if args.key?(:resource_container) @@ -1254,9 +970,6 @@ module Google @log_entries = args[:log_entries] if args.key?(:log_entries) @user_labels = args[:user_labels] if args.key?(:user_labels) @metric_value_sets = args[:metric_value_sets] if args.key?(:metric_value_sets) - @quota_properties = args[:quota_properties] if args.key?(:quota_properties) - @consumer_id = args[:consumer_id] if args.key?(:consumer_id) - @operation_id = args[:operation_id] if args.key?(:operation_id) end end @@ -1264,21 +977,6 @@ module Google class ReportResponse include Google::Apis::Core::Hashable - # Quota usage for each quota release `Operation` request. - # Fully or partially failed quota release request may or may not be present - # in `report_quota_info`. For example, a failed quota release request will - # have the current quota usage info when precise quota library returns the - # info. A deadline exceeded quota request will not have quota usage info. - # If there is no quota release request, report_quota_info will be empty. - # Corresponds to the JSON property `reportInfos` - # @return [Array] - attr_accessor :report_infos - - # The actual config id used to process the request. - # Corresponds to the JSON property `serviceConfigId` - # @return [String] - attr_accessor :service_config_id - # Partial failures, one for each `Operation` in the request that failed # processing. There are three possible combinations of the RPC status: # 1. The combination of a successful RPC status and an empty `report_errors` @@ -1296,15 +994,30 @@ module Google # @return [Array] attr_accessor :report_errors + # Quota usage for each quota release `Operation` request. + # Fully or partially failed quota release request may or may not be present + # in `report_quota_info`. For example, a failed quota release request will + # have the current quota usage info when precise quota library returns the + # info. A deadline exceeded quota request will not have quota usage info. + # If there is no quota release request, report_quota_info will be empty. + # Corresponds to the JSON property `reportInfos` + # @return [Array] + attr_accessor :report_infos + + # The actual config id used to process the request. + # Corresponds to the JSON property `serviceConfigId` + # @return [String] + attr_accessor :service_config_id + def initialize(**args) update!(**args) end # Update properties of this object def update!(**args) + @report_errors = args[:report_errors] if args.key?(:report_errors) @report_infos = args[:report_infos] if args.key?(:report_infos) @service_config_id = args[:service_config_id] if args.key?(:service_config_id) - @report_errors = args[:report_errors] if args.key?(:report_errors) end end @@ -1397,6 +1110,12 @@ module Google class Status include Google::Apis::Core::Hashable + # A list of messages that carry the error details. There will be a + # common set of message types for APIs to use. + # Corresponds to the JSON property `details` + # @return [Array>] + attr_accessor :details + # The status code, which should be an enum value of google.rpc.Code. # Corresponds to the JSON property `code` # @return [Fixnum] @@ -1409,21 +1128,15 @@ module Google # @return [String] attr_accessor :message - # A list of messages that carry the error details. There will be a - # common set of message types for APIs to use. - # Corresponds to the JSON property `details` - # @return [Array>] - attr_accessor :details - def initialize(**args) update!(**args) end # Update properties of this object def update!(**args) + @details = args[:details] if args.key?(:details) @code = args[:code] if args.key?(:code) @message = args[:message] if args.key?(:message) - @details = args[:details] if args.key?(:details) end end @@ -1466,23 +1179,17 @@ module Google class AuditLog include Google::Apis::Core::Hashable - # Other service-specific data about the request, response, and other - # activities. - # Corresponds to the JSON property `serviceData` - # @return [Hash] - attr_accessor :service_data - - # Metadata about the request. - # Corresponds to the JSON property `requestMetadata` - # @return [Google::Apis::ServicecontrolV1::RequestMetadata] - attr_accessor :request_metadata - # The number of items returned from a List or Query API method, # if applicable. # Corresponds to the JSON property `numResponseItems` - # @return [String] + # @return [Fixnum] attr_accessor :num_response_items + # Authentication information for the operation. + # Corresponds to the JSON property `authenticationInfo` + # @return [Google::Apis::ServicecontrolV1::AuthenticationInfo] + attr_accessor :authentication_info + # The `Status` type defines a logical error model that is suitable for different # programming environments, including REST APIs and RPC APIs. It is used by # [gRPC](https://github.com/grpc). The error model is designed to be: @@ -1526,11 +1233,6 @@ module Google # @return [Google::Apis::ServicecontrolV1::Status] attr_accessor :status - # Authentication information for the operation. - # Corresponds to the JSON property `authenticationInfo` - # @return [Google::Apis::ServicecontrolV1::AuthenticationInfo] - attr_accessor :authentication_info - # The name of the API service performing the operation. For example, # `"datastore.googleapis.com"`. # Corresponds to the JSON property `serviceName` @@ -1556,13 +1258,6 @@ module Google # @return [String] attr_accessor :method_name - # Authorization information. If there are multiple - # resources or permissions involved, then there is - # one AuthorizationInfo element for each `resource, permission` tuple. - # Corresponds to the JSON property `authorizationInfo` - # @return [Array] - attr_accessor :authorization_info - # The resource or collection that is the target of the operation. # The name is a scheme-less URI, not including the API service name. # For example: @@ -1572,6 +1267,13 @@ module Google # @return [String] attr_accessor :resource_name + # Authorization information. If there are multiple + # resources or permissions involved, then there is + # one AuthorizationInfo element for each `resource, permission` tuple. + # Corresponds to the JSON property `authorizationInfo` + # @return [Array] + attr_accessor :authorization_info + # The operation request. This may not include all request parameters, # such as those that are too large, privacy-sensitive, or duplicated # elsewhere in the log record. @@ -1582,23 +1284,34 @@ module Google # @return [Hash] attr_accessor :request + # Other service-specific data about the request, response, and other + # activities. + # Corresponds to the JSON property `serviceData` + # @return [Hash] + attr_accessor :service_data + + # Metadata about the request. + # Corresponds to the JSON property `requestMetadata` + # @return [Google::Apis::ServicecontrolV1::RequestMetadata] + attr_accessor :request_metadata + def initialize(**args) update!(**args) end # Update properties of this object def update!(**args) - @service_data = args[:service_data] if args.key?(:service_data) - @request_metadata = args[:request_metadata] if args.key?(:request_metadata) @num_response_items = args[:num_response_items] if args.key?(:num_response_items) - @status = args[:status] if args.key?(:status) @authentication_info = args[:authentication_info] if args.key?(:authentication_info) + @status = args[:status] if args.key?(:status) @service_name = args[:service_name] if args.key?(:service_name) @response = args[:response] if args.key?(:response) @method_name = args[:method_name] if args.key?(:method_name) - @authorization_info = args[:authorization_info] if args.key?(:authorization_info) @resource_name = args[:resource_name] if args.key?(:resource_name) + @authorization_info = args[:authorization_info] if args.key?(:authorization_info) @request = args[:request] if args.key?(:request) + @service_data = args[:service_data] if args.key?(:service_data) + @request_metadata = args[:request_metadata] if args.key?(:request_metadata) end end @@ -1606,30 +1319,24 @@ module Google class LogEntry include Google::Apis::Core::Hashable - # A set of user-defined (key, value) data that provides additional - # information about the log entry. - # Corresponds to the JSON property `labels` - # @return [Hash] - attr_accessor :labels - # The severity of the log entry. The default value is # `LogSeverity.DEFAULT`. # Corresponds to the JSON property `severity` # @return [String] attr_accessor :severity - # A unique ID for the log entry used for deduplication. If omitted, - # the implementation will generate one based on operation_id. - # Corresponds to the JSON property `insertId` - # @return [String] - attr_accessor :insert_id - # Required. The log to which this log entry belongs. Examples: `"syslog"`, # `"book_log"`. # Corresponds to the JSON property `name` # @return [String] attr_accessor :name + # A unique ID for the log entry used for deduplication. If omitted, + # the implementation will generate one based on operation_id. + # Corresponds to the JSON property `insertId` + # @return [String] + attr_accessor :insert_id + # The log entry payload, represented as a structure that # is expressed as a JSON object. # Corresponds to the JSON property `structPayload` @@ -1654,20 +1361,313 @@ module Google # @return [String] attr_accessor :timestamp + # A set of user-defined (key, value) data that provides additional + # information about the log entry. + # Corresponds to the JSON property `labels` + # @return [Hash] + attr_accessor :labels + def initialize(**args) update!(**args) end # Update properties of this object def update!(**args) - @labels = args[:labels] if args.key?(:labels) @severity = args[:severity] if args.key?(:severity) - @insert_id = args[:insert_id] if args.key?(:insert_id) @name = args[:name] if args.key?(:name) + @insert_id = args[:insert_id] if args.key?(:insert_id) @struct_payload = args[:struct_payload] if args.key?(:struct_payload) @text_payload = args[:text_payload] if args.key?(:text_payload) @proto_payload = args[:proto_payload] if args.key?(:proto_payload) @timestamp = args[:timestamp] if args.key?(:timestamp) + @labels = args[:labels] if args.key?(:labels) + end + end + + # Represents a single metric value. + class MetricValue + include Google::Apis::Core::Hashable + + # The end of the time period over which this metric value's measurement + # applies. + # Corresponds to the JSON property `endTime` + # @return [String] + attr_accessor :end_time + + # The start of the time period over which this metric value's measurement + # applies. The time period has different semantics for different metric + # types (cumulative, delta, and gauge). See the metric definition + # documentation in the service configuration for details. + # Corresponds to the JSON property `startTime` + # @return [String] + attr_accessor :start_time + + # Represents an amount of money with its currency type. + # Corresponds to the JSON property `moneyValue` + # @return [Google::Apis::ServicecontrolV1::Money] + attr_accessor :money_value + + # A text string value. + # Corresponds to the JSON property `stringValue` + # @return [String] + attr_accessor :string_value + + # The labels describing the metric value. + # See comments on google.api.servicecontrol.v1.Operation.labels for + # the overriding relationship. + # Corresponds to the JSON property `labels` + # @return [Hash] + attr_accessor :labels + + # A double precision floating point value. + # Corresponds to the JSON property `doubleValue` + # @return [Float] + attr_accessor :double_value + + # A signed 64-bit integer value. + # Corresponds to the JSON property `int64Value` + # @return [Fixnum] + attr_accessor :int64_value + + # Distribution represents a frequency distribution of double-valued sample + # points. It contains the size of the population of sample points plus + # additional optional information: + # - the arithmetic mean of the samples + # - the minimum and maximum of the samples + # - the sum-squared-deviation of the samples, used to compute variance + # - a histogram of the values of the sample points + # Corresponds to the JSON property `distributionValue` + # @return [Google::Apis::ServicecontrolV1::Distribution] + attr_accessor :distribution_value + + # A boolean value. + # Corresponds to the JSON property `boolValue` + # @return [Boolean] + attr_accessor :bool_value + alias_method :bool_value?, :bool_value + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @end_time = args[:end_time] if args.key?(:end_time) + @start_time = args[:start_time] if args.key?(:start_time) + @money_value = args[:money_value] if args.key?(:money_value) + @string_value = args[:string_value] if args.key?(:string_value) + @labels = args[:labels] if args.key?(:labels) + @double_value = args[:double_value] if args.key?(:double_value) + @int64_value = args[:int64_value] if args.key?(:int64_value) + @distribution_value = args[:distribution_value] if args.key?(:distribution_value) + @bool_value = args[:bool_value] if args.key?(:bool_value) + end + end + + # Represents an amount of money with its currency type. + class Money + include Google::Apis::Core::Hashable + + # Number of nano (10^-9) units of the amount. + # The value must be between -999,999,999 and +999,999,999 inclusive. + # If `units` is positive, `nanos` must be positive or zero. + # If `units` is zero, `nanos` can be positive, zero, or negative. + # If `units` is negative, `nanos` must be negative or zero. + # For example $-1.75 is represented as `units`=-1 and `nanos`=-750,000,000. + # Corresponds to the JSON property `nanos` + # @return [Fixnum] + attr_accessor :nanos + + # The whole units of the amount. + # For example if `currencyCode` is `"USD"`, then 1 unit is one US dollar. + # Corresponds to the JSON property `units` + # @return [Fixnum] + attr_accessor :units + + # The 3-letter currency code defined in ISO 4217. + # Corresponds to the JSON property `currencyCode` + # @return [String] + attr_accessor :currency_code + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @nanos = args[:nanos] if args.key?(:nanos) + @units = args[:units] if args.key?(:units) + @currency_code = args[:currency_code] if args.key?(:currency_code) + end + end + + # + class EndReconciliationResponse + include Google::Apis::Core::Hashable + + # The same operation_id value used in the EndReconciliationRequest. Used for + # logging and diagnostics purposes. + # Corresponds to the JSON property `operationId` + # @return [String] + attr_accessor :operation_id + + # Indicates the decision of the reconciliation end. + # Corresponds to the JSON property `reconciliationErrors` + # @return [Array] + attr_accessor :reconciliation_errors + + # ID of the actual config used to process the request. + # Corresponds to the JSON property `serviceConfigId` + # @return [String] + attr_accessor :service_config_id + + # Metric values as tracked by One Platform before the adjustment was made. + # The following metrics will be included: + # 1. Per quota metric total usage will be specified using the following gauge + # metric: + # "serviceruntime.googleapis.com/allocation/consumer/quota_used_count" + # 2. Value for each quota limit associated with the metrics will be specified + # using the following gauge metric: + # "serviceruntime.googleapis.com/quota/limit" + # 3. Delta value of the usage after the reconciliation for limits associated + # with the metrics will be specified using the following metric: + # "serviceruntime.googleapis.com/allocation/reconciliation_delta" + # The delta value is defined as: + # new_usage_from_client - existing_value_in_spanner. + # This metric is not defined in serviceruntime.yaml or in Cloud Monarch. + # This metric is meant for callers' use only. Since this metric is not + # defined in the monitoring backend, reporting on this metric will result in + # an error. + # Corresponds to the JSON property `quotaMetrics` + # @return [Array] + attr_accessor :quota_metrics + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @operation_id = args[:operation_id] if args.key?(:operation_id) + @reconciliation_errors = args[:reconciliation_errors] if args.key?(:reconciliation_errors) + @service_config_id = args[:service_config_id] if args.key?(:service_config_id) + @quota_metrics = args[:quota_metrics] if args.key?(:quota_metrics) + end + end + + # Distribution represents a frequency distribution of double-valued sample + # points. It contains the size of the population of sample points plus + # additional optional information: + # - the arithmetic mean of the samples + # - the minimum and maximum of the samples + # - the sum-squared-deviation of the samples, used to compute variance + # - a histogram of the values of the sample points + class Distribution + include Google::Apis::Core::Hashable + + # The maximum of the population of values. Ignored if `count` is zero. + # Corresponds to the JSON property `maximum` + # @return [Float] + attr_accessor :maximum + + # The sum of squared deviations from the mean: + # Sum[i=1..count]((x_i - mean)^2) + # where each x_i is a sample values. If `count` is zero then this field + # must be zero, otherwise validation of the request fails. + # Corresponds to the JSON property `sumOfSquaredDeviation` + # @return [Float] + attr_accessor :sum_of_squared_deviation + + # Describing buckets with exponentially growing width. + # Corresponds to the JSON property `exponentialBuckets` + # @return [Google::Apis::ServicecontrolV1::ExponentialBuckets] + attr_accessor :exponential_buckets + + # The minimum of the population of values. Ignored if `count` is zero. + # Corresponds to the JSON property `minimum` + # @return [Float] + attr_accessor :minimum + + # Describing buckets with constant width. + # Corresponds to the JSON property `linearBuckets` + # @return [Google::Apis::ServicecontrolV1::LinearBuckets] + attr_accessor :linear_buckets + + # The total number of samples in the distribution. Must be >= 0. + # Corresponds to the JSON property `count` + # @return [Fixnum] + attr_accessor :count + + # The arithmetic mean of the samples in the distribution. If `count` is + # zero then this field must be zero. + # Corresponds to the JSON property `mean` + # @return [Float] + attr_accessor :mean + + # The number of samples in each histogram bucket. `bucket_counts` are + # optional. If present, they must sum to the `count` value. + # The buckets are defined below in `bucket_option`. There are N buckets. + # `bucket_counts[0]` is the number of samples in the underflow bucket. + # `bucket_counts[1]` to `bucket_counts[N-1]` are the numbers of samples + # in each of the finite buckets. And `bucket_counts[N] is the number + # of samples in the overflow bucket. See the comments of `bucket_option` + # below for more details. + # Any suffix of trailing zeros may be omitted. + # Corresponds to the JSON property `bucketCounts` + # @return [Array] + attr_accessor :bucket_counts + + # Describing buckets with arbitrary user-provided width. + # Corresponds to the JSON property `explicitBuckets` + # @return [Google::Apis::ServicecontrolV1::ExplicitBuckets] + attr_accessor :explicit_buckets + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @maximum = args[:maximum] if args.key?(:maximum) + @sum_of_squared_deviation = args[:sum_of_squared_deviation] if args.key?(:sum_of_squared_deviation) + @exponential_buckets = args[:exponential_buckets] if args.key?(:exponential_buckets) + @minimum = args[:minimum] if args.key?(:minimum) + @linear_buckets = args[:linear_buckets] if args.key?(:linear_buckets) + @count = args[:count] if args.key?(:count) + @mean = args[:mean] if args.key?(:mean) + @bucket_counts = args[:bucket_counts] if args.key?(:bucket_counts) + @explicit_buckets = args[:explicit_buckets] if args.key?(:explicit_buckets) + end + end + + # Describing buckets with arbitrary user-provided width. + class ExplicitBuckets + include Google::Apis::Core::Hashable + + # 'bound' is a list of strictly increasing boundaries between + # buckets. Note that a list of length N-1 defines N buckets because + # of fenceposting. See comments on `bucket_options` for details. + # The i'th finite bucket covers the interval + # [bound[i-1], bound[i]) + # where i ranges from 1 to bound_size() - 1. Note that there are no + # finite buckets at all if 'bound' only contains a single element; in + # that special case the single bound defines the boundary between the + # underflow and overflow buckets. + # bucket number lower bound upper bound + # i == 0 (underflow) -inf bound[i] + # 0 < i < bound_size() bound[i-1] bound[i] + # i == bound_size() (overflow) bound[i-1] +inf + # Corresponds to the JSON property `bounds` + # @return [Array] + attr_accessor :bounds + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @bounds = args[:bounds] if args.key?(:bounds) end end end diff --git a/generated/google/apis/servicecontrol_v1/representations.rb b/generated/google/apis/servicecontrol_v1/representations.rb index a2d02bf04..65d7c1878 100644 --- a/generated/google/apis/servicecontrol_v1/representations.rb +++ b/generated/google/apis/servicecontrol_v1/representations.rb @@ -22,36 +22,6 @@ module Google module Apis module ServicecontrolV1 - class MetricValue - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class Money - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class EndReconciliationResponse - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class ExplicitBuckets - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class Distribution - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - class ExponentialBuckets class Representation < Google::Apis::Core::JsonRepresentation; end @@ -100,13 +70,13 @@ module Google include Google::Apis::Core::JsonObjectSupport end - class RequestMetadata + class QuotaError class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end - class QuotaError + class RequestMetadata class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport @@ -227,66 +197,33 @@ module Google end class MetricValue - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :string_value, as: 'stringValue' - hash :labels, as: 'labels' - property :double_value, as: 'doubleValue' - property :int64_value, as: 'int64Value' - property :distribution_value, as: 'distributionValue', class: Google::Apis::ServicecontrolV1::Distribution, decorator: Google::Apis::ServicecontrolV1::Distribution::Representation + class Representation < Google::Apis::Core::JsonRepresentation; end - property :bool_value, as: 'boolValue' - property :end_time, as: 'endTime' - property :start_time, as: 'startTime' - property :money_value, as: 'moneyValue', class: Google::Apis::ServicecontrolV1::Money, decorator: Google::Apis::ServicecontrolV1::Money::Representation - - end + include Google::Apis::Core::JsonObjectSupport end class Money - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :currency_code, as: 'currencyCode' - property :nanos, as: 'nanos' - property :units, as: 'units' - end + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class EndReconciliationResponse - # @private - class Representation < Google::Apis::Core::JsonRepresentation - collection :quota_metrics, as: 'quotaMetrics', class: Google::Apis::ServicecontrolV1::MetricValueSet, decorator: Google::Apis::ServicecontrolV1::MetricValueSet::Representation + class Representation < Google::Apis::Core::JsonRepresentation; end - property :operation_id, as: 'operationId' - collection :reconciliation_errors, as: 'reconciliationErrors', class: Google::Apis::ServicecontrolV1::QuotaError, decorator: Google::Apis::ServicecontrolV1::QuotaError::Representation - - property :service_config_id, as: 'serviceConfigId' - end - end - - class ExplicitBuckets - # @private - class Representation < Google::Apis::Core::JsonRepresentation - collection :bounds, as: 'bounds' - end + include Google::Apis::Core::JsonObjectSupport end class Distribution - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :exponential_buckets, as: 'exponentialBuckets', class: Google::Apis::ServicecontrolV1::ExponentialBuckets, decorator: Google::Apis::ServicecontrolV1::ExponentialBuckets::Representation + class Representation < Google::Apis::Core::JsonRepresentation; end - property :minimum, as: 'minimum' - property :linear_buckets, as: 'linearBuckets', class: Google::Apis::ServicecontrolV1::LinearBuckets, decorator: Google::Apis::ServicecontrolV1::LinearBuckets::Representation + include Google::Apis::Core::JsonObjectSupport + end - property :count, as: 'count' - property :mean, as: 'mean' - collection :bucket_counts, as: 'bucketCounts' - property :explicit_buckets, as: 'explicitBuckets', class: Google::Apis::ServicecontrolV1::ExplicitBuckets, decorator: Google::Apis::ServicecontrolV1::ExplicitBuckets::Representation + class ExplicitBuckets + class Representation < Google::Apis::Core::JsonRepresentation; end - property :maximum, as: 'maximum' - property :sum_of_squared_deviation, as: 'sumOfSquaredDeviation' - end + include Google::Apis::Core::JsonObjectSupport end class ExponentialBuckets @@ -310,29 +247,29 @@ module Google class StartReconciliationResponse # @private class Representation < Google::Apis::Core::JsonRepresentation + collection :quota_metrics, as: 'quotaMetrics', class: Google::Apis::ServicecontrolV1::MetricValueSet, decorator: Google::Apis::ServicecontrolV1::MetricValueSet::Representation + property :operation_id, as: 'operationId' collection :reconciliation_errors, as: 'reconciliationErrors', class: Google::Apis::ServicecontrolV1::QuotaError, decorator: Google::Apis::ServicecontrolV1::QuotaError::Representation property :service_config_id, as: 'serviceConfigId' - collection :quota_metrics, as: 'quotaMetrics', class: Google::Apis::ServicecontrolV1::MetricValueSet, decorator: Google::Apis::ServicecontrolV1::MetricValueSet::Representation - end end class QuotaProperties # @private class Representation < Google::Apis::Core::JsonRepresentation - hash :limit_by_ids, as: 'limitByIds' property :quota_mode, as: 'quotaMode' + hash :limit_by_ids, as: 'limitByIds' end end class LinearBuckets # @private class Representation < Google::Apis::Core::JsonRepresentation + property :width, as: 'width' property :offset, as: 'offset' property :num_finite_buckets, as: 'numFiniteBuckets' - property :width, as: 'width' end end @@ -347,12 +284,12 @@ module Google class AllocateQuotaResponse # @private class Representation < Google::Apis::Core::JsonRepresentation + property :operation_id, as: 'operationId' property :service_config_id, as: 'serviceConfigId' collection :allocate_errors, as: 'allocateErrors', class: Google::Apis::ServicecontrolV1::QuotaError, decorator: Google::Apis::ServicecontrolV1::QuotaError::Representation collection :quota_metrics, as: 'quotaMetrics', class: Google::Apis::ServicecontrolV1::MetricValueSet, decorator: Google::Apis::ServicecontrolV1::MetricValueSet::Representation - property :operation_id, as: 'operationId' end end @@ -365,14 +302,6 @@ module Google end end - class RequestMetadata - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :caller_ip, as: 'callerIp' - property :caller_supplied_user_agent, as: 'callerSuppliedUserAgent' - end - end - class QuotaError # @private class Representation < Google::Apis::Core::JsonRepresentation @@ -382,6 +311,14 @@ module Google end end + class RequestMetadata + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :caller_ip, as: 'callerIp' + property :caller_supplied_user_agent, as: 'callerSuppliedUserAgent' + end + end + class CheckInfo # @private class Representation < Google::Apis::Core::JsonRepresentation @@ -392,22 +329,22 @@ module Google class ReleaseQuotaResponse # @private class Representation < Google::Apis::Core::JsonRepresentation - collection :quota_metrics, as: 'quotaMetrics', class: Google::Apis::ServicecontrolV1::MetricValueSet, decorator: Google::Apis::ServicecontrolV1::MetricValueSet::Representation - property :operation_id, as: 'operationId' property :service_config_id, as: 'serviceConfigId' collection :release_errors, as: 'releaseErrors', class: Google::Apis::ServicecontrolV1::QuotaError, decorator: Google::Apis::ServicecontrolV1::QuotaError::Representation + collection :quota_metrics, as: 'quotaMetrics', class: Google::Apis::ServicecontrolV1::MetricValueSet, decorator: Google::Apis::ServicecontrolV1::MetricValueSet::Representation + end end class AllocateQuotaRequest # @private class Representation < Google::Apis::Core::JsonRepresentation + property :allocation_mode, as: 'allocationMode' property :service_config_id, as: 'serviceConfigId' property :allocate_operation, as: 'allocateOperation', class: Google::Apis::ServicecontrolV1::QuotaOperation, decorator: Google::Apis::ServicecontrolV1::QuotaOperation::Representation - property :allocation_mode, as: 'allocationMode' end end @@ -423,26 +360,26 @@ module Google class ReportError # @private class Representation < Google::Apis::Core::JsonRepresentation - property :operation_id, as: 'operationId' property :status, as: 'status', class: Google::Apis::ServicecontrolV1::Status, decorator: Google::Apis::ServicecontrolV1::Status::Representation + property :operation_id, as: 'operationId' end end class StartReconciliationRequest # @private class Representation < Google::Apis::Core::JsonRepresentation - property :service_config_id, as: 'serviceConfigId' property :reconciliation_operation, as: 'reconciliationOperation', class: Google::Apis::ServicecontrolV1::QuotaOperation, decorator: Google::Apis::ServicecontrolV1::QuotaOperation::Representation + property :service_config_id, as: 'serviceConfigId' end end class CheckError # @private class Representation < Google::Apis::Core::JsonRepresentation - property :detail, as: 'detail' property :code, as: 'code' + property :detail, as: 'detail' end end @@ -470,13 +407,13 @@ module Google class QuotaOperation # @private class Representation < Google::Apis::Core::JsonRepresentation + hash :labels, as: 'labels' property :consumer_id, as: 'consumerId' property :operation_id, as: 'operationId' property :quota_mode, as: 'quotaMode' property :method_name, as: 'methodName' collection :quota_metrics, as: 'quotaMetrics', class: Google::Apis::ServicecontrolV1::MetricValueSet, decorator: Google::Apis::ServicecontrolV1::MetricValueSet::Representation - hash :labels, as: 'labels' end end @@ -501,8 +438,12 @@ module Google class Operation # @private class Representation < Google::Apis::Core::JsonRepresentation - property :operation_name, as: 'operationName' + property :quota_properties, as: 'quotaProperties', class: Google::Apis::ServicecontrolV1::QuotaProperties, decorator: Google::Apis::ServicecontrolV1::QuotaProperties::Representation + + property :consumer_id, as: 'consumerId' + property :operation_id, as: 'operationId' property :end_time, as: 'endTime' + property :operation_name, as: 'operationName' property :start_time, as: 'startTime' property :importance, as: 'importance' property :resource_container, as: 'resourceContainer' @@ -512,21 +453,17 @@ module Google hash :user_labels, as: 'userLabels' collection :metric_value_sets, as: 'metricValueSets', class: Google::Apis::ServicecontrolV1::MetricValueSet, decorator: Google::Apis::ServicecontrolV1::MetricValueSet::Representation - property :quota_properties, as: 'quotaProperties', class: Google::Apis::ServicecontrolV1::QuotaProperties, decorator: Google::Apis::ServicecontrolV1::QuotaProperties::Representation - - property :consumer_id, as: 'consumerId' - property :operation_id, as: 'operationId' end end class ReportResponse # @private class Representation < Google::Apis::Core::JsonRepresentation + collection :report_errors, as: 'reportErrors', class: Google::Apis::ServicecontrolV1::ReportError, decorator: Google::Apis::ServicecontrolV1::ReportError::Representation + collection :report_infos, as: 'reportInfos', class: Google::Apis::ServicecontrolV1::ReportInfo, decorator: Google::Apis::ServicecontrolV1::ReportInfo::Representation property :service_config_id, as: 'serviceConfigId' - collection :report_errors, as: 'reportErrors', class: Google::Apis::ServicecontrolV1::ReportError, decorator: Google::Apis::ServicecontrolV1::ReportError::Representation - end end @@ -547,9 +484,9 @@ module Google class Status # @private class Representation < Google::Apis::Core::JsonRepresentation + collection :details, as: 'details' property :code, as: 'code' property :message, as: 'message' - collection :details, as: 'details' end end @@ -565,35 +502,98 @@ module Google class AuditLog # @private class Representation < Google::Apis::Core::JsonRepresentation - hash :service_data, as: 'serviceData' - property :request_metadata, as: 'requestMetadata', class: Google::Apis::ServicecontrolV1::RequestMetadata, decorator: Google::Apis::ServicecontrolV1::RequestMetadata::Representation - - property :num_response_items, as: 'numResponseItems' - property :status, as: 'status', class: Google::Apis::ServicecontrolV1::Status, decorator: Google::Apis::ServicecontrolV1::Status::Representation - + property :num_response_items, :numeric_string => true, as: 'numResponseItems' property :authentication_info, as: 'authenticationInfo', class: Google::Apis::ServicecontrolV1::AuthenticationInfo, decorator: Google::Apis::ServicecontrolV1::AuthenticationInfo::Representation + property :status, as: 'status', class: Google::Apis::ServicecontrolV1::Status, decorator: Google::Apis::ServicecontrolV1::Status::Representation + property :service_name, as: 'serviceName' hash :response, as: 'response' property :method_name, as: 'methodName' + property :resource_name, as: 'resourceName' collection :authorization_info, as: 'authorizationInfo', class: Google::Apis::ServicecontrolV1::AuthorizationInfo, decorator: Google::Apis::ServicecontrolV1::AuthorizationInfo::Representation - property :resource_name, as: 'resourceName' hash :request, as: 'request' + hash :service_data, as: 'serviceData' + property :request_metadata, as: 'requestMetadata', class: Google::Apis::ServicecontrolV1::RequestMetadata, decorator: Google::Apis::ServicecontrolV1::RequestMetadata::Representation + end end class LogEntry # @private class Representation < Google::Apis::Core::JsonRepresentation - hash :labels, as: 'labels' property :severity, as: 'severity' - property :insert_id, as: 'insertId' property :name, as: 'name' + property :insert_id, as: 'insertId' hash :struct_payload, as: 'structPayload' property :text_payload, as: 'textPayload' hash :proto_payload, as: 'protoPayload' property :timestamp, as: 'timestamp' + hash :labels, as: 'labels' + end + end + + class MetricValue + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :end_time, as: 'endTime' + property :start_time, as: 'startTime' + property :money_value, as: 'moneyValue', class: Google::Apis::ServicecontrolV1::Money, decorator: Google::Apis::ServicecontrolV1::Money::Representation + + property :string_value, as: 'stringValue' + hash :labels, as: 'labels' + property :double_value, as: 'doubleValue' + property :int64_value, :numeric_string => true, as: 'int64Value' + property :distribution_value, as: 'distributionValue', class: Google::Apis::ServicecontrolV1::Distribution, decorator: Google::Apis::ServicecontrolV1::Distribution::Representation + + property :bool_value, as: 'boolValue' + end + end + + class Money + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :nanos, as: 'nanos' + property :units, :numeric_string => true, as: 'units' + property :currency_code, as: 'currencyCode' + end + end + + class EndReconciliationResponse + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :operation_id, as: 'operationId' + collection :reconciliation_errors, as: 'reconciliationErrors', class: Google::Apis::ServicecontrolV1::QuotaError, decorator: Google::Apis::ServicecontrolV1::QuotaError::Representation + + property :service_config_id, as: 'serviceConfigId' + collection :quota_metrics, as: 'quotaMetrics', class: Google::Apis::ServicecontrolV1::MetricValueSet, decorator: Google::Apis::ServicecontrolV1::MetricValueSet::Representation + + end + end + + class Distribution + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :maximum, as: 'maximum' + property :sum_of_squared_deviation, as: 'sumOfSquaredDeviation' + property :exponential_buckets, as: 'exponentialBuckets', class: Google::Apis::ServicecontrolV1::ExponentialBuckets, decorator: Google::Apis::ServicecontrolV1::ExponentialBuckets::Representation + + property :minimum, as: 'minimum' + property :linear_buckets, as: 'linearBuckets', class: Google::Apis::ServicecontrolV1::LinearBuckets, decorator: Google::Apis::ServicecontrolV1::LinearBuckets::Representation + + property :count, :numeric_string => true, as: 'count' + property :mean, as: 'mean' + collection :bucket_counts, as: 'bucketCounts' + property :explicit_buckets, as: 'explicitBuckets', class: Google::Apis::ServicecontrolV1::ExplicitBuckets, decorator: Google::Apis::ServicecontrolV1::ExplicitBuckets::Representation + + end + end + + class ExplicitBuckets + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :bounds, as: 'bounds' end end end diff --git a/generated/google/apis/servicecontrol_v1/service.rb b/generated/google/apis/servicecontrol_v1/service.rb index 87675b9ee..a7c05d334 100644 --- a/generated/google/apis/servicecontrol_v1/service.rb +++ b/generated/google/apis/servicecontrol_v1/service.rb @@ -33,18 +33,64 @@ module Google # # @see https://cloud.google.com/service-control/ class ServiceControlService < Google::Apis::Core::BaseService - # @return [String] - # Available to use for quota purposes for server-side applications. Can be any - # arbitrary string assigned to a user, but should not exceed 40 characters. - attr_accessor :quota_user - # @return [String] # API key. Your API key identifies your project and provides you with API access, # quota, and reports. Required unless you provide an OAuth 2.0 token. attr_accessor :key + # @return [String] + # Available to use for quota purposes for server-side applications. Can be any + # arbitrary string assigned to a user, but should not exceed 40 characters. + attr_accessor :quota_user + def initialize super('https://servicecontrol.googleapis.com/', '') + @batch_path = 'batch' + end + + # Reports operation results to Google Service Control, such as logs and + # metrics. It should be called after an operation is completed. + # If feasible, the client should aggregate reporting data for up to 5 + # seconds to reduce API traffic. Limiting aggregation to 5 seconds is to + # reduce data loss during client crashes. Clients should carefully choose + # the aggregation time window to avoid data loss risk more than 0.01% + # for business and compliance reasons. + # NOTE: the `ReportRequest` has the size limit of 1MB. + # This method requires the `servicemanagement.services.report` permission + # on the specified service. For more information, see + # [Google Cloud IAM](https://cloud.google.com/iam). + # @param [String] service_name + # The service name as specified in its service configuration. For example, + # `"pubsub.googleapis.com"`. + # See google.api.Service for the definition of a service name. + # @param [Google::Apis::ServicecontrolV1::ReportRequest] report_request_object + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # Available to use for quota purposes for server-side applications. Can be any + # arbitrary string assigned to a user, but should not exceed 40 characters. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::ServicecontrolV1::ReportResponse] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::ServicecontrolV1::ReportResponse] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def report_service(service_name, report_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:post, 'v1/services/{serviceName}:report', options) + command.request_representation = Google::Apis::ServicecontrolV1::ReportRequest::Representation + command.request_object = report_request_object + command.response_representation = Google::Apis::ServicecontrolV1::ReportResponse::Representation + command.response_class = Google::Apis::ServicecontrolV1::ReportResponse + command.params['serviceName'] = service_name unless service_name.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + execute_or_queue_command(command, &block) end # Attempts to allocate quota for the specified consumer. It should be called @@ -65,11 +111,11 @@ module Google # `"pubsub.googleapis.com"`. # See google.api.Service for the definition of a service name. # @param [Google::Apis::ServicecontrolV1::AllocateQuotaRequest] allocate_quota_request_object + # @param [String] fields + # Selector specifying which fields to include in a partial response. # @param [String] quota_user # Available to use for quota purposes for server-side applications. Can be any # arbitrary string assigned to a user, but should not exceed 40 characters. - # @param [String] fields - # Selector specifying which fields to include in a partial response. # @param [Google::Apis::RequestOptions] options # Request-specific options # @@ -82,15 +128,15 @@ module Google # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required - def allocate_service_quota(service_name, allocate_quota_request_object = nil, quota_user: nil, fields: nil, options: nil, &block) + def allocate_service_quota(service_name, allocate_quota_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'v1/services/{serviceName}:allocateQuota', options) command.request_representation = Google::Apis::ServicecontrolV1::AllocateQuotaRequest::Representation command.request_object = allocate_quota_request_object command.response_representation = Google::Apis::ServicecontrolV1::AllocateQuotaResponse::Representation command.response_class = Google::Apis::ServicecontrolV1::AllocateQuotaResponse command.params['serviceName'] = service_name unless service_name.nil? - command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end @@ -122,11 +168,11 @@ module Google # `"pubsub.googleapis.com"`. # See google.api.Service for the definition of a service name. # @param [Google::Apis::ServicecontrolV1::StartReconciliationRequest] start_reconciliation_request_object + # @param [String] fields + # Selector specifying which fields to include in a partial response. # @param [String] quota_user # Available to use for quota purposes for server-side applications. Can be any # arbitrary string assigned to a user, but should not exceed 40 characters. - # @param [String] fields - # Selector specifying which fields to include in a partial response. # @param [Google::Apis::RequestOptions] options # Request-specific options # @@ -139,15 +185,15 @@ module Google # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required - def start_service_reconciliation(service_name, start_reconciliation_request_object = nil, quota_user: nil, fields: nil, options: nil, &block) + def start_service_reconciliation(service_name, start_reconciliation_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'v1/services/{serviceName}:startReconciliation', options) command.request_representation = Google::Apis::ServicecontrolV1::StartReconciliationRequest::Representation command.request_object = start_reconciliation_request_object command.response_representation = Google::Apis::ServicecontrolV1::StartReconciliationResponse::Representation command.response_class = Google::Apis::ServicecontrolV1::StartReconciliationResponse command.params['serviceName'] = service_name unless service_name.nil? - command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end @@ -166,11 +212,11 @@ module Google # `"pubsub.googleapis.com"`. # See google.api.Service for the definition of a service name. # @param [Google::Apis::ServicecontrolV1::CheckRequest] check_request_object + # @param [String] fields + # Selector specifying which fields to include in a partial response. # @param [String] quota_user # Available to use for quota purposes for server-side applications. Can be any # arbitrary string assigned to a user, but should not exceed 40 characters. - # @param [String] fields - # Selector specifying which fields to include in a partial response. # @param [Google::Apis::RequestOptions] options # Request-specific options # @@ -183,15 +229,15 @@ module Google # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required - def check_service(service_name, check_request_object = nil, quota_user: nil, fields: nil, options: nil, &block) + def check_service(service_name, check_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'v1/services/{serviceName}:check', options) command.request_representation = Google::Apis::ServicecontrolV1::CheckRequest::Representation command.request_object = check_request_object command.response_representation = Google::Apis::ServicecontrolV1::CheckResponse::Representation command.response_class = Google::Apis::ServicecontrolV1::CheckResponse command.params['serviceName'] = service_name unless service_name.nil? - command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end @@ -212,11 +258,11 @@ module Google # `"pubsub.googleapis.com"`. # See google.api.Service for the definition of a service name. # @param [Google::Apis::ServicecontrolV1::ReleaseQuotaRequest] release_quota_request_object + # @param [String] fields + # Selector specifying which fields to include in a partial response. # @param [String] quota_user # Available to use for quota purposes for server-side applications. Can be any # arbitrary string assigned to a user, but should not exceed 40 characters. - # @param [String] fields - # Selector specifying which fields to include in a partial response. # @param [Google::Apis::RequestOptions] options # Request-specific options # @@ -229,15 +275,15 @@ module Google # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required - def release_service_quota(service_name, release_quota_request_object = nil, quota_user: nil, fields: nil, options: nil, &block) + def release_service_quota(service_name, release_quota_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'v1/services/{serviceName}:releaseQuota', options) command.request_representation = Google::Apis::ServicecontrolV1::ReleaseQuotaRequest::Representation command.request_object = release_quota_request_object command.response_representation = Google::Apis::ServicecontrolV1::ReleaseQuotaResponse::Representation command.response_class = Google::Apis::ServicecontrolV1::ReleaseQuotaResponse command.params['serviceName'] = service_name unless service_name.nil? - command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end @@ -251,11 +297,11 @@ module Google # `"pubsub.googleapis.com"`. # See google.api.Service for the definition of a service name. # @param [Google::Apis::ServicecontrolV1::EndReconciliationRequest] end_reconciliation_request_object + # @param [String] fields + # Selector specifying which fields to include in a partial response. # @param [String] quota_user # Available to use for quota purposes for server-side applications. Can be any # arbitrary string assigned to a user, but should not exceed 40 characters. - # @param [String] fields - # Selector specifying which fields to include in a partial response. # @param [Google::Apis::RequestOptions] options # Request-specific options # @@ -268,68 +314,23 @@ module Google # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required - def end_service_reconciliation(service_name, end_reconciliation_request_object = nil, quota_user: nil, fields: nil, options: nil, &block) + def end_service_reconciliation(service_name, end_reconciliation_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'v1/services/{serviceName}:endReconciliation', options) command.request_representation = Google::Apis::ServicecontrolV1::EndReconciliationRequest::Representation command.request_object = end_reconciliation_request_object command.response_representation = Google::Apis::ServicecontrolV1::EndReconciliationResponse::Representation command.response_class = Google::Apis::ServicecontrolV1::EndReconciliationResponse command.params['serviceName'] = service_name unless service_name.nil? - command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['fields'] = fields unless fields.nil? - execute_or_queue_command(command, &block) - end - - # Reports operation results to Google Service Control, such as logs and - # metrics. It should be called after an operation is completed. - # If feasible, the client should aggregate reporting data for up to 5 - # seconds to reduce API traffic. Limiting aggregation to 5 seconds is to - # reduce data loss during client crashes. Clients should carefully choose - # the aggregation time window to avoid data loss risk more than 0.01% - # for business and compliance reasons. - # NOTE: the `ReportRequest` has the size limit of 1MB. - # This method requires the `servicemanagement.services.report` permission - # on the specified service. For more information, see - # [Google Cloud IAM](https://cloud.google.com/iam). - # @param [String] service_name - # The service name as specified in its service configuration. For example, - # `"pubsub.googleapis.com"`. - # See google.api.Service for the definition of a service name. - # @param [Google::Apis::ServicecontrolV1::ReportRequest] report_request_object - # @param [String] quota_user - # Available to use for quota purposes for server-side applications. Can be any - # arbitrary string assigned to a user, but should not exceed 40 characters. - # @param [String] fields - # Selector specifying which fields to include in a partial response. - # @param [Google::Apis::RequestOptions] options - # Request-specific options - # - # @yield [result, err] Result & error if block supplied - # @yieldparam result [Google::Apis::ServicecontrolV1::ReportResponse] parsed result object - # @yieldparam err [StandardError] error object if request failed - # - # @return [Google::Apis::ServicecontrolV1::ReportResponse] - # - # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried - # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification - # @raise [Google::Apis::AuthorizationError] Authorization is required - def report_service(service_name, report_request_object = nil, quota_user: nil, fields: nil, options: nil, &block) - command = make_simple_command(:post, 'v1/services/{serviceName}:report', options) - command.request_representation = Google::Apis::ServicecontrolV1::ReportRequest::Representation - command.request_object = report_request_object - command.response_representation = Google::Apis::ServicecontrolV1::ReportResponse::Representation - command.response_class = Google::Apis::ServicecontrolV1::ReportResponse - command.params['serviceName'] = service_name unless service_name.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? - command.query['fields'] = fields unless fields.nil? execute_or_queue_command(command, &block) end protected def apply_command_defaults(command) - command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['key'] = key unless key.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? end end end diff --git a/generated/google/apis/servicemanagement_v1.rb b/generated/google/apis/servicemanagement_v1.rb index dfd62cc1a..af1d8ce1d 100644 --- a/generated/google/apis/servicemanagement_v1.rb +++ b/generated/google/apis/servicemanagement_v1.rb @@ -29,6 +29,9 @@ module Google VERSION = 'V1' REVISION = '20170327' + # Manage your Google API service configuration + AUTH_SERVICE_MANAGEMENT = 'https://www.googleapis.com/auth/service.management' + # View your data across Google Cloud Platform services AUTH_CLOUD_PLATFORM_READ_ONLY = 'https://www.googleapis.com/auth/cloud-platform.read-only' @@ -37,9 +40,6 @@ module Google # View and manage your data across Google Cloud Platform services AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform' - - # Manage your Google API service configuration - AUTH_SERVICE_MANAGEMENT = 'https://www.googleapis.com/auth/service.management' end end end diff --git a/generated/google/apis/servicemanagement_v1/classes.rb b/generated/google/apis/servicemanagement_v1/classes.rb index 148897903..051594ba6 100644 --- a/generated/google/apis/servicemanagement_v1/classes.rb +++ b/generated/google/apis/servicemanagement_v1/classes.rb @@ -22,6 +22,326 @@ module Google module Apis module ServicemanagementV1 + # A description of a log type. Example in YAML format: + # - name: library.googleapis.com/activity_history + # description: The history of borrowing and returning library items. + # display_name: Activity + # labels: + # - key: /customer_id + # description: Identifier of a library customer + class LogDescriptor + include Google::Apis::Core::Hashable + + # The set of labels that are available to describe a specific log entry. + # Runtime requests that contain labels not specified here are + # considered invalid. + # Corresponds to the JSON property `labels` + # @return [Array] + attr_accessor :labels + + # The name of the log. It must be less than 512 characters long and can + # include the following characters: upper- and lower-case alphanumeric + # characters [A-Za-z0-9], and punctuation characters including + # slash, underscore, hyphen, period [/_-.]. + # Corresponds to the JSON property `name` + # @return [String] + attr_accessor :name + + # A human-readable description of this log. This information appears in + # the documentation and can contain details. + # Corresponds to the JSON property `description` + # @return [String] + attr_accessor :description + + # The human-readable name for this log. This information appears on + # the user interface and should be concise. + # Corresponds to the JSON property `displayName` + # @return [String] + attr_accessor :display_name + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @labels = args[:labels] if args.key?(:labels) + @name = args[:name] if args.key?(:name) + @description = args[:description] if args.key?(:description) + @display_name = args[:display_name] if args.key?(:display_name) + end + end + + # Generic specification of a source configuration file + class ConfigFile + include Google::Apis::Core::Hashable + + # The type of configuration file this represents. + # Corresponds to the JSON property `fileType` + # @return [String] + attr_accessor :file_type + + # The bytes that constitute the file. + # Corresponds to the JSON property `fileContents` + # NOTE: Values are automatically base64 encoded/decoded in the client library. + # @return [String] + attr_accessor :file_contents + + # The file name of the configuration file (full or relative path). + # Corresponds to the JSON property `filePath` + # @return [String] + attr_accessor :file_path + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @file_type = args[:file_type] if args.key?(:file_type) + @file_contents = args[:file_contents] if args.key?(:file_contents) + @file_path = args[:file_path] if args.key?(:file_path) + end + end + + # An object that describes the schema of a MonitoredResource object using a + # type name and a set of labels. For example, the monitored resource + # descriptor for Google Compute Engine VM instances has a type of + # `"gce_instance"` and specifies the use of the labels `"instance_id"` and + # `"zone"` to identify particular VM instances. + # Different APIs can support different monitored resource types. APIs generally + # provide a `list` method that returns the monitored resource descriptors used + # by the API. + class MonitoredResourceDescriptor + include Google::Apis::Core::Hashable + + # Optional. A concise name for the monitored resource type that might be + # displayed in user interfaces. It should be a Title Cased Noun Phrase, + # without any article or other determiners. For example, + # `"Google Cloud SQL Database"`. + # Corresponds to the JSON property `displayName` + # @return [String] + attr_accessor :display_name + + # Optional. A detailed description of the monitored resource type that might + # be used in documentation. + # Corresponds to the JSON property `description` + # @return [String] + attr_accessor :description + + # Required. The monitored resource type. For example, the type + # `"cloudsql_database"` represents databases in Google Cloud SQL. + # The maximum length of this value is 256 characters. + # Corresponds to the JSON property `type` + # @return [String] + attr_accessor :type + + # Required. A set of labels used to describe instances of this monitored + # resource type. For example, an individual Google Cloud SQL database is + # identified by values for the labels `"database_id"` and `"zone"`. + # Corresponds to the JSON property `labels` + # @return [Array] + attr_accessor :labels + + # Optional. The resource name of the monitored resource descriptor: + # `"projects/`project_id`/monitoredResourceDescriptors/`type`"` where + # `type` is the value of the `type` field in this object and + # `project_id` is a project ID that provides API-specific context for + # accessing the type. APIs that do not use project information can use the + # resource name format `"monitoredResourceDescriptors/`type`"`. + # Corresponds to the JSON property `name` + # @return [String] + attr_accessor :name + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @display_name = args[:display_name] if args.key?(:display_name) + @description = args[:description] if args.key?(:description) + @type = args[:type] if args.key?(:type) + @labels = args[:labels] if args.key?(:labels) + @name = args[:name] if args.key?(:name) + end + end + + # A custom error rule. + class CustomErrorRule + include Google::Apis::Core::Hashable + + # Selects messages to which this rule applies. + # Refer to selector for syntax details. + # Corresponds to the JSON property `selector` + # @return [String] + attr_accessor :selector + + # Mark this message as possible payload in error response. Otherwise, + # objects of this type will be filtered when they appear in error payload. + # Corresponds to the JSON property `isErrorType` + # @return [Boolean] + attr_accessor :is_error_type + alias_method :is_error_type?, :is_error_type + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @selector = args[:selector] if args.key?(:selector) + @is_error_type = args[:is_error_type] if args.key?(:is_error_type) + end + end + + # Use this only for Scotty Requests. Do not use this for media support using + # Bytestream, add instead [][google.bytestream.RestByteStream] as an API to + # your configuration for Bytestream methods. + class MediaDownload + include Google::Apis::Core::Hashable + + # Whether download is enabled. + # Corresponds to the JSON property `enabled` + # @return [Boolean] + attr_accessor :enabled + alias_method :enabled?, :enabled + + # DO NOT USE THIS FIELD UNTIL THIS WARNING IS REMOVED. + # Specify name of the download service if one is used for download. + # Corresponds to the JSON property `downloadService` + # @return [String] + attr_accessor :download_service + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @enabled = args[:enabled] if args.key?(:enabled) + @download_service = args[:download_service] if args.key?(:download_service) + end + end + + # Change report associated with a particular service configuration. + # It contains a list of ConfigChanges based on the comparison between + # two service configurations. + class ChangeReport + include Google::Apis::Core::Hashable + + # List of changes between two service configurations. + # The changes will be alphabetically sorted based on the identifier + # of each change. + # A ConfigChange identifier is a dot separated path to the configuration. + # Example: visibility.rules[selector='LibraryService.CreateBook'].restriction + # Corresponds to the JSON property `configChanges` + # @return [Array] + attr_accessor :config_changes + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @config_changes = args[:config_changes] if args.key?(:config_changes) + end + end + + # Request message for DisableService method. + class DisableServiceRequest + include Google::Apis::Core::Hashable + + # The identity of consumer resource which service disablement will be + # applied to. + # The Google Service Management implementation accepts the following + # forms: + # - "project:" + # Note: this is made compatible with + # google.api.servicecontrol.v1.Operation.consumer_id. + # Corresponds to the JSON property `consumerId` + # @return [String] + attr_accessor :consumer_id + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @consumer_id = args[:consumer_id] if args.key?(:consumer_id) + end + end + + # Response message for SubmitConfigSource method. + class SubmitConfigSourceResponse + include Google::Apis::Core::Hashable + + # `Service` is the root object of Google service configuration schema. It + # describes basic information about a service, such as the name and the + # title, and delegates other aspects to sub-sections. Each sub-section is + # either a proto message or a repeated proto message that configures a + # specific aspect, such as auth. See each proto message definition for details. + # Example: + # type: google.api.Service + # config_version: 3 + # name: calendar.googleapis.com + # title: Google Calendar API + # apis: + # - name: google.calendar.v3.Calendar + # authentication: + # providers: + # - id: google_calendar_auth + # jwks_uri: https://www.googleapis.com/oauth2/v1/certs + # issuer: https://securetoken.google.com + # rules: + # - selector: "*" + # requirements: + # provider_id: google_calendar_auth + # Corresponds to the JSON property `serviceConfig` + # @return [Google::Apis::ServicemanagementV1::Service] + attr_accessor :service_config + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @service_config = args[:service_config] if args.key?(:service_config) + end + end + + # Use this only for Scotty Requests. Do not use this for media support using + # Bytestream, add instead [][google.bytestream.RestByteStream] as an API to + # your configuration for Bytestream methods. + class MediaUpload + include Google::Apis::Core::Hashable + + # DO NOT USE THIS FIELD UNTIL THIS WARNING IS REMOVED. + # Specify name of the upload service if one is used for upload. + # Corresponds to the JSON property `uploadService` + # @return [String] + attr_accessor :upload_service + + # Whether upload is enabled. + # Corresponds to the JSON property `enabled` + # @return [Boolean] + attr_accessor :enabled + alias_method :enabled?, :enabled + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @upload_service = args[:upload_service] if args.key?(:upload_service) + @enabled = args[:enabled] if args.key?(:enabled) + end + end + # Generated advice about this change, used for providing more # information about how a change will affect the existing service. class Advice @@ -48,25 +368,25 @@ module Google class ManagedService include Google::Apis::Core::Hashable + # ID of the project that produces and owns this service. + # Corresponds to the JSON property `producerProjectId` + # @return [String] + attr_accessor :producer_project_id + # The name of the service. See the [overview](/service-management/overview) # for naming requirements. # Corresponds to the JSON property `serviceName` # @return [String] attr_accessor :service_name - # ID of the project that produces and owns this service. - # Corresponds to the JSON property `producerProjectId` - # @return [String] - attr_accessor :producer_project_id - def initialize(**args) update!(**args) end # Update properties of this object def update!(**args) - @service_name = args[:service_name] if args.key?(:service_name) @producer_project_id = args[:producer_project_id] if args.key?(:producer_project_id) + @service_name = args[:service_name] if args.key?(:service_name) end end @@ -91,6 +411,12 @@ module Google class UsageRule include Google::Apis::Core::Hashable + # True, if the method allows unregistered calls; false otherwise. + # Corresponds to the JSON property `allowUnregisteredCalls` + # @return [Boolean] + attr_accessor :allow_unregistered_calls + alias_method :allow_unregistered_calls?, :allow_unregistered_calls + # Selects the methods to which this rule applies. Use '*' to indicate all # methods in all APIs. # Refer to selector for syntax details. @@ -98,20 +424,14 @@ module Google # @return [String] attr_accessor :selector - # True, if the method allows unregistered calls; false otherwise. - # Corresponds to the JSON property `allowUnregisteredCalls` - # @return [Boolean] - attr_accessor :allow_unregistered_calls - alias_method :allow_unregistered_calls?, :allow_unregistered_calls - def initialize(**args) update!(**args) end # Update properties of this object def update!(**args) - @selector = args[:selector] if args.key?(:selector) @allow_unregistered_calls = args[:allow_unregistered_calls] if args.key?(:allow_unregistered_calls) + @selector = args[:selector] if args.key?(:selector) end end @@ -316,27 +636,16 @@ module Google class Condition include Google::Apis::Core::Hashable - # Trusted attributes supplied by any service that owns resources and uses - # the IAM system for access control. - # Corresponds to the JSON property `sys` - # @return [String] - attr_accessor :sys - - # DEPRECATED. Use 'values' instead. - # Corresponds to the JSON property `value` - # @return [String] - attr_accessor :value + # The objects of the condition. This is mutually exclusive with 'value'. + # Corresponds to the JSON property `values` + # @return [Array] + attr_accessor :values # Trusted attributes supplied by the IAM system. # Corresponds to the JSON property `iam` # @return [String] attr_accessor :iam - # The objects of the condition. This is mutually exclusive with 'value'. - # Corresponds to the JSON property `values` - # @return [Array] - attr_accessor :values - # An operator to apply the subject with. # Corresponds to the JSON property `op` # @return [String] @@ -347,18 +656,29 @@ module Google # @return [String] attr_accessor :svc + # Trusted attributes supplied by any service that owns resources and uses + # the IAM system for access control. + # Corresponds to the JSON property `sys` + # @return [String] + attr_accessor :sys + + # DEPRECATED. Use 'values' instead. + # Corresponds to the JSON property `value` + # @return [String] + attr_accessor :value + def initialize(**args) update!(**args) end # Update properties of this object def update!(**args) - @sys = args[:sys] if args.key?(:sys) - @value = args[:value] if args.key?(:value) - @iam = args[:iam] if args.key?(:iam) @values = args[:values] if args.key?(:values) + @iam = args[:iam] if args.key?(:iam) @op = args[:op] if args.key?(:op) @svc = args[:svc] if args.key?(:svc) + @sys = args[:sys] if args.key?(:sys) + @value = args[:value] if args.key?(:value) end end @@ -434,6 +754,69 @@ module Google end end + # Authentication rules for the service. + # By default, if a method has any authentication requirements, every request + # must include a valid credential matching one of the requirements. + # It's an error to include more than one kind of credential in a single + # request. + # If a method doesn't have any auth requirements, request credentials will be + # ignored. + class AuthenticationRule + include Google::Apis::Core::Hashable + + # OAuth scopes are a way to define data and permissions on data. For example, + # there are scopes defined for "Read-only access to Google Calendar" and + # "Access to Cloud Platform". Users can consent to a scope for an application, + # giving it permission to access that data on their behalf. + # OAuth scope specifications should be fairly coarse grained; a user will need + # to see and understand the text description of what your scope means. + # In most cases: use one or at most two OAuth scopes for an entire family of + # products. If your product has multiple APIs, you should probably be sharing + # the OAuth scope across all of those APIs. + # When you need finer grained OAuth consent screens: talk with your product + # management about how developers will use them in practice. + # Please note that even though each of the canonical scopes is enough for a + # request to be accepted and passed to the backend, a request can still fail + # due to the backend requiring additional scopes or permissions. + # Corresponds to the JSON property `oauth` + # @return [Google::Apis::ServicemanagementV1::OAuthRequirements] + attr_accessor :oauth + + # Requirements for additional authentication providers. + # Corresponds to the JSON property `requirements` + # @return [Array] + attr_accessor :requirements + + # Selects the methods to which this rule applies. + # Refer to selector for syntax details. + # Corresponds to the JSON property `selector` + # @return [String] + attr_accessor :selector + + # Whether to allow requests without a credential. The credential can be + # an OAuth token, Google cookies (first-party auth) or EndUserCreds. + # For requests without credentials, if the service control environment is + # specified, each incoming request **must** be associated with a service + # consumer. This can be done by passing an API key that belongs to a consumer + # project. + # Corresponds to the JSON property `allowWithoutCredential` + # @return [Boolean] + attr_accessor :allow_without_credential + alias_method :allow_without_credential?, :allow_without_credential + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @oauth = args[:oauth] if args.key?(:oauth) + @requirements = args[:requirements] if args.key?(:requirements) + @selector = args[:selector] if args.key?(:selector) + @allow_without_credential = args[:allow_without_credential] if args.key?(:allow_without_credential) + end + end + # A backend rule provides configuration for an individual API element. class BackendRule include Google::Apis::Core::Hashable @@ -467,89 +850,6 @@ module Google end end - # Authentication rules for the service. - # By default, if a method has any authentication requirements, every request - # must include a valid credential matching one of the requirements. - # It's an error to include more than one kind of credential in a single - # request. - # If a method doesn't have any auth requirements, request credentials will be - # ignored. - class AuthenticationRule - include Google::Apis::Core::Hashable - - # Requirements for additional authentication providers. - # Corresponds to the JSON property `requirements` - # @return [Array] - attr_accessor :requirements - - # Selects the methods to which this rule applies. - # Refer to selector for syntax details. - # Corresponds to the JSON property `selector` - # @return [String] - attr_accessor :selector - - # Whether to allow requests without a credential. The credential can be - # an OAuth token, Google cookies (first-party auth) or EndUserCreds. - # For requests without credentials, if the service control environment is - # specified, each incoming request **must** be associated with a service - # consumer. This can be done by passing an API key that belongs to a consumer - # project. - # Corresponds to the JSON property `allowWithoutCredential` - # @return [Boolean] - attr_accessor :allow_without_credential - alias_method :allow_without_credential?, :allow_without_credential - - # OAuth scopes are a way to define data and permissions on data. For example, - # there are scopes defined for "Read-only access to Google Calendar" and - # "Access to Cloud Platform". Users can consent to a scope for an application, - # giving it permission to access that data on their behalf. - # OAuth scope specifications should be fairly coarse grained; a user will need - # to see and understand the text description of what your scope means. - # In most cases: use one or at most two OAuth scopes for an entire family of - # products. If your product has multiple APIs, you should probably be sharing - # the OAuth scope across all of those APIs. - # When you need finer grained OAuth consent screens: talk with your product - # management about how developers will use them in practice. - # Please note that even though each of the canonical scopes is enough for a - # request to be accepted and passed to the backend, a request can still fail - # due to the backend requiring additional scopes or permissions. - # Corresponds to the JSON property `oauth` - # @return [Google::Apis::ServicemanagementV1::OAuthRequirements] - attr_accessor :oauth - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @requirements = args[:requirements] if args.key?(:requirements) - @selector = args[:selector] if args.key?(:selector) - @allow_without_credential = args[:allow_without_credential] if args.key?(:allow_without_credential) - @oauth = args[:oauth] if args.key?(:oauth) - end - end - - # Response message for UndeleteService method. - class UndeleteServiceResponse - include Google::Apis::Core::Hashable - - # The full representation of a Service that is managed by - # Google Service Management. - # Corresponds to the JSON property `service` - # @return [Google::Apis::ServicemanagementV1::ManagedService] - attr_accessor :service - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @service = args[:service] if args.key?(:service) - end - end - # Defines an Identity and Access Management (IAM) policy. It is used to # specify access control policies for Cloud Platform resources. # A `Policy` consists of a list of `bindings`. A `Binding` binds a list of @@ -579,26 +879,6 @@ module Google class Policy include Google::Apis::Core::Hashable - # `etag` is used for optimistic concurrency control as a way to help - # prevent simultaneous updates of a policy from overwriting each other. - # It is strongly suggested that systems make use of the `etag` in the - # read-modify-write cycle to perform policy updates in order to avoid race - # conditions: An `etag` is returned in the response to `getIamPolicy`, and - # systems are expected to put that etag in the request to `setIamPolicy` to - # ensure that their change will be applied to the same version of the policy. - # If no `etag` is provided in the call to `setIamPolicy`, then the existing - # policy is overwritten blindly. - # Corresponds to the JSON property `etag` - # NOTE: Values are automatically base64 encoded/decoded in the client library. - # @return [String] - attr_accessor :etag - - # - # Corresponds to the JSON property `iamOwned` - # @return [Boolean] - attr_accessor :iam_owned - alias_method :iam_owned?, :iam_owned - # If more than one rule is specified, the rules are applied in the following # manner: # - All matching LOG rules are always applied. @@ -629,18 +909,58 @@ module Google # @return [Array] attr_accessor :bindings + # `etag` is used for optimistic concurrency control as a way to help + # prevent simultaneous updates of a policy from overwriting each other. + # It is strongly suggested that systems make use of the `etag` in the + # read-modify-write cycle to perform policy updates in order to avoid race + # conditions: An `etag` is returned in the response to `getIamPolicy`, and + # systems are expected to put that etag in the request to `setIamPolicy` to + # ensure that their change will be applied to the same version of the policy. + # If no `etag` is provided in the call to `setIamPolicy`, then the existing + # policy is overwritten blindly. + # Corresponds to the JSON property `etag` + # NOTE: Values are automatically base64 encoded/decoded in the client library. + # @return [String] + attr_accessor :etag + + # + # Corresponds to the JSON property `iamOwned` + # @return [Boolean] + attr_accessor :iam_owned + alias_method :iam_owned?, :iam_owned + def initialize(**args) update!(**args) end # Update properties of this object def update!(**args) - @etag = args[:etag] if args.key?(:etag) - @iam_owned = args[:iam_owned] if args.key?(:iam_owned) @rules = args[:rules] if args.key?(:rules) @version = args[:version] if args.key?(:version) @audit_configs = args[:audit_configs] if args.key?(:audit_configs) @bindings = args[:bindings] if args.key?(:bindings) + @etag = args[:etag] if args.key?(:etag) + @iam_owned = args[:iam_owned] if args.key?(:iam_owned) + end + end + + # Response message for UndeleteService method. + class UndeleteServiceResponse + include Google::Apis::Core::Hashable + + # The full representation of a Service that is managed by + # Google Service Management. + # Corresponds to the JSON property `service` + # @return [Google::Apis::ServicemanagementV1::ManagedService] + attr_accessor :service + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @service = args[:service] if args.key?(:service) end end @@ -750,7 +1070,7 @@ module Google # increased for the metric against which the quota limits are defined. # The value must not be negative. # Corresponds to the JSON property `metricCosts` - # @return [Hash] + # @return [Hash] attr_accessor :metric_costs def initialize(**args) @@ -779,25 +1099,25 @@ module Google class Authentication include Google::Apis::Core::Hashable + # Defines a set of authentication providers that a service supports. + # Corresponds to the JSON property `providers` + # @return [Array] + attr_accessor :providers + # A list of authentication rules that apply to individual API methods. # **NOTE:** All service configuration rules follow "last one wins" order. # Corresponds to the JSON property `rules` # @return [Array] attr_accessor :rules - # Defines a set of authentication providers that a service supports. - # Corresponds to the JSON property `providers` - # @return [Array] - attr_accessor :providers - def initialize(**args) update!(**args) end # Update properties of this object def update!(**args) - @rules = args[:rules] if args.key?(:rules) @providers = args[:providers] if args.key?(:providers) + @rules = args[:rules] if args.key?(:rules) end end @@ -988,6 +1308,13 @@ module Google class Status include Google::Apis::Core::Hashable + # A developer-facing error message, which should be in English. Any + # user-facing error message should be localized and sent in the + # google.rpc.Status.details field, or localized by the client. + # Corresponds to the JSON property `message` + # @return [String] + attr_accessor :message + # A list of messages that carry the error details. There will be a # common set of message types for APIs to use. # Corresponds to the JSON property `details` @@ -999,22 +1326,15 @@ module Google # @return [Fixnum] attr_accessor :code - # A developer-facing error message, which should be in English. Any - # user-facing error message should be localized and sent in the - # google.rpc.Status.details field, or localized by the client. - # Corresponds to the JSON property `message` - # @return [String] - attr_accessor :message - def initialize(**args) update!(**args) end # Update properties of this object def update!(**args) + @message = args[:message] if args.key?(:message) @details = args[:details] if args.key?(:details) @code = args[:code] if args.key?(:code) - @message = args[:message] if args.key?(:message) end end @@ -1064,6 +1384,23 @@ module Google class AuthProvider include Google::Apis::Core::Hashable + # The list of JWT + # [audiences](https://tools.ietf.org/html/draft-ietf-oauth-json-web-token-32# + # section-4.1.3). + # that are allowed to access. A JWT containing any of these audiences will + # be accepted. When this setting is absent, only JWTs with audience + # "https://Service_name/API_name" + # will be accepted. For example, if no audiences are in the setting, + # LibraryService API will only accept JWTs with the following audience + # "https://library-example.googleapis.com/google.example.library.v1. + # LibraryService". + # Example: + # audiences: bookstore_android.apps.googleusercontent.com, + # bookstore_web.apps.googleusercontent.com + # Corresponds to the JSON property `audiences` + # @return [String] + attr_accessor :audiences + # The unique identifier of the auth provider. It will be referred to by # `AuthRequirement.provider_id`. # Example: "bookstore_auth". @@ -1095,33 +1432,16 @@ module Google # @return [String] attr_accessor :jwks_uri - # The list of JWT - # [audiences](https://tools.ietf.org/html/draft-ietf-oauth-json-web-token-32# - # section-4.1.3). - # that are allowed to access. A JWT containing any of these audiences will - # be accepted. When this setting is absent, only JWTs with audience - # "https://Service_name/API_name" - # will be accepted. For example, if no audiences are in the setting, - # LibraryService API will only accept JWTs with the following audience - # "https://library-example.googleapis.com/google.example.library.v1. - # LibraryService". - # Example: - # audiences: bookstore_android.apps.googleusercontent.com, - # bookstore_web.apps.googleusercontent.com - # Corresponds to the JSON property `audiences` - # @return [String] - attr_accessor :audiences - def initialize(**args) update!(**args) end # Update properties of this object def update!(**args) + @audiences = args[:audiences] if args.key?(:audiences) @id = args[:id] if args.key?(:id) @issuer = args[:issuer] if args.key?(:issuer) @jwks_uri = args[:jwks_uri] if args.key?(:jwks_uri) - @audiences = args[:audiences] if args.key?(:audiences) end end @@ -1149,6 +1469,236 @@ module Google class Service include Google::Apis::Core::Hashable + # `Documentation` provides the information for describing a service. + # Example: + #
documentation:
+        # summary: >
+        # The Google Calendar API gives access
+        # to most calendar features.
+        # pages:
+        # - name: Overview
+        # content: (== include google/foo/overview.md ==)
+        # - name: Tutorial
+        # content: (== include google/foo/tutorial.md ==)
+        # subpages;
+        # - name: Java
+        # content: (== include google/foo/tutorial_java.md ==)
+        # rules:
+        # - selector: google.calendar.Calendar.Get
+        # description: >
+        # ...
+        # - selector: google.calendar.Calendar.Put
+        # description: >
+        # ...
+        # 
+ # Documentation is provided in markdown syntax. In addition to + # standard markdown features, definition lists, tables and fenced + # code blocks are supported. Section headers can be provided and are + # interpreted relative to the section nesting of the context where + # a documentation fragment is embedded. + # Documentation from the IDL is merged with documentation defined + # via the config at normalization time, where documentation provided + # by config rules overrides IDL provided. + # A number of constructs specific to the API platform are supported + # in documentation text. + # In order to reference a proto element, the following + # notation can be used: + #
[fully.qualified.proto.name][]
+ # To override the display text used for the link, this can be used: + #
[display text][fully.qualified.proto.name]
+ # Text can be excluded from doc using the following notation: + #
(-- internal comment --)
+ # Comments can be made conditional using a visibility label. The below + # text will be only rendered if the `BETA` label is available: + #
(--BETA: comment for BETA users --)
+ # A few directives are available in documentation. Note that + # directives must appear on a single line to be properly + # identified. The `include` directive includes a markdown file from + # an external source: + #
(== include path/to/file ==)
+ # The `resource_for` directive marks a message to be the resource of + # a collection in REST view. If it is not specified, tools attempt + # to infer the resource from the operations in a collection: + #
(== resource_for v1.shelves.books ==)
+ # The directive `suppress_warning` does not directly affect documentation + # and is documented together with service config validation. + # Corresponds to the JSON property `documentation` + # @return [Google::Apis::ServicemanagementV1::Documentation] + attr_accessor :documentation + + # Logging configuration of the service. + # The following example shows how to configure logs to be sent to the + # producer and consumer projects. In the example, the `activity_history` + # log is sent to both the producer and consumer projects, whereas the + # `purchase_history` log is only sent to the producer project. + # monitored_resources: + # - type: library.googleapis.com/branch + # labels: + # - key: /city + # description: The city where the library branch is located in. + # - key: /name + # description: The name of the branch. + # logs: + # - name: activity_history + # labels: + # - key: /customer_id + # - name: purchase_history + # logging: + # producer_destinations: + # - monitored_resource: library.googleapis.com/branch + # logs: + # - activity_history + # - purchase_history + # consumer_destinations: + # - monitored_resource: library.googleapis.com/branch + # logs: + # - activity_history + # Corresponds to the JSON property `logging` + # @return [Google::Apis::ServicemanagementV1::Logging] + attr_accessor :logging + + # Defines the monitored resources used by this service. This is required + # by the Service.monitoring and Service.logging configurations. + # Corresponds to the JSON property `monitoredResources` + # @return [Array] + attr_accessor :monitored_resources + + # A list of all enum types included in this API service. Enums + # referenced directly or indirectly by the `apis` are automatically + # included. Enums which are not referenced but shall be included + # should be listed here by name. Example: + # enums: + # - name: google.someapi.v1.SomeEnum + # Corresponds to the JSON property `enums` + # @return [Array] + attr_accessor :enums + + # `Context` defines which contexts an API requests. + # Example: + # context: + # rules: + # - selector: "*" + # requested: + # - google.rpc.context.ProjectContext + # - google.rpc.context.OriginContext + # The above specifies that all methods in the API request + # `google.rpc.context.ProjectContext` and + # `google.rpc.context.OriginContext`. + # Available context types are defined in package + # `google.rpc.context`. + # Corresponds to the JSON property `context` + # @return [Google::Apis::ServicemanagementV1::Context] + attr_accessor :context + + # A unique ID for a specific instance of this message, typically assigned + # by the client for tracking purpose. If empty, the server may choose to + # generate one instead. + # Corresponds to the JSON property `id` + # @return [String] + attr_accessor :id + + # Configuration controlling usage of a service. + # Corresponds to the JSON property `usage` + # @return [Google::Apis::ServicemanagementV1::Usage] + attr_accessor :usage + + # Defines the metrics used by this service. + # Corresponds to the JSON property `metrics` + # @return [Array] + attr_accessor :metrics + + # `Authentication` defines the authentication configuration for an API. + # Example for an API targeted for external use: + # name: calendar.googleapis.com + # authentication: + # providers: + # - id: google_calendar_auth + # jwks_uri: https://www.googleapis.com/oauth2/v1/certs + # issuer: https://securetoken.google.com + # rules: + # - selector: "*" + # requirements: + # provider_id: google_calendar_auth + # Corresponds to the JSON property `authentication` + # @return [Google::Apis::ServicemanagementV1::Authentication] + attr_accessor :authentication + + # Experimental service configuration. These configuration options can + # only be used by whitelisted users. + # Corresponds to the JSON property `experimental` + # @return [Google::Apis::ServicemanagementV1::Experimental] + attr_accessor :experimental + + # Selects and configures the service controller used by the service. The + # service controller handles features like abuse, quota, billing, logging, + # monitoring, etc. + # Corresponds to the JSON property `control` + # @return [Google::Apis::ServicemanagementV1::Control] + attr_accessor :control + + # The version of the service configuration. The config version may + # influence interpretation of the configuration, for example, to + # determine defaults. This is documented together with applicable + # options. The current default for the config version itself is `3`. + # Corresponds to the JSON property `configVersion` + # @return [Fixnum] + attr_accessor :config_version + + # Monitoring configuration of the service. + # The example below shows how to configure monitored resources and metrics + # for monitoring. In the example, a monitored resource and two metrics are + # defined. The `library.googleapis.com/book/returned_count` metric is sent + # to both producer and consumer projects, whereas the + # `library.googleapis.com/book/overdue_count` metric is only sent to the + # consumer project. + # monitored_resources: + # - type: library.googleapis.com/branch + # labels: + # - key: /city + # description: The city where the library branch is located in. + # - key: /name + # description: The name of the branch. + # metrics: + # - name: library.googleapis.com/book/returned_count + # metric_kind: DELTA + # value_type: INT64 + # labels: + # - key: /customer_id + # - name: library.googleapis.com/book/overdue_count + # metric_kind: GAUGE + # value_type: INT64 + # labels: + # - key: /customer_id + # monitoring: + # producer_destinations: + # - monitored_resource: library.googleapis.com/branch + # metrics: + # - library.googleapis.com/book/returned_count + # consumer_destinations: + # - monitored_resource: library.googleapis.com/branch + # metrics: + # - library.googleapis.com/book/returned_count + # - library.googleapis.com/book/overdue_count + # Corresponds to the JSON property `monitoring` + # @return [Google::Apis::ServicemanagementV1::Monitoring] + attr_accessor :monitoring + + # A list of all proto message types included in this API service. + # It serves similar purpose as [google.api.Service.types], except that + # these types are not needed by user-defined APIs. Therefore, they will not + # show up in the generated discovery doc. This field should only be used + # to define system APIs in ESF. + # Corresponds to the JSON property `systemTypes` + # @return [Array] + attr_accessor :system_types + + # The id of the Google developer project that owns the service. + # Members of this project can manage the service configuration, + # manage consumption of the service, etc. + # Corresponds to the JSON property `producerProjectId` + # @return [String] + attr_accessor :producer_project_id + # `Visibility` defines restrictions for the visibility of service # elements. Restrictions are specified using visibility labels # (e.g., TRUSTED_TESTER) that are elsewhere linked to users and projects. @@ -1425,11 +1975,6 @@ module Google # @return [Google::Apis::ServicemanagementV1::Http] attr_accessor :http - # `Backend` defines the backend configuration for a service. - # Corresponds to the JSON property `backend` - # @return [Google::Apis::ServicemanagementV1::Backend] - attr_accessor :backend - # ### System parameter configuration # A system parameter is a special kind of parameter defined by the API # system, not by an individual API. It is typically mapped to an HTTP header @@ -1439,235 +1984,10 @@ module Google # @return [Google::Apis::ServicemanagementV1::SystemParameters] attr_accessor :system_parameters - # `Documentation` provides the information for describing a service. - # Example: - #
documentation:
-        # summary: >
-        # The Google Calendar API gives access
-        # to most calendar features.
-        # pages:
-        # - name: Overview
-        # content: (== include google/foo/overview.md ==)
-        # - name: Tutorial
-        # content: (== include google/foo/tutorial.md ==)
-        # subpages;
-        # - name: Java
-        # content: (== include google/foo/tutorial_java.md ==)
-        # rules:
-        # - selector: google.calendar.Calendar.Get
-        # description: >
-        # ...
-        # - selector: google.calendar.Calendar.Put
-        # description: >
-        # ...
-        # 
- # Documentation is provided in markdown syntax. In addition to - # standard markdown features, definition lists, tables and fenced - # code blocks are supported. Section headers can be provided and are - # interpreted relative to the section nesting of the context where - # a documentation fragment is embedded. - # Documentation from the IDL is merged with documentation defined - # via the config at normalization time, where documentation provided - # by config rules overrides IDL provided. - # A number of constructs specific to the API platform are supported - # in documentation text. - # In order to reference a proto element, the following - # notation can be used: - #
[fully.qualified.proto.name][]
- # To override the display text used for the link, this can be used: - #
[display text][fully.qualified.proto.name]
- # Text can be excluded from doc using the following notation: - #
(-- internal comment --)
- # Comments can be made conditional using a visibility label. The below - # text will be only rendered if the `BETA` label is available: - #
(--BETA: comment for BETA users --)
- # A few directives are available in documentation. Note that - # directives must appear on a single line to be properly - # identified. The `include` directive includes a markdown file from - # an external source: - #
(== include path/to/file ==)
- # The `resource_for` directive marks a message to be the resource of - # a collection in REST view. If it is not specified, tools attempt - # to infer the resource from the operations in a collection: - #
(== resource_for v1.shelves.books ==)
- # The directive `suppress_warning` does not directly affect documentation - # and is documented together with service config validation. - # Corresponds to the JSON property `documentation` - # @return [Google::Apis::ServicemanagementV1::Documentation] - attr_accessor :documentation - - # Defines the monitored resources used by this service. This is required - # by the Service.monitoring and Service.logging configurations. - # Corresponds to the JSON property `monitoredResources` - # @return [Array] - attr_accessor :monitored_resources - - # Logging configuration of the service. - # The following example shows how to configure logs to be sent to the - # producer and consumer projects. In the example, the `activity_history` - # log is sent to both the producer and consumer projects, whereas the - # `purchase_history` log is only sent to the producer project. - # monitored_resources: - # - type: library.googleapis.com/branch - # labels: - # - key: /city - # description: The city where the library branch is located in. - # - key: /name - # description: The name of the branch. - # logs: - # - name: activity_history - # labels: - # - key: /customer_id - # - name: purchase_history - # logging: - # producer_destinations: - # - monitored_resource: library.googleapis.com/branch - # logs: - # - activity_history - # - purchase_history - # consumer_destinations: - # - monitored_resource: library.googleapis.com/branch - # logs: - # - activity_history - # Corresponds to the JSON property `logging` - # @return [Google::Apis::ServicemanagementV1::Logging] - attr_accessor :logging - - # A list of all enum types included in this API service. Enums - # referenced directly or indirectly by the `apis` are automatically - # included. Enums which are not referenced but shall be included - # should be listed here by name. Example: - # enums: - # - name: google.someapi.v1.SomeEnum - # Corresponds to the JSON property `enums` - # @return [Array] - attr_accessor :enums - - # `Context` defines which contexts an API requests. - # Example: - # context: - # rules: - # - selector: "*" - # requested: - # - google.rpc.context.ProjectContext - # - google.rpc.context.OriginContext - # The above specifies that all methods in the API request - # `google.rpc.context.ProjectContext` and - # `google.rpc.context.OriginContext`. - # Available context types are defined in package - # `google.rpc.context`. - # Corresponds to the JSON property `context` - # @return [Google::Apis::ServicemanagementV1::Context] - attr_accessor :context - - # A unique ID for a specific instance of this message, typically assigned - # by the client for tracking purpose. If empty, the server may choose to - # generate one instead. - # Corresponds to the JSON property `id` - # @return [String] - attr_accessor :id - - # Configuration controlling usage of a service. - # Corresponds to the JSON property `usage` - # @return [Google::Apis::ServicemanagementV1::Usage] - attr_accessor :usage - - # Defines the metrics used by this service. - # Corresponds to the JSON property `metrics` - # @return [Array] - attr_accessor :metrics - - # `Authentication` defines the authentication configuration for an API. - # Example for an API targeted for external use: - # name: calendar.googleapis.com - # authentication: - # providers: - # - id: google_calendar_auth - # jwks_uri: https://www.googleapis.com/oauth2/v1/certs - # issuer: https://securetoken.google.com - # rules: - # - selector: "*" - # requirements: - # provider_id: google_calendar_auth - # Corresponds to the JSON property `authentication` - # @return [Google::Apis::ServicemanagementV1::Authentication] - attr_accessor :authentication - - # Experimental service configuration. These configuration options can - # only be used by whitelisted users. - # Corresponds to the JSON property `experimental` - # @return [Google::Apis::ServicemanagementV1::Experimental] - attr_accessor :experimental - - # Selects and configures the service controller used by the service. The - # service controller handles features like abuse, quota, billing, logging, - # monitoring, etc. - # Corresponds to the JSON property `control` - # @return [Google::Apis::ServicemanagementV1::Control] - attr_accessor :control - - # The version of the service configuration. The config version may - # influence interpretation of the configuration, for example, to - # determine defaults. This is documented together with applicable - # options. The current default for the config version itself is `3`. - # Corresponds to the JSON property `configVersion` - # @return [Fixnum] - attr_accessor :config_version - - # Monitoring configuration of the service. - # The example below shows how to configure monitored resources and metrics - # for monitoring. In the example, a monitored resource and two metrics are - # defined. The `library.googleapis.com/book/returned_count` metric is sent - # to both producer and consumer projects, whereas the - # `library.googleapis.com/book/overdue_count` metric is only sent to the - # consumer project. - # monitored_resources: - # - type: library.googleapis.com/branch - # labels: - # - key: /city - # description: The city where the library branch is located in. - # - key: /name - # description: The name of the branch. - # metrics: - # - name: library.googleapis.com/book/returned_count - # metric_kind: DELTA - # value_type: INT64 - # labels: - # - key: /customer_id - # - name: library.googleapis.com/book/overdue_count - # metric_kind: GAUGE - # value_type: INT64 - # labels: - # - key: /customer_id - # monitoring: - # producer_destinations: - # - monitored_resource: library.googleapis.com/branch - # metrics: - # - library.googleapis.com/book/returned_count - # consumer_destinations: - # - monitored_resource: library.googleapis.com/branch - # metrics: - # - library.googleapis.com/book/returned_count - # - library.googleapis.com/book/overdue_count - # Corresponds to the JSON property `monitoring` - # @return [Google::Apis::ServicemanagementV1::Monitoring] - attr_accessor :monitoring - - # The id of the Google developer project that owns the service. - # Members of this project can manage the service configuration, - # manage consumption of the service, etc. - # Corresponds to the JSON property `producerProjectId` - # @return [String] - attr_accessor :producer_project_id - - # A list of all proto message types included in this API service. - # It serves similar purpose as [google.api.Service.types], except that - # these types are not needed by user-defined APIs. Therefore, they will not - # show up in the generated discovery doc. This field should only be used - # to define system APIs in ESF. - # Corresponds to the JSON property `systemTypes` - # @return [Array] - attr_accessor :system_types + # `Backend` defines the backend configuration for a service. + # Corresponds to the JSON property `backend` + # @return [Google::Apis::ServicemanagementV1::Backend] + attr_accessor :backend def initialize(**args) update!(**args) @@ -1675,6 +1995,21 @@ module Google # Update properties of this object def update!(**args) + @documentation = args[:documentation] if args.key?(:documentation) + @logging = args[:logging] if args.key?(:logging) + @monitored_resources = args[:monitored_resources] if args.key?(:monitored_resources) + @enums = args[:enums] if args.key?(:enums) + @context = args[:context] if args.key?(:context) + @id = args[:id] if args.key?(:id) + @usage = args[:usage] if args.key?(:usage) + @metrics = args[:metrics] if args.key?(:metrics) + @authentication = args[:authentication] if args.key?(:authentication) + @experimental = args[:experimental] if args.key?(:experimental) + @control = args[:control] if args.key?(:control) + @config_version = args[:config_version] if args.key?(:config_version) + @monitoring = args[:monitoring] if args.key?(:monitoring) + @system_types = args[:system_types] if args.key?(:system_types) + @producer_project_id = args[:producer_project_id] if args.key?(:producer_project_id) @visibility = args[:visibility] if args.key?(:visibility) @quota = args[:quota] if args.key?(:quota) @name = args[:name] if args.key?(:name) @@ -1686,23 +2021,8 @@ module Google @types = args[:types] if args.key?(:types) @source_info = args[:source_info] if args.key?(:source_info) @http = args[:http] if args.key?(:http) - @backend = args[:backend] if args.key?(:backend) @system_parameters = args[:system_parameters] if args.key?(:system_parameters) - @documentation = args[:documentation] if args.key?(:documentation) - @monitored_resources = args[:monitored_resources] if args.key?(:monitored_resources) - @logging = args[:logging] if args.key?(:logging) - @enums = args[:enums] if args.key?(:enums) - @context = args[:context] if args.key?(:context) - @id = args[:id] if args.key?(:id) - @usage = args[:usage] if args.key?(:usage) - @metrics = args[:metrics] if args.key?(:metrics) - @authentication = args[:authentication] if args.key?(:authentication) - @experimental = args[:experimental] if args.key?(:experimental) - @control = args[:control] if args.key?(:control) - @config_version = args[:config_version] if args.key?(:config_version) - @monitoring = args[:monitoring] if args.key?(:monitoring) - @producer_project_id = args[:producer_project_id] if args.key?(:producer_project_id) - @system_types = args[:system_types] if args.key?(:system_types) + @backend = args[:backend] if args.key?(:backend) end end @@ -1741,51 +2061,15 @@ module Google class ListOperationsResponse include Google::Apis::Core::Hashable - # The standard List next-page token. - # Corresponds to the JSON property `nextPageToken` - # @return [String] - attr_accessor :next_page_token - # A list of operations that matches the specified filter in the request. # Corresponds to the JSON property `operations` # @return [Array] attr_accessor :operations - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @next_page_token = args[:next_page_token] if args.key?(:next_page_token) - @operations = args[:operations] if args.key?(:operations) - end - end - - # The metadata associated with a long running operation resource. - class OperationMetadata - include Google::Apis::Core::Hashable - - # The start time of the operation. - # Corresponds to the JSON property `startTime` + # The standard List next-page token. + # Corresponds to the JSON property `nextPageToken` # @return [String] - attr_accessor :start_time - - # The full name of the resources that this operation is directly - # associated with. - # Corresponds to the JSON property `resourceNames` - # @return [Array] - attr_accessor :resource_names - - # Detailed status information for each step. The order is undetermined. - # Corresponds to the JSON property `steps` - # @return [Array] - attr_accessor :steps - - # Percentage of completion of this operation, ranging from 0 to 100. - # Corresponds to the JSON property `progressPercentage` - # @return [Fixnum] - attr_accessor :progress_percentage + attr_accessor :next_page_token def initialize(**args) update!(**args) @@ -1793,10 +2077,8 @@ module Google # Update properties of this object def update!(**args) - @start_time = args[:start_time] if args.key?(:start_time) - @resource_names = args[:resource_names] if args.key?(:resource_names) - @steps = args[:steps] if args.key?(:steps) - @progress_percentage = args[:progress_percentage] if args.key?(:progress_percentage) + @operations = args[:operations] if args.key?(:operations) + @next_page_token = args[:next_page_token] if args.key?(:next_page_token) end end @@ -1825,18 +2107,49 @@ module Google end end + # The metadata associated with a long running operation resource. + class OperationMetadata + include Google::Apis::Core::Hashable + + # The full name of the resources that this operation is directly + # associated with. + # Corresponds to the JSON property `resourceNames` + # @return [Array] + attr_accessor :resource_names + + # Detailed status information for each step. The order is undetermined. + # Corresponds to the JSON property `steps` + # @return [Array] + attr_accessor :steps + + # Percentage of completion of this operation, ranging from 0 to 100. + # Corresponds to the JSON property `progressPercentage` + # @return [Fixnum] + attr_accessor :progress_percentage + + # The start time of the operation. + # Corresponds to the JSON property `startTime` + # @return [String] + attr_accessor :start_time + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @resource_names = args[:resource_names] if args.key?(:resource_names) + @steps = args[:steps] if args.key?(:steps) + @progress_percentage = args[:progress_percentage] if args.key?(:progress_percentage) + @start_time = args[:start_time] if args.key?(:start_time) + end + end + # Define a system parameter rule mapping system parameter definitions to # methods. class SystemParameterRule include Google::Apis::Core::Hashable - # Selects the methods to which this rule applies. Use '*' to indicate all - # methods in all APIs. - # Refer to selector for syntax details. - # Corresponds to the JSON property `selector` - # @return [String] - attr_accessor :selector - # Define parameters. Multiple names may be defined for a parameter. # For a given method call, only one of them should be used. If multiple # names are used the behavior is implementation-dependent. @@ -1846,14 +2159,21 @@ module Google # @return [Array] attr_accessor :parameters + # Selects the methods to which this rule applies. Use '*' to indicate all + # methods in all APIs. + # Refer to selector for syntax details. + # Corresponds to the JSON property `selector` + # @return [String] + attr_accessor :selector + def initialize(**args) update!(**args) end # Update properties of this object def update!(**args) - @selector = args[:selector] if args.key?(:selector) @parameters = args[:parameters] if args.key?(:parameters) + @selector = args[:selector] if args.key?(:selector) end end @@ -2040,16 +2360,16 @@ module Google # @return [Google::Apis::ServicemanagementV1::CustomHttpPattern] attr_accessor :custom - # Used for listing and getting information about resources. - # Corresponds to the JSON property `get` - # @return [String] - attr_accessor :get - # Used for updating a resource. # Corresponds to the JSON property `patch` # @return [String] attr_accessor :patch + # Used for listing and getting information about resources. + # Corresponds to the JSON property `get` + # @return [String] + attr_accessor :get + # Used for updating a resource. # Corresponds to the JSON property `put` # @return [String] @@ -2111,8 +2431,8 @@ module Google def update!(**args) @selector = args[:selector] if args.key?(:selector) @custom = args[:custom] if args.key?(:custom) - @get = args[:get] if args.key?(:get) @patch = args[:patch] if args.key?(:patch) + @get = args[:get] if args.key?(:get) @put = args[:put] if args.key?(:put) @delete = args[:delete] if args.key?(:delete) @body = args[:body] if args.key?(:body) @@ -2544,11 +2864,6 @@ module Google class Rollout include Google::Apis::Core::Hashable - # The user who created the Rollout. Readonly. - # Corresponds to the JSON property `createdBy` - # @return [String] - attr_accessor :created_by - # Strategy that specifies how Google Service Control should select # different # versions of service configurations based on traffic percentage. @@ -2578,6 +2893,11 @@ module Google # @return [Google::Apis::ServicemanagementV1::TrafficPercentStrategy] attr_accessor :traffic_percent_strategy + # The user who created the Rollout. Readonly. + # Corresponds to the JSON property `createdBy` + # @return [String] + attr_accessor :created_by + # Optional unique identifier of this Rollout. Only lower case letters, digits # and '-' are allowed. # If not specified by client, the server will generate one. The generated id @@ -2618,8 +2938,8 @@ module Google # Update properties of this object def update!(**args) - @created_by = args[:created_by] if args.key?(:created_by) @traffic_percent_strategy = args[:traffic_percent_strategy] if args.key?(:traffic_percent_strategy) + @created_by = args[:created_by] if args.key?(:created_by) @rollout_id = args[:rollout_id] if args.key?(:rollout_id) @delete_service_strategy = args[:delete_service_strategy] if args.key?(:delete_service_strategy) @create_time = args[:create_time] if args.key?(:create_time) @@ -2877,17 +3197,6 @@ module Google class MethodProp include Google::Apis::Core::Hashable - # If true, the request is streamed. - # Corresponds to the JSON property `requestStreaming` - # @return [Boolean] - attr_accessor :request_streaming - alias_method :request_streaming?, :request_streaming - - # The source syntax of this method. - # Corresponds to the JSON property `syntax` - # @return [String] - attr_accessor :syntax - # The URL of the output message type. # Corresponds to the JSON property `responseTypeUrl` # @return [String] @@ -2914,19 +3223,30 @@ module Google # @return [String] attr_accessor :request_type_url + # If true, the request is streamed. + # Corresponds to the JSON property `requestStreaming` + # @return [Boolean] + attr_accessor :request_streaming + alias_method :request_streaming?, :request_streaming + + # The source syntax of this method. + # Corresponds to the JSON property `syntax` + # @return [String] + attr_accessor :syntax + def initialize(**args) update!(**args) end # Update properties of this object def update!(**args) - @request_streaming = args[:request_streaming] if args.key?(:request_streaming) - @syntax = args[:syntax] if args.key?(:syntax) @response_type_url = args[:response_type_url] if args.key?(:response_type_url) @options = args[:options] if args.key?(:options) @response_streaming = args[:response_streaming] if args.key?(:response_streaming) @name = args[:name] if args.key?(:name) @request_type_url = args[:request_type_url] if args.key?(:request_type_url) + @request_streaming = args[:request_streaming] if args.key?(:request_streaming) + @syntax = args[:syntax] if args.key?(:syntax) end end @@ -2936,6 +3256,90 @@ module Google class QuotaLimit include Google::Apis::Core::Hashable + # Duration of this limit in textual notation. Example: "100s", "24h", "1d". + # For duration longer than a day, only multiple of days is supported. We + # support only "100s" and "1d" for now. Additional support will be added in + # the future. "0" indicates indefinite duration. + # Used by group-based quotas only. + # Corresponds to the JSON property `duration` + # @return [String] + attr_accessor :duration + + # Free tier value displayed in the Developers Console for this limit. + # The free tier is the number of tokens that will be subtracted from the + # billed amount when billing is enabled. + # This field can only be set on a limit with duration "1d", in a billable + # group; it is invalid on any other limit. If this field is not set, it + # defaults to 0, indicating that there is no free tier for this service. + # Used by group-based quotas only. + # Corresponds to the JSON property `freeTier` + # @return [Fixnum] + attr_accessor :free_tier + + # Default number of tokens that can be consumed during the specified + # duration. This is the number of tokens assigned when a client + # application developer activates the service for his/her project. + # Specifying a value of 0 will block all requests. This can be used if you + # are provisioning quota to selected consumers and blocking others. + # Similarly, a value of -1 will indicate an unlimited quota. No other + # negative values are allowed. + # Used by group-based quotas only. + # Corresponds to the JSON property `defaultLimit` + # @return [Fixnum] + attr_accessor :default_limit + + # The name of the metric this quota limit applies to. The quota limits with + # the same metric will be checked together during runtime. The metric must be + # defined within the service config. + # Used by metric-based quotas only. + # Corresponds to the JSON property `metric` + # @return [String] + attr_accessor :metric + + # Optional. User-visible, extended description for this quota limit. + # Should be used only when more context is needed to understand this limit + # than provided by the limit's display name (see: `display_name`). + # Corresponds to the JSON property `description` + # @return [String] + attr_accessor :description + + # User-visible display name for this limit. + # Optional. If not set, the UI will provide a default display name based on + # the quota configuration. This field can be used to override the default + # display name generated from the configuration. + # Corresponds to the JSON property `displayName` + # @return [String] + attr_accessor :display_name + + # Tiered limit values. Also allows for regional or zone overrides for these + # values if "/`region`" or "/`zone`" is specified in the unit field. + # Currently supported tiers from low to high: + # VERY_LOW, LOW, STANDARD, HIGH, VERY_HIGH + # To apply different limit values for users according to their tiers, specify + # the values for the tiers you want to differentiate. For example: + # `LOW:100, STANDARD:500, HIGH:1000, VERY_HIGH:5000` + # The limit value for each tier is optional except for the tier STANDARD. + # The limit value for an unspecified tier falls to the value of its next + # tier towards tier STANDARD. For the above example, the limit value for tier + # STANDARD is 500. + # To apply the same limit value for all users, just specify limit value for + # tier STANDARD. For example: `STANDARD:500`. + # To apply a regional overide for a tier, add a map entry with key + # "/", where is a region name. Similarly, for a zone + # override, add a map entry with key "/`zone`". + # Further, a wildcard can be used at the end of a zone name in order to + # specify zone level overrides. For example: + # LOW: 10, STANDARD: 50, HIGH: 100, + # LOW/us-central1: 20, STANDARD/us-central1: 60, HIGH/us-central1: 200, + # LOW/us-central1-*: 10, STANDARD/us-central1-*: 20, HIGH/us-central1-*: 80 + # The regional overrides tier set for each region must be the same as + # the tier set for default limit values. Same rule applies for zone overrides + # tier as well. + # Used by metric-based quotas only. + # Corresponds to the JSON property `values` + # @return [Hash] + attr_accessor :values + # Specify the unit of the quota limit. It uses the same syntax as # Metric.unit. The supported unit kinds are determined by the quota # backend system. @@ -2977,7 +3381,7 @@ module Google # indicating unlimited maximum quota. # Used by group-based quotas only. # Corresponds to the JSON property `maxLimit` - # @return [String] + # @return [Fixnum] attr_accessor :max_limit # Name of the quota limit. The name is used to refer to the limit when @@ -2998,126 +3402,22 @@ module Google # @return [String] attr_accessor :name - # Free tier value displayed in the Developers Console for this limit. - # The free tier is the number of tokens that will be subtracted from the - # billed amount when billing is enabled. - # This field can only be set on a limit with duration "1d", in a billable - # group; it is invalid on any other limit. If this field is not set, it - # defaults to 0, indicating that there is no free tier for this service. - # Used by group-based quotas only. - # Corresponds to the JSON property `freeTier` - # @return [String] - attr_accessor :free_tier - - # Duration of this limit in textual notation. Example: "100s", "24h", "1d". - # For duration longer than a day, only multiple of days is supported. We - # support only "100s" and "1d" for now. Additional support will be added in - # the future. "0" indicates indefinite duration. - # Used by group-based quotas only. - # Corresponds to the JSON property `duration` - # @return [String] - attr_accessor :duration - - # Default number of tokens that can be consumed during the specified - # duration. This is the number of tokens assigned when a client - # application developer activates the service for his/her project. - # Specifying a value of 0 will block all requests. This can be used if you - # are provisioning quota to selected consumers and blocking others. - # Similarly, a value of -1 will indicate an unlimited quota. No other - # negative values are allowed. - # Used by group-based quotas only. - # Corresponds to the JSON property `defaultLimit` - # @return [String] - attr_accessor :default_limit - - # User-visible display name for this limit. - # Optional. If not set, the UI will provide a default display name based on - # the quota configuration. This field can be used to override the default - # display name generated from the configuration. - # Corresponds to the JSON property `displayName` - # @return [String] - attr_accessor :display_name - - # Optional. User-visible, extended description for this quota limit. - # Should be used only when more context is needed to understand this limit - # than provided by the limit's display name (see: `display_name`). - # Corresponds to the JSON property `description` - # @return [String] - attr_accessor :description - - # The name of the metric this quota limit applies to. The quota limits with - # the same metric will be checked together during runtime. The metric must be - # defined within the service config. - # Used by metric-based quotas only. - # Corresponds to the JSON property `metric` - # @return [String] - attr_accessor :metric - - # Tiered limit values. Also allows for regional or zone overrides for these - # values if "/`region`" or "/`zone`" is specified in the unit field. - # Currently supported tiers from low to high: - # VERY_LOW, LOW, STANDARD, HIGH, VERY_HIGH - # To apply different limit values for users according to their tiers, specify - # the values for the tiers you want to differentiate. For example: - # `LOW:100, STANDARD:500, HIGH:1000, VERY_HIGH:5000` - # The limit value for each tier is optional except for the tier STANDARD. - # The limit value for an unspecified tier falls to the value of its next - # tier towards tier STANDARD. For the above example, the limit value for tier - # STANDARD is 500. - # To apply the same limit value for all users, just specify limit value for - # tier STANDARD. For example: `STANDARD:500`. - # To apply a regional overide for a tier, add a map entry with key - # "/", where is a region name. Similarly, for a zone - # override, add a map entry with key "/`zone`". - # Further, a wildcard can be used at the end of a zone name in order to - # specify zone level overrides. For example: - # LOW: 10, STANDARD: 50, HIGH: 100, - # LOW/us-central1: 20, STANDARD/us-central1: 60, HIGH/us-central1: 200, - # LOW/us-central1-*: 10, STANDARD/us-central1-*: 20, HIGH/us-central1-*: 80 - # The regional overrides tier set for each region must be the same as - # the tier set for default limit values. Same rule applies for zone overrides - # tier as well. - # Used by metric-based quotas only. - # Corresponds to the JSON property `values` - # @return [Hash] - attr_accessor :values - def initialize(**args) update!(**args) end # Update properties of this object def update!(**args) + @duration = args[:duration] if args.key?(:duration) + @free_tier = args[:free_tier] if args.key?(:free_tier) + @default_limit = args[:default_limit] if args.key?(:default_limit) + @metric = args[:metric] if args.key?(:metric) + @description = args[:description] if args.key?(:description) + @display_name = args[:display_name] if args.key?(:display_name) + @values = args[:values] if args.key?(:values) @unit = args[:unit] if args.key?(:unit) @max_limit = args[:max_limit] if args.key?(:max_limit) @name = args[:name] if args.key?(:name) - @free_tier = args[:free_tier] if args.key?(:free_tier) - @duration = args[:duration] if args.key?(:duration) - @default_limit = args[:default_limit] if args.key?(:default_limit) - @display_name = args[:display_name] if args.key?(:display_name) - @description = args[:description] if args.key?(:description) - @metric = args[:metric] if args.key?(:metric) - @values = args[:values] if args.key?(:values) - end - end - - # Represents a service configuration with its name and id. - class ConfigRef - include Google::Apis::Core::Hashable - - # Resource name of a service config. It must have the following - # format: "services/`service name`/configs/`config id`". - # Corresponds to the JSON property `name` - # @return [String] - attr_accessor :name - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @name = args[:name] if args.key?(:name) end end @@ -3146,6 +3446,26 @@ module Google end end + # Represents a service configuration with its name and id. + class ConfigRef + include Google::Apis::Core::Hashable + + # Resource name of a service config. It must have the following + # format: "services/`service name`/configs/`config id`". + # Corresponds to the JSON property `name` + # @return [String] + attr_accessor :name + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @name = args[:name] if args.key?(:name) + end + end + # Declares an API to be included in this API. The including API must # redeclare all the methods from the included API, but documentation # and options are inherited as follows: @@ -3236,17 +3556,6 @@ module Google class FlowOperationMetadata include Google::Apis::Core::Hashable - # The name of the top-level flow corresponding to this operation. - # Must be equal to the "name" field for a FlowName enum. - # Corresponds to the JSON property `flowName` - # @return [String] - attr_accessor :flow_name - - # The full name of the resources that this flow is directly associated with. - # Corresponds to the JSON property `resourceNames` - # @return [Array] - attr_accessor :resource_names - # The state of the operation with respect to cancellation. # Corresponds to the JSON property `cancelState` # @return [String] @@ -3269,17 +3578,28 @@ module Google # @return [String] attr_accessor :start_time + # The name of the top-level flow corresponding to this operation. + # Must be equal to the "name" field for a FlowName enum. + # Corresponds to the JSON property `flowName` + # @return [String] + attr_accessor :flow_name + + # The full name of the resources that this flow is directly associated with. + # Corresponds to the JSON property `resourceNames` + # @return [Array] + attr_accessor :resource_names + def initialize(**args) update!(**args) end # Update properties of this object def update!(**args) - @flow_name = args[:flow_name] if args.key?(:flow_name) - @resource_names = args[:resource_names] if args.key?(:resource_names) @cancel_state = args[:cancel_state] if args.key?(:cancel_state) @deadline = args[:deadline] if args.key?(:deadline) @start_time = args[:start_time] if args.key?(:start_time) + @flow_name = args[:flow_name] if args.key?(:flow_name) + @resource_names = args[:resource_names] if args.key?(:resource_names) end end @@ -3294,25 +3614,25 @@ module Google class CustomError include Google::Apis::Core::Hashable + # The list of custom error detail types, e.g. 'google.foo.v1.CustomError'. + # Corresponds to the JSON property `types` + # @return [Array] + attr_accessor :types + # The list of custom error rules that apply to individual API messages. # **NOTE:** All service configuration rules follow "last one wins" order. # Corresponds to the JSON property `rules` # @return [Array] attr_accessor :rules - # The list of custom error detail types, e.g. 'google.foo.v1.CustomError'. - # Corresponds to the JSON property `types` - # @return [Array] - attr_accessor :types - def initialize(**args) update!(**args) end # Update properties of this object def update!(**args) - @rules = args[:rules] if args.key?(:rules) @types = args[:types] if args.key?(:types) + @rules = args[:rules] if args.key?(:rules) end end @@ -3450,6 +3770,82 @@ module Google end end + # A single field of a message type. + class Field + include Google::Apis::Core::Hashable + + # The field name. + # Corresponds to the JSON property `name` + # @return [String] + attr_accessor :name + + # The field type URL, without the scheme, for message or enumeration + # types. Example: `"type.googleapis.com/google.protobuf.Timestamp"`. + # Corresponds to the JSON property `typeUrl` + # @return [String] + attr_accessor :type_url + + # The field number. + # Corresponds to the JSON property `number` + # @return [Fixnum] + attr_accessor :number + + # The field JSON name. + # Corresponds to the JSON property `jsonName` + # @return [String] + attr_accessor :json_name + + # The field type. + # Corresponds to the JSON property `kind` + # @return [String] + attr_accessor :kind + + # The protocol buffer options. + # Corresponds to the JSON property `options` + # @return [Array] + attr_accessor :options + + # The index of the field type in `Type.oneofs`, for message or enumeration + # types. The first type has index 1; zero means the type is not in the list. + # Corresponds to the JSON property `oneofIndex` + # @return [Fixnum] + attr_accessor :oneof_index + + # The field cardinality. + # Corresponds to the JSON property `cardinality` + # @return [String] + attr_accessor :cardinality + + # Whether to use alternative packed wire representation. + # Corresponds to the JSON property `packed` + # @return [Boolean] + attr_accessor :packed + alias_method :packed?, :packed + + # The string value of the default value of this field. Proto2 syntax only. + # Corresponds to the JSON property `defaultValue` + # @return [String] + attr_accessor :default_value + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @name = args[:name] if args.key?(:name) + @type_url = args[:type_url] if args.key?(:type_url) + @number = args[:number] if args.key?(:number) + @json_name = args[:json_name] if args.key?(:json_name) + @kind = args[:kind] if args.key?(:kind) + @options = args[:options] if args.key?(:options) + @oneof_index = args[:oneof_index] if args.key?(:oneof_index) + @cardinality = args[:cardinality] if args.key?(:cardinality) + @packed = args[:packed] if args.key?(:packed) + @default_value = args[:default_value] if args.key?(:default_value) + end + end + # Monitoring configuration of the service. # The example below shows how to configure monitored resources and metrics # for monitoring. In the example, a monitored resource and two metrics are @@ -3515,82 +3911,6 @@ module Google end end - # A single field of a message type. - class Field - include Google::Apis::Core::Hashable - - # The field type. - # Corresponds to the JSON property `kind` - # @return [String] - attr_accessor :kind - - # The field JSON name. - # Corresponds to the JSON property `jsonName` - # @return [String] - attr_accessor :json_name - - # The protocol buffer options. - # Corresponds to the JSON property `options` - # @return [Array] - attr_accessor :options - - # The index of the field type in `Type.oneofs`, for message or enumeration - # types. The first type has index 1; zero means the type is not in the list. - # Corresponds to the JSON property `oneofIndex` - # @return [Fixnum] - attr_accessor :oneof_index - - # Whether to use alternative packed wire representation. - # Corresponds to the JSON property `packed` - # @return [Boolean] - attr_accessor :packed - alias_method :packed?, :packed - - # The field cardinality. - # Corresponds to the JSON property `cardinality` - # @return [String] - attr_accessor :cardinality - - # The string value of the default value of this field. Proto2 syntax only. - # Corresponds to the JSON property `defaultValue` - # @return [String] - attr_accessor :default_value - - # The field name. - # Corresponds to the JSON property `name` - # @return [String] - attr_accessor :name - - # The field type URL, without the scheme, for message or enumeration - # types. Example: `"type.googleapis.com/google.protobuf.Timestamp"`. - # Corresponds to the JSON property `typeUrl` - # @return [String] - attr_accessor :type_url - - # The field number. - # Corresponds to the JSON property `number` - # @return [Fixnum] - attr_accessor :number - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @kind = args[:kind] if args.key?(:kind) - @json_name = args[:json_name] if args.key?(:json_name) - @options = args[:options] if args.key?(:options) - @oneof_index = args[:oneof_index] if args.key?(:oneof_index) - @packed = args[:packed] if args.key?(:packed) - @cardinality = args[:cardinality] if args.key?(:cardinality) - @default_value = args[:default_value] if args.key?(:default_value) - @name = args[:name] if args.key?(:name) - @type_url = args[:type_url] if args.key?(:type_url) - @number = args[:number] if args.key?(:number) - end - end - # Request message for `TestIamPermissions` method. class TestIamPermissionsRequest include Google::Apis::Core::Hashable @@ -3617,6 +3937,16 @@ module Google class Enum include Google::Apis::Core::Hashable + # Enum type name. + # Corresponds to the JSON property `name` + # @return [String] + attr_accessor :name + + # Enum value definitions. + # Corresponds to the JSON property `enumvalue` + # @return [Array] + attr_accessor :enumvalue + # Protocol buffer options. # Corresponds to the JSON property `options` # @return [Array] @@ -3633,58 +3963,17 @@ module Google # @return [String] attr_accessor :syntax - # Enum type name. - # Corresponds to the JSON property `name` - # @return [String] - attr_accessor :name - - # Enum value definitions. - # Corresponds to the JSON property `enumvalue` - # @return [Array] - attr_accessor :enumvalue - def initialize(**args) update!(**args) end # Update properties of this object def update!(**args) + @name = args[:name] if args.key?(:name) + @enumvalue = args[:enumvalue] if args.key?(:enumvalue) @options = args[:options] if args.key?(:options) @source_context = args[:source_context] if args.key?(:source_context) @syntax = args[:syntax] if args.key?(:syntax) - @name = args[:name] if args.key?(:name) - @enumvalue = args[:enumvalue] if args.key?(:enumvalue) - end - end - - # Represents a diagnostic message (error or warning) - class Diagnostic - include Google::Apis::Core::Hashable - - # File name and line number of the error or warning. - # Corresponds to the JSON property `location` - # @return [String] - attr_accessor :location - - # The kind of diagnostic information provided. - # Corresponds to the JSON property `kind` - # @return [String] - attr_accessor :kind - - # Message describing the error or warning. - # Corresponds to the JSON property `message` - # @return [String] - attr_accessor :message - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @location = args[:location] if args.key?(:location) - @kind = args[:kind] if args.key?(:kind) - @message = args[:message] if args.key?(:message) end end @@ -3713,6 +4002,37 @@ module Google end end + # Represents a diagnostic message (error or warning) + class Diagnostic + include Google::Apis::Core::Hashable + + # Message describing the error or warning. + # Corresponds to the JSON property `message` + # @return [String] + attr_accessor :message + + # File name and line number of the error or warning. + # Corresponds to the JSON property `location` + # @return [String] + attr_accessor :location + + # The kind of diagnostic information provided. + # Corresponds to the JSON property `kind` + # @return [String] + attr_accessor :kind + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @message = args[:message] if args.key?(:message) + @location = args[:location] if args.key?(:location) + @kind = args[:kind] if args.key?(:kind) + end + end + # A description of a label. class LabelDescriptor include Google::Apis::Core::Hashable @@ -3748,17 +4068,6 @@ module Google class GenerateConfigReportResponse include Google::Apis::Core::Hashable - # Name of the service this report belongs to. - # Corresponds to the JSON property `serviceName` - # @return [String] - attr_accessor :service_name - - # list of ChangeReport, each corresponding to comparison between two - # service configurations. - # Corresponds to the JSON property `changeReports` - # @return [Array] - attr_accessor :change_reports - # ID of the service configuration this report belongs to. # Corresponds to the JSON property `id` # @return [String] @@ -3771,16 +4080,27 @@ module Google # @return [Array] attr_accessor :diagnostics + # Name of the service this report belongs to. + # Corresponds to the JSON property `serviceName` + # @return [String] + attr_accessor :service_name + + # list of ChangeReport, each corresponding to comparison between two + # service configurations. + # Corresponds to the JSON property `changeReports` + # @return [Array] + attr_accessor :change_reports + def initialize(**args) update!(**args) end # Update properties of this object def update!(**args) - @service_name = args[:service_name] if args.key?(:service_name) - @change_reports = args[:change_reports] if args.key?(:change_reports) @id = args[:id] if args.key?(:id) @diagnostics = args[:diagnostics] if args.key?(:diagnostics) + @service_name = args[:service_name] if args.key?(:service_name) + @change_reports = args[:change_reports] if args.key?(:change_reports) end end @@ -3788,27 +4108,6 @@ module Google class Type include Google::Apis::Core::Hashable - # The list of types appearing in `oneof` definitions in this type. - # Corresponds to the JSON property `oneofs` - # @return [Array] - attr_accessor :oneofs - - # `SourceContext` represents information about the source of a - # protobuf element, like the file in which it is defined. - # Corresponds to the JSON property `sourceContext` - # @return [Google::Apis::ServicemanagementV1::SourceContext] - attr_accessor :source_context - - # The source syntax. - # Corresponds to the JSON property `syntax` - # @return [String] - attr_accessor :syntax - - # The protocol buffer options. - # Corresponds to the JSON property `options` - # @return [Array] - attr_accessor :options - # The list of fields. # Corresponds to the JSON property `fields` # @return [Array] @@ -3819,18 +4118,64 @@ module Google # @return [String] attr_accessor :name + # The list of types appearing in `oneof` definitions in this type. + # Corresponds to the JSON property `oneofs` + # @return [Array] + attr_accessor :oneofs + + # The source syntax. + # Corresponds to the JSON property `syntax` + # @return [String] + attr_accessor :syntax + + # `SourceContext` represents information about the source of a + # protobuf element, like the file in which it is defined. + # Corresponds to the JSON property `sourceContext` + # @return [Google::Apis::ServicemanagementV1::SourceContext] + attr_accessor :source_context + + # The protocol buffer options. + # Corresponds to the JSON property `options` + # @return [Array] + attr_accessor :options + def initialize(**args) update!(**args) end # Update properties of this object def update!(**args) - @oneofs = args[:oneofs] if args.key?(:oneofs) - @source_context = args[:source_context] if args.key?(:source_context) - @syntax = args[:syntax] if args.key?(:syntax) - @options = args[:options] if args.key?(:options) @fields = args[:fields] if args.key?(:fields) @name = args[:name] if args.key?(:name) + @oneofs = args[:oneofs] if args.key?(:oneofs) + @syntax = args[:syntax] if args.key?(:syntax) + @source_context = args[:source_context] if args.key?(:source_context) + @options = args[:options] if args.key?(:options) + end + end + + # Response message for ListServiceConfigs method. + class ListServiceConfigsResponse + include Google::Apis::Core::Hashable + + # The list of service configuration resources. + # Corresponds to the JSON property `serviceConfigs` + # @return [Array] + attr_accessor :service_configs + + # The token of the next page of results. + # Corresponds to the JSON property `nextPageToken` + # @return [String] + attr_accessor :next_page_token + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @service_configs = args[:service_configs] if args.key?(:service_configs) + @next_page_token = args[:next_page_token] if args.key?(:next_page_token) end end @@ -3860,31 +4205,6 @@ module Google end end - # Response message for ListServiceConfigs method. - class ListServiceConfigsResponse - include Google::Apis::Core::Hashable - - # The token of the next page of results. - # Corresponds to the JSON property `nextPageToken` - # @return [String] - attr_accessor :next_page_token - - # The list of service configuration resources. - # Corresponds to the JSON property `serviceConfigs` - # @return [Array] - attr_accessor :service_configs - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @next_page_token = args[:next_page_token] if args.key?(:next_page_token) - @service_configs = args[:service_configs] if args.key?(:service_configs) - end - end - # `Backend` defines the backend configuration for a service. class Backend include Google::Apis::Core::Hashable @@ -3989,12 +4309,6 @@ module Google class SubmitConfigSourceRequest include Google::Apis::Core::Hashable - # Represents a source file which is used to generate the service configuration - # defined by `google.api.Service`. - # Corresponds to the JSON property `configSource` - # @return [Google::Apis::ServicemanagementV1::ConfigSource] - attr_accessor :config_source - # Optional. If set, this will result in the generation of a # `google.api.Service` configuration based on the `ConfigSource` provided, # but the generated config and the sources will NOT be persisted. @@ -4003,14 +4317,20 @@ module Google attr_accessor :validate_only alias_method :validate_only?, :validate_only + # Represents a source file which is used to generate the service configuration + # defined by `google.api.Service`. + # Corresponds to the JSON property `configSource` + # @return [Google::Apis::ServicemanagementV1::ConfigSource] + attr_accessor :config_source + def initialize(**args) update!(**args) end # Update properties of this object def update!(**args) - @config_source = args[:config_source] if args.key?(:config_source) @validate_only = args[:validate_only] if args.key?(:validate_only) + @config_source = args[:config_source] if args.key?(:config_source) end end @@ -4018,6 +4338,16 @@ module Google class DocumentationRule include Google::Apis::Core::Hashable + # The selector is a comma-separated list of patterns. Each pattern is a + # qualified name of the element which may end in "*", indicating a wildcard. + # Wildcards are only allowed at the end and for a whole component of the + # qualified name, i.e. "foo.*" is ok, but not "foo.b*" or "foo.*.bar". To + # specify a default for all applicable elements, the whole pattern "*" + # is used. + # Corresponds to the JSON property `selector` + # @return [String] + attr_accessor :selector + # Description of the selected API(s). # Corresponds to the JSON property `description` # @return [String] @@ -4029,25 +4359,15 @@ module Google # @return [String] attr_accessor :deprecation_description - # The selector is a comma-separated list of patterns. Each pattern is a - # qualified name of the element which may end in "*", indicating a wildcard. - # Wildcards are only allowed at the end and for a whole component of the - # qualified name, i.e. "foo.*" is ok, but not "foo.b*" or "foo.*.bar". To - # specify a default for all applicable elements, the whole pattern "*" - # is used. - # Corresponds to the JSON property `selector` - # @return [String] - attr_accessor :selector - def initialize(**args) update!(**args) end # Update properties of this object def update!(**args) + @selector = args[:selector] if args.key?(:selector) @description = args[:description] if args.key?(:description) @deprecation_description = args[:deprecation_description] if args.key?(:deprecation_description) - @selector = args[:selector] if args.key?(:selector) end end @@ -4082,11 +4402,6 @@ module Google class ContextRule include Google::Apis::Core::Hashable - # A list of full type names of requested contexts. - # Corresponds to the JSON property `requested` - # @return [Array] - attr_accessor :requested - # Selects the methods to which this rule applies. # Refer to selector for syntax details. # Corresponds to the JSON property `selector` @@ -4098,15 +4413,20 @@ module Google # @return [Array] attr_accessor :provided + # A list of full type names of requested contexts. + # Corresponds to the JSON property `requested` + # @return [Array] + attr_accessor :requested + def initialize(**args) update!(**args) end # Update properties of this object def update!(**args) - @requested = args[:requested] if args.key?(:requested) @selector = args[:selector] if args.key?(:selector) @provided = args[:provided] if args.key?(:provided) + @requested = args[:requested] if args.key?(:requested) end end @@ -4129,23 +4449,39 @@ module Google class MetricDescriptor include Google::Apis::Core::Hashable + # The metric type, including its DNS name prefix. The type is not + # URL-encoded. All user-defined custom metric types have the DNS name + # `custom.googleapis.com`. Metric types should use a natural hierarchical + # grouping. For example: + # "custom.googleapis.com/invoice/paid/amount" + # "appengine.googleapis.com/http/server/response_latencies" + # Corresponds to the JSON property `type` + # @return [String] + attr_accessor :type + + # Whether the measurement is an integer, a floating-point number, etc. + # Some combinations of `metric_kind` and `value_type` might not be supported. + # Corresponds to the JSON property `valueType` + # @return [String] + attr_accessor :value_type + # Whether the metric records instantaneous values, changes to a value, etc. # Some combinations of `metric_kind` and `value_type` might not be supported. # Corresponds to the JSON property `metricKind` # @return [String] attr_accessor :metric_kind - # A detailed description of the metric, which can be used in documentation. - # Corresponds to the JSON property `description` - # @return [String] - attr_accessor :description - # A concise name for the metric, which can be displayed in user interfaces. # Use sentence case without an ending period, for example "Request count". # Corresponds to the JSON property `displayName` # @return [String] attr_accessor :display_name + # A detailed description of the metric, which can be used in documentation. + # Corresponds to the JSON property `description` + # @return [String] + attr_accessor :description + # The unit in which the metric value is reported. It is only applicable # if the `value_type` is `INT64`, `DOUBLE`, or `DISTRIBUTION`. The # supported units are a subset of [The Unified Code for Units of @@ -4222,36 +4558,20 @@ module Google # @return [String] attr_accessor :name - # The metric type, including its DNS name prefix. The type is not - # URL-encoded. All user-defined custom metric types have the DNS name - # `custom.googleapis.com`. Metric types should use a natural hierarchical - # grouping. For example: - # "custom.googleapis.com/invoice/paid/amount" - # "appengine.googleapis.com/http/server/response_latencies" - # Corresponds to the JSON property `type` - # @return [String] - attr_accessor :type - - # Whether the measurement is an integer, a floating-point number, etc. - # Some combinations of `metric_kind` and `value_type` might not be supported. - # Corresponds to the JSON property `valueType` - # @return [String] - attr_accessor :value_type - def initialize(**args) update!(**args) end # Update properties of this object def update!(**args) + @type = args[:type] if args.key?(:type) + @value_type = args[:value_type] if args.key?(:value_type) @metric_kind = args[:metric_kind] if args.key?(:metric_kind) - @description = args[:description] if args.key?(:description) @display_name = args[:display_name] if args.key?(:display_name) + @description = args[:description] if args.key?(:description) @unit = args[:unit] if args.key?(:unit) @labels = args[:labels] if args.key?(:labels) @name = args[:name] if args.key?(:name) - @type = args[:type] if args.key?(:type) - @value_type = args[:value_type] if args.key?(:value_type) end end @@ -4318,11 +4638,6 @@ module Google class Endpoint include Google::Apis::Core::Hashable - # The list of APIs served by this endpoint. - # Corresponds to the JSON property `apis` - # @return [Array] - attr_accessor :apis - # DEPRECATED: This field is no longer supported. Instead of using aliases, # please specify multiple google.api.Endpoint for each of the intented # alias. @@ -4342,6 +4657,11 @@ module Google attr_accessor :allow_cors alias_method :allow_cors?, :allow_cors + # The canonical name of this endpoint. + # Corresponds to the JSON property `name` + # @return [String] + attr_accessor :name + # The specification of an Internet routable address of API frontend that will # handle requests to this [API Endpoint](https://cloud.google.com/apis/design/ # glossary). @@ -4351,28 +4671,28 @@ module Google # @return [String] attr_accessor :target - # The canonical name of this endpoint. - # Corresponds to the JSON property `name` - # @return [String] - attr_accessor :name - # The list of features enabled on this endpoint. # Corresponds to the JSON property `features` # @return [Array] attr_accessor :features + # The list of APIs served by this endpoint. + # Corresponds to the JSON property `apis` + # @return [Array] + attr_accessor :apis + def initialize(**args) update!(**args) end # Update properties of this object def update!(**args) - @apis = args[:apis] if args.key?(:apis) @aliases = args[:aliases] if args.key?(:aliases) @allow_cors = args[:allow_cors] if args.key?(:allow_cors) - @target = args[:target] if args.key?(:target) @name = args[:name] if args.key?(:name) + @target = args[:target] if args.key?(:target) @features = args[:features] if args.key?(:features) + @apis = args[:apis] if args.key?(:apis) end end @@ -4412,6 +4732,39 @@ module Google end end + # Response message for `TestIamPermissions` method. + class TestIamPermissionsResponse + include Google::Apis::Core::Hashable + + # A subset of `TestPermissionsRequest.permissions` that the caller is + # allowed. + # Corresponds to the JSON property `permissions` + # @return [Array] + attr_accessor :permissions + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @permissions = args[:permissions] if args.key?(:permissions) + end + end + + # Request message for `GetIamPolicy` method. + class GetIamPolicyRequest + include Google::Apis::Core::Hashable + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + end + end + # Configuration controlling usage of a service. class Usage include Google::Apis::Core::Hashable @@ -4452,39 +4805,6 @@ module Google end end - # Request message for `GetIamPolicy` method. - class GetIamPolicyRequest - include Google::Apis::Core::Hashable - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - end - end - - # Response message for `TestIamPermissions` method. - class TestIamPermissionsResponse - include Google::Apis::Core::Hashable - - # A subset of `TestPermissionsRequest.permissions` that the caller is - # allowed. - # Corresponds to the JSON property `permissions` - # @return [Array] - attr_accessor :permissions - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @permissions = args[:permissions] if args.key?(:permissions) - end - end - # `Context` defines which contexts an API requests. # Example: # context: @@ -4521,18 +4841,6 @@ module Google class Rule include Google::Apis::Core::Hashable - # A permission is a string of form '..' - # (e.g., 'storage.buckets.list'). A value of '*' matches all permissions, - # and a verb part of '*' (e.g., 'storage.buckets.*') matches all verbs. - # Corresponds to the JSON property `permissions` - # @return [Array] - attr_accessor :permissions - - # Required - # Corresponds to the JSON property `action` - # @return [String] - attr_accessor :action - # If one or more 'not_in' clauses are specified, the rule matches # if the PRINCIPAL/AUTHORITY_SELECTOR is in none of the entries. # The format for in and not_in entries is the same as for members in a @@ -4563,19 +4871,31 @@ module Google # @return [Array] attr_accessor :in + # A permission is a string of form '..' + # (e.g., 'storage.buckets.list'). A value of '*' matches all permissions, + # and a verb part of '*' (e.g., 'storage.buckets.*') matches all verbs. + # Corresponds to the JSON property `permissions` + # @return [Array] + attr_accessor :permissions + + # Required + # Corresponds to the JSON property `action` + # @return [String] + attr_accessor :action + def initialize(**args) update!(**args) end # Update properties of this object def update!(**args) - @permissions = args[:permissions] if args.key?(:permissions) - @action = args[:action] if args.key?(:action) @not_in = args[:not_in] if args.key?(:not_in) @description = args[:description] if args.key?(:description) @conditions = args[:conditions] if args.key?(:conditions) @log_config = args[:log_config] if args.key?(:log_config) @in = args[:in] if args.key?(:in) + @permissions = args[:permissions] if args.key?(:permissions) + @action = args[:action] if args.key?(:action) end end @@ -4583,11 +4903,6 @@ module Google class LogConfig include Google::Apis::Core::Hashable - # Options for counters - # Corresponds to the JSON property `counter` - # @return [Google::Apis::ServicemanagementV1::CounterOptions] - attr_accessor :counter - # Write a Data Access (Gin) log # Corresponds to the JSON property `dataAccess` # @return [Google::Apis::ServicemanagementV1::DataAccessOptions] @@ -4598,335 +4913,20 @@ module Google # @return [Google::Apis::ServicemanagementV1::CloudAuditOptions] attr_accessor :cloud_audit + # Options for counters + # Corresponds to the JSON property `counter` + # @return [Google::Apis::ServicemanagementV1::CounterOptions] + attr_accessor :counter + def initialize(**args) update!(**args) end # Update properties of this object def update!(**args) - @counter = args[:counter] if args.key?(:counter) @data_access = args[:data_access] if args.key?(:data_access) @cloud_audit = args[:cloud_audit] if args.key?(:cloud_audit) - end - end - - # A description of a log type. Example in YAML format: - # - name: library.googleapis.com/activity_history - # description: The history of borrowing and returning library items. - # display_name: Activity - # labels: - # - key: /customer_id - # description: Identifier of a library customer - class LogDescriptor - include Google::Apis::Core::Hashable - - # The name of the log. It must be less than 512 characters long and can - # include the following characters: upper- and lower-case alphanumeric - # characters [A-Za-z0-9], and punctuation characters including - # slash, underscore, hyphen, period [/_-.]. - # Corresponds to the JSON property `name` - # @return [String] - attr_accessor :name - - # A human-readable description of this log. This information appears in - # the documentation and can contain details. - # Corresponds to the JSON property `description` - # @return [String] - attr_accessor :description - - # The human-readable name for this log. This information appears on - # the user interface and should be concise. - # Corresponds to the JSON property `displayName` - # @return [String] - attr_accessor :display_name - - # The set of labels that are available to describe a specific log entry. - # Runtime requests that contain labels not specified here are - # considered invalid. - # Corresponds to the JSON property `labels` - # @return [Array] - attr_accessor :labels - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @name = args[:name] if args.key?(:name) - @description = args[:description] if args.key?(:description) - @display_name = args[:display_name] if args.key?(:display_name) - @labels = args[:labels] if args.key?(:labels) - end - end - - # Generic specification of a source configuration file - class ConfigFile - include Google::Apis::Core::Hashable - - # The type of configuration file this represents. - # Corresponds to the JSON property `fileType` - # @return [String] - attr_accessor :file_type - - # The bytes that constitute the file. - # Corresponds to the JSON property `fileContents` - # NOTE: Values are automatically base64 encoded/decoded in the client library. - # @return [String] - attr_accessor :file_contents - - # The file name of the configuration file (full or relative path). - # Corresponds to the JSON property `filePath` - # @return [String] - attr_accessor :file_path - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @file_type = args[:file_type] if args.key?(:file_type) - @file_contents = args[:file_contents] if args.key?(:file_contents) - @file_path = args[:file_path] if args.key?(:file_path) - end - end - - # An object that describes the schema of a MonitoredResource object using a - # type name and a set of labels. For example, the monitored resource - # descriptor for Google Compute Engine VM instances has a type of - # `"gce_instance"` and specifies the use of the labels `"instance_id"` and - # `"zone"` to identify particular VM instances. - # Different APIs can support different monitored resource types. APIs generally - # provide a `list` method that returns the monitored resource descriptors used - # by the API. - class MonitoredResourceDescriptor - include Google::Apis::Core::Hashable - - # Optional. A concise name for the monitored resource type that might be - # displayed in user interfaces. It should be a Title Cased Noun Phrase, - # without any article or other determiners. For example, - # `"Google Cloud SQL Database"`. - # Corresponds to the JSON property `displayName` - # @return [String] - attr_accessor :display_name - - # Optional. A detailed description of the monitored resource type that might - # be used in documentation. - # Corresponds to the JSON property `description` - # @return [String] - attr_accessor :description - - # Required. The monitored resource type. For example, the type - # `"cloudsql_database"` represents databases in Google Cloud SQL. - # The maximum length of this value is 256 characters. - # Corresponds to the JSON property `type` - # @return [String] - attr_accessor :type - - # Required. A set of labels used to describe instances of this monitored - # resource type. For example, an individual Google Cloud SQL database is - # identified by values for the labels `"database_id"` and `"zone"`. - # Corresponds to the JSON property `labels` - # @return [Array] - attr_accessor :labels - - # Optional. The resource name of the monitored resource descriptor: - # `"projects/`project_id`/monitoredResourceDescriptors/`type`"` where - # `type` is the value of the `type` field in this object and - # `project_id` is a project ID that provides API-specific context for - # accessing the type. APIs that do not use project information can use the - # resource name format `"monitoredResourceDescriptors/`type`"`. - # Corresponds to the JSON property `name` - # @return [String] - attr_accessor :name - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @display_name = args[:display_name] if args.key?(:display_name) - @description = args[:description] if args.key?(:description) - @type = args[:type] if args.key?(:type) - @labels = args[:labels] if args.key?(:labels) - @name = args[:name] if args.key?(:name) - end - end - - # A custom error rule. - class CustomErrorRule - include Google::Apis::Core::Hashable - - # Mark this message as possible payload in error response. Otherwise, - # objects of this type will be filtered when they appear in error payload. - # Corresponds to the JSON property `isErrorType` - # @return [Boolean] - attr_accessor :is_error_type - alias_method :is_error_type?, :is_error_type - - # Selects messages to which this rule applies. - # Refer to selector for syntax details. - # Corresponds to the JSON property `selector` - # @return [String] - attr_accessor :selector - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @is_error_type = args[:is_error_type] if args.key?(:is_error_type) - @selector = args[:selector] if args.key?(:selector) - end - end - - # Use this only for Scotty Requests. Do not use this for media support using - # Bytestream, add instead [][google.bytestream.RestByteStream] as an API to - # your configuration for Bytestream methods. - class MediaDownload - include Google::Apis::Core::Hashable - - # Whether download is enabled. - # Corresponds to the JSON property `enabled` - # @return [Boolean] - attr_accessor :enabled - alias_method :enabled?, :enabled - - # DO NOT USE THIS FIELD UNTIL THIS WARNING IS REMOVED. - # Specify name of the download service if one is used for download. - # Corresponds to the JSON property `downloadService` - # @return [String] - attr_accessor :download_service - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @enabled = args[:enabled] if args.key?(:enabled) - @download_service = args[:download_service] if args.key?(:download_service) - end - end - - # Change report associated with a particular service configuration. - # It contains a list of ConfigChanges based on the comparison between - # two service configurations. - class ChangeReport - include Google::Apis::Core::Hashable - - # List of changes between two service configurations. - # The changes will be alphabetically sorted based on the identifier - # of each change. - # A ConfigChange identifier is a dot separated path to the configuration. - # Example: visibility.rules[selector='LibraryService.CreateBook'].restriction - # Corresponds to the JSON property `configChanges` - # @return [Array] - attr_accessor :config_changes - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @config_changes = args[:config_changes] if args.key?(:config_changes) - end - end - - # Request message for DisableService method. - class DisableServiceRequest - include Google::Apis::Core::Hashable - - # The identity of consumer resource which service disablement will be - # applied to. - # The Google Service Management implementation accepts the following - # forms: - # - "project:" - # Note: this is made compatible with - # google.api.servicecontrol.v1.Operation.consumer_id. - # Corresponds to the JSON property `consumerId` - # @return [String] - attr_accessor :consumer_id - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @consumer_id = args[:consumer_id] if args.key?(:consumer_id) - end - end - - # Response message for SubmitConfigSource method. - class SubmitConfigSourceResponse - include Google::Apis::Core::Hashable - - # `Service` is the root object of Google service configuration schema. It - # describes basic information about a service, such as the name and the - # title, and delegates other aspects to sub-sections. Each sub-section is - # either a proto message or a repeated proto message that configures a - # specific aspect, such as auth. See each proto message definition for details. - # Example: - # type: google.api.Service - # config_version: 3 - # name: calendar.googleapis.com - # title: Google Calendar API - # apis: - # - name: google.calendar.v3.Calendar - # authentication: - # providers: - # - id: google_calendar_auth - # jwks_uri: https://www.googleapis.com/oauth2/v1/certs - # issuer: https://securetoken.google.com - # rules: - # - selector: "*" - # requirements: - # provider_id: google_calendar_auth - # Corresponds to the JSON property `serviceConfig` - # @return [Google::Apis::ServicemanagementV1::Service] - attr_accessor :service_config - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @service_config = args[:service_config] if args.key?(:service_config) - end - end - - # Use this only for Scotty Requests. Do not use this for media support using - # Bytestream, add instead [][google.bytestream.RestByteStream] as an API to - # your configuration for Bytestream methods. - class MediaUpload - include Google::Apis::Core::Hashable - - # DO NOT USE THIS FIELD UNTIL THIS WARNING IS REMOVED. - # Specify name of the upload service if one is used for upload. - # Corresponds to the JSON property `uploadService` - # @return [String] - attr_accessor :upload_service - - # Whether upload is enabled. - # Corresponds to the JSON property `enabled` - # @return [Boolean] - attr_accessor :enabled - alias_method :enabled?, :enabled - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @upload_service = args[:upload_service] if args.key?(:upload_service) - @enabled = args[:enabled] if args.key?(:enabled) + @counter = args[:counter] if args.key?(:counter) end end end diff --git a/generated/google/apis/servicemanagement_v1/representations.rb b/generated/google/apis/servicemanagement_v1/representations.rb index 9ca4ea34e..1310e6b03 100644 --- a/generated/google/apis/servicemanagement_v1/representations.rb +++ b/generated/google/apis/servicemanagement_v1/representations.rb @@ -22,6 +22,60 @@ module Google module Apis module ServicemanagementV1 + class LogDescriptor + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class ConfigFile + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class MonitoredResourceDescriptor + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class CustomErrorRule + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class MediaDownload + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class ChangeReport + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class DisableServiceRequest + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class SubmitConfigSourceResponse + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class MediaUpload + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + class Advice class Representation < Google::Apis::Core::JsonRepresentation; end @@ -76,19 +130,13 @@ module Google include Google::Apis::Core::JsonObjectSupport end - class BackendRule - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - class AuthenticationRule class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end - class UndeleteServiceResponse + class BackendRule class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport @@ -100,6 +148,12 @@ module Google include Google::Apis::Core::JsonObjectSupport end + class UndeleteServiceResponse + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + class Api class Representation < Google::Apis::Core::JsonRepresentation; end @@ -172,13 +226,13 @@ module Google include Google::Apis::Core::JsonObjectSupport end - class OperationMetadata + class CustomHttpPattern class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end - class CustomHttpPattern + class OperationMetadata class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport @@ -292,13 +346,13 @@ module Google include Google::Apis::Core::JsonObjectSupport end - class ConfigRef + class ListServiceRolloutsResponse class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end - class ListServiceRolloutsResponse + class ConfigRef class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport @@ -352,13 +406,13 @@ module Google include Google::Apis::Core::JsonObjectSupport end - class Monitoring + class Field class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end - class Field + class Monitoring class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport @@ -376,13 +430,13 @@ module Google include Google::Apis::Core::JsonObjectSupport end - class Diagnostic + class EnableServiceRequest class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end - class EnableServiceRequest + class Diagnostic class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport @@ -406,13 +460,13 @@ module Google include Google::Apis::Core::JsonObjectSupport end - class Experimental + class ListServiceConfigsResponse class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end - class ListServiceConfigsResponse + class Experimental class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport @@ -490,7 +544,7 @@ module Google include Google::Apis::Core::JsonObjectSupport end - class Usage + class TestIamPermissionsResponse class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport @@ -502,7 +556,7 @@ module Google include Google::Apis::Core::JsonObjectSupport end - class TestIamPermissionsResponse + class Usage class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport @@ -527,57 +581,82 @@ module Google end class LogDescriptor - class Representation < Google::Apis::Core::JsonRepresentation; end + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :labels, as: 'labels', class: Google::Apis::ServicemanagementV1::LabelDescriptor, decorator: Google::Apis::ServicemanagementV1::LabelDescriptor::Representation - include Google::Apis::Core::JsonObjectSupport + property :name, as: 'name' + property :description, as: 'description' + property :display_name, as: 'displayName' + end end class ConfigFile - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :file_type, as: 'fileType' + property :file_contents, :base64 => true, as: 'fileContents' + property :file_path, as: 'filePath' + end end class MonitoredResourceDescriptor - class Representation < Google::Apis::Core::JsonRepresentation; end + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :display_name, as: 'displayName' + property :description, as: 'description' + property :type, as: 'type' + collection :labels, as: 'labels', class: Google::Apis::ServicemanagementV1::LabelDescriptor, decorator: Google::Apis::ServicemanagementV1::LabelDescriptor::Representation - include Google::Apis::Core::JsonObjectSupport + property :name, as: 'name' + end end class CustomErrorRule - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :selector, as: 'selector' + property :is_error_type, as: 'isErrorType' + end end class MediaDownload - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :enabled, as: 'enabled' + property :download_service, as: 'downloadService' + end end class ChangeReport - class Representation < Google::Apis::Core::JsonRepresentation; end + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :config_changes, as: 'configChanges', class: Google::Apis::ServicemanagementV1::ConfigChange, decorator: Google::Apis::ServicemanagementV1::ConfigChange::Representation - include Google::Apis::Core::JsonObjectSupport + end end class DisableServiceRequest - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :consumer_id, as: 'consumerId' + end end class SubmitConfigSourceResponse - class Representation < Google::Apis::Core::JsonRepresentation; end + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :service_config, as: 'serviceConfig', class: Google::Apis::ServicemanagementV1::Service, decorator: Google::Apis::ServicemanagementV1::Service::Representation - include Google::Apis::Core::JsonObjectSupport + end end class MediaUpload - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :upload_service, as: 'uploadService' + property :enabled, as: 'enabled' + end end class Advice @@ -590,16 +669,16 @@ module Google class ManagedService # @private class Representation < Google::Apis::Core::JsonRepresentation - property :service_name, as: 'serviceName' property :producer_project_id, as: 'producerProjectId' + property :service_name, as: 'serviceName' end end class UsageRule # @private class Representation < Google::Apis::Core::JsonRepresentation - property :selector, as: 'selector' property :allow_unregistered_calls, as: 'allowUnregisteredCalls' + property :selector, as: 'selector' end end @@ -634,12 +713,12 @@ module Google class Condition # @private class Representation < Google::Apis::Core::JsonRepresentation - property :sys, as: 'sys' - property :value, as: 'value' - property :iam, as: 'iam' collection :values, as: 'values' + property :iam, as: 'iam' property :op, as: 'op' property :svc, as: 'svc' + property :sys, as: 'sys' + property :value, as: 'value' end end @@ -660,6 +739,18 @@ module Google end end + class AuthenticationRule + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :oauth, as: 'oauth', class: Google::Apis::ServicemanagementV1::OAuthRequirements, decorator: Google::Apis::ServicemanagementV1::OAuthRequirements::Representation + + collection :requirements, as: 'requirements', class: Google::Apis::ServicemanagementV1::AuthRequirement, decorator: Google::Apis::ServicemanagementV1::AuthRequirement::Representation + + property :selector, as: 'selector' + property :allow_without_credential, as: 'allowWithoutCredential' + end + end + class BackendRule # @private class Representation < Google::Apis::Core::JsonRepresentation @@ -669,15 +760,18 @@ module Google end end - class AuthenticationRule + class Policy # @private class Representation < Google::Apis::Core::JsonRepresentation - collection :requirements, as: 'requirements', class: Google::Apis::ServicemanagementV1::AuthRequirement, decorator: Google::Apis::ServicemanagementV1::AuthRequirement::Representation + collection :rules, as: 'rules', class: Google::Apis::ServicemanagementV1::Rule, decorator: Google::Apis::ServicemanagementV1::Rule::Representation - property :selector, as: 'selector' - property :allow_without_credential, as: 'allowWithoutCredential' - property :oauth, as: 'oauth', class: Google::Apis::ServicemanagementV1::OAuthRequirements, decorator: Google::Apis::ServicemanagementV1::OAuthRequirements::Representation + property :version, as: 'version' + collection :audit_configs, as: 'auditConfigs', class: Google::Apis::ServicemanagementV1::AuditConfig, decorator: Google::Apis::ServicemanagementV1::AuditConfig::Representation + collection :bindings, as: 'bindings', class: Google::Apis::ServicemanagementV1::Binding, decorator: Google::Apis::ServicemanagementV1::Binding::Representation + + property :etag, :base64 => true, as: 'etag' + property :iam_owned, as: 'iamOwned' end end @@ -689,21 +783,6 @@ module Google end end - class Policy - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :etag, :base64 => true, as: 'etag' - property :iam_owned, as: 'iamOwned' - collection :rules, as: 'rules', class: Google::Apis::ServicemanagementV1::Rule, decorator: Google::Apis::ServicemanagementV1::Rule::Representation - - property :version, as: 'version' - collection :audit_configs, as: 'auditConfigs', class: Google::Apis::ServicemanagementV1::AuditConfig, decorator: Google::Apis::ServicemanagementV1::AuditConfig::Representation - - collection :bindings, as: 'bindings', class: Google::Apis::ServicemanagementV1::Binding, decorator: Google::Apis::ServicemanagementV1::Binding::Representation - - end - end - class Api # @private class Representation < Google::Apis::Core::JsonRepresentation @@ -738,10 +817,10 @@ module Google class Authentication # @private class Representation < Google::Apis::Core::JsonRepresentation - collection :rules, as: 'rules', class: Google::Apis::ServicemanagementV1::AuthenticationRule, decorator: Google::Apis::ServicemanagementV1::AuthenticationRule::Representation - collection :providers, as: 'providers', class: Google::Apis::ServicemanagementV1::AuthProvider, decorator: Google::Apis::ServicemanagementV1::AuthProvider::Representation + collection :rules, as: 'rules', class: Google::Apis::ServicemanagementV1::AuthenticationRule, decorator: Google::Apis::ServicemanagementV1::AuthenticationRule::Representation + end end @@ -770,9 +849,9 @@ module Google class Status # @private class Representation < Google::Apis::Core::JsonRepresentation + property :message, as: 'message' collection :details, as: 'details' property :code, as: 'code' - property :message, as: 'message' end end @@ -787,16 +866,43 @@ module Google class AuthProvider # @private class Representation < Google::Apis::Core::JsonRepresentation + property :audiences, as: 'audiences' property :id, as: 'id' property :issuer, as: 'issuer' property :jwks_uri, as: 'jwksUri' - property :audiences, as: 'audiences' end end class Service # @private class Representation < Google::Apis::Core::JsonRepresentation + property :documentation, as: 'documentation', class: Google::Apis::ServicemanagementV1::Documentation, decorator: Google::Apis::ServicemanagementV1::Documentation::Representation + + property :logging, as: 'logging', class: Google::Apis::ServicemanagementV1::Logging, decorator: Google::Apis::ServicemanagementV1::Logging::Representation + + collection :monitored_resources, as: 'monitoredResources', class: Google::Apis::ServicemanagementV1::MonitoredResourceDescriptor, decorator: Google::Apis::ServicemanagementV1::MonitoredResourceDescriptor::Representation + + collection :enums, as: 'enums', class: Google::Apis::ServicemanagementV1::Enum, decorator: Google::Apis::ServicemanagementV1::Enum::Representation + + property :context, as: 'context', class: Google::Apis::ServicemanagementV1::Context, decorator: Google::Apis::ServicemanagementV1::Context::Representation + + property :id, as: 'id' + property :usage, as: 'usage', class: Google::Apis::ServicemanagementV1::Usage, decorator: Google::Apis::ServicemanagementV1::Usage::Representation + + collection :metrics, as: 'metrics', class: Google::Apis::ServicemanagementV1::MetricDescriptor, decorator: Google::Apis::ServicemanagementV1::MetricDescriptor::Representation + + property :authentication, as: 'authentication', class: Google::Apis::ServicemanagementV1::Authentication, decorator: Google::Apis::ServicemanagementV1::Authentication::Representation + + property :experimental, as: 'experimental', class: Google::Apis::ServicemanagementV1::Experimental, decorator: Google::Apis::ServicemanagementV1::Experimental::Representation + + property :control, as: 'control', class: Google::Apis::ServicemanagementV1::Control, decorator: Google::Apis::ServicemanagementV1::Control::Representation + + property :config_version, as: 'configVersion' + property :monitoring, as: 'monitoring', class: Google::Apis::ServicemanagementV1::Monitoring, decorator: Google::Apis::ServicemanagementV1::Monitoring::Representation + + collection :system_types, as: 'systemTypes', class: Google::Apis::ServicemanagementV1::Type, decorator: Google::Apis::ServicemanagementV1::Type::Representation + + property :producer_project_id, as: 'producerProjectId' property :visibility, as: 'visibility', class: Google::Apis::ServicemanagementV1::Visibility, decorator: Google::Apis::ServicemanagementV1::Visibility::Representation property :quota, as: 'quota', class: Google::Apis::ServicemanagementV1::Quota, decorator: Google::Apis::ServicemanagementV1::Quota::Representation @@ -817,36 +923,9 @@ module Google property :http, as: 'http', class: Google::Apis::ServicemanagementV1::Http, decorator: Google::Apis::ServicemanagementV1::Http::Representation - property :backend, as: 'backend', class: Google::Apis::ServicemanagementV1::Backend, decorator: Google::Apis::ServicemanagementV1::Backend::Representation - property :system_parameters, as: 'systemParameters', class: Google::Apis::ServicemanagementV1::SystemParameters, decorator: Google::Apis::ServicemanagementV1::SystemParameters::Representation - property :documentation, as: 'documentation', class: Google::Apis::ServicemanagementV1::Documentation, decorator: Google::Apis::ServicemanagementV1::Documentation::Representation - - collection :monitored_resources, as: 'monitoredResources', class: Google::Apis::ServicemanagementV1::MonitoredResourceDescriptor, decorator: Google::Apis::ServicemanagementV1::MonitoredResourceDescriptor::Representation - - property :logging, as: 'logging', class: Google::Apis::ServicemanagementV1::Logging, decorator: Google::Apis::ServicemanagementV1::Logging::Representation - - collection :enums, as: 'enums', class: Google::Apis::ServicemanagementV1::Enum, decorator: Google::Apis::ServicemanagementV1::Enum::Representation - - property :context, as: 'context', class: Google::Apis::ServicemanagementV1::Context, decorator: Google::Apis::ServicemanagementV1::Context::Representation - - property :id, as: 'id' - property :usage, as: 'usage', class: Google::Apis::ServicemanagementV1::Usage, decorator: Google::Apis::ServicemanagementV1::Usage::Representation - - collection :metrics, as: 'metrics', class: Google::Apis::ServicemanagementV1::MetricDescriptor, decorator: Google::Apis::ServicemanagementV1::MetricDescriptor::Representation - - property :authentication, as: 'authentication', class: Google::Apis::ServicemanagementV1::Authentication, decorator: Google::Apis::ServicemanagementV1::Authentication::Representation - - property :experimental, as: 'experimental', class: Google::Apis::ServicemanagementV1::Experimental, decorator: Google::Apis::ServicemanagementV1::Experimental::Representation - - property :control, as: 'control', class: Google::Apis::ServicemanagementV1::Control, decorator: Google::Apis::ServicemanagementV1::Control::Representation - - property :config_version, as: 'configVersion' - property :monitoring, as: 'monitoring', class: Google::Apis::ServicemanagementV1::Monitoring, decorator: Google::Apis::ServicemanagementV1::Monitoring::Representation - - property :producer_project_id, as: 'producerProjectId' - collection :system_types, as: 'systemTypes', class: Google::Apis::ServicemanagementV1::Type, decorator: Google::Apis::ServicemanagementV1::Type::Representation + property :backend, as: 'backend', class: Google::Apis::ServicemanagementV1::Backend, decorator: Google::Apis::ServicemanagementV1::Backend::Representation end end @@ -864,20 +943,9 @@ module Google class ListOperationsResponse # @private class Representation < Google::Apis::Core::JsonRepresentation - property :next_page_token, as: 'nextPageToken' collection :operations, as: 'operations', class: Google::Apis::ServicemanagementV1::Operation, decorator: Google::Apis::ServicemanagementV1::Operation::Representation - end - end - - class OperationMetadata - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :start_time, as: 'startTime' - collection :resource_names, as: 'resourceNames' - collection :steps, as: 'steps', class: Google::Apis::ServicemanagementV1::Step, decorator: Google::Apis::ServicemanagementV1::Step::Representation - - property :progress_percentage, as: 'progressPercentage' + property :next_page_token, as: 'nextPageToken' end end @@ -889,12 +957,23 @@ module Google end end + class OperationMetadata + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :resource_names, as: 'resourceNames' + collection :steps, as: 'steps', class: Google::Apis::ServicemanagementV1::Step, decorator: Google::Apis::ServicemanagementV1::Step::Representation + + property :progress_percentage, as: 'progressPercentage' + property :start_time, as: 'startTime' + end + end + class SystemParameterRule # @private class Representation < Google::Apis::Core::JsonRepresentation - property :selector, as: 'selector' collection :parameters, as: 'parameters', class: Google::Apis::ServicemanagementV1::SystemParameter, decorator: Google::Apis::ServicemanagementV1::SystemParameter::Representation + property :selector, as: 'selector' end end @@ -904,8 +983,8 @@ module Google property :selector, as: 'selector' property :custom, as: 'custom', class: Google::Apis::ServicemanagementV1::CustomHttpPattern, decorator: Google::Apis::ServicemanagementV1::CustomHttpPattern::Representation - property :get, as: 'get' property :patch, as: 'patch' + property :get, as: 'get' property :put, as: 'put' property :delete, as: 'delete' property :body, as: 'body' @@ -977,9 +1056,9 @@ module Google class Rollout # @private class Representation < Google::Apis::Core::JsonRepresentation - property :created_by, as: 'createdBy' property :traffic_percent_strategy, as: 'trafficPercentStrategy', class: Google::Apis::ServicemanagementV1::TrafficPercentStrategy, decorator: Google::Apis::ServicemanagementV1::TrafficPercentStrategy::Representation + property :created_by, as: 'createdBy' property :rollout_id, as: 'rolloutId' property :delete_service_strategy, as: 'deleteServiceStrategy', class: Google::Apis::ServicemanagementV1::DeleteServiceStrategy, decorator: Google::Apis::ServicemanagementV1::DeleteServiceStrategy::Representation @@ -1049,36 +1128,29 @@ module Google class MethodProp # @private class Representation < Google::Apis::Core::JsonRepresentation - property :request_streaming, as: 'requestStreaming' - property :syntax, as: 'syntax' property :response_type_url, as: 'responseTypeUrl' collection :options, as: 'options', class: Google::Apis::ServicemanagementV1::Option, decorator: Google::Apis::ServicemanagementV1::Option::Representation property :response_streaming, as: 'responseStreaming' property :name, as: 'name' property :request_type_url, as: 'requestTypeUrl' + property :request_streaming, as: 'requestStreaming' + property :syntax, as: 'syntax' end end class QuotaLimit # @private class Representation < Google::Apis::Core::JsonRepresentation - property :unit, as: 'unit' - property :max_limit, as: 'maxLimit' - property :name, as: 'name' - property :free_tier, as: 'freeTier' property :duration, as: 'duration' - property :default_limit, as: 'defaultLimit' - property :display_name, as: 'displayName' - property :description, as: 'description' + property :free_tier, :numeric_string => true, as: 'freeTier' + property :default_limit, :numeric_string => true, as: 'defaultLimit' property :metric, as: 'metric' + property :description, as: 'description' + property :display_name, as: 'displayName' hash :values, as: 'values' - end - end - - class ConfigRef - # @private - class Representation < Google::Apis::Core::JsonRepresentation + property :unit, as: 'unit' + property :max_limit, :numeric_string => true, as: 'maxLimit' property :name, as: 'name' end end @@ -1092,6 +1164,13 @@ module Google end end + class ConfigRef + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :name, as: 'name' + end + end + class Mixin # @private class Representation < Google::Apis::Core::JsonRepresentation @@ -1103,20 +1182,20 @@ module Google class FlowOperationMetadata # @private class Representation < Google::Apis::Core::JsonRepresentation - property :flow_name, as: 'flowName' - collection :resource_names, as: 'resourceNames' property :cancel_state, as: 'cancelState' property :deadline, as: 'deadline' property :start_time, as: 'startTime' + property :flow_name, as: 'flowName' + collection :resource_names, as: 'resourceNames' end end class CustomError # @private class Representation < Google::Apis::Core::JsonRepresentation + collection :types, as: 'types' collection :rules, as: 'rules', class: Google::Apis::ServicemanagementV1::CustomErrorRule, decorator: Google::Apis::ServicemanagementV1::CustomErrorRule::Representation - collection :types, as: 'types' end end @@ -1160,6 +1239,23 @@ module Google end end + class Field + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :name, as: 'name' + property :type_url, as: 'typeUrl' + property :number, as: 'number' + property :json_name, as: 'jsonName' + property :kind, as: 'kind' + collection :options, as: 'options', class: Google::Apis::ServicemanagementV1::Option, decorator: Google::Apis::ServicemanagementV1::Option::Representation + + property :oneof_index, as: 'oneofIndex' + property :cardinality, as: 'cardinality' + property :packed, as: 'packed' + property :default_value, as: 'defaultValue' + end + end + class Monitoring # @private class Representation < Google::Apis::Core::JsonRepresentation @@ -1170,23 +1266,6 @@ module Google end end - class Field - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :kind, as: 'kind' - property :json_name, as: 'jsonName' - collection :options, as: 'options', class: Google::Apis::ServicemanagementV1::Option, decorator: Google::Apis::ServicemanagementV1::Option::Representation - - property :oneof_index, as: 'oneofIndex' - property :packed, as: 'packed' - property :cardinality, as: 'cardinality' - property :default_value, as: 'defaultValue' - property :name, as: 'name' - property :type_url, as: 'typeUrl' - property :number, as: 'number' - end - end - class TestIamPermissionsRequest # @private class Representation < Google::Apis::Core::JsonRepresentation @@ -1197,23 +1276,14 @@ module Google class Enum # @private class Representation < Google::Apis::Core::JsonRepresentation + property :name, as: 'name' + collection :enumvalue, as: 'enumvalue', class: Google::Apis::ServicemanagementV1::EnumValue, decorator: Google::Apis::ServicemanagementV1::EnumValue::Representation + collection :options, as: 'options', class: Google::Apis::ServicemanagementV1::Option, decorator: Google::Apis::ServicemanagementV1::Option::Representation property :source_context, as: 'sourceContext', class: Google::Apis::ServicemanagementV1::SourceContext, decorator: Google::Apis::ServicemanagementV1::SourceContext::Representation property :syntax, as: 'syntax' - property :name, as: 'name' - collection :enumvalue, as: 'enumvalue', class: Google::Apis::ServicemanagementV1::EnumValue, decorator: Google::Apis::ServicemanagementV1::EnumValue::Representation - - end - end - - class Diagnostic - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :location, as: 'location' - property :kind, as: 'kind' - property :message, as: 'message' end end @@ -1224,6 +1294,15 @@ module Google end end + class Diagnostic + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :message, as: 'message' + property :location, as: 'location' + property :kind, as: 'kind' + end + end + class LabelDescriptor # @private class Representation < Google::Apis::Core::JsonRepresentation @@ -1236,34 +1315,26 @@ module Google class GenerateConfigReportResponse # @private class Representation < Google::Apis::Core::JsonRepresentation - property :service_name, as: 'serviceName' - collection :change_reports, as: 'changeReports', class: Google::Apis::ServicemanagementV1::ChangeReport, decorator: Google::Apis::ServicemanagementV1::ChangeReport::Representation - property :id, as: 'id' collection :diagnostics, as: 'diagnostics', class: Google::Apis::ServicemanagementV1::Diagnostic, decorator: Google::Apis::ServicemanagementV1::Diagnostic::Representation + property :service_name, as: 'serviceName' + collection :change_reports, as: 'changeReports', class: Google::Apis::ServicemanagementV1::ChangeReport, decorator: Google::Apis::ServicemanagementV1::ChangeReport::Representation + end end class Type # @private class Representation < Google::Apis::Core::JsonRepresentation - collection :oneofs, as: 'oneofs' - property :source_context, as: 'sourceContext', class: Google::Apis::ServicemanagementV1::SourceContext, decorator: Google::Apis::ServicemanagementV1::SourceContext::Representation - - property :syntax, as: 'syntax' - collection :options, as: 'options', class: Google::Apis::ServicemanagementV1::Option, decorator: Google::Apis::ServicemanagementV1::Option::Representation - collection :fields, as: 'fields', class: Google::Apis::ServicemanagementV1::Field, decorator: Google::Apis::ServicemanagementV1::Field::Representation property :name, as: 'name' - end - end + collection :oneofs, as: 'oneofs' + property :syntax, as: 'syntax' + property :source_context, as: 'sourceContext', class: Google::Apis::ServicemanagementV1::SourceContext, decorator: Google::Apis::ServicemanagementV1::SourceContext::Representation - class Experimental - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :authorization, as: 'authorization', class: Google::Apis::ServicemanagementV1::AuthorizationConfig, decorator: Google::Apis::ServicemanagementV1::AuthorizationConfig::Representation + collection :options, as: 'options', class: Google::Apis::ServicemanagementV1::Option, decorator: Google::Apis::ServicemanagementV1::Option::Representation end end @@ -1271,9 +1342,17 @@ module Google class ListServiceConfigsResponse # @private class Representation < Google::Apis::Core::JsonRepresentation - property :next_page_token, as: 'nextPageToken' collection :service_configs, as: 'serviceConfigs', class: Google::Apis::ServicemanagementV1::Service, decorator: Google::Apis::ServicemanagementV1::Service::Representation + property :next_page_token, as: 'nextPageToken' + end + end + + class Experimental + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :authorization, as: 'authorization', class: Google::Apis::ServicemanagementV1::AuthorizationConfig, decorator: Google::Apis::ServicemanagementV1::AuthorizationConfig::Representation + end end @@ -1298,18 +1377,18 @@ module Google class SubmitConfigSourceRequest # @private class Representation < Google::Apis::Core::JsonRepresentation + property :validate_only, as: 'validateOnly' property :config_source, as: 'configSource', class: Google::Apis::ServicemanagementV1::ConfigSource, decorator: Google::Apis::ServicemanagementV1::ConfigSource::Representation - property :validate_only, as: 'validateOnly' end end class DocumentationRule # @private class Representation < Google::Apis::Core::JsonRepresentation + property :selector, as: 'selector' property :description, as: 'description' property :deprecation_description, as: 'deprecationDescription' - property :selector, as: 'selector' end end @@ -1323,9 +1402,9 @@ module Google class ContextRule # @private class Representation < Google::Apis::Core::JsonRepresentation - collection :requested, as: 'requested' property :selector, as: 'selector' collection :provided, as: 'provided' + collection :requested, as: 'requested' end end @@ -1338,15 +1417,15 @@ module Google class MetricDescriptor # @private class Representation < Google::Apis::Core::JsonRepresentation + property :type, as: 'type' + property :value_type, as: 'valueType' property :metric_kind, as: 'metricKind' - property :description, as: 'description' property :display_name, as: 'displayName' + property :description, as: 'description' property :unit, as: 'unit' collection :labels, as: 'labels', class: Google::Apis::ServicemanagementV1::LabelDescriptor, decorator: Google::Apis::ServicemanagementV1::LabelDescriptor::Representation property :name, as: 'name' - property :type, as: 'type' - property :value_type, as: 'valueType' end end @@ -1369,12 +1448,12 @@ module Google class Endpoint # @private class Representation < Google::Apis::Core::JsonRepresentation - collection :apis, as: 'apis' collection :aliases, as: 'aliases' property :allow_cors, as: 'allowCors' - property :target, as: 'target' property :name, as: 'name' + property :target, as: 'target' collection :features, as: 'features' + collection :apis, as: 'apis' end end @@ -1385,13 +1464,10 @@ module Google end end - class Usage + class TestIamPermissionsResponse # @private class Representation < Google::Apis::Core::JsonRepresentation - property :producer_notification_channel, as: 'producerNotificationChannel' - collection :rules, as: 'rules', class: Google::Apis::ServicemanagementV1::UsageRule, decorator: Google::Apis::ServicemanagementV1::UsageRule::Representation - - collection :requirements, as: 'requirements' + collection :permissions, as: 'permissions' end end @@ -1401,10 +1477,13 @@ module Google end end - class TestIamPermissionsResponse + class Usage # @private class Representation < Google::Apis::Core::JsonRepresentation - collection :permissions, as: 'permissions' + property :producer_notification_channel, as: 'producerNotificationChannel' + collection :rules, as: 'rules', class: Google::Apis::ServicemanagementV1::UsageRule, decorator: Google::Apis::ServicemanagementV1::UsageRule::Representation + + collection :requirements, as: 'requirements' end end @@ -1419,8 +1498,6 @@ module Google class Rule # @private class Representation < Google::Apis::Core::JsonRepresentation - collection :permissions, as: 'permissions' - property :action, as: 'action' collection :not_in, as: 'notIn' property :description, as: 'description' collection :conditions, as: 'conditions', class: Google::Apis::ServicemanagementV1::Condition, decorator: Google::Apis::ServicemanagementV1::Condition::Representation @@ -1428,97 +1505,20 @@ module Google collection :log_config, as: 'logConfig', class: Google::Apis::ServicemanagementV1::LogConfig, decorator: Google::Apis::ServicemanagementV1::LogConfig::Representation collection :in, as: 'in' + collection :permissions, as: 'permissions' + property :action, as: 'action' end end class LogConfig # @private class Representation < Google::Apis::Core::JsonRepresentation - property :counter, as: 'counter', class: Google::Apis::ServicemanagementV1::CounterOptions, decorator: Google::Apis::ServicemanagementV1::CounterOptions::Representation - property :data_access, as: 'dataAccess', class: Google::Apis::ServicemanagementV1::DataAccessOptions, decorator: Google::Apis::ServicemanagementV1::DataAccessOptions::Representation property :cloud_audit, as: 'cloudAudit', class: Google::Apis::ServicemanagementV1::CloudAuditOptions, decorator: Google::Apis::ServicemanagementV1::CloudAuditOptions::Representation - end - end + property :counter, as: 'counter', class: Google::Apis::ServicemanagementV1::CounterOptions, decorator: Google::Apis::ServicemanagementV1::CounterOptions::Representation - class LogDescriptor - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :name, as: 'name' - property :description, as: 'description' - property :display_name, as: 'displayName' - collection :labels, as: 'labels', class: Google::Apis::ServicemanagementV1::LabelDescriptor, decorator: Google::Apis::ServicemanagementV1::LabelDescriptor::Representation - - end - end - - class ConfigFile - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :file_type, as: 'fileType' - property :file_contents, :base64 => true, as: 'fileContents' - property :file_path, as: 'filePath' - end - end - - class MonitoredResourceDescriptor - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :display_name, as: 'displayName' - property :description, as: 'description' - property :type, as: 'type' - collection :labels, as: 'labels', class: Google::Apis::ServicemanagementV1::LabelDescriptor, decorator: Google::Apis::ServicemanagementV1::LabelDescriptor::Representation - - property :name, as: 'name' - end - end - - class CustomErrorRule - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :is_error_type, as: 'isErrorType' - property :selector, as: 'selector' - end - end - - class MediaDownload - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :enabled, as: 'enabled' - property :download_service, as: 'downloadService' - end - end - - class ChangeReport - # @private - class Representation < Google::Apis::Core::JsonRepresentation - collection :config_changes, as: 'configChanges', class: Google::Apis::ServicemanagementV1::ConfigChange, decorator: Google::Apis::ServicemanagementV1::ConfigChange::Representation - - end - end - - class DisableServiceRequest - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :consumer_id, as: 'consumerId' - end - end - - class SubmitConfigSourceResponse - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :service_config, as: 'serviceConfig', class: Google::Apis::ServicemanagementV1::Service, decorator: Google::Apis::ServicemanagementV1::Service::Representation - - end - end - - class MediaUpload - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :upload_service, as: 'uploadService' - property :enabled, as: 'enabled' end end end diff --git a/generated/google/apis/servicemanagement_v1/service.rb b/generated/google/apis/servicemanagement_v1/service.rb index 10be73be3..8fb247250 100644 --- a/generated/google/apis/servicemanagement_v1/service.rb +++ b/generated/google/apis/servicemanagement_v1/service.rb @@ -46,12 +46,70 @@ module Google def initialize super('https://servicemanagement.googleapis.com/', '') + @batch_path = 'batch' end - # Creates a new managed service. - # Please note one producer project can own no more than 20 services. - # Operation - # @param [Google::Apis::ServicemanagementV1::ManagedService] managed_service_object + # Lists service operations that match the specified filter in the request. + # @param [String] filter + # A string for filtering Operations. + # The following filter fields are supported: + # * serviceName: Required. Only `=` operator is allowed. + # * startTime: The time this job was started, in ISO 8601 format. + # Allowed operators are `>=`, `>`, `<=`, and `<`. + # * status: Can be `done`, `in_progress`, or `failed`. Allowed + # operators are `=`, and `!=`. + # Filter expression supports conjunction (AND) and disjunction (OR) + # logical operators. However, the serviceName restriction must be at the + # top-level and can only be combined with other restrictions via the AND + # logical operator. + # Examples: + # * `serviceName=`some-service`.googleapis.com` + # * `serviceName=`some-service`.googleapis.com AND startTime>="2017-02-01"` + # * `serviceName=`some-service`.googleapis.com AND status=done` + # * `serviceName=`some-service`.googleapis.com AND (status=done OR startTime>=" + # 2017-02-01")` + # @param [String] name + # Not used. + # @param [String] page_token + # The standard list page token. + # @param [Fixnum] page_size + # The maximum number of operations to return. If unspecified, defaults to + # 50. The maximum value is 100. + # @param [String] quota_user + # Available to use for quota purposes for server-side applications. Can be any + # arbitrary string assigned to a user, but should not exceed 40 characters. + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::ServicemanagementV1::ListOperationsResponse] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::ServicemanagementV1::ListOperationsResponse] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def list_operations(filter: nil, name: nil, page_token: nil, page_size: nil, quota_user: nil, fields: nil, options: nil, &block) + command = make_simple_command(:get, 'v1/operations', options) + command.response_representation = Google::Apis::ServicemanagementV1::ListOperationsResponse::Representation + command.response_class = Google::Apis::ServicemanagementV1::ListOperationsResponse + command.query['filter'] = filter unless filter.nil? + command.query['name'] = name unless name.nil? + command.query['pageToken'] = page_token unless page_token.nil? + command.query['pageSize'] = page_size unless page_size.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + command.query['fields'] = fields unless fields.nil? + execute_or_queue_command(command, &block) + end + + # Gets the latest state of a long-running operation. Clients can use this + # method to poll the operation result at intervals as recommended by the API + # service. + # @param [String] name + # The name of the operation resource. # @param [String] quota_user # Available to use for quota purposes for server-side applications. Can be any # arbitrary string assigned to a user, but should not exceed 40 characters. @@ -69,51 +127,11 @@ module Google # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required - def create_service(managed_service_object = nil, quota_user: nil, fields: nil, options: nil, &block) - command = make_simple_command(:post, 'v1/services', options) - command.request_representation = Google::Apis::ServicemanagementV1::ManagedService::Representation - command.request_object = managed_service_object + def get_operation(name, quota_user: nil, fields: nil, options: nil, &block) + command = make_simple_command(:get, 'v1/{+name}', options) command.response_representation = Google::Apis::ServicemanagementV1::Operation::Representation command.response_class = Google::Apis::ServicemanagementV1::Operation - command.query['quotaUser'] = quota_user unless quota_user.nil? - command.query['fields'] = fields unless fields.nil? - execute_or_queue_command(command, &block) - end - - # Generates and returns a report (errors, warnings and changes from - # existing configurations) associated with - # GenerateConfigReportRequest.new_value - # If GenerateConfigReportRequest.old_value is specified, - # GenerateConfigReportRequest will contain a single ChangeReport based on the - # comparison between GenerateConfigReportRequest.new_value and - # GenerateConfigReportRequest.old_value. - # If GenerateConfigReportRequest.old_value is not specified, this method - # will compare GenerateConfigReportRequest.new_value with the last pushed - # service configuration. - # @param [Google::Apis::ServicemanagementV1::GenerateConfigReportRequest] generate_config_report_request_object - # @param [String] quota_user - # Available to use for quota purposes for server-side applications. Can be any - # arbitrary string assigned to a user, but should not exceed 40 characters. - # @param [String] fields - # Selector specifying which fields to include in a partial response. - # @param [Google::Apis::RequestOptions] options - # Request-specific options - # - # @yield [result, err] Result & error if block supplied - # @yieldparam result [Google::Apis::ServicemanagementV1::GenerateConfigReportResponse] parsed result object - # @yieldparam err [StandardError] error object if request failed - # - # @return [Google::Apis::ServicemanagementV1::GenerateConfigReportResponse] - # - # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried - # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification - # @raise [Google::Apis::AuthorizationError] Authorization is required - def generate_service_config_report(generate_config_report_request_object = nil, quota_user: nil, fields: nil, options: nil, &block) - command = make_simple_command(:post, 'v1/services:generateConfigReport', options) - command.request_representation = Google::Apis::ServicemanagementV1::GenerateConfigReportRequest::Representation - command.request_object = generate_config_report_request_object - command.response_representation = Google::Apis::ServicemanagementV1::GenerateConfigReportResponse::Representation - command.response_class = Google::Apis::ServicemanagementV1::GenerateConfigReportResponse + command.params['name'] = name unless name.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['fields'] = fields unless fields.nil? execute_or_queue_command(command, &block) @@ -493,18 +511,10 @@ module Google execute_or_queue_command(command, &block) end - # Creates a new service configuration rollout. Based on rollout, the - # Google Service Management will roll out the service configurations to - # different backend services. For example, the logging configuration will be - # pushed to Google Cloud Logging. - # Please note that any previous pending and running Rollouts and associated - # Operations will be automatically cancelled so that the latest Rollout will - # not be blocked by previous Rollouts. - # Operation - # @param [String] service_name - # The name of the service. See the [overview](/service-management/overview) - # for naming requirements. For example: `example.googleapis.com`. - # @param [Google::Apis::ServicemanagementV1::Rollout] rollout_object + # Creates a new managed service. + # Please note one producer project can own no more than 20 services. + # Operation + # @param [Google::Apis::ServicemanagementV1::ManagedService] managed_service_object # @param [String] quota_user # Available to use for quota purposes for server-side applications. Can be any # arbitrary string assigned to a user, but should not exceed 40 characters. @@ -522,27 +532,28 @@ module Google # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required - def create_service_rollout(service_name, rollout_object = nil, quota_user: nil, fields: nil, options: nil, &block) - command = make_simple_command(:post, 'v1/services/{serviceName}/rollouts', options) - command.request_representation = Google::Apis::ServicemanagementV1::Rollout::Representation - command.request_object = rollout_object + def create_service(managed_service_object = nil, quota_user: nil, fields: nil, options: nil, &block) + command = make_simple_command(:post, 'v1/services', options) + command.request_representation = Google::Apis::ServicemanagementV1::ManagedService::Representation + command.request_object = managed_service_object command.response_representation = Google::Apis::ServicemanagementV1::Operation::Representation command.response_class = Google::Apis::ServicemanagementV1::Operation - command.params['serviceName'] = service_name unless service_name.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['fields'] = fields unless fields.nil? execute_or_queue_command(command, &block) end - # Lists the history of the service configuration rollouts for a managed - # service, from the newest to the oldest. - # @param [String] service_name - # The name of the service. See the [overview](/service-management/overview) - # for naming requirements. For example: `example.googleapis.com`. - # @param [String] page_token - # The token of the page to retrieve. - # @param [Fixnum] page_size - # The max number of items to include in the response list. + # Generates and returns a report (errors, warnings and changes from + # existing configurations) associated with + # GenerateConfigReportRequest.new_value + # If GenerateConfigReportRequest.old_value is specified, + # GenerateConfigReportRequest will contain a single ChangeReport based on the + # comparison between GenerateConfigReportRequest.new_value and + # GenerateConfigReportRequest.old_value. + # If GenerateConfigReportRequest.old_value is not specified, this method + # will compare GenerateConfigReportRequest.new_value with the last pushed + # service configuration. + # @param [Google::Apis::ServicemanagementV1::GenerateConfigReportRequest] generate_config_report_request_object # @param [String] quota_user # Available to use for quota purposes for server-side applications. Can be any # arbitrary string assigned to a user, but should not exceed 40 characters. @@ -552,96 +563,20 @@ module Google # Request-specific options # # @yield [result, err] Result & error if block supplied - # @yieldparam result [Google::Apis::ServicemanagementV1::ListServiceRolloutsResponse] parsed result object + # @yieldparam result [Google::Apis::ServicemanagementV1::GenerateConfigReportResponse] parsed result object # @yieldparam err [StandardError] error object if request failed # - # @return [Google::Apis::ServicemanagementV1::ListServiceRolloutsResponse] + # @return [Google::Apis::ServicemanagementV1::GenerateConfigReportResponse] # # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required - def list_service_rollouts(service_name, page_token: nil, page_size: nil, quota_user: nil, fields: nil, options: nil, &block) - command = make_simple_command(:get, 'v1/services/{serviceName}/rollouts', options) - command.response_representation = Google::Apis::ServicemanagementV1::ListServiceRolloutsResponse::Representation - command.response_class = Google::Apis::ServicemanagementV1::ListServiceRolloutsResponse - command.params['serviceName'] = service_name unless service_name.nil? - command.query['pageToken'] = page_token unless page_token.nil? - command.query['pageSize'] = page_size unless page_size.nil? - command.query['quotaUser'] = quota_user unless quota_user.nil? - command.query['fields'] = fields unless fields.nil? - execute_or_queue_command(command, &block) - end - - # Gets a service configuration rollout. - # @param [String] service_name - # The name of the service. See the [overview](/service-management/overview) - # for naming requirements. For example: `example.googleapis.com`. - # @param [String] rollout_id - # The id of the rollout resource. - # @param [String] quota_user - # Available to use for quota purposes for server-side applications. Can be any - # arbitrary string assigned to a user, but should not exceed 40 characters. - # @param [String] fields - # Selector specifying which fields to include in a partial response. - # @param [Google::Apis::RequestOptions] options - # Request-specific options - # - # @yield [result, err] Result & error if block supplied - # @yieldparam result [Google::Apis::ServicemanagementV1::Rollout] parsed result object - # @yieldparam err [StandardError] error object if request failed - # - # @return [Google::Apis::ServicemanagementV1::Rollout] - # - # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried - # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification - # @raise [Google::Apis::AuthorizationError] Authorization is required - def get_service_rollout(service_name, rollout_id, quota_user: nil, fields: nil, options: nil, &block) - command = make_simple_command(:get, 'v1/services/{serviceName}/rollouts/{rolloutId}', options) - command.response_representation = Google::Apis::ServicemanagementV1::Rollout::Representation - command.response_class = Google::Apis::ServicemanagementV1::Rollout - command.params['serviceName'] = service_name unless service_name.nil? - command.params['rolloutId'] = rollout_id unless rollout_id.nil? - command.query['quotaUser'] = quota_user unless quota_user.nil? - command.query['fields'] = fields unless fields.nil? - execute_or_queue_command(command, &block) - end - - # Creates a new service configuration (version) for a managed service based - # on - # user-supplied configuration source files (for example: OpenAPI - # Specification). This method stores the source configurations as well as the - # generated service configuration. To rollout the service configuration to - # other services, - # please call CreateServiceRollout. - # Operation - # @param [String] service_name - # The name of the service. See the [overview](/service-management/overview) - # for naming requirements. For example: `example.googleapis.com`. - # @param [Google::Apis::ServicemanagementV1::SubmitConfigSourceRequest] submit_config_source_request_object - # @param [String] quota_user - # Available to use for quota purposes for server-side applications. Can be any - # arbitrary string assigned to a user, but should not exceed 40 characters. - # @param [String] fields - # Selector specifying which fields to include in a partial response. - # @param [Google::Apis::RequestOptions] options - # Request-specific options - # - # @yield [result, err] Result & error if block supplied - # @yieldparam result [Google::Apis::ServicemanagementV1::Operation] parsed result object - # @yieldparam err [StandardError] error object if request failed - # - # @return [Google::Apis::ServicemanagementV1::Operation] - # - # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried - # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification - # @raise [Google::Apis::AuthorizationError] Authorization is required - def submit_config_source(service_name, submit_config_source_request_object = nil, quota_user: nil, fields: nil, options: nil, &block) - command = make_simple_command(:post, 'v1/services/{serviceName}/configs:submit', options) - command.request_representation = Google::Apis::ServicemanagementV1::SubmitConfigSourceRequest::Representation - command.request_object = submit_config_source_request_object - command.response_representation = Google::Apis::ServicemanagementV1::Operation::Representation - command.response_class = Google::Apis::ServicemanagementV1::Operation - command.params['serviceName'] = service_name unless service_name.nil? + def generate_service_config_report(generate_config_report_request_object = nil, quota_user: nil, fields: nil, options: nil, &block) + command = make_simple_command(:post, 'v1/services:generateConfigReport', options) + command.request_representation = Google::Apis::ServicemanagementV1::GenerateConfigReportRequest::Representation + command.request_object = generate_config_report_request_object + command.response_representation = Google::Apis::ServicemanagementV1::GenerateConfigReportResponse::Representation + command.response_class = Google::Apis::ServicemanagementV1::GenerateConfigReportResponse command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['fields'] = fields unless fields.nil? execute_or_queue_command(command, &block) @@ -760,67 +695,18 @@ module Google execute_or_queue_command(command, &block) end - # Lists service operations that match the specified filter in the request. - # @param [String] name - # Not used. - # @param [String] page_token - # The standard list page token. - # @param [Fixnum] page_size - # The maximum number of operations to return. If unspecified, defaults to - # 50. The maximum value is 100. - # @param [String] filter - # A string for filtering Operations. - # The following filter fields are supported: - # * serviceName: Required. Only `=` operator is allowed. - # * startTime: The time this job was started, in ISO 8601 format. - # Allowed operators are `>=`, `>`, `<=`, and `<`. - # * status: Can be `done`, `in_progress`, or `failed`. Allowed - # operators are `=`, and `!=`. - # Filter expression supports conjunction (AND) and disjunction (OR) - # logical operators. However, the serviceName restriction must be at the - # top-level and can only be combined with other restrictions via the AND - # logical operator. - # Examples: - # * `serviceName=`some-service`.googleapis.com` - # * `serviceName=`some-service`.googleapis.com AND startTime>="2017-02-01"` - # * `serviceName=`some-service`.googleapis.com AND status=done` - # * `serviceName=`some-service`.googleapis.com AND (status=done OR startTime>=" - # 2017-02-01")` - # @param [String] quota_user - # Available to use for quota purposes for server-side applications. Can be any - # arbitrary string assigned to a user, but should not exceed 40 characters. - # @param [String] fields - # Selector specifying which fields to include in a partial response. - # @param [Google::Apis::RequestOptions] options - # Request-specific options - # - # @yield [result, err] Result & error if block supplied - # @yieldparam result [Google::Apis::ServicemanagementV1::ListOperationsResponse] parsed result object - # @yieldparam err [StandardError] error object if request failed - # - # @return [Google::Apis::ServicemanagementV1::ListOperationsResponse] - # - # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried - # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification - # @raise [Google::Apis::AuthorizationError] Authorization is required - def list_operations(name: nil, page_token: nil, page_size: nil, filter: nil, quota_user: nil, fields: nil, options: nil, &block) - command = make_simple_command(:get, 'v1/operations', options) - command.response_representation = Google::Apis::ServicemanagementV1::ListOperationsResponse::Representation - command.response_class = Google::Apis::ServicemanagementV1::ListOperationsResponse - command.query['name'] = name unless name.nil? - command.query['pageToken'] = page_token unless page_token.nil? - command.query['pageSize'] = page_size unless page_size.nil? - command.query['filter'] = filter unless filter.nil? - command.query['quotaUser'] = quota_user unless quota_user.nil? - command.query['fields'] = fields unless fields.nil? - execute_or_queue_command(command, &block) - end - - # Gets the latest state of a long-running operation. Clients can use this - # method to poll the operation result at intervals as recommended by the API - # service. - # @param [String] name - # The name of the operation resource. + # Creates a new service configuration (version) for a managed service based + # on + # user-supplied configuration source files (for example: OpenAPI + # Specification). This method stores the source configurations as well as the + # generated service configuration. To rollout the service configuration to + # other services, + # please call CreateServiceRollout. + # Operation + # @param [String] service_name + # The name of the service. See the [overview](/service-management/overview) + # for naming requirements. For example: `example.googleapis.com`. + # @param [Google::Apis::ServicemanagementV1::SubmitConfigSourceRequest] submit_config_source_request_object # @param [String] quota_user # Available to use for quota purposes for server-side applications. Can be any # arbitrary string assigned to a user, but should not exceed 40 characters. @@ -838,11 +724,126 @@ module Google # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required - def get_operation(name, quota_user: nil, fields: nil, options: nil, &block) - command = make_simple_command(:get, 'v1/{+name}', options) + def submit_config_source(service_name, submit_config_source_request_object = nil, quota_user: nil, fields: nil, options: nil, &block) + command = make_simple_command(:post, 'v1/services/{serviceName}/configs:submit', options) + command.request_representation = Google::Apis::ServicemanagementV1::SubmitConfigSourceRequest::Representation + command.request_object = submit_config_source_request_object command.response_representation = Google::Apis::ServicemanagementV1::Operation::Representation command.response_class = Google::Apis::ServicemanagementV1::Operation - command.params['name'] = name unless name.nil? + command.params['serviceName'] = service_name unless service_name.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + command.query['fields'] = fields unless fields.nil? + execute_or_queue_command(command, &block) + end + + # Lists the history of the service configuration rollouts for a managed + # service, from the newest to the oldest. + # @param [String] service_name + # The name of the service. See the [overview](/service-management/overview) + # for naming requirements. For example: `example.googleapis.com`. + # @param [String] page_token + # The token of the page to retrieve. + # @param [Fixnum] page_size + # The max number of items to include in the response list. + # @param [String] quota_user + # Available to use for quota purposes for server-side applications. Can be any + # arbitrary string assigned to a user, but should not exceed 40 characters. + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::ServicemanagementV1::ListServiceRolloutsResponse] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::ServicemanagementV1::ListServiceRolloutsResponse] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def list_service_rollouts(service_name, page_token: nil, page_size: nil, quota_user: nil, fields: nil, options: nil, &block) + command = make_simple_command(:get, 'v1/services/{serviceName}/rollouts', options) + command.response_representation = Google::Apis::ServicemanagementV1::ListServiceRolloutsResponse::Representation + command.response_class = Google::Apis::ServicemanagementV1::ListServiceRolloutsResponse + command.params['serviceName'] = service_name unless service_name.nil? + command.query['pageToken'] = page_token unless page_token.nil? + command.query['pageSize'] = page_size unless page_size.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + command.query['fields'] = fields unless fields.nil? + execute_or_queue_command(command, &block) + end + + # Gets a service configuration rollout. + # @param [String] service_name + # The name of the service. See the [overview](/service-management/overview) + # for naming requirements. For example: `example.googleapis.com`. + # @param [String] rollout_id + # The id of the rollout resource. + # @param [String] quota_user + # Available to use for quota purposes for server-side applications. Can be any + # arbitrary string assigned to a user, but should not exceed 40 characters. + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::ServicemanagementV1::Rollout] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::ServicemanagementV1::Rollout] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def get_service_rollout(service_name, rollout_id, quota_user: nil, fields: nil, options: nil, &block) + command = make_simple_command(:get, 'v1/services/{serviceName}/rollouts/{rolloutId}', options) + command.response_representation = Google::Apis::ServicemanagementV1::Rollout::Representation + command.response_class = Google::Apis::ServicemanagementV1::Rollout + command.params['serviceName'] = service_name unless service_name.nil? + command.params['rolloutId'] = rollout_id unless rollout_id.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + command.query['fields'] = fields unless fields.nil? + execute_or_queue_command(command, &block) + end + + # Creates a new service configuration rollout. Based on rollout, the + # Google Service Management will roll out the service configurations to + # different backend services. For example, the logging configuration will be + # pushed to Google Cloud Logging. + # Please note that any previous pending and running Rollouts and associated + # Operations will be automatically cancelled so that the latest Rollout will + # not be blocked by previous Rollouts. + # Operation + # @param [String] service_name + # The name of the service. See the [overview](/service-management/overview) + # for naming requirements. For example: `example.googleapis.com`. + # @param [Google::Apis::ServicemanagementV1::Rollout] rollout_object + # @param [String] quota_user + # Available to use for quota purposes for server-side applications. Can be any + # arbitrary string assigned to a user, but should not exceed 40 characters. + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::ServicemanagementV1::Operation] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::ServicemanagementV1::Operation] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def create_service_rollout(service_name, rollout_object = nil, quota_user: nil, fields: nil, options: nil, &block) + command = make_simple_command(:post, 'v1/services/{serviceName}/rollouts', options) + command.request_representation = Google::Apis::ServicemanagementV1::Rollout::Representation + command.request_object = rollout_object + command.response_representation = Google::Apis::ServicemanagementV1::Operation::Representation + command.response_class = Google::Apis::ServicemanagementV1::Operation + command.params['serviceName'] = service_name unless service_name.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['fields'] = fields unless fields.nil? execute_or_queue_command(command, &block) diff --git a/generated/google/apis/serviceuser_v1.rb b/generated/google/apis/serviceuser_v1.rb index b9489049d..b396afd37 100644 --- a/generated/google/apis/serviceuser_v1.rb +++ b/generated/google/apis/serviceuser_v1.rb @@ -29,14 +29,14 @@ module Google VERSION = 'V1' REVISION = '20170327' - # View and manage your data across Google Cloud Platform services - AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform' - # Manage your Google API service configuration AUTH_SERVICE_MANAGEMENT = 'https://www.googleapis.com/auth/service.management' # View your data across Google Cloud Platform services AUTH_CLOUD_PLATFORM_READ_ONLY = 'https://www.googleapis.com/auth/cloud-platform.read-only' + + # View and manage your data across Google Cloud Platform services + AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform' end end end diff --git a/generated/google/apis/serviceuser_v1/classes.rb b/generated/google/apis/serviceuser_v1/classes.rb index 71bb657fb..3b74fcec1 100644 --- a/generated/google/apis/serviceuser_v1/classes.rb +++ b/generated/google/apis/serviceuser_v1/classes.rb @@ -22,6 +22,464 @@ module Google module Apis module ServiceuserV1 + # A documentation rule provides information about individual API elements. + class DocumentationRule + include Google::Apis::Core::Hashable + + # Description of the selected API(s). + # Corresponds to the JSON property `description` + # @return [String] + attr_accessor :description + + # Deprecation description of the selected element(s). It can be provided if an + # element is marked as `deprecated`. + # Corresponds to the JSON property `deprecationDescription` + # @return [String] + attr_accessor :deprecation_description + + # The selector is a comma-separated list of patterns. Each pattern is a + # qualified name of the element which may end in "*", indicating a wildcard. + # Wildcards are only allowed at the end and for a whole component of the + # qualified name, i.e. "foo.*" is ok, but not "foo.b*" or "foo.*.bar". To + # specify a default for all applicable elements, the whole pattern "*" + # is used. + # Corresponds to the JSON property `selector` + # @return [String] + attr_accessor :selector + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @description = args[:description] if args.key?(:description) + @deprecation_description = args[:deprecation_description] if args.key?(:deprecation_description) + @selector = args[:selector] if args.key?(:selector) + end + end + + # Configuration of authorization. + # This section determines the authorization provider, if unspecified, then no + # authorization check will be done. + # Example: + # experimental: + # authorization: + # provider: firebaserules.googleapis.com + class AuthorizationConfig + include Google::Apis::Core::Hashable + + # The name of the authorization provider, such as + # firebaserules.googleapis.com. + # Corresponds to the JSON property `provider` + # @return [String] + attr_accessor :provider + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @provider = args[:provider] if args.key?(:provider) + end + end + + # A context rule provides information about the context for an individual API + # element. + class ContextRule + include Google::Apis::Core::Hashable + + # A list of full type names of requested contexts. + # Corresponds to the JSON property `requested` + # @return [Array] + attr_accessor :requested + + # Selects the methods to which this rule applies. + # Refer to selector for syntax details. + # Corresponds to the JSON property `selector` + # @return [String] + attr_accessor :selector + + # A list of full type names of provided contexts. + # Corresponds to the JSON property `provided` + # @return [Array] + attr_accessor :provided + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @requested = args[:requested] if args.key?(:requested) + @selector = args[:selector] if args.key?(:selector) + @provided = args[:provided] if args.key?(:provided) + end + end + + # Defines a metric type and its schema. Once a metric descriptor is created, + # deleting or altering it stops data collection and makes the metric type's + # existing data unusable. + class MetricDescriptor + include Google::Apis::Core::Hashable + + # The resource name of the metric descriptor. Depending on the + # implementation, the name typically includes: (1) the parent resource name + # that defines the scope of the metric type or of its data; and (2) the + # metric's URL-encoded type, which also appears in the `type` field of this + # descriptor. For example, following is the resource name of a custom + # metric within the GCP project `my-project-id`: + # "projects/my-project-id/metricDescriptors/custom.googleapis.com%2Finvoice% + # 2Fpaid%2Famount" + # Corresponds to the JSON property `name` + # @return [String] + attr_accessor :name + + # The metric type, including its DNS name prefix. The type is not + # URL-encoded. All user-defined custom metric types have the DNS name + # `custom.googleapis.com`. Metric types should use a natural hierarchical + # grouping. For example: + # "custom.googleapis.com/invoice/paid/amount" + # "appengine.googleapis.com/http/server/response_latencies" + # Corresponds to the JSON property `type` + # @return [String] + attr_accessor :type + + # Whether the measurement is an integer, a floating-point number, etc. + # Some combinations of `metric_kind` and `value_type` might not be supported. + # Corresponds to the JSON property `valueType` + # @return [String] + attr_accessor :value_type + + # Whether the metric records instantaneous values, changes to a value, etc. + # Some combinations of `metric_kind` and `value_type` might not be supported. + # Corresponds to the JSON property `metricKind` + # @return [String] + attr_accessor :metric_kind + + # A detailed description of the metric, which can be used in documentation. + # Corresponds to the JSON property `description` + # @return [String] + attr_accessor :description + + # A concise name for the metric, which can be displayed in user interfaces. + # Use sentence case without an ending period, for example "Request count". + # Corresponds to the JSON property `displayName` + # @return [String] + attr_accessor :display_name + + # The unit in which the metric value is reported. It is only applicable + # if the `value_type` is `INT64`, `DOUBLE`, or `DISTRIBUTION`. The + # supported units are a subset of [The Unified Code for Units of + # Measure](http://unitsofmeasure.org/ucum.html) standard: + # **Basic units (UNIT)** + # * `bit` bit + # * `By` byte + # * `s` second + # * `min` minute + # * `h` hour + # * `d` day + # **Prefixes (PREFIX)** + # * `k` kilo (10**3) + # * `M` mega (10**6) + # * `G` giga (10**9) + # * `T` tera (10**12) + # * `P` peta (10**15) + # * `E` exa (10**18) + # * `Z` zetta (10**21) + # * `Y` yotta (10**24) + # * `m` milli (10**-3) + # * `u` micro (10**-6) + # * `n` nano (10**-9) + # * `p` pico (10**-12) + # * `f` femto (10**-15) + # * `a` atto (10**-18) + # * `z` zepto (10**-21) + # * `y` yocto (10**-24) + # * `Ki` kibi (2**10) + # * `Mi` mebi (2**20) + # * `Gi` gibi (2**30) + # * `Ti` tebi (2**40) + # **Grammar** + # The grammar includes the dimensionless unit `1`, such as `1/s`. + # The grammar also includes these connectors: + # * `/` division (as an infix operator, e.g. `1/s`). + # * `.` multiplication (as an infix operator, e.g. `GBy.d`) + # The grammar for a unit is as follows: + # Expression = Component ` "." Component ` ` "/" Component ` ; + # Component = [ PREFIX ] UNIT [ Annotation ] + # | Annotation + # | "1" + # ; + # Annotation = "`" NAME "`" ; + # Notes: + # * `Annotation` is just a comment if it follows a `UNIT` and is + # equivalent to `1` if it is used alone. For examples, + # ``requests`/s == 1/s`, `By`transmitted`/s == By/s`. + # * `NAME` is a sequence of non-blank printable ASCII characters not + # containing '`' or '`'. + # Corresponds to the JSON property `unit` + # @return [String] + attr_accessor :unit + + # The set of labels that can be used to describe a specific + # instance of this metric type. For example, the + # `appengine.googleapis.com/http/server/response_latencies` metric + # type has a label for the HTTP response code, `response_code`, so + # you can look at latencies for successful responses or just + # for responses that failed. + # Corresponds to the JSON property `labels` + # @return [Array] + attr_accessor :labels + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @name = args[:name] if args.key?(:name) + @type = args[:type] if args.key?(:type) + @value_type = args[:value_type] if args.key?(:value_type) + @metric_kind = args[:metric_kind] if args.key?(:metric_kind) + @description = args[:description] if args.key?(:description) + @display_name = args[:display_name] if args.key?(:display_name) + @unit = args[:unit] if args.key?(:unit) + @labels = args[:labels] if args.key?(:labels) + end + end + + # `SourceContext` represents information about the source of a + # protobuf element, like the file in which it is defined. + class SourceContext + include Google::Apis::Core::Hashable + + # The path-qualified name of the .proto file that contained the associated + # protobuf element. For example: `"google/protobuf/source_context.proto"`. + # Corresponds to the JSON property `fileName` + # @return [String] + attr_accessor :file_name + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @file_name = args[:file_name] if args.key?(:file_name) + end + end + + # `Endpoint` describes a network endpoint that serves a set of APIs. + # A service may expose any number of endpoints, and all endpoints share the + # same service configuration, such as quota configuration and monitoring + # configuration. + # Example service configuration: + # name: library-example.googleapis.com + # endpoints: + # # Below entry makes 'google.example.library.v1.Library' + # # API be served from endpoint address library-example.googleapis.com. + # # It also allows HTTP OPTIONS calls to be passed to the backend, for + # # it to decide whether the subsequent cross-origin request is + # # allowed to proceed. + # - name: library-example.googleapis.com + # allow_cors: true + class Endpoint + include Google::Apis::Core::Hashable + + # The list of features enabled on this endpoint. + # Corresponds to the JSON property `features` + # @return [Array] + attr_accessor :features + + # The list of APIs served by this endpoint. + # Corresponds to the JSON property `apis` + # @return [Array] + attr_accessor :apis + + # Allowing + # [CORS](https://en.wikipedia.org/wiki/Cross-origin_resource_sharing), aka + # cross-domain traffic, would allow the backends served from this endpoint to + # receive and respond to HTTP OPTIONS requests. The response will be used by + # the browser to determine whether the subsequent cross-origin request is + # allowed to proceed. + # Corresponds to the JSON property `allowCors` + # @return [Boolean] + attr_accessor :allow_cors + alias_method :allow_cors?, :allow_cors + + # DEPRECATED: This field is no longer supported. Instead of using aliases, + # please specify multiple google.api.Endpoint for each of the intented + # alias. + # Additional names that this endpoint will be hosted on. + # Corresponds to the JSON property `aliases` + # @return [Array] + attr_accessor :aliases + + # The canonical name of this endpoint. + # Corresponds to the JSON property `name` + # @return [String] + attr_accessor :name + + # The specification of an Internet routable address of API frontend that will + # handle requests to this [API Endpoint](https://cloud.google.com/apis/design/ + # glossary). + # It should be either a valid IPv4 address or a fully-qualified domain name. + # For example, "8.8.8.8" or "myservice.appspot.com". + # Corresponds to the JSON property `target` + # @return [String] + attr_accessor :target + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @features = args[:features] if args.key?(:features) + @apis = args[:apis] if args.key?(:apis) + @allow_cors = args[:allow_cors] if args.key?(:allow_cors) + @aliases = args[:aliases] if args.key?(:aliases) + @name = args[:name] if args.key?(:name) + @target = args[:target] if args.key?(:target) + end + end + + # Response message for `ListEnabledServices` method. + class ListEnabledServicesResponse + include Google::Apis::Core::Hashable + + # Services enabled for the specified parent. + # Corresponds to the JSON property `services` + # @return [Array] + attr_accessor :services + + # Token that can be passed to `ListEnabledServices` to resume a paginated + # query. + # Corresponds to the JSON property `nextPageToken` + # @return [String] + attr_accessor :next_page_token + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @services = args[:services] if args.key?(:services) + @next_page_token = args[:next_page_token] if args.key?(:next_page_token) + end + end + + # OAuth scopes are a way to define data and permissions on data. For example, + # there are scopes defined for "Read-only access to Google Calendar" and + # "Access to Cloud Platform". Users can consent to a scope for an application, + # giving it permission to access that data on their behalf. + # OAuth scope specifications should be fairly coarse grained; a user will need + # to see and understand the text description of what your scope means. + # In most cases: use one or at most two OAuth scopes for an entire family of + # products. If your product has multiple APIs, you should probably be sharing + # the OAuth scope across all of those APIs. + # When you need finer grained OAuth consent screens: talk with your product + # management about how developers will use them in practice. + # Please note that even though each of the canonical scopes is enough for a + # request to be accepted and passed to the backend, a request can still fail + # due to the backend requiring additional scopes or permissions. + class OAuthRequirements + include Google::Apis::Core::Hashable + + # The list of publicly documented OAuth scopes that are allowed access. An + # OAuth token containing any of these scopes will be accepted. + # Example: + # canonical_scopes: https://www.googleapis.com/auth/calendar, + # https://www.googleapis.com/auth/calendar.read + # Corresponds to the JSON property `canonicalScopes` + # @return [String] + attr_accessor :canonical_scopes + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @canonical_scopes = args[:canonical_scopes] if args.key?(:canonical_scopes) + end + end + + # Configuration controlling usage of a service. + class Usage + include Google::Apis::Core::Hashable + + # Requirements that must be satisfied before a consumer project can use the + # service. Each requirement is of the form /; + # for example 'serviceusage.googleapis.com/billing-enabled'. + # Corresponds to the JSON property `requirements` + # @return [Array] + attr_accessor :requirements + + # The full resource name of a channel used for sending notifications to the + # service producer. + # Google Service Management currently only supports + # [Google Cloud Pub/Sub](https://cloud.google.com/pubsub) as a notification + # channel. To use Google Cloud Pub/Sub as the channel, this must be the name + # of a Cloud Pub/Sub topic that uses the Cloud Pub/Sub topic name format + # documented in https://cloud.google.com/pubsub/docs/overview. + # Corresponds to the JSON property `producerNotificationChannel` + # @return [String] + attr_accessor :producer_notification_channel + + # A list of usage rules that apply to individual API methods. + # **NOTE:** All service configuration rules follow "last one wins" order. + # Corresponds to the JSON property `rules` + # @return [Array] + attr_accessor :rules + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @requirements = args[:requirements] if args.key?(:requirements) + @producer_notification_channel = args[:producer_notification_channel] if args.key?(:producer_notification_channel) + @rules = args[:rules] if args.key?(:rules) + end + end + + # `Context` defines which contexts an API requests. + # Example: + # context: + # rules: + # - selector: "*" + # requested: + # - google.rpc.context.ProjectContext + # - google.rpc.context.OriginContext + # The above specifies that all methods in the API request + # `google.rpc.context.ProjectContext` and + # `google.rpc.context.OriginContext`. + # Available context types are defined in package + # `google.rpc.context`. + class Context + include Google::Apis::Core::Hashable + + # A list of RPC context rules that apply to individual API methods. + # **NOTE:** All service configuration rules follow "last one wins" order. + # Corresponds to the JSON property `rules` + # @return [Array] + attr_accessor :rules + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @rules = args[:rules] if args.key?(:rules) + end + end + # A description of a log type. Example in YAML format: # - name: library.googleapis.com/activity_history # description: The history of borrowing and returning library items. @@ -32,6 +490,13 @@ module Google class LogDescriptor include Google::Apis::Core::Hashable + # The set of labels that are available to describe a specific log entry. + # Runtime requests that contain labels not specified here are + # considered invalid. + # Corresponds to the JSON property `labels` + # @return [Array] + attr_accessor :labels + # The name of the log. It must be less than 512 characters long and can # include the following characters: upper- and lower-case alphanumeric # characters [A-Za-z0-9], and punctuation characters including @@ -52,12 +517,35 @@ module Google # @return [String] attr_accessor :display_name - # The set of labels that are available to describe a specific log entry. - # Runtime requests that contain labels not specified here are - # considered invalid. - # Corresponds to the JSON property `labels` - # @return [Array] - attr_accessor :labels + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @labels = args[:labels] if args.key?(:labels) + @name = args[:name] if args.key?(:name) + @description = args[:description] if args.key?(:description) + @display_name = args[:display_name] if args.key?(:display_name) + end + end + + # A custom error rule. + class CustomErrorRule + include Google::Apis::Core::Hashable + + # Mark this message as possible payload in error response. Otherwise, + # objects of this type will be filtered when they appear in error payload. + # Corresponds to the JSON property `isErrorType` + # @return [Boolean] + attr_accessor :is_error_type + alias_method :is_error_type?, :is_error_type + + # Selects messages to which this rule applies. + # Refer to selector for syntax details. + # Corresponds to the JSON property `selector` + # @return [String] + attr_accessor :selector def initialize(**args) update!(**args) @@ -65,10 +553,8 @@ module Google # Update properties of this object def update!(**args) - @name = args[:name] if args.key?(:name) - @description = args[:description] if args.key?(:description) - @display_name = args[:display_name] if args.key?(:display_name) - @labels = args[:labels] if args.key?(:labels) + @is_error_type = args[:is_error_type] if args.key?(:is_error_type) + @selector = args[:selector] if args.key?(:selector) end end @@ -135,34 +621,6 @@ module Google end end - # A custom error rule. - class CustomErrorRule - include Google::Apis::Core::Hashable - - # Mark this message as possible payload in error response. Otherwise, - # objects of this type will be filtered when they appear in error payload. - # Corresponds to the JSON property `isErrorType` - # @return [Boolean] - attr_accessor :is_error_type - alias_method :is_error_type?, :is_error_type - - # Selects messages to which this rule applies. - # Refer to selector for syntax details. - # Corresponds to the JSON property `selector` - # @return [String] - attr_accessor :selector - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @is_error_type = args[:is_error_type] if args.key?(:is_error_type) - @selector = args[:selector] if args.key?(:selector) - end - end - # Use this only for Scotty Requests. Do not use this for media support using # Bytestream, add instead [][google.bytestream.RestByteStream] as an API to # your configuration for Bytestream methods. @@ -281,6 +739,12 @@ module Google class UsageRule include Google::Apis::Core::Hashable + # True, if the method allows unregistered calls; false otherwise. + # Corresponds to the JSON property `allowUnregisteredCalls` + # @return [Boolean] + attr_accessor :allow_unregistered_calls + alias_method :allow_unregistered_calls?, :allow_unregistered_calls + # Selects the methods to which this rule applies. Use '*' to indicate all # methods in all APIs. # Refer to selector for syntax details. @@ -288,20 +752,14 @@ module Google # @return [String] attr_accessor :selector - # True, if the method allows unregistered calls; false otherwise. - # Corresponds to the JSON property `allowUnregisteredCalls` - # @return [Boolean] - attr_accessor :allow_unregistered_calls - alias_method :allow_unregistered_calls?, :allow_unregistered_calls - def initialize(**args) update!(**args) end # Update properties of this object def update!(**args) - @selector = args[:selector] if args.key?(:selector) @allow_unregistered_calls = args[:allow_unregistered_calls] if args.key?(:allow_unregistered_calls) + @selector = args[:selector] if args.key?(:selector) end end @@ -311,6 +769,13 @@ module Google class AuthRequirement include Google::Apis::Core::Hashable + # id from authentication provider. + # Example: + # provider_id: bookstore_auth + # Corresponds to the JSON property `providerId` + # @return [String] + attr_accessor :provider_id + # NOTE: This will be deprecated soon, once AuthProvider.audiences is # implemented and accepted in all the runtime components. # The list of JWT @@ -330,21 +795,14 @@ module Google # @return [String] attr_accessor :audiences - # id from authentication provider. - # Example: - # provider_id: bookstore_auth - # Corresponds to the JSON property `providerId` - # @return [String] - attr_accessor :provider_id - def initialize(**args) update!(**args) end # Update properties of this object def update!(**args) - @audiences = args[:audiences] if args.key?(:audiences) @provider_id = args[:provider_id] if args.key?(:provider_id) + @audiences = args[:audiences] if args.key?(:audiences) end end @@ -457,39 +915,6 @@ module Google end end - # A backend rule provides configuration for an individual API element. - class BackendRule - include Google::Apis::Core::Hashable - - # The address of the API backend. - # Corresponds to the JSON property `address` - # @return [String] - attr_accessor :address - - # Selects the methods to which this rule applies. - # Refer to selector for syntax details. - # Corresponds to the JSON property `selector` - # @return [String] - attr_accessor :selector - - # The number of seconds to wait for a response from a request. The - # default depends on the deployment context. - # Corresponds to the JSON property `deadline` - # @return [Float] - attr_accessor :deadline - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @address = args[:address] if args.key?(:address) - @selector = args[:selector] if args.key?(:selector) - @deadline = args[:deadline] if args.key?(:deadline) - end - end - # Authentication rules for the service. # By default, if a method has any authentication requirements, every request # must include a valid credential matching one of the requirements. @@ -553,15 +978,47 @@ module Google end end + # A backend rule provides configuration for an individual API element. + class BackendRule + include Google::Apis::Core::Hashable + + # The address of the API backend. + # Corresponds to the JSON property `address` + # @return [String] + attr_accessor :address + + # Selects the methods to which this rule applies. + # Refer to selector for syntax details. + # Corresponds to the JSON property `selector` + # @return [String] + attr_accessor :selector + + # The number of seconds to wait for a response from a request. The + # default depends on the deployment context. + # Corresponds to the JSON property `deadline` + # @return [Float] + attr_accessor :deadline + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @address = args[:address] if args.key?(:address) + @selector = args[:selector] if args.key?(:selector) + @deadline = args[:deadline] if args.key?(:deadline) + end + end + # Api is a light-weight descriptor for a protocol buffer service. class Api include Google::Apis::Core::Hashable - # The fully qualified name of this api, including package name - # followed by the api's simple name. - # Corresponds to the JSON property `name` + # The source syntax of the service. + # Corresponds to the JSON property `syntax` # @return [String] - attr_accessor :name + attr_accessor :syntax # `SourceContext` represents information about the source of a # protobuf element, like the file in which it is defined. @@ -569,11 +1026,6 @@ module Google # @return [Google::Apis::ServiceuserV1::SourceContext] attr_accessor :source_context - # The source syntax of the service. - # Corresponds to the JSON property `syntax` - # @return [String] - attr_accessor :syntax - # A version string for this api. If specified, must have the form # `major-version.minor-version`, as in `1.10`. If the minor version # is omitted, it defaults to zero. If the entire version field is @@ -611,19 +1063,25 @@ module Google # @return [Array] attr_accessor :methods_prop + # The fully qualified name of this api, including package name + # followed by the api's simple name. + # Corresponds to the JSON property `name` + # @return [String] + attr_accessor :name + def initialize(**args) update!(**args) end # Update properties of this object def update!(**args) - @name = args[:name] if args.key?(:name) - @source_context = args[:source_context] if args.key?(:source_context) @syntax = args[:syntax] if args.key?(:syntax) + @source_context = args[:source_context] if args.key?(:source_context) @version = args[:version] if args.key?(:version) @mixins = args[:mixins] if args.key?(:mixins) @options = args[:options] if args.key?(:options) @methods_prop = args[:methods_prop] if args.key?(:methods_prop) + @name = args[:name] if args.key?(:name) end end @@ -646,7 +1104,7 @@ module Google # increased for the metric against which the quota limits are defined. # The value must not be negative. # Corresponds to the JSON property `metricCosts` - # @return [Hash] + # @return [Hash] attr_accessor :metric_costs def initialize(**args) @@ -702,14 +1160,6 @@ module Google class Operation include Google::Apis::Core::Hashable - # If the value is `false`, it means the operation is still in progress. - # If true, the operation is completed, and either `error` or `response` is - # available. - # Corresponds to the JSON property `done` - # @return [Boolean] - attr_accessor :done - alias_method :done?, :done - # The normal response of the operation in case of success. If the original # method returns no data on success, such as `Delete`, the response is # `google.protobuf.Empty`. If the original method is standard @@ -780,17 +1230,25 @@ module Google # @return [Hash] attr_accessor :metadata + # If the value is `false`, it means the operation is still in progress. + # If true, the operation is completed, and either `error` or `response` is + # available. + # Corresponds to the JSON property `done` + # @return [Boolean] + attr_accessor :done + alias_method :done?, :done + def initialize(**args) update!(**args) end # Update properties of this object def update!(**args) - @done = args[:done] if args.key?(:done) @response = args[:response] if args.key?(:response) @name = args[:name] if args.key?(:name) @error = args[:error] if args.key?(:error) @metadata = args[:metadata] if args.key?(:metadata) + @done = args[:done] if args.key?(:done) end end @@ -884,6 +1342,11 @@ module Google class Status include Google::Apis::Core::Hashable + # The status code, which should be an enum value of google.rpc.Code. + # Corresponds to the JSON property `code` + # @return [Fixnum] + attr_accessor :code + # A developer-facing error message, which should be in English. Any # user-facing error message should be localized and sent in the # google.rpc.Status.details field, or localized by the client. @@ -897,20 +1360,15 @@ module Google # @return [Array>] attr_accessor :details - # The status code, which should be an enum value of google.rpc.Code. - # Corresponds to the JSON property `code` - # @return [Fixnum] - attr_accessor :code - def initialize(**args) update!(**args) end # Update properties of this object def update!(**args) + @code = args[:code] if args.key?(:code) @message = args[:message] if args.key?(:message) @details = args[:details] if args.key?(:details) - @code = args[:code] if args.key?(:code) end end @@ -920,22 +1378,6 @@ module Google class AuthProvider include Google::Apis::Core::Hashable - # The unique identifier of the auth provider. It will be referred to by - # `AuthRequirement.provider_id`. - # Example: "bookstore_auth". - # Corresponds to the JSON property `id` - # @return [String] - attr_accessor :id - - # Identifies the principal that issued the JWT. See - # https://tools.ietf.org/html/draft-ietf-oauth-json-web-token-32#section-4.1.1 - # Usually a URL or an email address. - # Example: https://securetoken.google.com - # Example: 1234567-compute@developer.gserviceaccount.com - # Corresponds to the JSON property `issuer` - # @return [String] - attr_accessor :issuer - # URL of the provider's public key set to validate signature of the JWT. See # [OpenID Discovery](https://openid.net/specs/openid-connect-discovery-1_0.html# # ProviderMetadata). @@ -968,16 +1410,63 @@ module Google # @return [String] attr_accessor :audiences + # The unique identifier of the auth provider. It will be referred to by + # `AuthRequirement.provider_id`. + # Example: "bookstore_auth". + # Corresponds to the JSON property `id` + # @return [String] + attr_accessor :id + + # Identifies the principal that issued the JWT. See + # https://tools.ietf.org/html/draft-ietf-oauth-json-web-token-32#section-4.1.1 + # Usually a URL or an email address. + # Example: https://securetoken.google.com + # Example: 1234567-compute@developer.gserviceaccount.com + # Corresponds to the JSON property `issuer` + # @return [String] + attr_accessor :issuer + def initialize(**args) update!(**args) end # Update properties of this object def update!(**args) - @id = args[:id] if args.key?(:id) - @issuer = args[:issuer] if args.key?(:issuer) @jwks_uri = args[:jwks_uri] if args.key?(:jwks_uri) @audiences = args[:audiences] if args.key?(:audiences) + @id = args[:id] if args.key?(:id) + @issuer = args[:issuer] if args.key?(:issuer) + end + end + + # Enum value definition. + class EnumValue + include Google::Apis::Core::Hashable + + # Protocol buffer options. + # Corresponds to the JSON property `options` + # @return [Array] + attr_accessor :options + + # Enum value number. + # Corresponds to the JSON property `number` + # @return [Fixnum] + attr_accessor :number + + # Enum value name. + # Corresponds to the JSON property `name` + # @return [String] + attr_accessor :name + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @options = args[:options] if args.key?(:options) + @number = args[:number] if args.key?(:number) + @name = args[:name] if args.key?(:name) end end @@ -1005,16 +1494,6 @@ module Google class Service include Google::Apis::Core::Hashable - # A list of all enum types included in this API service. Enums - # referenced directly or indirectly by the `apis` are automatically - # included. Enums which are not referenced but shall be included - # should be listed here by name. Example: - # enums: - # - name: google.someapi.v1.SomeEnum - # Corresponds to the JSON property `enums` - # @return [Array] - attr_accessor :enums - # `Context` defines which contexts an API requests. # Example: # context: @@ -1032,6 +1511,16 @@ module Google # @return [Google::Apis::ServiceuserV1::Context] attr_accessor :context + # A list of all enum types included in this API service. Enums + # referenced directly or indirectly by the `apis` are automatically + # included. Enums which are not referenced but shall be included + # should be listed here by name. Example: + # enums: + # - name: google.someapi.v1.SomeEnum + # Corresponds to the JSON property `enums` + # @return [Array] + attr_accessor :enums + # A unique ID for a specific instance of this message, typically assigned # by the client for tracking purpose. If empty, the server may choose to # generate one instead. @@ -1380,6 +1869,11 @@ module Google # @return [Array] attr_accessor :endpoints + # Defines the logs used by this service. + # Corresponds to the JSON property `logs` + # @return [Array] + attr_accessor :logs + # A list of API interfaces exported by this service. Only the `name` field # of the google.protobuf.Api needs to be provided by the configuration # author, as the remaining fields will be derived from the IDL during the @@ -1389,11 +1883,6 @@ module Google # @return [Array] attr_accessor :apis - # Defines the logs used by this service. - # Corresponds to the JSON property `logs` - # @return [Array] - attr_accessor :logs - # A list of all proto message types included in this API service. # Types referenced directly or indirectly by the `apis` are # automatically included. Messages which are not referenced but @@ -1417,11 +1906,6 @@ module Google # @return [Google::Apis::ServiceuserV1::Http] attr_accessor :http - # `Backend` defines the backend configuration for a service. - # Corresponds to the JSON property `backend` - # @return [Google::Apis::ServiceuserV1::Backend] - attr_accessor :backend - # ### System parameter configuration # A system parameter is a special kind of parameter defined by the API # system, not by an individual API. It is typically mapped to an HTTP header @@ -1431,6 +1915,11 @@ module Google # @return [Google::Apis::ServiceuserV1::SystemParameters] attr_accessor :system_parameters + # `Backend` defines the backend configuration for a service. + # Corresponds to the JSON property `backend` + # @return [Google::Apis::ServiceuserV1::Backend] + attr_accessor :backend + # `Documentation` provides the information for describing a service. # Example: #
documentation:
@@ -1531,8 +2020,8 @@ module Google
       
         # Update properties of this object
         def update!(**args)
-          @enums = args[:enums] if args.key?(:enums)
           @context = args[:context] if args.key?(:context)
+          @enums = args[:enums] if args.key?(:enums)
           @id = args[:id] if args.key?(:id)
           @usage = args[:usage] if args.key?(:usage)
           @metrics = args[:metrics] if args.key?(:metrics)
@@ -1549,50 +2038,19 @@ module Google
           @custom_error = args[:custom_error] if args.key?(:custom_error)
           @title = args[:title] if args.key?(:title)
           @endpoints = args[:endpoints] if args.key?(:endpoints)
-          @apis = args[:apis] if args.key?(:apis)
           @logs = args[:logs] if args.key?(:logs)
+          @apis = args[:apis] if args.key?(:apis)
           @types = args[:types] if args.key?(:types)
           @source_info = args[:source_info] if args.key?(:source_info)
           @http = args[:http] if args.key?(:http)
-          @backend = args[:backend] if args.key?(:backend)
           @system_parameters = args[:system_parameters] if args.key?(:system_parameters)
+          @backend = args[:backend] if args.key?(:backend)
           @documentation = args[:documentation] if args.key?(:documentation)
           @monitored_resources = args[:monitored_resources] if args.key?(:monitored_resources)
           @logging = args[:logging] if args.key?(:logging)
         end
       end
       
-      # Enum value definition.
-      class EnumValue
-        include Google::Apis::Core::Hashable
-      
-        # Enum value name.
-        # Corresponds to the JSON property `name`
-        # @return [String]
-        attr_accessor :name
-      
-        # Protocol buffer options.
-        # Corresponds to the JSON property `options`
-        # @return [Array]
-        attr_accessor :options
-      
-        # Enum value number.
-        # Corresponds to the JSON property `number`
-        # @return [Fixnum]
-        attr_accessor :number
-      
-        def initialize(**args)
-           update!(**args)
-        end
-      
-        # Update properties of this object
-        def update!(**args)
-          @name = args[:name] if args.key?(:name)
-          @options = args[:options] if args.key?(:options)
-          @number = args[:number] if args.key?(:number)
-        end
-      end
-      
       # A custom pattern is used for defining custom HTTP verb.
       class CustomHttpPattern
         include Google::Apis::Core::Hashable
@@ -1622,11 +2080,6 @@ module Google
       class OperationMetadata
         include Google::Apis::Core::Hashable
       
-        # Percentage of completion of this operation, ranging from 0 to 100.
-        # Corresponds to the JSON property `progressPercentage`
-        # @return [Fixnum]
-        attr_accessor :progress_percentage
-      
         # The start time of the operation.
         # Corresponds to the JSON property `startTime`
         # @return [String]
@@ -1643,16 +2096,53 @@ module Google
         # @return [Array]
         attr_accessor :steps
       
+        # Percentage of completion of this operation, ranging from 0 to 100.
+        # Corresponds to the JSON property `progressPercentage`
+        # @return [Fixnum]
+        attr_accessor :progress_percentage
+      
         def initialize(**args)
            update!(**args)
         end
       
         # Update properties of this object
         def update!(**args)
-          @progress_percentage = args[:progress_percentage] if args.key?(:progress_percentage)
           @start_time = args[:start_time] if args.key?(:start_time)
           @resource_names = args[:resource_names] if args.key?(:resource_names)
           @steps = args[:steps] if args.key?(:steps)
+          @progress_percentage = args[:progress_percentage] if args.key?(:progress_percentage)
+        end
+      end
+      
+      # Define a system parameter rule mapping system parameter definitions to
+      # methods.
+      class SystemParameterRule
+        include Google::Apis::Core::Hashable
+      
+        # Define parameters. Multiple names may be defined for a parameter.
+        # For a given method call, only one of them should be used. If multiple
+        # names are used the behavior is implementation-dependent.
+        # If none of the specified names are present the behavior is
+        # parameter-dependent.
+        # Corresponds to the JSON property `parameters`
+        # @return [Array]
+        attr_accessor :parameters
+      
+        # Selects the methods to which this rule applies. Use '*' to indicate all
+        # methods in all APIs.
+        # Refer to selector for syntax details.
+        # Corresponds to the JSON property `selector`
+        # @return [String]
+        attr_accessor :selector
+      
+        def initialize(**args)
+           update!(**args)
+        end
+      
+        # Update properties of this object
+        def update!(**args)
+          @parameters = args[:parameters] if args.key?(:parameters)
+          @selector = args[:selector] if args.key?(:selector)
         end
       end
       
@@ -1704,75 +2194,6 @@ module Google
         end
       end
       
-      # Define a system parameter rule mapping system parameter definitions to
-      # methods.
-      class SystemParameterRule
-        include Google::Apis::Core::Hashable
-      
-        # Selects the methods to which this rule applies. Use '*' to indicate all
-        # methods in all APIs.
-        # Refer to selector for syntax details.
-        # Corresponds to the JSON property `selector`
-        # @return [String]
-        attr_accessor :selector
-      
-        # Define parameters. Multiple names may be defined for a parameter.
-        # For a given method call, only one of them should be used. If multiple
-        # names are used the behavior is implementation-dependent.
-        # If none of the specified names are present the behavior is
-        # parameter-dependent.
-        # Corresponds to the JSON property `parameters`
-        # @return [Array]
-        attr_accessor :parameters
-      
-        def initialize(**args)
-           update!(**args)
-        end
-      
-        # Update properties of this object
-        def update!(**args)
-          @selector = args[:selector] if args.key?(:selector)
-          @parameters = args[:parameters] if args.key?(:parameters)
-        end
-      end
-      
-      # A visibility rule provides visibility configuration for an individual API
-      # element.
-      class VisibilityRule
-        include Google::Apis::Core::Hashable
-      
-        # A comma-separated list of visibility labels that apply to the `selector`.
-        # Any of the listed labels can be used to grant the visibility.
-        # If a rule has multiple labels, removing one of the labels but not all of
-        # them can break clients.
-        # Example:
-        # visibility:
-        # rules:
-        # - selector: google.calendar.Calendar.EnhancedSearch
-        # restriction: GOOGLE_INTERNAL, TRUSTED_TESTER
-        # Removing GOOGLE_INTERNAL from this restriction will break clients that
-        # rely on this method and only had access to it through GOOGLE_INTERNAL.
-        # Corresponds to the JSON property `restriction`
-        # @return [String]
-        attr_accessor :restriction
-      
-        # Selects methods, messages, fields, enums, etc. to which this rule applies.
-        # Refer to selector for syntax details.
-        # Corresponds to the JSON property `selector`
-        # @return [String]
-        attr_accessor :selector
-      
-        def initialize(**args)
-           update!(**args)
-        end
-      
-        # Update properties of this object
-        def update!(**args)
-          @restriction = args[:restriction] if args.key?(:restriction)
-          @selector = args[:selector] if args.key?(:selector)
-        end
-      end
-      
       # `HttpRule` defines the mapping of an RPC method to one or more HTTP
       # REST APIs.  The mapping determines what portions of the request
       # message are populated from the path, query parameters, or body of
@@ -1945,22 +2366,6 @@ module Google
       class HttpRule
         include Google::Apis::Core::Hashable
       
-        # Additional HTTP bindings for the selector. Nested bindings must
-        # not contain an `additional_bindings` field themselves (that is,
-        # the nesting may only be one level deep).
-        # Corresponds to the JSON property `additionalBindings`
-        # @return [Array]
-        attr_accessor :additional_bindings
-      
-        # The name of the response field whose value is mapped to the HTTP body of
-        # response. Other response fields are ignored. This field is optional. When
-        # not set, the response message will be used as HTTP body of response.
-        # NOTE: the referred field must be not a repeated field and must be present
-        # at the top-level of response message type.
-        # Corresponds to the JSON property `responseBody`
-        # @return [String]
-        attr_accessor :response_body
-      
         # Use this only for Scotty Requests. Do not use this for media support using
         # Bytestream, add instead [][google.bytestream.RestByteStream] as an API to
         # your configuration for Bytestream methods.
@@ -2019,14 +2424,28 @@ module Google
         # @return [String]
         attr_accessor :post
       
+        # Additional HTTP bindings for the selector. Nested bindings must
+        # not contain an `additional_bindings` field themselves (that is,
+        # the nesting may only be one level deep).
+        # Corresponds to the JSON property `additionalBindings`
+        # @return [Array]
+        attr_accessor :additional_bindings
+      
+        # The name of the response field whose value is mapped to the HTTP body of
+        # response. Other response fields are ignored. This field is optional. When
+        # not set, the response message will be used as HTTP body of response.
+        # NOTE: the referred field must be not a repeated field and must be present
+        # at the top-level of response message type.
+        # Corresponds to the JSON property `responseBody`
+        # @return [String]
+        attr_accessor :response_body
+      
         def initialize(**args)
            update!(**args)
         end
       
         # Update properties of this object
         def update!(**args)
-          @additional_bindings = args[:additional_bindings] if args.key?(:additional_bindings)
-          @response_body = args[:response_body] if args.key?(:response_body)
           @media_upload = args[:media_upload] if args.key?(:media_upload)
           @selector = args[:selector] if args.key?(:selector)
           @custom = args[:custom] if args.key?(:custom)
@@ -2037,6 +2456,45 @@ module Google
           @body = args[:body] if args.key?(:body)
           @media_download = args[:media_download] if args.key?(:media_download)
           @post = args[:post] if args.key?(:post)
+          @additional_bindings = args[:additional_bindings] if args.key?(:additional_bindings)
+          @response_body = args[:response_body] if args.key?(:response_body)
+        end
+      end
+      
+      # A visibility rule provides visibility configuration for an individual API
+      # element.
+      class VisibilityRule
+        include Google::Apis::Core::Hashable
+      
+        # Selects methods, messages, fields, enums, etc. to which this rule applies.
+        # Refer to selector for syntax details.
+        # Corresponds to the JSON property `selector`
+        # @return [String]
+        attr_accessor :selector
+      
+        # A comma-separated list of visibility labels that apply to the `selector`.
+        # Any of the listed labels can be used to grant the visibility.
+        # If a rule has multiple labels, removing one of the labels but not all of
+        # them can break clients.
+        # Example:
+        # visibility:
+        # rules:
+        # - selector: google.calendar.Calendar.EnhancedSearch
+        # restriction: GOOGLE_INTERNAL, TRUSTED_TESTER
+        # Removing GOOGLE_INTERNAL from this restriction will break clients that
+        # rely on this method and only had access to it through GOOGLE_INTERNAL.
+        # Corresponds to the JSON property `restriction`
+        # @return [String]
+        attr_accessor :restriction
+      
+        def initialize(**args)
+           update!(**args)
+        end
+      
+        # Update properties of this object
+        def update!(**args)
+          @selector = args[:selector] if args.key?(:selector)
+          @restriction = args[:restriction] if args.key?(:restriction)
         end
       end
       
@@ -2476,14 +2934,6 @@ module Google
       class Logging
         include Google::Apis::Core::Hashable
       
-        # Logging configurations for sending logs to the consumer project.
-        # There can be multiple consumer destinations, each one must have a
-        # different monitored resource type. A log can be used in at most
-        # one consumer destination.
-        # Corresponds to the JSON property `consumerDestinations`
-        # @return [Array]
-        attr_accessor :consumer_destinations
-      
         # Logging configurations for sending logs to the producer project.
         # There can be multiple producer destinations, each one must have a
         # different monitored resource type. A log can be used in at most
@@ -2492,14 +2942,79 @@ module Google
         # @return [Array]
         attr_accessor :producer_destinations
       
+        # Logging configurations for sending logs to the consumer project.
+        # There can be multiple consumer destinations, each one must have a
+        # different monitored resource type. A log can be used in at most
+        # one consumer destination.
+        # Corresponds to the JSON property `consumerDestinations`
+        # @return [Array]
+        attr_accessor :consumer_destinations
+      
         def initialize(**args)
            update!(**args)
         end
       
         # Update properties of this object
         def update!(**args)
-          @consumer_destinations = args[:consumer_destinations] if args.key?(:consumer_destinations)
           @producer_destinations = args[:producer_destinations] if args.key?(:producer_destinations)
+          @consumer_destinations = args[:consumer_destinations] if args.key?(:consumer_destinations)
+        end
+      end
+      
+      # Method represents a method of an api.
+      class MethodProp
+        include Google::Apis::Core::Hashable
+      
+        # The URL of the output message type.
+        # Corresponds to the JSON property `responseTypeUrl`
+        # @return [String]
+        attr_accessor :response_type_url
+      
+        # Any metadata attached to the method.
+        # Corresponds to the JSON property `options`
+        # @return [Array]
+        attr_accessor :options
+      
+        # If true, the response is streamed.
+        # Corresponds to the JSON property `responseStreaming`
+        # @return [Boolean]
+        attr_accessor :response_streaming
+        alias_method :response_streaming?, :response_streaming
+      
+        # The simple name of this method.
+        # Corresponds to the JSON property `name`
+        # @return [String]
+        attr_accessor :name
+      
+        # A URL of the input message type.
+        # Corresponds to the JSON property `requestTypeUrl`
+        # @return [String]
+        attr_accessor :request_type_url
+      
+        # If true, the request is streamed.
+        # Corresponds to the JSON property `requestStreaming`
+        # @return [Boolean]
+        attr_accessor :request_streaming
+        alias_method :request_streaming?, :request_streaming
+      
+        # The source syntax of this method.
+        # Corresponds to the JSON property `syntax`
+        # @return [String]
+        attr_accessor :syntax
+      
+        def initialize(**args)
+           update!(**args)
+        end
+      
+        # Update properties of this object
+        def update!(**args)
+          @response_type_url = args[:response_type_url] if args.key?(:response_type_url)
+          @options = args[:options] if args.key?(:options)
+          @response_streaming = args[:response_streaming] if args.key?(:response_streaming)
+          @name = args[:name] if args.key?(:name)
+          @request_type_url = args[:request_type_url] if args.key?(:request_type_url)
+          @request_streaming = args[:request_streaming] if args.key?(:request_streaming)
+          @syntax = args[:syntax] if args.key?(:syntax)
         end
       end
       
@@ -2509,68 +3024,6 @@ module Google
       class QuotaLimit
         include Google::Apis::Core::Hashable
       
-        # Specify the unit of the quota limit. It uses the same syntax as
-        # Metric.unit. The supported unit kinds are determined by the quota
-        # backend system.
-        # The [Google Service Control](https://cloud.google.com/service-control)
-        # supports the following unit components:
-        # * One of the time intevals:
-        # * "/min"  for quota every minute.
-        # * "/d"  for quota every 24 hours, starting 00:00 US Pacific Time.
-        # * Otherwise the quota won't be reset by time, such as storage limit.
-        # * One and only one of the granted containers:
-        # * "/`organization`" quota for an organization.
-        # * "/`project`" quota for a project.
-        # * "/`folder`" quota for a folder.
-        # * "/`resource`" quota for a universal resource.
-        # * Zero or more quota segmentation dimension. Not all combos are valid.
-        # * "/`user`" quota for every user GAIA ID or client ip address.
-        # User GAIA ID has precedence over client ip address.
-        # * "/`region`" quota for every region. Not to be used with time intervals.
-        # * Otherwise the resources granted on the target is not segmented.
-        # * "/`zone`" quota for every zone. Not to be used with time intervals.
-        # * Otherwise the resources granted on the target is not segmented.
-        # * "/`resource`" quota for a resource associated with a project or org.
-        # Here are some examples:
-        # * "1/min/`project`" for quota per minute per project.
-        # * "1/min/`user`" for quota per minute per user.
-        # * "1/min/`organization`" for quota per minute per organization.
-        # Note: the order of unit components is insignificant.
-        # The "1" at the beginning is required to follow the metric unit syntax.
-        # Used by metric-based quotas only.
-        # Corresponds to the JSON property `unit`
-        # @return [String]
-        attr_accessor :unit
-      
-        # Maximum number of tokens that can be consumed during the specified
-        # duration. Client application developers can override the default limit up
-        # to this maximum. If specified, this value cannot be set to a value less
-        # than the default limit. If not specified, it is set to the default limit.
-        # To allow clients to apply overrides with no upper bound, set this to -1,
-        # indicating unlimited maximum quota.
-        # Used by group-based quotas only.
-        # Corresponds to the JSON property `maxLimit`
-        # @return [String]
-        attr_accessor :max_limit
-      
-        # Name of the quota limit. The name is used to refer to the limit when
-        # overriding the default limit on per-consumer basis.
-        # For group-based quota limits, the name must be unique within the quota
-        # group. If a name is not provided, it will be generated from the limit_by
-        # and duration fields.
-        # For metric-based quota limits, the name must be provided, and it must be
-        # unique within the service. The name can only include alphanumeric
-        # characters as well as '-'.
-        # The maximum length of the limit name is 64 characters.
-        # The name of a limit is used as a unique identifier for this limit.
-        # Therefore, once a limit has been put into use, its name should be
-        # immutable. You can use the display_name field to provide a user-friendly
-        # name for the limit. The display name can be evolved over time without
-        # affecting the identity of the limit.
-        # Corresponds to the JSON property `name`
-        # @return [String]
-        attr_accessor :name
-      
         # Duration of this limit in textual notation. Example: "100s", "24h", "1d".
         # For duration longer than a day, only multiple of days is supported. We
         # support only "100s" and "1d" for now. Additional support will be added in
@@ -2588,7 +3041,7 @@ module Google
         # defaults to 0, indicating that there is no free tier for this service.
         # Used by group-based quotas only.
         # Corresponds to the JSON property `freeTier`
-        # @return [String]
+        # @return [Fixnum]
         attr_accessor :free_tier
       
         # Default number of tokens that can be consumed during the specified
@@ -2600,7 +3053,7 @@ module Google
         # negative values are allowed.
         # Used by group-based quotas only.
         # Corresponds to the JSON property `defaultLimit`
-        # @return [String]
+        # @return [Fixnum]
         attr_accessor :default_limit
       
         # Optional. User-visible, extended description for this quota limit.
@@ -2652,18 +3105,77 @@ module Google
         # tier as well.
         # Used by metric-based quotas only.
         # Corresponds to the JSON property `values`
-        # @return [Hash]
+        # @return [Hash]
         attr_accessor :values
       
+        # Specify the unit of the quota limit. It uses the same syntax as
+        # Metric.unit. The supported unit kinds are determined by the quota
+        # backend system.
+        # The [Google Service Control](https://cloud.google.com/service-control)
+        # supports the following unit components:
+        # * One of the time intevals:
+        # * "/min"  for quota every minute.
+        # * "/d"  for quota every 24 hours, starting 00:00 US Pacific Time.
+        # * Otherwise the quota won't be reset by time, such as storage limit.
+        # * One and only one of the granted containers:
+        # * "/`organization`" quota for an organization.
+        # * "/`project`" quota for a project.
+        # * "/`folder`" quota for a folder.
+        # * "/`resource`" quota for a universal resource.
+        # * Zero or more quota segmentation dimension. Not all combos are valid.
+        # * "/`user`" quota for every user GAIA ID or client ip address.
+        # User GAIA ID has precedence over client ip address.
+        # * "/`region`" quota for every region. Not to be used with time intervals.
+        # * Otherwise the resources granted on the target is not segmented.
+        # * "/`zone`" quota for every zone. Not to be used with time intervals.
+        # * Otherwise the resources granted on the target is not segmented.
+        # * "/`resource`" quota for a resource associated with a project or org.
+        # Here are some examples:
+        # * "1/min/`project`" for quota per minute per project.
+        # * "1/min/`user`" for quota per minute per user.
+        # * "1/min/`organization`" for quota per minute per organization.
+        # Note: the order of unit components is insignificant.
+        # The "1" at the beginning is required to follow the metric unit syntax.
+        # Used by metric-based quotas only.
+        # Corresponds to the JSON property `unit`
+        # @return [String]
+        attr_accessor :unit
+      
+        # Maximum number of tokens that can be consumed during the specified
+        # duration. Client application developers can override the default limit up
+        # to this maximum. If specified, this value cannot be set to a value less
+        # than the default limit. If not specified, it is set to the default limit.
+        # To allow clients to apply overrides with no upper bound, set this to -1,
+        # indicating unlimited maximum quota.
+        # Used by group-based quotas only.
+        # Corresponds to the JSON property `maxLimit`
+        # @return [Fixnum]
+        attr_accessor :max_limit
+      
+        # Name of the quota limit. The name is used to refer to the limit when
+        # overriding the default limit on per-consumer basis.
+        # For group-based quota limits, the name must be unique within the quota
+        # group. If a name is not provided, it will be generated from the limit_by
+        # and duration fields.
+        # For metric-based quota limits, the name must be provided, and it must be
+        # unique within the service. The name can only include alphanumeric
+        # characters as well as '-'.
+        # The maximum length of the limit name is 64 characters.
+        # The name of a limit is used as a unique identifier for this limit.
+        # Therefore, once a limit has been put into use, its name should be
+        # immutable. You can use the display_name field to provide a user-friendly
+        # name for the limit. The display name can be evolved over time without
+        # affecting the identity of the limit.
+        # Corresponds to the JSON property `name`
+        # @return [String]
+        attr_accessor :name
+      
         def initialize(**args)
            update!(**args)
         end
       
         # Update properties of this object
         def update!(**args)
-          @unit = args[:unit] if args.key?(:unit)
-          @max_limit = args[:max_limit] if args.key?(:max_limit)
-          @name = args[:name] if args.key?(:name)
           @duration = args[:duration] if args.key?(:duration)
           @free_tier = args[:free_tier] if args.key?(:free_tier)
           @default_limit = args[:default_limit] if args.key?(:default_limit)
@@ -2671,63 +3183,9 @@ module Google
           @metric = args[:metric] if args.key?(:metric)
           @display_name = args[:display_name] if args.key?(:display_name)
           @values = args[:values] if args.key?(:values)
-        end
-      end
-      
-      # Method represents a method of an api.
-      class MethodProp
-        include Google::Apis::Core::Hashable
-      
-        # The source syntax of this method.
-        # Corresponds to the JSON property `syntax`
-        # @return [String]
-        attr_accessor :syntax
-      
-        # The URL of the output message type.
-        # Corresponds to the JSON property `responseTypeUrl`
-        # @return [String]
-        attr_accessor :response_type_url
-      
-        # Any metadata attached to the method.
-        # Corresponds to the JSON property `options`
-        # @return [Array]
-        attr_accessor :options
-      
-        # If true, the response is streamed.
-        # Corresponds to the JSON property `responseStreaming`
-        # @return [Boolean]
-        attr_accessor :response_streaming
-        alias_method :response_streaming?, :response_streaming
-      
-        # The simple name of this method.
-        # Corresponds to the JSON property `name`
-        # @return [String]
-        attr_accessor :name
-      
-        # A URL of the input message type.
-        # Corresponds to the JSON property `requestTypeUrl`
-        # @return [String]
-        attr_accessor :request_type_url
-      
-        # If true, the request is streamed.
-        # Corresponds to the JSON property `requestStreaming`
-        # @return [Boolean]
-        attr_accessor :request_streaming
-        alias_method :request_streaming?, :request_streaming
-      
-        def initialize(**args)
-           update!(**args)
-        end
-      
-        # Update properties of this object
-        def update!(**args)
-          @syntax = args[:syntax] if args.key?(:syntax)
-          @response_type_url = args[:response_type_url] if args.key?(:response_type_url)
-          @options = args[:options] if args.key?(:options)
-          @response_streaming = args[:response_streaming] if args.key?(:response_streaming)
+          @unit = args[:unit] if args.key?(:unit)
+          @max_limit = args[:max_limit] if args.key?(:max_limit)
           @name = args[:name] if args.key?(:name)
-          @request_type_url = args[:request_type_url] if args.key?(:request_type_url)
-          @request_streaming = args[:request_streaming] if args.key?(:request_streaming)
         end
       end
       
@@ -2856,6 +3314,12 @@ module Google
       class Http
         include Google::Apis::Core::Hashable
       
+        # A list of HTTP configuration rules that apply to individual API methods.
+        # **NOTE:** All service configuration rules follow "last one wins" order.
+        # Corresponds to the JSON property `rules`
+        # @return [Array]
+        attr_accessor :rules
+      
         # When set to true, URL path parmeters will be fully URI-decoded except in
         # cases of single segment matches in reserved expansion, where "%2F" will be
         # left encoded.
@@ -2866,20 +3330,14 @@ module Google
         attr_accessor :fully_decode_reserved_expansion
         alias_method :fully_decode_reserved_expansion?, :fully_decode_reserved_expansion
       
-        # A list of HTTP configuration rules that apply to individual API methods.
-        # **NOTE:** All service configuration rules follow "last one wins" order.
-        # Corresponds to the JSON property `rules`
-        # @return [Array]
-        attr_accessor :rules
-      
         def initialize(**args)
            update!(**args)
         end
       
         # Update properties of this object
         def update!(**args)
-          @fully_decode_reserved_expansion = args[:fully_decode_reserved_expansion] if args.key?(:fully_decode_reserved_expansion)
           @rules = args[:rules] if args.key?(:rules)
+          @fully_decode_reserved_expansion = args[:fully_decode_reserved_expansion] if args.key?(:fully_decode_reserved_expansion)
         end
       end
       
@@ -2930,6 +3388,12 @@ module Google
       class SystemParameter
         include Google::Apis::Core::Hashable
       
+        # Define the HTTP header name to use for the parameter. It is case
+        # insensitive.
+        # Corresponds to the JSON property `httpHeader`
+        # @return [String]
+        attr_accessor :http_header
+      
         # Define the name of the parameter, such as "api_key" . It is case sensitive.
         # Corresponds to the JSON property `name`
         # @return [String]
@@ -2941,21 +3405,15 @@ module Google
         # @return [String]
         attr_accessor :url_query_parameter
       
-        # Define the HTTP header name to use for the parameter. It is case
-        # insensitive.
-        # Corresponds to the JSON property `httpHeader`
-        # @return [String]
-        attr_accessor :http_header
-      
         def initialize(**args)
            update!(**args)
         end
       
         # Update properties of this object
         def update!(**args)
+          @http_header = args[:http_header] if args.key?(:http_header)
           @name = args[:name] if args.key?(:name)
           @url_query_parameter = args[:url_query_parameter] if args.key?(:url_query_parameter)
-          @http_header = args[:http_header] if args.key?(:http_header)
         end
       end
       
@@ -3028,6 +3486,43 @@ module Google
       class Field
         include Google::Apis::Core::Hashable
       
+        # The field type.
+        # Corresponds to the JSON property `kind`
+        # @return [String]
+        attr_accessor :kind
+      
+        # The field JSON name.
+        # Corresponds to the JSON property `jsonName`
+        # @return [String]
+        attr_accessor :json_name
+      
+        # The protocol buffer options.
+        # Corresponds to the JSON property `options`
+        # @return [Array]
+        attr_accessor :options
+      
+        # The index of the field type in `Type.oneofs`, for message or enumeration
+        # types. The first type has index 1; zero means the type is not in the list.
+        # Corresponds to the JSON property `oneofIndex`
+        # @return [Fixnum]
+        attr_accessor :oneof_index
+      
+        # Whether to use alternative packed wire representation.
+        # Corresponds to the JSON property `packed`
+        # @return [Boolean]
+        attr_accessor :packed
+        alias_method :packed?, :packed
+      
+        # The field cardinality.
+        # Corresponds to the JSON property `cardinality`
+        # @return [String]
+        attr_accessor :cardinality
+      
+        # The string value of the default value of this field. Proto2 syntax only.
+        # Corresponds to the JSON property `defaultValue`
+        # @return [String]
+        attr_accessor :default_value
+      
         # The field name.
         # Corresponds to the JSON property `name`
         # @return [String]
@@ -3044,59 +3539,22 @@ module Google
         # @return [Fixnum]
         attr_accessor :number
       
-        # The field JSON name.
-        # Corresponds to the JSON property `jsonName`
-        # @return [String]
-        attr_accessor :json_name
-      
-        # The field type.
-        # Corresponds to the JSON property `kind`
-        # @return [String]
-        attr_accessor :kind
-      
-        # The protocol buffer options.
-        # Corresponds to the JSON property `options`
-        # @return [Array]
-        attr_accessor :options
-      
-        # The index of the field type in `Type.oneofs`, for message or enumeration
-        # types. The first type has index 1; zero means the type is not in the list.
-        # Corresponds to the JSON property `oneofIndex`
-        # @return [Fixnum]
-        attr_accessor :oneof_index
-      
-        # The field cardinality.
-        # Corresponds to the JSON property `cardinality`
-        # @return [String]
-        attr_accessor :cardinality
-      
-        # Whether to use alternative packed wire representation.
-        # Corresponds to the JSON property `packed`
-        # @return [Boolean]
-        attr_accessor :packed
-        alias_method :packed?, :packed
-      
-        # The string value of the default value of this field. Proto2 syntax only.
-        # Corresponds to the JSON property `defaultValue`
-        # @return [String]
-        attr_accessor :default_value
-      
         def initialize(**args)
            update!(**args)
         end
       
         # Update properties of this object
         def update!(**args)
+          @kind = args[:kind] if args.key?(:kind)
+          @json_name = args[:json_name] if args.key?(:json_name)
+          @options = args[:options] if args.key?(:options)
+          @oneof_index = args[:oneof_index] if args.key?(:oneof_index)
+          @packed = args[:packed] if args.key?(:packed)
+          @cardinality = args[:cardinality] if args.key?(:cardinality)
+          @default_value = args[:default_value] if args.key?(:default_value)
           @name = args[:name] if args.key?(:name)
           @type_url = args[:type_url] if args.key?(:type_url)
           @number = args[:number] if args.key?(:number)
-          @json_name = args[:json_name] if args.key?(:json_name)
-          @kind = args[:kind] if args.key?(:kind)
-          @options = args[:options] if args.key?(:options)
-          @oneof_index = args[:oneof_index] if args.key?(:oneof_index)
-          @cardinality = args[:cardinality] if args.key?(:cardinality)
-          @packed = args[:packed] if args.key?(:packed)
-          @default_value = args[:default_value] if args.key?(:default_value)
         end
       end
       
@@ -3104,17 +3562,6 @@ module Google
       class Enum
         include Google::Apis::Core::Hashable
       
-        # `SourceContext` represents information about the source of a
-        # protobuf element, like the file in which it is defined.
-        # Corresponds to the JSON property `sourceContext`
-        # @return [Google::Apis::ServiceuserV1::SourceContext]
-        attr_accessor :source_context
-      
-        # The source syntax.
-        # Corresponds to the JSON property `syntax`
-        # @return [String]
-        attr_accessor :syntax
-      
         # Enum type name.
         # Corresponds to the JSON property `name`
         # @return [String]
@@ -3130,17 +3577,59 @@ module Google
         # @return [Array]
         attr_accessor :options
       
+        # `SourceContext` represents information about the source of a
+        # protobuf element, like the file in which it is defined.
+        # Corresponds to the JSON property `sourceContext`
+        # @return [Google::Apis::ServiceuserV1::SourceContext]
+        attr_accessor :source_context
+      
+        # The source syntax.
+        # Corresponds to the JSON property `syntax`
+        # @return [String]
+        attr_accessor :syntax
+      
         def initialize(**args)
            update!(**args)
         end
       
         # Update properties of this object
         def update!(**args)
-          @source_context = args[:source_context] if args.key?(:source_context)
-          @syntax = args[:syntax] if args.key?(:syntax)
           @name = args[:name] if args.key?(:name)
           @enumvalue = args[:enumvalue] if args.key?(:enumvalue)
           @options = args[:options] if args.key?(:options)
+          @source_context = args[:source_context] if args.key?(:source_context)
+          @syntax = args[:syntax] if args.key?(:syntax)
+        end
+      end
+      
+      # A description of a label.
+      class LabelDescriptor
+        include Google::Apis::Core::Hashable
+      
+        # The label key.
+        # Corresponds to the JSON property `key`
+        # @return [String]
+        attr_accessor :key
+      
+        # A human-readable description for the label.
+        # Corresponds to the JSON property `description`
+        # @return [String]
+        attr_accessor :description
+      
+        # The type of data that can be assigned to the label.
+        # Corresponds to the JSON property `valueType`
+        # @return [String]
+        attr_accessor :value_type
+      
+        def initialize(**args)
+           update!(**args)
+        end
+      
+        # Update properties of this object
+        def update!(**args)
+          @key = args[:key] if args.key?(:key)
+          @description = args[:description] if args.key?(:description)
+          @value_type = args[:value_type] if args.key?(:value_type)
         end
       end
       
@@ -3157,41 +3646,15 @@ module Google
         end
       end
       
-      # A description of a label.
-      class LabelDescriptor
-        include Google::Apis::Core::Hashable
-      
-        # The type of data that can be assigned to the label.
-        # Corresponds to the JSON property `valueType`
-        # @return [String]
-        attr_accessor :value_type
-      
-        # The label key.
-        # Corresponds to the JSON property `key`
-        # @return [String]
-        attr_accessor :key
-      
-        # A human-readable description for the label.
-        # Corresponds to the JSON property `description`
-        # @return [String]
-        attr_accessor :description
-      
-        def initialize(**args)
-           update!(**args)
-        end
-      
-        # Update properties of this object
-        def update!(**args)
-          @value_type = args[:value_type] if args.key?(:value_type)
-          @key = args[:key] if args.key?(:key)
-          @description = args[:description] if args.key?(:description)
-        end
-      end
-      
       # A protocol buffer message type.
       class Type
         include Google::Apis::Core::Hashable
       
+        # The protocol buffer options.
+        # Corresponds to the JSON property `options`
+        # @return [Array]
+        attr_accessor :options
+      
         # The list of fields.
         # Corresponds to the JSON property `fields`
         # @return [Array]
@@ -3207,21 +3670,16 @@ module Google
         # @return [Array]
         attr_accessor :oneofs
       
-        # The source syntax.
-        # Corresponds to the JSON property `syntax`
-        # @return [String]
-        attr_accessor :syntax
-      
         # `SourceContext` represents information about the source of a
         # protobuf element, like the file in which it is defined.
         # Corresponds to the JSON property `sourceContext`
         # @return [Google::Apis::ServiceuserV1::SourceContext]
         attr_accessor :source_context
       
-        # The protocol buffer options.
-        # Corresponds to the JSON property `options`
-        # @return [Array]
-        attr_accessor :options
+        # The source syntax.
+        # Corresponds to the JSON property `syntax`
+        # @return [String]
+        attr_accessor :syntax
       
         def initialize(**args)
            update!(**args)
@@ -3229,12 +3687,12 @@ module Google
       
         # Update properties of this object
         def update!(**args)
+          @options = args[:options] if args.key?(:options)
           @fields = args[:fields] if args.key?(:fields)
           @name = args[:name] if args.key?(:name)
           @oneofs = args[:oneofs] if args.key?(:oneofs)
-          @syntax = args[:syntax] if args.key?(:syntax)
           @source_context = args[:source_context] if args.key?(:source_context)
-          @options = args[:options] if args.key?(:options)
+          @syntax = args[:syntax] if args.key?(:syntax)
         end
       end
       
@@ -3283,464 +3741,6 @@ module Google
           @rules = args[:rules] if args.key?(:rules)
         end
       end
-      
-      # A documentation rule provides information about individual API elements.
-      class DocumentationRule
-        include Google::Apis::Core::Hashable
-      
-        # Description of the selected API(s).
-        # Corresponds to the JSON property `description`
-        # @return [String]
-        attr_accessor :description
-      
-        # Deprecation description of the selected element(s). It can be provided if an
-        # element is marked as `deprecated`.
-        # Corresponds to the JSON property `deprecationDescription`
-        # @return [String]
-        attr_accessor :deprecation_description
-      
-        # The selector is a comma-separated list of patterns. Each pattern is a
-        # qualified name of the element which may end in "*", indicating a wildcard.
-        # Wildcards are only allowed at the end and for a whole component of the
-        # qualified name, i.e. "foo.*" is ok, but not "foo.b*" or "foo.*.bar". To
-        # specify a default for all applicable elements, the whole pattern "*"
-        # is used.
-        # Corresponds to the JSON property `selector`
-        # @return [String]
-        attr_accessor :selector
-      
-        def initialize(**args)
-           update!(**args)
-        end
-      
-        # Update properties of this object
-        def update!(**args)
-          @description = args[:description] if args.key?(:description)
-          @deprecation_description = args[:deprecation_description] if args.key?(:deprecation_description)
-          @selector = args[:selector] if args.key?(:selector)
-        end
-      end
-      
-      # Configuration of authorization.
-      # This section determines the authorization provider, if unspecified, then no
-      # authorization check will be done.
-      # Example:
-      # experimental:
-      # authorization:
-      # provider: firebaserules.googleapis.com
-      class AuthorizationConfig
-        include Google::Apis::Core::Hashable
-      
-        # The name of the authorization provider, such as
-        # firebaserules.googleapis.com.
-        # Corresponds to the JSON property `provider`
-        # @return [String]
-        attr_accessor :provider
-      
-        def initialize(**args)
-           update!(**args)
-        end
-      
-        # Update properties of this object
-        def update!(**args)
-          @provider = args[:provider] if args.key?(:provider)
-        end
-      end
-      
-      # A context rule provides information about the context for an individual API
-      # element.
-      class ContextRule
-        include Google::Apis::Core::Hashable
-      
-        # Selects the methods to which this rule applies.
-        # Refer to selector for syntax details.
-        # Corresponds to the JSON property `selector`
-        # @return [String]
-        attr_accessor :selector
-      
-        # A list of full type names of provided contexts.
-        # Corresponds to the JSON property `provided`
-        # @return [Array]
-        attr_accessor :provided
-      
-        # A list of full type names of requested contexts.
-        # Corresponds to the JSON property `requested`
-        # @return [Array]
-        attr_accessor :requested
-      
-        def initialize(**args)
-           update!(**args)
-        end
-      
-        # Update properties of this object
-        def update!(**args)
-          @selector = args[:selector] if args.key?(:selector)
-          @provided = args[:provided] if args.key?(:provided)
-          @requested = args[:requested] if args.key?(:requested)
-        end
-      end
-      
-      # Defines a metric type and its schema. Once a metric descriptor is created,
-      # deleting or altering it stops data collection and makes the metric type's
-      # existing data unusable.
-      class MetricDescriptor
-        include Google::Apis::Core::Hashable
-      
-        # The unit in which the metric value is reported. It is only applicable
-        # if the `value_type` is `INT64`, `DOUBLE`, or `DISTRIBUTION`. The
-        # supported units are a subset of [The Unified Code for Units of
-        # Measure](http://unitsofmeasure.org/ucum.html) standard:
-        # **Basic units (UNIT)**
-        # * `bit`   bit
-        # * `By`    byte
-        # * `s`     second
-        # * `min`   minute
-        # * `h`     hour
-        # * `d`     day
-        # **Prefixes (PREFIX)**
-        # * `k`     kilo    (10**3)
-        # * `M`     mega    (10**6)
-        # * `G`     giga    (10**9)
-        # * `T`     tera    (10**12)
-        # * `P`     peta    (10**15)
-        # * `E`     exa     (10**18)
-        # * `Z`     zetta   (10**21)
-        # * `Y`     yotta   (10**24)
-        # * `m`     milli   (10**-3)
-        # * `u`     micro   (10**-6)
-        # * `n`     nano    (10**-9)
-        # * `p`     pico    (10**-12)
-        # * `f`     femto   (10**-15)
-        # * `a`     atto    (10**-18)
-        # * `z`     zepto   (10**-21)
-        # * `y`     yocto   (10**-24)
-        # * `Ki`    kibi    (2**10)
-        # * `Mi`    mebi    (2**20)
-        # * `Gi`    gibi    (2**30)
-        # * `Ti`    tebi    (2**40)
-        # **Grammar**
-        # The grammar includes the dimensionless unit `1`, such as `1/s`.
-        # The grammar also includes these connectors:
-        # * `/`    division (as an infix operator, e.g. `1/s`).
-        # * `.`    multiplication (as an infix operator, e.g. `GBy.d`)
-        # The grammar for a unit is as follows:
-        # Expression = Component ` "." Component ` ` "/" Component ` ;
-        # Component = [ PREFIX ] UNIT [ Annotation ]
-        # | Annotation
-        # | "1"
-        # ;
-        # Annotation = "`" NAME "`" ;
-        # Notes:
-        # * `Annotation` is just a comment if it follows a `UNIT` and is
-        # equivalent to `1` if it is used alone. For examples,
-        # ``requests`/s == 1/s`, `By`transmitted`/s == By/s`.
-        # * `NAME` is a sequence of non-blank printable ASCII characters not
-        # containing '`' or '`'.
-        # Corresponds to the JSON property `unit`
-        # @return [String]
-        attr_accessor :unit
-      
-        # The set of labels that can be used to describe a specific
-        # instance of this metric type. For example, the
-        # `appengine.googleapis.com/http/server/response_latencies` metric
-        # type has a label for the HTTP response code, `response_code`, so
-        # you can look at latencies for successful responses or just
-        # for responses that failed.
-        # Corresponds to the JSON property `labels`
-        # @return [Array]
-        attr_accessor :labels
-      
-        # The resource name of the metric descriptor. Depending on the
-        # implementation, the name typically includes: (1) the parent resource name
-        # that defines the scope of the metric type or of its data; and (2) the
-        # metric's URL-encoded type, which also appears in the `type` field of this
-        # descriptor. For example, following is the resource name of a custom
-        # metric within the GCP project `my-project-id`:
-        # "projects/my-project-id/metricDescriptors/custom.googleapis.com%2Finvoice%
-        # 2Fpaid%2Famount"
-        # Corresponds to the JSON property `name`
-        # @return [String]
-        attr_accessor :name
-      
-        # The metric type, including its DNS name prefix. The type is not
-        # URL-encoded.  All user-defined custom metric types have the DNS name
-        # `custom.googleapis.com`.  Metric types should use a natural hierarchical
-        # grouping. For example:
-        # "custom.googleapis.com/invoice/paid/amount"
-        # "appengine.googleapis.com/http/server/response_latencies"
-        # Corresponds to the JSON property `type`
-        # @return [String]
-        attr_accessor :type
-      
-        # Whether the measurement is an integer, a floating-point number, etc.
-        # Some combinations of `metric_kind` and `value_type` might not be supported.
-        # Corresponds to the JSON property `valueType`
-        # @return [String]
-        attr_accessor :value_type
-      
-        # Whether the metric records instantaneous values, changes to a value, etc.
-        # Some combinations of `metric_kind` and `value_type` might not be supported.
-        # Corresponds to the JSON property `metricKind`
-        # @return [String]
-        attr_accessor :metric_kind
-      
-        # A concise name for the metric, which can be displayed in user interfaces.
-        # Use sentence case without an ending period, for example "Request count".
-        # Corresponds to the JSON property `displayName`
-        # @return [String]
-        attr_accessor :display_name
-      
-        # A detailed description of the metric, which can be used in documentation.
-        # Corresponds to the JSON property `description`
-        # @return [String]
-        attr_accessor :description
-      
-        def initialize(**args)
-           update!(**args)
-        end
-      
-        # Update properties of this object
-        def update!(**args)
-          @unit = args[:unit] if args.key?(:unit)
-          @labels = args[:labels] if args.key?(:labels)
-          @name = args[:name] if args.key?(:name)
-          @type = args[:type] if args.key?(:type)
-          @value_type = args[:value_type] if args.key?(:value_type)
-          @metric_kind = args[:metric_kind] if args.key?(:metric_kind)
-          @display_name = args[:display_name] if args.key?(:display_name)
-          @description = args[:description] if args.key?(:description)
-        end
-      end
-      
-      # `SourceContext` represents information about the source of a
-      # protobuf element, like the file in which it is defined.
-      class SourceContext
-        include Google::Apis::Core::Hashable
-      
-        # The path-qualified name of the .proto file that contained the associated
-        # protobuf element.  For example: `"google/protobuf/source_context.proto"`.
-        # Corresponds to the JSON property `fileName`
-        # @return [String]
-        attr_accessor :file_name
-      
-        def initialize(**args)
-           update!(**args)
-        end
-      
-        # Update properties of this object
-        def update!(**args)
-          @file_name = args[:file_name] if args.key?(:file_name)
-        end
-      end
-      
-      # `Endpoint` describes a network endpoint that serves a set of APIs.
-      # A service may expose any number of endpoints, and all endpoints share the
-      # same service configuration, such as quota configuration and monitoring
-      # configuration.
-      # Example service configuration:
-      # name: library-example.googleapis.com
-      # endpoints:
-      # # Below entry makes 'google.example.library.v1.Library'
-      # # API be served from endpoint address library-example.googleapis.com.
-      # # It also allows HTTP OPTIONS calls to be passed to the backend, for
-      # # it to decide whether the subsequent cross-origin request is
-      # # allowed to proceed.
-      # - name: library-example.googleapis.com
-      # allow_cors: true
-      class Endpoint
-        include Google::Apis::Core::Hashable
-      
-        # The list of features enabled on this endpoint.
-        # Corresponds to the JSON property `features`
-        # @return [Array]
-        attr_accessor :features
-      
-        # The list of APIs served by this endpoint.
-        # Corresponds to the JSON property `apis`
-        # @return [Array]
-        attr_accessor :apis
-      
-        # Allowing
-        # [CORS](https://en.wikipedia.org/wiki/Cross-origin_resource_sharing), aka
-        # cross-domain traffic, would allow the backends served from this endpoint to
-        # receive and respond to HTTP OPTIONS requests. The response will be used by
-        # the browser to determine whether the subsequent cross-origin request is
-        # allowed to proceed.
-        # Corresponds to the JSON property `allowCors`
-        # @return [Boolean]
-        attr_accessor :allow_cors
-        alias_method :allow_cors?, :allow_cors
-      
-        # DEPRECATED: This field is no longer supported. Instead of using aliases,
-        # please specify multiple google.api.Endpoint for each of the intented
-        # alias.
-        # Additional names that this endpoint will be hosted on.
-        # Corresponds to the JSON property `aliases`
-        # @return [Array]
-        attr_accessor :aliases
-      
-        # The specification of an Internet routable address of API frontend that will
-        # handle requests to this [API Endpoint](https://cloud.google.com/apis/design/
-        # glossary).
-        # It should be either a valid IPv4 address or a fully-qualified domain name.
-        # For example, "8.8.8.8" or "myservice.appspot.com".
-        # Corresponds to the JSON property `target`
-        # @return [String]
-        attr_accessor :target
-      
-        # The canonical name of this endpoint.
-        # Corresponds to the JSON property `name`
-        # @return [String]
-        attr_accessor :name
-      
-        def initialize(**args)
-           update!(**args)
-        end
-      
-        # Update properties of this object
-        def update!(**args)
-          @features = args[:features] if args.key?(:features)
-          @apis = args[:apis] if args.key?(:apis)
-          @allow_cors = args[:allow_cors] if args.key?(:allow_cors)
-          @aliases = args[:aliases] if args.key?(:aliases)
-          @target = args[:target] if args.key?(:target)
-          @name = args[:name] if args.key?(:name)
-        end
-      end
-      
-      # Response message for `ListEnabledServices` method.
-      class ListEnabledServicesResponse
-        include Google::Apis::Core::Hashable
-      
-        # Services enabled for the specified parent.
-        # Corresponds to the JSON property `services`
-        # @return [Array]
-        attr_accessor :services
-      
-        # Token that can be passed to `ListEnabledServices` to resume a paginated
-        # query.
-        # Corresponds to the JSON property `nextPageToken`
-        # @return [String]
-        attr_accessor :next_page_token
-      
-        def initialize(**args)
-           update!(**args)
-        end
-      
-        # Update properties of this object
-        def update!(**args)
-          @services = args[:services] if args.key?(:services)
-          @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
-        end
-      end
-      
-      # OAuth scopes are a way to define data and permissions on data. For example,
-      # there are scopes defined for "Read-only access to Google Calendar" and
-      # "Access to Cloud Platform". Users can consent to a scope for an application,
-      # giving it permission to access that data on their behalf.
-      # OAuth scope specifications should be fairly coarse grained; a user will need
-      # to see and understand the text description of what your scope means.
-      # In most cases: use one or at most two OAuth scopes for an entire family of
-      # products. If your product has multiple APIs, you should probably be sharing
-      # the OAuth scope across all of those APIs.
-      # When you need finer grained OAuth consent screens: talk with your product
-      # management about how developers will use them in practice.
-      # Please note that even though each of the canonical scopes is enough for a
-      # request to be accepted and passed to the backend, a request can still fail
-      # due to the backend requiring additional scopes or permissions.
-      class OAuthRequirements
-        include Google::Apis::Core::Hashable
-      
-        # The list of publicly documented OAuth scopes that are allowed access. An
-        # OAuth token containing any of these scopes will be accepted.
-        # Example:
-        # canonical_scopes: https://www.googleapis.com/auth/calendar,
-        # https://www.googleapis.com/auth/calendar.read
-        # Corresponds to the JSON property `canonicalScopes`
-        # @return [String]
-        attr_accessor :canonical_scopes
-      
-        def initialize(**args)
-           update!(**args)
-        end
-      
-        # Update properties of this object
-        def update!(**args)
-          @canonical_scopes = args[:canonical_scopes] if args.key?(:canonical_scopes)
-        end
-      end
-      
-      # Configuration controlling usage of a service.
-      class Usage
-        include Google::Apis::Core::Hashable
-      
-        # The full resource name of a channel used for sending notifications to the
-        # service producer.
-        # Google Service Management currently only supports
-        # [Google Cloud Pub/Sub](https://cloud.google.com/pubsub) as a notification
-        # channel. To use Google Cloud Pub/Sub as the channel, this must be the name
-        # of a Cloud Pub/Sub topic that uses the Cloud Pub/Sub topic name format
-        # documented in https://cloud.google.com/pubsub/docs/overview.
-        # Corresponds to the JSON property `producerNotificationChannel`
-        # @return [String]
-        attr_accessor :producer_notification_channel
-      
-        # A list of usage rules that apply to individual API methods.
-        # **NOTE:** All service configuration rules follow "last one wins" order.
-        # Corresponds to the JSON property `rules`
-        # @return [Array]
-        attr_accessor :rules
-      
-        # Requirements that must be satisfied before a consumer project can use the
-        # service. Each requirement is of the form /;
-        # for example 'serviceusage.googleapis.com/billing-enabled'.
-        # Corresponds to the JSON property `requirements`
-        # @return [Array]
-        attr_accessor :requirements
-      
-        def initialize(**args)
-           update!(**args)
-        end
-      
-        # Update properties of this object
-        def update!(**args)
-          @producer_notification_channel = args[:producer_notification_channel] if args.key?(:producer_notification_channel)
-          @rules = args[:rules] if args.key?(:rules)
-          @requirements = args[:requirements] if args.key?(:requirements)
-        end
-      end
-      
-      # `Context` defines which contexts an API requests.
-      # Example:
-      # context:
-      # rules:
-      # - selector: "*"
-      # requested:
-      # - google.rpc.context.ProjectContext
-      # - google.rpc.context.OriginContext
-      # The above specifies that all methods in the API request
-      # `google.rpc.context.ProjectContext` and
-      # `google.rpc.context.OriginContext`.
-      # Available context types are defined in package
-      # `google.rpc.context`.
-      class Context
-        include Google::Apis::Core::Hashable
-      
-        # A list of RPC context rules that apply to individual API methods.
-        # **NOTE:** All service configuration rules follow "last one wins" order.
-        # Corresponds to the JSON property `rules`
-        # @return [Array]
-        attr_accessor :rules
-      
-        def initialize(**args)
-           update!(**args)
-        end
-      
-        # Update properties of this object
-        def update!(**args)
-          @rules = args[:rules] if args.key?(:rules)
-        end
-      end
     end
   end
 end
diff --git a/generated/google/apis/serviceuser_v1/representations.rb b/generated/google/apis/serviceuser_v1/representations.rb
index 46c1a18fa..67ed57387 100644
--- a/generated/google/apis/serviceuser_v1/representations.rb
+++ b/generated/google/apis/serviceuser_v1/representations.rb
@@ -22,312 +22,6 @@ module Google
   module Apis
     module ServiceuserV1
       
-      class LogDescriptor
-        class Representation < Google::Apis::Core::JsonRepresentation; end
-      
-        include Google::Apis::Core::JsonObjectSupport
-      end
-      
-      class MonitoredResourceDescriptor
-        class Representation < Google::Apis::Core::JsonRepresentation; end
-      
-        include Google::Apis::Core::JsonObjectSupport
-      end
-      
-      class CustomErrorRule
-        class Representation < Google::Apis::Core::JsonRepresentation; end
-      
-        include Google::Apis::Core::JsonObjectSupport
-      end
-      
-      class MediaDownload
-        class Representation < Google::Apis::Core::JsonRepresentation; end
-      
-        include Google::Apis::Core::JsonObjectSupport
-      end
-      
-      class DisableServiceRequest
-        class Representation < Google::Apis::Core::JsonRepresentation; end
-      
-        include Google::Apis::Core::JsonObjectSupport
-      end
-      
-      class SearchServicesResponse
-        class Representation < Google::Apis::Core::JsonRepresentation; end
-      
-        include Google::Apis::Core::JsonObjectSupport
-      end
-      
-      class MediaUpload
-        class Representation < Google::Apis::Core::JsonRepresentation; end
-      
-        include Google::Apis::Core::JsonObjectSupport
-      end
-      
-      class UsageRule
-        class Representation < Google::Apis::Core::JsonRepresentation; end
-      
-        include Google::Apis::Core::JsonObjectSupport
-      end
-      
-      class AuthRequirement
-        class Representation < Google::Apis::Core::JsonRepresentation; end
-      
-        include Google::Apis::Core::JsonObjectSupport
-      end
-      
-      class Documentation
-        class Representation < Google::Apis::Core::JsonRepresentation; end
-      
-        include Google::Apis::Core::JsonObjectSupport
-      end
-      
-      class BackendRule
-        class Representation < Google::Apis::Core::JsonRepresentation; end
-      
-        include Google::Apis::Core::JsonObjectSupport
-      end
-      
-      class AuthenticationRule
-        class Representation < Google::Apis::Core::JsonRepresentation; end
-      
-        include Google::Apis::Core::JsonObjectSupport
-      end
-      
-      class Api
-        class Representation < Google::Apis::Core::JsonRepresentation; end
-      
-        include Google::Apis::Core::JsonObjectSupport
-      end
-      
-      class MetricRule
-        class Representation < Google::Apis::Core::JsonRepresentation; end
-      
-        include Google::Apis::Core::JsonObjectSupport
-      end
-      
-      class Authentication
-        class Representation < Google::Apis::Core::JsonRepresentation; end
-      
-        include Google::Apis::Core::JsonObjectSupport
-      end
-      
-      class Operation
-        class Representation < Google::Apis::Core::JsonRepresentation; end
-      
-        include Google::Apis::Core::JsonObjectSupport
-      end
-      
-      class Page
-        class Representation < Google::Apis::Core::JsonRepresentation; end
-      
-        include Google::Apis::Core::JsonObjectSupport
-      end
-      
-      class Status
-        class Representation < Google::Apis::Core::JsonRepresentation; end
-      
-        include Google::Apis::Core::JsonObjectSupport
-      end
-      
-      class AuthProvider
-        class Representation < Google::Apis::Core::JsonRepresentation; end
-      
-        include Google::Apis::Core::JsonObjectSupport
-      end
-      
-      class Service
-        class Representation < Google::Apis::Core::JsonRepresentation; end
-      
-        include Google::Apis::Core::JsonObjectSupport
-      end
-      
-      class EnumValue
-        class Representation < Google::Apis::Core::JsonRepresentation; end
-      
-        include Google::Apis::Core::JsonObjectSupport
-      end
-      
-      class CustomHttpPattern
-        class Representation < Google::Apis::Core::JsonRepresentation; end
-      
-        include Google::Apis::Core::JsonObjectSupport
-      end
-      
-      class OperationMetadata
-        class Representation < Google::Apis::Core::JsonRepresentation; end
-      
-        include Google::Apis::Core::JsonObjectSupport
-      end
-      
-      class PublishedService
-        class Representation < Google::Apis::Core::JsonRepresentation; end
-      
-        include Google::Apis::Core::JsonObjectSupport
-      end
-      
-      class SystemParameterRule
-        class Representation < Google::Apis::Core::JsonRepresentation; end
-      
-        include Google::Apis::Core::JsonObjectSupport
-      end
-      
-      class VisibilityRule
-        class Representation < Google::Apis::Core::JsonRepresentation; end
-      
-        include Google::Apis::Core::JsonObjectSupport
-      end
-      
-      class HttpRule
-        class Representation < Google::Apis::Core::JsonRepresentation; end
-      
-        include Google::Apis::Core::JsonObjectSupport
-      end
-      
-      class MonitoringDestination
-        class Representation < Google::Apis::Core::JsonRepresentation; end
-      
-        include Google::Apis::Core::JsonObjectSupport
-      end
-      
-      class Visibility
-        class Representation < Google::Apis::Core::JsonRepresentation; end
-      
-        include Google::Apis::Core::JsonObjectSupport
-      end
-      
-      class SystemParameters
-        class Representation < Google::Apis::Core::JsonRepresentation; end
-      
-        include Google::Apis::Core::JsonObjectSupport
-      end
-      
-      class Quota
-        class Representation < Google::Apis::Core::JsonRepresentation; end
-      
-        include Google::Apis::Core::JsonObjectSupport
-      end
-      
-      class Step
-        class Representation < Google::Apis::Core::JsonRepresentation; end
-      
-        include Google::Apis::Core::JsonObjectSupport
-      end
-      
-      class LoggingDestination
-        class Representation < Google::Apis::Core::JsonRepresentation; end
-      
-        include Google::Apis::Core::JsonObjectSupport
-      end
-      
-      class Option
-        class Representation < Google::Apis::Core::JsonRepresentation; end
-      
-        include Google::Apis::Core::JsonObjectSupport
-      end
-      
-      class Logging
-        class Representation < Google::Apis::Core::JsonRepresentation; end
-      
-        include Google::Apis::Core::JsonObjectSupport
-      end
-      
-      class QuotaLimit
-        class Representation < Google::Apis::Core::JsonRepresentation; end
-      
-        include Google::Apis::Core::JsonObjectSupport
-      end
-      
-      class MethodProp
-        class Representation < Google::Apis::Core::JsonRepresentation; end
-      
-        include Google::Apis::Core::JsonObjectSupport
-      end
-      
-      class Mixin
-        class Representation < Google::Apis::Core::JsonRepresentation; end
-      
-        include Google::Apis::Core::JsonObjectSupport
-      end
-      
-      class CustomError
-        class Representation < Google::Apis::Core::JsonRepresentation; end
-      
-        include Google::Apis::Core::JsonObjectSupport
-      end
-      
-      class Http
-        class Representation < Google::Apis::Core::JsonRepresentation; end
-      
-        include Google::Apis::Core::JsonObjectSupport
-      end
-      
-      class SourceInfo
-        class Representation < Google::Apis::Core::JsonRepresentation; end
-      
-        include Google::Apis::Core::JsonObjectSupport
-      end
-      
-      class Control
-        class Representation < Google::Apis::Core::JsonRepresentation; end
-      
-        include Google::Apis::Core::JsonObjectSupport
-      end
-      
-      class SystemParameter
-        class Representation < Google::Apis::Core::JsonRepresentation; end
-      
-        include Google::Apis::Core::JsonObjectSupport
-      end
-      
-      class Monitoring
-        class Representation < Google::Apis::Core::JsonRepresentation; end
-      
-        include Google::Apis::Core::JsonObjectSupport
-      end
-      
-      class Field
-        class Representation < Google::Apis::Core::JsonRepresentation; end
-      
-        include Google::Apis::Core::JsonObjectSupport
-      end
-      
-      class Enum
-        class Representation < Google::Apis::Core::JsonRepresentation; end
-      
-        include Google::Apis::Core::JsonObjectSupport
-      end
-      
-      class EnableServiceRequest
-        class Representation < Google::Apis::Core::JsonRepresentation; end
-      
-        include Google::Apis::Core::JsonObjectSupport
-      end
-      
-      class LabelDescriptor
-        class Representation < Google::Apis::Core::JsonRepresentation; end
-      
-        include Google::Apis::Core::JsonObjectSupport
-      end
-      
-      class Type
-        class Representation < Google::Apis::Core::JsonRepresentation; end
-      
-        include Google::Apis::Core::JsonObjectSupport
-      end
-      
-      class Experimental
-        class Representation < Google::Apis::Core::JsonRepresentation; end
-      
-        include Google::Apis::Core::JsonObjectSupport
-      end
-      
-      class Backend
-        class Representation < Google::Apis::Core::JsonRepresentation; end
-      
-        include Google::Apis::Core::JsonObjectSupport
-      end
-      
       class DocumentationRule
         class Representation < Google::Apis::Core::JsonRepresentation; end
       
@@ -389,16 +83,423 @@ module Google
       end
       
       class LogDescriptor
+        class Representation < Google::Apis::Core::JsonRepresentation; end
+      
+        include Google::Apis::Core::JsonObjectSupport
+      end
+      
+      class CustomErrorRule
+        class Representation < Google::Apis::Core::JsonRepresentation; end
+      
+        include Google::Apis::Core::JsonObjectSupport
+      end
+      
+      class MonitoredResourceDescriptor
+        class Representation < Google::Apis::Core::JsonRepresentation; end
+      
+        include Google::Apis::Core::JsonObjectSupport
+      end
+      
+      class MediaDownload
+        class Representation < Google::Apis::Core::JsonRepresentation; end
+      
+        include Google::Apis::Core::JsonObjectSupport
+      end
+      
+      class DisableServiceRequest
+        class Representation < Google::Apis::Core::JsonRepresentation; end
+      
+        include Google::Apis::Core::JsonObjectSupport
+      end
+      
+      class SearchServicesResponse
+        class Representation < Google::Apis::Core::JsonRepresentation; end
+      
+        include Google::Apis::Core::JsonObjectSupport
+      end
+      
+      class MediaUpload
+        class Representation < Google::Apis::Core::JsonRepresentation; end
+      
+        include Google::Apis::Core::JsonObjectSupport
+      end
+      
+      class UsageRule
+        class Representation < Google::Apis::Core::JsonRepresentation; end
+      
+        include Google::Apis::Core::JsonObjectSupport
+      end
+      
+      class AuthRequirement
+        class Representation < Google::Apis::Core::JsonRepresentation; end
+      
+        include Google::Apis::Core::JsonObjectSupport
+      end
+      
+      class Documentation
+        class Representation < Google::Apis::Core::JsonRepresentation; end
+      
+        include Google::Apis::Core::JsonObjectSupport
+      end
+      
+      class AuthenticationRule
+        class Representation < Google::Apis::Core::JsonRepresentation; end
+      
+        include Google::Apis::Core::JsonObjectSupport
+      end
+      
+      class BackendRule
+        class Representation < Google::Apis::Core::JsonRepresentation; end
+      
+        include Google::Apis::Core::JsonObjectSupport
+      end
+      
+      class Api
+        class Representation < Google::Apis::Core::JsonRepresentation; end
+      
+        include Google::Apis::Core::JsonObjectSupport
+      end
+      
+      class MetricRule
+        class Representation < Google::Apis::Core::JsonRepresentation; end
+      
+        include Google::Apis::Core::JsonObjectSupport
+      end
+      
+      class Authentication
+        class Representation < Google::Apis::Core::JsonRepresentation; end
+      
+        include Google::Apis::Core::JsonObjectSupport
+      end
+      
+      class Operation
+        class Representation < Google::Apis::Core::JsonRepresentation; end
+      
+        include Google::Apis::Core::JsonObjectSupport
+      end
+      
+      class Page
+        class Representation < Google::Apis::Core::JsonRepresentation; end
+      
+        include Google::Apis::Core::JsonObjectSupport
+      end
+      
+      class Status
+        class Representation < Google::Apis::Core::JsonRepresentation; end
+      
+        include Google::Apis::Core::JsonObjectSupport
+      end
+      
+      class AuthProvider
+        class Representation < Google::Apis::Core::JsonRepresentation; end
+      
+        include Google::Apis::Core::JsonObjectSupport
+      end
+      
+      class EnumValue
+        class Representation < Google::Apis::Core::JsonRepresentation; end
+      
+        include Google::Apis::Core::JsonObjectSupport
+      end
+      
+      class Service
+        class Representation < Google::Apis::Core::JsonRepresentation; end
+      
+        include Google::Apis::Core::JsonObjectSupport
+      end
+      
+      class CustomHttpPattern
+        class Representation < Google::Apis::Core::JsonRepresentation; end
+      
+        include Google::Apis::Core::JsonObjectSupport
+      end
+      
+      class OperationMetadata
+        class Representation < Google::Apis::Core::JsonRepresentation; end
+      
+        include Google::Apis::Core::JsonObjectSupport
+      end
+      
+      class SystemParameterRule
+        class Representation < Google::Apis::Core::JsonRepresentation; end
+      
+        include Google::Apis::Core::JsonObjectSupport
+      end
+      
+      class PublishedService
+        class Representation < Google::Apis::Core::JsonRepresentation; end
+      
+        include Google::Apis::Core::JsonObjectSupport
+      end
+      
+      class HttpRule
+        class Representation < Google::Apis::Core::JsonRepresentation; end
+      
+        include Google::Apis::Core::JsonObjectSupport
+      end
+      
+      class VisibilityRule
+        class Representation < Google::Apis::Core::JsonRepresentation; end
+      
+        include Google::Apis::Core::JsonObjectSupport
+      end
+      
+      class MonitoringDestination
+        class Representation < Google::Apis::Core::JsonRepresentation; end
+      
+        include Google::Apis::Core::JsonObjectSupport
+      end
+      
+      class Visibility
+        class Representation < Google::Apis::Core::JsonRepresentation; end
+      
+        include Google::Apis::Core::JsonObjectSupport
+      end
+      
+      class SystemParameters
+        class Representation < Google::Apis::Core::JsonRepresentation; end
+      
+        include Google::Apis::Core::JsonObjectSupport
+      end
+      
+      class Quota
+        class Representation < Google::Apis::Core::JsonRepresentation; end
+      
+        include Google::Apis::Core::JsonObjectSupport
+      end
+      
+      class Step
+        class Representation < Google::Apis::Core::JsonRepresentation; end
+      
+        include Google::Apis::Core::JsonObjectSupport
+      end
+      
+      class LoggingDestination
+        class Representation < Google::Apis::Core::JsonRepresentation; end
+      
+        include Google::Apis::Core::JsonObjectSupport
+      end
+      
+      class Option
+        class Representation < Google::Apis::Core::JsonRepresentation; end
+      
+        include Google::Apis::Core::JsonObjectSupport
+      end
+      
+      class Logging
+        class Representation < Google::Apis::Core::JsonRepresentation; end
+      
+        include Google::Apis::Core::JsonObjectSupport
+      end
+      
+      class MethodProp
+        class Representation < Google::Apis::Core::JsonRepresentation; end
+      
+        include Google::Apis::Core::JsonObjectSupport
+      end
+      
+      class QuotaLimit
+        class Representation < Google::Apis::Core::JsonRepresentation; end
+      
+        include Google::Apis::Core::JsonObjectSupport
+      end
+      
+      class Mixin
+        class Representation < Google::Apis::Core::JsonRepresentation; end
+      
+        include Google::Apis::Core::JsonObjectSupport
+      end
+      
+      class CustomError
+        class Representation < Google::Apis::Core::JsonRepresentation; end
+      
+        include Google::Apis::Core::JsonObjectSupport
+      end
+      
+      class Http
+        class Representation < Google::Apis::Core::JsonRepresentation; end
+      
+        include Google::Apis::Core::JsonObjectSupport
+      end
+      
+      class SourceInfo
+        class Representation < Google::Apis::Core::JsonRepresentation; end
+      
+        include Google::Apis::Core::JsonObjectSupport
+      end
+      
+      class Control
+        class Representation < Google::Apis::Core::JsonRepresentation; end
+      
+        include Google::Apis::Core::JsonObjectSupport
+      end
+      
+      class SystemParameter
+        class Representation < Google::Apis::Core::JsonRepresentation; end
+      
+        include Google::Apis::Core::JsonObjectSupport
+      end
+      
+      class Monitoring
+        class Representation < Google::Apis::Core::JsonRepresentation; end
+      
+        include Google::Apis::Core::JsonObjectSupport
+      end
+      
+      class Field
+        class Representation < Google::Apis::Core::JsonRepresentation; end
+      
+        include Google::Apis::Core::JsonObjectSupport
+      end
+      
+      class Enum
+        class Representation < Google::Apis::Core::JsonRepresentation; end
+      
+        include Google::Apis::Core::JsonObjectSupport
+      end
+      
+      class LabelDescriptor
+        class Representation < Google::Apis::Core::JsonRepresentation; end
+      
+        include Google::Apis::Core::JsonObjectSupport
+      end
+      
+      class EnableServiceRequest
+        class Representation < Google::Apis::Core::JsonRepresentation; end
+      
+        include Google::Apis::Core::JsonObjectSupport
+      end
+      
+      class Type
+        class Representation < Google::Apis::Core::JsonRepresentation; end
+      
+        include Google::Apis::Core::JsonObjectSupport
+      end
+      
+      class Experimental
+        class Representation < Google::Apis::Core::JsonRepresentation; end
+      
+        include Google::Apis::Core::JsonObjectSupport
+      end
+      
+      class Backend
+        class Representation < Google::Apis::Core::JsonRepresentation; end
+      
+        include Google::Apis::Core::JsonObjectSupport
+      end
+      
+      class DocumentationRule
+        # @private
+        class Representation < Google::Apis::Core::JsonRepresentation
+          property :description, as: 'description'
+          property :deprecation_description, as: 'deprecationDescription'
+          property :selector, as: 'selector'
+        end
+      end
+      
+      class AuthorizationConfig
+        # @private
+        class Representation < Google::Apis::Core::JsonRepresentation
+          property :provider, as: 'provider'
+        end
+      end
+      
+      class ContextRule
+        # @private
+        class Representation < Google::Apis::Core::JsonRepresentation
+          collection :requested, as: 'requested'
+          property :selector, as: 'selector'
+          collection :provided, as: 'provided'
+        end
+      end
+      
+      class MetricDescriptor
         # @private
         class Representation < Google::Apis::Core::JsonRepresentation
           property :name, as: 'name'
+          property :type, as: 'type'
+          property :value_type, as: 'valueType'
+          property :metric_kind, as: 'metricKind'
           property :description, as: 'description'
           property :display_name, as: 'displayName'
+          property :unit, as: 'unit'
           collection :labels, as: 'labels', class: Google::Apis::ServiceuserV1::LabelDescriptor, decorator: Google::Apis::ServiceuserV1::LabelDescriptor::Representation
       
         end
       end
       
+      class SourceContext
+        # @private
+        class Representation < Google::Apis::Core::JsonRepresentation
+          property :file_name, as: 'fileName'
+        end
+      end
+      
+      class Endpoint
+        # @private
+        class Representation < Google::Apis::Core::JsonRepresentation
+          collection :features, as: 'features'
+          collection :apis, as: 'apis'
+          property :allow_cors, as: 'allowCors'
+          collection :aliases, as: 'aliases'
+          property :name, as: 'name'
+          property :target, as: 'target'
+        end
+      end
+      
+      class ListEnabledServicesResponse
+        # @private
+        class Representation < Google::Apis::Core::JsonRepresentation
+          collection :services, as: 'services', class: Google::Apis::ServiceuserV1::PublishedService, decorator: Google::Apis::ServiceuserV1::PublishedService::Representation
+      
+          property :next_page_token, as: 'nextPageToken'
+        end
+      end
+      
+      class OAuthRequirements
+        # @private
+        class Representation < Google::Apis::Core::JsonRepresentation
+          property :canonical_scopes, as: 'canonicalScopes'
+        end
+      end
+      
+      class Usage
+        # @private
+        class Representation < Google::Apis::Core::JsonRepresentation
+          collection :requirements, as: 'requirements'
+          property :producer_notification_channel, as: 'producerNotificationChannel'
+          collection :rules, as: 'rules', class: Google::Apis::ServiceuserV1::UsageRule, decorator: Google::Apis::ServiceuserV1::UsageRule::Representation
+      
+        end
+      end
+      
+      class Context
+        # @private
+        class Representation < Google::Apis::Core::JsonRepresentation
+          collection :rules, as: 'rules', class: Google::Apis::ServiceuserV1::ContextRule, decorator: Google::Apis::ServiceuserV1::ContextRule::Representation
+      
+        end
+      end
+      
+      class LogDescriptor
+        # @private
+        class Representation < Google::Apis::Core::JsonRepresentation
+          collection :labels, as: 'labels', class: Google::Apis::ServiceuserV1::LabelDescriptor, decorator: Google::Apis::ServiceuserV1::LabelDescriptor::Representation
+      
+          property :name, as: 'name'
+          property :description, as: 'description'
+          property :display_name, as: 'displayName'
+        end
+      end
+      
+      class CustomErrorRule
+        # @private
+        class Representation < Google::Apis::Core::JsonRepresentation
+          property :is_error_type, as: 'isErrorType'
+          property :selector, as: 'selector'
+        end
+      end
+      
       class MonitoredResourceDescriptor
         # @private
         class Representation < Google::Apis::Core::JsonRepresentation
@@ -411,14 +512,6 @@ module Google
         end
       end
       
-      class CustomErrorRule
-        # @private
-        class Representation < Google::Apis::Core::JsonRepresentation
-          property :is_error_type, as: 'isErrorType'
-          property :selector, as: 'selector'
-        end
-      end
-      
       class MediaDownload
         # @private
         class Representation < Google::Apis::Core::JsonRepresentation
@@ -453,16 +546,16 @@ module Google
       class UsageRule
         # @private
         class Representation < Google::Apis::Core::JsonRepresentation
-          property :selector, as: 'selector'
           property :allow_unregistered_calls, as: 'allowUnregisteredCalls'
+          property :selector, as: 'selector'
         end
       end
       
       class AuthRequirement
         # @private
         class Representation < Google::Apis::Core::JsonRepresentation
-          property :audiences, as: 'audiences'
           property :provider_id, as: 'providerId'
+          property :audiences, as: 'audiences'
         end
       end
       
@@ -479,15 +572,6 @@ module Google
         end
       end
       
-      class BackendRule
-        # @private
-        class Representation < Google::Apis::Core::JsonRepresentation
-          property :address, as: 'address'
-          property :selector, as: 'selector'
-          property :deadline, as: 'deadline'
-        end
-      end
-      
       class AuthenticationRule
         # @private
         class Representation < Google::Apis::Core::JsonRepresentation
@@ -500,13 +584,21 @@ module Google
         end
       end
       
+      class BackendRule
+        # @private
+        class Representation < Google::Apis::Core::JsonRepresentation
+          property :address, as: 'address'
+          property :selector, as: 'selector'
+          property :deadline, as: 'deadline'
+        end
+      end
+      
       class Api
         # @private
         class Representation < Google::Apis::Core::JsonRepresentation
-          property :name, as: 'name'
+          property :syntax, as: 'syntax'
           property :source_context, as: 'sourceContext', class: Google::Apis::ServiceuserV1::SourceContext, decorator: Google::Apis::ServiceuserV1::SourceContext::Representation
       
-          property :syntax, as: 'syntax'
           property :version, as: 'version'
           collection :mixins, as: 'mixins', class: Google::Apis::ServiceuserV1::Mixin, decorator: Google::Apis::ServiceuserV1::Mixin::Representation
       
@@ -514,6 +606,7 @@ module Google
       
           collection :methods_prop, as: 'methods', class: Google::Apis::ServiceuserV1::MethodProp, decorator: Google::Apis::ServiceuserV1::MethodProp::Representation
       
+          property :name, as: 'name'
         end
       end
       
@@ -538,12 +631,12 @@ module Google
       class Operation
         # @private
         class Representation < Google::Apis::Core::JsonRepresentation
-          property :done, as: 'done'
           hash :response, as: 'response'
           property :name, as: 'name'
           property :error, as: 'error', class: Google::Apis::ServiceuserV1::Status, decorator: Google::Apis::ServiceuserV1::Status::Representation
       
           hash :metadata, as: 'metadata'
+          property :done, as: 'done'
         end
       end
       
@@ -560,29 +653,39 @@ module Google
       class Status
         # @private
         class Representation < Google::Apis::Core::JsonRepresentation
+          property :code, as: 'code'
           property :message, as: 'message'
           collection :details, as: 'details'
-          property :code, as: 'code'
         end
       end
       
       class AuthProvider
         # @private
         class Representation < Google::Apis::Core::JsonRepresentation
-          property :id, as: 'id'
-          property :issuer, as: 'issuer'
           property :jwks_uri, as: 'jwksUri'
           property :audiences, as: 'audiences'
+          property :id, as: 'id'
+          property :issuer, as: 'issuer'
+        end
+      end
+      
+      class EnumValue
+        # @private
+        class Representation < Google::Apis::Core::JsonRepresentation
+          collection :options, as: 'options', class: Google::Apis::ServiceuserV1::Option, decorator: Google::Apis::ServiceuserV1::Option::Representation
+      
+          property :number, as: 'number'
+          property :name, as: 'name'
         end
       end
       
       class Service
         # @private
         class Representation < Google::Apis::Core::JsonRepresentation
-          collection :enums, as: 'enums', class: Google::Apis::ServiceuserV1::Enum, decorator: Google::Apis::ServiceuserV1::Enum::Representation
-      
           property :context, as: 'context', class: Google::Apis::ServiceuserV1::Context, decorator: Google::Apis::ServiceuserV1::Context::Representation
       
+          collection :enums, as: 'enums', class: Google::Apis::ServiceuserV1::Enum, decorator: Google::Apis::ServiceuserV1::Enum::Representation
+      
           property :id, as: 'id'
           property :usage, as: 'usage', class: Google::Apis::ServiceuserV1::Usage, decorator: Google::Apis::ServiceuserV1::Usage::Representation
       
@@ -610,20 +713,20 @@ module Google
           property :title, as: 'title'
           collection :endpoints, as: 'endpoints', class: Google::Apis::ServiceuserV1::Endpoint, decorator: Google::Apis::ServiceuserV1::Endpoint::Representation
       
-          collection :apis, as: 'apis', class: Google::Apis::ServiceuserV1::Api, decorator: Google::Apis::ServiceuserV1::Api::Representation
-      
           collection :logs, as: 'logs', class: Google::Apis::ServiceuserV1::LogDescriptor, decorator: Google::Apis::ServiceuserV1::LogDescriptor::Representation
       
+          collection :apis, as: 'apis', class: Google::Apis::ServiceuserV1::Api, decorator: Google::Apis::ServiceuserV1::Api::Representation
+      
           collection :types, as: 'types', class: Google::Apis::ServiceuserV1::Type, decorator: Google::Apis::ServiceuserV1::Type::Representation
       
           property :source_info, as: 'sourceInfo', class: Google::Apis::ServiceuserV1::SourceInfo, decorator: Google::Apis::ServiceuserV1::SourceInfo::Representation
       
           property :http, as: 'http', class: Google::Apis::ServiceuserV1::Http, decorator: Google::Apis::ServiceuserV1::Http::Representation
       
-          property :backend, as: 'backend', class: Google::Apis::ServiceuserV1::Backend, decorator: Google::Apis::ServiceuserV1::Backend::Representation
-      
           property :system_parameters, as: 'systemParameters', class: Google::Apis::ServiceuserV1::SystemParameters, decorator: Google::Apis::ServiceuserV1::SystemParameters::Representation
       
+          property :backend, as: 'backend', class: Google::Apis::ServiceuserV1::Backend, decorator: Google::Apis::ServiceuserV1::Backend::Representation
+      
           property :documentation, as: 'documentation', class: Google::Apis::ServiceuserV1::Documentation, decorator: Google::Apis::ServiceuserV1::Documentation::Representation
       
           collection :monitored_resources, as: 'monitoredResources', class: Google::Apis::ServiceuserV1::MonitoredResourceDescriptor, decorator: Google::Apis::ServiceuserV1::MonitoredResourceDescriptor::Representation
@@ -633,16 +736,6 @@ module Google
         end
       end
       
-      class EnumValue
-        # @private
-        class Representation < Google::Apis::Core::JsonRepresentation
-          property :name, as: 'name'
-          collection :options, as: 'options', class: Google::Apis::ServiceuserV1::Option, decorator: Google::Apis::ServiceuserV1::Option::Representation
-      
-          property :number, as: 'number'
-        end
-      end
-      
       class CustomHttpPattern
         # @private
         class Representation < Google::Apis::Core::JsonRepresentation
@@ -654,11 +747,20 @@ module Google
       class OperationMetadata
         # @private
         class Representation < Google::Apis::Core::JsonRepresentation
-          property :progress_percentage, as: 'progressPercentage'
           property :start_time, as: 'startTime'
           collection :resource_names, as: 'resourceNames'
           collection :steps, as: 'steps', class: Google::Apis::ServiceuserV1::Step, decorator: Google::Apis::ServiceuserV1::Step::Representation
       
+          property :progress_percentage, as: 'progressPercentage'
+        end
+      end
+      
+      class SystemParameterRule
+        # @private
+        class Representation < Google::Apis::Core::JsonRepresentation
+          collection :parameters, as: 'parameters', class: Google::Apis::ServiceuserV1::SystemParameter, decorator: Google::Apis::ServiceuserV1::SystemParameter::Representation
+      
+          property :selector, as: 'selector'
         end
       end
       
@@ -671,29 +773,9 @@ module Google
         end
       end
       
-      class SystemParameterRule
-        # @private
-        class Representation < Google::Apis::Core::JsonRepresentation
-          property :selector, as: 'selector'
-          collection :parameters, as: 'parameters', class: Google::Apis::ServiceuserV1::SystemParameter, decorator: Google::Apis::ServiceuserV1::SystemParameter::Representation
-      
-        end
-      end
-      
-      class VisibilityRule
-        # @private
-        class Representation < Google::Apis::Core::JsonRepresentation
-          property :restriction, as: 'restriction'
-          property :selector, as: 'selector'
-        end
-      end
-      
       class HttpRule
         # @private
         class Representation < Google::Apis::Core::JsonRepresentation
-          collection :additional_bindings, as: 'additionalBindings', class: Google::Apis::ServiceuserV1::HttpRule, decorator: Google::Apis::ServiceuserV1::HttpRule::Representation
-      
-          property :response_body, as: 'responseBody'
           property :media_upload, as: 'mediaUpload', class: Google::Apis::ServiceuserV1::MediaUpload, decorator: Google::Apis::ServiceuserV1::MediaUpload::Representation
       
           property :selector, as: 'selector'
@@ -707,6 +789,17 @@ module Google
           property :media_download, as: 'mediaDownload', class: Google::Apis::ServiceuserV1::MediaDownload, decorator: Google::Apis::ServiceuserV1::MediaDownload::Representation
       
           property :post, as: 'post'
+          collection :additional_bindings, as: 'additionalBindings', class: Google::Apis::ServiceuserV1::HttpRule, decorator: Google::Apis::ServiceuserV1::HttpRule::Representation
+      
+          property :response_body, as: 'responseBody'
+        end
+      end
+      
+      class VisibilityRule
+        # @private
+        class Representation < Google::Apis::Core::JsonRepresentation
+          property :selector, as: 'selector'
+          property :restriction, as: 'restriction'
         end
       end
       
@@ -771,33 +864,16 @@ module Google
       class Logging
         # @private
         class Representation < Google::Apis::Core::JsonRepresentation
-          collection :consumer_destinations, as: 'consumerDestinations', class: Google::Apis::ServiceuserV1::LoggingDestination, decorator: Google::Apis::ServiceuserV1::LoggingDestination::Representation
-      
           collection :producer_destinations, as: 'producerDestinations', class: Google::Apis::ServiceuserV1::LoggingDestination, decorator: Google::Apis::ServiceuserV1::LoggingDestination::Representation
       
-        end
-      end
+          collection :consumer_destinations, as: 'consumerDestinations', class: Google::Apis::ServiceuserV1::LoggingDestination, decorator: Google::Apis::ServiceuserV1::LoggingDestination::Representation
       
-      class QuotaLimit
-        # @private
-        class Representation < Google::Apis::Core::JsonRepresentation
-          property :unit, as: 'unit'
-          property :max_limit, as: 'maxLimit'
-          property :name, as: 'name'
-          property :duration, as: 'duration'
-          property :free_tier, as: 'freeTier'
-          property :default_limit, as: 'defaultLimit'
-          property :description, as: 'description'
-          property :metric, as: 'metric'
-          property :display_name, as: 'displayName'
-          hash :values, as: 'values'
         end
       end
       
       class MethodProp
         # @private
         class Representation < Google::Apis::Core::JsonRepresentation
-          property :syntax, as: 'syntax'
           property :response_type_url, as: 'responseTypeUrl'
           collection :options, as: 'options', class: Google::Apis::ServiceuserV1::Option, decorator: Google::Apis::ServiceuserV1::Option::Representation
       
@@ -805,6 +881,23 @@ module Google
           property :name, as: 'name'
           property :request_type_url, as: 'requestTypeUrl'
           property :request_streaming, as: 'requestStreaming'
+          property :syntax, as: 'syntax'
+        end
+      end
+      
+      class QuotaLimit
+        # @private
+        class Representation < Google::Apis::Core::JsonRepresentation
+          property :duration, as: 'duration'
+          property :free_tier, :numeric_string => true, as: 'freeTier'
+          property :default_limit, :numeric_string => true, as: 'defaultLimit'
+          property :description, as: 'description'
+          property :metric, as: 'metric'
+          property :display_name, as: 'displayName'
+          hash :values, as: 'values'
+          property :unit, as: 'unit'
+          property :max_limit, :numeric_string => true, as: 'maxLimit'
+          property :name, as: 'name'
         end
       end
       
@@ -828,9 +921,9 @@ module Google
       class Http
         # @private
         class Representation < Google::Apis::Core::JsonRepresentation
-          property :fully_decode_reserved_expansion, as: 'fullyDecodeReservedExpansion'
           collection :rules, as: 'rules', class: Google::Apis::ServiceuserV1::HttpRule, decorator: Google::Apis::ServiceuserV1::HttpRule::Representation
       
+          property :fully_decode_reserved_expansion, as: 'fullyDecodeReservedExpansion'
         end
       end
       
@@ -851,9 +944,9 @@ module Google
       class SystemParameter
         # @private
         class Representation < Google::Apis::Core::JsonRepresentation
+          property :http_header, as: 'httpHeader'
           property :name, as: 'name'
           property :url_query_parameter, as: 'urlQueryParameter'
-          property :http_header, as: 'httpHeader'
         end
       end
       
@@ -870,31 +963,40 @@ module Google
       class Field
         # @private
         class Representation < Google::Apis::Core::JsonRepresentation
-          property :name, as: 'name'
-          property :type_url, as: 'typeUrl'
-          property :number, as: 'number'
-          property :json_name, as: 'jsonName'
           property :kind, as: 'kind'
+          property :json_name, as: 'jsonName'
           collection :options, as: 'options', class: Google::Apis::ServiceuserV1::Option, decorator: Google::Apis::ServiceuserV1::Option::Representation
       
           property :oneof_index, as: 'oneofIndex'
-          property :cardinality, as: 'cardinality'
           property :packed, as: 'packed'
+          property :cardinality, as: 'cardinality'
           property :default_value, as: 'defaultValue'
+          property :name, as: 'name'
+          property :type_url, as: 'typeUrl'
+          property :number, as: 'number'
         end
       end
       
       class Enum
         # @private
         class Representation < Google::Apis::Core::JsonRepresentation
-          property :source_context, as: 'sourceContext', class: Google::Apis::ServiceuserV1::SourceContext, decorator: Google::Apis::ServiceuserV1::SourceContext::Representation
-      
-          property :syntax, as: 'syntax'
           property :name, as: 'name'
           collection :enumvalue, as: 'enumvalue', class: Google::Apis::ServiceuserV1::EnumValue, decorator: Google::Apis::ServiceuserV1::EnumValue::Representation
       
           collection :options, as: 'options', class: Google::Apis::ServiceuserV1::Option, decorator: Google::Apis::ServiceuserV1::Option::Representation
       
+          property :source_context, as: 'sourceContext', class: Google::Apis::ServiceuserV1::SourceContext, decorator: Google::Apis::ServiceuserV1::SourceContext::Representation
+      
+          property :syntax, as: 'syntax'
+        end
+      end
+      
+      class LabelDescriptor
+        # @private
+        class Representation < Google::Apis::Core::JsonRepresentation
+          property :key, as: 'key'
+          property :description, as: 'description'
+          property :value_type, as: 'valueType'
         end
       end
       
@@ -904,27 +1006,18 @@ module Google
         end
       end
       
-      class LabelDescriptor
-        # @private
-        class Representation < Google::Apis::Core::JsonRepresentation
-          property :value_type, as: 'valueType'
-          property :key, as: 'key'
-          property :description, as: 'description'
-        end
-      end
-      
       class Type
         # @private
         class Representation < Google::Apis::Core::JsonRepresentation
+          collection :options, as: 'options', class: Google::Apis::ServiceuserV1::Option, decorator: Google::Apis::ServiceuserV1::Option::Representation
+      
           collection :fields, as: 'fields', class: Google::Apis::ServiceuserV1::Field, decorator: Google::Apis::ServiceuserV1::Field::Representation
       
           property :name, as: 'name'
           collection :oneofs, as: 'oneofs'
-          property :syntax, as: 'syntax'
           property :source_context, as: 'sourceContext', class: Google::Apis::ServiceuserV1::SourceContext, decorator: Google::Apis::ServiceuserV1::SourceContext::Representation
       
-          collection :options, as: 'options', class: Google::Apis::ServiceuserV1::Option, decorator: Google::Apis::ServiceuserV1::Option::Representation
-      
+          property :syntax, as: 'syntax'
         end
       end
       
@@ -943,99 +1036,6 @@ module Google
       
         end
       end
-      
-      class DocumentationRule
-        # @private
-        class Representation < Google::Apis::Core::JsonRepresentation
-          property :description, as: 'description'
-          property :deprecation_description, as: 'deprecationDescription'
-          property :selector, as: 'selector'
-        end
-      end
-      
-      class AuthorizationConfig
-        # @private
-        class Representation < Google::Apis::Core::JsonRepresentation
-          property :provider, as: 'provider'
-        end
-      end
-      
-      class ContextRule
-        # @private
-        class Representation < Google::Apis::Core::JsonRepresentation
-          property :selector, as: 'selector'
-          collection :provided, as: 'provided'
-          collection :requested, as: 'requested'
-        end
-      end
-      
-      class MetricDescriptor
-        # @private
-        class Representation < Google::Apis::Core::JsonRepresentation
-          property :unit, as: 'unit'
-          collection :labels, as: 'labels', class: Google::Apis::ServiceuserV1::LabelDescriptor, decorator: Google::Apis::ServiceuserV1::LabelDescriptor::Representation
-      
-          property :name, as: 'name'
-          property :type, as: 'type'
-          property :value_type, as: 'valueType'
-          property :metric_kind, as: 'metricKind'
-          property :display_name, as: 'displayName'
-          property :description, as: 'description'
-        end
-      end
-      
-      class SourceContext
-        # @private
-        class Representation < Google::Apis::Core::JsonRepresentation
-          property :file_name, as: 'fileName'
-        end
-      end
-      
-      class Endpoint
-        # @private
-        class Representation < Google::Apis::Core::JsonRepresentation
-          collection :features, as: 'features'
-          collection :apis, as: 'apis'
-          property :allow_cors, as: 'allowCors'
-          collection :aliases, as: 'aliases'
-          property :target, as: 'target'
-          property :name, as: 'name'
-        end
-      end
-      
-      class ListEnabledServicesResponse
-        # @private
-        class Representation < Google::Apis::Core::JsonRepresentation
-          collection :services, as: 'services', class: Google::Apis::ServiceuserV1::PublishedService, decorator: Google::Apis::ServiceuserV1::PublishedService::Representation
-      
-          property :next_page_token, as: 'nextPageToken'
-        end
-      end
-      
-      class OAuthRequirements
-        # @private
-        class Representation < Google::Apis::Core::JsonRepresentation
-          property :canonical_scopes, as: 'canonicalScopes'
-        end
-      end
-      
-      class Usage
-        # @private
-        class Representation < Google::Apis::Core::JsonRepresentation
-          property :producer_notification_channel, as: 'producerNotificationChannel'
-          collection :rules, as: 'rules', class: Google::Apis::ServiceuserV1::UsageRule, decorator: Google::Apis::ServiceuserV1::UsageRule::Representation
-      
-          collection :requirements, as: 'requirements'
-        end
-      end
-      
-      class Context
-        # @private
-        class Representation < Google::Apis::Core::JsonRepresentation
-          collection :rules, as: 'rules', class: Google::Apis::ServiceuserV1::ContextRule, decorator: Google::Apis::ServiceuserV1::ContextRule::Representation
-      
-        end
-      end
     end
   end
 end
diff --git a/generated/google/apis/serviceuser_v1/service.rb b/generated/google/apis/serviceuser_v1/service.rb
index e5f813ef5..93aa6f4a6 100644
--- a/generated/google/apis/serviceuser_v1/service.rb
+++ b/generated/google/apis/serviceuser_v1/service.rb
@@ -34,55 +34,19 @@ module Google
       #
       # @see https://cloud.google.com/service-management/
       class ServiceUserService < Google::Apis::Core::BaseService
-        # @return [String]
-        #  Available to use for quota purposes for server-side applications. Can be any
-        #  arbitrary string assigned to a user, but should not exceed 40 characters.
-        attr_accessor :quota_user
-
         # @return [String]
         #  API key. Your API key identifies your project and provides you with API access,
         #  quota, and reports. Required unless you provide an OAuth 2.0 token.
         attr_accessor :key
 
+        # @return [String]
+        #  Available to use for quota purposes for server-side applications. Can be any
+        #  arbitrary string assigned to a user, but should not exceed 40 characters.
+        attr_accessor :quota_user
+
         def initialize
           super('https://serviceuser.googleapis.com/', '')
-        end
-        
-        # Search available services.
-        # When no filter is specified, returns all accessible services. For
-        # authenticated users, also returns all services the calling user has
-        # "servicemanagement.services.bind" permission for.
-        # @param [String] page_token
-        #   Token identifying which result to start with; returned by a previous list
-        #   call.
-        # @param [Fixnum] page_size
-        #   Requested size of the next page of data.
-        # @param [String] quota_user
-        #   Available to use for quota purposes for server-side applications. Can be any
-        #   arbitrary string assigned to a user, but should not exceed 40 characters.
-        # @param [String] fields
-        #   Selector specifying which fields to include in a partial response.
-        # @param [Google::Apis::RequestOptions] options
-        #   Request-specific options
-        #
-        # @yield [result, err] Result & error if block supplied
-        # @yieldparam result [Google::Apis::ServiceuserV1::SearchServicesResponse] parsed result object
-        # @yieldparam err [StandardError] error object if request failed
-        #
-        # @return [Google::Apis::ServiceuserV1::SearchServicesResponse]
-        #
-        # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
-        # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
-        # @raise [Google::Apis::AuthorizationError] Authorization is required
-        def search_services(page_token: nil, page_size: nil, quota_user: nil, fields: nil, options: nil, &block)
-          command =  make_simple_command(:get, 'v1/services:search', options)
-          command.response_representation = Google::Apis::ServiceuserV1::SearchServicesResponse::Representation
-          command.response_class = Google::Apis::ServiceuserV1::SearchServicesResponse
-          command.query['pageToken'] = page_token unless page_token.nil?
-          command.query['pageSize'] = page_size unless page_size.nil?
-          command.query['quotaUser'] = quota_user unless quota_user.nil?
-          command.query['fields'] = fields unless fields.nil?
-          execute_or_queue_command(command, &block)
+          @batch_path = 'batch'
         end
         
         # Disable a service so it can no longer be used with a
@@ -168,11 +132,11 @@ module Google
         #   List enabled services for the specified parent.
         #   An example valid parent would be:
         #   - projects/my-project
+        # @param [Fixnum] page_size
+        #   Requested size of the next page of data.
         # @param [String] page_token
         #   Token identifying which result to start with; returned by a previous list
         #   call.
-        # @param [Fixnum] page_size
-        #   Requested size of the next page of data.
         # @param [String] quota_user
         #   Available to use for quota purposes for server-side applications. Can be any
         #   arbitrary string assigned to a user, but should not exceed 40 characters.
@@ -190,11 +154,48 @@ module Google
         # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
         # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
         # @raise [Google::Apis::AuthorizationError] Authorization is required
-        def list_project_services(parent, page_token: nil, page_size: nil, quota_user: nil, fields: nil, options: nil, &block)
+        def list_project_services(parent, page_size: nil, page_token: nil, quota_user: nil, fields: nil, options: nil, &block)
           command =  make_simple_command(:get, 'v1/{+parent}/services', options)
           command.response_representation = Google::Apis::ServiceuserV1::ListEnabledServicesResponse::Representation
           command.response_class = Google::Apis::ServiceuserV1::ListEnabledServicesResponse
           command.params['parent'] = parent unless parent.nil?
+          command.query['pageSize'] = page_size unless page_size.nil?
+          command.query['pageToken'] = page_token unless page_token.nil?
+          command.query['quotaUser'] = quota_user unless quota_user.nil?
+          command.query['fields'] = fields unless fields.nil?
+          execute_or_queue_command(command, &block)
+        end
+        
+        # Search available services.
+        # When no filter is specified, returns all accessible services. For
+        # authenticated users, also returns all services the calling user has
+        # "servicemanagement.services.bind" permission for.
+        # @param [String] page_token
+        #   Token identifying which result to start with; returned by a previous list
+        #   call.
+        # @param [Fixnum] page_size
+        #   Requested size of the next page of data.
+        # @param [String] quota_user
+        #   Available to use for quota purposes for server-side applications. Can be any
+        #   arbitrary string assigned to a user, but should not exceed 40 characters.
+        # @param [String] fields
+        #   Selector specifying which fields to include in a partial response.
+        # @param [Google::Apis::RequestOptions] options
+        #   Request-specific options
+        #
+        # @yield [result, err] Result & error if block supplied
+        # @yieldparam result [Google::Apis::ServiceuserV1::SearchServicesResponse] parsed result object
+        # @yieldparam err [StandardError] error object if request failed
+        #
+        # @return [Google::Apis::ServiceuserV1::SearchServicesResponse]
+        #
+        # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
+        # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
+        # @raise [Google::Apis::AuthorizationError] Authorization is required
+        def search_services(page_token: nil, page_size: nil, quota_user: nil, fields: nil, options: nil, &block)
+          command =  make_simple_command(:get, 'v1/services:search', options)
+          command.response_representation = Google::Apis::ServiceuserV1::SearchServicesResponse::Representation
+          command.response_class = Google::Apis::ServiceuserV1::SearchServicesResponse
           command.query['pageToken'] = page_token unless page_token.nil?
           command.query['pageSize'] = page_size unless page_size.nil?
           command.query['quotaUser'] = quota_user unless quota_user.nil?
@@ -205,8 +206,8 @@ module Google
         protected
 
         def apply_command_defaults(command)
-          command.query['quotaUser'] = quota_user unless quota_user.nil?
           command.query['key'] = key unless key.nil?
+          command.query['quotaUser'] = quota_user unless quota_user.nil?
         end
       end
     end
diff --git a/generated/google/apis/sheets_v4.rb b/generated/google/apis/sheets_v4.rb
index f2f6e36aa..a4c9abacd 100644
--- a/generated/google/apis/sheets_v4.rb
+++ b/generated/google/apis/sheets_v4.rb
@@ -25,7 +25,7 @@ module Google
     # @see https://developers.google.com/sheets/
     module SheetsV4
       VERSION = 'V4'
-      REVISION = '20170323'
+      REVISION = '20170330'
 
       # View and manage the files in your Google Drive
       AUTH_DRIVE = 'https://www.googleapis.com/auth/drive'
diff --git a/generated/google/apis/sheets_v4/classes.rb b/generated/google/apis/sheets_v4/classes.rb
index 731a3eb47..1b7272458 100644
--- a/generated/google/apis/sheets_v4/classes.rb
+++ b/generated/google/apis/sheets_v4/classes.rb
@@ -22,25 +22,2151 @@ module Google
   module Apis
     module SheetsV4
       
+      # Deletes the requested sheet.
+      class DeleteSheetRequest
+        include Google::Apis::Core::Hashable
+      
+        # The ID of the sheet to delete.
+        # Corresponds to the JSON property `sheetId`
+        # @return [Fixnum]
+        attr_accessor :sheet_id
+      
+        def initialize(**args)
+           update!(**args)
+        end
+      
+        # Update properties of this object
+        def update!(**args)
+          @sheet_id = args[:sheet_id] if args.key?(:sheet_id)
+        end
+      end
+      
+      # Duplicates a particular filter view.
+      class DuplicateFilterViewRequest
+        include Google::Apis::Core::Hashable
+      
+        # The ID of the filter being duplicated.
+        # Corresponds to the JSON property `filterId`
+        # @return [Fixnum]
+        attr_accessor :filter_id
+      
+        def initialize(**args)
+           update!(**args)
+        end
+      
+        # Update properties of this object
+        def update!(**args)
+          @filter_id = args[:filter_id] if args.key?(:filter_id)
+        end
+      end
+      
+      # The result of updating a conditional format rule.
+      class UpdateConditionalFormatRuleResponse
+        include Google::Apis::Core::Hashable
+      
+        # The old index of the rule. Not set if a rule was replaced
+        # (because it is the same as new_index).
+        # Corresponds to the JSON property `oldIndex`
+        # @return [Fixnum]
+        attr_accessor :old_index
+      
+        # A rule describing a conditional format.
+        # Corresponds to the JSON property `newRule`
+        # @return [Google::Apis::SheetsV4::ConditionalFormatRule]
+        attr_accessor :new_rule
+      
+        # A rule describing a conditional format.
+        # Corresponds to the JSON property `oldRule`
+        # @return [Google::Apis::SheetsV4::ConditionalFormatRule]
+        attr_accessor :old_rule
+      
+        # The index of the new rule.
+        # Corresponds to the JSON property `newIndex`
+        # @return [Fixnum]
+        attr_accessor :new_index
+      
+        def initialize(**args)
+           update!(**args)
+        end
+      
+        # Update properties of this object
+        def update!(**args)
+          @old_index = args[:old_index] if args.key?(:old_index)
+          @new_rule = args[:new_rule] if args.key?(:new_rule)
+          @old_rule = args[:old_rule] if args.key?(:old_rule)
+          @new_index = args[:new_index] if args.key?(:new_index)
+        end
+      end
+      
+      # The value of the condition.
+      class ConditionValue
+        include Google::Apis::Core::Hashable
+      
+        # A relative date (based on the current date).
+        # Valid only if the type is
+        # DATE_BEFORE,
+        # DATE_AFTER,
+        # DATE_ON_OR_BEFORE or
+        # DATE_ON_OR_AFTER.
+        # Relative dates are not supported in data validation.
+        # They are supported only in conditional formatting and
+        # conditional filters.
+        # Corresponds to the JSON property `relativeDate`
+        # @return [String]
+        attr_accessor :relative_date
+      
+        # A value the condition is based on.
+        # The value will be parsed as if the user typed into a cell.
+        # Formulas are supported (and must begin with an `=`).
+        # Corresponds to the JSON property `userEnteredValue`
+        # @return [String]
+        attr_accessor :user_entered_value
+      
+        def initialize(**args)
+           update!(**args)
+        end
+      
+        # Update properties of this object
+        def update!(**args)
+          @relative_date = args[:relative_date] if args.key?(:relative_date)
+          @user_entered_value = args[:user_entered_value] if args.key?(:user_entered_value)
+        end
+      end
+      
+      # Duplicates the contents of a sheet.
+      class DuplicateSheetRequest
+        include Google::Apis::Core::Hashable
+      
+        # The zero-based index where the new sheet should be inserted.
+        # The index of all sheets after this are incremented.
+        # Corresponds to the JSON property `insertSheetIndex`
+        # @return [Fixnum]
+        attr_accessor :insert_sheet_index
+      
+        # The name of the new sheet.  If empty, a new name is chosen for you.
+        # Corresponds to the JSON property `newSheetName`
+        # @return [String]
+        attr_accessor :new_sheet_name
+      
+        # The sheet to duplicate.
+        # Corresponds to the JSON property `sourceSheetId`
+        # @return [Fixnum]
+        attr_accessor :source_sheet_id
+      
+        # If set, the ID of the new sheet. If not set, an ID is chosen.
+        # If set, the ID must not conflict with any existing sheet ID.
+        # If set, it must be non-negative.
+        # Corresponds to the JSON property `newSheetId`
+        # @return [Fixnum]
+        attr_accessor :new_sheet_id
+      
+        def initialize(**args)
+           update!(**args)
+        end
+      
+        # Update properties of this object
+        def update!(**args)
+          @insert_sheet_index = args[:insert_sheet_index] if args.key?(:insert_sheet_index)
+          @new_sheet_name = args[:new_sheet_name] if args.key?(:new_sheet_name)
+          @source_sheet_id = args[:source_sheet_id] if args.key?(:source_sheet_id)
+          @new_sheet_id = args[:new_sheet_id] if args.key?(:new_sheet_id)
+        end
+      end
+      
+      # The kinds of value that a cell in a spreadsheet can have.
+      class ExtendedValue
+        include Google::Apis::Core::Hashable
+      
+        # An error in a cell.
+        # Corresponds to the JSON property `errorValue`
+        # @return [Google::Apis::SheetsV4::ErrorValue]
+        attr_accessor :error_value
+      
+        # Represents a string value.
+        # Leading single quotes are not included. For example, if the user typed
+        # `'123` into the UI, this would be represented as a `stringValue` of
+        # `"123"`.
+        # Corresponds to the JSON property `stringValue`
+        # @return [String]
+        attr_accessor :string_value
+      
+        # Represents a boolean value.
+        # Corresponds to the JSON property `boolValue`
+        # @return [Boolean]
+        attr_accessor :bool_value
+        alias_method :bool_value?, :bool_value
+      
+        # Represents a formula.
+        # Corresponds to the JSON property `formulaValue`
+        # @return [String]
+        attr_accessor :formula_value
+      
+        # Represents a double value.
+        # Note: Dates, Times and DateTimes are represented as doubles in
+        # "serial number" format.
+        # Corresponds to the JSON property `numberValue`
+        # @return [Float]
+        attr_accessor :number_value
+      
+        def initialize(**args)
+           update!(**args)
+        end
+      
+        # Update properties of this object
+        def update!(**args)
+          @error_value = args[:error_value] if args.key?(:error_value)
+          @string_value = args[:string_value] if args.key?(:string_value)
+          @bool_value = args[:bool_value] if args.key?(:bool_value)
+          @formula_value = args[:formula_value] if args.key?(:formula_value)
+          @number_value = args[:number_value] if args.key?(:number_value)
+        end
+      end
+      
+      # Adds a chart to a sheet in the spreadsheet.
+      class AddChartRequest
+        include Google::Apis::Core::Hashable
+      
+        # A chart embedded in a sheet.
+        # Corresponds to the JSON property `chart`
+        # @return [Google::Apis::SheetsV4::EmbeddedChart]
+        attr_accessor :chart
+      
+        def initialize(**args)
+           update!(**args)
+        end
+      
+        # Update properties of this object
+        def update!(**args)
+          @chart = args[:chart] if args.key?(:chart)
+        end
+      end
+      
+      # Resource that represents a spreadsheet.
+      class Spreadsheet
+        include Google::Apis::Core::Hashable
+      
+        # Properties of a spreadsheet.
+        # Corresponds to the JSON property `properties`
+        # @return [Google::Apis::SheetsV4::SpreadsheetProperties]
+        attr_accessor :properties
+      
+        # The ID of the spreadsheet.
+        # This field is read-only.
+        # Corresponds to the JSON property `spreadsheetId`
+        # @return [String]
+        attr_accessor :spreadsheet_id
+      
+        # The sheets that are part of a spreadsheet.
+        # Corresponds to the JSON property `sheets`
+        # @return [Array]
+        attr_accessor :sheets
+      
+        # The named ranges defined in a spreadsheet.
+        # Corresponds to the JSON property `namedRanges`
+        # @return [Array]
+        attr_accessor :named_ranges
+      
+        # The url of the spreadsheet.
+        # This field is read-only.
+        # Corresponds to the JSON property `spreadsheetUrl`
+        # @return [String]
+        attr_accessor :spreadsheet_url
+      
+        def initialize(**args)
+           update!(**args)
+        end
+      
+        # Update properties of this object
+        def update!(**args)
+          @properties = args[:properties] if args.key?(:properties)
+          @spreadsheet_id = args[:spreadsheet_id] if args.key?(:spreadsheet_id)
+          @sheets = args[:sheets] if args.key?(:sheets)
+          @named_ranges = args[:named_ranges] if args.key?(:named_ranges)
+          @spreadsheet_url = args[:spreadsheet_url] if args.key?(:spreadsheet_url)
+        end
+      end
+      
+      # The response when clearing a range of values in a spreadsheet.
+      class BatchClearValuesResponse
+        include Google::Apis::Core::Hashable
+      
+        # The ranges that were cleared, in A1 notation.
+        # (If the requests were for an unbounded range or a ranger larger
+        # than the bounds of the sheet, this will be the actual ranges
+        # that were cleared, bounded to the sheet's limits.)
+        # Corresponds to the JSON property `clearedRanges`
+        # @return [Array]
+        attr_accessor :cleared_ranges
+      
+        # The spreadsheet the updates were applied to.
+        # Corresponds to the JSON property `spreadsheetId`
+        # @return [String]
+        attr_accessor :spreadsheet_id
+      
+        def initialize(**args)
+           update!(**args)
+        end
+      
+        # Update properties of this object
+        def update!(**args)
+          @cleared_ranges = args[:cleared_ranges] if args.key?(:cleared_ranges)
+          @spreadsheet_id = args[:spreadsheet_id] if args.key?(:spreadsheet_id)
+        end
+      end
+      
+      # A banded (alternating colors) range in a sheet.
+      class BandedRange
+        include Google::Apis::Core::Hashable
+      
+        # A range on a sheet.
+        # All indexes are zero-based.
+        # Indexes are half open, e.g the start index is inclusive
+        # and the end index is exclusive -- [start_index, end_index).
+        # Missing indexes indicate the range is unbounded on that side.
+        # For example, if `"Sheet1"` is sheet ID 0, then:
+        # `Sheet1!A1:A1 == sheet_id: 0,
+        # start_row_index: 0, end_row_index: 1,
+        # start_column_index: 0, end_column_index: 1`
+        # `Sheet1!A3:B4 == sheet_id: 0,
+        # start_row_index: 2, end_row_index: 4,
+        # start_column_index: 0, end_column_index: 2`
+        # `Sheet1!A:B == sheet_id: 0,
+        # start_column_index: 0, end_column_index: 2`
+        # `Sheet1!A5:B == sheet_id: 0,
+        # start_row_index: 4,
+        # start_column_index: 0, end_column_index: 2`
+        # `Sheet1 == sheet_id:0`
+        # The start index must always be less than or equal to the end index.
+        # If the start index equals the end index, then the range is empty.
+        # Empty ranges are typically not meaningful and are usually rendered in the
+        # UI as `#REF!`.
+        # Corresponds to the JSON property `range`
+        # @return [Google::Apis::SheetsV4::GridRange]
+        attr_accessor :range
+      
+        # The id of the banded range.
+        # Corresponds to the JSON property `bandedRangeId`
+        # @return [Fixnum]
+        attr_accessor :banded_range_id
+      
+        # Properties referring a single dimension (either row or column). If both
+        # BandedRange.row_properties and BandedRange.column_properties are
+        # set, the fill colors are applied to cells according to the following rules:
+        # * header_color and footer_color take priority over band colors.
+        # * first_band_color takes priority over second_band_color.
+        # * row_properties takes priority over column_properties.
+        # For example, the first row color takes priority over the first column
+        # color, but the first column color takes priority over the second row color.
+        # Similarly, the row header takes priority over the column header in the
+        # top left cell, but the column header takes priority over the first row
+        # color if the row header is not set.
+        # Corresponds to the JSON property `rowProperties`
+        # @return [Google::Apis::SheetsV4::BandingProperties]
+        attr_accessor :row_properties
+      
+        # Properties referring a single dimension (either row or column). If both
+        # BandedRange.row_properties and BandedRange.column_properties are
+        # set, the fill colors are applied to cells according to the following rules:
+        # * header_color and footer_color take priority over band colors.
+        # * first_band_color takes priority over second_band_color.
+        # * row_properties takes priority over column_properties.
+        # For example, the first row color takes priority over the first column
+        # color, but the first column color takes priority over the second row color.
+        # Similarly, the row header takes priority over the column header in the
+        # top left cell, but the column header takes priority over the first row
+        # color if the row header is not set.
+        # Corresponds to the JSON property `columnProperties`
+        # @return [Google::Apis::SheetsV4::BandingProperties]
+        attr_accessor :column_properties
+      
+        def initialize(**args)
+           update!(**args)
+        end
+      
+        # Update properties of this object
+        def update!(**args)
+          @range = args[:range] if args.key?(:range)
+          @banded_range_id = args[:banded_range_id] if args.key?(:banded_range_id)
+          @row_properties = args[:row_properties] if args.key?(:row_properties)
+          @column_properties = args[:column_properties] if args.key?(:column_properties)
+        end
+      end
+      
+      # Updates an existing protected range with the specified
+      # protectedRangeId.
+      class UpdateProtectedRangeRequest
+        include Google::Apis::Core::Hashable
+      
+        # A protected range.
+        # Corresponds to the JSON property `protectedRange`
+        # @return [Google::Apis::SheetsV4::ProtectedRange]
+        attr_accessor :protected_range
+      
+        # The fields that should be updated.  At least one field must be specified.
+        # The root `protectedRange` is implied and should not be specified.
+        # A single `"*"` can be used as short-hand for listing every field.
+        # Corresponds to the JSON property `fields`
+        # @return [String]
+        attr_accessor :fields
+      
+        def initialize(**args)
+           update!(**args)
+        end
+      
+        # Update properties of this object
+        def update!(**args)
+          @protected_range = args[:protected_range] if args.key?(:protected_range)
+          @fields = args[:fields] if args.key?(:fields)
+        end
+      end
+      
+      # The format of a run of text in a cell.
+      # Absent values indicate that the field isn't specified.
+      class TextFormat
+        include Google::Apis::Core::Hashable
+      
+        # Represents a color in the RGBA color space. This representation is designed
+        # for simplicity of conversion to/from color representations in various
+        # languages over compactness; for example, the fields of this representation
+        # can be trivially provided to the constructor of "java.awt.Color" in Java; it
+        # can also be trivially provided to UIColor's "+colorWithRed:green:blue:alpha"
+        # method in iOS; and, with just a little work, it can be easily formatted into
+        # a CSS "rgba()" string in JavaScript, as well. Here are some examples:
+        # Example (Java):
+        # import com.google.type.Color;
+        # // ...
+        # public static java.awt.Color fromProto(Color protocolor) `
+        # float alpha = protocolor.hasAlpha()
+        # ? protocolor.getAlpha().getValue()
+        # : 1.0;
+        # return new java.awt.Color(
+        # protocolor.getRed(),
+        # protocolor.getGreen(),
+        # protocolor.getBlue(),
+        # alpha);
+        # `
+        # public static Color toProto(java.awt.Color color) `
+        # float red = (float) color.getRed();
+        # float green = (float) color.getGreen();
+        # float blue = (float) color.getBlue();
+        # float denominator = 255.0;
+        # Color.Builder resultBuilder =
+        # Color
+        # .newBuilder()
+        # .setRed(red / denominator)
+        # .setGreen(green / denominator)
+        # .setBlue(blue / denominator);
+        # int alpha = color.getAlpha();
+        # if (alpha != 255) `
+        # result.setAlpha(
+        # FloatValue
+        # .newBuilder()
+        # .setValue(((float) alpha) / denominator)
+        # .build());
+        # `
+        # return resultBuilder.build();
+        # `
+        # // ...
+        # Example (iOS / Obj-C):
+        # // ...
+        # static UIColor* fromProto(Color* protocolor) `
+        # float red = [protocolor red];
+        # float green = [protocolor green];
+        # float blue = [protocolor blue];
+        # FloatValue* alpha_wrapper = [protocolor alpha];
+        # float alpha = 1.0;
+        # if (alpha_wrapper != nil) `
+        # alpha = [alpha_wrapper value];
+        # `
+        # return [UIColor colorWithRed:red green:green blue:blue alpha:alpha];
+        # `
+        # static Color* toProto(UIColor* color) `
+        # CGFloat red, green, blue, alpha;
+        # if (![color getRed:&red green:&green blue:&blue alpha:&alpha]) `
+        # return nil;
+        # `
+        # Color* result = [Color alloc] init];
+        # [result setRed:red];
+        # [result setGreen:green];
+        # [result setBlue:blue];
+        # if (alpha <= 0.9999) `
+        # [result setAlpha:floatWrapperWithValue(alpha)];
+        # `
+        # [result autorelease];
+        # return result;
+        # `
+        # // ...
+        # Example (JavaScript):
+        # // ...
+        # var protoToCssColor = function(rgb_color) `
+        # var redFrac = rgb_color.red || 0.0;
+        # var greenFrac = rgb_color.green || 0.0;
+        # var blueFrac = rgb_color.blue || 0.0;
+        # var red = Math.floor(redFrac * 255);
+        # var green = Math.floor(greenFrac * 255);
+        # var blue = Math.floor(blueFrac * 255);
+        # if (!('alpha' in rgb_color)) `
+        # return rgbToCssColor_(red, green, blue);
+        # `
+        # var alphaFrac = rgb_color.alpha.value || 0.0;
+        # var rgbParams = [red, green, blue].join(',');
+        # return ['rgba(', rgbParams, ',', alphaFrac, ')'].join('');
+        # `;
+        # var rgbToCssColor_ = function(red, green, blue) `
+        # var rgbNumber = new Number((red << 16) | (green << 8) | blue);
+        # var hexString = rgbNumber.toString(16);
+        # var missingZeros = 6 - hexString.length;
+        # var resultBuilder = ['#'];
+        # for (var i = 0; i < missingZeros; i++) `
+        # resultBuilder.push('0');
+        # `
+        # resultBuilder.push(hexString);
+        # return resultBuilder.join('');
+        # `;
+        # // ...
+        # Corresponds to the JSON property `foregroundColor`
+        # @return [Google::Apis::SheetsV4::Color]
+        attr_accessor :foreground_color
+      
+        # True if the text is bold.
+        # Corresponds to the JSON property `bold`
+        # @return [Boolean]
+        attr_accessor :bold
+        alias_method :bold?, :bold
+      
+        # The font family.
+        # Corresponds to the JSON property `fontFamily`
+        # @return [String]
+        attr_accessor :font_family
+      
+        # True if the text is italicized.
+        # Corresponds to the JSON property `italic`
+        # @return [Boolean]
+        attr_accessor :italic
+        alias_method :italic?, :italic
+      
+        # True if the text has a strikethrough.
+        # Corresponds to the JSON property `strikethrough`
+        # @return [Boolean]
+        attr_accessor :strikethrough
+        alias_method :strikethrough?, :strikethrough
+      
+        # The size of the font.
+        # Corresponds to the JSON property `fontSize`
+        # @return [Fixnum]
+        attr_accessor :font_size
+      
+        # True if the text is underlined.
+        # Corresponds to the JSON property `underline`
+        # @return [Boolean]
+        attr_accessor :underline
+        alias_method :underline?, :underline
+      
+        def initialize(**args)
+           update!(**args)
+        end
+      
+        # Update properties of this object
+        def update!(**args)
+          @foreground_color = args[:foreground_color] if args.key?(:foreground_color)
+          @bold = args[:bold] if args.key?(:bold)
+          @font_family = args[:font_family] if args.key?(:font_family)
+          @italic = args[:italic] if args.key?(:italic)
+          @strikethrough = args[:strikethrough] if args.key?(:strikethrough)
+          @font_size = args[:font_size] if args.key?(:font_size)
+          @underline = args[:underline] if args.key?(:underline)
+        end
+      end
+      
+      # The result of adding a sheet.
+      class AddSheetResponse
+        include Google::Apis::Core::Hashable
+      
+        # Properties of a sheet.
+        # Corresponds to the JSON property `properties`
+        # @return [Google::Apis::SheetsV4::SheetProperties]
+        attr_accessor :properties
+      
+        def initialize(**args)
+           update!(**args)
+        end
+      
+        # Update properties of this object
+        def update!(**args)
+          @properties = args[:properties] if args.key?(:properties)
+        end
+      end
+      
+      # The result of adding a filter view.
+      class AddFilterViewResponse
+        include Google::Apis::Core::Hashable
+      
+        # A filter view.
+        # Corresponds to the JSON property `filter`
+        # @return [Google::Apis::SheetsV4::FilterView]
+        attr_accessor :filter
+      
+        def initialize(**args)
+           update!(**args)
+        end
+      
+        # Update properties of this object
+        def update!(**args)
+          @filter = args[:filter] if args.key?(:filter)
+        end
+      end
+      
+      # Settings to control how circular dependencies are resolved with iterative
+      # calculation.
+      class IterativeCalculationSettings
+        include Google::Apis::Core::Hashable
+      
+        # When iterative calculation is enabled and successive results differ by
+        # less than this threshold value, the calculation rounds stop.
+        # Corresponds to the JSON property `convergenceThreshold`
+        # @return [Float]
+        attr_accessor :convergence_threshold
+      
+        # When iterative calculation is enabled, the maximum number of calculation
+        # rounds to perform.
+        # Corresponds to the JSON property `maxIterations`
+        # @return [Fixnum]
+        attr_accessor :max_iterations
+      
+        def initialize(**args)
+           update!(**args)
+        end
+      
+        # Update properties of this object
+        def update!(**args)
+          @convergence_threshold = args[:convergence_threshold] if args.key?(:convergence_threshold)
+          @max_iterations = args[:max_iterations] if args.key?(:max_iterations)
+        end
+      end
+      
+      # Properties of a spreadsheet.
+      class SpreadsheetProperties
+        include Google::Apis::Core::Hashable
+      
+        # Settings to control how circular dependencies are resolved with iterative
+        # calculation.
+        # Corresponds to the JSON property `iterativeCalculationSettings`
+        # @return [Google::Apis::SheetsV4::IterativeCalculationSettings]
+        attr_accessor :iterative_calculation_settings
+      
+        # The amount of time to wait before volatile functions are recalculated.
+        # Corresponds to the JSON property `autoRecalc`
+        # @return [String]
+        attr_accessor :auto_recalc
+      
+        # The format of a cell.
+        # Corresponds to the JSON property `defaultFormat`
+        # @return [Google::Apis::SheetsV4::CellFormat]
+        attr_accessor :default_format
+      
+        # The time zone of the spreadsheet, in CLDR format such as
+        # `America/New_York`. If the time zone isn't recognized, this may
+        # be a custom time zone such as `GMT-07:00`.
+        # Corresponds to the JSON property `timeZone`
+        # @return [String]
+        attr_accessor :time_zone
+      
+        # The title of the spreadsheet.
+        # Corresponds to the JSON property `title`
+        # @return [String]
+        attr_accessor :title
+      
+        # The locale of the spreadsheet in one of the following formats:
+        # * an ISO 639-1 language code such as `en`
+        # * an ISO 639-2 language code such as `fil`, if no 639-1 code exists
+        # * a combination of the ISO language code and country code, such as `en_US`
+        # Note: when updating this field, not all locales/languages are supported.
+        # Corresponds to the JSON property `locale`
+        # @return [String]
+        attr_accessor :locale
+      
+        def initialize(**args)
+           update!(**args)
+        end
+      
+        # Update properties of this object
+        def update!(**args)
+          @iterative_calculation_settings = args[:iterative_calculation_settings] if args.key?(:iterative_calculation_settings)
+          @auto_recalc = args[:auto_recalc] if args.key?(:auto_recalc)
+          @default_format = args[:default_format] if args.key?(:default_format)
+          @time_zone = args[:time_zone] if args.key?(:time_zone)
+          @title = args[:title] if args.key?(:title)
+          @locale = args[:locale] if args.key?(:locale)
+        end
+      end
+      
+      # The location an object is overlaid on top of a grid.
+      class OverlayPosition
+        include Google::Apis::Core::Hashable
+      
+        # The horizontal offset, in pixels, that the object is offset
+        # from the anchor cell.
+        # Corresponds to the JSON property `offsetXPixels`
+        # @return [Fixnum]
+        attr_accessor :offset_x_pixels
+      
+        # A coordinate in a sheet.
+        # All indexes are zero-based.
+        # Corresponds to the JSON property `anchorCell`
+        # @return [Google::Apis::SheetsV4::GridCoordinate]
+        attr_accessor :anchor_cell
+      
+        # The vertical offset, in pixels, that the object is offset
+        # from the anchor cell.
+        # Corresponds to the JSON property `offsetYPixels`
+        # @return [Fixnum]
+        attr_accessor :offset_y_pixels
+      
+        # The height of the object, in pixels. Defaults to 371.
+        # Corresponds to the JSON property `heightPixels`
+        # @return [Fixnum]
+        attr_accessor :height_pixels
+      
+        # The width of the object, in pixels. Defaults to 600.
+        # Corresponds to the JSON property `widthPixels`
+        # @return [Fixnum]
+        attr_accessor :width_pixels
+      
+        def initialize(**args)
+           update!(**args)
+        end
+      
+        # Update properties of this object
+        def update!(**args)
+          @offset_x_pixels = args[:offset_x_pixels] if args.key?(:offset_x_pixels)
+          @anchor_cell = args[:anchor_cell] if args.key?(:anchor_cell)
+          @offset_y_pixels = args[:offset_y_pixels] if args.key?(:offset_y_pixels)
+          @height_pixels = args[:height_pixels] if args.key?(:height_pixels)
+          @width_pixels = args[:width_pixels] if args.key?(:width_pixels)
+        end
+      end
+      
+      # Updates all cells in the range to the values in the given Cell object.
+      # Only the fields listed in the fields field are updated; others are
+      # unchanged.
+      # If writing a cell with a formula, the formula's ranges will automatically
+      # increment for each field in the range.
+      # For example, if writing a cell with formula `=A1` into range B2:C4,
+      # B2 would be `=A1`, B3 would be `=A2`, B4 would be `=A3`,
+      # C2 would be `=B1`, C3 would be `=B2`, C4 would be `=B3`.
+      # To keep the formula's ranges static, use the `$` indicator.
+      # For example, use the formula `=$A$1` to prevent both the row and the
+      # column from incrementing.
+      class RepeatCellRequest
+        include Google::Apis::Core::Hashable
+      
+        # Data about a specific cell.
+        # Corresponds to the JSON property `cell`
+        # @return [Google::Apis::SheetsV4::CellData]
+        attr_accessor :cell
+      
+        # A range on a sheet.
+        # All indexes are zero-based.
+        # Indexes are half open, e.g the start index is inclusive
+        # and the end index is exclusive -- [start_index, end_index).
+        # Missing indexes indicate the range is unbounded on that side.
+        # For example, if `"Sheet1"` is sheet ID 0, then:
+        # `Sheet1!A1:A1 == sheet_id: 0,
+        # start_row_index: 0, end_row_index: 1,
+        # start_column_index: 0, end_column_index: 1`
+        # `Sheet1!A3:B4 == sheet_id: 0,
+        # start_row_index: 2, end_row_index: 4,
+        # start_column_index: 0, end_column_index: 2`
+        # `Sheet1!A:B == sheet_id: 0,
+        # start_column_index: 0, end_column_index: 2`
+        # `Sheet1!A5:B == sheet_id: 0,
+        # start_row_index: 4,
+        # start_column_index: 0, end_column_index: 2`
+        # `Sheet1 == sheet_id:0`
+        # The start index must always be less than or equal to the end index.
+        # If the start index equals the end index, then the range is empty.
+        # Empty ranges are typically not meaningful and are usually rendered in the
+        # UI as `#REF!`.
+        # Corresponds to the JSON property `range`
+        # @return [Google::Apis::SheetsV4::GridRange]
+        attr_accessor :range
+      
+        # The fields that should be updated.  At least one field must be specified.
+        # The root `cell` is implied and should not be specified.
+        # A single `"*"` can be used as short-hand for listing every field.
+        # Corresponds to the JSON property `fields`
+        # @return [String]
+        attr_accessor :fields
+      
+        def initialize(**args)
+           update!(**args)
+        end
+      
+        # Update properties of this object
+        def update!(**args)
+          @cell = args[:cell] if args.key?(:cell)
+          @range = args[:range] if args.key?(:range)
+          @fields = args[:fields] if args.key?(:fields)
+        end
+      end
+      
+      # The result of adding a chart to a spreadsheet.
+      class AddChartResponse
+        include Google::Apis::Core::Hashable
+      
+        # A chart embedded in a sheet.
+        # Corresponds to the JSON property `chart`
+        # @return [Google::Apis::SheetsV4::EmbeddedChart]
+        attr_accessor :chart
+      
+        def initialize(**args)
+           update!(**args)
+        end
+      
+        # Update properties of this object
+        def update!(**args)
+          @chart = args[:chart] if args.key?(:chart)
+        end
+      end
+      
+      # Inserts rows or columns in a sheet at a particular index.
+      class InsertDimensionRequest
+        include Google::Apis::Core::Hashable
+      
+        # Whether dimension properties should be extended from the dimensions
+        # before or after the newly inserted dimensions.
+        # True to inherit from the dimensions before (in which case the start
+        # index must be greater than 0), and false to inherit from the dimensions
+        # after.
+        # For example, if row index 0 has red background and row index 1
+        # has a green background, then inserting 2 rows at index 1 can inherit
+        # either the green or red background.  If `inheritFromBefore` is true,
+        # the two new rows will be red (because the row before the insertion point
+        # was red), whereas if `inheritFromBefore` is false, the two new rows will
+        # be green (because the row after the insertion point was green).
+        # Corresponds to the JSON property `inheritFromBefore`
+        # @return [Boolean]
+        attr_accessor :inherit_from_before
+        alias_method :inherit_from_before?, :inherit_from_before
+      
+        # A range along a single dimension on a sheet.
+        # All indexes are zero-based.
+        # Indexes are half open: the start index is inclusive
+        # and the end index is exclusive.
+        # Missing indexes indicate the range is unbounded on that side.
+        # Corresponds to the JSON property `range`
+        # @return [Google::Apis::SheetsV4::DimensionRange]
+        attr_accessor :range
+      
+        def initialize(**args)
+           update!(**args)
+        end
+      
+        # Update properties of this object
+        def update!(**args)
+          @inherit_from_before = args[:inherit_from_before] if args.key?(:inherit_from_before)
+          @range = args[:range] if args.key?(:range)
+        end
+      end
+      
+      # Updates properties of a spreadsheet.
+      class UpdateSpreadsheetPropertiesRequest
+        include Google::Apis::Core::Hashable
+      
+        # Properties of a spreadsheet.
+        # Corresponds to the JSON property `properties`
+        # @return [Google::Apis::SheetsV4::SpreadsheetProperties]
+        attr_accessor :properties
+      
+        # The fields that should be updated.  At least one field must be specified.
+        # The root 'properties' is implied and should not be specified.
+        # A single `"*"` can be used as short-hand for listing every field.
+        # Corresponds to the JSON property `fields`
+        # @return [String]
+        attr_accessor :fields
+      
+        def initialize(**args)
+           update!(**args)
+        end
+      
+        # Update properties of this object
+        def update!(**args)
+          @properties = args[:properties] if args.key?(:properties)
+          @fields = args[:fields] if args.key?(:fields)
+        end
+      end
+      
+      # A protected range.
+      class ProtectedRange
+        include Google::Apis::Core::Hashable
+      
+        # True if the user who requested this protected range can edit the
+        # protected area.
+        # This field is read-only.
+        # Corresponds to the JSON property `requestingUserCanEdit`
+        # @return [Boolean]
+        attr_accessor :requesting_user_can_edit
+        alias_method :requesting_user_can_edit?, :requesting_user_can_edit
+      
+        # The editors of a protected range.
+        # Corresponds to the JSON property `editors`
+        # @return [Google::Apis::SheetsV4::Editors]
+        attr_accessor :editors
+      
+        # A range on a sheet.
+        # All indexes are zero-based.
+        # Indexes are half open, e.g the start index is inclusive
+        # and the end index is exclusive -- [start_index, end_index).
+        # Missing indexes indicate the range is unbounded on that side.
+        # For example, if `"Sheet1"` is sheet ID 0, then:
+        # `Sheet1!A1:A1 == sheet_id: 0,
+        # start_row_index: 0, end_row_index: 1,
+        # start_column_index: 0, end_column_index: 1`
+        # `Sheet1!A3:B4 == sheet_id: 0,
+        # start_row_index: 2, end_row_index: 4,
+        # start_column_index: 0, end_column_index: 2`
+        # `Sheet1!A:B == sheet_id: 0,
+        # start_column_index: 0, end_column_index: 2`
+        # `Sheet1!A5:B == sheet_id: 0,
+        # start_row_index: 4,
+        # start_column_index: 0, end_column_index: 2`
+        # `Sheet1 == sheet_id:0`
+        # The start index must always be less than or equal to the end index.
+        # If the start index equals the end index, then the range is empty.
+        # Empty ranges are typically not meaningful and are usually rendered in the
+        # UI as `#REF!`.
+        # Corresponds to the JSON property `range`
+        # @return [Google::Apis::SheetsV4::GridRange]
+        attr_accessor :range
+      
+        # The description of this protected range.
+        # Corresponds to the JSON property `description`
+        # @return [String]
+        attr_accessor :description
+      
+        # The list of unprotected ranges within a protected sheet.
+        # Unprotected ranges are only supported on protected sheets.
+        # Corresponds to the JSON property `unprotectedRanges`
+        # @return [Array]
+        attr_accessor :unprotected_ranges
+      
+        # The named range this protected range is backed by, if any.
+        # When writing, only one of range or named_range_id
+        # may be set.
+        # Corresponds to the JSON property `namedRangeId`
+        # @return [String]
+        attr_accessor :named_range_id
+      
+        # The ID of the protected range.
+        # This field is read-only.
+        # Corresponds to the JSON property `protectedRangeId`
+        # @return [Fixnum]
+        attr_accessor :protected_range_id
+      
+        # True if this protected range will show a warning when editing.
+        # Warning-based protection means that every user can edit data in the
+        # protected range, except editing will prompt a warning asking the user
+        # to confirm the edit.
+        # When writing: if this field is true, then editors is ignored.
+        # Additionally, if this field is changed from true to false and the
+        # `editors` field is not set (nor included in the field mask), then
+        # the editors will be set to all the editors in the document.
+        # Corresponds to the JSON property `warningOnly`
+        # @return [Boolean]
+        attr_accessor :warning_only
+        alias_method :warning_only?, :warning_only
+      
+        def initialize(**args)
+           update!(**args)
+        end
+      
+        # Update properties of this object
+        def update!(**args)
+          @requesting_user_can_edit = args[:requesting_user_can_edit] if args.key?(:requesting_user_can_edit)
+          @editors = args[:editors] if args.key?(:editors)
+          @range = args[:range] if args.key?(:range)
+          @description = args[:description] if args.key?(:description)
+          @unprotected_ranges = args[:unprotected_ranges] if args.key?(:unprotected_ranges)
+          @named_range_id = args[:named_range_id] if args.key?(:named_range_id)
+          @protected_range_id = args[:protected_range_id] if args.key?(:protected_range_id)
+          @warning_only = args[:warning_only] if args.key?(:warning_only)
+        end
+      end
+      
+      # The request for updating more than one range of values in a spreadsheet.
+      class BatchUpdateValuesRequest
+        include Google::Apis::Core::Hashable
+      
+        # Determines how values in the response should be rendered.
+        # The default render option is ValueRenderOption.FORMATTED_VALUE.
+        # Corresponds to the JSON property `responseValueRenderOption`
+        # @return [String]
+        attr_accessor :response_value_render_option
+      
+        # Determines if the update response should include the values
+        # of the cells that were updated. By default, responses
+        # do not include the updated values. The `updatedData` field within
+        # each of the BatchUpdateValuesResponse.responses will contain
+        # the updated values. If the range to write was larger than than the range
+        # actually written, the response will include all values in the requested
+        # range (excluding trailing empty rows and columns).
+        # Corresponds to the JSON property `includeValuesInResponse`
+        # @return [Boolean]
+        attr_accessor :include_values_in_response
+        alias_method :include_values_in_response?, :include_values_in_response
+      
+        # How the input data should be interpreted.
+        # Corresponds to the JSON property `valueInputOption`
+        # @return [String]
+        attr_accessor :value_input_option
+      
+        # The new values to apply to the spreadsheet.
+        # Corresponds to the JSON property `data`
+        # @return [Array]
+        attr_accessor :data
+      
+        # Determines how dates, times, and durations in the response should be
+        # rendered. This is ignored if response_value_render_option is
+        # FORMATTED_VALUE.
+        # The default dateTime render option is [DateTimeRenderOption.SERIAL_NUMBER].
+        # Corresponds to the JSON property `responseDateTimeRenderOption`
+        # @return [String]
+        attr_accessor :response_date_time_render_option
+      
+        def initialize(**args)
+           update!(**args)
+        end
+      
+        # Update properties of this object
+        def update!(**args)
+          @response_value_render_option = args[:response_value_render_option] if args.key?(:response_value_render_option)
+          @include_values_in_response = args[:include_values_in_response] if args.key?(:include_values_in_response)
+          @value_input_option = args[:value_input_option] if args.key?(:value_input_option)
+          @data = args[:data] if args.key?(:data)
+          @response_date_time_render_option = args[:response_date_time_render_option] if args.key?(:response_date_time_render_option)
+        end
+      end
+      
+      # Properties about a dimension.
+      class DimensionProperties
+        include Google::Apis::Core::Hashable
+      
+        # The height (if a row) or width (if a column) of the dimension in pixels.
+        # Corresponds to the JSON property `pixelSize`
+        # @return [Fixnum]
+        attr_accessor :pixel_size
+      
+        # True if this dimension is being filtered.
+        # This field is read-only.
+        # Corresponds to the JSON property `hiddenByFilter`
+        # @return [Boolean]
+        attr_accessor :hidden_by_filter
+        alias_method :hidden_by_filter?, :hidden_by_filter
+      
+        # True if this dimension is explicitly hidden.
+        # Corresponds to the JSON property `hiddenByUser`
+        # @return [Boolean]
+        attr_accessor :hidden_by_user
+        alias_method :hidden_by_user?, :hidden_by_user
+      
+        def initialize(**args)
+           update!(**args)
+        end
+      
+        # Update properties of this object
+        def update!(**args)
+          @pixel_size = args[:pixel_size] if args.key?(:pixel_size)
+          @hidden_by_filter = args[:hidden_by_filter] if args.key?(:hidden_by_filter)
+          @hidden_by_user = args[:hidden_by_user] if args.key?(:hidden_by_user)
+        end
+      end
+      
+      # A range along a single dimension on a sheet.
+      # All indexes are zero-based.
+      # Indexes are half open: the start index is inclusive
+      # and the end index is exclusive.
+      # Missing indexes indicate the range is unbounded on that side.
+      class DimensionRange
+        include Google::Apis::Core::Hashable
+      
+        # The sheet this span is on.
+        # Corresponds to the JSON property `sheetId`
+        # @return [Fixnum]
+        attr_accessor :sheet_id
+      
+        # The dimension of the span.
+        # Corresponds to the JSON property `dimension`
+        # @return [String]
+        attr_accessor :dimension
+      
+        # The start (inclusive) of the span, or not set if unbounded.
+        # Corresponds to the JSON property `startIndex`
+        # @return [Fixnum]
+        attr_accessor :start_index
+      
+        # The end (exclusive) of the span, or not set if unbounded.
+        # Corresponds to the JSON property `endIndex`
+        # @return [Fixnum]
+        attr_accessor :end_index
+      
+        def initialize(**args)
+           update!(**args)
+        end
+      
+        # Update properties of this object
+        def update!(**args)
+          @sheet_id = args[:sheet_id] if args.key?(:sheet_id)
+          @dimension = args[:dimension] if args.key?(:dimension)
+          @start_index = args[:start_index] if args.key?(:start_index)
+          @end_index = args[:end_index] if args.key?(:end_index)
+        end
+      end
+      
+      # A named range.
+      class NamedRange
+        include Google::Apis::Core::Hashable
+      
+        # The ID of the named range.
+        # Corresponds to the JSON property `namedRangeId`
+        # @return [String]
+        attr_accessor :named_range_id
+      
+        # A range on a sheet.
+        # All indexes are zero-based.
+        # Indexes are half open, e.g the start index is inclusive
+        # and the end index is exclusive -- [start_index, end_index).
+        # Missing indexes indicate the range is unbounded on that side.
+        # For example, if `"Sheet1"` is sheet ID 0, then:
+        # `Sheet1!A1:A1 == sheet_id: 0,
+        # start_row_index: 0, end_row_index: 1,
+        # start_column_index: 0, end_column_index: 1`
+        # `Sheet1!A3:B4 == sheet_id: 0,
+        # start_row_index: 2, end_row_index: 4,
+        # start_column_index: 0, end_column_index: 2`
+        # `Sheet1!A:B == sheet_id: 0,
+        # start_column_index: 0, end_column_index: 2`
+        # `Sheet1!A5:B == sheet_id: 0,
+        # start_row_index: 4,
+        # start_column_index: 0, end_column_index: 2`
+        # `Sheet1 == sheet_id:0`
+        # The start index must always be less than or equal to the end index.
+        # If the start index equals the end index, then the range is empty.
+        # Empty ranges are typically not meaningful and are usually rendered in the
+        # UI as `#REF!`.
+        # Corresponds to the JSON property `range`
+        # @return [Google::Apis::SheetsV4::GridRange]
+        attr_accessor :range
+      
+        # The name of the named range.
+        # Corresponds to the JSON property `name`
+        # @return [String]
+        attr_accessor :name
+      
+        def initialize(**args)
+           update!(**args)
+        end
+      
+        # Update properties of this object
+        def update!(**args)
+          @named_range_id = args[:named_range_id] if args.key?(:named_range_id)
+          @range = args[:range] if args.key?(:range)
+          @name = args[:name] if args.key?(:name)
+        end
+      end
+      
+      # Moves data from the source to the destination.
+      class CutPasteRequest
+        include Google::Apis::Core::Hashable
+      
+        # A range on a sheet.
+        # All indexes are zero-based.
+        # Indexes are half open, e.g the start index is inclusive
+        # and the end index is exclusive -- [start_index, end_index).
+        # Missing indexes indicate the range is unbounded on that side.
+        # For example, if `"Sheet1"` is sheet ID 0, then:
+        # `Sheet1!A1:A1 == sheet_id: 0,
+        # start_row_index: 0, end_row_index: 1,
+        # start_column_index: 0, end_column_index: 1`
+        # `Sheet1!A3:B4 == sheet_id: 0,
+        # start_row_index: 2, end_row_index: 4,
+        # start_column_index: 0, end_column_index: 2`
+        # `Sheet1!A:B == sheet_id: 0,
+        # start_column_index: 0, end_column_index: 2`
+        # `Sheet1!A5:B == sheet_id: 0,
+        # start_row_index: 4,
+        # start_column_index: 0, end_column_index: 2`
+        # `Sheet1 == sheet_id:0`
+        # The start index must always be less than or equal to the end index.
+        # If the start index equals the end index, then the range is empty.
+        # Empty ranges are typically not meaningful and are usually rendered in the
+        # UI as `#REF!`.
+        # Corresponds to the JSON property `source`
+        # @return [Google::Apis::SheetsV4::GridRange]
+        attr_accessor :source
+      
+        # What kind of data to paste.  All the source data will be cut, regardless
+        # of what is pasted.
+        # Corresponds to the JSON property `pasteType`
+        # @return [String]
+        attr_accessor :paste_type
+      
+        # A coordinate in a sheet.
+        # All indexes are zero-based.
+        # Corresponds to the JSON property `destination`
+        # @return [Google::Apis::SheetsV4::GridCoordinate]
+        attr_accessor :destination
+      
+        def initialize(**args)
+           update!(**args)
+        end
+      
+        # Update properties of this object
+        def update!(**args)
+          @source = args[:source] if args.key?(:source)
+          @paste_type = args[:paste_type] if args.key?(:paste_type)
+          @destination = args[:destination] if args.key?(:destination)
+        end
+      end
+      
+      # A single series of data in a chart.
+      # For example, if charting stock prices over time, multiple series may exist,
+      # one for the "Open Price", "High Price", "Low Price" and "Close Price".
+      class BasicChartSeries
+        include Google::Apis::Core::Hashable
+      
+        # The data included in a domain or series.
+        # Corresponds to the JSON property `series`
+        # @return [Google::Apis::SheetsV4::ChartData]
+        attr_accessor :series
+      
+        # The type of this series. Valid only if the
+        # chartType is
+        # COMBO.
+        # Different types will change the way the series is visualized.
+        # Only LINE, AREA,
+        # and COLUMN are supported.
+        # Corresponds to the JSON property `type`
+        # @return [String]
+        attr_accessor :type
+      
+        # The minor axis that will specify the range of values for this series.
+        # For example, if charting stocks over time, the "Volume" series
+        # may want to be pinned to the right with the prices pinned to the left,
+        # because the scale of trading volume is different than the scale of
+        # prices.
+        # It is an error to specify an axis that isn't a valid minor axis
+        # for the chart's type.
+        # Corresponds to the JSON property `targetAxis`
+        # @return [String]
+        attr_accessor :target_axis
+      
+        def initialize(**args)
+           update!(**args)
+        end
+      
+        # Update properties of this object
+        def update!(**args)
+          @series = args[:series] if args.key?(:series)
+          @type = args[:type] if args.key?(:type)
+          @target_axis = args[:target_axis] if args.key?(:target_axis)
+        end
+      end
+      
+      # The borders of the cell.
+      class Borders
+        include Google::Apis::Core::Hashable
+      
+        # A border along a cell.
+        # Corresponds to the JSON property `right`
+        # @return [Google::Apis::SheetsV4::Border]
+        attr_accessor :right
+      
+        # A border along a cell.
+        # Corresponds to the JSON property `bottom`
+        # @return [Google::Apis::SheetsV4::Border]
+        attr_accessor :bottom
+      
+        # A border along a cell.
+        # Corresponds to the JSON property `top`
+        # @return [Google::Apis::SheetsV4::Border]
+        attr_accessor :top
+      
+        # A border along a cell.
+        # Corresponds to the JSON property `left`
+        # @return [Google::Apis::SheetsV4::Border]
+        attr_accessor :left
+      
+        def initialize(**args)
+           update!(**args)
+        end
+      
+        # Update properties of this object
+        def update!(**args)
+          @right = args[:right] if args.key?(:right)
+          @bottom = args[:bottom] if args.key?(:bottom)
+          @top = args[:top] if args.key?(:top)
+          @left = args[:left] if args.key?(:left)
+        end
+      end
+      
+      # Automatically resizes one or more dimensions based on the contents
+      # of the cells in that dimension.
+      class AutoResizeDimensionsRequest
+        include Google::Apis::Core::Hashable
+      
+        # A range along a single dimension on a sheet.
+        # All indexes are zero-based.
+        # Indexes are half open: the start index is inclusive
+        # and the end index is exclusive.
+        # Missing indexes indicate the range is unbounded on that side.
+        # Corresponds to the JSON property `dimensions`
+        # @return [Google::Apis::SheetsV4::DimensionRange]
+        attr_accessor :dimensions
+      
+        def initialize(**args)
+           update!(**args)
+        end
+      
+        # Update properties of this object
+        def update!(**args)
+          @dimensions = args[:dimensions] if args.key?(:dimensions)
+        end
+      end
+      
+      # Updates the borders of a range.
+      # If a field is not set in the request, that means the border remains as-is.
+      # For example, with two subsequent UpdateBordersRequest:
+      # 1. range: A1:A5 `` top: RED, bottom: WHITE ``
+      # 2. range: A1:A5 `` left: BLUE ``
+      # That would result in A1:A5 having a borders of
+      # `` top: RED, bottom: WHITE, left: BLUE ``.
+      # If you want to clear a border, explicitly set the style to
+      # NONE.
+      class UpdateBordersRequest
+        include Google::Apis::Core::Hashable
+      
+        # A border along a cell.
+        # Corresponds to the JSON property `bottom`
+        # @return [Google::Apis::SheetsV4::Border]
+        attr_accessor :bottom
+      
+        # A border along a cell.
+        # Corresponds to the JSON property `innerVertical`
+        # @return [Google::Apis::SheetsV4::Border]
+        attr_accessor :inner_vertical
+      
+        # A border along a cell.
+        # Corresponds to the JSON property `right`
+        # @return [Google::Apis::SheetsV4::Border]
+        attr_accessor :right
+      
+        # A range on a sheet.
+        # All indexes are zero-based.
+        # Indexes are half open, e.g the start index is inclusive
+        # and the end index is exclusive -- [start_index, end_index).
+        # Missing indexes indicate the range is unbounded on that side.
+        # For example, if `"Sheet1"` is sheet ID 0, then:
+        # `Sheet1!A1:A1 == sheet_id: 0,
+        # start_row_index: 0, end_row_index: 1,
+        # start_column_index: 0, end_column_index: 1`
+        # `Sheet1!A3:B4 == sheet_id: 0,
+        # start_row_index: 2, end_row_index: 4,
+        # start_column_index: 0, end_column_index: 2`
+        # `Sheet1!A:B == sheet_id: 0,
+        # start_column_index: 0, end_column_index: 2`
+        # `Sheet1!A5:B == sheet_id: 0,
+        # start_row_index: 4,
+        # start_column_index: 0, end_column_index: 2`
+        # `Sheet1 == sheet_id:0`
+        # The start index must always be less than or equal to the end index.
+        # If the start index equals the end index, then the range is empty.
+        # Empty ranges are typically not meaningful and are usually rendered in the
+        # UI as `#REF!`.
+        # Corresponds to the JSON property `range`
+        # @return [Google::Apis::SheetsV4::GridRange]
+        attr_accessor :range
+      
+        # A border along a cell.
+        # Corresponds to the JSON property `innerHorizontal`
+        # @return [Google::Apis::SheetsV4::Border]
+        attr_accessor :inner_horizontal
+      
+        # A border along a cell.
+        # Corresponds to the JSON property `top`
+        # @return [Google::Apis::SheetsV4::Border]
+        attr_accessor :top
+      
+        # A border along a cell.
+        # Corresponds to the JSON property `left`
+        # @return [Google::Apis::SheetsV4::Border]
+        attr_accessor :left
+      
+        def initialize(**args)
+           update!(**args)
+        end
+      
+        # Update properties of this object
+        def update!(**args)
+          @bottom = args[:bottom] if args.key?(:bottom)
+          @inner_vertical = args[:inner_vertical] if args.key?(:inner_vertical)
+          @right = args[:right] if args.key?(:right)
+          @range = args[:range] if args.key?(:range)
+          @inner_horizontal = args[:inner_horizontal] if args.key?(:inner_horizontal)
+          @top = args[:top] if args.key?(:top)
+          @left = args[:left] if args.key?(:left)
+        end
+      end
+      
+      # The format of a cell.
+      class CellFormat
+        include Google::Apis::Core::Hashable
+      
+        # The direction of the text in the cell.
+        # Corresponds to the JSON property `textDirection`
+        # @return [String]
+        attr_accessor :text_direction
+      
+        # The borders of the cell.
+        # Corresponds to the JSON property `borders`
+        # @return [Google::Apis::SheetsV4::Borders]
+        attr_accessor :borders
+      
+        # The rotation applied to text in a cell.
+        # Corresponds to the JSON property `textRotation`
+        # @return [Google::Apis::SheetsV4::TextRotation]
+        attr_accessor :text_rotation
+      
+        # The wrap strategy for the value in the cell.
+        # Corresponds to the JSON property `wrapStrategy`
+        # @return [String]
+        attr_accessor :wrap_strategy
+      
+        # The number format of a cell.
+        # Corresponds to the JSON property `numberFormat`
+        # @return [Google::Apis::SheetsV4::NumberFormat]
+        attr_accessor :number_format
+      
+        # The horizontal alignment of the value in the cell.
+        # Corresponds to the JSON property `horizontalAlignment`
+        # @return [String]
+        attr_accessor :horizontal_alignment
+      
+        # How a hyperlink, if it exists, should be displayed in the cell.
+        # Corresponds to the JSON property `hyperlinkDisplayType`
+        # @return [String]
+        attr_accessor :hyperlink_display_type
+      
+        # The format of a run of text in a cell.
+        # Absent values indicate that the field isn't specified.
+        # Corresponds to the JSON property `textFormat`
+        # @return [Google::Apis::SheetsV4::TextFormat]
+        attr_accessor :text_format
+      
+        # Represents a color in the RGBA color space. This representation is designed
+        # for simplicity of conversion to/from color representations in various
+        # languages over compactness; for example, the fields of this representation
+        # can be trivially provided to the constructor of "java.awt.Color" in Java; it
+        # can also be trivially provided to UIColor's "+colorWithRed:green:blue:alpha"
+        # method in iOS; and, with just a little work, it can be easily formatted into
+        # a CSS "rgba()" string in JavaScript, as well. Here are some examples:
+        # Example (Java):
+        # import com.google.type.Color;
+        # // ...
+        # public static java.awt.Color fromProto(Color protocolor) `
+        # float alpha = protocolor.hasAlpha()
+        # ? protocolor.getAlpha().getValue()
+        # : 1.0;
+        # return new java.awt.Color(
+        # protocolor.getRed(),
+        # protocolor.getGreen(),
+        # protocolor.getBlue(),
+        # alpha);
+        # `
+        # public static Color toProto(java.awt.Color color) `
+        # float red = (float) color.getRed();
+        # float green = (float) color.getGreen();
+        # float blue = (float) color.getBlue();
+        # float denominator = 255.0;
+        # Color.Builder resultBuilder =
+        # Color
+        # .newBuilder()
+        # .setRed(red / denominator)
+        # .setGreen(green / denominator)
+        # .setBlue(blue / denominator);
+        # int alpha = color.getAlpha();
+        # if (alpha != 255) `
+        # result.setAlpha(
+        # FloatValue
+        # .newBuilder()
+        # .setValue(((float) alpha) / denominator)
+        # .build());
+        # `
+        # return resultBuilder.build();
+        # `
+        # // ...
+        # Example (iOS / Obj-C):
+        # // ...
+        # static UIColor* fromProto(Color* protocolor) `
+        # float red = [protocolor red];
+        # float green = [protocolor green];
+        # float blue = [protocolor blue];
+        # FloatValue* alpha_wrapper = [protocolor alpha];
+        # float alpha = 1.0;
+        # if (alpha_wrapper != nil) `
+        # alpha = [alpha_wrapper value];
+        # `
+        # return [UIColor colorWithRed:red green:green blue:blue alpha:alpha];
+        # `
+        # static Color* toProto(UIColor* color) `
+        # CGFloat red, green, blue, alpha;
+        # if (![color getRed:&red green:&green blue:&blue alpha:&alpha]) `
+        # return nil;
+        # `
+        # Color* result = [Color alloc] init];
+        # [result setRed:red];
+        # [result setGreen:green];
+        # [result setBlue:blue];
+        # if (alpha <= 0.9999) `
+        # [result setAlpha:floatWrapperWithValue(alpha)];
+        # `
+        # [result autorelease];
+        # return result;
+        # `
+        # // ...
+        # Example (JavaScript):
+        # // ...
+        # var protoToCssColor = function(rgb_color) `
+        # var redFrac = rgb_color.red || 0.0;
+        # var greenFrac = rgb_color.green || 0.0;
+        # var blueFrac = rgb_color.blue || 0.0;
+        # var red = Math.floor(redFrac * 255);
+        # var green = Math.floor(greenFrac * 255);
+        # var blue = Math.floor(blueFrac * 255);
+        # if (!('alpha' in rgb_color)) `
+        # return rgbToCssColor_(red, green, blue);
+        # `
+        # var alphaFrac = rgb_color.alpha.value || 0.0;
+        # var rgbParams = [red, green, blue].join(',');
+        # return ['rgba(', rgbParams, ',', alphaFrac, ')'].join('');
+        # `;
+        # var rgbToCssColor_ = function(red, green, blue) `
+        # var rgbNumber = new Number((red << 16) | (green << 8) | blue);
+        # var hexString = rgbNumber.toString(16);
+        # var missingZeros = 6 - hexString.length;
+        # var resultBuilder = ['#'];
+        # for (var i = 0; i < missingZeros; i++) `
+        # resultBuilder.push('0');
+        # `
+        # resultBuilder.push(hexString);
+        # return resultBuilder.join('');
+        # `;
+        # // ...
+        # Corresponds to the JSON property `backgroundColor`
+        # @return [Google::Apis::SheetsV4::Color]
+        attr_accessor :background_color
+      
+        # The vertical alignment of the value in the cell.
+        # Corresponds to the JSON property `verticalAlignment`
+        # @return [String]
+        attr_accessor :vertical_alignment
+      
+        # The amount of padding around the cell, in pixels.
+        # When updating padding, every field must be specified.
+        # Corresponds to the JSON property `padding`
+        # @return [Google::Apis::SheetsV4::Padding]
+        attr_accessor :padding
+      
+        def initialize(**args)
+           update!(**args)
+        end
+      
+        # Update properties of this object
+        def update!(**args)
+          @text_direction = args[:text_direction] if args.key?(:text_direction)
+          @borders = args[:borders] if args.key?(:borders)
+          @text_rotation = args[:text_rotation] if args.key?(:text_rotation)
+          @wrap_strategy = args[:wrap_strategy] if args.key?(:wrap_strategy)
+          @number_format = args[:number_format] if args.key?(:number_format)
+          @horizontal_alignment = args[:horizontal_alignment] if args.key?(:horizontal_alignment)
+          @hyperlink_display_type = args[:hyperlink_display_type] if args.key?(:hyperlink_display_type)
+          @text_format = args[:text_format] if args.key?(:text_format)
+          @background_color = args[:background_color] if args.key?(:background_color)
+          @vertical_alignment = args[:vertical_alignment] if args.key?(:vertical_alignment)
+          @padding = args[:padding] if args.key?(:padding)
+        end
+      end
+      
+      # The response when clearing a range of values in a spreadsheet.
+      class ClearValuesResponse
+        include Google::Apis::Core::Hashable
+      
+        # The spreadsheet the updates were applied to.
+        # Corresponds to the JSON property `spreadsheetId`
+        # @return [String]
+        attr_accessor :spreadsheet_id
+      
+        # The range (in A1 notation) that was cleared.
+        # (If the request was for an unbounded range or a ranger larger
+        # than the bounds of the sheet, this will be the actual range
+        # that was cleared, bounded to the sheet's limits.)
+        # Corresponds to the JSON property `clearedRange`
+        # @return [String]
+        attr_accessor :cleared_range
+      
+        def initialize(**args)
+           update!(**args)
+        end
+      
+        # Update properties of this object
+        def update!(**args)
+          @spreadsheet_id = args[:spreadsheet_id] if args.key?(:spreadsheet_id)
+          @cleared_range = args[:cleared_range] if args.key?(:cleared_range)
+        end
+      end
+      
+      # Deletes a conditional format rule at the given index.
+      # All subsequent rules' indexes are decremented.
+      class DeleteConditionalFormatRuleRequest
+        include Google::Apis::Core::Hashable
+      
+        # The zero-based index of the rule to be deleted.
+        # Corresponds to the JSON property `index`
+        # @return [Fixnum]
+        attr_accessor :index
+      
+        # The sheet the rule is being deleted from.
+        # Corresponds to the JSON property `sheetId`
+        # @return [Fixnum]
+        attr_accessor :sheet_id
+      
+        def initialize(**args)
+           update!(**args)
+        end
+      
+        # Update properties of this object
+        def update!(**args)
+          @index = args[:index] if args.key?(:index)
+          @sheet_id = args[:sheet_id] if args.key?(:sheet_id)
+        end
+      end
+      
+      # The result of adding a banded range.
+      class AddBandingResponse
+        include Google::Apis::Core::Hashable
+      
+        # A banded (alternating colors) range in a sheet.
+        # Corresponds to the JSON property `bandedRange`
+        # @return [Google::Apis::SheetsV4::BandedRange]
+        attr_accessor :banded_range
+      
+        def initialize(**args)
+           update!(**args)
+        end
+      
+        # Update properties of this object
+        def update!(**args)
+          @banded_range = args[:banded_range] if args.key?(:banded_range)
+        end
+      end
+      
+      # Removes the named range with the given ID from the spreadsheet.
+      class DeleteNamedRangeRequest
+        include Google::Apis::Core::Hashable
+      
+        # The ID of the named range to delete.
+        # Corresponds to the JSON property `namedRangeId`
+        # @return [String]
+        attr_accessor :named_range_id
+      
+        def initialize(**args)
+           update!(**args)
+        end
+      
+        # Update properties of this object
+        def update!(**args)
+          @named_range_id = args[:named_range_id] if args.key?(:named_range_id)
+        end
+      end
+      
+      # The data included in a domain or series.
+      class ChartData
+        include Google::Apis::Core::Hashable
+      
+        # Source ranges for a chart.
+        # Corresponds to the JSON property `sourceRange`
+        # @return [Google::Apis::SheetsV4::ChartSourceRange]
+        attr_accessor :source_range
+      
+        def initialize(**args)
+           update!(**args)
+        end
+      
+        # Update properties of this object
+        def update!(**args)
+          @source_range = args[:source_range] if args.key?(:source_range)
+        end
+      end
+      
+      # The response when retrieving more than one range of values in a spreadsheet.
+      class BatchGetValuesResponse
+        include Google::Apis::Core::Hashable
+      
+        # The requested values. The order of the ValueRanges is the same as the
+        # order of the requested ranges.
+        # Corresponds to the JSON property `valueRanges`
+        # @return [Array]
+        attr_accessor :value_ranges
+      
+        # The ID of the spreadsheet the data was retrieved from.
+        # Corresponds to the JSON property `spreadsheetId`
+        # @return [String]
+        attr_accessor :spreadsheet_id
+      
+        def initialize(**args)
+           update!(**args)
+        end
+      
+        # Update properties of this object
+        def update!(**args)
+          @value_ranges = args[:value_ranges] if args.key?(:value_ranges)
+          @spreadsheet_id = args[:spreadsheet_id] if args.key?(:spreadsheet_id)
+        end
+      end
+      
+      # Updates properties of the supplied banded range.
+      class UpdateBandingRequest
+        include Google::Apis::Core::Hashable
+      
+        # A banded (alternating colors) range in a sheet.
+        # Corresponds to the JSON property `bandedRange`
+        # @return [Google::Apis::SheetsV4::BandedRange]
+        attr_accessor :banded_range
+      
+        # The fields that should be updated.  At least one field must be specified.
+        # The root `bandedRange` is implied and should not be specified.
+        # A single `"*"` can be used as short-hand for listing every field.
+        # Corresponds to the JSON property `fields`
+        # @return [String]
+        attr_accessor :fields
+      
+        def initialize(**args)
+           update!(**args)
+        end
+      
+        # Update properties of this object
+        def update!(**args)
+          @banded_range = args[:banded_range] if args.key?(:banded_range)
+          @fields = args[:fields] if args.key?(:fields)
+        end
+      end
+      
+      # Represents a color in the RGBA color space. This representation is designed
+      # for simplicity of conversion to/from color representations in various
+      # languages over compactness; for example, the fields of this representation
+      # can be trivially provided to the constructor of "java.awt.Color" in Java; it
+      # can also be trivially provided to UIColor's "+colorWithRed:green:blue:alpha"
+      # method in iOS; and, with just a little work, it can be easily formatted into
+      # a CSS "rgba()" string in JavaScript, as well. Here are some examples:
+      # Example (Java):
+      # import com.google.type.Color;
+      # // ...
+      # public static java.awt.Color fromProto(Color protocolor) `
+      # float alpha = protocolor.hasAlpha()
+      # ? protocolor.getAlpha().getValue()
+      # : 1.0;
+      # return new java.awt.Color(
+      # protocolor.getRed(),
+      # protocolor.getGreen(),
+      # protocolor.getBlue(),
+      # alpha);
+      # `
+      # public static Color toProto(java.awt.Color color) `
+      # float red = (float) color.getRed();
+      # float green = (float) color.getGreen();
+      # float blue = (float) color.getBlue();
+      # float denominator = 255.0;
+      # Color.Builder resultBuilder =
+      # Color
+      # .newBuilder()
+      # .setRed(red / denominator)
+      # .setGreen(green / denominator)
+      # .setBlue(blue / denominator);
+      # int alpha = color.getAlpha();
+      # if (alpha != 255) `
+      # result.setAlpha(
+      # FloatValue
+      # .newBuilder()
+      # .setValue(((float) alpha) / denominator)
+      # .build());
+      # `
+      # return resultBuilder.build();
+      # `
+      # // ...
+      # Example (iOS / Obj-C):
+      # // ...
+      # static UIColor* fromProto(Color* protocolor) `
+      # float red = [protocolor red];
+      # float green = [protocolor green];
+      # float blue = [protocolor blue];
+      # FloatValue* alpha_wrapper = [protocolor alpha];
+      # float alpha = 1.0;
+      # if (alpha_wrapper != nil) `
+      # alpha = [alpha_wrapper value];
+      # `
+      # return [UIColor colorWithRed:red green:green blue:blue alpha:alpha];
+      # `
+      # static Color* toProto(UIColor* color) `
+      # CGFloat red, green, blue, alpha;
+      # if (![color getRed:&red green:&green blue:&blue alpha:&alpha]) `
+      # return nil;
+      # `
+      # Color* result = [Color alloc] init];
+      # [result setRed:red];
+      # [result setGreen:green];
+      # [result setBlue:blue];
+      # if (alpha <= 0.9999) `
+      # [result setAlpha:floatWrapperWithValue(alpha)];
+      # `
+      # [result autorelease];
+      # return result;
+      # `
+      # // ...
+      # Example (JavaScript):
+      # // ...
+      # var protoToCssColor = function(rgb_color) `
+      # var redFrac = rgb_color.red || 0.0;
+      # var greenFrac = rgb_color.green || 0.0;
+      # var blueFrac = rgb_color.blue || 0.0;
+      # var red = Math.floor(redFrac * 255);
+      # var green = Math.floor(greenFrac * 255);
+      # var blue = Math.floor(blueFrac * 255);
+      # if (!('alpha' in rgb_color)) `
+      # return rgbToCssColor_(red, green, blue);
+      # `
+      # var alphaFrac = rgb_color.alpha.value || 0.0;
+      # var rgbParams = [red, green, blue].join(',');
+      # return ['rgba(', rgbParams, ',', alphaFrac, ')'].join('');
+      # `;
+      # var rgbToCssColor_ = function(red, green, blue) `
+      # var rgbNumber = new Number((red << 16) | (green << 8) | blue);
+      # var hexString = rgbNumber.toString(16);
+      # var missingZeros = 6 - hexString.length;
+      # var resultBuilder = ['#'];
+      # for (var i = 0; i < missingZeros; i++) `
+      # resultBuilder.push('0');
+      # `
+      # resultBuilder.push(hexString);
+      # return resultBuilder.join('');
+      # `;
+      # // ...
+      class Color
+        include Google::Apis::Core::Hashable
+      
+        # The amount of red in the color as a value in the interval [0, 1].
+        # Corresponds to the JSON property `red`
+        # @return [Float]
+        attr_accessor :red
+      
+        # The amount of green in the color as a value in the interval [0, 1].
+        # Corresponds to the JSON property `green`
+        # @return [Float]
+        attr_accessor :green
+      
+        # The amount of blue in the color as a value in the interval [0, 1].
+        # Corresponds to the JSON property `blue`
+        # @return [Float]
+        attr_accessor :blue
+      
+        # The fraction of this color that should be applied to the pixel. That is,
+        # the final pixel color is defined by the equation:
+        # pixel color = alpha * (this color) + (1.0 - alpha) * (background color)
+        # This means that a value of 1.0 corresponds to a solid color, whereas
+        # a value of 0.0 corresponds to a completely transparent color. This
+        # uses a wrapper message rather than a simple float scalar so that it is
+        # possible to distinguish between a default value and the value being unset.
+        # If omitted, this color object is to be rendered as a solid color
+        # (as if the alpha value had been explicitly given with a value of 1.0).
+        # Corresponds to the JSON property `alpha`
+        # @return [Float]
+        attr_accessor :alpha
+      
+        def initialize(**args)
+           update!(**args)
+        end
+      
+        # Update properties of this object
+        def update!(**args)
+          @red = args[:red] if args.key?(:red)
+          @green = args[:green] if args.key?(:green)
+          @blue = args[:blue] if args.key?(:blue)
+          @alpha = args[:alpha] if args.key?(:alpha)
+        end
+      end
+      
+      # A single grouping (either row or column) in a pivot table.
+      class PivotGroup
+        include Google::Apis::Core::Hashable
+      
+        # The column offset of the source range that this grouping is based on.
+        # For example, if the source was `C10:E15`, a `sourceColumnOffset` of `0`
+        # means this group refers to column `C`, whereas the offset `1` would refer
+        # to column `D`.
+        # Corresponds to the JSON property `sourceColumnOffset`
+        # @return [Fixnum]
+        attr_accessor :source_column_offset
+      
+        # True if the pivot table should include the totals for this grouping.
+        # Corresponds to the JSON property `showTotals`
+        # @return [Boolean]
+        attr_accessor :show_totals
+        alias_method :show_totals?, :show_totals
+      
+        # Metadata about values in the grouping.
+        # Corresponds to the JSON property `valueMetadata`
+        # @return [Array]
+        attr_accessor :value_metadata
+      
+        # The order the values in this group should be sorted.
+        # Corresponds to the JSON property `sortOrder`
+        # @return [String]
+        attr_accessor :sort_order
+      
+        # Information about which values in a pivot group should be used for sorting.
+        # Corresponds to the JSON property `valueBucket`
+        # @return [Google::Apis::SheetsV4::PivotGroupSortValueBucket]
+        attr_accessor :value_bucket
+      
+        def initialize(**args)
+           update!(**args)
+        end
+      
+        # Update properties of this object
+        def update!(**args)
+          @source_column_offset = args[:source_column_offset] if args.key?(:source_column_offset)
+          @show_totals = args[:show_totals] if args.key?(:show_totals)
+          @value_metadata = args[:value_metadata] if args.key?(:value_metadata)
+          @sort_order = args[:sort_order] if args.key?(:sort_order)
+          @value_bucket = args[:value_bucket] if args.key?(:value_bucket)
+        end
+      end
+      
+      # A pivot table.
+      class PivotTable
+        include Google::Apis::Core::Hashable
+      
+        # An optional mapping of filters per source column offset.
+        # The filters will be applied before aggregating data into the pivot table.
+        # The map's key is the column offset of the source range that you want to
+        # filter, and the value is the criteria for that column.
+        # For example, if the source was `C10:E15`, a key of `0` will have the filter
+        # for column `C`, whereas the key `1` is for column `D`.
+        # Corresponds to the JSON property `criteria`
+        # @return [Hash]
+        attr_accessor :criteria
+      
+        # Each row grouping in the pivot table.
+        # Corresponds to the JSON property `rows`
+        # @return [Array]
+        attr_accessor :rows
+      
+        # Whether values should be listed horizontally (as columns)
+        # or vertically (as rows).
+        # Corresponds to the JSON property `valueLayout`
+        # @return [String]
+        attr_accessor :value_layout
+      
+        # A range on a sheet.
+        # All indexes are zero-based.
+        # Indexes are half open, e.g the start index is inclusive
+        # and the end index is exclusive -- [start_index, end_index).
+        # Missing indexes indicate the range is unbounded on that side.
+        # For example, if `"Sheet1"` is sheet ID 0, then:
+        # `Sheet1!A1:A1 == sheet_id: 0,
+        # start_row_index: 0, end_row_index: 1,
+        # start_column_index: 0, end_column_index: 1`
+        # `Sheet1!A3:B4 == sheet_id: 0,
+        # start_row_index: 2, end_row_index: 4,
+        # start_column_index: 0, end_column_index: 2`
+        # `Sheet1!A:B == sheet_id: 0,
+        # start_column_index: 0, end_column_index: 2`
+        # `Sheet1!A5:B == sheet_id: 0,
+        # start_row_index: 4,
+        # start_column_index: 0, end_column_index: 2`
+        # `Sheet1 == sheet_id:0`
+        # The start index must always be less than or equal to the end index.
+        # If the start index equals the end index, then the range is empty.
+        # Empty ranges are typically not meaningful and are usually rendered in the
+        # UI as `#REF!`.
+        # Corresponds to the JSON property `source`
+        # @return [Google::Apis::SheetsV4::GridRange]
+        attr_accessor :source
+      
+        # Each column grouping in the pivot table.
+        # Corresponds to the JSON property `columns`
+        # @return [Array]
+        attr_accessor :columns
+      
+        # A list of values to include in the pivot table.
+        # Corresponds to the JSON property `values`
+        # @return [Array]
+        attr_accessor :values
+      
+        def initialize(**args)
+           update!(**args)
+        end
+      
+        # Update properties of this object
+        def update!(**args)
+          @criteria = args[:criteria] if args.key?(:criteria)
+          @rows = args[:rows] if args.key?(:rows)
+          @value_layout = args[:value_layout] if args.key?(:value_layout)
+          @source = args[:source] if args.key?(:source)
+          @columns = args[:columns] if args.key?(:columns)
+          @values = args[:values] if args.key?(:values)
+        end
+      end
+      
+      # Source ranges for a chart.
+      class ChartSourceRange
+        include Google::Apis::Core::Hashable
+      
+        # The ranges of data for a series or domain.
+        # Exactly one dimension must have a length of 1,
+        # and all sources in the list must have the same dimension
+        # with length 1.
+        # The domain (if it exists) & all series must have the same number
+        # of source ranges. If using more than one source range, then the source
+        # range at a given offset must be contiguous across the domain and series.
+        # For example, these are valid configurations:
+        # domain sources: A1:A5
+        # series1 sources: B1:B5
+        # series2 sources: D6:D10
+        # domain sources: A1:A5, C10:C12
+        # series1 sources: B1:B5, D10:D12
+        # series2 sources: C1:C5, E10:E12
+        # Corresponds to the JSON property `sources`
+        # @return [Array]
+        attr_accessor :sources
+      
+        def initialize(**args)
+           update!(**args)
+        end
+      
+        # Update properties of this object
+        def update!(**args)
+          @sources = args[:sources] if args.key?(:sources)
+        end
+      end
+      
+      # Adds new cells after the last row with data in a sheet,
+      # inserting new rows into the sheet if necessary.
+      class AppendCellsRequest
+        include Google::Apis::Core::Hashable
+      
+        # The data to append.
+        # Corresponds to the JSON property `rows`
+        # @return [Array]
+        attr_accessor :rows
+      
+        # The fields of CellData that should be updated.
+        # At least one field must be specified.
+        # The root is the CellData; 'row.values.' should not be specified.
+        # A single `"*"` can be used as short-hand for listing every field.
+        # Corresponds to the JSON property `fields`
+        # @return [String]
+        attr_accessor :fields
+      
+        # The sheet ID to append the data to.
+        # Corresponds to the JSON property `sheetId`
+        # @return [Fixnum]
+        attr_accessor :sheet_id
+      
+        def initialize(**args)
+           update!(**args)
+        end
+      
+        # Update properties of this object
+        def update!(**args)
+          @rows = args[:rows] if args.key?(:rows)
+          @fields = args[:fields] if args.key?(:fields)
+          @sheet_id = args[:sheet_id] if args.key?(:sheet_id)
+        end
+      end
+      
+      # Data within a range of the spreadsheet.
+      class ValueRange
+        include Google::Apis::Core::Hashable
+      
+        # The range the values cover, in A1 notation.
+        # For output, this range indicates the entire requested range,
+        # even though the values will exclude trailing rows and columns.
+        # When appending values, this field represents the range to search for a
+        # table, after which values will be appended.
+        # Corresponds to the JSON property `range`
+        # @return [String]
+        attr_accessor :range
+      
+        # The major dimension of the values.
+        # For output, if the spreadsheet data is: `A1=1,B1=2,A2=3,B2=4`,
+        # then requesting `range=A1:B2,majorDimension=ROWS` will return
+        # `[[1,2],[3,4]]`,
+        # whereas requesting `range=A1:B2,majorDimension=COLUMNS` will return
+        # `[[1,3],[2,4]]`.
+        # For input, with `range=A1:B2,majorDimension=ROWS` then `[[1,2],[3,4]]`
+        # will set `A1=1,B1=2,A2=3,B2=4`. With `range=A1:B2,majorDimension=COLUMNS`
+        # then `[[1,2],[3,4]]` will set `A1=1,B1=3,A2=2,B2=4`.
+        # When writing, if this field is not set, it defaults to ROWS.
+        # Corresponds to the JSON property `majorDimension`
+        # @return [String]
+        attr_accessor :major_dimension
+      
+        # The data that was read or to be written.  This is an array of arrays,
+        # the outer array representing all the data and each inner array
+        # representing a major dimension. Each item in the inner array
+        # corresponds with one cell.
+        # For output, empty trailing rows and columns will not be included.
+        # For input, supported value types are: bool, string, and double.
+        # Null values will be skipped.
+        # To set a cell to an empty value, set the string value to an empty string.
+        # Corresponds to the JSON property `values`
+        # @return [Array>]
+        attr_accessor :values
+      
+        def initialize(**args)
+           update!(**args)
+        end
+      
+        # Update properties of this object
+        def update!(**args)
+          @range = args[:range] if args.key?(:range)
+          @major_dimension = args[:major_dimension] if args.key?(:major_dimension)
+          @values = args[:values] if args.key?(:values)
+        end
+      end
+      
+      # Adds a new banded range to the spreadsheet.
+      class AddBandingRequest
+        include Google::Apis::Core::Hashable
+      
+        # A banded (alternating colors) range in a sheet.
+        # Corresponds to the JSON property `bandedRange`
+        # @return [Google::Apis::SheetsV4::BandedRange]
+        attr_accessor :banded_range
+      
+        def initialize(**args)
+           update!(**args)
+        end
+      
+        # Update properties of this object
+        def update!(**args)
+          @banded_range = args[:banded_range] if args.key?(:banded_range)
+        end
+      end
+      
       # A single response from an update.
       class Response
         include Google::Apis::Core::Hashable
       
-        # The result of adding a sheet.
-        # Corresponds to the JSON property `addSheet`
-        # @return [Google::Apis::SheetsV4::AddSheetResponse]
-        attr_accessor :add_sheet
-      
-        # The result of updating a conditional format rule.
-        # Corresponds to the JSON property `updateConditionalFormatRule`
-        # @return [Google::Apis::SheetsV4::UpdateConditionalFormatRuleResponse]
-        attr_accessor :update_conditional_format_rule
-      
-        # The result of adding a named range.
-        # Corresponds to the JSON property `addNamedRange`
-        # @return [Google::Apis::SheetsV4::AddNamedRangeResponse]
-        attr_accessor :add_named_range
-      
         # The result of adding a filter view.
         # Corresponds to the JSON property `addFilterView`
         # @return [Google::Apis::SheetsV4::AddFilterViewResponse]
@@ -61,16 +2187,16 @@ module Google
         # @return [Google::Apis::SheetsV4::DuplicateSheetResponse]
         attr_accessor :duplicate_sheet
       
-        # The result of updating an embedded object's position.
-        # Corresponds to the JSON property `updateEmbeddedObjectPosition`
-        # @return [Google::Apis::SheetsV4::UpdateEmbeddedObjectPositionResponse]
-        attr_accessor :update_embedded_object_position
-      
         # The result of deleting a conditional format rule.
         # Corresponds to the JSON property `deleteConditionalFormatRule`
         # @return [Google::Apis::SheetsV4::DeleteConditionalFormatRuleResponse]
         attr_accessor :delete_conditional_format_rule
       
+        # The result of updating an embedded object's position.
+        # Corresponds to the JSON property `updateEmbeddedObjectPosition`
+        # @return [Google::Apis::SheetsV4::UpdateEmbeddedObjectPositionResponse]
+        attr_accessor :update_embedded_object_position
+      
         # The result of a filter view being duplicated.
         # Corresponds to the JSON property `duplicateFilterView`
         # @return [Google::Apis::SheetsV4::DuplicateFilterViewResponse]
@@ -86,24 +2212,98 @@ module Google
         # @return [Google::Apis::SheetsV4::FindReplaceResponse]
         attr_accessor :find_replace
       
+        # The result of adding a sheet.
+        # Corresponds to the JSON property `addSheet`
+        # @return [Google::Apis::SheetsV4::AddSheetResponse]
+        attr_accessor :add_sheet
+      
+        # The result of updating a conditional format rule.
+        # Corresponds to the JSON property `updateConditionalFormatRule`
+        # @return [Google::Apis::SheetsV4::UpdateConditionalFormatRuleResponse]
+        attr_accessor :update_conditional_format_rule
+      
+        # The result of adding a named range.
+        # Corresponds to the JSON property `addNamedRange`
+        # @return [Google::Apis::SheetsV4::AddNamedRangeResponse]
+        attr_accessor :add_named_range
+      
         def initialize(**args)
            update!(**args)
         end
       
         # Update properties of this object
         def update!(**args)
-          @add_sheet = args[:add_sheet] if args.key?(:add_sheet)
-          @update_conditional_format_rule = args[:update_conditional_format_rule] if args.key?(:update_conditional_format_rule)
-          @add_named_range = args[:add_named_range] if args.key?(:add_named_range)
           @add_filter_view = args[:add_filter_view] if args.key?(:add_filter_view)
           @add_banding = args[:add_banding] if args.key?(:add_banding)
           @add_protected_range = args[:add_protected_range] if args.key?(:add_protected_range)
           @duplicate_sheet = args[:duplicate_sheet] if args.key?(:duplicate_sheet)
-          @update_embedded_object_position = args[:update_embedded_object_position] if args.key?(:update_embedded_object_position)
           @delete_conditional_format_rule = args[:delete_conditional_format_rule] if args.key?(:delete_conditional_format_rule)
+          @update_embedded_object_position = args[:update_embedded_object_position] if args.key?(:update_embedded_object_position)
           @duplicate_filter_view = args[:duplicate_filter_view] if args.key?(:duplicate_filter_view)
           @add_chart = args[:add_chart] if args.key?(:add_chart)
           @find_replace = args[:find_replace] if args.key?(:find_replace)
+          @add_sheet = args[:add_sheet] if args.key?(:add_sheet)
+          @update_conditional_format_rule = args[:update_conditional_format_rule] if args.key?(:update_conditional_format_rule)
+          @add_named_range = args[:add_named_range] if args.key?(:add_named_range)
+        end
+      end
+      
+      # A chart embedded in a sheet.
+      class EmbeddedChart
+        include Google::Apis::Core::Hashable
+      
+        # The ID of the chart.
+        # Corresponds to the JSON property `chartId`
+        # @return [Fixnum]
+        attr_accessor :chart_id
+      
+        # The position of an embedded object such as a chart.
+        # Corresponds to the JSON property `position`
+        # @return [Google::Apis::SheetsV4::EmbeddedObjectPosition]
+        attr_accessor :position
+      
+        # The specifications of a chart.
+        # Corresponds to the JSON property `spec`
+        # @return [Google::Apis::SheetsV4::ChartSpec]
+        attr_accessor :spec
+      
+        def initialize(**args)
+           update!(**args)
+        end
+      
+        # Update properties of this object
+        def update!(**args)
+          @chart_id = args[:chart_id] if args.key?(:chart_id)
+          @position = args[:position] if args.key?(:position)
+          @spec = args[:spec] if args.key?(:spec)
+        end
+      end
+      
+      # A run of a text format. The format of this run continues until the start
+      # index of the next run.
+      # When updating, all fields must be set.
+      class TextFormatRun
+        include Google::Apis::Core::Hashable
+      
+        # The character index where this run starts.
+        # Corresponds to the JSON property `startIndex`
+        # @return [Fixnum]
+        attr_accessor :start_index
+      
+        # The format of a run of text in a cell.
+        # Absent values indicate that the field isn't specified.
+        # Corresponds to the JSON property `format`
+        # @return [Google::Apis::SheetsV4::TextFormat]
+        attr_accessor :format
+      
+        def initialize(**args)
+           update!(**args)
+        end
+      
+        # Update properties of this object
+        def update!(**args)
+          @start_index = args[:start_index] if args.key?(:start_index)
+          @format = args[:format] if args.key?(:format)
         end
       end
       
@@ -155,65 +2355,6 @@ module Google
         end
       end
       
-      # A run of a text format. The format of this run continues until the start
-      # index of the next run.
-      # When updating, all fields must be set.
-      class TextFormatRun
-        include Google::Apis::Core::Hashable
-      
-        # The format of a run of text in a cell.
-        # Absent values indicate that the field isn't specified.
-        # Corresponds to the JSON property `format`
-        # @return [Google::Apis::SheetsV4::TextFormat]
-        attr_accessor :format
-      
-        # The character index where this run starts.
-        # Corresponds to the JSON property `startIndex`
-        # @return [Fixnum]
-        attr_accessor :start_index
-      
-        def initialize(**args)
-           update!(**args)
-        end
-      
-        # Update properties of this object
-        def update!(**args)
-          @format = args[:format] if args.key?(:format)
-          @start_index = args[:start_index] if args.key?(:start_index)
-        end
-      end
-      
-      # A chart embedded in a sheet.
-      class EmbeddedChart
-        include Google::Apis::Core::Hashable
-      
-        # The ID of the chart.
-        # Corresponds to the JSON property `chartId`
-        # @return [Fixnum]
-        attr_accessor :chart_id
-      
-        # The position of an embedded object such as a chart.
-        # Corresponds to the JSON property `position`
-        # @return [Google::Apis::SheetsV4::EmbeddedObjectPosition]
-        attr_accessor :position
-      
-        # The specifications of a chart.
-        # Corresponds to the JSON property `spec`
-        # @return [Google::Apis::SheetsV4::ChartSpec]
-        attr_accessor :spec
-      
-        def initialize(**args)
-           update!(**args)
-        end
-      
-        # Update properties of this object
-        def update!(**args)
-          @chart_id = args[:chart_id] if args.key?(:chart_id)
-          @position = args[:position] if args.key?(:position)
-          @spec = args[:spec] if args.key?(:spec)
-        end
-      end
-      
       # The result of adding a named range.
       class AddNamedRangeResponse
         include Google::Apis::Core::Hashable
@@ -252,54 +2393,6 @@ module Google
         end
       end
       
-      # Data in the grid, as well as metadata about the dimensions.
-      class GridData
-        include Google::Apis::Core::Hashable
-      
-        # The first column this GridData refers to, zero-based.
-        # Corresponds to the JSON property `startColumn`
-        # @return [Fixnum]
-        attr_accessor :start_column
-      
-        # Metadata about the requested rows in the grid, starting with the row
-        # in start_row.
-        # Corresponds to the JSON property `rowMetadata`
-        # @return [Array]
-        attr_accessor :row_metadata
-      
-        # The data in the grid, one entry per row,
-        # starting with the row in startRow.
-        # The values in RowData will correspond to columns starting
-        # at start_column.
-        # Corresponds to the JSON property `rowData`
-        # @return [Array]
-        attr_accessor :row_data
-      
-        # The first row this GridData refers to, zero-based.
-        # Corresponds to the JSON property `startRow`
-        # @return [Fixnum]
-        attr_accessor :start_row
-      
-        # Metadata about the requested columns in the grid, starting with the column
-        # in start_column.
-        # Corresponds to the JSON property `columnMetadata`
-        # @return [Array]
-        attr_accessor :column_metadata
-      
-        def initialize(**args)
-           update!(**args)
-        end
-      
-        # Update properties of this object
-        def update!(**args)
-          @start_column = args[:start_column] if args.key?(:start_column)
-          @row_metadata = args[:row_metadata] if args.key?(:row_metadata)
-          @row_data = args[:row_data] if args.key?(:row_data)
-          @start_row = args[:start_row] if args.key?(:start_row)
-          @column_metadata = args[:column_metadata] if args.key?(:column_metadata)
-        end
-      end
-      
       # A border along a cell.
       class Border
         include Google::Apis::Core::Hashable
@@ -430,22 +2523,39 @@ module Google
         end
       end
       
-      # Updates properties of the named range with the specified
-      # namedRangeId.
-      class UpdateNamedRangeRequest
+      # Data in the grid, as well as metadata about the dimensions.
+      class GridData
         include Google::Apis::Core::Hashable
       
-        # A named range.
-        # Corresponds to the JSON property `namedRange`
-        # @return [Google::Apis::SheetsV4::NamedRange]
-        attr_accessor :named_range
+        # Metadata about the requested columns in the grid, starting with the column
+        # in start_column.
+        # Corresponds to the JSON property `columnMetadata`
+        # @return [Array]
+        attr_accessor :column_metadata
       
-        # The fields that should be updated.  At least one field must be specified.
-        # The root `namedRange` is implied and should not be specified.
-        # A single `"*"` can be used as short-hand for listing every field.
-        # Corresponds to the JSON property `fields`
-        # @return [String]
-        attr_accessor :fields
+        # The first column this GridData refers to, zero-based.
+        # Corresponds to the JSON property `startColumn`
+        # @return [Fixnum]
+        attr_accessor :start_column
+      
+        # Metadata about the requested rows in the grid, starting with the row
+        # in start_row.
+        # Corresponds to the JSON property `rowMetadata`
+        # @return [Array]
+        attr_accessor :row_metadata
+      
+        # The data in the grid, one entry per row,
+        # starting with the row in startRow.
+        # The values in RowData will correspond to columns starting
+        # at start_column.
+        # Corresponds to the JSON property `rowData`
+        # @return [Array]
+        attr_accessor :row_data
+      
+        # The first row this GridData refers to, zero-based.
+        # Corresponds to the JSON property `startRow`
+        # @return [Fixnum]
+        attr_accessor :start_row
       
         def initialize(**args)
            update!(**args)
@@ -453,8 +2563,11 @@ module Google
       
         # Update properties of this object
         def update!(**args)
-          @named_range = args[:named_range] if args.key?(:named_range)
-          @fields = args[:fields] if args.key?(:fields)
+          @column_metadata = args[:column_metadata] if args.key?(:column_metadata)
+          @start_column = args[:start_column] if args.key?(:start_column)
+          @row_metadata = args[:row_metadata] if args.key?(:row_metadata)
+          @row_data = args[:row_data] if args.key?(:row_data)
+          @start_row = args[:start_row] if args.key?(:start_row)
         end
       end
       
@@ -462,6 +2575,11 @@ module Google
       class FindReplaceRequest
         include Google::Apis::Core::Hashable
       
+        # The value to use as the replacement.
+        # Corresponds to the JSON property `replacement`
+        # @return [String]
+        attr_accessor :replacement
+      
         # A range on a sheet.
         # All indexes are zero-based.
         # Indexes are half open, e.g the start index is inclusive
@@ -493,18 +2611,18 @@ module Google
         # @return [Fixnum]
         attr_accessor :sheet_id
       
-        # True if the search is case sensitive.
-        # Corresponds to the JSON property `matchCase`
-        # @return [Boolean]
-        attr_accessor :match_case
-        alias_method :match_case?, :match_case
-      
         # True to find/replace over all sheets.
         # Corresponds to the JSON property `allSheets`
         # @return [Boolean]
         attr_accessor :all_sheets
         alias_method :all_sheets?, :all_sheets
       
+        # True if the search is case sensitive.
+        # Corresponds to the JSON property `matchCase`
+        # @return [Boolean]
+        attr_accessor :match_case
+        alias_method :match_case?, :match_case
+      
         # True if the search should include cells with formulas.
         # False to skip cells with formulas.
         # Corresponds to the JSON property `includeFormulas`
@@ -518,11 +2636,6 @@ module Google
         attr_accessor :match_entire_cell
         alias_method :match_entire_cell?, :match_entire_cell
       
-        # The value to search.
-        # Corresponds to the JSON property `find`
-        # @return [String]
-        attr_accessor :find
-      
         # True if the find value is a regex.
         # The regular expression and replacement should follow Java regex rules
         # at https://docs.oracle.com/javase/8/docs/api/java/util/regex/Pattern.html.
@@ -536,10 +2649,10 @@ module Google
         attr_accessor :search_by_regex
         alias_method :search_by_regex?, :search_by_regex
       
-        # The value to use as the replacement.
-        # Corresponds to the JSON property `replacement`
+        # The value to search.
+        # Corresponds to the JSON property `find`
         # @return [String]
-        attr_accessor :replacement
+        attr_accessor :find
       
         def initialize(**args)
            update!(**args)
@@ -547,15 +2660,43 @@ module Google
       
         # Update properties of this object
         def update!(**args)
+          @replacement = args[:replacement] if args.key?(:replacement)
           @range = args[:range] if args.key?(:range)
           @sheet_id = args[:sheet_id] if args.key?(:sheet_id)
-          @match_case = args[:match_case] if args.key?(:match_case)
           @all_sheets = args[:all_sheets] if args.key?(:all_sheets)
+          @match_case = args[:match_case] if args.key?(:match_case)
           @include_formulas = args[:include_formulas] if args.key?(:include_formulas)
           @match_entire_cell = args[:match_entire_cell] if args.key?(:match_entire_cell)
-          @find = args[:find] if args.key?(:find)
           @search_by_regex = args[:search_by_regex] if args.key?(:search_by_regex)
-          @replacement = args[:replacement] if args.key?(:replacement)
+          @find = args[:find] if args.key?(:find)
+        end
+      end
+      
+      # Updates properties of the named range with the specified
+      # namedRangeId.
+      class UpdateNamedRangeRequest
+        include Google::Apis::Core::Hashable
+      
+        # A named range.
+        # Corresponds to the JSON property `namedRange`
+        # @return [Google::Apis::SheetsV4::NamedRange]
+        attr_accessor :named_range
+      
+        # The fields that should be updated.  At least one field must be specified.
+        # The root `namedRange` is implied and should not be specified.
+        # A single `"*"` can be used as short-hand for listing every field.
+        # Corresponds to the JSON property `fields`
+        # @return [String]
+        attr_accessor :fields
+      
+        def initialize(**args)
+           update!(**args)
+        end
+      
+        # Update properties of this object
+        def update!(**args)
+          @named_range = args[:named_range] if args.key?(:named_range)
+          @fields = args[:fields] if args.key?(:fields)
         end
       end
       
@@ -587,6 +2728,19 @@ module Google
       class UpdateCellsRequest
         include Google::Apis::Core::Hashable
       
+        # The data to write.
+        # Corresponds to the JSON property `rows`
+        # @return [Array]
+        attr_accessor :rows
+      
+        # The fields of CellData that should be updated.
+        # At least one field must be specified.
+        # The root is the CellData; 'row.values.' should not be specified.
+        # A single `"*"` can be used as short-hand for listing every field.
+        # Corresponds to the JSON property `fields`
+        # @return [String]
+        attr_accessor :fields
+      
         # A coordinate in a sheet.
         # All indexes are zero-based.
         # Corresponds to the JSON property `start`
@@ -619,29 +2773,16 @@ module Google
         # @return [Google::Apis::SheetsV4::GridRange]
         attr_accessor :range
       
-        # The data to write.
-        # Corresponds to the JSON property `rows`
-        # @return [Array]
-        attr_accessor :rows
-      
-        # The fields of CellData that should be updated.
-        # At least one field must be specified.
-        # The root is the CellData; 'row.values.' should not be specified.
-        # A single `"*"` can be used as short-hand for listing every field.
-        # Corresponds to the JSON property `fields`
-        # @return [String]
-        attr_accessor :fields
-      
         def initialize(**args)
            update!(**args)
         end
       
         # Update properties of this object
         def update!(**args)
-          @start = args[:start] if args.key?(:start)
-          @range = args[:range] if args.key?(:range)
           @rows = args[:rows] if args.key?(:rows)
           @fields = args[:fields] if args.key?(:fields)
+          @start = args[:start] if args.key?(:start)
+          @range = args[:range] if args.key?(:range)
         end
       end
       
@@ -777,17 +2918,6 @@ module Google
       class GridProperties
         include Google::Apis::Core::Hashable
       
-        # The number of rows that are frozen in the grid.
-        # Corresponds to the JSON property `frozenRowCount`
-        # @return [Fixnum]
-        attr_accessor :frozen_row_count
-      
-        # True if the grid isn't showing gridlines in the UI.
-        # Corresponds to the JSON property `hideGridlines`
-        # @return [Boolean]
-        attr_accessor :hide_gridlines
-        alias_method :hide_gridlines?, :hide_gridlines
-      
         # The number of columns in the grid.
         # Corresponds to the JSON property `columnCount`
         # @return [Fixnum]
@@ -803,17 +2933,28 @@ module Google
         # @return [Fixnum]
         attr_accessor :row_count
       
+        # The number of rows that are frozen in the grid.
+        # Corresponds to the JSON property `frozenRowCount`
+        # @return [Fixnum]
+        attr_accessor :frozen_row_count
+      
+        # True if the grid isn't showing gridlines in the UI.
+        # Corresponds to the JSON property `hideGridlines`
+        # @return [Boolean]
+        attr_accessor :hide_gridlines
+        alias_method :hide_gridlines?, :hide_gridlines
+      
         def initialize(**args)
            update!(**args)
         end
       
         # Update properties of this object
         def update!(**args)
-          @frozen_row_count = args[:frozen_row_count] if args.key?(:frozen_row_count)
-          @hide_gridlines = args[:hide_gridlines] if args.key?(:hide_gridlines)
           @column_count = args[:column_count] if args.key?(:column_count)
           @frozen_column_count = args[:frozen_column_count] if args.key?(:frozen_column_count)
           @row_count = args[:row_count] if args.key?(:row_count)
+          @frozen_row_count = args[:frozen_row_count] if args.key?(:frozen_row_count)
+          @hide_gridlines = args[:hide_gridlines] if args.key?(:hide_gridlines)
         end
       end
       
@@ -898,16 +3039,16 @@ module Google
         # @return [Array]
         attr_accessor :filter_views
       
-        # The conditional format rules in this sheet.
-        # Corresponds to the JSON property `conditionalFormats`
-        # @return [Array]
-        attr_accessor :conditional_formats
-      
         # The protected ranges in this sheet.
         # Corresponds to the JSON property `protectedRanges`
         # @return [Array]
         attr_accessor :protected_ranges
       
+        # The conditional format rules in this sheet.
+        # Corresponds to the JSON property `conditionalFormats`
+        # @return [Array]
+        attr_accessor :conditional_formats
+      
         # The default filter associated with a sheet.
         # Corresponds to the JSON property `basicFilter`
         # @return [Google::Apis::SheetsV4::BasicFilter]
@@ -925,8 +3066,8 @@ module Google
           @properties = args[:properties] if args.key?(:properties)
           @charts = args[:charts] if args.key?(:charts)
           @filter_views = args[:filter_views] if args.key?(:filter_views)
-          @conditional_formats = args[:conditional_formats] if args.key?(:conditional_formats)
           @protected_ranges = args[:protected_ranges] if args.key?(:protected_ranges)
+          @conditional_formats = args[:conditional_formats] if args.key?(:conditional_formats)
           @basic_filter = args[:basic_filter] if args.key?(:basic_filter)
         end
       end
@@ -1002,6 +3143,32 @@ module Google
         end
       end
       
+      # Metadata about a value in a pivot grouping.
+      class PivotGroupValueMetadata
+        include Google::Apis::Core::Hashable
+      
+        # The kinds of value that a cell in a spreadsheet can have.
+        # Corresponds to the JSON property `value`
+        # @return [Google::Apis::SheetsV4::ExtendedValue]
+        attr_accessor :value
+      
+        # True if the data corresponding to the value is collapsed.
+        # Corresponds to the JSON property `collapsed`
+        # @return [Boolean]
+        attr_accessor :collapsed
+        alias_method :collapsed?, :collapsed
+      
+        def initialize(**args)
+           update!(**args)
+        end
+      
+        # Update properties of this object
+        def update!(**args)
+          @value = args[:value] if args.key?(:value)
+          @collapsed = args[:collapsed] if args.key?(:collapsed)
+        end
+      end
+      
       # Criteria for showing/hiding rows in a filter or filter view.
       class FilterCriteria
         include Google::Apis::Core::Hashable
@@ -1029,32 +3196,6 @@ module Google
         end
       end
       
-      # Metadata about a value in a pivot grouping.
-      class PivotGroupValueMetadata
-        include Google::Apis::Core::Hashable
-      
-        # True if the data corresponding to the value is collapsed.
-        # Corresponds to the JSON property `collapsed`
-        # @return [Boolean]
-        attr_accessor :collapsed
-        alias_method :collapsed?, :collapsed
-      
-        # The kinds of value that a cell in a spreadsheet can have.
-        # Corresponds to the JSON property `value`
-        # @return [Google::Apis::SheetsV4::ExtendedValue]
-        attr_accessor :value
-      
-        def initialize(**args)
-           update!(**args)
-        end
-      
-        # Update properties of this object
-        def update!(**args)
-          @collapsed = args[:collapsed] if args.key?(:collapsed)
-          @value = args[:value] if args.key?(:value)
-        end
-      end
-      
       # The editors of a protected range.
       class Editors
         include Google::Apis::Core::Hashable
@@ -1093,16 +3234,6 @@ module Google
       class UpdateConditionalFormatRuleRequest
         include Google::Apis::Core::Hashable
       
-        # The zero-based new index the rule should end up at.
-        # Corresponds to the JSON property `newIndex`
-        # @return [Fixnum]
-        attr_accessor :new_index
-      
-        # A rule describing a conditional format.
-        # Corresponds to the JSON property `rule`
-        # @return [Google::Apis::SheetsV4::ConditionalFormatRule]
-        attr_accessor :rule
-      
         # The zero-based index of the rule that should be replaced or moved.
         # Corresponds to the JSON property `index`
         # @return [Fixnum]
@@ -1114,16 +3245,26 @@ module Google
         # @return [Fixnum]
         attr_accessor :sheet_id
       
+        # The zero-based new index the rule should end up at.
+        # Corresponds to the JSON property `newIndex`
+        # @return [Fixnum]
+        attr_accessor :new_index
+      
+        # A rule describing a conditional format.
+        # Corresponds to the JSON property `rule`
+        # @return [Google::Apis::SheetsV4::ConditionalFormatRule]
+        attr_accessor :rule
+      
         def initialize(**args)
            update!(**args)
         end
       
         # Update properties of this object
         def update!(**args)
-          @new_index = args[:new_index] if args.key?(:new_index)
-          @rule = args[:rule] if args.key?(:rule)
           @index = args[:index] if args.key?(:index)
           @sheet_id = args[:sheet_id] if args.key?(:sheet_id)
+          @new_index = args[:new_index] if args.key?(:new_index)
+          @rule = args[:rule] if args.key?(:rule)
         end
       end
       
@@ -1131,6 +3272,13 @@ module Google
       class DataValidationRule
         include Google::Apis::Core::Hashable
       
+        # A condition that can evaluate to true or false.
+        # BooleanConditions are used by conditional formatting,
+        # data validation, and the criteria in filters.
+        # Corresponds to the JSON property `condition`
+        # @return [Google::Apis::SheetsV4::BooleanCondition]
+        attr_accessor :condition
+      
         # True if the UI should be customized based on the kind of condition.
         # If true, "List" conditions will show a dropdown.
         # Corresponds to the JSON property `showCustomUi`
@@ -1149,23 +3297,16 @@ module Google
         # @return [String]
         attr_accessor :input_message
       
-        # A condition that can evaluate to true or false.
-        # BooleanConditions are used by conditional formatting,
-        # data validation, and the criteria in filters.
-        # Corresponds to the JSON property `condition`
-        # @return [Google::Apis::SheetsV4::BooleanCondition]
-        attr_accessor :condition
-      
         def initialize(**args)
            update!(**args)
         end
       
         # Update properties of this object
         def update!(**args)
+          @condition = args[:condition] if args.key?(:condition)
           @show_custom_ui = args[:show_custom_ui] if args.key?(:show_custom_ui)
           @strict = args[:strict] if args.key?(:strict)
           @input_message = args[:input_message] if args.key?(:input_message)
-          @condition = args[:condition] if args.key?(:condition)
         end
       end
       
@@ -1193,6 +3334,17 @@ module Google
       class PasteDataRequest
         include Google::Apis::Core::Hashable
       
+        # How the data should be pasted.
+        # Corresponds to the JSON property `type`
+        # @return [String]
+        attr_accessor :type
+      
+        # True if the data is HTML.
+        # Corresponds to the JSON property `html`
+        # @return [Boolean]
+        attr_accessor :html
+        alias_method :html?, :html
+      
         # A coordinate in a sheet.
         # All indexes are zero-based.
         # Corresponds to the JSON property `coordinate`
@@ -1209,28 +3361,17 @@ module Google
         # @return [String]
         attr_accessor :delimiter
       
-        # How the data should be pasted.
-        # Corresponds to the JSON property `type`
-        # @return [String]
-        attr_accessor :type
-      
-        # True if the data is HTML.
-        # Corresponds to the JSON property `html`
-        # @return [Boolean]
-        attr_accessor :html
-        alias_method :html?, :html
-      
         def initialize(**args)
            update!(**args)
         end
       
         # Update properties of this object
         def update!(**args)
+          @type = args[:type] if args.key?(:type)
+          @html = args[:html] if args.key?(:html)
           @coordinate = args[:coordinate] if args.key?(:coordinate)
           @data = args[:data] if args.key?(:data)
           @delimiter = args[:delimiter] if args.key?(:delimiter)
-          @type = args[:type] if args.key?(:type)
-          @html = args[:html] if args.key?(:html)
         end
       end
       
@@ -1289,11 +3430,6 @@ module Google
       class UpdateEmbeddedObjectPositionRequest
         include Google::Apis::Core::Hashable
       
-        # The position of an embedded object such as a chart.
-        # Corresponds to the JSON property `newPosition`
-        # @return [Google::Apis::SheetsV4::EmbeddedObjectPosition]
-        attr_accessor :new_position
-      
         # The fields of OverlayPosition
         # that should be updated when setting a new position. Used only if
         # newPosition.overlayPosition
@@ -1310,15 +3446,20 @@ module Google
         # @return [Fixnum]
         attr_accessor :object_id_prop
       
+        # The position of an embedded object such as a chart.
+        # Corresponds to the JSON property `newPosition`
+        # @return [Google::Apis::SheetsV4::EmbeddedObjectPosition]
+        attr_accessor :new_position
+      
         def initialize(**args)
            update!(**args)
         end
       
         # Update properties of this object
         def update!(**args)
-          @new_position = args[:new_position] if args.key?(:new_position)
           @fields = args[:fields] if args.key?(:fields)
           @object_id_prop = args[:object_id_prop] if args.key?(:object_id_prop)
+          @new_position = args[:new_position] if args.key?(:new_position)
         end
       end
       
@@ -1326,15 +3467,6 @@ module Google
       class TextRotation
         include Google::Apis::Core::Hashable
       
-        # The angle between the standard orientation and the desired orientation.
-        # Measured in degrees. Valid values are between -90 and 90. Positive
-        # angles are angled upwards, negative are angled downwards.
-        # Note: For LTR text direction positive angles are in the counterclockwise
-        # direction, whereas for RTL they are in the clockwise direction
-        # Corresponds to the JSON property `angle`
-        # @return [Fixnum]
-        attr_accessor :angle
-      
         # If true, text reads top to bottom, but the orientation of individual
         # characters is unchanged.
         # For example:
@@ -1351,14 +3483,23 @@ module Google
         attr_accessor :vertical
         alias_method :vertical?, :vertical
       
+        # The angle between the standard orientation and the desired orientation.
+        # Measured in degrees. Valid values are between -90 and 90. Positive
+        # angles are angled upwards, negative are angled downwards.
+        # Note: For LTR text direction positive angles are in the counterclockwise
+        # direction, whereas for RTL they are in the clockwise direction
+        # Corresponds to the JSON property `angle`
+        # @return [Fixnum]
+        attr_accessor :angle
+      
         def initialize(**args)
            update!(**args)
         end
       
         # Update properties of this object
         def update!(**args)
-          @angle = args[:angle] if args.key?(:angle)
           @vertical = args[:vertical] if args.key?(:vertical)
+          @angle = args[:angle] if args.key?(:angle)
         end
       end
       
@@ -1366,6 +3507,16 @@ module Google
       class PieChartSpec
         include Google::Apis::Core::Hashable
       
+        # Where the legend of the pie chart should be drawn.
+        # Corresponds to the JSON property `legendPosition`
+        # @return [String]
+        attr_accessor :legend_position
+      
+        # The size of the hole in the pie chart.
+        # Corresponds to the JSON property `pieHole`
+        # @return [Float]
+        attr_accessor :pie_hole
+      
         # The data included in a domain or series.
         # Corresponds to the JSON property `domain`
         # @return [Google::Apis::SheetsV4::ChartData]
@@ -1382,27 +3533,17 @@ module Google
         # @return [Google::Apis::SheetsV4::ChartData]
         attr_accessor :series
       
-        # Where the legend of the pie chart should be drawn.
-        # Corresponds to the JSON property `legendPosition`
-        # @return [String]
-        attr_accessor :legend_position
-      
-        # The size of the hole in the pie chart.
-        # Corresponds to the JSON property `pieHole`
-        # @return [Float]
-        attr_accessor :pie_hole
-      
         def initialize(**args)
            update!(**args)
         end
       
         # Update properties of this object
         def update!(**args)
+          @legend_position = args[:legend_position] if args.key?(:legend_position)
+          @pie_hole = args[:pie_hole] if args.key?(:pie_hole)
           @domain = args[:domain] if args.key?(:domain)
           @three_dimensional = args[:three_dimensional] if args.key?(:three_dimensional)
           @series = args[:series] if args.key?(:series)
-          @legend_position = args[:legend_position] if args.key?(:legend_position)
-          @pie_hole = args[:pie_hole] if args.key?(:pie_hole)
         end
       end
       
@@ -1437,6 +3578,14 @@ module Google
       class ConditionalFormatRule
         include Google::Apis::Core::Hashable
       
+        # A rule that applies a gradient color scale format, based on
+        # the interpolation points listed. The format of a cell will vary
+        # based on its contents as compared to the values of the interpolation
+        # points.
+        # Corresponds to the JSON property `gradientRule`
+        # @return [Google::Apis::SheetsV4::GradientRule]
+        attr_accessor :gradient_rule
+      
         # A rule that may or may not match, depending on the condition.
         # Corresponds to the JSON property `booleanRule`
         # @return [Google::Apis::SheetsV4::BooleanRule]
@@ -1448,23 +3597,15 @@ module Google
         # @return [Array]
         attr_accessor :ranges
       
-        # A rule that applies a gradient color scale format, based on
-        # the interpolation points listed. The format of a cell will vary
-        # based on its contents as compared to the values of the interpolation
-        # points.
-        # Corresponds to the JSON property `gradientRule`
-        # @return [Google::Apis::SheetsV4::GradientRule]
-        attr_accessor :gradient_rule
-      
         def initialize(**args)
            update!(**args)
         end
       
         # Update properties of this object
         def update!(**args)
+          @gradient_rule = args[:gradient_rule] if args.key?(:gradient_rule)
           @boolean_rule = args[:boolean_rule] if args.key?(:boolean_rule)
           @ranges = args[:ranges] if args.key?(:ranges)
-          @gradient_rule = args[:gradient_rule] if args.key?(:gradient_rule)
         end
       end
       
@@ -1547,87 +3688,40 @@ module Google
         end
       end
       
+      # A condition that can evaluate to true or false.
+      # BooleanConditions are used by conditional formatting,
+      # data validation, and the criteria in filters.
+      class BooleanCondition
+        include Google::Apis::Core::Hashable
+      
+        # The type of condition.
+        # Corresponds to the JSON property `type`
+        # @return [String]
+        attr_accessor :type
+      
+        # The values of the condition. The number of supported values depends
+        # on the condition type.  Some support zero values,
+        # others one or two values,
+        # and ConditionType.ONE_OF_LIST supports an arbitrary number of values.
+        # Corresponds to the JSON property `values`
+        # @return [Array]
+        attr_accessor :values
+      
+        def initialize(**args)
+           update!(**args)
+        end
+      
+        # Update properties of this object
+        def update!(**args)
+          @type = args[:type] if args.key?(:type)
+          @values = args[:values] if args.key?(:values)
+        end
+      end
+      
       # A single kind of update to apply to a spreadsheet.
       class Request
         include Google::Apis::Core::Hashable
       
-        # Moves one or more rows or columns.
-        # Corresponds to the JSON property `moveDimension`
-        # @return [Google::Apis::SheetsV4::MoveDimensionRequest]
-        attr_accessor :move_dimension
-      
-        # Updates properties of the supplied banded range.
-        # Corresponds to the JSON property `updateBanding`
-        # @return [Google::Apis::SheetsV4::UpdateBandingRequest]
-        attr_accessor :update_banding
-      
-        # Adds a new protected range.
-        # Corresponds to the JSON property `addProtectedRange`
-        # @return [Google::Apis::SheetsV4::AddProtectedRangeRequest]
-        attr_accessor :add_protected_range
-      
-        # Removes the named range with the given ID from the spreadsheet.
-        # Corresponds to the JSON property `deleteNamedRange`
-        # @return [Google::Apis::SheetsV4::DeleteNamedRangeRequest]
-        attr_accessor :delete_named_range
-      
-        # Duplicates the contents of a sheet.
-        # Corresponds to the JSON property `duplicateSheet`
-        # @return [Google::Apis::SheetsV4::DuplicateSheetRequest]
-        attr_accessor :duplicate_sheet
-      
-        # Unmerges cells in the given range.
-        # Corresponds to the JSON property `unmergeCells`
-        # @return [Google::Apis::SheetsV4::UnmergeCellsRequest]
-        attr_accessor :unmerge_cells
-      
-        # Deletes the requested sheet.
-        # Corresponds to the JSON property `deleteSheet`
-        # @return [Google::Apis::SheetsV4::DeleteSheetRequest]
-        attr_accessor :delete_sheet
-      
-        # Update an embedded object's position (such as a moving or resizing a
-        # chart or image).
-        # Corresponds to the JSON property `updateEmbeddedObjectPosition`
-        # @return [Google::Apis::SheetsV4::UpdateEmbeddedObjectPositionRequest]
-        attr_accessor :update_embedded_object_position
-      
-        # Updates properties of dimensions within the specified range.
-        # Corresponds to the JSON property `updateDimensionProperties`
-        # @return [Google::Apis::SheetsV4::UpdateDimensionPropertiesRequest]
-        attr_accessor :update_dimension_properties
-      
-        # Inserts data into the spreadsheet starting at the specified coordinate.
-        # Corresponds to the JSON property `pasteData`
-        # @return [Google::Apis::SheetsV4::PasteDataRequest]
-        attr_accessor :paste_data
-      
-        # Sets the basic filter associated with a sheet.
-        # Corresponds to the JSON property `setBasicFilter`
-        # @return [Google::Apis::SheetsV4::SetBasicFilterRequest]
-        attr_accessor :set_basic_filter
-      
-        # Adds a new conditional format rule at the given index.
-        # All subsequent rules' indexes are incremented.
-        # Corresponds to the JSON property `addConditionalFormatRule`
-        # @return [Google::Apis::SheetsV4::AddConditionalFormatRuleRequest]
-        attr_accessor :add_conditional_format_rule
-      
-        # Adds a named range to the spreadsheet.
-        # Corresponds to the JSON property `addNamedRange`
-        # @return [Google::Apis::SheetsV4::AddNamedRangeRequest]
-        attr_accessor :add_named_range
-      
-        # Updates all cells in a range with new data.
-        # Corresponds to the JSON property `updateCells`
-        # @return [Google::Apis::SheetsV4::UpdateCellsRequest]
-        attr_accessor :update_cells
-      
-        # Updates properties of a spreadsheet.
-        # Corresponds to the JSON property `updateSpreadsheetProperties`
-        # @return [Google::Apis::SheetsV4::UpdateSpreadsheetPropertiesRequest]
-        attr_accessor :update_spreadsheet_properties
-      
         # Deletes the embedded object with the given ID.
         # Corresponds to the JSON property `deleteEmbeddedObject`
         # @return [Google::Apis::SheetsV4::DeleteEmbeddedObjectRequest]
@@ -1643,18 +3737,18 @@ module Google
         # @return [Google::Apis::SheetsV4::AddBandingRequest]
         attr_accessor :add_banding
       
-        # Automatically resizes one or more dimensions based on the contents
-        # of the cells in that dimension.
-        # Corresponds to the JSON property `autoResizeDimensions`
-        # @return [Google::Apis::SheetsV4::AutoResizeDimensionsRequest]
-        attr_accessor :auto_resize_dimensions
-      
         # Adds new cells after the last row with data in a sheet,
         # inserting new rows into the sheet if necessary.
         # Corresponds to the JSON property `appendCells`
         # @return [Google::Apis::SheetsV4::AppendCellsRequest]
         attr_accessor :append_cells
       
+        # Automatically resizes one or more dimensions based on the contents
+        # of the cells in that dimension.
+        # Corresponds to the JSON property `autoResizeDimensions`
+        # @return [Google::Apis::SheetsV4::AutoResizeDimensionsRequest]
+        attr_accessor :auto_resize_dimensions
+      
         # Moves data from the source to the destination.
         # Corresponds to the JSON property `cutPaste`
         # @return [Google::Apis::SheetsV4::CutPasteRequest]
@@ -1725,6 +3819,12 @@ module Google
         # @return [Google::Apis::SheetsV4::UpdateChartSpecRequest]
         attr_accessor :update_chart_spec
       
+        # Updates an existing protected range with the specified
+        # protectedRangeId.
+        # Corresponds to the JSON property `updateProtectedRange`
+        # @return [Google::Apis::SheetsV4::UpdateProtectedRangeRequest]
+        attr_accessor :update_protected_range
+      
         # Adds a new sheet.
         # When a sheet is added at a given index,
         # all subsequent sheets' indexes are incremented.
@@ -1735,12 +3835,6 @@ module Google
         # @return [Google::Apis::SheetsV4::AddSheetRequest]
         attr_accessor :add_sheet
       
-        # Updates an existing protected range with the specified
-        # protectedRangeId.
-        # Corresponds to the JSON property `updateProtectedRange`
-        # @return [Google::Apis::SheetsV4::UpdateProtectedRangeRequest]
-        attr_accessor :update_protected_range
-      
         # Deletes a particular filter view.
         # Corresponds to the JSON property `deleteFilterView`
         # @return [Google::Apis::SheetsV4::DeleteFilterViewRequest]
@@ -1796,11 +3890,6 @@ module Google
         # @return [Google::Apis::SheetsV4::DeleteConditionalFormatRuleRequest]
         attr_accessor :delete_conditional_format_rule
       
-        # Clears the basic filter, if any exists on the sheet.
-        # Corresponds to the JSON property `clearBasicFilter`
-        # @return [Google::Apis::SheetsV4::ClearBasicFilterRequest]
-        attr_accessor :clear_basic_filter
-      
         # Updates all cells in the range to the values in the given Cell object.
         # Only the fields listed in the fields field are updated; others are
         # unchanged.
@@ -1816,6 +3905,11 @@ module Google
         # @return [Google::Apis::SheetsV4::RepeatCellRequest]
         attr_accessor :repeat_cell
       
+        # Clears the basic filter, if any exists on the sheet.
+        # Corresponds to the JSON property `clearBasicFilter`
+        # @return [Google::Apis::SheetsV4::ClearBasicFilterRequest]
+        attr_accessor :clear_basic_filter
+      
         # Appends rows or columns to the end of a sheet.
         # Corresponds to the JSON property `appendDimension`
         # @return [Google::Apis::SheetsV4::AppendDimensionRequest]
@@ -1832,32 +3926,94 @@ module Google
         # @return [Google::Apis::SheetsV4::InsertRangeRequest]
         attr_accessor :insert_range
       
+        # Moves one or more rows or columns.
+        # Corresponds to the JSON property `moveDimension`
+        # @return [Google::Apis::SheetsV4::MoveDimensionRequest]
+        attr_accessor :move_dimension
+      
+        # Updates properties of the supplied banded range.
+        # Corresponds to the JSON property `updateBanding`
+        # @return [Google::Apis::SheetsV4::UpdateBandingRequest]
+        attr_accessor :update_banding
+      
+        # Adds a new protected range.
+        # Corresponds to the JSON property `addProtectedRange`
+        # @return [Google::Apis::SheetsV4::AddProtectedRangeRequest]
+        attr_accessor :add_protected_range
+      
+        # Removes the named range with the given ID from the spreadsheet.
+        # Corresponds to the JSON property `deleteNamedRange`
+        # @return [Google::Apis::SheetsV4::DeleteNamedRangeRequest]
+        attr_accessor :delete_named_range
+      
+        # Duplicates the contents of a sheet.
+        # Corresponds to the JSON property `duplicateSheet`
+        # @return [Google::Apis::SheetsV4::DuplicateSheetRequest]
+        attr_accessor :duplicate_sheet
+      
+        # Deletes the requested sheet.
+        # Corresponds to the JSON property `deleteSheet`
+        # @return [Google::Apis::SheetsV4::DeleteSheetRequest]
+        attr_accessor :delete_sheet
+      
+        # Unmerges cells in the given range.
+        # Corresponds to the JSON property `unmergeCells`
+        # @return [Google::Apis::SheetsV4::UnmergeCellsRequest]
+        attr_accessor :unmerge_cells
+      
+        # Update an embedded object's position (such as a moving or resizing a
+        # chart or image).
+        # Corresponds to the JSON property `updateEmbeddedObjectPosition`
+        # @return [Google::Apis::SheetsV4::UpdateEmbeddedObjectPositionRequest]
+        attr_accessor :update_embedded_object_position
+      
+        # Updates properties of dimensions within the specified range.
+        # Corresponds to the JSON property `updateDimensionProperties`
+        # @return [Google::Apis::SheetsV4::UpdateDimensionPropertiesRequest]
+        attr_accessor :update_dimension_properties
+      
+        # Inserts data into the spreadsheet starting at the specified coordinate.
+        # Corresponds to the JSON property `pasteData`
+        # @return [Google::Apis::SheetsV4::PasteDataRequest]
+        attr_accessor :paste_data
+      
+        # Sets the basic filter associated with a sheet.
+        # Corresponds to the JSON property `setBasicFilter`
+        # @return [Google::Apis::SheetsV4::SetBasicFilterRequest]
+        attr_accessor :set_basic_filter
+      
+        # Adds a new conditional format rule at the given index.
+        # All subsequent rules' indexes are incremented.
+        # Corresponds to the JSON property `addConditionalFormatRule`
+        # @return [Google::Apis::SheetsV4::AddConditionalFormatRuleRequest]
+        attr_accessor :add_conditional_format_rule
+      
+        # Updates all cells in a range with new data.
+        # Corresponds to the JSON property `updateCells`
+        # @return [Google::Apis::SheetsV4::UpdateCellsRequest]
+        attr_accessor :update_cells
+      
+        # Adds a named range to the spreadsheet.
+        # Corresponds to the JSON property `addNamedRange`
+        # @return [Google::Apis::SheetsV4::AddNamedRangeRequest]
+        attr_accessor :add_named_range
+      
+        # Updates properties of a spreadsheet.
+        # Corresponds to the JSON property `updateSpreadsheetProperties`
+        # @return [Google::Apis::SheetsV4::UpdateSpreadsheetPropertiesRequest]
+        attr_accessor :update_spreadsheet_properties
+      
         def initialize(**args)
            update!(**args)
         end
       
         # Update properties of this object
         def update!(**args)
-          @move_dimension = args[:move_dimension] if args.key?(:move_dimension)
-          @update_banding = args[:update_banding] if args.key?(:update_banding)
-          @add_protected_range = args[:add_protected_range] if args.key?(:add_protected_range)
-          @delete_named_range = args[:delete_named_range] if args.key?(:delete_named_range)
-          @duplicate_sheet = args[:duplicate_sheet] if args.key?(:duplicate_sheet)
-          @unmerge_cells = args[:unmerge_cells] if args.key?(:unmerge_cells)
-          @delete_sheet = args[:delete_sheet] if args.key?(:delete_sheet)
-          @update_embedded_object_position = args[:update_embedded_object_position] if args.key?(:update_embedded_object_position)
-          @update_dimension_properties = args[:update_dimension_properties] if args.key?(:update_dimension_properties)
-          @paste_data = args[:paste_data] if args.key?(:paste_data)
-          @set_basic_filter = args[:set_basic_filter] if args.key?(:set_basic_filter)
-          @add_conditional_format_rule = args[:add_conditional_format_rule] if args.key?(:add_conditional_format_rule)
-          @add_named_range = args[:add_named_range] if args.key?(:add_named_range)
-          @update_cells = args[:update_cells] if args.key?(:update_cells)
-          @update_spreadsheet_properties = args[:update_spreadsheet_properties] if args.key?(:update_spreadsheet_properties)
           @delete_embedded_object = args[:delete_embedded_object] if args.key?(:delete_embedded_object)
           @update_filter_view = args[:update_filter_view] if args.key?(:update_filter_view)
           @add_banding = args[:add_banding] if args.key?(:add_banding)
-          @auto_resize_dimensions = args[:auto_resize_dimensions] if args.key?(:auto_resize_dimensions)
           @append_cells = args[:append_cells] if args.key?(:append_cells)
+          @auto_resize_dimensions = args[:auto_resize_dimensions] if args.key?(:auto_resize_dimensions)
           @cut_paste = args[:cut_paste] if args.key?(:cut_paste)
           @merge_cells = args[:merge_cells] if args.key?(:merge_cells)
           @update_named_range = args[:update_named_range] if args.key?(:update_named_range)
@@ -1871,8 +4027,8 @@ module Google
           @find_replace = args[:find_replace] if args.key?(:find_replace)
           @text_to_columns = args[:text_to_columns] if args.key?(:text_to_columns)
           @update_chart_spec = args[:update_chart_spec] if args.key?(:update_chart_spec)
-          @add_sheet = args[:add_sheet] if args.key?(:add_sheet)
           @update_protected_range = args[:update_protected_range] if args.key?(:update_protected_range)
+          @add_sheet = args[:add_sheet] if args.key?(:add_sheet)
           @delete_filter_view = args[:delete_filter_view] if args.key?(:delete_filter_view)
           @copy_paste = args[:copy_paste] if args.key?(:copy_paste)
           @insert_dimension = args[:insert_dimension] if args.key?(:insert_dimension)
@@ -1882,41 +4038,26 @@ module Google
           @set_data_validation = args[:set_data_validation] if args.key?(:set_data_validation)
           @update_borders = args[:update_borders] if args.key?(:update_borders)
           @delete_conditional_format_rule = args[:delete_conditional_format_rule] if args.key?(:delete_conditional_format_rule)
-          @clear_basic_filter = args[:clear_basic_filter] if args.key?(:clear_basic_filter)
           @repeat_cell = args[:repeat_cell] if args.key?(:repeat_cell)
+          @clear_basic_filter = args[:clear_basic_filter] if args.key?(:clear_basic_filter)
           @append_dimension = args[:append_dimension] if args.key?(:append_dimension)
           @update_conditional_format_rule = args[:update_conditional_format_rule] if args.key?(:update_conditional_format_rule)
           @insert_range = args[:insert_range] if args.key?(:insert_range)
-        end
-      end
-      
-      # A condition that can evaluate to true or false.
-      # BooleanConditions are used by conditional formatting,
-      # data validation, and the criteria in filters.
-      class BooleanCondition
-        include Google::Apis::Core::Hashable
-      
-        # The type of condition.
-        # Corresponds to the JSON property `type`
-        # @return [String]
-        attr_accessor :type
-      
-        # The values of the condition. The number of supported values depends
-        # on the condition type.  Some support zero values,
-        # others one or two values,
-        # and ConditionType.ONE_OF_LIST supports an arbitrary number of values.
-        # Corresponds to the JSON property `values`
-        # @return [Array]
-        attr_accessor :values
-      
-        def initialize(**args)
-           update!(**args)
-        end
-      
-        # Update properties of this object
-        def update!(**args)
-          @type = args[:type] if args.key?(:type)
-          @values = args[:values] if args.key?(:values)
+          @move_dimension = args[:move_dimension] if args.key?(:move_dimension)
+          @update_banding = args[:update_banding] if args.key?(:update_banding)
+          @add_protected_range = args[:add_protected_range] if args.key?(:add_protected_range)
+          @delete_named_range = args[:delete_named_range] if args.key?(:delete_named_range)
+          @duplicate_sheet = args[:duplicate_sheet] if args.key?(:duplicate_sheet)
+          @delete_sheet = args[:delete_sheet] if args.key?(:delete_sheet)
+          @unmerge_cells = args[:unmerge_cells] if args.key?(:unmerge_cells)
+          @update_embedded_object_position = args[:update_embedded_object_position] if args.key?(:update_embedded_object_position)
+          @update_dimension_properties = args[:update_dimension_properties] if args.key?(:update_dimension_properties)
+          @paste_data = args[:paste_data] if args.key?(:paste_data)
+          @set_basic_filter = args[:set_basic_filter] if args.key?(:set_basic_filter)
+          @add_conditional_format_rule = args[:add_conditional_format_rule] if args.key?(:add_conditional_format_rule)
+          @update_cells = args[:update_cells] if args.key?(:update_cells)
+          @add_named_range = args[:add_named_range] if args.key?(:add_named_range)
+          @update_spreadsheet_properties = args[:update_spreadsheet_properties] if args.key?(:update_spreadsheet_properties)
         end
       end
       
@@ -1989,6 +4130,20 @@ module Google
       class BasicChartSpec
         include Google::Apis::Core::Hashable
       
+        # The number of rows or columns in the data that are "headers".
+        # If not set, Google Sheets will guess how many rows are headers based
+        # on the data.
+        # (Note that BasicChartAxis.title may override the axis title
+        # inferred from the header values.)
+        # Corresponds to the JSON property `headerCount`
+        # @return [Fixnum]
+        attr_accessor :header_count
+      
+        # The axis on the chart.
+        # Corresponds to the JSON property `axis`
+        # @return [Array]
+        attr_accessor :axis
+      
         # The type of the chart.
         # Corresponds to the JSON property `chartType`
         # @return [String]
@@ -2010,32 +4165,18 @@ module Google
         # @return [Array]
         attr_accessor :domains
       
-        # The number of rows or columns in the data that are "headers".
-        # If not set, Google Sheets will guess how many rows are headers based
-        # on the data.
-        # (Note that BasicChartAxis.title may override the axis title
-        # inferred from the header values.)
-        # Corresponds to the JSON property `headerCount`
-        # @return [Fixnum]
-        attr_accessor :header_count
-      
-        # The axis on the chart.
-        # Corresponds to the JSON property `axis`
-        # @return [Array]
-        attr_accessor :axis
-      
         def initialize(**args)
            update!(**args)
         end
       
         # Update properties of this object
         def update!(**args)
+          @header_count = args[:header_count] if args.key?(:header_count)
+          @axis = args[:axis] if args.key?(:axis)
           @chart_type = args[:chart_type] if args.key?(:chart_type)
           @series = args[:series] if args.key?(:series)
           @legend_position = args[:legend_position] if args.key?(:legend_position)
           @domains = args[:domains] if args.key?(:domains)
-          @header_count = args[:header_count] if args.key?(:header_count)
-          @axis = args[:axis] if args.key?(:axis)
         end
       end
       
@@ -2090,21 +4231,18 @@ module Google
       class CellData
         include Google::Apis::Core::Hashable
       
-        # A data validation rule.
-        # Corresponds to the JSON property `dataValidation`
-        # @return [Google::Apis::SheetsV4::DataValidationRule]
-        attr_accessor :data_validation
-      
-        # The kinds of value that a cell in a spreadsheet can have.
-        # Corresponds to the JSON property `userEnteredValue`
-        # @return [Google::Apis::SheetsV4::ExtendedValue]
-        attr_accessor :user_entered_value
-      
         # The kinds of value that a cell in a spreadsheet can have.
         # Corresponds to the JSON property `effectiveValue`
         # @return [Google::Apis::SheetsV4::ExtendedValue]
         attr_accessor :effective_value
       
+        # The formatted value of the cell.
+        # This is the value as it's shown to the user.
+        # This field is read-only.
+        # Corresponds to the JSON property `formattedValue`
+        # @return [String]
+        attr_accessor :formatted_value
+      
         # Runs of rich text applied to subsections of the cell.  Runs are only valid
         # on user entered strings, not formulas, bools, or numbers.
         # Runs start at specific indexes in the text and continue until the next
@@ -2117,13 +4255,6 @@ module Google
         # @return [Array]
         attr_accessor :text_format_runs
       
-        # The formatted value of the cell.
-        # This is the value as it's shown to the user.
-        # This field is read-only.
-        # Corresponds to the JSON property `formattedValue`
-        # @return [String]
-        attr_accessor :formatted_value
-      
         # A hyperlink this cell points to, if any.
         # This field is read-only.  (To set it, use a `=HYPERLINK` formula.)
         # Corresponds to the JSON property `hyperlink`
@@ -2140,15 +4271,25 @@ module Google
         # @return [Google::Apis::SheetsV4::CellFormat]
         attr_accessor :user_entered_format
       
+        # Any note on the cell.
+        # Corresponds to the JSON property `note`
+        # @return [String]
+        attr_accessor :note
+      
         # The format of a cell.
         # Corresponds to the JSON property `effectiveFormat`
         # @return [Google::Apis::SheetsV4::CellFormat]
         attr_accessor :effective_format
       
-        # Any note on the cell.
-        # Corresponds to the JSON property `note`
-        # @return [String]
-        attr_accessor :note
+        # The kinds of value that a cell in a spreadsheet can have.
+        # Corresponds to the JSON property `userEnteredValue`
+        # @return [Google::Apis::SheetsV4::ExtendedValue]
+        attr_accessor :user_entered_value
+      
+        # A data validation rule.
+        # Corresponds to the JSON property `dataValidation`
+        # @return [Google::Apis::SheetsV4::DataValidationRule]
+        attr_accessor :data_validation
       
         def initialize(**args)
            update!(**args)
@@ -2156,16 +4297,16 @@ module Google
       
         # Update properties of this object
         def update!(**args)
-          @data_validation = args[:data_validation] if args.key?(:data_validation)
-          @user_entered_value = args[:user_entered_value] if args.key?(:user_entered_value)
           @effective_value = args[:effective_value] if args.key?(:effective_value)
-          @text_format_runs = args[:text_format_runs] if args.key?(:text_format_runs)
           @formatted_value = args[:formatted_value] if args.key?(:formatted_value)
+          @text_format_runs = args[:text_format_runs] if args.key?(:text_format_runs)
           @hyperlink = args[:hyperlink] if args.key?(:hyperlink)
           @pivot_table = args[:pivot_table] if args.key?(:pivot_table)
           @user_entered_format = args[:user_entered_format] if args.key?(:user_entered_format)
-          @effective_format = args[:effective_format] if args.key?(:effective_format)
           @note = args[:note] if args.key?(:note)
+          @effective_format = args[:effective_format] if args.key?(:effective_format)
+          @user_entered_value = args[:user_entered_value] if args.key?(:user_entered_value)
+          @data_validation = args[:data_validation] if args.key?(:data_validation)
         end
       end
       
@@ -2212,41 +4353,6 @@ module Google
         end
       end
       
-      # An axis of the chart.
-      # A chart may not have more than one axis per
-      # axis position.
-      class BasicChartAxis
-        include Google::Apis::Core::Hashable
-      
-        # The format of a run of text in a cell.
-        # Absent values indicate that the field isn't specified.
-        # Corresponds to the JSON property `format`
-        # @return [Google::Apis::SheetsV4::TextFormat]
-        attr_accessor :format
-      
-        # The position of this axis.
-        # Corresponds to the JSON property `position`
-        # @return [String]
-        attr_accessor :position
-      
-        # The title of this axis. If set, this overrides any title inferred
-        # from headers of the data.
-        # Corresponds to the JSON property `title`
-        # @return [String]
-        attr_accessor :title
-      
-        def initialize(**args)
-           update!(**args)
-        end
-      
-        # Update properties of this object
-        def update!(**args)
-          @format = args[:format] if args.key?(:format)
-          @position = args[:position] if args.key?(:position)
-          @title = args[:title] if args.key?(:title)
-        end
-      end
-      
       # The amount of padding around the cell, in pixels.
       # When updating padding, every field must be specified.
       class Padding
@@ -2285,6 +4391,41 @@ module Google
         end
       end
       
+      # An axis of the chart.
+      # A chart may not have more than one axis per
+      # axis position.
+      class BasicChartAxis
+        include Google::Apis::Core::Hashable
+      
+        # The position of this axis.
+        # Corresponds to the JSON property `position`
+        # @return [String]
+        attr_accessor :position
+      
+        # The title of this axis. If set, this overrides any title inferred
+        # from headers of the data.
+        # Corresponds to the JSON property `title`
+        # @return [String]
+        attr_accessor :title
+      
+        # The format of a run of text in a cell.
+        # Absent values indicate that the field isn't specified.
+        # Corresponds to the JSON property `format`
+        # @return [Google::Apis::SheetsV4::TextFormat]
+        attr_accessor :format
+      
+        def initialize(**args)
+           update!(**args)
+        end
+      
+        # Update properties of this object
+        def update!(**args)
+          @position = args[:position] if args.key?(:position)
+          @title = args[:title] if args.key?(:title)
+          @format = args[:format] if args.key?(:format)
+        end
+      end
+      
       # Deletes the dimensions from the sheet.
       class DeleteDimensionRequest
         include Google::Apis::Core::Hashable
@@ -2358,17 +4499,6 @@ module Google
       class BatchUpdateValuesResponse
         include Google::Apis::Core::Hashable
       
-        # The total number of sheets where at least one cell in the sheet was
-        # updated.
-        # Corresponds to the JSON property `totalUpdatedSheets`
-        # @return [Fixnum]
-        attr_accessor :total_updated_sheets
-      
-        # The total number of cells updated.
-        # Corresponds to the JSON property `totalUpdatedCells`
-        # @return [Fixnum]
-        attr_accessor :total_updated_cells
-      
         # The total number of columns where at least one cell in the column was
         # updated.
         # Corresponds to the JSON property `totalUpdatedColumns`
@@ -2391,18 +4521,29 @@ module Google
         # @return [Array]
         attr_accessor :responses
       
+        # The total number of sheets where at least one cell in the sheet was
+        # updated.
+        # Corresponds to the JSON property `totalUpdatedSheets`
+        # @return [Fixnum]
+        attr_accessor :total_updated_sheets
+      
+        # The total number of cells updated.
+        # Corresponds to the JSON property `totalUpdatedCells`
+        # @return [Fixnum]
+        attr_accessor :total_updated_cells
+      
         def initialize(**args)
            update!(**args)
         end
       
         # Update properties of this object
         def update!(**args)
-          @total_updated_sheets = args[:total_updated_sheets] if args.key?(:total_updated_sheets)
-          @total_updated_cells = args[:total_updated_cells] if args.key?(:total_updated_cells)
           @total_updated_columns = args[:total_updated_columns] if args.key?(:total_updated_columns)
           @spreadsheet_id = args[:spreadsheet_id] if args.key?(:spreadsheet_id)
           @total_updated_rows = args[:total_updated_rows] if args.key?(:total_updated_rows)
           @responses = args[:responses] if args.key?(:responses)
+          @total_updated_sheets = args[:total_updated_sheets] if args.key?(:total_updated_sheets)
+          @total_updated_cells = args[:total_updated_cells] if args.key?(:total_updated_cells)
         end
       end
       
@@ -2457,11 +4598,6 @@ module Google
       class MergeCellsRequest
         include Google::Apis::Core::Hashable
       
-        # How the cells should be merged.
-        # Corresponds to the JSON property `mergeType`
-        # @return [String]
-        attr_accessor :merge_type
-      
         # A range on a sheet.
         # All indexes are zero-based.
         # Indexes are half open, e.g the start index is inclusive
@@ -2488,14 +4624,19 @@ module Google
         # @return [Google::Apis::SheetsV4::GridRange]
         attr_accessor :range
       
+        # How the cells should be merged.
+        # Corresponds to the JSON property `mergeType`
+        # @return [String]
+        attr_accessor :merge_type
+      
         def initialize(**args)
            update!(**args)
         end
       
         # Update properties of this object
         def update!(**args)
-          @merge_type = args[:merge_type] if args.key?(:merge_type)
           @range = args[:range] if args.key?(:range)
+          @merge_type = args[:merge_type] if args.key?(:merge_type)
         end
       end
       
@@ -2575,11 +4716,36 @@ module Google
         end
       end
       
+      # Clears the basic filter, if any exists on the sheet.
+      class ClearBasicFilterRequest
+        include Google::Apis::Core::Hashable
+      
+        # The sheet ID on which the basic filter should be cleared.
+        # Corresponds to the JSON property `sheetId`
+        # @return [Fixnum]
+        attr_accessor :sheet_id
+      
+        def initialize(**args)
+           update!(**args)
+        end
+      
+        # Update properties of this object
+        def update!(**args)
+          @sheet_id = args[:sheet_id] if args.key?(:sheet_id)
+        end
+      end
+      
       # Splits a column of text into multiple columns,
       # based on a delimiter in each cell.
       class TextToColumnsRequest
         include Google::Apis::Core::Hashable
       
+        # The delimiter to use. Used only if delimiterType is
+        # CUSTOM.
+        # Corresponds to the JSON property `delimiter`
+        # @return [String]
+        attr_accessor :delimiter
+      
         # A range on a sheet.
         # All indexes are zero-based.
         # Indexes are half open, e.g the start index is inclusive
@@ -2611,32 +4777,26 @@ module Google
         # @return [String]
         attr_accessor :delimiter_type
       
-        # The delimiter to use. Used only if delimiterType is
-        # CUSTOM.
-        # Corresponds to the JSON property `delimiter`
-        # @return [String]
-        attr_accessor :delimiter
-      
         def initialize(**args)
            update!(**args)
         end
       
         # Update properties of this object
         def update!(**args)
+          @delimiter = args[:delimiter] if args.key?(:delimiter)
           @source = args[:source] if args.key?(:source)
           @delimiter_type = args[:delimiter_type] if args.key?(:delimiter_type)
-          @delimiter = args[:delimiter] if args.key?(:delimiter)
         end
       end
       
-      # Clears the basic filter, if any exists on the sheet.
-      class ClearBasicFilterRequest
+      # Removes the banded range with the given ID from the spreadsheet.
+      class DeleteBandingRequest
         include Google::Apis::Core::Hashable
       
-        # The sheet ID on which the basic filter should be cleared.
-        # Corresponds to the JSON property `sheetId`
+        # The ID of the banded range to delete.
+        # Corresponds to the JSON property `bandedRangeId`
         # @return [Fixnum]
-        attr_accessor :sheet_id
+        attr_accessor :banded_range_id
       
         def initialize(**args)
            update!(**args)
@@ -2644,7 +4804,7 @@ module Google
       
         # Update properties of this object
         def update!(**args)
-          @sheet_id = args[:sheet_id] if args.key?(:sheet_id)
+          @banded_range_id = args[:banded_range_id] if args.key?(:banded_range_id)
         end
       end
       
@@ -2680,34 +4840,10 @@ module Google
         end
       end
       
-      # Removes the banded range with the given ID from the spreadsheet.
-      class DeleteBandingRequest
-        include Google::Apis::Core::Hashable
-      
-        # The ID of the banded range to delete.
-        # Corresponds to the JSON property `bandedRangeId`
-        # @return [Fixnum]
-        attr_accessor :banded_range_id
-      
-        def initialize(**args)
-           update!(**args)
-        end
-      
-        # Update properties of this object
-        def update!(**args)
-          @banded_range_id = args[:banded_range_id] if args.key?(:banded_range_id)
-        end
-      end
-      
       # The response when updating a range of values in a spreadsheet.
       class AppendValuesResponse
         include Google::Apis::Core::Hashable
       
-        # The response when updating a range of values in a spreadsheet.
-        # Corresponds to the JSON property `updates`
-        # @return [Google::Apis::SheetsV4::UpdateValuesResponse]
-        attr_accessor :updates
-      
         # The range (in A1 notation) of the table that values are being appended to
         # (before the values were appended).
         # Empty if no table was found.
@@ -2720,15 +4856,20 @@ module Google
         # @return [String]
         attr_accessor :spreadsheet_id
       
+        # The response when updating a range of values in a spreadsheet.
+        # Corresponds to the JSON property `updates`
+        # @return [Google::Apis::SheetsV4::UpdateValuesResponse]
+        attr_accessor :updates
+      
         def initialize(**args)
            update!(**args)
         end
       
         # Update properties of this object
         def update!(**args)
-          @updates = args[:updates] if args.key?(:updates)
           @table_range = args[:table_range] if args.key?(:table_range)
           @spreadsheet_id = args[:spreadsheet_id] if args.key?(:spreadsheet_id)
+          @updates = args[:updates] if args.key?(:updates)
         end
       end
       
@@ -2906,29 +5047,6 @@ module Google
       class SheetProperties
         include Google::Apis::Core::Hashable
       
-        # True if the sheet is an RTL sheet instead of an LTR sheet.
-        # Corresponds to the JSON property `rightToLeft`
-        # @return [Boolean]
-        attr_accessor :right_to_left
-        alias_method :right_to_left?, :right_to_left
-      
-        # True if the sheet is hidden in the UI, false if it's visible.
-        # Corresponds to the JSON property `hidden`
-        # @return [Boolean]
-        attr_accessor :hidden
-        alias_method :hidden?, :hidden
-      
-        # Properties of a grid.
-        # Corresponds to the JSON property `gridProperties`
-        # @return [Google::Apis::SheetsV4::GridProperties]
-        attr_accessor :grid_properties
-      
-        # The type of sheet. Defaults to GRID.
-        # This field cannot be changed once set.
-        # Corresponds to the JSON property `sheetType`
-        # @return [String]
-        attr_accessor :sheet_type
-      
         # The name of the sheet.
         # Corresponds to the JSON property `title`
         # @return [String]
@@ -3057,20 +5175,43 @@ module Google
         # @return [Fixnum]
         attr_accessor :sheet_id
       
+        # True if the sheet is an RTL sheet instead of an LTR sheet.
+        # Corresponds to the JSON property `rightToLeft`
+        # @return [Boolean]
+        attr_accessor :right_to_left
+        alias_method :right_to_left?, :right_to_left
+      
+        # True if the sheet is hidden in the UI, false if it's visible.
+        # Corresponds to the JSON property `hidden`
+        # @return [Boolean]
+        attr_accessor :hidden
+        alias_method :hidden?, :hidden
+      
+        # Properties of a grid.
+        # Corresponds to the JSON property `gridProperties`
+        # @return [Google::Apis::SheetsV4::GridProperties]
+        attr_accessor :grid_properties
+      
+        # The type of sheet. Defaults to GRID.
+        # This field cannot be changed once set.
+        # Corresponds to the JSON property `sheetType`
+        # @return [String]
+        attr_accessor :sheet_type
+      
         def initialize(**args)
            update!(**args)
         end
       
         # Update properties of this object
         def update!(**args)
-          @right_to_left = args[:right_to_left] if args.key?(:right_to_left)
-          @hidden = args[:hidden] if args.key?(:hidden)
-          @grid_properties = args[:grid_properties] if args.key?(:grid_properties)
-          @sheet_type = args[:sheet_type] if args.key?(:sheet_type)
           @title = args[:title] if args.key?(:title)
           @tab_color = args[:tab_color] if args.key?(:tab_color)
           @index = args[:index] if args.key?(:index)
           @sheet_id = args[:sheet_id] if args.key?(:sheet_id)
+          @right_to_left = args[:right_to_left] if args.key?(:right_to_left)
+          @hidden = args[:hidden] if args.key?(:hidden)
+          @grid_properties = args[:grid_properties] if args.key?(:grid_properties)
+          @sheet_type = args[:sheet_type] if args.key?(:sheet_type)
         end
       end
       
@@ -3078,11 +5219,6 @@ module Google
       class UpdateDimensionPropertiesRequest
         include Google::Apis::Core::Hashable
       
-        # Properties about a dimension.
-        # Corresponds to the JSON property `properties`
-        # @return [Google::Apis::SheetsV4::DimensionProperties]
-        attr_accessor :properties
-      
         # A range along a single dimension on a sheet.
         # All indexes are zero-based.
         # Indexes are half open: the start index is inclusive
@@ -3099,15 +5235,20 @@ module Google
         # @return [String]
         attr_accessor :fields
       
+        # Properties about a dimension.
+        # Corresponds to the JSON property `properties`
+        # @return [Google::Apis::SheetsV4::DimensionProperties]
+        attr_accessor :properties
+      
         def initialize(**args)
            update!(**args)
         end
       
         # Update properties of this object
         def update!(**args)
-          @properties = args[:properties] if args.key?(:properties)
           @range = args[:range] if args.key?(:range)
           @fields = args[:fields] if args.key?(:fields)
+          @properties = args[:properties] if args.key?(:properties)
         end
       end
       
@@ -3115,6 +5256,11 @@ module Google
       class SourceAndDestination
         include Google::Apis::Core::Hashable
       
+        # The dimension that data should be filled into.
+        # Corresponds to the JSON property `dimension`
+        # @return [String]
+        attr_accessor :dimension
+      
         # The number of rows or columns that data should be filled into.
         # Positive numbers expand beyond the last row or last column
         # of the source.  Negative numbers expand before the first row
@@ -3149,20 +5295,15 @@ module Google
         # @return [Google::Apis::SheetsV4::GridRange]
         attr_accessor :source
       
-        # The dimension that data should be filled into.
-        # Corresponds to the JSON property `dimension`
-        # @return [String]
-        attr_accessor :dimension
-      
         def initialize(**args)
            update!(**args)
         end
       
         # Update properties of this object
         def update!(**args)
+          @dimension = args[:dimension] if args.key?(:dimension)
           @fill_length = args[:fill_length] if args.key?(:fill_length)
           @source = args[:source] if args.key?(:source)
-          @dimension = args[:dimension] if args.key?(:dimension)
         end
       end
       
@@ -3170,6 +5311,30 @@ module Google
       class FilterView
         include Google::Apis::Core::Hashable
       
+        # The named range this filter view is backed by, if any.
+        # When writing, only one of range or named_range_id
+        # may be set.
+        # Corresponds to the JSON property `namedRangeId`
+        # @return [String]
+        attr_accessor :named_range_id
+      
+        # The ID of the filter view.
+        # Corresponds to the JSON property `filterViewId`
+        # @return [Fixnum]
+        attr_accessor :filter_view_id
+      
+        # The criteria for showing/hiding values per column.
+        # The map's key is the column index, and the value is the criteria for
+        # that column.
+        # Corresponds to the JSON property `criteria`
+        # @return [Hash]
+        attr_accessor :criteria
+      
+        # The name of the filter view.
+        # Corresponds to the JSON property `title`
+        # @return [String]
+        attr_accessor :title
+      
         # A range on a sheet.
         # All indexes are zero-based.
         # Indexes are half open, e.g the start index is inclusive
@@ -3196,48 +5361,24 @@ module Google
         # @return [Google::Apis::SheetsV4::GridRange]
         attr_accessor :range
       
-        # The criteria for showing/hiding values per column.
-        # The map's key is the column index, and the value is the criteria for
-        # that column.
-        # Corresponds to the JSON property `criteria`
-        # @return [Hash]
-        attr_accessor :criteria
-      
-        # The name of the filter view.
-        # Corresponds to the JSON property `title`
-        # @return [String]
-        attr_accessor :title
-      
         # The sort order per column. Later specifications are used when values
         # are equal in the earlier specifications.
         # Corresponds to the JSON property `sortSpecs`
         # @return [Array]
         attr_accessor :sort_specs
       
-        # The named range this filter view is backed by, if any.
-        # When writing, only one of range or named_range_id
-        # may be set.
-        # Corresponds to the JSON property `namedRangeId`
-        # @return [String]
-        attr_accessor :named_range_id
-      
-        # The ID of the filter view.
-        # Corresponds to the JSON property `filterViewId`
-        # @return [Fixnum]
-        attr_accessor :filter_view_id
-      
         def initialize(**args)
            update!(**args)
         end
       
         # Update properties of this object
         def update!(**args)
-          @range = args[:range] if args.key?(:range)
-          @criteria = args[:criteria] if args.key?(:criteria)
-          @title = args[:title] if args.key?(:title)
-          @sort_specs = args[:sort_specs] if args.key?(:sort_specs)
           @named_range_id = args[:named_range_id] if args.key?(:named_range_id)
           @filter_view_id = args[:filter_view_id] if args.key?(:filter_view_id)
+          @criteria = args[:criteria] if args.key?(:criteria)
+          @title = args[:title] if args.key?(:title)
+          @range = args[:range] if args.key?(:range)
+          @sort_specs = args[:sort_specs] if args.key?(:sort_specs)
         end
       end
       
@@ -3255,109 +5396,6 @@ module Google
       class BandingProperties
         include Google::Apis::Core::Hashable
       
-        # Represents a color in the RGBA color space. This representation is designed
-        # for simplicity of conversion to/from color representations in various
-        # languages over compactness; for example, the fields of this representation
-        # can be trivially provided to the constructor of "java.awt.Color" in Java; it
-        # can also be trivially provided to UIColor's "+colorWithRed:green:blue:alpha"
-        # method in iOS; and, with just a little work, it can be easily formatted into
-        # a CSS "rgba()" string in JavaScript, as well. Here are some examples:
-        # Example (Java):
-        # import com.google.type.Color;
-        # // ...
-        # public static java.awt.Color fromProto(Color protocolor) `
-        # float alpha = protocolor.hasAlpha()
-        # ? protocolor.getAlpha().getValue()
-        # : 1.0;
-        # return new java.awt.Color(
-        # protocolor.getRed(),
-        # protocolor.getGreen(),
-        # protocolor.getBlue(),
-        # alpha);
-        # `
-        # public static Color toProto(java.awt.Color color) `
-        # float red = (float) color.getRed();
-        # float green = (float) color.getGreen();
-        # float blue = (float) color.getBlue();
-        # float denominator = 255.0;
-        # Color.Builder resultBuilder =
-        # Color
-        # .newBuilder()
-        # .setRed(red / denominator)
-        # .setGreen(green / denominator)
-        # .setBlue(blue / denominator);
-        # int alpha = color.getAlpha();
-        # if (alpha != 255) `
-        # result.setAlpha(
-        # FloatValue
-        # .newBuilder()
-        # .setValue(((float) alpha) / denominator)
-        # .build());
-        # `
-        # return resultBuilder.build();
-        # `
-        # // ...
-        # Example (iOS / Obj-C):
-        # // ...
-        # static UIColor* fromProto(Color* protocolor) `
-        # float red = [protocolor red];
-        # float green = [protocolor green];
-        # float blue = [protocolor blue];
-        # FloatValue* alpha_wrapper = [protocolor alpha];
-        # float alpha = 1.0;
-        # if (alpha_wrapper != nil) `
-        # alpha = [alpha_wrapper value];
-        # `
-        # return [UIColor colorWithRed:red green:green blue:blue alpha:alpha];
-        # `
-        # static Color* toProto(UIColor* color) `
-        # CGFloat red, green, blue, alpha;
-        # if (![color getRed:&red green:&green blue:&blue alpha:&alpha]) `
-        # return nil;
-        # `
-        # Color* result = [Color alloc] init];
-        # [result setRed:red];
-        # [result setGreen:green];
-        # [result setBlue:blue];
-        # if (alpha <= 0.9999) `
-        # [result setAlpha:floatWrapperWithValue(alpha)];
-        # `
-        # [result autorelease];
-        # return result;
-        # `
-        # // ...
-        # Example (JavaScript):
-        # // ...
-        # var protoToCssColor = function(rgb_color) `
-        # var redFrac = rgb_color.red || 0.0;
-        # var greenFrac = rgb_color.green || 0.0;
-        # var blueFrac = rgb_color.blue || 0.0;
-        # var red = Math.floor(redFrac * 255);
-        # var green = Math.floor(greenFrac * 255);
-        # var blue = Math.floor(blueFrac * 255);
-        # if (!('alpha' in rgb_color)) `
-        # return rgbToCssColor_(red, green, blue);
-        # `
-        # var alphaFrac = rgb_color.alpha.value || 0.0;
-        # var rgbParams = [red, green, blue].join(',');
-        # return ['rgba(', rgbParams, ',', alphaFrac, ')'].join('');
-        # `;
-        # var rgbToCssColor_ = function(red, green, blue) `
-        # var rgbNumber = new Number((red << 16) | (green << 8) | blue);
-        # var hexString = rgbNumber.toString(16);
-        # var missingZeros = 6 - hexString.length;
-        # var resultBuilder = ['#'];
-        # for (var i = 0; i < missingZeros; i++) `
-        # resultBuilder.push('0');
-        # `
-        # resultBuilder.push(hexString);
-        # return resultBuilder.join('');
-        # `;
-        # // ...
-        # Corresponds to the JSON property `firstBandColor`
-        # @return [Google::Apis::SheetsV4::Color]
-        attr_accessor :first_band_color
-      
         # Represents a color in the RGBA color space. This representation is designed
         # for simplicity of conversion to/from color representations in various
         # languages over compactness; for example, the fields of this representation
@@ -3667,35 +5705,119 @@ module Google
         # @return [Google::Apis::SheetsV4::Color]
         attr_accessor :header_color
       
+        # Represents a color in the RGBA color space. This representation is designed
+        # for simplicity of conversion to/from color representations in various
+        # languages over compactness; for example, the fields of this representation
+        # can be trivially provided to the constructor of "java.awt.Color" in Java; it
+        # can also be trivially provided to UIColor's "+colorWithRed:green:blue:alpha"
+        # method in iOS; and, with just a little work, it can be easily formatted into
+        # a CSS "rgba()" string in JavaScript, as well. Here are some examples:
+        # Example (Java):
+        # import com.google.type.Color;
+        # // ...
+        # public static java.awt.Color fromProto(Color protocolor) `
+        # float alpha = protocolor.hasAlpha()
+        # ? protocolor.getAlpha().getValue()
+        # : 1.0;
+        # return new java.awt.Color(
+        # protocolor.getRed(),
+        # protocolor.getGreen(),
+        # protocolor.getBlue(),
+        # alpha);
+        # `
+        # public static Color toProto(java.awt.Color color) `
+        # float red = (float) color.getRed();
+        # float green = (float) color.getGreen();
+        # float blue = (float) color.getBlue();
+        # float denominator = 255.0;
+        # Color.Builder resultBuilder =
+        # Color
+        # .newBuilder()
+        # .setRed(red / denominator)
+        # .setGreen(green / denominator)
+        # .setBlue(blue / denominator);
+        # int alpha = color.getAlpha();
+        # if (alpha != 255) `
+        # result.setAlpha(
+        # FloatValue
+        # .newBuilder()
+        # .setValue(((float) alpha) / denominator)
+        # .build());
+        # `
+        # return resultBuilder.build();
+        # `
+        # // ...
+        # Example (iOS / Obj-C):
+        # // ...
+        # static UIColor* fromProto(Color* protocolor) `
+        # float red = [protocolor red];
+        # float green = [protocolor green];
+        # float blue = [protocolor blue];
+        # FloatValue* alpha_wrapper = [protocolor alpha];
+        # float alpha = 1.0;
+        # if (alpha_wrapper != nil) `
+        # alpha = [alpha_wrapper value];
+        # `
+        # return [UIColor colorWithRed:red green:green blue:blue alpha:alpha];
+        # `
+        # static Color* toProto(UIColor* color) `
+        # CGFloat red, green, blue, alpha;
+        # if (![color getRed:&red green:&green blue:&blue alpha:&alpha]) `
+        # return nil;
+        # `
+        # Color* result = [Color alloc] init];
+        # [result setRed:red];
+        # [result setGreen:green];
+        # [result setBlue:blue];
+        # if (alpha <= 0.9999) `
+        # [result setAlpha:floatWrapperWithValue(alpha)];
+        # `
+        # [result autorelease];
+        # return result;
+        # `
+        # // ...
+        # Example (JavaScript):
+        # // ...
+        # var protoToCssColor = function(rgb_color) `
+        # var redFrac = rgb_color.red || 0.0;
+        # var greenFrac = rgb_color.green || 0.0;
+        # var blueFrac = rgb_color.blue || 0.0;
+        # var red = Math.floor(redFrac * 255);
+        # var green = Math.floor(greenFrac * 255);
+        # var blue = Math.floor(blueFrac * 255);
+        # if (!('alpha' in rgb_color)) `
+        # return rgbToCssColor_(red, green, blue);
+        # `
+        # var alphaFrac = rgb_color.alpha.value || 0.0;
+        # var rgbParams = [red, green, blue].join(',');
+        # return ['rgba(', rgbParams, ',', alphaFrac, ')'].join('');
+        # `;
+        # var rgbToCssColor_ = function(red, green, blue) `
+        # var rgbNumber = new Number((red << 16) | (green << 8) | blue);
+        # var hexString = rgbNumber.toString(16);
+        # var missingZeros = 6 - hexString.length;
+        # var resultBuilder = ['#'];
+        # for (var i = 0; i < missingZeros; i++) `
+        # resultBuilder.push('0');
+        # `
+        # resultBuilder.push(hexString);
+        # return resultBuilder.join('');
+        # `;
+        # // ...
+        # Corresponds to the JSON property `firstBandColor`
+        # @return [Google::Apis::SheetsV4::Color]
+        attr_accessor :first_band_color
+      
         def initialize(**args)
            update!(**args)
         end
       
         # Update properties of this object
         def update!(**args)
-          @first_band_color = args[:first_band_color] if args.key?(:first_band_color)
           @second_band_color = args[:second_band_color] if args.key?(:second_band_color)
           @footer_color = args[:footer_color] if args.key?(:footer_color)
           @header_color = args[:header_color] if args.key?(:header_color)
-        end
-      end
-      
-      # The result of adding a new protected range.
-      class AddProtectedRangeResponse
-        include Google::Apis::Core::Hashable
-      
-        # A protected range.
-        # Corresponds to the JSON property `protectedRange`
-        # @return [Google::Apis::SheetsV4::ProtectedRange]
-        attr_accessor :protected_range
-      
-        def initialize(**args)
-           update!(**args)
-        end
-      
-        # Update properties of this object
-        def update!(**args)
-          @protected_range = args[:protected_range] if args.key?(:protected_range)
+          @first_band_color = args[:first_band_color] if args.key?(:first_band_color)
         end
       end
       
@@ -3754,10 +5876,39 @@ module Google
         end
       end
       
+      # The result of adding a new protected range.
+      class AddProtectedRangeResponse
+        include Google::Apis::Core::Hashable
+      
+        # A protected range.
+        # Corresponds to the JSON property `protectedRange`
+        # @return [Google::Apis::SheetsV4::ProtectedRange]
+        attr_accessor :protected_range
+      
+        def initialize(**args)
+           update!(**args)
+        end
+      
+        # Update properties of this object
+        def update!(**args)
+          @protected_range = args[:protected_range] if args.key?(:protected_range)
+        end
+      end
+      
       # The response when updating a range of values in a spreadsheet.
       class UpdateValuesResponse
         include Google::Apis::Core::Hashable
       
+        # The number of columns where at least one cell in the column was updated.
+        # Corresponds to the JSON property `updatedColumns`
+        # @return [Fixnum]
+        attr_accessor :updated_columns
+      
+        # The spreadsheet the updates were applied to.
+        # Corresponds to the JSON property `spreadsheetId`
+        # @return [String]
+        attr_accessor :spreadsheet_id
+      
         # The range (in A1 notation) that updates were applied to.
         # Corresponds to the JSON property `updatedRange`
         # @return [String]
@@ -3778,15 +5929,35 @@ module Google
         # @return [Fixnum]
         attr_accessor :updated_rows
       
-        # The number of columns where at least one cell in the column was updated.
-        # Corresponds to the JSON property `updatedColumns`
-        # @return [Fixnum]
-        attr_accessor :updated_columns
+        def initialize(**args)
+           update!(**args)
+        end
       
-        # The spreadsheet the updates were applied to.
-        # Corresponds to the JSON property `spreadsheetId`
+        # Update properties of this object
+        def update!(**args)
+          @updated_columns = args[:updated_columns] if args.key?(:updated_columns)
+          @spreadsheet_id = args[:spreadsheet_id] if args.key?(:spreadsheet_id)
+          @updated_range = args[:updated_range] if args.key?(:updated_range)
+          @updated_cells = args[:updated_cells] if args.key?(:updated_cells)
+          @updated_data = args[:updated_data] if args.key?(:updated_data)
+          @updated_rows = args[:updated_rows] if args.key?(:updated_rows)
+        end
+      end
+      
+      # An error in a cell.
+      class ErrorValue
+        include Google::Apis::Core::Hashable
+      
+        # A message with more information about the error
+        # (in the spreadsheet's locale).
+        # Corresponds to the JSON property `message`
         # @return [String]
-        attr_accessor :spreadsheet_id
+        attr_accessor :message
+      
+        # The type of error.
+        # Corresponds to the JSON property `type`
+        # @return [String]
+        attr_accessor :type
       
         def initialize(**args)
            update!(**args)
@@ -3794,12 +5965,8 @@ module Google
       
         # Update properties of this object
         def update!(**args)
-          @updated_range = args[:updated_range] if args.key?(:updated_range)
-          @updated_cells = args[:updated_cells] if args.key?(:updated_cells)
-          @updated_data = args[:updated_data] if args.key?(:updated_data)
-          @updated_rows = args[:updated_rows] if args.key?(:updated_rows)
-          @updated_columns = args[:updated_columns] if args.key?(:updated_columns)
-          @spreadsheet_id = args[:spreadsheet_id] if args.key?(:spreadsheet_id)
+          @message = args[:message] if args.key?(:message)
+          @type = args[:type] if args.key?(:type)
         end
       end
       
@@ -3850,32 +6017,6 @@ module Google
         end
       end
       
-      # An error in a cell.
-      class ErrorValue
-        include Google::Apis::Core::Hashable
-      
-        # The type of error.
-        # Corresponds to the JSON property `type`
-        # @return [String]
-        attr_accessor :type
-      
-        # A message with more information about the error
-        # (in the spreadsheet's locale).
-        # Corresponds to the JSON property `message`
-        # @return [String]
-        attr_accessor :message
-      
-        def initialize(**args)
-           update!(**args)
-        end
-      
-        # Update properties of this object
-        def update!(**args)
-          @type = args[:type] if args.key?(:type)
-          @message = args[:message] if args.key?(:message)
-        end
-      end
-      
       # The request to copy a sheet across spreadsheets.
       class CopySheetToAnotherSpreadsheetRequest
         include Google::Apis::Core::Hashable
@@ -3899,12 +6040,6 @@ module Google
       class PivotGroupSortValueBucket
         include Google::Apis::Core::Hashable
       
-        # The offset in the PivotTable.values list which the values in this
-        # grouping should be sorted by.
-        # Corresponds to the JSON property `valuesIndex`
-        # @return [Fixnum]
-        attr_accessor :values_index
-      
         # Determines the bucket from which values are chosen to sort.
         # For example, in a pivot table with one row group & two column groups,
         # the row group can list up to two values. The first value corresponds
@@ -3917,14 +6052,20 @@ module Google
         # @return [Array]
         attr_accessor :buckets
       
+        # The offset in the PivotTable.values list which the values in this
+        # grouping should be sorted by.
+        # Corresponds to the JSON property `valuesIndex`
+        # @return [Fixnum]
+        attr_accessor :values_index
+      
         def initialize(**args)
            update!(**args)
         end
       
         # Update properties of this object
         def update!(**args)
-          @values_index = args[:values_index] if args.key?(:values_index)
           @buckets = args[:buckets] if args.key?(:buckets)
+          @values_index = args[:values_index] if args.key?(:values_index)
         end
       end
       
@@ -3985,18 +6126,6 @@ module Google
       class AutoFillRequest
         include Google::Apis::Core::Hashable
       
-        # True if we should generate data with the "alternate" series.
-        # This differs based on the type and amount of source data.
-        # Corresponds to the JSON property `useAlternateSeries`
-        # @return [Boolean]
-        attr_accessor :use_alternate_series
-        alias_method :use_alternate_series?, :use_alternate_series
-      
-        # A combination of a source range and how to extend that source.
-        # Corresponds to the JSON property `sourceAndDestination`
-        # @return [Google::Apis::SheetsV4::SourceAndDestination]
-        attr_accessor :source_and_destination
-      
         # A range on a sheet.
         # All indexes are zero-based.
         # Indexes are half open, e.g the start index is inclusive
@@ -4023,15 +6152,27 @@ module Google
         # @return [Google::Apis::SheetsV4::GridRange]
         attr_accessor :range
       
+        # True if we should generate data with the "alternate" series.
+        # This differs based on the type and amount of source data.
+        # Corresponds to the JSON property `useAlternateSeries`
+        # @return [Boolean]
+        attr_accessor :use_alternate_series
+        alias_method :use_alternate_series?, :use_alternate_series
+      
+        # A combination of a source range and how to extend that source.
+        # Corresponds to the JSON property `sourceAndDestination`
+        # @return [Google::Apis::SheetsV4::SourceAndDestination]
+        attr_accessor :source_and_destination
+      
         def initialize(**args)
            update!(**args)
         end
       
         # Update properties of this object
         def update!(**args)
+          @range = args[:range] if args.key?(:range)
           @use_alternate_series = args[:use_alternate_series] if args.key?(:use_alternate_series)
           @source_and_destination = args[:source_and_destination] if args.key?(:source_and_destination)
-          @range = args[:range] if args.key?(:range)
         end
       end
       
@@ -4042,13 +6183,6 @@ module Google
       class GradientRule
         include Google::Apis::Core::Hashable
       
-        # A single interpolation point on a gradient conditional format.
-        # These pin the gradient color scale according to the color,
-        # type and value chosen.
-        # Corresponds to the JSON property `midpoint`
-        # @return [Google::Apis::SheetsV4::InterpolationPoint]
-        attr_accessor :midpoint
-      
         # A single interpolation point on a gradient conditional format.
         # These pin the gradient color scale according to the color,
         # type and value chosen.
@@ -4063,15 +6197,22 @@ module Google
         # @return [Google::Apis::SheetsV4::InterpolationPoint]
         attr_accessor :maxpoint
       
+        # A single interpolation point on a gradient conditional format.
+        # These pin the gradient color scale according to the color,
+        # type and value chosen.
+        # Corresponds to the JSON property `midpoint`
+        # @return [Google::Apis::SheetsV4::InterpolationPoint]
+        attr_accessor :midpoint
+      
         def initialize(**args)
            update!(**args)
         end
       
         # Update properties of this object
         def update!(**args)
-          @midpoint = args[:midpoint] if args.key?(:midpoint)
           @minpoint = args[:minpoint] if args.key?(:minpoint)
           @maxpoint = args[:maxpoint] if args.key?(:maxpoint)
+          @midpoint = args[:midpoint] if args.key?(:midpoint)
         end
       end
       
@@ -4113,18 +6254,6 @@ module Google
       class InterpolationPoint
         include Google::Apis::Core::Hashable
       
-        # How the value should be interpreted.
-        # Corresponds to the JSON property `type`
-        # @return [String]
-        attr_accessor :type
-      
-        # The value this interpolation point uses.  May be a formula.
-        # Unused if type is MIN or
-        # MAX.
-        # Corresponds to the JSON property `value`
-        # @return [String]
-        attr_accessor :value
-      
         # Represents a color in the RGBA color space. This representation is designed
         # for simplicity of conversion to/from color representations in various
         # languages over compactness; for example, the fields of this representation
@@ -4228,15 +6357,27 @@ module Google
         # @return [Google::Apis::SheetsV4::Color]
         attr_accessor :color
       
+        # How the value should be interpreted.
+        # Corresponds to the JSON property `type`
+        # @return [String]
+        attr_accessor :type
+      
+        # The value this interpolation point uses.  May be a formula.
+        # Unused if type is MIN or
+        # MAX.
+        # Corresponds to the JSON property `value`
+        # @return [String]
+        attr_accessor :value
+      
         def initialize(**args)
            update!(**args)
         end
       
         # Update properties of this object
         def update!(**args)
+          @color = args[:color] if args.key?(:color)
           @type = args[:type] if args.key?(:type)
           @value = args[:value] if args.key?(:value)
-          @color = args[:color] if args.key?(:color)
         end
       end
       
@@ -4244,18 +6385,6 @@ module Google
       class FindReplaceResponse
         include Google::Apis::Core::Hashable
       
-        # The number of occurrences (possibly multiple within a cell) changed.
-        # For example, if replacing `"e"` with `"o"` in `"Google Sheets"`, this would
-        # be `"3"` because `"Google Sheets"` -> `"Googlo Shoots"`.
-        # Corresponds to the JSON property `occurrencesChanged`
-        # @return [Fixnum]
-        attr_accessor :occurrences_changed
-      
-        # The number of rows changed.
-        # Corresponds to the JSON property `rowsChanged`
-        # @return [Fixnum]
-        attr_accessor :rows_changed
-      
         # The number of sheets changed.
         # Corresponds to the JSON property `sheetsChanged`
         # @return [Fixnum]
@@ -4271,17 +6400,29 @@ module Google
         # @return [Fixnum]
         attr_accessor :values_changed
       
+        # The number of occurrences (possibly multiple within a cell) changed.
+        # For example, if replacing `"e"` with `"o"` in `"Google Sheets"`, this would
+        # be `"3"` because `"Google Sheets"` -> `"Googlo Shoots"`.
+        # Corresponds to the JSON property `occurrencesChanged`
+        # @return [Fixnum]
+        attr_accessor :occurrences_changed
+      
+        # The number of rows changed.
+        # Corresponds to the JSON property `rowsChanged`
+        # @return [Fixnum]
+        attr_accessor :rows_changed
+      
         def initialize(**args)
            update!(**args)
         end
       
         # Update properties of this object
         def update!(**args)
-          @occurrences_changed = args[:occurrences_changed] if args.key?(:occurrences_changed)
-          @rows_changed = args[:rows_changed] if args.key?(:rows_changed)
           @sheets_changed = args[:sheets_changed] if args.key?(:sheets_changed)
           @formulas_changed = args[:formulas_changed] if args.key?(:formulas_changed)
           @values_changed = args[:values_changed] if args.key?(:values_changed)
+          @occurrences_changed = args[:occurrences_changed] if args.key?(:occurrences_changed)
+          @rows_changed = args[:rows_changed] if args.key?(:rows_changed)
         end
       end
       
@@ -4303,2147 +6444,6 @@ module Google
           @object_id_prop = args[:object_id_prop] if args.key?(:object_id_prop)
         end
       end
-      
-      # Duplicates a particular filter view.
-      class DuplicateFilterViewRequest
-        include Google::Apis::Core::Hashable
-      
-        # The ID of the filter being duplicated.
-        # Corresponds to the JSON property `filterId`
-        # @return [Fixnum]
-        attr_accessor :filter_id
-      
-        def initialize(**args)
-           update!(**args)
-        end
-      
-        # Update properties of this object
-        def update!(**args)
-          @filter_id = args[:filter_id] if args.key?(:filter_id)
-        end
-      end
-      
-      # Deletes the requested sheet.
-      class DeleteSheetRequest
-        include Google::Apis::Core::Hashable
-      
-        # The ID of the sheet to delete.
-        # Corresponds to the JSON property `sheetId`
-        # @return [Fixnum]
-        attr_accessor :sheet_id
-      
-        def initialize(**args)
-           update!(**args)
-        end
-      
-        # Update properties of this object
-        def update!(**args)
-          @sheet_id = args[:sheet_id] if args.key?(:sheet_id)
-        end
-      end
-      
-      # The result of updating a conditional format rule.
-      class UpdateConditionalFormatRuleResponse
-        include Google::Apis::Core::Hashable
-      
-        # A rule describing a conditional format.
-        # Corresponds to the JSON property `oldRule`
-        # @return [Google::Apis::SheetsV4::ConditionalFormatRule]
-        attr_accessor :old_rule
-      
-        # The index of the new rule.
-        # Corresponds to the JSON property `newIndex`
-        # @return [Fixnum]
-        attr_accessor :new_index
-      
-        # The old index of the rule. Not set if a rule was replaced
-        # (because it is the same as new_index).
-        # Corresponds to the JSON property `oldIndex`
-        # @return [Fixnum]
-        attr_accessor :old_index
-      
-        # A rule describing a conditional format.
-        # Corresponds to the JSON property `newRule`
-        # @return [Google::Apis::SheetsV4::ConditionalFormatRule]
-        attr_accessor :new_rule
-      
-        def initialize(**args)
-           update!(**args)
-        end
-      
-        # Update properties of this object
-        def update!(**args)
-          @old_rule = args[:old_rule] if args.key?(:old_rule)
-          @new_index = args[:new_index] if args.key?(:new_index)
-          @old_index = args[:old_index] if args.key?(:old_index)
-          @new_rule = args[:new_rule] if args.key?(:new_rule)
-        end
-      end
-      
-      # Duplicates the contents of a sheet.
-      class DuplicateSheetRequest
-        include Google::Apis::Core::Hashable
-      
-        # The zero-based index where the new sheet should be inserted.
-        # The index of all sheets after this are incremented.
-        # Corresponds to the JSON property `insertSheetIndex`
-        # @return [Fixnum]
-        attr_accessor :insert_sheet_index
-      
-        # The name of the new sheet.  If empty, a new name is chosen for you.
-        # Corresponds to the JSON property `newSheetName`
-        # @return [String]
-        attr_accessor :new_sheet_name
-      
-        # The sheet to duplicate.
-        # Corresponds to the JSON property `sourceSheetId`
-        # @return [Fixnum]
-        attr_accessor :source_sheet_id
-      
-        # If set, the ID of the new sheet. If not set, an ID is chosen.
-        # If set, the ID must not conflict with any existing sheet ID.
-        # If set, it must be non-negative.
-        # Corresponds to the JSON property `newSheetId`
-        # @return [Fixnum]
-        attr_accessor :new_sheet_id
-      
-        def initialize(**args)
-           update!(**args)
-        end
-      
-        # Update properties of this object
-        def update!(**args)
-          @insert_sheet_index = args[:insert_sheet_index] if args.key?(:insert_sheet_index)
-          @new_sheet_name = args[:new_sheet_name] if args.key?(:new_sheet_name)
-          @source_sheet_id = args[:source_sheet_id] if args.key?(:source_sheet_id)
-          @new_sheet_id = args[:new_sheet_id] if args.key?(:new_sheet_id)
-        end
-      end
-      
-      # The value of the condition.
-      class ConditionValue
-        include Google::Apis::Core::Hashable
-      
-        # A relative date (based on the current date).
-        # Valid only if the type is
-        # DATE_BEFORE,
-        # DATE_AFTER,
-        # DATE_ON_OR_BEFORE or
-        # DATE_ON_OR_AFTER.
-        # Relative dates are not supported in data validation.
-        # They are supported only in conditional formatting and
-        # conditional filters.
-        # Corresponds to the JSON property `relativeDate`
-        # @return [String]
-        attr_accessor :relative_date
-      
-        # A value the condition is based on.
-        # The value will be parsed as if the user typed into a cell.
-        # Formulas are supported (and must begin with an `=`).
-        # Corresponds to the JSON property `userEnteredValue`
-        # @return [String]
-        attr_accessor :user_entered_value
-      
-        def initialize(**args)
-           update!(**args)
-        end
-      
-        # Update properties of this object
-        def update!(**args)
-          @relative_date = args[:relative_date] if args.key?(:relative_date)
-          @user_entered_value = args[:user_entered_value] if args.key?(:user_entered_value)
-        end
-      end
-      
-      # The kinds of value that a cell in a spreadsheet can have.
-      class ExtendedValue
-        include Google::Apis::Core::Hashable
-      
-        # Represents a string value.
-        # Leading single quotes are not included. For example, if the user typed
-        # `'123` into the UI, this would be represented as a `stringValue` of
-        # `"123"`.
-        # Corresponds to the JSON property `stringValue`
-        # @return [String]
-        attr_accessor :string_value
-      
-        # Represents a boolean value.
-        # Corresponds to the JSON property `boolValue`
-        # @return [Boolean]
-        attr_accessor :bool_value
-        alias_method :bool_value?, :bool_value
-      
-        # Represents a formula.
-        # Corresponds to the JSON property `formulaValue`
-        # @return [String]
-        attr_accessor :formula_value
-      
-        # Represents a double value.
-        # Note: Dates, Times and DateTimes are represented as doubles in
-        # "serial number" format.
-        # Corresponds to the JSON property `numberValue`
-        # @return [Float]
-        attr_accessor :number_value
-      
-        # An error in a cell.
-        # Corresponds to the JSON property `errorValue`
-        # @return [Google::Apis::SheetsV4::ErrorValue]
-        attr_accessor :error_value
-      
-        def initialize(**args)
-           update!(**args)
-        end
-      
-        # Update properties of this object
-        def update!(**args)
-          @string_value = args[:string_value] if args.key?(:string_value)
-          @bool_value = args[:bool_value] if args.key?(:bool_value)
-          @formula_value = args[:formula_value] if args.key?(:formula_value)
-          @number_value = args[:number_value] if args.key?(:number_value)
-          @error_value = args[:error_value] if args.key?(:error_value)
-        end
-      end
-      
-      # Adds a chart to a sheet in the spreadsheet.
-      class AddChartRequest
-        include Google::Apis::Core::Hashable
-      
-        # A chart embedded in a sheet.
-        # Corresponds to the JSON property `chart`
-        # @return [Google::Apis::SheetsV4::EmbeddedChart]
-        attr_accessor :chart
-      
-        def initialize(**args)
-           update!(**args)
-        end
-      
-        # Update properties of this object
-        def update!(**args)
-          @chart = args[:chart] if args.key?(:chart)
-        end
-      end
-      
-      # Resource that represents a spreadsheet.
-      class Spreadsheet
-        include Google::Apis::Core::Hashable
-      
-        # The url of the spreadsheet.
-        # This field is read-only.
-        # Corresponds to the JSON property `spreadsheetUrl`
-        # @return [String]
-        attr_accessor :spreadsheet_url
-      
-        # Properties of a spreadsheet.
-        # Corresponds to the JSON property `properties`
-        # @return [Google::Apis::SheetsV4::SpreadsheetProperties]
-        attr_accessor :properties
-      
-        # The ID of the spreadsheet.
-        # This field is read-only.
-        # Corresponds to the JSON property `spreadsheetId`
-        # @return [String]
-        attr_accessor :spreadsheet_id
-      
-        # The sheets that are part of a spreadsheet.
-        # Corresponds to the JSON property `sheets`
-        # @return [Array]
-        attr_accessor :sheets
-      
-        # The named ranges defined in a spreadsheet.
-        # Corresponds to the JSON property `namedRanges`
-        # @return [Array]
-        attr_accessor :named_ranges
-      
-        def initialize(**args)
-           update!(**args)
-        end
-      
-        # Update properties of this object
-        def update!(**args)
-          @spreadsheet_url = args[:spreadsheet_url] if args.key?(:spreadsheet_url)
-          @properties = args[:properties] if args.key?(:properties)
-          @spreadsheet_id = args[:spreadsheet_id] if args.key?(:spreadsheet_id)
-          @sheets = args[:sheets] if args.key?(:sheets)
-          @named_ranges = args[:named_ranges] if args.key?(:named_ranges)
-        end
-      end
-      
-      # The response when updating a range of values in a spreadsheet.
-      class BatchClearValuesResponse
-        include Google::Apis::Core::Hashable
-      
-        # The ranges that were cleared, in A1 notation.
-        # (If the requests were for an unbounded range or a ranger larger
-        # than the bounds of the sheet, this will be the actual ranges
-        # that were cleared, bounded to the sheet's limits.)
-        # Corresponds to the JSON property `clearedRanges`
-        # @return [Array]
-        attr_accessor :cleared_ranges
-      
-        # The spreadsheet the updates were applied to.
-        # Corresponds to the JSON property `spreadsheetId`
-        # @return [String]
-        attr_accessor :spreadsheet_id
-      
-        def initialize(**args)
-           update!(**args)
-        end
-      
-        # Update properties of this object
-        def update!(**args)
-          @cleared_ranges = args[:cleared_ranges] if args.key?(:cleared_ranges)
-          @spreadsheet_id = args[:spreadsheet_id] if args.key?(:spreadsheet_id)
-        end
-      end
-      
-      # A banded (alternating colors) range in a sheet.
-      class BandedRange
-        include Google::Apis::Core::Hashable
-      
-        # Properties referring a single dimension (either row or column). If both
-        # BandedRange.row_properties and BandedRange.column_properties are
-        # set, the fill colors are applied to cells according to the following rules:
-        # * header_color and footer_color take priority over band colors.
-        # * first_band_color takes priority over second_band_color.
-        # * row_properties takes priority over column_properties.
-        # For example, the first row color takes priority over the first column
-        # color, but the first column color takes priority over the second row color.
-        # Similarly, the row header takes priority over the column header in the
-        # top left cell, but the column header takes priority over the first row
-        # color if the row header is not set.
-        # Corresponds to the JSON property `rowProperties`
-        # @return [Google::Apis::SheetsV4::BandingProperties]
-        attr_accessor :row_properties
-      
-        # Properties referring a single dimension (either row or column). If both
-        # BandedRange.row_properties and BandedRange.column_properties are
-        # set, the fill colors are applied to cells according to the following rules:
-        # * header_color and footer_color take priority over band colors.
-        # * first_band_color takes priority over second_band_color.
-        # * row_properties takes priority over column_properties.
-        # For example, the first row color takes priority over the first column
-        # color, but the first column color takes priority over the second row color.
-        # Similarly, the row header takes priority over the column header in the
-        # top left cell, but the column header takes priority over the first row
-        # color if the row header is not set.
-        # Corresponds to the JSON property `columnProperties`
-        # @return [Google::Apis::SheetsV4::BandingProperties]
-        attr_accessor :column_properties
-      
-        # A range on a sheet.
-        # All indexes are zero-based.
-        # Indexes are half open, e.g the start index is inclusive
-        # and the end index is exclusive -- [start_index, end_index).
-        # Missing indexes indicate the range is unbounded on that side.
-        # For example, if `"Sheet1"` is sheet ID 0, then:
-        # `Sheet1!A1:A1 == sheet_id: 0,
-        # start_row_index: 0, end_row_index: 1,
-        # start_column_index: 0, end_column_index: 1`
-        # `Sheet1!A3:B4 == sheet_id: 0,
-        # start_row_index: 2, end_row_index: 4,
-        # start_column_index: 0, end_column_index: 2`
-        # `Sheet1!A:B == sheet_id: 0,
-        # start_column_index: 0, end_column_index: 2`
-        # `Sheet1!A5:B == sheet_id: 0,
-        # start_row_index: 4,
-        # start_column_index: 0, end_column_index: 2`
-        # `Sheet1 == sheet_id:0`
-        # The start index must always be less than or equal to the end index.
-        # If the start index equals the end index, then the range is empty.
-        # Empty ranges are typically not meaningful and are usually rendered in the
-        # UI as `#REF!`.
-        # Corresponds to the JSON property `range`
-        # @return [Google::Apis::SheetsV4::GridRange]
-        attr_accessor :range
-      
-        # The id of the banded range.
-        # Corresponds to the JSON property `bandedRangeId`
-        # @return [Fixnum]
-        attr_accessor :banded_range_id
-      
-        def initialize(**args)
-           update!(**args)
-        end
-      
-        # Update properties of this object
-        def update!(**args)
-          @row_properties = args[:row_properties] if args.key?(:row_properties)
-          @column_properties = args[:column_properties] if args.key?(:column_properties)
-          @range = args[:range] if args.key?(:range)
-          @banded_range_id = args[:banded_range_id] if args.key?(:banded_range_id)
-        end
-      end
-      
-      # Updates an existing protected range with the specified
-      # protectedRangeId.
-      class UpdateProtectedRangeRequest
-        include Google::Apis::Core::Hashable
-      
-        # A protected range.
-        # Corresponds to the JSON property `protectedRange`
-        # @return [Google::Apis::SheetsV4::ProtectedRange]
-        attr_accessor :protected_range
-      
-        # The fields that should be updated.  At least one field must be specified.
-        # The root `protectedRange` is implied and should not be specified.
-        # A single `"*"` can be used as short-hand for listing every field.
-        # Corresponds to the JSON property `fields`
-        # @return [String]
-        attr_accessor :fields
-      
-        def initialize(**args)
-           update!(**args)
-        end
-      
-        # Update properties of this object
-        def update!(**args)
-          @protected_range = args[:protected_range] if args.key?(:protected_range)
-          @fields = args[:fields] if args.key?(:fields)
-        end
-      end
-      
-      # The format of a run of text in a cell.
-      # Absent values indicate that the field isn't specified.
-      class TextFormat
-        include Google::Apis::Core::Hashable
-      
-        # True if the text is underlined.
-        # Corresponds to the JSON property `underline`
-        # @return [Boolean]
-        attr_accessor :underline
-        alias_method :underline?, :underline
-      
-        # True if the text is bold.
-        # Corresponds to the JSON property `bold`
-        # @return [Boolean]
-        attr_accessor :bold
-        alias_method :bold?, :bold
-      
-        # Represents a color in the RGBA color space. This representation is designed
-        # for simplicity of conversion to/from color representations in various
-        # languages over compactness; for example, the fields of this representation
-        # can be trivially provided to the constructor of "java.awt.Color" in Java; it
-        # can also be trivially provided to UIColor's "+colorWithRed:green:blue:alpha"
-        # method in iOS; and, with just a little work, it can be easily formatted into
-        # a CSS "rgba()" string in JavaScript, as well. Here are some examples:
-        # Example (Java):
-        # import com.google.type.Color;
-        # // ...
-        # public static java.awt.Color fromProto(Color protocolor) `
-        # float alpha = protocolor.hasAlpha()
-        # ? protocolor.getAlpha().getValue()
-        # : 1.0;
-        # return new java.awt.Color(
-        # protocolor.getRed(),
-        # protocolor.getGreen(),
-        # protocolor.getBlue(),
-        # alpha);
-        # `
-        # public static Color toProto(java.awt.Color color) `
-        # float red = (float) color.getRed();
-        # float green = (float) color.getGreen();
-        # float blue = (float) color.getBlue();
-        # float denominator = 255.0;
-        # Color.Builder resultBuilder =
-        # Color
-        # .newBuilder()
-        # .setRed(red / denominator)
-        # .setGreen(green / denominator)
-        # .setBlue(blue / denominator);
-        # int alpha = color.getAlpha();
-        # if (alpha != 255) `
-        # result.setAlpha(
-        # FloatValue
-        # .newBuilder()
-        # .setValue(((float) alpha) / denominator)
-        # .build());
-        # `
-        # return resultBuilder.build();
-        # `
-        # // ...
-        # Example (iOS / Obj-C):
-        # // ...
-        # static UIColor* fromProto(Color* protocolor) `
-        # float red = [protocolor red];
-        # float green = [protocolor green];
-        # float blue = [protocolor blue];
-        # FloatValue* alpha_wrapper = [protocolor alpha];
-        # float alpha = 1.0;
-        # if (alpha_wrapper != nil) `
-        # alpha = [alpha_wrapper value];
-        # `
-        # return [UIColor colorWithRed:red green:green blue:blue alpha:alpha];
-        # `
-        # static Color* toProto(UIColor* color) `
-        # CGFloat red, green, blue, alpha;
-        # if (![color getRed:&red green:&green blue:&blue alpha:&alpha]) `
-        # return nil;
-        # `
-        # Color* result = [Color alloc] init];
-        # [result setRed:red];
-        # [result setGreen:green];
-        # [result setBlue:blue];
-        # if (alpha <= 0.9999) `
-        # [result setAlpha:floatWrapperWithValue(alpha)];
-        # `
-        # [result autorelease];
-        # return result;
-        # `
-        # // ...
-        # Example (JavaScript):
-        # // ...
-        # var protoToCssColor = function(rgb_color) `
-        # var redFrac = rgb_color.red || 0.0;
-        # var greenFrac = rgb_color.green || 0.0;
-        # var blueFrac = rgb_color.blue || 0.0;
-        # var red = Math.floor(redFrac * 255);
-        # var green = Math.floor(greenFrac * 255);
-        # var blue = Math.floor(blueFrac * 255);
-        # if (!('alpha' in rgb_color)) `
-        # return rgbToCssColor_(red, green, blue);
-        # `
-        # var alphaFrac = rgb_color.alpha.value || 0.0;
-        # var rgbParams = [red, green, blue].join(',');
-        # return ['rgba(', rgbParams, ',', alphaFrac, ')'].join('');
-        # `;
-        # var rgbToCssColor_ = function(red, green, blue) `
-        # var rgbNumber = new Number((red << 16) | (green << 8) | blue);
-        # var hexString = rgbNumber.toString(16);
-        # var missingZeros = 6 - hexString.length;
-        # var resultBuilder = ['#'];
-        # for (var i = 0; i < missingZeros; i++) `
-        # resultBuilder.push('0');
-        # `
-        # resultBuilder.push(hexString);
-        # return resultBuilder.join('');
-        # `;
-        # // ...
-        # Corresponds to the JSON property `foregroundColor`
-        # @return [Google::Apis::SheetsV4::Color]
-        attr_accessor :foreground_color
-      
-        # The font family.
-        # Corresponds to the JSON property `fontFamily`
-        # @return [String]
-        attr_accessor :font_family
-      
-        # True if the text is italicized.
-        # Corresponds to the JSON property `italic`
-        # @return [Boolean]
-        attr_accessor :italic
-        alias_method :italic?, :italic
-      
-        # True if the text has a strikethrough.
-        # Corresponds to the JSON property `strikethrough`
-        # @return [Boolean]
-        attr_accessor :strikethrough
-        alias_method :strikethrough?, :strikethrough
-      
-        # The size of the font.
-        # Corresponds to the JSON property `fontSize`
-        # @return [Fixnum]
-        attr_accessor :font_size
-      
-        def initialize(**args)
-           update!(**args)
-        end
-      
-        # Update properties of this object
-        def update!(**args)
-          @underline = args[:underline] if args.key?(:underline)
-          @bold = args[:bold] if args.key?(:bold)
-          @foreground_color = args[:foreground_color] if args.key?(:foreground_color)
-          @font_family = args[:font_family] if args.key?(:font_family)
-          @italic = args[:italic] if args.key?(:italic)
-          @strikethrough = args[:strikethrough] if args.key?(:strikethrough)
-          @font_size = args[:font_size] if args.key?(:font_size)
-        end
-      end
-      
-      # The result of adding a sheet.
-      class AddSheetResponse
-        include Google::Apis::Core::Hashable
-      
-        # Properties of a sheet.
-        # Corresponds to the JSON property `properties`
-        # @return [Google::Apis::SheetsV4::SheetProperties]
-        attr_accessor :properties
-      
-        def initialize(**args)
-           update!(**args)
-        end
-      
-        # Update properties of this object
-        def update!(**args)
-          @properties = args[:properties] if args.key?(:properties)
-        end
-      end
-      
-      # The result of adding a filter view.
-      class AddFilterViewResponse
-        include Google::Apis::Core::Hashable
-      
-        # A filter view.
-        # Corresponds to the JSON property `filter`
-        # @return [Google::Apis::SheetsV4::FilterView]
-        attr_accessor :filter
-      
-        def initialize(**args)
-           update!(**args)
-        end
-      
-        # Update properties of this object
-        def update!(**args)
-          @filter = args[:filter] if args.key?(:filter)
-        end
-      end
-      
-      # Settings to control how circular dependencies are resolved with iterative
-      # calculation.
-      class IterativeCalculationSettings
-        include Google::Apis::Core::Hashable
-      
-        # When iterative calculation is enabled and successive results differ by
-        # less than this threshold value, the calculation rounds stop.
-        # Corresponds to the JSON property `convergenceThreshold`
-        # @return [Float]
-        attr_accessor :convergence_threshold
-      
-        # When iterative calculation is enabled, the maximum number of calculation
-        # rounds to perform.
-        # Corresponds to the JSON property `maxIterations`
-        # @return [Fixnum]
-        attr_accessor :max_iterations
-      
-        def initialize(**args)
-           update!(**args)
-        end
-      
-        # Update properties of this object
-        def update!(**args)
-          @convergence_threshold = args[:convergence_threshold] if args.key?(:convergence_threshold)
-          @max_iterations = args[:max_iterations] if args.key?(:max_iterations)
-        end
-      end
-      
-      # The location an object is overlaid on top of a grid.
-      class OverlayPosition
-        include Google::Apis::Core::Hashable
-      
-        # A coordinate in a sheet.
-        # All indexes are zero-based.
-        # Corresponds to the JSON property `anchorCell`
-        # @return [Google::Apis::SheetsV4::GridCoordinate]
-        attr_accessor :anchor_cell
-      
-        # The vertical offset, in pixels, that the object is offset
-        # from the anchor cell.
-        # Corresponds to the JSON property `offsetYPixels`
-        # @return [Fixnum]
-        attr_accessor :offset_y_pixels
-      
-        # The height of the object, in pixels. Defaults to 371.
-        # Corresponds to the JSON property `heightPixels`
-        # @return [Fixnum]
-        attr_accessor :height_pixels
-      
-        # The width of the object, in pixels. Defaults to 600.
-        # Corresponds to the JSON property `widthPixels`
-        # @return [Fixnum]
-        attr_accessor :width_pixels
-      
-        # The horizontal offset, in pixels, that the object is offset
-        # from the anchor cell.
-        # Corresponds to the JSON property `offsetXPixels`
-        # @return [Fixnum]
-        attr_accessor :offset_x_pixels
-      
-        def initialize(**args)
-           update!(**args)
-        end
-      
-        # Update properties of this object
-        def update!(**args)
-          @anchor_cell = args[:anchor_cell] if args.key?(:anchor_cell)
-          @offset_y_pixels = args[:offset_y_pixels] if args.key?(:offset_y_pixels)
-          @height_pixels = args[:height_pixels] if args.key?(:height_pixels)
-          @width_pixels = args[:width_pixels] if args.key?(:width_pixels)
-          @offset_x_pixels = args[:offset_x_pixels] if args.key?(:offset_x_pixels)
-        end
-      end
-      
-      # Properties of a spreadsheet.
-      class SpreadsheetProperties
-        include Google::Apis::Core::Hashable
-      
-        # The title of the spreadsheet.
-        # Corresponds to the JSON property `title`
-        # @return [String]
-        attr_accessor :title
-      
-        # The time zone of the spreadsheet, in CLDR format such as
-        # `America/New_York`. If the time zone isn't recognized, this may
-        # be a custom time zone such as `GMT-07:00`.
-        # Corresponds to the JSON property `timeZone`
-        # @return [String]
-        attr_accessor :time_zone
-      
-        # The locale of the spreadsheet in one of the following formats:
-        # * an ISO 639-1 language code such as `en`
-        # * an ISO 639-2 language code such as `fil`, if no 639-1 code exists
-        # * a combination of the ISO language code and country code, such as `en_US`
-        # Note: when updating this field, not all locales/languages are supported.
-        # Corresponds to the JSON property `locale`
-        # @return [String]
-        attr_accessor :locale
-      
-        # Settings to control how circular dependencies are resolved with iterative
-        # calculation.
-        # Corresponds to the JSON property `iterativeCalculationSettings`
-        # @return [Google::Apis::SheetsV4::IterativeCalculationSettings]
-        attr_accessor :iterative_calculation_settings
-      
-        # The amount of time to wait before volatile functions are recalculated.
-        # Corresponds to the JSON property `autoRecalc`
-        # @return [String]
-        attr_accessor :auto_recalc
-      
-        # The format of a cell.
-        # Corresponds to the JSON property `defaultFormat`
-        # @return [Google::Apis::SheetsV4::CellFormat]
-        attr_accessor :default_format
-      
-        def initialize(**args)
-           update!(**args)
-        end
-      
-        # Update properties of this object
-        def update!(**args)
-          @title = args[:title] if args.key?(:title)
-          @time_zone = args[:time_zone] if args.key?(:time_zone)
-          @locale = args[:locale] if args.key?(:locale)
-          @iterative_calculation_settings = args[:iterative_calculation_settings] if args.key?(:iterative_calculation_settings)
-          @auto_recalc = args[:auto_recalc] if args.key?(:auto_recalc)
-          @default_format = args[:default_format] if args.key?(:default_format)
-        end
-      end
-      
-      # Updates all cells in the range to the values in the given Cell object.
-      # Only the fields listed in the fields field are updated; others are
-      # unchanged.
-      # If writing a cell with a formula, the formula's ranges will automatically
-      # increment for each field in the range.
-      # For example, if writing a cell with formula `=A1` into range B2:C4,
-      # B2 would be `=A1`, B3 would be `=A2`, B4 would be `=A3`,
-      # C2 would be `=B1`, C3 would be `=B2`, C4 would be `=B3`.
-      # To keep the formula's ranges static, use the `$` indicator.
-      # For example, use the formula `=$A$1` to prevent both the row and the
-      # column from incrementing.
-      class RepeatCellRequest
-        include Google::Apis::Core::Hashable
-      
-        # A range on a sheet.
-        # All indexes are zero-based.
-        # Indexes are half open, e.g the start index is inclusive
-        # and the end index is exclusive -- [start_index, end_index).
-        # Missing indexes indicate the range is unbounded on that side.
-        # For example, if `"Sheet1"` is sheet ID 0, then:
-        # `Sheet1!A1:A1 == sheet_id: 0,
-        # start_row_index: 0, end_row_index: 1,
-        # start_column_index: 0, end_column_index: 1`
-        # `Sheet1!A3:B4 == sheet_id: 0,
-        # start_row_index: 2, end_row_index: 4,
-        # start_column_index: 0, end_column_index: 2`
-        # `Sheet1!A:B == sheet_id: 0,
-        # start_column_index: 0, end_column_index: 2`
-        # `Sheet1!A5:B == sheet_id: 0,
-        # start_row_index: 4,
-        # start_column_index: 0, end_column_index: 2`
-        # `Sheet1 == sheet_id:0`
-        # The start index must always be less than or equal to the end index.
-        # If the start index equals the end index, then the range is empty.
-        # Empty ranges are typically not meaningful and are usually rendered in the
-        # UI as `#REF!`.
-        # Corresponds to the JSON property `range`
-        # @return [Google::Apis::SheetsV4::GridRange]
-        attr_accessor :range
-      
-        # The fields that should be updated.  At least one field must be specified.
-        # The root `cell` is implied and should not be specified.
-        # A single `"*"` can be used as short-hand for listing every field.
-        # Corresponds to the JSON property `fields`
-        # @return [String]
-        attr_accessor :fields
-      
-        # Data about a specific cell.
-        # Corresponds to the JSON property `cell`
-        # @return [Google::Apis::SheetsV4::CellData]
-        attr_accessor :cell
-      
-        def initialize(**args)
-           update!(**args)
-        end
-      
-        # Update properties of this object
-        def update!(**args)
-          @range = args[:range] if args.key?(:range)
-          @fields = args[:fields] if args.key?(:fields)
-          @cell = args[:cell] if args.key?(:cell)
-        end
-      end
-      
-      # The result of adding a chart to a spreadsheet.
-      class AddChartResponse
-        include Google::Apis::Core::Hashable
-      
-        # A chart embedded in a sheet.
-        # Corresponds to the JSON property `chart`
-        # @return [Google::Apis::SheetsV4::EmbeddedChart]
-        attr_accessor :chart
-      
-        def initialize(**args)
-           update!(**args)
-        end
-      
-        # Update properties of this object
-        def update!(**args)
-          @chart = args[:chart] if args.key?(:chart)
-        end
-      end
-      
-      # Inserts rows or columns in a sheet at a particular index.
-      class InsertDimensionRequest
-        include Google::Apis::Core::Hashable
-      
-        # A range along a single dimension on a sheet.
-        # All indexes are zero-based.
-        # Indexes are half open: the start index is inclusive
-        # and the end index is exclusive.
-        # Missing indexes indicate the range is unbounded on that side.
-        # Corresponds to the JSON property `range`
-        # @return [Google::Apis::SheetsV4::DimensionRange]
-        attr_accessor :range
-      
-        # Whether dimension properties should be extended from the dimensions
-        # before or after the newly inserted dimensions.
-        # True to inherit from the dimensions before (in which case the start
-        # index must be greater than 0), and false to inherit from the dimensions
-        # after.
-        # For example, if row index 0 has red background and row index 1
-        # has a green background, then inserting 2 rows at index 1 can inherit
-        # either the green or red background.  If `inheritFromBefore` is true,
-        # the two new rows will be red (because the row before the insertion point
-        # was red), whereas if `inheritFromBefore` is false, the two new rows will
-        # be green (because the row after the insertion point was green).
-        # Corresponds to the JSON property `inheritFromBefore`
-        # @return [Boolean]
-        attr_accessor :inherit_from_before
-        alias_method :inherit_from_before?, :inherit_from_before
-      
-        def initialize(**args)
-           update!(**args)
-        end
-      
-        # Update properties of this object
-        def update!(**args)
-          @range = args[:range] if args.key?(:range)
-          @inherit_from_before = args[:inherit_from_before] if args.key?(:inherit_from_before)
-        end
-      end
-      
-      # Updates properties of a spreadsheet.
-      class UpdateSpreadsheetPropertiesRequest
-        include Google::Apis::Core::Hashable
-      
-        # The fields that should be updated.  At least one field must be specified.
-        # The root 'properties' is implied and should not be specified.
-        # A single `"*"` can be used as short-hand for listing every field.
-        # Corresponds to the JSON property `fields`
-        # @return [String]
-        attr_accessor :fields
-      
-        # Properties of a spreadsheet.
-        # Corresponds to the JSON property `properties`
-        # @return [Google::Apis::SheetsV4::SpreadsheetProperties]
-        attr_accessor :properties
-      
-        def initialize(**args)
-           update!(**args)
-        end
-      
-        # Update properties of this object
-        def update!(**args)
-          @fields = args[:fields] if args.key?(:fields)
-          @properties = args[:properties] if args.key?(:properties)
-        end
-      end
-      
-      # A protected range.
-      class ProtectedRange
-        include Google::Apis::Core::Hashable
-      
-        # A range on a sheet.
-        # All indexes are zero-based.
-        # Indexes are half open, e.g the start index is inclusive
-        # and the end index is exclusive -- [start_index, end_index).
-        # Missing indexes indicate the range is unbounded on that side.
-        # For example, if `"Sheet1"` is sheet ID 0, then:
-        # `Sheet1!A1:A1 == sheet_id: 0,
-        # start_row_index: 0, end_row_index: 1,
-        # start_column_index: 0, end_column_index: 1`
-        # `Sheet1!A3:B4 == sheet_id: 0,
-        # start_row_index: 2, end_row_index: 4,
-        # start_column_index: 0, end_column_index: 2`
-        # `Sheet1!A:B == sheet_id: 0,
-        # start_column_index: 0, end_column_index: 2`
-        # `Sheet1!A5:B == sheet_id: 0,
-        # start_row_index: 4,
-        # start_column_index: 0, end_column_index: 2`
-        # `Sheet1 == sheet_id:0`
-        # The start index must always be less than or equal to the end index.
-        # If the start index equals the end index, then the range is empty.
-        # Empty ranges are typically not meaningful and are usually rendered in the
-        # UI as `#REF!`.
-        # Corresponds to the JSON property `range`
-        # @return [Google::Apis::SheetsV4::GridRange]
-        attr_accessor :range
-      
-        # The editors of a protected range.
-        # Corresponds to the JSON property `editors`
-        # @return [Google::Apis::SheetsV4::Editors]
-        attr_accessor :editors
-      
-        # The description of this protected range.
-        # Corresponds to the JSON property `description`
-        # @return [String]
-        attr_accessor :description
-      
-        # The list of unprotected ranges within a protected sheet.
-        # Unprotected ranges are only supported on protected sheets.
-        # Corresponds to the JSON property `unprotectedRanges`
-        # @return [Array]
-        attr_accessor :unprotected_ranges
-      
-        # The named range this protected range is backed by, if any.
-        # When writing, only one of range or named_range_id
-        # may be set.
-        # Corresponds to the JSON property `namedRangeId`
-        # @return [String]
-        attr_accessor :named_range_id
-      
-        # The ID of the protected range.
-        # This field is read-only.
-        # Corresponds to the JSON property `protectedRangeId`
-        # @return [Fixnum]
-        attr_accessor :protected_range_id
-      
-        # True if this protected range will show a warning when editing.
-        # Warning-based protection means that every user can edit data in the
-        # protected range, except editing will prompt a warning asking the user
-        # to confirm the edit.
-        # When writing: if this field is true, then editors is ignored.
-        # Additionally, if this field is changed from true to false and the
-        # `editors` field is not set (nor included in the field mask), then
-        # the editors will be set to all the editors in the document.
-        # Corresponds to the JSON property `warningOnly`
-        # @return [Boolean]
-        attr_accessor :warning_only
-        alias_method :warning_only?, :warning_only
-      
-        # True if the user who requested this protected range can edit the
-        # protected area.
-        # This field is read-only.
-        # Corresponds to the JSON property `requestingUserCanEdit`
-        # @return [Boolean]
-        attr_accessor :requesting_user_can_edit
-        alias_method :requesting_user_can_edit?, :requesting_user_can_edit
-      
-        def initialize(**args)
-           update!(**args)
-        end
-      
-        # Update properties of this object
-        def update!(**args)
-          @range = args[:range] if args.key?(:range)
-          @editors = args[:editors] if args.key?(:editors)
-          @description = args[:description] if args.key?(:description)
-          @unprotected_ranges = args[:unprotected_ranges] if args.key?(:unprotected_ranges)
-          @named_range_id = args[:named_range_id] if args.key?(:named_range_id)
-          @protected_range_id = args[:protected_range_id] if args.key?(:protected_range_id)
-          @warning_only = args[:warning_only] if args.key?(:warning_only)
-          @requesting_user_can_edit = args[:requesting_user_can_edit] if args.key?(:requesting_user_can_edit)
-        end
-      end
-      
-      # The request for updating more than one range of values in a spreadsheet.
-      class BatchUpdateValuesRequest
-        include Google::Apis::Core::Hashable
-      
-        # Determines how values in the response should be rendered.
-        # The default render option is ValueRenderOption.FORMATTED_VALUE.
-        # Corresponds to the JSON property `responseValueRenderOption`
-        # @return [String]
-        attr_accessor :response_value_render_option
-      
-        # Determines if the update response should include the values
-        # of the cells that were updated. By default, responses
-        # do not include the updated values. The `updatedData` field within
-        # each of the BatchUpdateValuesResponse.responses will contain
-        # the updated values. If the range to write was larger than than the range
-        # actually written, the response will include all values in the requested
-        # range (excluding trailing empty rows and columns).
-        # Corresponds to the JSON property `includeValuesInResponse`
-        # @return [Boolean]
-        attr_accessor :include_values_in_response
-        alias_method :include_values_in_response?, :include_values_in_response
-      
-        # How the input data should be interpreted.
-        # Corresponds to the JSON property `valueInputOption`
-        # @return [String]
-        attr_accessor :value_input_option
-      
-        # The new values to apply to the spreadsheet.
-        # Corresponds to the JSON property `data`
-        # @return [Array]
-        attr_accessor :data
-      
-        # Determines how dates, times, and durations in the response should be
-        # rendered. This is ignored if response_value_render_option is
-        # FORMATTED_VALUE.
-        # The default dateTime render option is [DateTimeRenderOption.SERIAL_NUMBER].
-        # Corresponds to the JSON property `responseDateTimeRenderOption`
-        # @return [String]
-        attr_accessor :response_date_time_render_option
-      
-        def initialize(**args)
-           update!(**args)
-        end
-      
-        # Update properties of this object
-        def update!(**args)
-          @response_value_render_option = args[:response_value_render_option] if args.key?(:response_value_render_option)
-          @include_values_in_response = args[:include_values_in_response] if args.key?(:include_values_in_response)
-          @value_input_option = args[:value_input_option] if args.key?(:value_input_option)
-          @data = args[:data] if args.key?(:data)
-          @response_date_time_render_option = args[:response_date_time_render_option] if args.key?(:response_date_time_render_option)
-        end
-      end
-      
-      # Properties about a dimension.
-      class DimensionProperties
-        include Google::Apis::Core::Hashable
-      
-        # The height (if a row) or width (if a column) of the dimension in pixels.
-        # Corresponds to the JSON property `pixelSize`
-        # @return [Fixnum]
-        attr_accessor :pixel_size
-      
-        # True if this dimension is being filtered.
-        # This field is read-only.
-        # Corresponds to the JSON property `hiddenByFilter`
-        # @return [Boolean]
-        attr_accessor :hidden_by_filter
-        alias_method :hidden_by_filter?, :hidden_by_filter
-      
-        # True if this dimension is explicitly hidden.
-        # Corresponds to the JSON property `hiddenByUser`
-        # @return [Boolean]
-        attr_accessor :hidden_by_user
-        alias_method :hidden_by_user?, :hidden_by_user
-      
-        def initialize(**args)
-           update!(**args)
-        end
-      
-        # Update properties of this object
-        def update!(**args)
-          @pixel_size = args[:pixel_size] if args.key?(:pixel_size)
-          @hidden_by_filter = args[:hidden_by_filter] if args.key?(:hidden_by_filter)
-          @hidden_by_user = args[:hidden_by_user] if args.key?(:hidden_by_user)
-        end
-      end
-      
-      # A named range.
-      class NamedRange
-        include Google::Apis::Core::Hashable
-      
-        # The ID of the named range.
-        # Corresponds to the JSON property `namedRangeId`
-        # @return [String]
-        attr_accessor :named_range_id
-      
-        # A range on a sheet.
-        # All indexes are zero-based.
-        # Indexes are half open, e.g the start index is inclusive
-        # and the end index is exclusive -- [start_index, end_index).
-        # Missing indexes indicate the range is unbounded on that side.
-        # For example, if `"Sheet1"` is sheet ID 0, then:
-        # `Sheet1!A1:A1 == sheet_id: 0,
-        # start_row_index: 0, end_row_index: 1,
-        # start_column_index: 0, end_column_index: 1`
-        # `Sheet1!A3:B4 == sheet_id: 0,
-        # start_row_index: 2, end_row_index: 4,
-        # start_column_index: 0, end_column_index: 2`
-        # `Sheet1!A:B == sheet_id: 0,
-        # start_column_index: 0, end_column_index: 2`
-        # `Sheet1!A5:B == sheet_id: 0,
-        # start_row_index: 4,
-        # start_column_index: 0, end_column_index: 2`
-        # `Sheet1 == sheet_id:0`
-        # The start index must always be less than or equal to the end index.
-        # If the start index equals the end index, then the range is empty.
-        # Empty ranges are typically not meaningful and are usually rendered in the
-        # UI as `#REF!`.
-        # Corresponds to the JSON property `range`
-        # @return [Google::Apis::SheetsV4::GridRange]
-        attr_accessor :range
-      
-        # The name of the named range.
-        # Corresponds to the JSON property `name`
-        # @return [String]
-        attr_accessor :name
-      
-        def initialize(**args)
-           update!(**args)
-        end
-      
-        # Update properties of this object
-        def update!(**args)
-          @named_range_id = args[:named_range_id] if args.key?(:named_range_id)
-          @range = args[:range] if args.key?(:range)
-          @name = args[:name] if args.key?(:name)
-        end
-      end
-      
-      # A range along a single dimension on a sheet.
-      # All indexes are zero-based.
-      # Indexes are half open: the start index is inclusive
-      # and the end index is exclusive.
-      # Missing indexes indicate the range is unbounded on that side.
-      class DimensionRange
-        include Google::Apis::Core::Hashable
-      
-        # The start (inclusive) of the span, or not set if unbounded.
-        # Corresponds to the JSON property `startIndex`
-        # @return [Fixnum]
-        attr_accessor :start_index
-      
-        # The end (exclusive) of the span, or not set if unbounded.
-        # Corresponds to the JSON property `endIndex`
-        # @return [Fixnum]
-        attr_accessor :end_index
-      
-        # The sheet this span is on.
-        # Corresponds to the JSON property `sheetId`
-        # @return [Fixnum]
-        attr_accessor :sheet_id
-      
-        # The dimension of the span.
-        # Corresponds to the JSON property `dimension`
-        # @return [String]
-        attr_accessor :dimension
-      
-        def initialize(**args)
-           update!(**args)
-        end
-      
-        # Update properties of this object
-        def update!(**args)
-          @start_index = args[:start_index] if args.key?(:start_index)
-          @end_index = args[:end_index] if args.key?(:end_index)
-          @sheet_id = args[:sheet_id] if args.key?(:sheet_id)
-          @dimension = args[:dimension] if args.key?(:dimension)
-        end
-      end
-      
-      # Moves data from the source to the destination.
-      class CutPasteRequest
-        include Google::Apis::Core::Hashable
-      
-        # A coordinate in a sheet.
-        # All indexes are zero-based.
-        # Corresponds to the JSON property `destination`
-        # @return [Google::Apis::SheetsV4::GridCoordinate]
-        attr_accessor :destination
-      
-        # A range on a sheet.
-        # All indexes are zero-based.
-        # Indexes are half open, e.g the start index is inclusive
-        # and the end index is exclusive -- [start_index, end_index).
-        # Missing indexes indicate the range is unbounded on that side.
-        # For example, if `"Sheet1"` is sheet ID 0, then:
-        # `Sheet1!A1:A1 == sheet_id: 0,
-        # start_row_index: 0, end_row_index: 1,
-        # start_column_index: 0, end_column_index: 1`
-        # `Sheet1!A3:B4 == sheet_id: 0,
-        # start_row_index: 2, end_row_index: 4,
-        # start_column_index: 0, end_column_index: 2`
-        # `Sheet1!A:B == sheet_id: 0,
-        # start_column_index: 0, end_column_index: 2`
-        # `Sheet1!A5:B == sheet_id: 0,
-        # start_row_index: 4,
-        # start_column_index: 0, end_column_index: 2`
-        # `Sheet1 == sheet_id:0`
-        # The start index must always be less than or equal to the end index.
-        # If the start index equals the end index, then the range is empty.
-        # Empty ranges are typically not meaningful and are usually rendered in the
-        # UI as `#REF!`.
-        # Corresponds to the JSON property `source`
-        # @return [Google::Apis::SheetsV4::GridRange]
-        attr_accessor :source
-      
-        # What kind of data to paste.  All the source data will be cut, regardless
-        # of what is pasted.
-        # Corresponds to the JSON property `pasteType`
-        # @return [String]
-        attr_accessor :paste_type
-      
-        def initialize(**args)
-           update!(**args)
-        end
-      
-        # Update properties of this object
-        def update!(**args)
-          @destination = args[:destination] if args.key?(:destination)
-          @source = args[:source] if args.key?(:source)
-          @paste_type = args[:paste_type] if args.key?(:paste_type)
-        end
-      end
-      
-      # The borders of the cell.
-      class Borders
-        include Google::Apis::Core::Hashable
-      
-        # A border along a cell.
-        # Corresponds to the JSON property `top`
-        # @return [Google::Apis::SheetsV4::Border]
-        attr_accessor :top
-      
-        # A border along a cell.
-        # Corresponds to the JSON property `left`
-        # @return [Google::Apis::SheetsV4::Border]
-        attr_accessor :left
-      
-        # A border along a cell.
-        # Corresponds to the JSON property `right`
-        # @return [Google::Apis::SheetsV4::Border]
-        attr_accessor :right
-      
-        # A border along a cell.
-        # Corresponds to the JSON property `bottom`
-        # @return [Google::Apis::SheetsV4::Border]
-        attr_accessor :bottom
-      
-        def initialize(**args)
-           update!(**args)
-        end
-      
-        # Update properties of this object
-        def update!(**args)
-          @top = args[:top] if args.key?(:top)
-          @left = args[:left] if args.key?(:left)
-          @right = args[:right] if args.key?(:right)
-          @bottom = args[:bottom] if args.key?(:bottom)
-        end
-      end
-      
-      # A single series of data in a chart.
-      # For example, if charting stock prices over time, multiple series may exist,
-      # one for the "Open Price", "High Price", "Low Price" and "Close Price".
-      class BasicChartSeries
-        include Google::Apis::Core::Hashable
-      
-        # The data included in a domain or series.
-        # Corresponds to the JSON property `series`
-        # @return [Google::Apis::SheetsV4::ChartData]
-        attr_accessor :series
-      
-        # The type of this series. Valid only if the
-        # chartType is
-        # COMBO.
-        # Different types will change the way the series is visualized.
-        # Only LINE, AREA,
-        # and COLUMN are supported.
-        # Corresponds to the JSON property `type`
-        # @return [String]
-        attr_accessor :type
-      
-        # The minor axis that will specify the range of values for this series.
-        # For example, if charting stocks over time, the "Volume" series
-        # may want to be pinned to the right with the prices pinned to the left,
-        # because the scale of trading volume is different than the scale of
-        # prices.
-        # It is an error to specify an axis that isn't a valid minor axis
-        # for the chart's type.
-        # Corresponds to the JSON property `targetAxis`
-        # @return [String]
-        attr_accessor :target_axis
-      
-        def initialize(**args)
-           update!(**args)
-        end
-      
-        # Update properties of this object
-        def update!(**args)
-          @series = args[:series] if args.key?(:series)
-          @type = args[:type] if args.key?(:type)
-          @target_axis = args[:target_axis] if args.key?(:target_axis)
-        end
-      end
-      
-      # Automatically resizes one or more dimensions based on the contents
-      # of the cells in that dimension.
-      class AutoResizeDimensionsRequest
-        include Google::Apis::Core::Hashable
-      
-        # A range along a single dimension on a sheet.
-        # All indexes are zero-based.
-        # Indexes are half open: the start index is inclusive
-        # and the end index is exclusive.
-        # Missing indexes indicate the range is unbounded on that side.
-        # Corresponds to the JSON property `dimensions`
-        # @return [Google::Apis::SheetsV4::DimensionRange]
-        attr_accessor :dimensions
-      
-        def initialize(**args)
-           update!(**args)
-        end
-      
-        # Update properties of this object
-        def update!(**args)
-          @dimensions = args[:dimensions] if args.key?(:dimensions)
-        end
-      end
-      
-      # Updates the borders of a range.
-      # If a field is not set in the request, that means the border remains as-is.
-      # For example, with two subsequent UpdateBordersRequest:
-      # 1. range: A1:A5 `` top: RED, bottom: WHITE ``
-      # 2. range: A1:A5 `` left: BLUE ``
-      # That would result in A1:A5 having a borders of
-      # `` top: RED, bottom: WHITE, left: BLUE ``.
-      # If you want to clear a border, explicitly set the style to
-      # NONE.
-      class UpdateBordersRequest
-        include Google::Apis::Core::Hashable
-      
-        # A border along a cell.
-        # Corresponds to the JSON property `top`
-        # @return [Google::Apis::SheetsV4::Border]
-        attr_accessor :top
-      
-        # A border along a cell.
-        # Corresponds to the JSON property `left`
-        # @return [Google::Apis::SheetsV4::Border]
-        attr_accessor :left
-      
-        # A border along a cell.
-        # Corresponds to the JSON property `bottom`
-        # @return [Google::Apis::SheetsV4::Border]
-        attr_accessor :bottom
-      
-        # A border along a cell.
-        # Corresponds to the JSON property `innerVertical`
-        # @return [Google::Apis::SheetsV4::Border]
-        attr_accessor :inner_vertical
-      
-        # A border along a cell.
-        # Corresponds to the JSON property `right`
-        # @return [Google::Apis::SheetsV4::Border]
-        attr_accessor :right
-      
-        # A range on a sheet.
-        # All indexes are zero-based.
-        # Indexes are half open, e.g the start index is inclusive
-        # and the end index is exclusive -- [start_index, end_index).
-        # Missing indexes indicate the range is unbounded on that side.
-        # For example, if `"Sheet1"` is sheet ID 0, then:
-        # `Sheet1!A1:A1 == sheet_id: 0,
-        # start_row_index: 0, end_row_index: 1,
-        # start_column_index: 0, end_column_index: 1`
-        # `Sheet1!A3:B4 == sheet_id: 0,
-        # start_row_index: 2, end_row_index: 4,
-        # start_column_index: 0, end_column_index: 2`
-        # `Sheet1!A:B == sheet_id: 0,
-        # start_column_index: 0, end_column_index: 2`
-        # `Sheet1!A5:B == sheet_id: 0,
-        # start_row_index: 4,
-        # start_column_index: 0, end_column_index: 2`
-        # `Sheet1 == sheet_id:0`
-        # The start index must always be less than or equal to the end index.
-        # If the start index equals the end index, then the range is empty.
-        # Empty ranges are typically not meaningful and are usually rendered in the
-        # UI as `#REF!`.
-        # Corresponds to the JSON property `range`
-        # @return [Google::Apis::SheetsV4::GridRange]
-        attr_accessor :range
-      
-        # A border along a cell.
-        # Corresponds to the JSON property `innerHorizontal`
-        # @return [Google::Apis::SheetsV4::Border]
-        attr_accessor :inner_horizontal
-      
-        def initialize(**args)
-           update!(**args)
-        end
-      
-        # Update properties of this object
-        def update!(**args)
-          @top = args[:top] if args.key?(:top)
-          @left = args[:left] if args.key?(:left)
-          @bottom = args[:bottom] if args.key?(:bottom)
-          @inner_vertical = args[:inner_vertical] if args.key?(:inner_vertical)
-          @right = args[:right] if args.key?(:right)
-          @range = args[:range] if args.key?(:range)
-          @inner_horizontal = args[:inner_horizontal] if args.key?(:inner_horizontal)
-        end
-      end
-      
-      # The format of a cell.
-      class CellFormat
-        include Google::Apis::Core::Hashable
-      
-        # The wrap strategy for the value in the cell.
-        # Corresponds to the JSON property `wrapStrategy`
-        # @return [String]
-        attr_accessor :wrap_strategy
-      
-        # The rotation applied to text in a cell.
-        # Corresponds to the JSON property `textRotation`
-        # @return [Google::Apis::SheetsV4::TextRotation]
-        attr_accessor :text_rotation
-      
-        # The number format of a cell.
-        # Corresponds to the JSON property `numberFormat`
-        # @return [Google::Apis::SheetsV4::NumberFormat]
-        attr_accessor :number_format
-      
-        # The horizontal alignment of the value in the cell.
-        # Corresponds to the JSON property `horizontalAlignment`
-        # @return [String]
-        attr_accessor :horizontal_alignment
-      
-        # How a hyperlink, if it exists, should be displayed in the cell.
-        # Corresponds to the JSON property `hyperlinkDisplayType`
-        # @return [String]
-        attr_accessor :hyperlink_display_type
-      
-        # The format of a run of text in a cell.
-        # Absent values indicate that the field isn't specified.
-        # Corresponds to the JSON property `textFormat`
-        # @return [Google::Apis::SheetsV4::TextFormat]
-        attr_accessor :text_format
-      
-        # Represents a color in the RGBA color space. This representation is designed
-        # for simplicity of conversion to/from color representations in various
-        # languages over compactness; for example, the fields of this representation
-        # can be trivially provided to the constructor of "java.awt.Color" in Java; it
-        # can also be trivially provided to UIColor's "+colorWithRed:green:blue:alpha"
-        # method in iOS; and, with just a little work, it can be easily formatted into
-        # a CSS "rgba()" string in JavaScript, as well. Here are some examples:
-        # Example (Java):
-        # import com.google.type.Color;
-        # // ...
-        # public static java.awt.Color fromProto(Color protocolor) `
-        # float alpha = protocolor.hasAlpha()
-        # ? protocolor.getAlpha().getValue()
-        # : 1.0;
-        # return new java.awt.Color(
-        # protocolor.getRed(),
-        # protocolor.getGreen(),
-        # protocolor.getBlue(),
-        # alpha);
-        # `
-        # public static Color toProto(java.awt.Color color) `
-        # float red = (float) color.getRed();
-        # float green = (float) color.getGreen();
-        # float blue = (float) color.getBlue();
-        # float denominator = 255.0;
-        # Color.Builder resultBuilder =
-        # Color
-        # .newBuilder()
-        # .setRed(red / denominator)
-        # .setGreen(green / denominator)
-        # .setBlue(blue / denominator);
-        # int alpha = color.getAlpha();
-        # if (alpha != 255) `
-        # result.setAlpha(
-        # FloatValue
-        # .newBuilder()
-        # .setValue(((float) alpha) / denominator)
-        # .build());
-        # `
-        # return resultBuilder.build();
-        # `
-        # // ...
-        # Example (iOS / Obj-C):
-        # // ...
-        # static UIColor* fromProto(Color* protocolor) `
-        # float red = [protocolor red];
-        # float green = [protocolor green];
-        # float blue = [protocolor blue];
-        # FloatValue* alpha_wrapper = [protocolor alpha];
-        # float alpha = 1.0;
-        # if (alpha_wrapper != nil) `
-        # alpha = [alpha_wrapper value];
-        # `
-        # return [UIColor colorWithRed:red green:green blue:blue alpha:alpha];
-        # `
-        # static Color* toProto(UIColor* color) `
-        # CGFloat red, green, blue, alpha;
-        # if (![color getRed:&red green:&green blue:&blue alpha:&alpha]) `
-        # return nil;
-        # `
-        # Color* result = [Color alloc] init];
-        # [result setRed:red];
-        # [result setGreen:green];
-        # [result setBlue:blue];
-        # if (alpha <= 0.9999) `
-        # [result setAlpha:floatWrapperWithValue(alpha)];
-        # `
-        # [result autorelease];
-        # return result;
-        # `
-        # // ...
-        # Example (JavaScript):
-        # // ...
-        # var protoToCssColor = function(rgb_color) `
-        # var redFrac = rgb_color.red || 0.0;
-        # var greenFrac = rgb_color.green || 0.0;
-        # var blueFrac = rgb_color.blue || 0.0;
-        # var red = Math.floor(redFrac * 255);
-        # var green = Math.floor(greenFrac * 255);
-        # var blue = Math.floor(blueFrac * 255);
-        # if (!('alpha' in rgb_color)) `
-        # return rgbToCssColor_(red, green, blue);
-        # `
-        # var alphaFrac = rgb_color.alpha.value || 0.0;
-        # var rgbParams = [red, green, blue].join(',');
-        # return ['rgba(', rgbParams, ',', alphaFrac, ')'].join('');
-        # `;
-        # var rgbToCssColor_ = function(red, green, blue) `
-        # var rgbNumber = new Number((red << 16) | (green << 8) | blue);
-        # var hexString = rgbNumber.toString(16);
-        # var missingZeros = 6 - hexString.length;
-        # var resultBuilder = ['#'];
-        # for (var i = 0; i < missingZeros; i++) `
-        # resultBuilder.push('0');
-        # `
-        # resultBuilder.push(hexString);
-        # return resultBuilder.join('');
-        # `;
-        # // ...
-        # Corresponds to the JSON property `backgroundColor`
-        # @return [Google::Apis::SheetsV4::Color]
-        attr_accessor :background_color
-      
-        # The vertical alignment of the value in the cell.
-        # Corresponds to the JSON property `verticalAlignment`
-        # @return [String]
-        attr_accessor :vertical_alignment
-      
-        # The amount of padding around the cell, in pixels.
-        # When updating padding, every field must be specified.
-        # Corresponds to the JSON property `padding`
-        # @return [Google::Apis::SheetsV4::Padding]
-        attr_accessor :padding
-      
-        # The direction of the text in the cell.
-        # Corresponds to the JSON property `textDirection`
-        # @return [String]
-        attr_accessor :text_direction
-      
-        # The borders of the cell.
-        # Corresponds to the JSON property `borders`
-        # @return [Google::Apis::SheetsV4::Borders]
-        attr_accessor :borders
-      
-        def initialize(**args)
-           update!(**args)
-        end
-      
-        # Update properties of this object
-        def update!(**args)
-          @wrap_strategy = args[:wrap_strategy] if args.key?(:wrap_strategy)
-          @text_rotation = args[:text_rotation] if args.key?(:text_rotation)
-          @number_format = args[:number_format] if args.key?(:number_format)
-          @horizontal_alignment = args[:horizontal_alignment] if args.key?(:horizontal_alignment)
-          @hyperlink_display_type = args[:hyperlink_display_type] if args.key?(:hyperlink_display_type)
-          @text_format = args[:text_format] if args.key?(:text_format)
-          @background_color = args[:background_color] if args.key?(:background_color)
-          @vertical_alignment = args[:vertical_alignment] if args.key?(:vertical_alignment)
-          @padding = args[:padding] if args.key?(:padding)
-          @text_direction = args[:text_direction] if args.key?(:text_direction)
-          @borders = args[:borders] if args.key?(:borders)
-        end
-      end
-      
-      # The response when clearing a range of values in a spreadsheet.
-      class ClearValuesResponse
-        include Google::Apis::Core::Hashable
-      
-        # The range (in A1 notation) that was cleared.
-        # (If the request was for an unbounded range or a ranger larger
-        # than the bounds of the sheet, this will be the actual range
-        # that was cleared, bounded to the sheet's limits.)
-        # Corresponds to the JSON property `clearedRange`
-        # @return [String]
-        attr_accessor :cleared_range
-      
-        # The spreadsheet the updates were applied to.
-        # Corresponds to the JSON property `spreadsheetId`
-        # @return [String]
-        attr_accessor :spreadsheet_id
-      
-        def initialize(**args)
-           update!(**args)
-        end
-      
-        # Update properties of this object
-        def update!(**args)
-          @cleared_range = args[:cleared_range] if args.key?(:cleared_range)
-          @spreadsheet_id = args[:spreadsheet_id] if args.key?(:spreadsheet_id)
-        end
-      end
-      
-      # Deletes a conditional format rule at the given index.
-      # All subsequent rules' indexes are decremented.
-      class DeleteConditionalFormatRuleRequest
-        include Google::Apis::Core::Hashable
-      
-        # The zero-based index of the rule to be deleted.
-        # Corresponds to the JSON property `index`
-        # @return [Fixnum]
-        attr_accessor :index
-      
-        # The sheet the rule is being deleted from.
-        # Corresponds to the JSON property `sheetId`
-        # @return [Fixnum]
-        attr_accessor :sheet_id
-      
-        def initialize(**args)
-           update!(**args)
-        end
-      
-        # Update properties of this object
-        def update!(**args)
-          @index = args[:index] if args.key?(:index)
-          @sheet_id = args[:sheet_id] if args.key?(:sheet_id)
-        end
-      end
-      
-      # Removes the named range with the given ID from the spreadsheet.
-      class DeleteNamedRangeRequest
-        include Google::Apis::Core::Hashable
-      
-        # The ID of the named range to delete.
-        # Corresponds to the JSON property `namedRangeId`
-        # @return [String]
-        attr_accessor :named_range_id
-      
-        def initialize(**args)
-           update!(**args)
-        end
-      
-        # Update properties of this object
-        def update!(**args)
-          @named_range_id = args[:named_range_id] if args.key?(:named_range_id)
-        end
-      end
-      
-      # The result of adding a banded range.
-      class AddBandingResponse
-        include Google::Apis::Core::Hashable
-      
-        # A banded (alternating colors) range in a sheet.
-        # Corresponds to the JSON property `bandedRange`
-        # @return [Google::Apis::SheetsV4::BandedRange]
-        attr_accessor :banded_range
-      
-        def initialize(**args)
-           update!(**args)
-        end
-      
-        # Update properties of this object
-        def update!(**args)
-          @banded_range = args[:banded_range] if args.key?(:banded_range)
-        end
-      end
-      
-      # The data included in a domain or series.
-      class ChartData
-        include Google::Apis::Core::Hashable
-      
-        # Source ranges for a chart.
-        # Corresponds to the JSON property `sourceRange`
-        # @return [Google::Apis::SheetsV4::ChartSourceRange]
-        attr_accessor :source_range
-      
-        def initialize(**args)
-           update!(**args)
-        end
-      
-        # Update properties of this object
-        def update!(**args)
-          @source_range = args[:source_range] if args.key?(:source_range)
-        end
-      end
-      
-      # The response when retrieving more than one range of values in a spreadsheet.
-      class BatchGetValuesResponse
-        include Google::Apis::Core::Hashable
-      
-        # The requested values. The order of the ValueRanges is the same as the
-        # order of the requested ranges.
-        # Corresponds to the JSON property `valueRanges`
-        # @return [Array]
-        attr_accessor :value_ranges
-      
-        # The ID of the spreadsheet the data was retrieved from.
-        # Corresponds to the JSON property `spreadsheetId`
-        # @return [String]
-        attr_accessor :spreadsheet_id
-      
-        def initialize(**args)
-           update!(**args)
-        end
-      
-        # Update properties of this object
-        def update!(**args)
-          @value_ranges = args[:value_ranges] if args.key?(:value_ranges)
-          @spreadsheet_id = args[:spreadsheet_id] if args.key?(:spreadsheet_id)
-        end
-      end
-      
-      # Updates properties of the supplied banded range.
-      class UpdateBandingRequest
-        include Google::Apis::Core::Hashable
-      
-        # The fields that should be updated.  At least one field must be specified.
-        # The root `bandedRange` is implied and should not be specified.
-        # A single `"*"` can be used as short-hand for listing every field.
-        # Corresponds to the JSON property `fields`
-        # @return [String]
-        attr_accessor :fields
-      
-        # A banded (alternating colors) range in a sheet.
-        # Corresponds to the JSON property `bandedRange`
-        # @return [Google::Apis::SheetsV4::BandedRange]
-        attr_accessor :banded_range
-      
-        def initialize(**args)
-           update!(**args)
-        end
-      
-        # Update properties of this object
-        def update!(**args)
-          @fields = args[:fields] if args.key?(:fields)
-          @banded_range = args[:banded_range] if args.key?(:banded_range)
-        end
-      end
-      
-      # Represents a color in the RGBA color space. This representation is designed
-      # for simplicity of conversion to/from color representations in various
-      # languages over compactness; for example, the fields of this representation
-      # can be trivially provided to the constructor of "java.awt.Color" in Java; it
-      # can also be trivially provided to UIColor's "+colorWithRed:green:blue:alpha"
-      # method in iOS; and, with just a little work, it can be easily formatted into
-      # a CSS "rgba()" string in JavaScript, as well. Here are some examples:
-      # Example (Java):
-      # import com.google.type.Color;
-      # // ...
-      # public static java.awt.Color fromProto(Color protocolor) `
-      # float alpha = protocolor.hasAlpha()
-      # ? protocolor.getAlpha().getValue()
-      # : 1.0;
-      # return new java.awt.Color(
-      # protocolor.getRed(),
-      # protocolor.getGreen(),
-      # protocolor.getBlue(),
-      # alpha);
-      # `
-      # public static Color toProto(java.awt.Color color) `
-      # float red = (float) color.getRed();
-      # float green = (float) color.getGreen();
-      # float blue = (float) color.getBlue();
-      # float denominator = 255.0;
-      # Color.Builder resultBuilder =
-      # Color
-      # .newBuilder()
-      # .setRed(red / denominator)
-      # .setGreen(green / denominator)
-      # .setBlue(blue / denominator);
-      # int alpha = color.getAlpha();
-      # if (alpha != 255) `
-      # result.setAlpha(
-      # FloatValue
-      # .newBuilder()
-      # .setValue(((float) alpha) / denominator)
-      # .build());
-      # `
-      # return resultBuilder.build();
-      # `
-      # // ...
-      # Example (iOS / Obj-C):
-      # // ...
-      # static UIColor* fromProto(Color* protocolor) `
-      # float red = [protocolor red];
-      # float green = [protocolor green];
-      # float blue = [protocolor blue];
-      # FloatValue* alpha_wrapper = [protocolor alpha];
-      # float alpha = 1.0;
-      # if (alpha_wrapper != nil) `
-      # alpha = [alpha_wrapper value];
-      # `
-      # return [UIColor colorWithRed:red green:green blue:blue alpha:alpha];
-      # `
-      # static Color* toProto(UIColor* color) `
-      # CGFloat red, green, blue, alpha;
-      # if (![color getRed:&red green:&green blue:&blue alpha:&alpha]) `
-      # return nil;
-      # `
-      # Color* result = [Color alloc] init];
-      # [result setRed:red];
-      # [result setGreen:green];
-      # [result setBlue:blue];
-      # if (alpha <= 0.9999) `
-      # [result setAlpha:floatWrapperWithValue(alpha)];
-      # `
-      # [result autorelease];
-      # return result;
-      # `
-      # // ...
-      # Example (JavaScript):
-      # // ...
-      # var protoToCssColor = function(rgb_color) `
-      # var redFrac = rgb_color.red || 0.0;
-      # var greenFrac = rgb_color.green || 0.0;
-      # var blueFrac = rgb_color.blue || 0.0;
-      # var red = Math.floor(redFrac * 255);
-      # var green = Math.floor(greenFrac * 255);
-      # var blue = Math.floor(blueFrac * 255);
-      # if (!('alpha' in rgb_color)) `
-      # return rgbToCssColor_(red, green, blue);
-      # `
-      # var alphaFrac = rgb_color.alpha.value || 0.0;
-      # var rgbParams = [red, green, blue].join(',');
-      # return ['rgba(', rgbParams, ',', alphaFrac, ')'].join('');
-      # `;
-      # var rgbToCssColor_ = function(red, green, blue) `
-      # var rgbNumber = new Number((red << 16) | (green << 8) | blue);
-      # var hexString = rgbNumber.toString(16);
-      # var missingZeros = 6 - hexString.length;
-      # var resultBuilder = ['#'];
-      # for (var i = 0; i < missingZeros; i++) `
-      # resultBuilder.push('0');
-      # `
-      # resultBuilder.push(hexString);
-      # return resultBuilder.join('');
-      # `;
-      # // ...
-      class Color
-        include Google::Apis::Core::Hashable
-      
-        # The amount of red in the color as a value in the interval [0, 1].
-        # Corresponds to the JSON property `red`
-        # @return [Float]
-        attr_accessor :red
-      
-        # The amount of green in the color as a value in the interval [0, 1].
-        # Corresponds to the JSON property `green`
-        # @return [Float]
-        attr_accessor :green
-      
-        # The amount of blue in the color as a value in the interval [0, 1].
-        # Corresponds to the JSON property `blue`
-        # @return [Float]
-        attr_accessor :blue
-      
-        # The fraction of this color that should be applied to the pixel. That is,
-        # the final pixel color is defined by the equation:
-        # pixel color = alpha * (this color) + (1.0 - alpha) * (background color)
-        # This means that a value of 1.0 corresponds to a solid color, whereas
-        # a value of 0.0 corresponds to a completely transparent color. This
-        # uses a wrapper message rather than a simple float scalar so that it is
-        # possible to distinguish between a default value and the value being unset.
-        # If omitted, this color object is to be rendered as a solid color
-        # (as if the alpha value had been explicitly given with a value of 1.0).
-        # Corresponds to the JSON property `alpha`
-        # @return [Float]
-        attr_accessor :alpha
-      
-        def initialize(**args)
-           update!(**args)
-        end
-      
-        # Update properties of this object
-        def update!(**args)
-          @red = args[:red] if args.key?(:red)
-          @green = args[:green] if args.key?(:green)
-          @blue = args[:blue] if args.key?(:blue)
-          @alpha = args[:alpha] if args.key?(:alpha)
-        end
-      end
-      
-      # A single grouping (either row or column) in a pivot table.
-      class PivotGroup
-        include Google::Apis::Core::Hashable
-      
-        # The order the values in this group should be sorted.
-        # Corresponds to the JSON property `sortOrder`
-        # @return [String]
-        attr_accessor :sort_order
-      
-        # Information about which values in a pivot group should be used for sorting.
-        # Corresponds to the JSON property `valueBucket`
-        # @return [Google::Apis::SheetsV4::PivotGroupSortValueBucket]
-        attr_accessor :value_bucket
-      
-        # The column offset of the source range that this grouping is based on.
-        # For example, if the source was `C10:E15`, a `sourceColumnOffset` of `0`
-        # means this group refers to column `C`, whereas the offset `1` would refer
-        # to column `D`.
-        # Corresponds to the JSON property `sourceColumnOffset`
-        # @return [Fixnum]
-        attr_accessor :source_column_offset
-      
-        # True if the pivot table should include the totals for this grouping.
-        # Corresponds to the JSON property `showTotals`
-        # @return [Boolean]
-        attr_accessor :show_totals
-        alias_method :show_totals?, :show_totals
-      
-        # Metadata about values in the grouping.
-        # Corresponds to the JSON property `valueMetadata`
-        # @return [Array]
-        attr_accessor :value_metadata
-      
-        def initialize(**args)
-           update!(**args)
-        end
-      
-        # Update properties of this object
-        def update!(**args)
-          @sort_order = args[:sort_order] if args.key?(:sort_order)
-          @value_bucket = args[:value_bucket] if args.key?(:value_bucket)
-          @source_column_offset = args[:source_column_offset] if args.key?(:source_column_offset)
-          @show_totals = args[:show_totals] if args.key?(:show_totals)
-          @value_metadata = args[:value_metadata] if args.key?(:value_metadata)
-        end
-      end
-      
-      # A pivot table.
-      class PivotTable
-        include Google::Apis::Core::Hashable
-      
-        # An optional mapping of filters per source column offset.
-        # The filters will be applied before aggregating data into the pivot table.
-        # The map's key is the column offset of the source range that you want to
-        # filter, and the value is the criteria for that column.
-        # For example, if the source was `C10:E15`, a key of `0` will have the filter
-        # for column `C`, whereas the key `1` is for column `D`.
-        # Corresponds to the JSON property `criteria`
-        # @return [Hash]
-        attr_accessor :criteria
-      
-        # Each row grouping in the pivot table.
-        # Corresponds to the JSON property `rows`
-        # @return [Array]
-        attr_accessor :rows
-      
-        # Whether values should be listed horizontally (as columns)
-        # or vertically (as rows).
-        # Corresponds to the JSON property `valueLayout`
-        # @return [String]
-        attr_accessor :value_layout
-      
-        # Each column grouping in the pivot table.
-        # Corresponds to the JSON property `columns`
-        # @return [Array]
-        attr_accessor :columns
-      
-        # A list of values to include in the pivot table.
-        # Corresponds to the JSON property `values`
-        # @return [Array]
-        attr_accessor :values
-      
-        # A range on a sheet.
-        # All indexes are zero-based.
-        # Indexes are half open, e.g the start index is inclusive
-        # and the end index is exclusive -- [start_index, end_index).
-        # Missing indexes indicate the range is unbounded on that side.
-        # For example, if `"Sheet1"` is sheet ID 0, then:
-        # `Sheet1!A1:A1 == sheet_id: 0,
-        # start_row_index: 0, end_row_index: 1,
-        # start_column_index: 0, end_column_index: 1`
-        # `Sheet1!A3:B4 == sheet_id: 0,
-        # start_row_index: 2, end_row_index: 4,
-        # start_column_index: 0, end_column_index: 2`
-        # `Sheet1!A:B == sheet_id: 0,
-        # start_column_index: 0, end_column_index: 2`
-        # `Sheet1!A5:B == sheet_id: 0,
-        # start_row_index: 4,
-        # start_column_index: 0, end_column_index: 2`
-        # `Sheet1 == sheet_id:0`
-        # The start index must always be less than or equal to the end index.
-        # If the start index equals the end index, then the range is empty.
-        # Empty ranges are typically not meaningful and are usually rendered in the
-        # UI as `#REF!`.
-        # Corresponds to the JSON property `source`
-        # @return [Google::Apis::SheetsV4::GridRange]
-        attr_accessor :source
-      
-        def initialize(**args)
-           update!(**args)
-        end
-      
-        # Update properties of this object
-        def update!(**args)
-          @criteria = args[:criteria] if args.key?(:criteria)
-          @rows = args[:rows] if args.key?(:rows)
-          @value_layout = args[:value_layout] if args.key?(:value_layout)
-          @columns = args[:columns] if args.key?(:columns)
-          @values = args[:values] if args.key?(:values)
-          @source = args[:source] if args.key?(:source)
-        end
-      end
-      
-      # Source ranges for a chart.
-      class ChartSourceRange
-        include Google::Apis::Core::Hashable
-      
-        # The ranges of data for a series or domain.
-        # Exactly one dimension must have a length of 1,
-        # and all sources in the list must have the same dimension
-        # with length 1.
-        # The domain (if it exists) & all series must have the same number
-        # of source ranges. If using more than one source range, then the source
-        # range at a given offset must be contiguous across the domain and series.
-        # For example, these are valid configurations:
-        # domain sources: A1:A5
-        # series1 sources: B1:B5
-        # series2 sources: D6:D10
-        # domain sources: A1:A5, C10:C12
-        # series1 sources: B1:B5, D10:D12
-        # series2 sources: C1:C5, E10:E12
-        # Corresponds to the JSON property `sources`
-        # @return [Array]
-        attr_accessor :sources
-      
-        def initialize(**args)
-           update!(**args)
-        end
-      
-        # Update properties of this object
-        def update!(**args)
-          @sources = args[:sources] if args.key?(:sources)
-        end
-      end
-      
-      # Adds new cells after the last row with data in a sheet,
-      # inserting new rows into the sheet if necessary.
-      class AppendCellsRequest
-        include Google::Apis::Core::Hashable
-      
-        # The data to append.
-        # Corresponds to the JSON property `rows`
-        # @return [Array]
-        attr_accessor :rows
-      
-        # The fields of CellData that should be updated.
-        # At least one field must be specified.
-        # The root is the CellData; 'row.values.' should not be specified.
-        # A single `"*"` can be used as short-hand for listing every field.
-        # Corresponds to the JSON property `fields`
-        # @return [String]
-        attr_accessor :fields
-      
-        # The sheet ID to append the data to.
-        # Corresponds to the JSON property `sheetId`
-        # @return [Fixnum]
-        attr_accessor :sheet_id
-      
-        def initialize(**args)
-           update!(**args)
-        end
-      
-        # Update properties of this object
-        def update!(**args)
-          @rows = args[:rows] if args.key?(:rows)
-          @fields = args[:fields] if args.key?(:fields)
-          @sheet_id = args[:sheet_id] if args.key?(:sheet_id)
-        end
-      end
-      
-      # Data within a range of the spreadsheet.
-      class ValueRange
-        include Google::Apis::Core::Hashable
-      
-        # The range the values cover, in A1 notation.
-        # For output, this range indicates the entire requested range,
-        # even though the values will exclude trailing rows and columns.
-        # When appending values, this field represents the range to search for a
-        # table, after which values will be appended.
-        # Corresponds to the JSON property `range`
-        # @return [String]
-        attr_accessor :range
-      
-        # The major dimension of the values.
-        # For output, if the spreadsheet data is: `A1=1,B1=2,A2=3,B2=4`,
-        # then requesting `range=A1:B2,majorDimension=ROWS` will return
-        # `[[1,2],[3,4]]`,
-        # whereas requesting `range=A1:B2,majorDimension=COLUMNS` will return
-        # `[[1,3],[2,4]]`.
-        # For input, with `range=A1:B2,majorDimension=ROWS` then `[[1,2],[3,4]]`
-        # will set `A1=1,B1=2,A2=3,B2=4`. With `range=A1:B2,majorDimension=COLUMNS`
-        # then `[[1,2],[3,4]]` will set `A1=1,B1=3,A2=2,B2=4`.
-        # When writing, if this field is not set, it defaults to ROWS.
-        # Corresponds to the JSON property `majorDimension`
-        # @return [String]
-        attr_accessor :major_dimension
-      
-        # The data that was read or to be written.  This is an array of arrays,
-        # the outer array representing all the data and each inner array
-        # representing a major dimension. Each item in the inner array
-        # corresponds with one cell.
-        # For output, empty trailing rows and columns will not be included.
-        # For input, supported value types are: bool, string, and double.
-        # Null values will be skipped.
-        # To set a cell to an empty value, set the string value to an empty string.
-        # Corresponds to the JSON property `values`
-        # @return [Array>]
-        attr_accessor :values
-      
-        def initialize(**args)
-           update!(**args)
-        end
-      
-        # Update properties of this object
-        def update!(**args)
-          @range = args[:range] if args.key?(:range)
-          @major_dimension = args[:major_dimension] if args.key?(:major_dimension)
-          @values = args[:values] if args.key?(:values)
-        end
-      end
-      
-      # Adds a new banded range to the spreadsheet.
-      class AddBandingRequest
-        include Google::Apis::Core::Hashable
-      
-        # A banded (alternating colors) range in a sheet.
-        # Corresponds to the JSON property `bandedRange`
-        # @return [Google::Apis::SheetsV4::BandedRange]
-        attr_accessor :banded_range
-      
-        def initialize(**args)
-           update!(**args)
-        end
-      
-        # Update properties of this object
-        def update!(**args)
-          @banded_range = args[:banded_range] if args.key?(:banded_range)
-        end
-      end
     end
   end
 end
diff --git a/generated/google/apis/sheets_v4/representations.rb b/generated/google/apis/sheets_v4/representations.rb
index 3e16c1213..4e7895390 100644
--- a/generated/google/apis/sheets_v4/representations.rb
+++ b/generated/google/apis/sheets_v4/representations.rb
@@ -22,13 +22,289 @@ module Google
   module Apis
     module SheetsV4
       
+      class DeleteSheetRequest
+        class Representation < Google::Apis::Core::JsonRepresentation; end
+      
+        include Google::Apis::Core::JsonObjectSupport
+      end
+      
+      class DuplicateFilterViewRequest
+        class Representation < Google::Apis::Core::JsonRepresentation; end
+      
+        include Google::Apis::Core::JsonObjectSupport
+      end
+      
+      class UpdateConditionalFormatRuleResponse
+        class Representation < Google::Apis::Core::JsonRepresentation; end
+      
+        include Google::Apis::Core::JsonObjectSupport
+      end
+      
+      class ConditionValue
+        class Representation < Google::Apis::Core::JsonRepresentation; end
+      
+        include Google::Apis::Core::JsonObjectSupport
+      end
+      
+      class DuplicateSheetRequest
+        class Representation < Google::Apis::Core::JsonRepresentation; end
+      
+        include Google::Apis::Core::JsonObjectSupport
+      end
+      
+      class ExtendedValue
+        class Representation < Google::Apis::Core::JsonRepresentation; end
+      
+        include Google::Apis::Core::JsonObjectSupport
+      end
+      
+      class AddChartRequest
+        class Representation < Google::Apis::Core::JsonRepresentation; end
+      
+        include Google::Apis::Core::JsonObjectSupport
+      end
+      
+      class Spreadsheet
+        class Representation < Google::Apis::Core::JsonRepresentation; end
+      
+        include Google::Apis::Core::JsonObjectSupport
+      end
+      
+      class BatchClearValuesResponse
+        class Representation < Google::Apis::Core::JsonRepresentation; end
+      
+        include Google::Apis::Core::JsonObjectSupport
+      end
+      
+      class BandedRange
+        class Representation < Google::Apis::Core::JsonRepresentation; end
+      
+        include Google::Apis::Core::JsonObjectSupport
+      end
+      
+      class UpdateProtectedRangeRequest
+        class Representation < Google::Apis::Core::JsonRepresentation; end
+      
+        include Google::Apis::Core::JsonObjectSupport
+      end
+      
+      class TextFormat
+        class Representation < Google::Apis::Core::JsonRepresentation; end
+      
+        include Google::Apis::Core::JsonObjectSupport
+      end
+      
+      class AddSheetResponse
+        class Representation < Google::Apis::Core::JsonRepresentation; end
+      
+        include Google::Apis::Core::JsonObjectSupport
+      end
+      
+      class AddFilterViewResponse
+        class Representation < Google::Apis::Core::JsonRepresentation; end
+      
+        include Google::Apis::Core::JsonObjectSupport
+      end
+      
+      class IterativeCalculationSettings
+        class Representation < Google::Apis::Core::JsonRepresentation; end
+      
+        include Google::Apis::Core::JsonObjectSupport
+      end
+      
+      class SpreadsheetProperties
+        class Representation < Google::Apis::Core::JsonRepresentation; end
+      
+        include Google::Apis::Core::JsonObjectSupport
+      end
+      
+      class OverlayPosition
+        class Representation < Google::Apis::Core::JsonRepresentation; end
+      
+        include Google::Apis::Core::JsonObjectSupport
+      end
+      
+      class RepeatCellRequest
+        class Representation < Google::Apis::Core::JsonRepresentation; end
+      
+        include Google::Apis::Core::JsonObjectSupport
+      end
+      
+      class AddChartResponse
+        class Representation < Google::Apis::Core::JsonRepresentation; end
+      
+        include Google::Apis::Core::JsonObjectSupport
+      end
+      
+      class InsertDimensionRequest
+        class Representation < Google::Apis::Core::JsonRepresentation; end
+      
+        include Google::Apis::Core::JsonObjectSupport
+      end
+      
+      class UpdateSpreadsheetPropertiesRequest
+        class Representation < Google::Apis::Core::JsonRepresentation; end
+      
+        include Google::Apis::Core::JsonObjectSupport
+      end
+      
+      class ProtectedRange
+        class Representation < Google::Apis::Core::JsonRepresentation; end
+      
+        include Google::Apis::Core::JsonObjectSupport
+      end
+      
+      class BatchUpdateValuesRequest
+        class Representation < Google::Apis::Core::JsonRepresentation; end
+      
+        include Google::Apis::Core::JsonObjectSupport
+      end
+      
+      class DimensionProperties
+        class Representation < Google::Apis::Core::JsonRepresentation; end
+      
+        include Google::Apis::Core::JsonObjectSupport
+      end
+      
+      class DimensionRange
+        class Representation < Google::Apis::Core::JsonRepresentation; end
+      
+        include Google::Apis::Core::JsonObjectSupport
+      end
+      
+      class NamedRange
+        class Representation < Google::Apis::Core::JsonRepresentation; end
+      
+        include Google::Apis::Core::JsonObjectSupport
+      end
+      
+      class CutPasteRequest
+        class Representation < Google::Apis::Core::JsonRepresentation; end
+      
+        include Google::Apis::Core::JsonObjectSupport
+      end
+      
+      class BasicChartSeries
+        class Representation < Google::Apis::Core::JsonRepresentation; end
+      
+        include Google::Apis::Core::JsonObjectSupport
+      end
+      
+      class Borders
+        class Representation < Google::Apis::Core::JsonRepresentation; end
+      
+        include Google::Apis::Core::JsonObjectSupport
+      end
+      
+      class AutoResizeDimensionsRequest
+        class Representation < Google::Apis::Core::JsonRepresentation; end
+      
+        include Google::Apis::Core::JsonObjectSupport
+      end
+      
+      class UpdateBordersRequest
+        class Representation < Google::Apis::Core::JsonRepresentation; end
+      
+        include Google::Apis::Core::JsonObjectSupport
+      end
+      
+      class CellFormat
+        class Representation < Google::Apis::Core::JsonRepresentation; end
+      
+        include Google::Apis::Core::JsonObjectSupport
+      end
+      
+      class ClearValuesResponse
+        class Representation < Google::Apis::Core::JsonRepresentation; end
+      
+        include Google::Apis::Core::JsonObjectSupport
+      end
+      
+      class DeleteConditionalFormatRuleRequest
+        class Representation < Google::Apis::Core::JsonRepresentation; end
+      
+        include Google::Apis::Core::JsonObjectSupport
+      end
+      
+      class AddBandingResponse
+        class Representation < Google::Apis::Core::JsonRepresentation; end
+      
+        include Google::Apis::Core::JsonObjectSupport
+      end
+      
+      class DeleteNamedRangeRequest
+        class Representation < Google::Apis::Core::JsonRepresentation; end
+      
+        include Google::Apis::Core::JsonObjectSupport
+      end
+      
+      class ChartData
+        class Representation < Google::Apis::Core::JsonRepresentation; end
+      
+        include Google::Apis::Core::JsonObjectSupport
+      end
+      
+      class BatchGetValuesResponse
+        class Representation < Google::Apis::Core::JsonRepresentation; end
+      
+        include Google::Apis::Core::JsonObjectSupport
+      end
+      
+      class UpdateBandingRequest
+        class Representation < Google::Apis::Core::JsonRepresentation; end
+      
+        include Google::Apis::Core::JsonObjectSupport
+      end
+      
+      class Color
+        class Representation < Google::Apis::Core::JsonRepresentation; end
+      
+        include Google::Apis::Core::JsonObjectSupport
+      end
+      
+      class PivotGroup
+        class Representation < Google::Apis::Core::JsonRepresentation; end
+      
+        include Google::Apis::Core::JsonObjectSupport
+      end
+      
+      class PivotTable
+        class Representation < Google::Apis::Core::JsonRepresentation; end
+      
+        include Google::Apis::Core::JsonObjectSupport
+      end
+      
+      class ChartSourceRange
+        class Representation < Google::Apis::Core::JsonRepresentation; end
+      
+        include Google::Apis::Core::JsonObjectSupport
+      end
+      
+      class AppendCellsRequest
+        class Representation < Google::Apis::Core::JsonRepresentation; end
+      
+        include Google::Apis::Core::JsonObjectSupport
+      end
+      
+      class ValueRange
+        class Representation < Google::Apis::Core::JsonRepresentation; end
+      
+        include Google::Apis::Core::JsonObjectSupport
+      end
+      
+      class AddBandingRequest
+        class Representation < Google::Apis::Core::JsonRepresentation; end
+      
+        include Google::Apis::Core::JsonObjectSupport
+      end
+      
       class Response
         class Representation < Google::Apis::Core::JsonRepresentation; end
       
         include Google::Apis::Core::JsonObjectSupport
       end
       
-      class InsertRangeRequest
+      class EmbeddedChart
         class Representation < Google::Apis::Core::JsonRepresentation; end
       
         include Google::Apis::Core::JsonObjectSupport
@@ -40,7 +316,7 @@ module Google
         include Google::Apis::Core::JsonObjectSupport
       end
       
-      class EmbeddedChart
+      class InsertRangeRequest
         class Representation < Google::Apis::Core::JsonRepresentation; end
       
         include Google::Apis::Core::JsonObjectSupport
@@ -58,19 +334,13 @@ module Google
         include Google::Apis::Core::JsonObjectSupport
       end
       
-      class GridData
-        class Representation < Google::Apis::Core::JsonRepresentation; end
-      
-        include Google::Apis::Core::JsonObjectSupport
-      end
-      
       class Border
         class Representation < Google::Apis::Core::JsonRepresentation; end
       
         include Google::Apis::Core::JsonObjectSupport
       end
       
-      class UpdateNamedRangeRequest
+      class GridData
         class Representation < Google::Apis::Core::JsonRepresentation; end
       
         include Google::Apis::Core::JsonObjectSupport
@@ -82,6 +352,12 @@ module Google
         include Google::Apis::Core::JsonObjectSupport
       end
       
+      class UpdateNamedRangeRequest
+        class Representation < Google::Apis::Core::JsonRepresentation; end
+      
+        include Google::Apis::Core::JsonObjectSupport
+      end
+      
       class AddSheetRequest
         class Representation < Google::Apis::Core::JsonRepresentation; end
       
@@ -154,13 +430,13 @@ module Google
         include Google::Apis::Core::JsonObjectSupport
       end
       
-      class FilterCriteria
+      class PivotGroupValueMetadata
         class Representation < Google::Apis::Core::JsonRepresentation; end
       
         include Google::Apis::Core::JsonObjectSupport
       end
       
-      class PivotGroupValueMetadata
+      class FilterCriteria
         class Representation < Google::Apis::Core::JsonRepresentation; end
       
         include Google::Apis::Core::JsonObjectSupport
@@ -244,13 +520,13 @@ module Google
         include Google::Apis::Core::JsonObjectSupport
       end
       
-      class Request
+      class BooleanCondition
         class Representation < Google::Apis::Core::JsonRepresentation; end
       
         include Google::Apis::Core::JsonObjectSupport
       end
       
-      class BooleanCondition
+      class Request
         class Representation < Google::Apis::Core::JsonRepresentation; end
       
         include Google::Apis::Core::JsonObjectSupport
@@ -286,13 +562,13 @@ module Google
         include Google::Apis::Core::JsonObjectSupport
       end
       
-      class BasicChartAxis
+      class Padding
         class Representation < Google::Apis::Core::JsonRepresentation; end
       
         include Google::Apis::Core::JsonObjectSupport
       end
       
-      class Padding
+      class BasicChartAxis
         class Representation < Google::Apis::Core::JsonRepresentation; end
       
         include Google::Apis::Core::JsonObjectSupport
@@ -358,19 +634,13 @@ module Google
         include Google::Apis::Core::JsonObjectSupport
       end
       
-      class TextToColumnsRequest
-        class Representation < Google::Apis::Core::JsonRepresentation; end
-      
-        include Google::Apis::Core::JsonObjectSupport
-      end
-      
       class ClearBasicFilterRequest
         class Representation < Google::Apis::Core::JsonRepresentation; end
       
         include Google::Apis::Core::JsonObjectSupport
       end
       
-      class BatchUpdateSpreadsheetResponse
+      class TextToColumnsRequest
         class Representation < Google::Apis::Core::JsonRepresentation; end
       
         include Google::Apis::Core::JsonObjectSupport
@@ -382,6 +652,12 @@ module Google
         include Google::Apis::Core::JsonObjectSupport
       end
       
+      class BatchUpdateSpreadsheetResponse
+        class Representation < Google::Apis::Core::JsonRepresentation; end
+      
+        include Google::Apis::Core::JsonObjectSupport
+      end
+      
       class AppendValuesResponse
         class Representation < Google::Apis::Core::JsonRepresentation; end
       
@@ -454,13 +730,13 @@ module Google
         include Google::Apis::Core::JsonObjectSupport
       end
       
-      class AddProtectedRangeResponse
+      class BasicFilter
         class Representation < Google::Apis::Core::JsonRepresentation; end
       
         include Google::Apis::Core::JsonObjectSupport
       end
       
-      class BasicFilter
+      class AddProtectedRangeResponse
         class Representation < Google::Apis::Core::JsonRepresentation; end
       
         include Google::Apis::Core::JsonObjectSupport
@@ -472,13 +748,13 @@ module Google
         include Google::Apis::Core::JsonObjectSupport
       end
       
-      class PivotValue
+      class ErrorValue
         class Representation < Google::Apis::Core::JsonRepresentation; end
       
         include Google::Apis::Core::JsonObjectSupport
       end
       
-      class ErrorValue
+      class PivotValue
         class Representation < Google::Apis::Core::JsonRepresentation; end
       
         include Google::Apis::Core::JsonObjectSupport
@@ -550,291 +826,498 @@ module Google
         include Google::Apis::Core::JsonObjectSupport
       end
       
-      class DuplicateFilterViewRequest
-        class Representation < Google::Apis::Core::JsonRepresentation; end
-      
-        include Google::Apis::Core::JsonObjectSupport
+      class DeleteSheetRequest
+        # @private
+        class Representation < Google::Apis::Core::JsonRepresentation
+          property :sheet_id, as: 'sheetId'
+        end
       end
       
-      class DeleteSheetRequest
-        class Representation < Google::Apis::Core::JsonRepresentation; end
-      
-        include Google::Apis::Core::JsonObjectSupport
+      class DuplicateFilterViewRequest
+        # @private
+        class Representation < Google::Apis::Core::JsonRepresentation
+          property :filter_id, as: 'filterId'
+        end
       end
       
       class UpdateConditionalFormatRuleResponse
-        class Representation < Google::Apis::Core::JsonRepresentation; end
+        # @private
+        class Representation < Google::Apis::Core::JsonRepresentation
+          property :old_index, as: 'oldIndex'
+          property :new_rule, as: 'newRule', class: Google::Apis::SheetsV4::ConditionalFormatRule, decorator: Google::Apis::SheetsV4::ConditionalFormatRule::Representation
       
-        include Google::Apis::Core::JsonObjectSupport
-      end
+          property :old_rule, as: 'oldRule', class: Google::Apis::SheetsV4::ConditionalFormatRule, decorator: Google::Apis::SheetsV4::ConditionalFormatRule::Representation
       
-      class DuplicateSheetRequest
-        class Representation < Google::Apis::Core::JsonRepresentation; end
-      
-        include Google::Apis::Core::JsonObjectSupport
+          property :new_index, as: 'newIndex'
+        end
       end
       
       class ConditionValue
-        class Representation < Google::Apis::Core::JsonRepresentation; end
+        # @private
+        class Representation < Google::Apis::Core::JsonRepresentation
+          property :relative_date, as: 'relativeDate'
+          property :user_entered_value, as: 'userEnteredValue'
+        end
+      end
       
-        include Google::Apis::Core::JsonObjectSupport
+      class DuplicateSheetRequest
+        # @private
+        class Representation < Google::Apis::Core::JsonRepresentation
+          property :insert_sheet_index, as: 'insertSheetIndex'
+          property :new_sheet_name, as: 'newSheetName'
+          property :source_sheet_id, as: 'sourceSheetId'
+          property :new_sheet_id, as: 'newSheetId'
+        end
       end
       
       class ExtendedValue
-        class Representation < Google::Apis::Core::JsonRepresentation; end
+        # @private
+        class Representation < Google::Apis::Core::JsonRepresentation
+          property :error_value, as: 'errorValue', class: Google::Apis::SheetsV4::ErrorValue, decorator: Google::Apis::SheetsV4::ErrorValue::Representation
       
-        include Google::Apis::Core::JsonObjectSupport
+          property :string_value, as: 'stringValue'
+          property :bool_value, as: 'boolValue'
+          property :formula_value, as: 'formulaValue'
+          property :number_value, as: 'numberValue'
+        end
       end
       
       class AddChartRequest
-        class Representation < Google::Apis::Core::JsonRepresentation; end
+        # @private
+        class Representation < Google::Apis::Core::JsonRepresentation
+          property :chart, as: 'chart', class: Google::Apis::SheetsV4::EmbeddedChart, decorator: Google::Apis::SheetsV4::EmbeddedChart::Representation
       
-        include Google::Apis::Core::JsonObjectSupport
+        end
       end
       
       class Spreadsheet
-        class Representation < Google::Apis::Core::JsonRepresentation; end
+        # @private
+        class Representation < Google::Apis::Core::JsonRepresentation
+          property :properties, as: 'properties', class: Google::Apis::SheetsV4::SpreadsheetProperties, decorator: Google::Apis::SheetsV4::SpreadsheetProperties::Representation
       
-        include Google::Apis::Core::JsonObjectSupport
+          property :spreadsheet_id, as: 'spreadsheetId'
+          collection :sheets, as: 'sheets', class: Google::Apis::SheetsV4::Sheet, decorator: Google::Apis::SheetsV4::Sheet::Representation
+      
+          collection :named_ranges, as: 'namedRanges', class: Google::Apis::SheetsV4::NamedRange, decorator: Google::Apis::SheetsV4::NamedRange::Representation
+      
+          property :spreadsheet_url, as: 'spreadsheetUrl'
+        end
       end
       
       class BatchClearValuesResponse
-        class Representation < Google::Apis::Core::JsonRepresentation; end
-      
-        include Google::Apis::Core::JsonObjectSupport
+        # @private
+        class Representation < Google::Apis::Core::JsonRepresentation
+          collection :cleared_ranges, as: 'clearedRanges'
+          property :spreadsheet_id, as: 'spreadsheetId'
+        end
       end
       
       class BandedRange
-        class Representation < Google::Apis::Core::JsonRepresentation; end
+        # @private
+        class Representation < Google::Apis::Core::JsonRepresentation
+          property :range, as: 'range', class: Google::Apis::SheetsV4::GridRange, decorator: Google::Apis::SheetsV4::GridRange::Representation
       
-        include Google::Apis::Core::JsonObjectSupport
+          property :banded_range_id, as: 'bandedRangeId'
+          property :row_properties, as: 'rowProperties', class: Google::Apis::SheetsV4::BandingProperties, decorator: Google::Apis::SheetsV4::BandingProperties::Representation
+      
+          property :column_properties, as: 'columnProperties', class: Google::Apis::SheetsV4::BandingProperties, decorator: Google::Apis::SheetsV4::BandingProperties::Representation
+      
+        end
       end
       
       class UpdateProtectedRangeRequest
-        class Representation < Google::Apis::Core::JsonRepresentation; end
+        # @private
+        class Representation < Google::Apis::Core::JsonRepresentation
+          property :protected_range, as: 'protectedRange', class: Google::Apis::SheetsV4::ProtectedRange, decorator: Google::Apis::SheetsV4::ProtectedRange::Representation
       
-        include Google::Apis::Core::JsonObjectSupport
+          property :fields, as: 'fields'
+        end
       end
       
       class TextFormat
-        class Representation < Google::Apis::Core::JsonRepresentation; end
+        # @private
+        class Representation < Google::Apis::Core::JsonRepresentation
+          property :foreground_color, as: 'foregroundColor', class: Google::Apis::SheetsV4::Color, decorator: Google::Apis::SheetsV4::Color::Representation
       
-        include Google::Apis::Core::JsonObjectSupport
+          property :bold, as: 'bold'
+          property :font_family, as: 'fontFamily'
+          property :italic, as: 'italic'
+          property :strikethrough, as: 'strikethrough'
+          property :font_size, as: 'fontSize'
+          property :underline, as: 'underline'
+        end
       end
       
       class AddSheetResponse
-        class Representation < Google::Apis::Core::JsonRepresentation; end
+        # @private
+        class Representation < Google::Apis::Core::JsonRepresentation
+          property :properties, as: 'properties', class: Google::Apis::SheetsV4::SheetProperties, decorator: Google::Apis::SheetsV4::SheetProperties::Representation
       
-        include Google::Apis::Core::JsonObjectSupport
+        end
       end
       
       class AddFilterViewResponse
-        class Representation < Google::Apis::Core::JsonRepresentation; end
+        # @private
+        class Representation < Google::Apis::Core::JsonRepresentation
+          property :filter, as: 'filter', class: Google::Apis::SheetsV4::FilterView, decorator: Google::Apis::SheetsV4::FilterView::Representation
       
-        include Google::Apis::Core::JsonObjectSupport
+        end
       end
       
       class IterativeCalculationSettings
-        class Representation < Google::Apis::Core::JsonRepresentation; end
-      
-        include Google::Apis::Core::JsonObjectSupport
-      end
-      
-      class OverlayPosition
-        class Representation < Google::Apis::Core::JsonRepresentation; end
-      
-        include Google::Apis::Core::JsonObjectSupport
+        # @private
+        class Representation < Google::Apis::Core::JsonRepresentation
+          property :convergence_threshold, as: 'convergenceThreshold'
+          property :max_iterations, as: 'maxIterations'
+        end
       end
       
       class SpreadsheetProperties
-        class Representation < Google::Apis::Core::JsonRepresentation; end
+        # @private
+        class Representation < Google::Apis::Core::JsonRepresentation
+          property :iterative_calculation_settings, as: 'iterativeCalculationSettings', class: Google::Apis::SheetsV4::IterativeCalculationSettings, decorator: Google::Apis::SheetsV4::IterativeCalculationSettings::Representation
       
-        include Google::Apis::Core::JsonObjectSupport
+          property :auto_recalc, as: 'autoRecalc'
+          property :default_format, as: 'defaultFormat', class: Google::Apis::SheetsV4::CellFormat, decorator: Google::Apis::SheetsV4::CellFormat::Representation
+      
+          property :time_zone, as: 'timeZone'
+          property :title, as: 'title'
+          property :locale, as: 'locale'
+        end
+      end
+      
+      class OverlayPosition
+        # @private
+        class Representation < Google::Apis::Core::JsonRepresentation
+          property :offset_x_pixels, as: 'offsetXPixels'
+          property :anchor_cell, as: 'anchorCell', class: Google::Apis::SheetsV4::GridCoordinate, decorator: Google::Apis::SheetsV4::GridCoordinate::Representation
+      
+          property :offset_y_pixels, as: 'offsetYPixels'
+          property :height_pixels, as: 'heightPixels'
+          property :width_pixels, as: 'widthPixels'
+        end
       end
       
       class RepeatCellRequest
-        class Representation < Google::Apis::Core::JsonRepresentation; end
+        # @private
+        class Representation < Google::Apis::Core::JsonRepresentation
+          property :cell, as: 'cell', class: Google::Apis::SheetsV4::CellData, decorator: Google::Apis::SheetsV4::CellData::Representation
       
-        include Google::Apis::Core::JsonObjectSupport
+          property :range, as: 'range', class: Google::Apis::SheetsV4::GridRange, decorator: Google::Apis::SheetsV4::GridRange::Representation
+      
+          property :fields, as: 'fields'
+        end
       end
       
       class AddChartResponse
-        class Representation < Google::Apis::Core::JsonRepresentation; end
+        # @private
+        class Representation < Google::Apis::Core::JsonRepresentation
+          property :chart, as: 'chart', class: Google::Apis::SheetsV4::EmbeddedChart, decorator: Google::Apis::SheetsV4::EmbeddedChart::Representation
       
-        include Google::Apis::Core::JsonObjectSupport
+        end
       end
       
       class InsertDimensionRequest
-        class Representation < Google::Apis::Core::JsonRepresentation; end
+        # @private
+        class Representation < Google::Apis::Core::JsonRepresentation
+          property :inherit_from_before, as: 'inheritFromBefore'
+          property :range, as: 'range', class: Google::Apis::SheetsV4::DimensionRange, decorator: Google::Apis::SheetsV4::DimensionRange::Representation
       
-        include Google::Apis::Core::JsonObjectSupport
+        end
       end
       
       class UpdateSpreadsheetPropertiesRequest
-        class Representation < Google::Apis::Core::JsonRepresentation; end
+        # @private
+        class Representation < Google::Apis::Core::JsonRepresentation
+          property :properties, as: 'properties', class: Google::Apis::SheetsV4::SpreadsheetProperties, decorator: Google::Apis::SheetsV4::SpreadsheetProperties::Representation
       
-        include Google::Apis::Core::JsonObjectSupport
+          property :fields, as: 'fields'
+        end
       end
       
       class ProtectedRange
-        class Representation < Google::Apis::Core::JsonRepresentation; end
+        # @private
+        class Representation < Google::Apis::Core::JsonRepresentation
+          property :requesting_user_can_edit, as: 'requestingUserCanEdit'
+          property :editors, as: 'editors', class: Google::Apis::SheetsV4::Editors, decorator: Google::Apis::SheetsV4::Editors::Representation
       
-        include Google::Apis::Core::JsonObjectSupport
+          property :range, as: 'range', class: Google::Apis::SheetsV4::GridRange, decorator: Google::Apis::SheetsV4::GridRange::Representation
+      
+          property :description, as: 'description'
+          collection :unprotected_ranges, as: 'unprotectedRanges', class: Google::Apis::SheetsV4::GridRange, decorator: Google::Apis::SheetsV4::GridRange::Representation
+      
+          property :named_range_id, as: 'namedRangeId'
+          property :protected_range_id, as: 'protectedRangeId'
+          property :warning_only, as: 'warningOnly'
+        end
       end
       
       class BatchUpdateValuesRequest
-        class Representation < Google::Apis::Core::JsonRepresentation; end
+        # @private
+        class Representation < Google::Apis::Core::JsonRepresentation
+          property :response_value_render_option, as: 'responseValueRenderOption'
+          property :include_values_in_response, as: 'includeValuesInResponse'
+          property :value_input_option, as: 'valueInputOption'
+          collection :data, as: 'data', class: Google::Apis::SheetsV4::ValueRange, decorator: Google::Apis::SheetsV4::ValueRange::Representation
       
-        include Google::Apis::Core::JsonObjectSupport
+          property :response_date_time_render_option, as: 'responseDateTimeRenderOption'
+        end
       end
       
       class DimensionProperties
-        class Representation < Google::Apis::Core::JsonRepresentation; end
-      
-        include Google::Apis::Core::JsonObjectSupport
-      end
-      
-      class NamedRange
-        class Representation < Google::Apis::Core::JsonRepresentation; end
-      
-        include Google::Apis::Core::JsonObjectSupport
+        # @private
+        class Representation < Google::Apis::Core::JsonRepresentation
+          property :pixel_size, as: 'pixelSize'
+          property :hidden_by_filter, as: 'hiddenByFilter'
+          property :hidden_by_user, as: 'hiddenByUser'
+        end
       end
       
       class DimensionRange
-        class Representation < Google::Apis::Core::JsonRepresentation; end
+        # @private
+        class Representation < Google::Apis::Core::JsonRepresentation
+          property :sheet_id, as: 'sheetId'
+          property :dimension, as: 'dimension'
+          property :start_index, as: 'startIndex'
+          property :end_index, as: 'endIndex'
+        end
+      end
       
-        include Google::Apis::Core::JsonObjectSupport
+      class NamedRange
+        # @private
+        class Representation < Google::Apis::Core::JsonRepresentation
+          property :named_range_id, as: 'namedRangeId'
+          property :range, as: 'range', class: Google::Apis::SheetsV4::GridRange, decorator: Google::Apis::SheetsV4::GridRange::Representation
+      
+          property :name, as: 'name'
+        end
       end
       
       class CutPasteRequest
-        class Representation < Google::Apis::Core::JsonRepresentation; end
+        # @private
+        class Representation < Google::Apis::Core::JsonRepresentation
+          property :source, as: 'source', class: Google::Apis::SheetsV4::GridRange, decorator: Google::Apis::SheetsV4::GridRange::Representation
       
-        include Google::Apis::Core::JsonObjectSupport
-      end
+          property :paste_type, as: 'pasteType'
+          property :destination, as: 'destination', class: Google::Apis::SheetsV4::GridCoordinate, decorator: Google::Apis::SheetsV4::GridCoordinate::Representation
       
-      class Borders
-        class Representation < Google::Apis::Core::JsonRepresentation; end
-      
-        include Google::Apis::Core::JsonObjectSupport
+        end
       end
       
       class BasicChartSeries
-        class Representation < Google::Apis::Core::JsonRepresentation; end
+        # @private
+        class Representation < Google::Apis::Core::JsonRepresentation
+          property :series, as: 'series', class: Google::Apis::SheetsV4::ChartData, decorator: Google::Apis::SheetsV4::ChartData::Representation
       
-        include Google::Apis::Core::JsonObjectSupport
+          property :type, as: 'type'
+          property :target_axis, as: 'targetAxis'
+        end
+      end
+      
+      class Borders
+        # @private
+        class Representation < Google::Apis::Core::JsonRepresentation
+          property :right, as: 'right', class: Google::Apis::SheetsV4::Border, decorator: Google::Apis::SheetsV4::Border::Representation
+      
+          property :bottom, as: 'bottom', class: Google::Apis::SheetsV4::Border, decorator: Google::Apis::SheetsV4::Border::Representation
+      
+          property :top, as: 'top', class: Google::Apis::SheetsV4::Border, decorator: Google::Apis::SheetsV4::Border::Representation
+      
+          property :left, as: 'left', class: Google::Apis::SheetsV4::Border, decorator: Google::Apis::SheetsV4::Border::Representation
+      
+        end
       end
       
       class AutoResizeDimensionsRequest
-        class Representation < Google::Apis::Core::JsonRepresentation; end
+        # @private
+        class Representation < Google::Apis::Core::JsonRepresentation
+          property :dimensions, as: 'dimensions', class: Google::Apis::SheetsV4::DimensionRange, decorator: Google::Apis::SheetsV4::DimensionRange::Representation
       
-        include Google::Apis::Core::JsonObjectSupport
+        end
       end
       
       class UpdateBordersRequest
-        class Representation < Google::Apis::Core::JsonRepresentation; end
+        # @private
+        class Representation < Google::Apis::Core::JsonRepresentation
+          property :bottom, as: 'bottom', class: Google::Apis::SheetsV4::Border, decorator: Google::Apis::SheetsV4::Border::Representation
       
-        include Google::Apis::Core::JsonObjectSupport
+          property :inner_vertical, as: 'innerVertical', class: Google::Apis::SheetsV4::Border, decorator: Google::Apis::SheetsV4::Border::Representation
+      
+          property :right, as: 'right', class: Google::Apis::SheetsV4::Border, decorator: Google::Apis::SheetsV4::Border::Representation
+      
+          property :range, as: 'range', class: Google::Apis::SheetsV4::GridRange, decorator: Google::Apis::SheetsV4::GridRange::Representation
+      
+          property :inner_horizontal, as: 'innerHorizontal', class: Google::Apis::SheetsV4::Border, decorator: Google::Apis::SheetsV4::Border::Representation
+      
+          property :top, as: 'top', class: Google::Apis::SheetsV4::Border, decorator: Google::Apis::SheetsV4::Border::Representation
+      
+          property :left, as: 'left', class: Google::Apis::SheetsV4::Border, decorator: Google::Apis::SheetsV4::Border::Representation
+      
+        end
       end
       
       class CellFormat
-        class Representation < Google::Apis::Core::JsonRepresentation; end
+        # @private
+        class Representation < Google::Apis::Core::JsonRepresentation
+          property :text_direction, as: 'textDirection'
+          property :borders, as: 'borders', class: Google::Apis::SheetsV4::Borders, decorator: Google::Apis::SheetsV4::Borders::Representation
       
-        include Google::Apis::Core::JsonObjectSupport
+          property :text_rotation, as: 'textRotation', class: Google::Apis::SheetsV4::TextRotation, decorator: Google::Apis::SheetsV4::TextRotation::Representation
+      
+          property :wrap_strategy, as: 'wrapStrategy'
+          property :number_format, as: 'numberFormat', class: Google::Apis::SheetsV4::NumberFormat, decorator: Google::Apis::SheetsV4::NumberFormat::Representation
+      
+          property :horizontal_alignment, as: 'horizontalAlignment'
+          property :hyperlink_display_type, as: 'hyperlinkDisplayType'
+          property :text_format, as: 'textFormat', class: Google::Apis::SheetsV4::TextFormat, decorator: Google::Apis::SheetsV4::TextFormat::Representation
+      
+          property :background_color, as: 'backgroundColor', class: Google::Apis::SheetsV4::Color, decorator: Google::Apis::SheetsV4::Color::Representation
+      
+          property :vertical_alignment, as: 'verticalAlignment'
+          property :padding, as: 'padding', class: Google::Apis::SheetsV4::Padding, decorator: Google::Apis::SheetsV4::Padding::Representation
+      
+        end
       end
       
       class ClearValuesResponse
-        class Representation < Google::Apis::Core::JsonRepresentation; end
-      
-        include Google::Apis::Core::JsonObjectSupport
+        # @private
+        class Representation < Google::Apis::Core::JsonRepresentation
+          property :spreadsheet_id, as: 'spreadsheetId'
+          property :cleared_range, as: 'clearedRange'
+        end
       end
       
       class DeleteConditionalFormatRuleRequest
-        class Representation < Google::Apis::Core::JsonRepresentation; end
-      
-        include Google::Apis::Core::JsonObjectSupport
-      end
-      
-      class DeleteNamedRangeRequest
-        class Representation < Google::Apis::Core::JsonRepresentation; end
-      
-        include Google::Apis::Core::JsonObjectSupport
+        # @private
+        class Representation < Google::Apis::Core::JsonRepresentation
+          property :index, as: 'index'
+          property :sheet_id, as: 'sheetId'
+        end
       end
       
       class AddBandingResponse
-        class Representation < Google::Apis::Core::JsonRepresentation; end
+        # @private
+        class Representation < Google::Apis::Core::JsonRepresentation
+          property :banded_range, as: 'bandedRange', class: Google::Apis::SheetsV4::BandedRange, decorator: Google::Apis::SheetsV4::BandedRange::Representation
       
-        include Google::Apis::Core::JsonObjectSupport
+        end
+      end
+      
+      class DeleteNamedRangeRequest
+        # @private
+        class Representation < Google::Apis::Core::JsonRepresentation
+          property :named_range_id, as: 'namedRangeId'
+        end
       end
       
       class ChartData
-        class Representation < Google::Apis::Core::JsonRepresentation; end
+        # @private
+        class Representation < Google::Apis::Core::JsonRepresentation
+          property :source_range, as: 'sourceRange', class: Google::Apis::SheetsV4::ChartSourceRange, decorator: Google::Apis::SheetsV4::ChartSourceRange::Representation
       
-        include Google::Apis::Core::JsonObjectSupport
+        end
       end
       
       class BatchGetValuesResponse
-        class Representation < Google::Apis::Core::JsonRepresentation; end
+        # @private
+        class Representation < Google::Apis::Core::JsonRepresentation
+          collection :value_ranges, as: 'valueRanges', class: Google::Apis::SheetsV4::ValueRange, decorator: Google::Apis::SheetsV4::ValueRange::Representation
       
-        include Google::Apis::Core::JsonObjectSupport
+          property :spreadsheet_id, as: 'spreadsheetId'
+        end
       end
       
       class UpdateBandingRequest
-        class Representation < Google::Apis::Core::JsonRepresentation; end
+        # @private
+        class Representation < Google::Apis::Core::JsonRepresentation
+          property :banded_range, as: 'bandedRange', class: Google::Apis::SheetsV4::BandedRange, decorator: Google::Apis::SheetsV4::BandedRange::Representation
       
-        include Google::Apis::Core::JsonObjectSupport
+          property :fields, as: 'fields'
+        end
       end
       
       class Color
-        class Representation < Google::Apis::Core::JsonRepresentation; end
-      
-        include Google::Apis::Core::JsonObjectSupport
+        # @private
+        class Representation < Google::Apis::Core::JsonRepresentation
+          property :red, as: 'red'
+          property :green, as: 'green'
+          property :blue, as: 'blue'
+          property :alpha, as: 'alpha'
+        end
       end
       
       class PivotGroup
-        class Representation < Google::Apis::Core::JsonRepresentation; end
+        # @private
+        class Representation < Google::Apis::Core::JsonRepresentation
+          property :source_column_offset, as: 'sourceColumnOffset'
+          property :show_totals, as: 'showTotals'
+          collection :value_metadata, as: 'valueMetadata', class: Google::Apis::SheetsV4::PivotGroupValueMetadata, decorator: Google::Apis::SheetsV4::PivotGroupValueMetadata::Representation
       
-        include Google::Apis::Core::JsonObjectSupport
+          property :sort_order, as: 'sortOrder'
+          property :value_bucket, as: 'valueBucket', class: Google::Apis::SheetsV4::PivotGroupSortValueBucket, decorator: Google::Apis::SheetsV4::PivotGroupSortValueBucket::Representation
+      
+        end
       end
       
       class PivotTable
-        class Representation < Google::Apis::Core::JsonRepresentation; end
+        # @private
+        class Representation < Google::Apis::Core::JsonRepresentation
+          hash :criteria, as: 'criteria', class: Google::Apis::SheetsV4::PivotFilterCriteria, decorator: Google::Apis::SheetsV4::PivotFilterCriteria::Representation
       
-        include Google::Apis::Core::JsonObjectSupport
+          collection :rows, as: 'rows', class: Google::Apis::SheetsV4::PivotGroup, decorator: Google::Apis::SheetsV4::PivotGroup::Representation
+      
+          property :value_layout, as: 'valueLayout'
+          property :source, as: 'source', class: Google::Apis::SheetsV4::GridRange, decorator: Google::Apis::SheetsV4::GridRange::Representation
+      
+          collection :columns, as: 'columns', class: Google::Apis::SheetsV4::PivotGroup, decorator: Google::Apis::SheetsV4::PivotGroup::Representation
+      
+          collection :values, as: 'values', class: Google::Apis::SheetsV4::PivotValue, decorator: Google::Apis::SheetsV4::PivotValue::Representation
+      
+        end
       end
       
       class ChartSourceRange
-        class Representation < Google::Apis::Core::JsonRepresentation; end
+        # @private
+        class Representation < Google::Apis::Core::JsonRepresentation
+          collection :sources, as: 'sources', class: Google::Apis::SheetsV4::GridRange, decorator: Google::Apis::SheetsV4::GridRange::Representation
       
-        include Google::Apis::Core::JsonObjectSupport
+        end
       end
       
       class AppendCellsRequest
-        class Representation < Google::Apis::Core::JsonRepresentation; end
+        # @private
+        class Representation < Google::Apis::Core::JsonRepresentation
+          collection :rows, as: 'rows', class: Google::Apis::SheetsV4::RowData, decorator: Google::Apis::SheetsV4::RowData::Representation
       
-        include Google::Apis::Core::JsonObjectSupport
+          property :fields, as: 'fields'
+          property :sheet_id, as: 'sheetId'
+        end
       end
       
       class ValueRange
-        class Representation < Google::Apis::Core::JsonRepresentation; end
+        # @private
+        class Representation < Google::Apis::Core::JsonRepresentation
+          property :range, as: 'range'
+          property :major_dimension, as: 'majorDimension'
+          collection :values, as: 'values', :class => Array do
+        include Representable::JSON::Collection
+        items
+      end
       
-        include Google::Apis::Core::JsonObjectSupport
+        end
       end
       
       class AddBandingRequest
-        class Representation < Google::Apis::Core::JsonRepresentation; end
+        # @private
+        class Representation < Google::Apis::Core::JsonRepresentation
+          property :banded_range, as: 'bandedRange', class: Google::Apis::SheetsV4::BandedRange, decorator: Google::Apis::SheetsV4::BandedRange::Representation
       
-        include Google::Apis::Core::JsonObjectSupport
+        end
       end
       
       class Response
         # @private
         class Representation < Google::Apis::Core::JsonRepresentation
-          property :add_sheet, as: 'addSheet', class: Google::Apis::SheetsV4::AddSheetResponse, decorator: Google::Apis::SheetsV4::AddSheetResponse::Representation
-      
-          property :update_conditional_format_rule, as: 'updateConditionalFormatRule', class: Google::Apis::SheetsV4::UpdateConditionalFormatRuleResponse, decorator: Google::Apis::SheetsV4::UpdateConditionalFormatRuleResponse::Representation
-      
-          property :add_named_range, as: 'addNamedRange', class: Google::Apis::SheetsV4::AddNamedRangeResponse, decorator: Google::Apis::SheetsV4::AddNamedRangeResponse::Representation
-      
           property :add_filter_view, as: 'addFilterView', class: Google::Apis::SheetsV4::AddFilterViewResponse, decorator: Google::Apis::SheetsV4::AddFilterViewResponse::Representation
       
           property :add_banding, as: 'addBanding', class: Google::Apis::SheetsV4::AddBandingResponse, decorator: Google::Apis::SheetsV4::AddBandingResponse::Representation
@@ -843,34 +1326,22 @@ module Google
       
           property :duplicate_sheet, as: 'duplicateSheet', class: Google::Apis::SheetsV4::DuplicateSheetResponse, decorator: Google::Apis::SheetsV4::DuplicateSheetResponse::Representation
       
-          property :update_embedded_object_position, as: 'updateEmbeddedObjectPosition', class: Google::Apis::SheetsV4::UpdateEmbeddedObjectPositionResponse, decorator: Google::Apis::SheetsV4::UpdateEmbeddedObjectPositionResponse::Representation
-      
           property :delete_conditional_format_rule, as: 'deleteConditionalFormatRule', class: Google::Apis::SheetsV4::DeleteConditionalFormatRuleResponse, decorator: Google::Apis::SheetsV4::DeleteConditionalFormatRuleResponse::Representation
       
+          property :update_embedded_object_position, as: 'updateEmbeddedObjectPosition', class: Google::Apis::SheetsV4::UpdateEmbeddedObjectPositionResponse, decorator: Google::Apis::SheetsV4::UpdateEmbeddedObjectPositionResponse::Representation
+      
           property :duplicate_filter_view, as: 'duplicateFilterView', class: Google::Apis::SheetsV4::DuplicateFilterViewResponse, decorator: Google::Apis::SheetsV4::DuplicateFilterViewResponse::Representation
       
           property :add_chart, as: 'addChart', class: Google::Apis::SheetsV4::AddChartResponse, decorator: Google::Apis::SheetsV4::AddChartResponse::Representation
       
           property :find_replace, as: 'findReplace', class: Google::Apis::SheetsV4::FindReplaceResponse, decorator: Google::Apis::SheetsV4::FindReplaceResponse::Representation
       
-        end
-      end
+          property :add_sheet, as: 'addSheet', class: Google::Apis::SheetsV4::AddSheetResponse, decorator: Google::Apis::SheetsV4::AddSheetResponse::Representation
       
-      class InsertRangeRequest
-        # @private
-        class Representation < Google::Apis::Core::JsonRepresentation
-          property :shift_dimension, as: 'shiftDimension'
-          property :range, as: 'range', class: Google::Apis::SheetsV4::GridRange, decorator: Google::Apis::SheetsV4::GridRange::Representation
+          property :update_conditional_format_rule, as: 'updateConditionalFormatRule', class: Google::Apis::SheetsV4::UpdateConditionalFormatRuleResponse, decorator: Google::Apis::SheetsV4::UpdateConditionalFormatRuleResponse::Representation
       
-        end
-      end
+          property :add_named_range, as: 'addNamedRange', class: Google::Apis::SheetsV4::AddNamedRangeResponse, decorator: Google::Apis::SheetsV4::AddNamedRangeResponse::Representation
       
-      class TextFormatRun
-        # @private
-        class Representation < Google::Apis::Core::JsonRepresentation
-          property :format, as: 'format', class: Google::Apis::SheetsV4::TextFormat, decorator: Google::Apis::SheetsV4::TextFormat::Representation
-      
-          property :start_index, as: 'startIndex'
         end
       end
       
@@ -885,6 +1356,24 @@ module Google
         end
       end
       
+      class TextFormatRun
+        # @private
+        class Representation < Google::Apis::Core::JsonRepresentation
+          property :start_index, as: 'startIndex'
+          property :format, as: 'format', class: Google::Apis::SheetsV4::TextFormat, decorator: Google::Apis::SheetsV4::TextFormat::Representation
+      
+        end
+      end
+      
+      class InsertRangeRequest
+        # @private
+        class Representation < Google::Apis::Core::JsonRepresentation
+          property :shift_dimension, as: 'shiftDimension'
+          property :range, as: 'range', class: Google::Apis::SheetsV4::GridRange, decorator: Google::Apis::SheetsV4::GridRange::Representation
+      
+        end
+      end
+      
       class AddNamedRangeResponse
         # @private
         class Representation < Google::Apis::Core::JsonRepresentation
@@ -901,20 +1390,6 @@ module Google
         end
       end
       
-      class GridData
-        # @private
-        class Representation < Google::Apis::Core::JsonRepresentation
-          property :start_column, as: 'startColumn'
-          collection :row_metadata, as: 'rowMetadata', class: Google::Apis::SheetsV4::DimensionProperties, decorator: Google::Apis::SheetsV4::DimensionProperties::Representation
-      
-          collection :row_data, as: 'rowData', class: Google::Apis::SheetsV4::RowData, decorator: Google::Apis::SheetsV4::RowData::Representation
-      
-          property :start_row, as: 'startRow'
-          collection :column_metadata, as: 'columnMetadata', class: Google::Apis::SheetsV4::DimensionProperties, decorator: Google::Apis::SheetsV4::DimensionProperties::Representation
-      
-        end
-      end
-      
       class Border
         # @private
         class Representation < Google::Apis::Core::JsonRepresentation
@@ -925,28 +1400,42 @@ module Google
         end
       end
       
-      class UpdateNamedRangeRequest
+      class GridData
         # @private
         class Representation < Google::Apis::Core::JsonRepresentation
-          property :named_range, as: 'namedRange', class: Google::Apis::SheetsV4::NamedRange, decorator: Google::Apis::SheetsV4::NamedRange::Representation
+          collection :column_metadata, as: 'columnMetadata', class: Google::Apis::SheetsV4::DimensionProperties, decorator: Google::Apis::SheetsV4::DimensionProperties::Representation
       
-          property :fields, as: 'fields'
+          property :start_column, as: 'startColumn'
+          collection :row_metadata, as: 'rowMetadata', class: Google::Apis::SheetsV4::DimensionProperties, decorator: Google::Apis::SheetsV4::DimensionProperties::Representation
+      
+          collection :row_data, as: 'rowData', class: Google::Apis::SheetsV4::RowData, decorator: Google::Apis::SheetsV4::RowData::Representation
+      
+          property :start_row, as: 'startRow'
         end
       end
       
       class FindReplaceRequest
         # @private
         class Representation < Google::Apis::Core::JsonRepresentation
+          property :replacement, as: 'replacement'
           property :range, as: 'range', class: Google::Apis::SheetsV4::GridRange, decorator: Google::Apis::SheetsV4::GridRange::Representation
       
           property :sheet_id, as: 'sheetId'
-          property :match_case, as: 'matchCase'
           property :all_sheets, as: 'allSheets'
+          property :match_case, as: 'matchCase'
           property :include_formulas, as: 'includeFormulas'
           property :match_entire_cell, as: 'matchEntireCell'
-          property :find, as: 'find'
           property :search_by_regex, as: 'searchByRegex'
-          property :replacement, as: 'replacement'
+          property :find, as: 'find'
+        end
+      end
+      
+      class UpdateNamedRangeRequest
+        # @private
+        class Representation < Google::Apis::Core::JsonRepresentation
+          property :named_range, as: 'namedRange', class: Google::Apis::SheetsV4::NamedRange, decorator: Google::Apis::SheetsV4::NamedRange::Representation
+      
+          property :fields, as: 'fields'
         end
       end
       
@@ -961,13 +1450,13 @@ module Google
       class UpdateCellsRequest
         # @private
         class Representation < Google::Apis::Core::JsonRepresentation
+          collection :rows, as: 'rows', class: Google::Apis::SheetsV4::RowData, decorator: Google::Apis::SheetsV4::RowData::Representation
+      
+          property :fields, as: 'fields'
           property :start, as: 'start', class: Google::Apis::SheetsV4::GridCoordinate, decorator: Google::Apis::SheetsV4::GridCoordinate::Representation
       
           property :range, as: 'range', class: Google::Apis::SheetsV4::GridRange, decorator: Google::Apis::SheetsV4::GridRange::Representation
       
-          collection :rows, as: 'rows', class: Google::Apis::SheetsV4::RowData, decorator: Google::Apis::SheetsV4::RowData::Representation
-      
-          property :fields, as: 'fields'
         end
       end
       
@@ -1009,11 +1498,11 @@ module Google
       class GridProperties
         # @private
         class Representation < Google::Apis::Core::JsonRepresentation
-          property :frozen_row_count, as: 'frozenRowCount'
-          property :hide_gridlines, as: 'hideGridlines'
           property :column_count, as: 'columnCount'
           property :frozen_column_count, as: 'frozenColumnCount'
           property :row_count, as: 'rowCount'
+          property :frozen_row_count, as: 'frozenRowCount'
+          property :hide_gridlines, as: 'hideGridlines'
         end
       end
       
@@ -1040,10 +1529,10 @@ module Google
       
           collection :filter_views, as: 'filterViews', class: Google::Apis::SheetsV4::FilterView, decorator: Google::Apis::SheetsV4::FilterView::Representation
       
-          collection :conditional_formats, as: 'conditionalFormats', class: Google::Apis::SheetsV4::ConditionalFormatRule, decorator: Google::Apis::SheetsV4::ConditionalFormatRule::Representation
-      
           collection :protected_ranges, as: 'protectedRanges', class: Google::Apis::SheetsV4::ProtectedRange, decorator: Google::Apis::SheetsV4::ProtectedRange::Representation
       
+          collection :conditional_formats, as: 'conditionalFormats', class: Google::Apis::SheetsV4::ConditionalFormatRule, decorator: Google::Apis::SheetsV4::ConditionalFormatRule::Representation
+      
           property :basic_filter, as: 'basicFilter', class: Google::Apis::SheetsV4::BasicFilter, decorator: Google::Apis::SheetsV4::BasicFilter::Representation
       
         end
@@ -1075,6 +1564,15 @@ module Google
         end
       end
       
+      class PivotGroupValueMetadata
+        # @private
+        class Representation < Google::Apis::Core::JsonRepresentation
+          property :value, as: 'value', class: Google::Apis::SheetsV4::ExtendedValue, decorator: Google::Apis::SheetsV4::ExtendedValue::Representation
+      
+          property :collapsed, as: 'collapsed'
+        end
+      end
+      
       class FilterCriteria
         # @private
         class Representation < Google::Apis::Core::JsonRepresentation
@@ -1084,15 +1582,6 @@ module Google
         end
       end
       
-      class PivotGroupValueMetadata
-        # @private
-        class Representation < Google::Apis::Core::JsonRepresentation
-          property :collapsed, as: 'collapsed'
-          property :value, as: 'value', class: Google::Apis::SheetsV4::ExtendedValue, decorator: Google::Apis::SheetsV4::ExtendedValue::Representation
-      
-        end
-      end
-      
       class Editors
         # @private
         class Representation < Google::Apis::Core::JsonRepresentation
@@ -1105,22 +1594,22 @@ module Google
       class UpdateConditionalFormatRuleRequest
         # @private
         class Representation < Google::Apis::Core::JsonRepresentation
+          property :index, as: 'index'
+          property :sheet_id, as: 'sheetId'
           property :new_index, as: 'newIndex'
           property :rule, as: 'rule', class: Google::Apis::SheetsV4::ConditionalFormatRule, decorator: Google::Apis::SheetsV4::ConditionalFormatRule::Representation
       
-          property :index, as: 'index'
-          property :sheet_id, as: 'sheetId'
         end
       end
       
       class DataValidationRule
         # @private
         class Representation < Google::Apis::Core::JsonRepresentation
+          property :condition, as: 'condition', class: Google::Apis::SheetsV4::BooleanCondition, decorator: Google::Apis::SheetsV4::BooleanCondition::Representation
+      
           property :show_custom_ui, as: 'showCustomUi'
           property :strict, as: 'strict'
           property :input_message, as: 'inputMessage'
-          property :condition, as: 'condition', class: Google::Apis::SheetsV4::BooleanCondition, decorator: Google::Apis::SheetsV4::BooleanCondition::Representation
-      
         end
       end
       
@@ -1135,12 +1624,12 @@ module Google
       class PasteDataRequest
         # @private
         class Representation < Google::Apis::Core::JsonRepresentation
+          property :type, as: 'type'
+          property :html, as: 'html'
           property :coordinate, as: 'coordinate', class: Google::Apis::SheetsV4::GridCoordinate, decorator: Google::Apis::SheetsV4::GridCoordinate::Representation
       
           property :data, as: 'data'
           property :delimiter, as: 'delimiter'
-          property :type, as: 'type'
-          property :html, as: 'html'
         end
       end
       
@@ -1164,31 +1653,31 @@ module Google
       class UpdateEmbeddedObjectPositionRequest
         # @private
         class Representation < Google::Apis::Core::JsonRepresentation
-          property :new_position, as: 'newPosition', class: Google::Apis::SheetsV4::EmbeddedObjectPosition, decorator: Google::Apis::SheetsV4::EmbeddedObjectPosition::Representation
-      
           property :fields, as: 'fields'
           property :object_id_prop, as: 'objectId'
+          property :new_position, as: 'newPosition', class: Google::Apis::SheetsV4::EmbeddedObjectPosition, decorator: Google::Apis::SheetsV4::EmbeddedObjectPosition::Representation
+      
         end
       end
       
       class TextRotation
         # @private
         class Representation < Google::Apis::Core::JsonRepresentation
-          property :angle, as: 'angle'
           property :vertical, as: 'vertical'
+          property :angle, as: 'angle'
         end
       end
       
       class PieChartSpec
         # @private
         class Representation < Google::Apis::Core::JsonRepresentation
+          property :legend_position, as: 'legendPosition'
+          property :pie_hole, as: 'pieHole'
           property :domain, as: 'domain', class: Google::Apis::SheetsV4::ChartData, decorator: Google::Apis::SheetsV4::ChartData::Representation
       
           property :three_dimensional, as: 'threeDimensional'
           property :series, as: 'series', class: Google::Apis::SheetsV4::ChartData, decorator: Google::Apis::SheetsV4::ChartData::Representation
       
-          property :legend_position, as: 'legendPosition'
-          property :pie_hole, as: 'pieHole'
         end
       end
       
@@ -1204,12 +1693,12 @@ module Google
       class ConditionalFormatRule
         # @private
         class Representation < Google::Apis::Core::JsonRepresentation
+          property :gradient_rule, as: 'gradientRule', class: Google::Apis::SheetsV4::GradientRule, decorator: Google::Apis::SheetsV4::GradientRule::Representation
+      
           property :boolean_rule, as: 'booleanRule', class: Google::Apis::SheetsV4::BooleanRule, decorator: Google::Apis::SheetsV4::BooleanRule::Representation
       
           collection :ranges, as: 'ranges', class: Google::Apis::SheetsV4::GridRange, decorator: Google::Apis::SheetsV4::GridRange::Representation
       
-          property :gradient_rule, as: 'gradientRule', class: Google::Apis::SheetsV4::GradientRule, decorator: Google::Apis::SheetsV4::GradientRule::Representation
-      
         end
       end
       
@@ -1225,49 +1714,28 @@ module Google
         end
       end
       
+      class BooleanCondition
+        # @private
+        class Representation < Google::Apis::Core::JsonRepresentation
+          property :type, as: 'type'
+          collection :values, as: 'values', class: Google::Apis::SheetsV4::ConditionValue, decorator: Google::Apis::SheetsV4::ConditionValue::Representation
+      
+        end
+      end
+      
       class Request
         # @private
         class Representation < Google::Apis::Core::JsonRepresentation
-          property :move_dimension, as: 'moveDimension', class: Google::Apis::SheetsV4::MoveDimensionRequest, decorator: Google::Apis::SheetsV4::MoveDimensionRequest::Representation
-      
-          property :update_banding, as: 'updateBanding', class: Google::Apis::SheetsV4::UpdateBandingRequest, decorator: Google::Apis::SheetsV4::UpdateBandingRequest::Representation
-      
-          property :add_protected_range, as: 'addProtectedRange', class: Google::Apis::SheetsV4::AddProtectedRangeRequest, decorator: Google::Apis::SheetsV4::AddProtectedRangeRequest::Representation
-      
-          property :delete_named_range, as: 'deleteNamedRange', class: Google::Apis::SheetsV4::DeleteNamedRangeRequest, decorator: Google::Apis::SheetsV4::DeleteNamedRangeRequest::Representation
-      
-          property :duplicate_sheet, as: 'duplicateSheet', class: Google::Apis::SheetsV4::DuplicateSheetRequest, decorator: Google::Apis::SheetsV4::DuplicateSheetRequest::Representation
-      
-          property :unmerge_cells, as: 'unmergeCells', class: Google::Apis::SheetsV4::UnmergeCellsRequest, decorator: Google::Apis::SheetsV4::UnmergeCellsRequest::Representation
-      
-          property :delete_sheet, as: 'deleteSheet', class: Google::Apis::SheetsV4::DeleteSheetRequest, decorator: Google::Apis::SheetsV4::DeleteSheetRequest::Representation
-      
-          property :update_embedded_object_position, as: 'updateEmbeddedObjectPosition', class: Google::Apis::SheetsV4::UpdateEmbeddedObjectPositionRequest, decorator: Google::Apis::SheetsV4::UpdateEmbeddedObjectPositionRequest::Representation
-      
-          property :update_dimension_properties, as: 'updateDimensionProperties', class: Google::Apis::SheetsV4::UpdateDimensionPropertiesRequest, decorator: Google::Apis::SheetsV4::UpdateDimensionPropertiesRequest::Representation
-      
-          property :paste_data, as: 'pasteData', class: Google::Apis::SheetsV4::PasteDataRequest, decorator: Google::Apis::SheetsV4::PasteDataRequest::Representation
-      
-          property :set_basic_filter, as: 'setBasicFilter', class: Google::Apis::SheetsV4::SetBasicFilterRequest, decorator: Google::Apis::SheetsV4::SetBasicFilterRequest::Representation
-      
-          property :add_conditional_format_rule, as: 'addConditionalFormatRule', class: Google::Apis::SheetsV4::AddConditionalFormatRuleRequest, decorator: Google::Apis::SheetsV4::AddConditionalFormatRuleRequest::Representation
-      
-          property :add_named_range, as: 'addNamedRange', class: Google::Apis::SheetsV4::AddNamedRangeRequest, decorator: Google::Apis::SheetsV4::AddNamedRangeRequest::Representation
-      
-          property :update_cells, as: 'updateCells', class: Google::Apis::SheetsV4::UpdateCellsRequest, decorator: Google::Apis::SheetsV4::UpdateCellsRequest::Representation
-      
-          property :update_spreadsheet_properties, as: 'updateSpreadsheetProperties', class: Google::Apis::SheetsV4::UpdateSpreadsheetPropertiesRequest, decorator: Google::Apis::SheetsV4::UpdateSpreadsheetPropertiesRequest::Representation
-      
           property :delete_embedded_object, as: 'deleteEmbeddedObject', class: Google::Apis::SheetsV4::DeleteEmbeddedObjectRequest, decorator: Google::Apis::SheetsV4::DeleteEmbeddedObjectRequest::Representation
       
           property :update_filter_view, as: 'updateFilterView', class: Google::Apis::SheetsV4::UpdateFilterViewRequest, decorator: Google::Apis::SheetsV4::UpdateFilterViewRequest::Representation
       
           property :add_banding, as: 'addBanding', class: Google::Apis::SheetsV4::AddBandingRequest, decorator: Google::Apis::SheetsV4::AddBandingRequest::Representation
       
-          property :auto_resize_dimensions, as: 'autoResizeDimensions', class: Google::Apis::SheetsV4::AutoResizeDimensionsRequest, decorator: Google::Apis::SheetsV4::AutoResizeDimensionsRequest::Representation
-      
           property :append_cells, as: 'appendCells', class: Google::Apis::SheetsV4::AppendCellsRequest, decorator: Google::Apis::SheetsV4::AppendCellsRequest::Representation
       
+          property :auto_resize_dimensions, as: 'autoResizeDimensions', class: Google::Apis::SheetsV4::AutoResizeDimensionsRequest, decorator: Google::Apis::SheetsV4::AutoResizeDimensionsRequest::Representation
+      
           property :cut_paste, as: 'cutPaste', class: Google::Apis::SheetsV4::CutPasteRequest, decorator: Google::Apis::SheetsV4::CutPasteRequest::Representation
       
           property :merge_cells, as: 'mergeCells', class: Google::Apis::SheetsV4::MergeCellsRequest, decorator: Google::Apis::SheetsV4::MergeCellsRequest::Representation
@@ -1294,10 +1762,10 @@ module Google
       
           property :update_chart_spec, as: 'updateChartSpec', class: Google::Apis::SheetsV4::UpdateChartSpecRequest, decorator: Google::Apis::SheetsV4::UpdateChartSpecRequest::Representation
       
-          property :add_sheet, as: 'addSheet', class: Google::Apis::SheetsV4::AddSheetRequest, decorator: Google::Apis::SheetsV4::AddSheetRequest::Representation
-      
           property :update_protected_range, as: 'updateProtectedRange', class: Google::Apis::SheetsV4::UpdateProtectedRangeRequest, decorator: Google::Apis::SheetsV4::UpdateProtectedRangeRequest::Representation
       
+          property :add_sheet, as: 'addSheet', class: Google::Apis::SheetsV4::AddSheetRequest, decorator: Google::Apis::SheetsV4::AddSheetRequest::Representation
+      
           property :delete_filter_view, as: 'deleteFilterView', class: Google::Apis::SheetsV4::DeleteFilterViewRequest, decorator: Google::Apis::SheetsV4::DeleteFilterViewRequest::Representation
       
           property :copy_paste, as: 'copyPaste', class: Google::Apis::SheetsV4::CopyPasteRequest, decorator: Google::Apis::SheetsV4::CopyPasteRequest::Representation
@@ -1316,24 +1784,45 @@ module Google
       
           property :delete_conditional_format_rule, as: 'deleteConditionalFormatRule', class: Google::Apis::SheetsV4::DeleteConditionalFormatRuleRequest, decorator: Google::Apis::SheetsV4::DeleteConditionalFormatRuleRequest::Representation
       
-          property :clear_basic_filter, as: 'clearBasicFilter', class: Google::Apis::SheetsV4::ClearBasicFilterRequest, decorator: Google::Apis::SheetsV4::ClearBasicFilterRequest::Representation
-      
           property :repeat_cell, as: 'repeatCell', class: Google::Apis::SheetsV4::RepeatCellRequest, decorator: Google::Apis::SheetsV4::RepeatCellRequest::Representation
       
+          property :clear_basic_filter, as: 'clearBasicFilter', class: Google::Apis::SheetsV4::ClearBasicFilterRequest, decorator: Google::Apis::SheetsV4::ClearBasicFilterRequest::Representation
+      
           property :append_dimension, as: 'appendDimension', class: Google::Apis::SheetsV4::AppendDimensionRequest, decorator: Google::Apis::SheetsV4::AppendDimensionRequest::Representation
       
           property :update_conditional_format_rule, as: 'updateConditionalFormatRule', class: Google::Apis::SheetsV4::UpdateConditionalFormatRuleRequest, decorator: Google::Apis::SheetsV4::UpdateConditionalFormatRuleRequest::Representation
       
           property :insert_range, as: 'insertRange', class: Google::Apis::SheetsV4::InsertRangeRequest, decorator: Google::Apis::SheetsV4::InsertRangeRequest::Representation
       
-        end
-      end
+          property :move_dimension, as: 'moveDimension', class: Google::Apis::SheetsV4::MoveDimensionRequest, decorator: Google::Apis::SheetsV4::MoveDimensionRequest::Representation
       
-      class BooleanCondition
-        # @private
-        class Representation < Google::Apis::Core::JsonRepresentation
-          property :type, as: 'type'
-          collection :values, as: 'values', class: Google::Apis::SheetsV4::ConditionValue, decorator: Google::Apis::SheetsV4::ConditionValue::Representation
+          property :update_banding, as: 'updateBanding', class: Google::Apis::SheetsV4::UpdateBandingRequest, decorator: Google::Apis::SheetsV4::UpdateBandingRequest::Representation
+      
+          property :add_protected_range, as: 'addProtectedRange', class: Google::Apis::SheetsV4::AddProtectedRangeRequest, decorator: Google::Apis::SheetsV4::AddProtectedRangeRequest::Representation
+      
+          property :delete_named_range, as: 'deleteNamedRange', class: Google::Apis::SheetsV4::DeleteNamedRangeRequest, decorator: Google::Apis::SheetsV4::DeleteNamedRangeRequest::Representation
+      
+          property :duplicate_sheet, as: 'duplicateSheet', class: Google::Apis::SheetsV4::DuplicateSheetRequest, decorator: Google::Apis::SheetsV4::DuplicateSheetRequest::Representation
+      
+          property :delete_sheet, as: 'deleteSheet', class: Google::Apis::SheetsV4::DeleteSheetRequest, decorator: Google::Apis::SheetsV4::DeleteSheetRequest::Representation
+      
+          property :unmerge_cells, as: 'unmergeCells', class: Google::Apis::SheetsV4::UnmergeCellsRequest, decorator: Google::Apis::SheetsV4::UnmergeCellsRequest::Representation
+      
+          property :update_embedded_object_position, as: 'updateEmbeddedObjectPosition', class: Google::Apis::SheetsV4::UpdateEmbeddedObjectPositionRequest, decorator: Google::Apis::SheetsV4::UpdateEmbeddedObjectPositionRequest::Representation
+      
+          property :update_dimension_properties, as: 'updateDimensionProperties', class: Google::Apis::SheetsV4::UpdateDimensionPropertiesRequest, decorator: Google::Apis::SheetsV4::UpdateDimensionPropertiesRequest::Representation
+      
+          property :paste_data, as: 'pasteData', class: Google::Apis::SheetsV4::PasteDataRequest, decorator: Google::Apis::SheetsV4::PasteDataRequest::Representation
+      
+          property :set_basic_filter, as: 'setBasicFilter', class: Google::Apis::SheetsV4::SetBasicFilterRequest, decorator: Google::Apis::SheetsV4::SetBasicFilterRequest::Representation
+      
+          property :add_conditional_format_rule, as: 'addConditionalFormatRule', class: Google::Apis::SheetsV4::AddConditionalFormatRuleRequest, decorator: Google::Apis::SheetsV4::AddConditionalFormatRuleRequest::Representation
+      
+          property :update_cells, as: 'updateCells', class: Google::Apis::SheetsV4::UpdateCellsRequest, decorator: Google::Apis::SheetsV4::UpdateCellsRequest::Representation
+      
+          property :add_named_range, as: 'addNamedRange', class: Google::Apis::SheetsV4::AddNamedRangeRequest, decorator: Google::Apis::SheetsV4::AddNamedRangeRequest::Representation
+      
+          property :update_spreadsheet_properties, as: 'updateSpreadsheetProperties', class: Google::Apis::SheetsV4::UpdateSpreadsheetPropertiesRequest, decorator: Google::Apis::SheetsV4::UpdateSpreadsheetPropertiesRequest::Representation
       
         end
       end
@@ -1352,15 +1841,15 @@ module Google
       class BasicChartSpec
         # @private
         class Representation < Google::Apis::Core::JsonRepresentation
+          property :header_count, as: 'headerCount'
+          collection :axis, as: 'axis', class: Google::Apis::SheetsV4::BasicChartAxis, decorator: Google::Apis::SheetsV4::BasicChartAxis::Representation
+      
           property :chart_type, as: 'chartType'
           collection :series, as: 'series', class: Google::Apis::SheetsV4::BasicChartSeries, decorator: Google::Apis::SheetsV4::BasicChartSeries::Representation
       
           property :legend_position, as: 'legendPosition'
           collection :domains, as: 'domains', class: Google::Apis::SheetsV4::BasicChartDomain, decorator: Google::Apis::SheetsV4::BasicChartDomain::Representation
       
-          property :header_count, as: 'headerCount'
-          collection :axis, as: 'axis', class: Google::Apis::SheetsV4::BasicChartAxis, decorator: Google::Apis::SheetsV4::BasicChartAxis::Representation
-      
         end
       end
       
@@ -1377,23 +1866,23 @@ module Google
       class CellData
         # @private
         class Representation < Google::Apis::Core::JsonRepresentation
-          property :data_validation, as: 'dataValidation', class: Google::Apis::SheetsV4::DataValidationRule, decorator: Google::Apis::SheetsV4::DataValidationRule::Representation
-      
-          property :user_entered_value, as: 'userEnteredValue', class: Google::Apis::SheetsV4::ExtendedValue, decorator: Google::Apis::SheetsV4::ExtendedValue::Representation
-      
           property :effective_value, as: 'effectiveValue', class: Google::Apis::SheetsV4::ExtendedValue, decorator: Google::Apis::SheetsV4::ExtendedValue::Representation
       
+          property :formatted_value, as: 'formattedValue'
           collection :text_format_runs, as: 'textFormatRuns', class: Google::Apis::SheetsV4::TextFormatRun, decorator: Google::Apis::SheetsV4::TextFormatRun::Representation
       
-          property :formatted_value, as: 'formattedValue'
           property :hyperlink, as: 'hyperlink'
           property :pivot_table, as: 'pivotTable', class: Google::Apis::SheetsV4::PivotTable, decorator: Google::Apis::SheetsV4::PivotTable::Representation
       
           property :user_entered_format, as: 'userEnteredFormat', class: Google::Apis::SheetsV4::CellFormat, decorator: Google::Apis::SheetsV4::CellFormat::Representation
       
+          property :note, as: 'note'
           property :effective_format, as: 'effectiveFormat', class: Google::Apis::SheetsV4::CellFormat, decorator: Google::Apis::SheetsV4::CellFormat::Representation
       
-          property :note, as: 'note'
+          property :user_entered_value, as: 'userEnteredValue', class: Google::Apis::SheetsV4::ExtendedValue, decorator: Google::Apis::SheetsV4::ExtendedValue::Representation
+      
+          property :data_validation, as: 'dataValidation', class: Google::Apis::SheetsV4::DataValidationRule, decorator: Google::Apis::SheetsV4::DataValidationRule::Representation
+      
         end
       end
       
@@ -1408,16 +1897,6 @@ module Google
         end
       end
       
-      class BasicChartAxis
-        # @private
-        class Representation < Google::Apis::Core::JsonRepresentation
-          property :format, as: 'format', class: Google::Apis::SheetsV4::TextFormat, decorator: Google::Apis::SheetsV4::TextFormat::Representation
-      
-          property :position, as: 'position'
-          property :title, as: 'title'
-        end
-      end
-      
       class Padding
         # @private
         class Representation < Google::Apis::Core::JsonRepresentation
@@ -1428,6 +1907,16 @@ module Google
         end
       end
       
+      class BasicChartAxis
+        # @private
+        class Representation < Google::Apis::Core::JsonRepresentation
+          property :position, as: 'position'
+          property :title, as: 'title'
+          property :format, as: 'format', class: Google::Apis::SheetsV4::TextFormat, decorator: Google::Apis::SheetsV4::TextFormat::Representation
+      
+        end
+      end
+      
       class DeleteDimensionRequest
         # @private
         class Representation < Google::Apis::Core::JsonRepresentation
@@ -1455,13 +1944,13 @@ module Google
       class BatchUpdateValuesResponse
         # @private
         class Representation < Google::Apis::Core::JsonRepresentation
-          property :total_updated_sheets, as: 'totalUpdatedSheets'
-          property :total_updated_cells, as: 'totalUpdatedCells'
           property :total_updated_columns, as: 'totalUpdatedColumns'
           property :spreadsheet_id, as: 'spreadsheetId'
           property :total_updated_rows, as: 'totalUpdatedRows'
           collection :responses, as: 'responses', class: Google::Apis::SheetsV4::UpdateValuesResponse, decorator: Google::Apis::SheetsV4::UpdateValuesResponse::Representation
       
+          property :total_updated_sheets, as: 'totalUpdatedSheets'
+          property :total_updated_cells, as: 'totalUpdatedCells'
         end
       end
       
@@ -1478,9 +1967,9 @@ module Google
       class MergeCellsRequest
         # @private
         class Representation < Google::Apis::Core::JsonRepresentation
-          property :merge_type, as: 'mergeType'
           property :range, as: 'range', class: Google::Apis::SheetsV4::GridRange, decorator: Google::Apis::SheetsV4::GridRange::Representation
       
+          property :merge_type, as: 'mergeType'
         end
       end
       
@@ -1515,16 +2004,6 @@ module Google
         end
       end
       
-      class TextToColumnsRequest
-        # @private
-        class Representation < Google::Apis::Core::JsonRepresentation
-          property :source, as: 'source', class: Google::Apis::SheetsV4::GridRange, decorator: Google::Apis::SheetsV4::GridRange::Representation
-      
-          property :delimiter_type, as: 'delimiterType'
-          property :delimiter, as: 'delimiter'
-        end
-      end
-      
       class ClearBasicFilterRequest
         # @private
         class Representation < Google::Apis::Core::JsonRepresentation
@@ -1532,6 +2011,23 @@ module Google
         end
       end
       
+      class TextToColumnsRequest
+        # @private
+        class Representation < Google::Apis::Core::JsonRepresentation
+          property :delimiter, as: 'delimiter'
+          property :source, as: 'source', class: Google::Apis::SheetsV4::GridRange, decorator: Google::Apis::SheetsV4::GridRange::Representation
+      
+          property :delimiter_type, as: 'delimiterType'
+        end
+      end
+      
+      class DeleteBandingRequest
+        # @private
+        class Representation < Google::Apis::Core::JsonRepresentation
+          property :banded_range_id, as: 'bandedRangeId'
+        end
+      end
+      
       class BatchUpdateSpreadsheetResponse
         # @private
         class Representation < Google::Apis::Core::JsonRepresentation
@@ -1543,20 +2039,13 @@ module Google
         end
       end
       
-      class DeleteBandingRequest
-        # @private
-        class Representation < Google::Apis::Core::JsonRepresentation
-          property :banded_range_id, as: 'bandedRangeId'
-        end
-      end
-      
       class AppendValuesResponse
         # @private
         class Representation < Google::Apis::Core::JsonRepresentation
-          property :updates, as: 'updates', class: Google::Apis::SheetsV4::UpdateValuesResponse, decorator: Google::Apis::SheetsV4::UpdateValuesResponse::Representation
-      
           property :table_range, as: 'tableRange'
           property :spreadsheet_id, as: 'spreadsheetId'
+          property :updates, as: 'updates', class: Google::Apis::SheetsV4::UpdateValuesResponse, decorator: Google::Apis::SheetsV4::UpdateValuesResponse::Representation
+      
         end
       end
       
@@ -1616,73 +2105,65 @@ module Google
       class SheetProperties
         # @private
         class Representation < Google::Apis::Core::JsonRepresentation
-          property :right_to_left, as: 'rightToLeft'
-          property :hidden, as: 'hidden'
-          property :grid_properties, as: 'gridProperties', class: Google::Apis::SheetsV4::GridProperties, decorator: Google::Apis::SheetsV4::GridProperties::Representation
-      
-          property :sheet_type, as: 'sheetType'
           property :title, as: 'title'
           property :tab_color, as: 'tabColor', class: Google::Apis::SheetsV4::Color, decorator: Google::Apis::SheetsV4::Color::Representation
       
           property :index, as: 'index'
           property :sheet_id, as: 'sheetId'
+          property :right_to_left, as: 'rightToLeft'
+          property :hidden, as: 'hidden'
+          property :grid_properties, as: 'gridProperties', class: Google::Apis::SheetsV4::GridProperties, decorator: Google::Apis::SheetsV4::GridProperties::Representation
+      
+          property :sheet_type, as: 'sheetType'
         end
       end
       
       class UpdateDimensionPropertiesRequest
         # @private
         class Representation < Google::Apis::Core::JsonRepresentation
-          property :properties, as: 'properties', class: Google::Apis::SheetsV4::DimensionProperties, decorator: Google::Apis::SheetsV4::DimensionProperties::Representation
-      
           property :range, as: 'range', class: Google::Apis::SheetsV4::DimensionRange, decorator: Google::Apis::SheetsV4::DimensionRange::Representation
       
           property :fields, as: 'fields'
+          property :properties, as: 'properties', class: Google::Apis::SheetsV4::DimensionProperties, decorator: Google::Apis::SheetsV4::DimensionProperties::Representation
+      
         end
       end
       
       class SourceAndDestination
         # @private
         class Representation < Google::Apis::Core::JsonRepresentation
+          property :dimension, as: 'dimension'
           property :fill_length, as: 'fillLength'
           property :source, as: 'source', class: Google::Apis::SheetsV4::GridRange, decorator: Google::Apis::SheetsV4::GridRange::Representation
       
-          property :dimension, as: 'dimension'
         end
       end
       
       class FilterView
         # @private
         class Representation < Google::Apis::Core::JsonRepresentation
-          property :range, as: 'range', class: Google::Apis::SheetsV4::GridRange, decorator: Google::Apis::SheetsV4::GridRange::Representation
-      
+          property :named_range_id, as: 'namedRangeId'
+          property :filter_view_id, as: 'filterViewId'
           hash :criteria, as: 'criteria', class: Google::Apis::SheetsV4::FilterCriteria, decorator: Google::Apis::SheetsV4::FilterCriteria::Representation
       
           property :title, as: 'title'
+          property :range, as: 'range', class: Google::Apis::SheetsV4::GridRange, decorator: Google::Apis::SheetsV4::GridRange::Representation
+      
           collection :sort_specs, as: 'sortSpecs', class: Google::Apis::SheetsV4::SortSpec, decorator: Google::Apis::SheetsV4::SortSpec::Representation
       
-          property :named_range_id, as: 'namedRangeId'
-          property :filter_view_id, as: 'filterViewId'
         end
       end
       
       class BandingProperties
         # @private
         class Representation < Google::Apis::Core::JsonRepresentation
-          property :first_band_color, as: 'firstBandColor', class: Google::Apis::SheetsV4::Color, decorator: Google::Apis::SheetsV4::Color::Representation
-      
           property :second_band_color, as: 'secondBandColor', class: Google::Apis::SheetsV4::Color, decorator: Google::Apis::SheetsV4::Color::Representation
       
           property :footer_color, as: 'footerColor', class: Google::Apis::SheetsV4::Color, decorator: Google::Apis::SheetsV4::Color::Representation
       
           property :header_color, as: 'headerColor', class: Google::Apis::SheetsV4::Color, decorator: Google::Apis::SheetsV4::Color::Representation
       
-        end
-      end
-      
-      class AddProtectedRangeResponse
-        # @private
-        class Representation < Google::Apis::Core::JsonRepresentation
-          property :protected_range, as: 'protectedRange', class: Google::Apis::SheetsV4::ProtectedRange, decorator: Google::Apis::SheetsV4::ProtectedRange::Representation
+          property :first_band_color, as: 'firstBandColor', class: Google::Apis::SheetsV4::Color, decorator: Google::Apis::SheetsV4::Color::Representation
       
         end
       end
@@ -1699,16 +2180,32 @@ module Google
         end
       end
       
+      class AddProtectedRangeResponse
+        # @private
+        class Representation < Google::Apis::Core::JsonRepresentation
+          property :protected_range, as: 'protectedRange', class: Google::Apis::SheetsV4::ProtectedRange, decorator: Google::Apis::SheetsV4::ProtectedRange::Representation
+      
+        end
+      end
+      
       class UpdateValuesResponse
         # @private
         class Representation < Google::Apis::Core::JsonRepresentation
+          property :updated_columns, as: 'updatedColumns'
+          property :spreadsheet_id, as: 'spreadsheetId'
           property :updated_range, as: 'updatedRange'
           property :updated_cells, as: 'updatedCells'
           property :updated_data, as: 'updatedData', class: Google::Apis::SheetsV4::ValueRange, decorator: Google::Apis::SheetsV4::ValueRange::Representation
       
           property :updated_rows, as: 'updatedRows'
-          property :updated_columns, as: 'updatedColumns'
-          property :spreadsheet_id, as: 'spreadsheetId'
+        end
+      end
+      
+      class ErrorValue
+        # @private
+        class Representation < Google::Apis::Core::JsonRepresentation
+          property :message, as: 'message'
+          property :type, as: 'type'
         end
       end
       
@@ -1722,14 +2219,6 @@ module Google
         end
       end
       
-      class ErrorValue
-        # @private
-        class Representation < Google::Apis::Core::JsonRepresentation
-          property :type, as: 'type'
-          property :message, as: 'message'
-        end
-      end
-      
       class CopySheetToAnotherSpreadsheetRequest
         # @private
         class Representation < Google::Apis::Core::JsonRepresentation
@@ -1740,9 +2229,9 @@ module Google
       class PivotGroupSortValueBucket
         # @private
         class Representation < Google::Apis::Core::JsonRepresentation
-          property :values_index, as: 'valuesIndex'
           collection :buckets, as: 'buckets', class: Google::Apis::SheetsV4::ExtendedValue, decorator: Google::Apis::SheetsV4::ExtendedValue::Representation
       
+          property :values_index, as: 'valuesIndex'
         end
       end
       
@@ -1766,23 +2255,23 @@ module Google
       class AutoFillRequest
         # @private
         class Representation < Google::Apis::Core::JsonRepresentation
+          property :range, as: 'range', class: Google::Apis::SheetsV4::GridRange, decorator: Google::Apis::SheetsV4::GridRange::Representation
+      
           property :use_alternate_series, as: 'useAlternateSeries'
           property :source_and_destination, as: 'sourceAndDestination', class: Google::Apis::SheetsV4::SourceAndDestination, decorator: Google::Apis::SheetsV4::SourceAndDestination::Representation
       
-          property :range, as: 'range', class: Google::Apis::SheetsV4::GridRange, decorator: Google::Apis::SheetsV4::GridRange::Representation
-      
         end
       end
       
       class GradientRule
         # @private
         class Representation < Google::Apis::Core::JsonRepresentation
-          property :midpoint, as: 'midpoint', class: Google::Apis::SheetsV4::InterpolationPoint, decorator: Google::Apis::SheetsV4::InterpolationPoint::Representation
-      
           property :minpoint, as: 'minpoint', class: Google::Apis::SheetsV4::InterpolationPoint, decorator: Google::Apis::SheetsV4::InterpolationPoint::Representation
       
           property :maxpoint, as: 'maxpoint', class: Google::Apis::SheetsV4::InterpolationPoint, decorator: Google::Apis::SheetsV4::InterpolationPoint::Representation
       
+          property :midpoint, as: 'midpoint', class: Google::Apis::SheetsV4::InterpolationPoint, decorator: Google::Apis::SheetsV4::InterpolationPoint::Representation
+      
         end
       end
       
@@ -1803,21 +2292,21 @@ module Google
       class InterpolationPoint
         # @private
         class Representation < Google::Apis::Core::JsonRepresentation
-          property :type, as: 'type'
-          property :value, as: 'value'
           property :color, as: 'color', class: Google::Apis::SheetsV4::Color, decorator: Google::Apis::SheetsV4::Color::Representation
       
+          property :type, as: 'type'
+          property :value, as: 'value'
         end
       end
       
       class FindReplaceResponse
         # @private
         class Representation < Google::Apis::Core::JsonRepresentation
-          property :occurrences_changed, as: 'occurrencesChanged'
-          property :rows_changed, as: 'rowsChanged'
           property :sheets_changed, as: 'sheetsChanged'
           property :formulas_changed, as: 'formulasChanged'
           property :values_changed, as: 'valuesChanged'
+          property :occurrences_changed, as: 'occurrencesChanged'
+          property :rows_changed, as: 'rowsChanged'
         end
       end
       
@@ -1827,495 +2316,6 @@ module Google
           property :object_id_prop, as: 'objectId'
         end
       end
-      
-      class DuplicateFilterViewRequest
-        # @private
-        class Representation < Google::Apis::Core::JsonRepresentation
-          property :filter_id, as: 'filterId'
-        end
-      end
-      
-      class DeleteSheetRequest
-        # @private
-        class Representation < Google::Apis::Core::JsonRepresentation
-          property :sheet_id, as: 'sheetId'
-        end
-      end
-      
-      class UpdateConditionalFormatRuleResponse
-        # @private
-        class Representation < Google::Apis::Core::JsonRepresentation
-          property :old_rule, as: 'oldRule', class: Google::Apis::SheetsV4::ConditionalFormatRule, decorator: Google::Apis::SheetsV4::ConditionalFormatRule::Representation
-      
-          property :new_index, as: 'newIndex'
-          property :old_index, as: 'oldIndex'
-          property :new_rule, as: 'newRule', class: Google::Apis::SheetsV4::ConditionalFormatRule, decorator: Google::Apis::SheetsV4::ConditionalFormatRule::Representation
-      
-        end
-      end
-      
-      class DuplicateSheetRequest
-        # @private
-        class Representation < Google::Apis::Core::JsonRepresentation
-          property :insert_sheet_index, as: 'insertSheetIndex'
-          property :new_sheet_name, as: 'newSheetName'
-          property :source_sheet_id, as: 'sourceSheetId'
-          property :new_sheet_id, as: 'newSheetId'
-        end
-      end
-      
-      class ConditionValue
-        # @private
-        class Representation < Google::Apis::Core::JsonRepresentation
-          property :relative_date, as: 'relativeDate'
-          property :user_entered_value, as: 'userEnteredValue'
-        end
-      end
-      
-      class ExtendedValue
-        # @private
-        class Representation < Google::Apis::Core::JsonRepresentation
-          property :string_value, as: 'stringValue'
-          property :bool_value, as: 'boolValue'
-          property :formula_value, as: 'formulaValue'
-          property :number_value, as: 'numberValue'
-          property :error_value, as: 'errorValue', class: Google::Apis::SheetsV4::ErrorValue, decorator: Google::Apis::SheetsV4::ErrorValue::Representation
-      
-        end
-      end
-      
-      class AddChartRequest
-        # @private
-        class Representation < Google::Apis::Core::JsonRepresentation
-          property :chart, as: 'chart', class: Google::Apis::SheetsV4::EmbeddedChart, decorator: Google::Apis::SheetsV4::EmbeddedChart::Representation
-      
-        end
-      end
-      
-      class Spreadsheet
-        # @private
-        class Representation < Google::Apis::Core::JsonRepresentation
-          property :spreadsheet_url, as: 'spreadsheetUrl'
-          property :properties, as: 'properties', class: Google::Apis::SheetsV4::SpreadsheetProperties, decorator: Google::Apis::SheetsV4::SpreadsheetProperties::Representation
-      
-          property :spreadsheet_id, as: 'spreadsheetId'
-          collection :sheets, as: 'sheets', class: Google::Apis::SheetsV4::Sheet, decorator: Google::Apis::SheetsV4::Sheet::Representation
-      
-          collection :named_ranges, as: 'namedRanges', class: Google::Apis::SheetsV4::NamedRange, decorator: Google::Apis::SheetsV4::NamedRange::Representation
-      
-        end
-      end
-      
-      class BatchClearValuesResponse
-        # @private
-        class Representation < Google::Apis::Core::JsonRepresentation
-          collection :cleared_ranges, as: 'clearedRanges'
-          property :spreadsheet_id, as: 'spreadsheetId'
-        end
-      end
-      
-      class BandedRange
-        # @private
-        class Representation < Google::Apis::Core::JsonRepresentation
-          property :row_properties, as: 'rowProperties', class: Google::Apis::SheetsV4::BandingProperties, decorator: Google::Apis::SheetsV4::BandingProperties::Representation
-      
-          property :column_properties, as: 'columnProperties', class: Google::Apis::SheetsV4::BandingProperties, decorator: Google::Apis::SheetsV4::BandingProperties::Representation
-      
-          property :range, as: 'range', class: Google::Apis::SheetsV4::GridRange, decorator: Google::Apis::SheetsV4::GridRange::Representation
-      
-          property :banded_range_id, as: 'bandedRangeId'
-        end
-      end
-      
-      class UpdateProtectedRangeRequest
-        # @private
-        class Representation < Google::Apis::Core::JsonRepresentation
-          property :protected_range, as: 'protectedRange', class: Google::Apis::SheetsV4::ProtectedRange, decorator: Google::Apis::SheetsV4::ProtectedRange::Representation
-      
-          property :fields, as: 'fields'
-        end
-      end
-      
-      class TextFormat
-        # @private
-        class Representation < Google::Apis::Core::JsonRepresentation
-          property :underline, as: 'underline'
-          property :bold, as: 'bold'
-          property :foreground_color, as: 'foregroundColor', class: Google::Apis::SheetsV4::Color, decorator: Google::Apis::SheetsV4::Color::Representation
-      
-          property :font_family, as: 'fontFamily'
-          property :italic, as: 'italic'
-          property :strikethrough, as: 'strikethrough'
-          property :font_size, as: 'fontSize'
-        end
-      end
-      
-      class AddSheetResponse
-        # @private
-        class Representation < Google::Apis::Core::JsonRepresentation
-          property :properties, as: 'properties', class: Google::Apis::SheetsV4::SheetProperties, decorator: Google::Apis::SheetsV4::SheetProperties::Representation
-      
-        end
-      end
-      
-      class AddFilterViewResponse
-        # @private
-        class Representation < Google::Apis::Core::JsonRepresentation
-          property :filter, as: 'filter', class: Google::Apis::SheetsV4::FilterView, decorator: Google::Apis::SheetsV4::FilterView::Representation
-      
-        end
-      end
-      
-      class IterativeCalculationSettings
-        # @private
-        class Representation < Google::Apis::Core::JsonRepresentation
-          property :convergence_threshold, as: 'convergenceThreshold'
-          property :max_iterations, as: 'maxIterations'
-        end
-      end
-      
-      class OverlayPosition
-        # @private
-        class Representation < Google::Apis::Core::JsonRepresentation
-          property :anchor_cell, as: 'anchorCell', class: Google::Apis::SheetsV4::GridCoordinate, decorator: Google::Apis::SheetsV4::GridCoordinate::Representation
-      
-          property :offset_y_pixels, as: 'offsetYPixels'
-          property :height_pixels, as: 'heightPixels'
-          property :width_pixels, as: 'widthPixels'
-          property :offset_x_pixels, as: 'offsetXPixels'
-        end
-      end
-      
-      class SpreadsheetProperties
-        # @private
-        class Representation < Google::Apis::Core::JsonRepresentation
-          property :title, as: 'title'
-          property :time_zone, as: 'timeZone'
-          property :locale, as: 'locale'
-          property :iterative_calculation_settings, as: 'iterativeCalculationSettings', class: Google::Apis::SheetsV4::IterativeCalculationSettings, decorator: Google::Apis::SheetsV4::IterativeCalculationSettings::Representation
-      
-          property :auto_recalc, as: 'autoRecalc'
-          property :default_format, as: 'defaultFormat', class: Google::Apis::SheetsV4::CellFormat, decorator: Google::Apis::SheetsV4::CellFormat::Representation
-      
-        end
-      end
-      
-      class RepeatCellRequest
-        # @private
-        class Representation < Google::Apis::Core::JsonRepresentation
-          property :range, as: 'range', class: Google::Apis::SheetsV4::GridRange, decorator: Google::Apis::SheetsV4::GridRange::Representation
-      
-          property :fields, as: 'fields'
-          property :cell, as: 'cell', class: Google::Apis::SheetsV4::CellData, decorator: Google::Apis::SheetsV4::CellData::Representation
-      
-        end
-      end
-      
-      class AddChartResponse
-        # @private
-        class Representation < Google::Apis::Core::JsonRepresentation
-          property :chart, as: 'chart', class: Google::Apis::SheetsV4::EmbeddedChart, decorator: Google::Apis::SheetsV4::EmbeddedChart::Representation
-      
-        end
-      end
-      
-      class InsertDimensionRequest
-        # @private
-        class Representation < Google::Apis::Core::JsonRepresentation
-          property :range, as: 'range', class: Google::Apis::SheetsV4::DimensionRange, decorator: Google::Apis::SheetsV4::DimensionRange::Representation
-      
-          property :inherit_from_before, as: 'inheritFromBefore'
-        end
-      end
-      
-      class UpdateSpreadsheetPropertiesRequest
-        # @private
-        class Representation < Google::Apis::Core::JsonRepresentation
-          property :fields, as: 'fields'
-          property :properties, as: 'properties', class: Google::Apis::SheetsV4::SpreadsheetProperties, decorator: Google::Apis::SheetsV4::SpreadsheetProperties::Representation
-      
-        end
-      end
-      
-      class ProtectedRange
-        # @private
-        class Representation < Google::Apis::Core::JsonRepresentation
-          property :range, as: 'range', class: Google::Apis::SheetsV4::GridRange, decorator: Google::Apis::SheetsV4::GridRange::Representation
-      
-          property :editors, as: 'editors', class: Google::Apis::SheetsV4::Editors, decorator: Google::Apis::SheetsV4::Editors::Representation
-      
-          property :description, as: 'description'
-          collection :unprotected_ranges, as: 'unprotectedRanges', class: Google::Apis::SheetsV4::GridRange, decorator: Google::Apis::SheetsV4::GridRange::Representation
-      
-          property :named_range_id, as: 'namedRangeId'
-          property :protected_range_id, as: 'protectedRangeId'
-          property :warning_only, as: 'warningOnly'
-          property :requesting_user_can_edit, as: 'requestingUserCanEdit'
-        end
-      end
-      
-      class BatchUpdateValuesRequest
-        # @private
-        class Representation < Google::Apis::Core::JsonRepresentation
-          property :response_value_render_option, as: 'responseValueRenderOption'
-          property :include_values_in_response, as: 'includeValuesInResponse'
-          property :value_input_option, as: 'valueInputOption'
-          collection :data, as: 'data', class: Google::Apis::SheetsV4::ValueRange, decorator: Google::Apis::SheetsV4::ValueRange::Representation
-      
-          property :response_date_time_render_option, as: 'responseDateTimeRenderOption'
-        end
-      end
-      
-      class DimensionProperties
-        # @private
-        class Representation < Google::Apis::Core::JsonRepresentation
-          property :pixel_size, as: 'pixelSize'
-          property :hidden_by_filter, as: 'hiddenByFilter'
-          property :hidden_by_user, as: 'hiddenByUser'
-        end
-      end
-      
-      class NamedRange
-        # @private
-        class Representation < Google::Apis::Core::JsonRepresentation
-          property :named_range_id, as: 'namedRangeId'
-          property :range, as: 'range', class: Google::Apis::SheetsV4::GridRange, decorator: Google::Apis::SheetsV4::GridRange::Representation
-      
-          property :name, as: 'name'
-        end
-      end
-      
-      class DimensionRange
-        # @private
-        class Representation < Google::Apis::Core::JsonRepresentation
-          property :start_index, as: 'startIndex'
-          property :end_index, as: 'endIndex'
-          property :sheet_id, as: 'sheetId'
-          property :dimension, as: 'dimension'
-        end
-      end
-      
-      class CutPasteRequest
-        # @private
-        class Representation < Google::Apis::Core::JsonRepresentation
-          property :destination, as: 'destination', class: Google::Apis::SheetsV4::GridCoordinate, decorator: Google::Apis::SheetsV4::GridCoordinate::Representation
-      
-          property :source, as: 'source', class: Google::Apis::SheetsV4::GridRange, decorator: Google::Apis::SheetsV4::GridRange::Representation
-      
-          property :paste_type, as: 'pasteType'
-        end
-      end
-      
-      class Borders
-        # @private
-        class Representation < Google::Apis::Core::JsonRepresentation
-          property :top, as: 'top', class: Google::Apis::SheetsV4::Border, decorator: Google::Apis::SheetsV4::Border::Representation
-      
-          property :left, as: 'left', class: Google::Apis::SheetsV4::Border, decorator: Google::Apis::SheetsV4::Border::Representation
-      
-          property :right, as: 'right', class: Google::Apis::SheetsV4::Border, decorator: Google::Apis::SheetsV4::Border::Representation
-      
-          property :bottom, as: 'bottom', class: Google::Apis::SheetsV4::Border, decorator: Google::Apis::SheetsV4::Border::Representation
-      
-        end
-      end
-      
-      class BasicChartSeries
-        # @private
-        class Representation < Google::Apis::Core::JsonRepresentation
-          property :series, as: 'series', class: Google::Apis::SheetsV4::ChartData, decorator: Google::Apis::SheetsV4::ChartData::Representation
-      
-          property :type, as: 'type'
-          property :target_axis, as: 'targetAxis'
-        end
-      end
-      
-      class AutoResizeDimensionsRequest
-        # @private
-        class Representation < Google::Apis::Core::JsonRepresentation
-          property :dimensions, as: 'dimensions', class: Google::Apis::SheetsV4::DimensionRange, decorator: Google::Apis::SheetsV4::DimensionRange::Representation
-      
-        end
-      end
-      
-      class UpdateBordersRequest
-        # @private
-        class Representation < Google::Apis::Core::JsonRepresentation
-          property :top, as: 'top', class: Google::Apis::SheetsV4::Border, decorator: Google::Apis::SheetsV4::Border::Representation
-      
-          property :left, as: 'left', class: Google::Apis::SheetsV4::Border, decorator: Google::Apis::SheetsV4::Border::Representation
-      
-          property :bottom, as: 'bottom', class: Google::Apis::SheetsV4::Border, decorator: Google::Apis::SheetsV4::Border::Representation
-      
-          property :inner_vertical, as: 'innerVertical', class: Google::Apis::SheetsV4::Border, decorator: Google::Apis::SheetsV4::Border::Representation
-      
-          property :right, as: 'right', class: Google::Apis::SheetsV4::Border, decorator: Google::Apis::SheetsV4::Border::Representation
-      
-          property :range, as: 'range', class: Google::Apis::SheetsV4::GridRange, decorator: Google::Apis::SheetsV4::GridRange::Representation
-      
-          property :inner_horizontal, as: 'innerHorizontal', class: Google::Apis::SheetsV4::Border, decorator: Google::Apis::SheetsV4::Border::Representation
-      
-        end
-      end
-      
-      class CellFormat
-        # @private
-        class Representation < Google::Apis::Core::JsonRepresentation
-          property :wrap_strategy, as: 'wrapStrategy'
-          property :text_rotation, as: 'textRotation', class: Google::Apis::SheetsV4::TextRotation, decorator: Google::Apis::SheetsV4::TextRotation::Representation
-      
-          property :number_format, as: 'numberFormat', class: Google::Apis::SheetsV4::NumberFormat, decorator: Google::Apis::SheetsV4::NumberFormat::Representation
-      
-          property :horizontal_alignment, as: 'horizontalAlignment'
-          property :hyperlink_display_type, as: 'hyperlinkDisplayType'
-          property :text_format, as: 'textFormat', class: Google::Apis::SheetsV4::TextFormat, decorator: Google::Apis::SheetsV4::TextFormat::Representation
-      
-          property :background_color, as: 'backgroundColor', class: Google::Apis::SheetsV4::Color, decorator: Google::Apis::SheetsV4::Color::Representation
-      
-          property :vertical_alignment, as: 'verticalAlignment'
-          property :padding, as: 'padding', class: Google::Apis::SheetsV4::Padding, decorator: Google::Apis::SheetsV4::Padding::Representation
-      
-          property :text_direction, as: 'textDirection'
-          property :borders, as: 'borders', class: Google::Apis::SheetsV4::Borders, decorator: Google::Apis::SheetsV4::Borders::Representation
-      
-        end
-      end
-      
-      class ClearValuesResponse
-        # @private
-        class Representation < Google::Apis::Core::JsonRepresentation
-          property :cleared_range, as: 'clearedRange'
-          property :spreadsheet_id, as: 'spreadsheetId'
-        end
-      end
-      
-      class DeleteConditionalFormatRuleRequest
-        # @private
-        class Representation < Google::Apis::Core::JsonRepresentation
-          property :index, as: 'index'
-          property :sheet_id, as: 'sheetId'
-        end
-      end
-      
-      class DeleteNamedRangeRequest
-        # @private
-        class Representation < Google::Apis::Core::JsonRepresentation
-          property :named_range_id, as: 'namedRangeId'
-        end
-      end
-      
-      class AddBandingResponse
-        # @private
-        class Representation < Google::Apis::Core::JsonRepresentation
-          property :banded_range, as: 'bandedRange', class: Google::Apis::SheetsV4::BandedRange, decorator: Google::Apis::SheetsV4::BandedRange::Representation
-      
-        end
-      end
-      
-      class ChartData
-        # @private
-        class Representation < Google::Apis::Core::JsonRepresentation
-          property :source_range, as: 'sourceRange', class: Google::Apis::SheetsV4::ChartSourceRange, decorator: Google::Apis::SheetsV4::ChartSourceRange::Representation
-      
-        end
-      end
-      
-      class BatchGetValuesResponse
-        # @private
-        class Representation < Google::Apis::Core::JsonRepresentation
-          collection :value_ranges, as: 'valueRanges', class: Google::Apis::SheetsV4::ValueRange, decorator: Google::Apis::SheetsV4::ValueRange::Representation
-      
-          property :spreadsheet_id, as: 'spreadsheetId'
-        end
-      end
-      
-      class UpdateBandingRequest
-        # @private
-        class Representation < Google::Apis::Core::JsonRepresentation
-          property :fields, as: 'fields'
-          property :banded_range, as: 'bandedRange', class: Google::Apis::SheetsV4::BandedRange, decorator: Google::Apis::SheetsV4::BandedRange::Representation
-      
-        end
-      end
-      
-      class Color
-        # @private
-        class Representation < Google::Apis::Core::JsonRepresentation
-          property :red, as: 'red'
-          property :green, as: 'green'
-          property :blue, as: 'blue'
-          property :alpha, as: 'alpha'
-        end
-      end
-      
-      class PivotGroup
-        # @private
-        class Representation < Google::Apis::Core::JsonRepresentation
-          property :sort_order, as: 'sortOrder'
-          property :value_bucket, as: 'valueBucket', class: Google::Apis::SheetsV4::PivotGroupSortValueBucket, decorator: Google::Apis::SheetsV4::PivotGroupSortValueBucket::Representation
-      
-          property :source_column_offset, as: 'sourceColumnOffset'
-          property :show_totals, as: 'showTotals'
-          collection :value_metadata, as: 'valueMetadata', class: Google::Apis::SheetsV4::PivotGroupValueMetadata, decorator: Google::Apis::SheetsV4::PivotGroupValueMetadata::Representation
-      
-        end
-      end
-      
-      class PivotTable
-        # @private
-        class Representation < Google::Apis::Core::JsonRepresentation
-          hash :criteria, as: 'criteria', class: Google::Apis::SheetsV4::PivotFilterCriteria, decorator: Google::Apis::SheetsV4::PivotFilterCriteria::Representation
-      
-          collection :rows, as: 'rows', class: Google::Apis::SheetsV4::PivotGroup, decorator: Google::Apis::SheetsV4::PivotGroup::Representation
-      
-          property :value_layout, as: 'valueLayout'
-          collection :columns, as: 'columns', class: Google::Apis::SheetsV4::PivotGroup, decorator: Google::Apis::SheetsV4::PivotGroup::Representation
-      
-          collection :values, as: 'values', class: Google::Apis::SheetsV4::PivotValue, decorator: Google::Apis::SheetsV4::PivotValue::Representation
-      
-          property :source, as: 'source', class: Google::Apis::SheetsV4::GridRange, decorator: Google::Apis::SheetsV4::GridRange::Representation
-      
-        end
-      end
-      
-      class ChartSourceRange
-        # @private
-        class Representation < Google::Apis::Core::JsonRepresentation
-          collection :sources, as: 'sources', class: Google::Apis::SheetsV4::GridRange, decorator: Google::Apis::SheetsV4::GridRange::Representation
-      
-        end
-      end
-      
-      class AppendCellsRequest
-        # @private
-        class Representation < Google::Apis::Core::JsonRepresentation
-          collection :rows, as: 'rows', class: Google::Apis::SheetsV4::RowData, decorator: Google::Apis::SheetsV4::RowData::Representation
-      
-          property :fields, as: 'fields'
-          property :sheet_id, as: 'sheetId'
-        end
-      end
-      
-      class ValueRange
-        # @private
-        class Representation < Google::Apis::Core::JsonRepresentation
-          property :range, as: 'range'
-          property :major_dimension, as: 'majorDimension'
-          collection :values, as: 'values', :class => Array do
-        include Representable::JSON::Collection
-        items
-      end
-      
-        end
-      end
-      
-      class AddBandingRequest
-        # @private
-        class Representation < Google::Apis::Core::JsonRepresentation
-          property :banded_range, as: 'bandedRange', class: Google::Apis::SheetsV4::BandedRange, decorator: Google::Apis::SheetsV4::BandedRange::Representation
-      
-        end
-      end
     end
   end
 end
diff --git a/generated/google/apis/sheets_v4/service.rb b/generated/google/apis/sheets_v4/service.rb
index 422eb8f95..24038491e 100644
--- a/generated/google/apis/sheets_v4/service.rb
+++ b/generated/google/apis/sheets_v4/service.rb
@@ -32,18 +32,19 @@ module Google
       #
       # @see https://developers.google.com/sheets/
       class SheetsService < Google::Apis::Core::BaseService
-        # @return [String]
-        #  API key. Your API key identifies your project and provides you with API access,
-        #  quota, and reports. Required unless you provide an OAuth 2.0 token.
-        attr_accessor :key
-
         # @return [String]
         #  Available to use for quota purposes for server-side applications. Can be any
         #  arbitrary string assigned to a user, but should not exceed 40 characters.
         attr_accessor :quota_user
 
+        # @return [String]
+        #  API key. Your API key identifies your project and provides you with API access,
+        #  quota, and reports. Required unless you provide an OAuth 2.0 token.
+        attr_accessor :key
+
         def initialize
           super('https://sheets.googleapis.com/', '')
+          @batch_path = 'batch'
         end
         
         # Returns the spreadsheet at the given ID.
@@ -69,11 +70,11 @@ module Google
         # @param [Boolean] include_grid_data
         #   True if grid data should be returned.
         #   This parameter is ignored if a field mask was set in the request.
-        # @param [String] fields
-        #   Selector specifying which fields to include in a partial response.
         # @param [String] quota_user
         #   Available to use for quota purposes for server-side applications. Can be any
         #   arbitrary string assigned to a user, but should not exceed 40 characters.
+        # @param [String] fields
+        #   Selector specifying which fields to include in a partial response.
         # @param [Google::Apis::RequestOptions] options
         #   Request-specific options
         #
@@ -86,25 +87,25 @@ module Google
         # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
         # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
         # @raise [Google::Apis::AuthorizationError] Authorization is required
-        def get_spreadsheet(spreadsheet_id, ranges: nil, include_grid_data: nil, fields: nil, quota_user: nil, options: nil, &block)
+        def get_spreadsheet(spreadsheet_id, ranges: nil, include_grid_data: nil, quota_user: nil, fields: nil, options: nil, &block)
           command =  make_simple_command(:get, 'v4/spreadsheets/{spreadsheetId}', options)
           command.response_representation = Google::Apis::SheetsV4::Spreadsheet::Representation
           command.response_class = Google::Apis::SheetsV4::Spreadsheet
           command.params['spreadsheetId'] = spreadsheet_id unless spreadsheet_id.nil?
           command.query['ranges'] = ranges unless ranges.nil?
           command.query['includeGridData'] = include_grid_data unless include_grid_data.nil?
-          command.query['fields'] = fields unless fields.nil?
           command.query['quotaUser'] = quota_user unless quota_user.nil?
+          command.query['fields'] = fields unless fields.nil?
           execute_or_queue_command(command, &block)
         end
         
         # Creates a spreadsheet, returning the newly created spreadsheet.
         # @param [Google::Apis::SheetsV4::Spreadsheet] spreadsheet_object
-        # @param [String] fields
-        #   Selector specifying which fields to include in a partial response.
         # @param [String] quota_user
         #   Available to use for quota purposes for server-side applications. Can be any
         #   arbitrary string assigned to a user, but should not exceed 40 characters.
+        # @param [String] fields
+        #   Selector specifying which fields to include in a partial response.
         # @param [Google::Apis::RequestOptions] options
         #   Request-specific options
         #
@@ -117,14 +118,14 @@ module Google
         # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
         # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
         # @raise [Google::Apis::AuthorizationError] Authorization is required
-        def create_spreadsheet(spreadsheet_object = nil, fields: nil, quota_user: nil, options: nil, &block)
+        def create_spreadsheet(spreadsheet_object = nil, quota_user: nil, fields: nil, options: nil, &block)
           command =  make_simple_command(:post, 'v4/spreadsheets', options)
           command.request_representation = Google::Apis::SheetsV4::Spreadsheet::Representation
           command.request_object = spreadsheet_object
           command.response_representation = Google::Apis::SheetsV4::Spreadsheet::Representation
           command.response_class = Google::Apis::SheetsV4::Spreadsheet
-          command.query['fields'] = fields unless fields.nil?
           command.query['quotaUser'] = quota_user unless quota_user.nil?
+          command.query['fields'] = fields unless fields.nil?
           execute_or_queue_command(command, &block)
         end
         
@@ -147,11 +148,11 @@ module Google
         # @param [String] spreadsheet_id
         #   The spreadsheet to apply the updates to.
         # @param [Google::Apis::SheetsV4::BatchUpdateSpreadsheetRequest] batch_update_spreadsheet_request_object
-        # @param [String] fields
-        #   Selector specifying which fields to include in a partial response.
         # @param [String] quota_user
         #   Available to use for quota purposes for server-side applications. Can be any
         #   arbitrary string assigned to a user, but should not exceed 40 characters.
+        # @param [String] fields
+        #   Selector specifying which fields to include in a partial response.
         # @param [Google::Apis::RequestOptions] options
         #   Request-specific options
         #
@@ -164,162 +165,15 @@ module Google
         # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
         # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
         # @raise [Google::Apis::AuthorizationError] Authorization is required
-        def batch_update_spreadsheet(spreadsheet_id, batch_update_spreadsheet_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
+        def batch_update_spreadsheet(spreadsheet_id, batch_update_spreadsheet_request_object = nil, quota_user: nil, fields: nil, options: nil, &block)
           command =  make_simple_command(:post, 'v4/spreadsheets/{spreadsheetId}:batchUpdate', options)
           command.request_representation = Google::Apis::SheetsV4::BatchUpdateSpreadsheetRequest::Representation
           command.request_object = batch_update_spreadsheet_request_object
           command.response_representation = Google::Apis::SheetsV4::BatchUpdateSpreadsheetResponse::Representation
           command.response_class = Google::Apis::SheetsV4::BatchUpdateSpreadsheetResponse
           command.params['spreadsheetId'] = spreadsheet_id unless spreadsheet_id.nil?
-          command.query['fields'] = fields unless fields.nil?
           command.query['quotaUser'] = quota_user unless quota_user.nil?
-          execute_or_queue_command(command, &block)
-        end
-        
-        # Returns a range of values from a spreadsheet.
-        # The caller must specify the spreadsheet ID and a range.
-        # @param [String] spreadsheet_id
-        #   The ID of the spreadsheet to retrieve data from.
-        # @param [String] range
-        #   The A1 notation of the values to retrieve.
-        # @param [String] major_dimension
-        #   The major dimension that results should use.
-        #   For example, if the spreadsheet data is: `A1=1,B1=2,A2=3,B2=4`,
-        #   then requesting `range=A1:B2,majorDimension=ROWS` will return
-        #   `[[1,2],[3,4]]`,
-        #   whereas requesting `range=A1:B2,majorDimension=COLUMNS` will return
-        #   `[[1,3],[2,4]]`.
-        # @param [String] value_render_option
-        #   How values should be represented in the output.
-        #   The default render option is ValueRenderOption.FORMATTED_VALUE.
-        # @param [String] date_time_render_option
-        #   How dates, times, and durations should be represented in the output.
-        #   This is ignored if value_render_option is
-        #   FORMATTED_VALUE.
-        #   The default dateTime render option is [DateTimeRenderOption.SERIAL_NUMBER].
-        # @param [String] fields
-        #   Selector specifying which fields to include in a partial response.
-        # @param [String] quota_user
-        #   Available to use for quota purposes for server-side applications. Can be any
-        #   arbitrary string assigned to a user, but should not exceed 40 characters.
-        # @param [Google::Apis::RequestOptions] options
-        #   Request-specific options
-        #
-        # @yield [result, err] Result & error if block supplied
-        # @yieldparam result [Google::Apis::SheetsV4::ValueRange] parsed result object
-        # @yieldparam err [StandardError] error object if request failed
-        #
-        # @return [Google::Apis::SheetsV4::ValueRange]
-        #
-        # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
-        # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
-        # @raise [Google::Apis::AuthorizationError] Authorization is required
-        def get_spreadsheet_values(spreadsheet_id, range, major_dimension: nil, value_render_option: nil, date_time_render_option: nil, fields: nil, quota_user: nil, options: nil, &block)
-          command =  make_simple_command(:get, 'v4/spreadsheets/{spreadsheetId}/values/{range}', options)
-          command.response_representation = Google::Apis::SheetsV4::ValueRange::Representation
-          command.response_class = Google::Apis::SheetsV4::ValueRange
-          command.params['spreadsheetId'] = spreadsheet_id unless spreadsheet_id.nil?
-          command.params['range'] = range unless range.nil?
-          command.query['majorDimension'] = major_dimension unless major_dimension.nil?
-          command.query['valueRenderOption'] = value_render_option unless value_render_option.nil?
-          command.query['dateTimeRenderOption'] = date_time_render_option unless date_time_render_option.nil?
           command.query['fields'] = fields unless fields.nil?
-          command.query['quotaUser'] = quota_user unless quota_user.nil?
-          execute_or_queue_command(command, &block)
-        end
-        
-        # Sets values in a range of a spreadsheet.
-        # The caller must specify the spreadsheet ID, range, and
-        # a valueInputOption.
-        # @param [String] spreadsheet_id
-        #   The ID of the spreadsheet to update.
-        # @param [String] range
-        #   The A1 notation of the values to update.
-        # @param [Google::Apis::SheetsV4::ValueRange] value_range_object
-        # @param [String] response_value_render_option
-        #   Determines how values in the response should be rendered.
-        #   The default render option is ValueRenderOption.FORMATTED_VALUE.
-        # @param [String] value_input_option
-        #   How the input data should be interpreted.
-        # @param [String] response_date_time_render_option
-        #   Determines how dates, times, and durations in the response should be
-        #   rendered. This is ignored if response_value_render_option is
-        #   FORMATTED_VALUE.
-        #   The default dateTime render option is [DateTimeRenderOption.SERIAL_NUMBER].
-        # @param [Boolean] include_values_in_response
-        #   Determines if the update response should include the values
-        #   of the cells that were updated. By default, responses
-        #   do not include the updated values.
-        #   If the range to write was larger than than the range actually written,
-        #   the response will include all values in the requested range (excluding
-        #   trailing empty rows and columns).
-        # @param [String] fields
-        #   Selector specifying which fields to include in a partial response.
-        # @param [String] quota_user
-        #   Available to use for quota purposes for server-side applications. Can be any
-        #   arbitrary string assigned to a user, but should not exceed 40 characters.
-        # @param [Google::Apis::RequestOptions] options
-        #   Request-specific options
-        #
-        # @yield [result, err] Result & error if block supplied
-        # @yieldparam result [Google::Apis::SheetsV4::UpdateValuesResponse] parsed result object
-        # @yieldparam err [StandardError] error object if request failed
-        #
-        # @return [Google::Apis::SheetsV4::UpdateValuesResponse]
-        #
-        # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
-        # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
-        # @raise [Google::Apis::AuthorizationError] Authorization is required
-        def update_spreadsheet_value(spreadsheet_id, range, value_range_object = nil, response_value_render_option: nil, value_input_option: nil, response_date_time_render_option: nil, include_values_in_response: nil, fields: nil, quota_user: nil, options: nil, &block)
-          command =  make_simple_command(:put, 'v4/spreadsheets/{spreadsheetId}/values/{range}', options)
-          command.request_representation = Google::Apis::SheetsV4::ValueRange::Representation
-          command.request_object = value_range_object
-          command.response_representation = Google::Apis::SheetsV4::UpdateValuesResponse::Representation
-          command.response_class = Google::Apis::SheetsV4::UpdateValuesResponse
-          command.params['spreadsheetId'] = spreadsheet_id unless spreadsheet_id.nil?
-          command.params['range'] = range unless range.nil?
-          command.query['responseValueRenderOption'] = response_value_render_option unless response_value_render_option.nil?
-          command.query['valueInputOption'] = value_input_option unless value_input_option.nil?
-          command.query['responseDateTimeRenderOption'] = response_date_time_render_option unless response_date_time_render_option.nil?
-          command.query['includeValuesInResponse'] = include_values_in_response unless include_values_in_response.nil?
-          command.query['fields'] = fields unless fields.nil?
-          command.query['quotaUser'] = quota_user unless quota_user.nil?
-          execute_or_queue_command(command, &block)
-        end
-        
-        # Sets values in one or more ranges of a spreadsheet.
-        # The caller must specify the spreadsheet ID,
-        # a valueInputOption, and one or more
-        # ValueRanges.
-        # @param [String] spreadsheet_id
-        #   The ID of the spreadsheet to update.
-        # @param [Google::Apis::SheetsV4::BatchUpdateValuesRequest] batch_update_values_request_object
-        # @param [String] fields
-        #   Selector specifying which fields to include in a partial response.
-        # @param [String] quota_user
-        #   Available to use for quota purposes for server-side applications. Can be any
-        #   arbitrary string assigned to a user, but should not exceed 40 characters.
-        # @param [Google::Apis::RequestOptions] options
-        #   Request-specific options
-        #
-        # @yield [result, err] Result & error if block supplied
-        # @yieldparam result [Google::Apis::SheetsV4::BatchUpdateValuesResponse] parsed result object
-        # @yieldparam err [StandardError] error object if request failed
-        #
-        # @return [Google::Apis::SheetsV4::BatchUpdateValuesResponse]
-        #
-        # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
-        # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
-        # @raise [Google::Apis::AuthorizationError] Authorization is required
-        def batch_update_values(spreadsheet_id, batch_update_values_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
-          command =  make_simple_command(:post, 'v4/spreadsheets/{spreadsheetId}/values:batchUpdate', options)
-          command.request_representation = Google::Apis::SheetsV4::BatchUpdateValuesRequest::Representation
-          command.request_object = batch_update_values_request_object
-          command.response_representation = Google::Apis::SheetsV4::BatchUpdateValuesResponse::Representation
-          command.response_class = Google::Apis::SheetsV4::BatchUpdateValuesResponse
-          command.params['spreadsheetId'] = spreadsheet_id unless spreadsheet_id.nil?
-          command.query['fields'] = fields unless fields.nil?
-          command.query['quotaUser'] = quota_user unless quota_user.nil?
           execute_or_queue_command(command, &block)
         end
         
@@ -332,11 +186,11 @@ module Google
         # @param [String] range
         #   The A1 notation of the values to clear.
         # @param [Google::Apis::SheetsV4::ClearValuesRequest] clear_values_request_object
-        # @param [String] fields
-        #   Selector specifying which fields to include in a partial response.
         # @param [String] quota_user
         #   Available to use for quota purposes for server-side applications. Can be any
         #   arbitrary string assigned to a user, but should not exceed 40 characters.
+        # @param [String] fields
+        #   Selector specifying which fields to include in a partial response.
         # @param [Google::Apis::RequestOptions] options
         #   Request-specific options
         #
@@ -349,7 +203,7 @@ module Google
         # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
         # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
         # @raise [Google::Apis::AuthorizationError] Authorization is required
-        def clear_values(spreadsheet_id, range, clear_values_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
+        def clear_values(spreadsheet_id, range, clear_values_request_object = nil, quota_user: nil, fields: nil, options: nil, &block)
           command =  make_simple_command(:post, 'v4/spreadsheets/{spreadsheetId}/values/{range}:clear', options)
           command.request_representation = Google::Apis::SheetsV4::ClearValuesRequest::Representation
           command.request_object = clear_values_request_object
@@ -357,8 +211,8 @@ module Google
           command.response_class = Google::Apis::SheetsV4::ClearValuesResponse
           command.params['spreadsheetId'] = spreadsheet_id unless spreadsheet_id.nil?
           command.params['range'] = range unless range.nil?
-          command.query['fields'] = fields unless fields.nil?
           command.query['quotaUser'] = quota_user unless quota_user.nil?
+          command.query['fields'] = fields unless fields.nil?
           execute_or_queue_command(command, &block)
         end
         
@@ -366,6 +220,14 @@ module Google
         # The caller must specify the spreadsheet ID and one or more ranges.
         # @param [String] spreadsheet_id
         #   The ID of the spreadsheet to retrieve data from.
+        # @param [String] value_render_option
+        #   How values should be represented in the output.
+        #   The default render option is ValueRenderOption.FORMATTED_VALUE.
+        # @param [String] date_time_render_option
+        #   How dates, times, and durations should be represented in the output.
+        #   This is ignored if value_render_option is
+        #   FORMATTED_VALUE.
+        #   The default dateTime render option is [DateTimeRenderOption.SERIAL_NUMBER].
         # @param [Array, String] ranges
         #   The A1 notation of the values to retrieve.
         # @param [String] major_dimension
@@ -375,19 +237,11 @@ module Google
         #   `[[1,2],[3,4]]`,
         #   whereas requesting `range=A1:B2,majorDimension=COLUMNS` will return
         #   `[[1,3],[2,4]]`.
-        # @param [String] value_render_option
-        #   How values should be represented in the output.
-        #   The default render option is ValueRenderOption.FORMATTED_VALUE.
-        # @param [String] date_time_render_option
-        #   How dates, times, and durations should be represented in the output.
-        #   This is ignored if value_render_option is
-        #   FORMATTED_VALUE.
-        #   The default dateTime render option is [DateTimeRenderOption.SERIAL_NUMBER].
-        # @param [String] fields
-        #   Selector specifying which fields to include in a partial response.
         # @param [String] quota_user
         #   Available to use for quota purposes for server-side applications. Can be any
         #   arbitrary string assigned to a user, but should not exceed 40 characters.
+        # @param [String] fields
+        #   Selector specifying which fields to include in a partial response.
         # @param [Google::Apis::RequestOptions] options
         #   Request-specific options
         #
@@ -400,17 +254,17 @@ module Google
         # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
         # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
         # @raise [Google::Apis::AuthorizationError] Authorization is required
-        def batch_get_spreadsheet_values(spreadsheet_id, ranges: nil, major_dimension: nil, value_render_option: nil, date_time_render_option: nil, fields: nil, quota_user: nil, options: nil, &block)
+        def batch_get_spreadsheet_values(spreadsheet_id, value_render_option: nil, date_time_render_option: nil, ranges: nil, major_dimension: nil, quota_user: nil, fields: nil, options: nil, &block)
           command =  make_simple_command(:get, 'v4/spreadsheets/{spreadsheetId}/values:batchGet', options)
           command.response_representation = Google::Apis::SheetsV4::BatchGetValuesResponse::Representation
           command.response_class = Google::Apis::SheetsV4::BatchGetValuesResponse
           command.params['spreadsheetId'] = spreadsheet_id unless spreadsheet_id.nil?
-          command.query['ranges'] = ranges unless ranges.nil?
-          command.query['majorDimension'] = major_dimension unless major_dimension.nil?
           command.query['valueRenderOption'] = value_render_option unless value_render_option.nil?
           command.query['dateTimeRenderOption'] = date_time_render_option unless date_time_render_option.nil?
-          command.query['fields'] = fields unless fields.nil?
+          command.query['ranges'] = ranges unless ranges.nil?
+          command.query['majorDimension'] = major_dimension unless major_dimension.nil?
           command.query['quotaUser'] = quota_user unless quota_user.nil?
+          command.query['fields'] = fields unless fields.nil?
           execute_or_queue_command(command, &block)
         end
         
@@ -433,6 +287,13 @@ module Google
         #   The A1 notation of a range to search for a logical table of data.
         #   Values will be appended after the last row of the table.
         # @param [Google::Apis::SheetsV4::ValueRange] value_range_object
+        # @param [String] value_input_option
+        #   How the input data should be interpreted.
+        # @param [String] response_date_time_render_option
+        #   Determines how dates, times, and durations in the response should be
+        #   rendered. This is ignored if response_value_render_option is
+        #   FORMATTED_VALUE.
+        #   The default dateTime render option is [DateTimeRenderOption.SERIAL_NUMBER].
         # @param [Boolean] include_values_in_response
         #   Determines if the update response should include the values
         #   of the cells that were appended. By default, responses
@@ -442,18 +303,11 @@ module Google
         #   The default render option is ValueRenderOption.FORMATTED_VALUE.
         # @param [String] insert_data_option
         #   How the input data should be inserted.
-        # @param [String] value_input_option
-        #   How the input data should be interpreted.
-        # @param [String] response_date_time_render_option
-        #   Determines how dates, times, and durations in the response should be
-        #   rendered. This is ignored if response_value_render_option is
-        #   FORMATTED_VALUE.
-        #   The default dateTime render option is [DateTimeRenderOption.SERIAL_NUMBER].
-        # @param [String] fields
-        #   Selector specifying which fields to include in a partial response.
         # @param [String] quota_user
         #   Available to use for quota purposes for server-side applications. Can be any
         #   arbitrary string assigned to a user, but should not exceed 40 characters.
+        # @param [String] fields
+        #   Selector specifying which fields to include in a partial response.
         # @param [Google::Apis::RequestOptions] options
         #   Request-specific options
         #
@@ -466,7 +320,7 @@ module Google
         # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
         # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
         # @raise [Google::Apis::AuthorizationError] Authorization is required
-        def append_spreadsheet_value(spreadsheet_id, range, value_range_object = nil, include_values_in_response: nil, response_value_render_option: nil, insert_data_option: nil, value_input_option: nil, response_date_time_render_option: nil, fields: nil, quota_user: nil, options: nil, &block)
+        def append_spreadsheet_value(spreadsheet_id, range, value_range_object = nil, value_input_option: nil, response_date_time_render_option: nil, include_values_in_response: nil, response_value_render_option: nil, insert_data_option: nil, quota_user: nil, fields: nil, options: nil, &block)
           command =  make_simple_command(:post, 'v4/spreadsheets/{spreadsheetId}/values/{range}:append', options)
           command.request_representation = Google::Apis::SheetsV4::ValueRange::Representation
           command.request_object = value_range_object
@@ -474,13 +328,13 @@ module Google
           command.response_class = Google::Apis::SheetsV4::AppendValuesResponse
           command.params['spreadsheetId'] = spreadsheet_id unless spreadsheet_id.nil?
           command.params['range'] = range unless range.nil?
+          command.query['valueInputOption'] = value_input_option unless value_input_option.nil?
+          command.query['responseDateTimeRenderOption'] = response_date_time_render_option unless response_date_time_render_option.nil?
           command.query['includeValuesInResponse'] = include_values_in_response unless include_values_in_response.nil?
           command.query['responseValueRenderOption'] = response_value_render_option unless response_value_render_option.nil?
           command.query['insertDataOption'] = insert_data_option unless insert_data_option.nil?
-          command.query['valueInputOption'] = value_input_option unless value_input_option.nil?
-          command.query['responseDateTimeRenderOption'] = response_date_time_render_option unless response_date_time_render_option.nil?
-          command.query['fields'] = fields unless fields.nil?
           command.query['quotaUser'] = quota_user unless quota_user.nil?
+          command.query['fields'] = fields unless fields.nil?
           execute_or_queue_command(command, &block)
         end
         
@@ -491,11 +345,11 @@ module Google
         # @param [String] spreadsheet_id
         #   The ID of the spreadsheet to update.
         # @param [Google::Apis::SheetsV4::BatchClearValuesRequest] batch_clear_values_request_object
-        # @param [String] fields
-        #   Selector specifying which fields to include in a partial response.
         # @param [String] quota_user
         #   Available to use for quota purposes for server-side applications. Can be any
         #   arbitrary string assigned to a user, but should not exceed 40 characters.
+        # @param [String] fields
+        #   Selector specifying which fields to include in a partial response.
         # @param [Google::Apis::RequestOptions] options
         #   Request-specific options
         #
@@ -508,15 +362,162 @@ module Google
         # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
         # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
         # @raise [Google::Apis::AuthorizationError] Authorization is required
-        def batch_clear_values(spreadsheet_id, batch_clear_values_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
+        def batch_clear_values(spreadsheet_id, batch_clear_values_request_object = nil, quota_user: nil, fields: nil, options: nil, &block)
           command =  make_simple_command(:post, 'v4/spreadsheets/{spreadsheetId}/values:batchClear', options)
           command.request_representation = Google::Apis::SheetsV4::BatchClearValuesRequest::Representation
           command.request_object = batch_clear_values_request_object
           command.response_representation = Google::Apis::SheetsV4::BatchClearValuesResponse::Representation
           command.response_class = Google::Apis::SheetsV4::BatchClearValuesResponse
           command.params['spreadsheetId'] = spreadsheet_id unless spreadsheet_id.nil?
-          command.query['fields'] = fields unless fields.nil?
           command.query['quotaUser'] = quota_user unless quota_user.nil?
+          command.query['fields'] = fields unless fields.nil?
+          execute_or_queue_command(command, &block)
+        end
+        
+        # Returns a range of values from a spreadsheet.
+        # The caller must specify the spreadsheet ID and a range.
+        # @param [String] spreadsheet_id
+        #   The ID of the spreadsheet to retrieve data from.
+        # @param [String] range
+        #   The A1 notation of the values to retrieve.
+        # @param [String] value_render_option
+        #   How values should be represented in the output.
+        #   The default render option is ValueRenderOption.FORMATTED_VALUE.
+        # @param [String] date_time_render_option
+        #   How dates, times, and durations should be represented in the output.
+        #   This is ignored if value_render_option is
+        #   FORMATTED_VALUE.
+        #   The default dateTime render option is [DateTimeRenderOption.SERIAL_NUMBER].
+        # @param [String] major_dimension
+        #   The major dimension that results should use.
+        #   For example, if the spreadsheet data is: `A1=1,B1=2,A2=3,B2=4`,
+        #   then requesting `range=A1:B2,majorDimension=ROWS` will return
+        #   `[[1,2],[3,4]]`,
+        #   whereas requesting `range=A1:B2,majorDimension=COLUMNS` will return
+        #   `[[1,3],[2,4]]`.
+        # @param [String] quota_user
+        #   Available to use for quota purposes for server-side applications. Can be any
+        #   arbitrary string assigned to a user, but should not exceed 40 characters.
+        # @param [String] fields
+        #   Selector specifying which fields to include in a partial response.
+        # @param [Google::Apis::RequestOptions] options
+        #   Request-specific options
+        #
+        # @yield [result, err] Result & error if block supplied
+        # @yieldparam result [Google::Apis::SheetsV4::ValueRange] parsed result object
+        # @yieldparam err [StandardError] error object if request failed
+        #
+        # @return [Google::Apis::SheetsV4::ValueRange]
+        #
+        # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
+        # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
+        # @raise [Google::Apis::AuthorizationError] Authorization is required
+        def get_spreadsheet_values(spreadsheet_id, range, value_render_option: nil, date_time_render_option: nil, major_dimension: nil, quota_user: nil, fields: nil, options: nil, &block)
+          command =  make_simple_command(:get, 'v4/spreadsheets/{spreadsheetId}/values/{range}', options)
+          command.response_representation = Google::Apis::SheetsV4::ValueRange::Representation
+          command.response_class = Google::Apis::SheetsV4::ValueRange
+          command.params['spreadsheetId'] = spreadsheet_id unless spreadsheet_id.nil?
+          command.params['range'] = range unless range.nil?
+          command.query['valueRenderOption'] = value_render_option unless value_render_option.nil?
+          command.query['dateTimeRenderOption'] = date_time_render_option unless date_time_render_option.nil?
+          command.query['majorDimension'] = major_dimension unless major_dimension.nil?
+          command.query['quotaUser'] = quota_user unless quota_user.nil?
+          command.query['fields'] = fields unless fields.nil?
+          execute_or_queue_command(command, &block)
+        end
+        
+        # Sets values in a range of a spreadsheet.
+        # The caller must specify the spreadsheet ID, range, and
+        # a valueInputOption.
+        # @param [String] spreadsheet_id
+        #   The ID of the spreadsheet to update.
+        # @param [String] range
+        #   The A1 notation of the values to update.
+        # @param [Google::Apis::SheetsV4::ValueRange] value_range_object
+        # @param [Boolean] include_values_in_response
+        #   Determines if the update response should include the values
+        #   of the cells that were updated. By default, responses
+        #   do not include the updated values.
+        #   If the range to write was larger than than the range actually written,
+        #   the response will include all values in the requested range (excluding
+        #   trailing empty rows and columns).
+        # @param [String] response_value_render_option
+        #   Determines how values in the response should be rendered.
+        #   The default render option is ValueRenderOption.FORMATTED_VALUE.
+        # @param [String] value_input_option
+        #   How the input data should be interpreted.
+        # @param [String] response_date_time_render_option
+        #   Determines how dates, times, and durations in the response should be
+        #   rendered. This is ignored if response_value_render_option is
+        #   FORMATTED_VALUE.
+        #   The default dateTime render option is [DateTimeRenderOption.SERIAL_NUMBER].
+        # @param [String] quota_user
+        #   Available to use for quota purposes for server-side applications. Can be any
+        #   arbitrary string assigned to a user, but should not exceed 40 characters.
+        # @param [String] fields
+        #   Selector specifying which fields to include in a partial response.
+        # @param [Google::Apis::RequestOptions] options
+        #   Request-specific options
+        #
+        # @yield [result, err] Result & error if block supplied
+        # @yieldparam result [Google::Apis::SheetsV4::UpdateValuesResponse] parsed result object
+        # @yieldparam err [StandardError] error object if request failed
+        #
+        # @return [Google::Apis::SheetsV4::UpdateValuesResponse]
+        #
+        # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
+        # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
+        # @raise [Google::Apis::AuthorizationError] Authorization is required
+        def update_spreadsheet_value(spreadsheet_id, range, value_range_object = nil, include_values_in_response: nil, response_value_render_option: nil, value_input_option: nil, response_date_time_render_option: nil, quota_user: nil, fields: nil, options: nil, &block)
+          command =  make_simple_command(:put, 'v4/spreadsheets/{spreadsheetId}/values/{range}', options)
+          command.request_representation = Google::Apis::SheetsV4::ValueRange::Representation
+          command.request_object = value_range_object
+          command.response_representation = Google::Apis::SheetsV4::UpdateValuesResponse::Representation
+          command.response_class = Google::Apis::SheetsV4::UpdateValuesResponse
+          command.params['spreadsheetId'] = spreadsheet_id unless spreadsheet_id.nil?
+          command.params['range'] = range unless range.nil?
+          command.query['includeValuesInResponse'] = include_values_in_response unless include_values_in_response.nil?
+          command.query['responseValueRenderOption'] = response_value_render_option unless response_value_render_option.nil?
+          command.query['valueInputOption'] = value_input_option unless value_input_option.nil?
+          command.query['responseDateTimeRenderOption'] = response_date_time_render_option unless response_date_time_render_option.nil?
+          command.query['quotaUser'] = quota_user unless quota_user.nil?
+          command.query['fields'] = fields unless fields.nil?
+          execute_or_queue_command(command, &block)
+        end
+        
+        # Sets values in one or more ranges of a spreadsheet.
+        # The caller must specify the spreadsheet ID,
+        # a valueInputOption, and one or more
+        # ValueRanges.
+        # @param [String] spreadsheet_id
+        #   The ID of the spreadsheet to update.
+        # @param [Google::Apis::SheetsV4::BatchUpdateValuesRequest] batch_update_values_request_object
+        # @param [String] quota_user
+        #   Available to use for quota purposes for server-side applications. Can be any
+        #   arbitrary string assigned to a user, but should not exceed 40 characters.
+        # @param [String] fields
+        #   Selector specifying which fields to include in a partial response.
+        # @param [Google::Apis::RequestOptions] options
+        #   Request-specific options
+        #
+        # @yield [result, err] Result & error if block supplied
+        # @yieldparam result [Google::Apis::SheetsV4::BatchUpdateValuesResponse] parsed result object
+        # @yieldparam err [StandardError] error object if request failed
+        #
+        # @return [Google::Apis::SheetsV4::BatchUpdateValuesResponse]
+        #
+        # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
+        # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
+        # @raise [Google::Apis::AuthorizationError] Authorization is required
+        def batch_update_values(spreadsheet_id, batch_update_values_request_object = nil, quota_user: nil, fields: nil, options: nil, &block)
+          command =  make_simple_command(:post, 'v4/spreadsheets/{spreadsheetId}/values:batchUpdate', options)
+          command.request_representation = Google::Apis::SheetsV4::BatchUpdateValuesRequest::Representation
+          command.request_object = batch_update_values_request_object
+          command.response_representation = Google::Apis::SheetsV4::BatchUpdateValuesResponse::Representation
+          command.response_class = Google::Apis::SheetsV4::BatchUpdateValuesResponse
+          command.params['spreadsheetId'] = spreadsheet_id unless spreadsheet_id.nil?
+          command.query['quotaUser'] = quota_user unless quota_user.nil?
+          command.query['fields'] = fields unless fields.nil?
           execute_or_queue_command(command, &block)
         end
         
@@ -527,11 +528,11 @@ module Google
         # @param [Fixnum] sheet_id
         #   The ID of the sheet to copy.
         # @param [Google::Apis::SheetsV4::CopySheetToAnotherSpreadsheetRequest] copy_sheet_to_another_spreadsheet_request_object
-        # @param [String] fields
-        #   Selector specifying which fields to include in a partial response.
         # @param [String] quota_user
         #   Available to use for quota purposes for server-side applications. Can be any
         #   arbitrary string assigned to a user, but should not exceed 40 characters.
+        # @param [String] fields
+        #   Selector specifying which fields to include in a partial response.
         # @param [Google::Apis::RequestOptions] options
         #   Request-specific options
         #
@@ -544,7 +545,7 @@ module Google
         # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
         # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
         # @raise [Google::Apis::AuthorizationError] Authorization is required
-        def copy_spreadsheet(spreadsheet_id, sheet_id, copy_sheet_to_another_spreadsheet_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
+        def copy_spreadsheet(spreadsheet_id, sheet_id, copy_sheet_to_another_spreadsheet_request_object = nil, quota_user: nil, fields: nil, options: nil, &block)
           command =  make_simple_command(:post, 'v4/spreadsheets/{spreadsheetId}/sheets/{sheetId}:copyTo', options)
           command.request_representation = Google::Apis::SheetsV4::CopySheetToAnotherSpreadsheetRequest::Representation
           command.request_object = copy_sheet_to_another_spreadsheet_request_object
@@ -552,16 +553,16 @@ module Google
           command.response_class = Google::Apis::SheetsV4::SheetProperties
           command.params['spreadsheetId'] = spreadsheet_id unless spreadsheet_id.nil?
           command.params['sheetId'] = sheet_id unless sheet_id.nil?
-          command.query['fields'] = fields unless fields.nil?
           command.query['quotaUser'] = quota_user unless quota_user.nil?
+          command.query['fields'] = fields unless fields.nil?
           execute_or_queue_command(command, &block)
         end
 
         protected
 
         def apply_command_defaults(command)
-          command.query['key'] = key unless key.nil?
           command.query['quotaUser'] = quota_user unless quota_user.nil?
+          command.query['key'] = key unless key.nil?
         end
       end
     end
diff --git a/generated/google/apis/site_verification_v1/service.rb b/generated/google/apis/site_verification_v1/service.rb
index 642d3ad94..77a29efea 100644
--- a/generated/google/apis/site_verification_v1/service.rb
+++ b/generated/google/apis/site_verification_v1/service.rb
@@ -50,6 +50,7 @@ module Google
 
         def initialize
           super('https://www.googleapis.com/', 'siteVerification/v1/')
+          @batch_path = 'batch'
         end
         
         # Relinquish ownership of a website or domain.
diff --git a/generated/google/apis/slides_v1.rb b/generated/google/apis/slides_v1.rb
index dd11f08ed..ef544a9e4 100644
--- a/generated/google/apis/slides_v1.rb
+++ b/generated/google/apis/slides_v1.rb
@@ -25,7 +25,7 @@ module Google
     # @see https://developers.google.com/slides/
     module SlidesV1
       VERSION = 'V1'
-      REVISION = '20170323'
+      REVISION = '20170328'
 
       # View and manage your Google Slides presentations
       AUTH_PRESENTATIONS = 'https://www.googleapis.com/auth/presentations'
diff --git a/generated/google/apis/slides_v1/classes.rb b/generated/google/apis/slides_v1/classes.rb
index 0cb67957b..91cd4261a 100644
--- a/generated/google/apis/slides_v1/classes.rb
+++ b/generated/google/apis/slides_v1/classes.rb
@@ -22,1671 +22,6 @@ module Google
   module Apis
     module SlidesV1
       
-      # A PageElement kind representing a
-      # generic shape that does not have a more specific classification.
-      class Shape
-        include Google::Apis::Core::Hashable
-      
-        # The type of the shape.
-        # Corresponds to the JSON property `shapeType`
-        # @return [String]
-        attr_accessor :shape_type
-      
-        # The general text content. The text must reside in a compatible shape (e.g.
-        # text box or rectangle) or a table cell in a page.
-        # Corresponds to the JSON property `text`
-        # @return [Google::Apis::SlidesV1::TextContent]
-        attr_accessor :text
-      
-        # The placeholder information that uniquely identifies a placeholder shape.
-        # Corresponds to the JSON property `placeholder`
-        # @return [Google::Apis::SlidesV1::Placeholder]
-        attr_accessor :placeholder
-      
-        # The properties of a Shape.
-        # If the shape is a placeholder shape as determined by the
-        # placeholder field, then these
-        # properties may be inherited from a parent placeholder shape.
-        # Determining the rendered value of the property depends on the corresponding
-        # property_state field value.
-        # Corresponds to the JSON property `shapeProperties`
-        # @return [Google::Apis::SlidesV1::ShapeProperties]
-        attr_accessor :shape_properties
-      
-        def initialize(**args)
-           update!(**args)
-        end
-      
-        # Update properties of this object
-        def update!(**args)
-          @shape_type = args[:shape_type] if args.key?(:shape_type)
-          @text = args[:text] if args.key?(:text)
-          @placeholder = args[:placeholder] if args.key?(:placeholder)
-          @shape_properties = args[:shape_properties] if args.key?(:shape_properties)
-        end
-      end
-      
-      # A PageElement kind representing an
-      # image.
-      class Image
-        include Google::Apis::Core::Hashable
-      
-        # The properties of the Image.
-        # Corresponds to the JSON property `imageProperties`
-        # @return [Google::Apis::SlidesV1::ImageProperties]
-        attr_accessor :image_properties
-      
-        # An URL to an image with a default lifetime of 30 minutes.
-        # This URL is tagged with the account of the requester. Anyone with the URL
-        # effectively accesses the image as the original requester. Access to the
-        # image may be lost if the presentation's sharing settings change.
-        # Corresponds to the JSON property `contentUrl`
-        # @return [String]
-        attr_accessor :content_url
-      
-        def initialize(**args)
-           update!(**args)
-        end
-      
-        # Update properties of this object
-        def update!(**args)
-          @image_properties = args[:image_properties] if args.key?(:image_properties)
-          @content_url = args[:content_url] if args.key?(:content_url)
-        end
-      end
-      
-      # Inserts text into a shape or a table cell.
-      class InsertTextRequest
-        include Google::Apis::Core::Hashable
-      
-        # The object ID of the shape or table where the text will be inserted.
-        # Corresponds to the JSON property `objectId`
-        # @return [String]
-        attr_accessor :object_id_prop
-      
-        # The text to be inserted.
-        # Inserting a newline character will implicitly create a new
-        # ParagraphMarker at that index.
-        # The paragraph style of the new paragraph will be copied from the paragraph
-        # at the current insertion index, including lists and bullets.
-        # Text styles for inserted text will be determined automatically, generally
-        # preserving the styling of neighboring text. In most cases, the text will be
-        # added to the TextRun that exists at the
-        # insertion index.
-        # Some control characters (U+0000-U+0008, U+000C-U+001F) and characters
-        # from the Unicode Basic Multilingual Plane Private Use Area (U+E000-U+F8FF)
-        # will be stripped out of the inserted text.
-        # Corresponds to the JSON property `text`
-        # @return [String]
-        attr_accessor :text
-      
-        # The index where the text will be inserted, in Unicode code units, based
-        # on TextElement indexes.
-        # The index is zero-based and is computed from the start of the string.
-        # The index may be adjusted to prevent insertions inside Unicode grapheme
-        # clusters. In these cases, the text will be inserted immediately after the
-        # grapheme cluster.
-        # Corresponds to the JSON property `insertionIndex`
-        # @return [Fixnum]
-        attr_accessor :insertion_index
-      
-        # A location of a single table cell within a table.
-        # Corresponds to the JSON property `cellLocation`
-        # @return [Google::Apis::SlidesV1::TableCellLocation]
-        attr_accessor :cell_location
-      
-        def initialize(**args)
-           update!(**args)
-        end
-      
-        # Update properties of this object
-        def update!(**args)
-          @object_id_prop = args[:object_id_prop] if args.key?(:object_id_prop)
-          @text = args[:text] if args.key?(:text)
-          @insertion_index = args[:insertion_index] if args.key?(:insertion_index)
-          @cell_location = args[:cell_location] if args.key?(:cell_location)
-        end
-      end
-      
-      # AffineTransform uses a 3x3 matrix with an implied last row of [ 0 0 1 ]
-      # to transform source coordinates (x,y) into destination coordinates (x', y')
-      # according to:
-      # x'  x  =   shear_y  scale_y  translate_y
-      # 1  [ 1 ]
-      # After transformation,
-      # x' = scale_x * x + shear_x * y + translate_x;
-      # y' = scale_y * y + shear_y * x + translate_y;
-      # This message is therefore composed of these six matrix elements.
-      class AffineTransform
-        include Google::Apis::Core::Hashable
-      
-        # The X coordinate shearing element.
-        # Corresponds to the JSON property `shearX`
-        # @return [Float]
-        attr_accessor :shear_x
-      
-        # The Y coordinate scaling element.
-        # Corresponds to the JSON property `scaleY`
-        # @return [Float]
-        attr_accessor :scale_y
-      
-        # The Y coordinate translation element.
-        # Corresponds to the JSON property `translateY`
-        # @return [Float]
-        attr_accessor :translate_y
-      
-        # The X coordinate translation element.
-        # Corresponds to the JSON property `translateX`
-        # @return [Float]
-        attr_accessor :translate_x
-      
-        # The Y coordinate shearing element.
-        # Corresponds to the JSON property `shearY`
-        # @return [Float]
-        attr_accessor :shear_y
-      
-        # The units for translate elements.
-        # Corresponds to the JSON property `unit`
-        # @return [String]
-        attr_accessor :unit
-      
-        # The X coordinate scaling element.
-        # Corresponds to the JSON property `scaleX`
-        # @return [Float]
-        attr_accessor :scale_x
-      
-        def initialize(**args)
-           update!(**args)
-        end
-      
-        # Update properties of this object
-        def update!(**args)
-          @shear_x = args[:shear_x] if args.key?(:shear_x)
-          @scale_y = args[:scale_y] if args.key?(:scale_y)
-          @translate_y = args[:translate_y] if args.key?(:translate_y)
-          @translate_x = args[:translate_x] if args.key?(:translate_x)
-          @shear_y = args[:shear_y] if args.key?(:shear_y)
-          @unit = args[:unit] if args.key?(:unit)
-          @scale_x = args[:scale_x] if args.key?(:scale_x)
-        end
-      end
-      
-      # A TextElement kind that represents auto text.
-      class AutoText
-        include Google::Apis::Core::Hashable
-      
-        # The type of this auto text.
-        # Corresponds to the JSON property `type`
-        # @return [String]
-        attr_accessor :type
-      
-        # The rendered content of this auto text, if available.
-        # Corresponds to the JSON property `content`
-        # @return [String]
-        attr_accessor :content
-      
-        # Represents the styling that can be applied to a TextRun.
-        # If this text is contained in a shape with a parent placeholder, then these
-        # text styles may be
-        # inherited from the parent. Which text styles are inherited depend on the
-        # nesting level of lists:
-        # * A text run in a paragraph that is not in a list will inherit its text style
-        # from the the newline character in the paragraph at the 0 nesting level of
-        # the list inside the parent placeholder.
-        # * A text run in a paragraph that is in a list will inherit its text style
-        # from the newline character in the paragraph at its corresponding nesting
-        # level of the list inside the parent placeholder.
-        # Inherited text styles are represented as unset fields in this message. If
-        # text is contained in a shape without a parent placeholder, unsetting these
-        # fields will revert the style to a value matching the defaults in the Slides
-        # editor.
-        # Corresponds to the JSON property `style`
-        # @return [Google::Apis::SlidesV1::TextStyle]
-        attr_accessor :style
-      
-        def initialize(**args)
-           update!(**args)
-        end
-      
-        # Update properties of this object
-        def update!(**args)
-          @type = args[:type] if args.key?(:type)
-          @content = args[:content] if args.key?(:content)
-          @style = args[:style] if args.key?(:style)
-        end
-      end
-      
-      # The result of creating a video.
-      class CreateVideoResponse
-        include Google::Apis::Core::Hashable
-      
-        # The object ID of the created video.
-        # Corresponds to the JSON property `objectId`
-        # @return [String]
-        attr_accessor :object_id_prop
-      
-        def initialize(**args)
-           update!(**args)
-        end
-      
-        # Update properties of this object
-        def update!(**args)
-          @object_id_prop = args[:object_id_prop] if args.key?(:object_id_prop)
-        end
-      end
-      
-      # Deletes text from a shape or a table cell.
-      class DeleteTextRequest
-        include Google::Apis::Core::Hashable
-      
-        # The object ID of the shape or table from which the text will be deleted.
-        # Corresponds to the JSON property `objectId`
-        # @return [String]
-        attr_accessor :object_id_prop
-      
-        # Specifies a contiguous range of an indexed collection, such as characters in
-        # text.
-        # Corresponds to the JSON property `textRange`
-        # @return [Google::Apis::SlidesV1::Range]
-        attr_accessor :text_range
-      
-        # A location of a single table cell within a table.
-        # Corresponds to the JSON property `cellLocation`
-        # @return [Google::Apis::SlidesV1::TableCellLocation]
-        attr_accessor :cell_location
-      
-        def initialize(**args)
-           update!(**args)
-        end
-      
-        # Update properties of this object
-        def update!(**args)
-          @object_id_prop = args[:object_id_prop] if args.key?(:object_id_prop)
-          @text_range = args[:text_range] if args.key?(:text_range)
-          @cell_location = args[:cell_location] if args.key?(:cell_location)
-        end
-      end
-      
-      # Updates the transform of a page element.
-      class UpdatePageElementTransformRequest
-        include Google::Apis::Core::Hashable
-      
-        # The apply mode of the transform update.
-        # Corresponds to the JSON property `applyMode`
-        # @return [String]
-        attr_accessor :apply_mode
-      
-        # The object ID of the page element to update.
-        # Corresponds to the JSON property `objectId`
-        # @return [String]
-        attr_accessor :object_id_prop
-      
-        # AffineTransform uses a 3x3 matrix with an implied last row of [ 0 0 1 ]
-        # to transform source coordinates (x,y) into destination coordinates (x', y')
-        # according to:
-        # x'  x  =   shear_y  scale_y  translate_y
-        # 1  [ 1 ]
-        # After transformation,
-        # x' = scale_x * x + shear_x * y + translate_x;
-        # y' = scale_y * y + shear_y * x + translate_y;
-        # This message is therefore composed of these six matrix elements.
-        # Corresponds to the JSON property `transform`
-        # @return [Google::Apis::SlidesV1::AffineTransform]
-        attr_accessor :transform
-      
-        def initialize(**args)
-           update!(**args)
-        end
-      
-        # Update properties of this object
-        def update!(**args)
-          @apply_mode = args[:apply_mode] if args.key?(:apply_mode)
-          @object_id_prop = args[:object_id_prop] if args.key?(:object_id_prop)
-          @transform = args[:transform] if args.key?(:transform)
-        end
-      end
-      
-      # Deletes an object, either pages or
-      # page elements, from the
-      # presentation.
-      class DeleteObjectRequest
-        include Google::Apis::Core::Hashable
-      
-        # The object ID of the page or page element to delete.
-        # If after a delete operation a group contains
-        # only 1 or no page elements, the group is also deleted.
-        # If a placeholder is deleted on a layout, any empty inheriting shapes are
-        # also deleted.
-        # Corresponds to the JSON property `objectId`
-        # @return [String]
-        attr_accessor :object_id_prop
-      
-        def initialize(**args)
-           update!(**args)
-        end
-      
-        # Update properties of this object
-        def update!(**args)
-          @object_id_prop = args[:object_id_prop] if args.key?(:object_id_prop)
-        end
-      end
-      
-      # A magnitude in a single direction in the specified units.
-      class Dimension
-        include Google::Apis::Core::Hashable
-      
-        # The magnitude.
-        # Corresponds to the JSON property `magnitude`
-        # @return [Float]
-        attr_accessor :magnitude
-      
-        # The units for magnitude.
-        # Corresponds to the JSON property `unit`
-        # @return [String]
-        attr_accessor :unit
-      
-        def initialize(**args)
-           update!(**args)
-        end
-      
-        # Update properties of this object
-        def update!(**args)
-          @magnitude = args[:magnitude] if args.key?(:magnitude)
-          @unit = args[:unit] if args.key?(:unit)
-        end
-      end
-      
-      # A TextElement describes the content of a range of indices in the text content
-      # of a Shape or TableCell.
-      class TextElement
-        include Google::Apis::Core::Hashable
-      
-        # A TextElement kind that represents the beginning of a new paragraph.
-        # Corresponds to the JSON property `paragraphMarker`
-        # @return [Google::Apis::SlidesV1::ParagraphMarker]
-        attr_accessor :paragraph_marker
-      
-        # The zero-based start index of this text element, in Unicode code units.
-        # Corresponds to the JSON property `startIndex`
-        # @return [Fixnum]
-        attr_accessor :start_index
-      
-        # The zero-based end index of this text element, exclusive, in Unicode code
-        # units.
-        # Corresponds to the JSON property `endIndex`
-        # @return [Fixnum]
-        attr_accessor :end_index
-      
-        # A TextElement kind that represents a run of text that all has the same
-        # styling.
-        # Corresponds to the JSON property `textRun`
-        # @return [Google::Apis::SlidesV1::TextRun]
-        attr_accessor :text_run
-      
-        # A TextElement kind that represents auto text.
-        # Corresponds to the JSON property `autoText`
-        # @return [Google::Apis::SlidesV1::AutoText]
-        attr_accessor :auto_text
-      
-        def initialize(**args)
-           update!(**args)
-        end
-      
-        # Update properties of this object
-        def update!(**args)
-          @paragraph_marker = args[:paragraph_marker] if args.key?(:paragraph_marker)
-          @start_index = args[:start_index] if args.key?(:start_index)
-          @end_index = args[:end_index] if args.key?(:end_index)
-          @text_run = args[:text_run] if args.key?(:text_run)
-          @auto_text = args[:auto_text] if args.key?(:auto_text)
-        end
-      end
-      
-      # The fill of the line.
-      class LineFill
-        include Google::Apis::Core::Hashable
-      
-        # A solid color fill. The page or page element is filled entirely with the
-        # specified color value.
-        # If any field is unset, its value may be inherited from a parent placeholder
-        # if it exists.
-        # Corresponds to the JSON property `solidFill`
-        # @return [Google::Apis::SlidesV1::SolidFill]
-        attr_accessor :solid_fill
-      
-        def initialize(**args)
-           update!(**args)
-        end
-      
-        # Update properties of this object
-        def update!(**args)
-          @solid_fill = args[:solid_fill] if args.key?(:solid_fill)
-        end
-      end
-      
-      # The properties of the Video.
-      class VideoProperties
-        include Google::Apis::Core::Hashable
-      
-        # The outline of a PageElement.
-        # If these fields are unset, they may be inherited from a parent placeholder
-        # if it exists. If there is no parent, the fields will default to the value
-        # used for new page elements created in the Slides editor, which may depend on
-        # the page element kind.
-        # Corresponds to the JSON property `outline`
-        # @return [Google::Apis::SlidesV1::Outline]
-        attr_accessor :outline
-      
-        def initialize(**args)
-           update!(**args)
-        end
-      
-        # Update properties of this object
-        def update!(**args)
-          @outline = args[:outline] if args.key?(:outline)
-        end
-      end
-      
-      # Inserts rows into a table.
-      class InsertTableRowsRequest
-        include Google::Apis::Core::Hashable
-      
-        # The table to insert rows into.
-        # Corresponds to the JSON property `tableObjectId`
-        # @return [String]
-        attr_accessor :table_object_id
-      
-        # Whether to insert new rows below the reference cell location.
-        # - `True`: insert below the cell.
-        # - `False`: insert above the cell.
-        # Corresponds to the JSON property `insertBelow`
-        # @return [Boolean]
-        attr_accessor :insert_below
-        alias_method :insert_below?, :insert_below
-      
-        # The number of rows to be inserted. Maximum 20 per request.
-        # Corresponds to the JSON property `number`
-        # @return [Fixnum]
-        attr_accessor :number
-      
-        # A location of a single table cell within a table.
-        # Corresponds to the JSON property `cellLocation`
-        # @return [Google::Apis::SlidesV1::TableCellLocation]
-        attr_accessor :cell_location
-      
-        def initialize(**args)
-           update!(**args)
-        end
-      
-        # Update properties of this object
-        def update!(**args)
-          @table_object_id = args[:table_object_id] if args.key?(:table_object_id)
-          @insert_below = args[:insert_below] if args.key?(:insert_below)
-          @number = args[:number] if args.key?(:number)
-          @cell_location = args[:cell_location] if args.key?(:cell_location)
-        end
-      end
-      
-      # The properties of Page are only
-      # relevant for pages with page_type LAYOUT.
-      class LayoutProperties
-        include Google::Apis::Core::Hashable
-      
-        # The object ID of the master that this layout is based on.
-        # Corresponds to the JSON property `masterObjectId`
-        # @return [String]
-        attr_accessor :master_object_id
-      
-        # The name of the layout.
-        # Corresponds to the JSON property `name`
-        # @return [String]
-        attr_accessor :name
-      
-        # The human readable name of the layout in the presentation's locale.
-        # Corresponds to the JSON property `displayName`
-        # @return [String]
-        attr_accessor :display_name
-      
-        def initialize(**args)
-           update!(**args)
-        end
-      
-        # Update properties of this object
-        def update!(**args)
-          @master_object_id = args[:master_object_id] if args.key?(:master_object_id)
-          @name = args[:name] if args.key?(:name)
-          @display_name = args[:display_name] if args.key?(:display_name)
-        end
-      end
-      
-      # The properties of the Line.
-      # When unset, these fields default to values that match the appearance of
-      # new lines created in the Slides editor.
-      class LineProperties
-        include Google::Apis::Core::Hashable
-      
-        # A hypertext link.
-        # Corresponds to the JSON property `link`
-        # @return [Google::Apis::SlidesV1::Link]
-        attr_accessor :link
-      
-        # The dash style of the line.
-        # Corresponds to the JSON property `dashStyle`
-        # @return [String]
-        attr_accessor :dash_style
-      
-        # The style of the arrow at the end of the line.
-        # Corresponds to the JSON property `endArrow`
-        # @return [String]
-        attr_accessor :end_arrow
-      
-        # The style of the arrow at the beginning of the line.
-        # Corresponds to the JSON property `startArrow`
-        # @return [String]
-        attr_accessor :start_arrow
-      
-        # A magnitude in a single direction in the specified units.
-        # Corresponds to the JSON property `weight`
-        # @return [Google::Apis::SlidesV1::Dimension]
-        attr_accessor :weight
-      
-        # The fill of the line.
-        # Corresponds to the JSON property `lineFill`
-        # @return [Google::Apis::SlidesV1::LineFill]
-        attr_accessor :line_fill
-      
-        def initialize(**args)
-           update!(**args)
-        end
-      
-        # Update properties of this object
-        def update!(**args)
-          @link = args[:link] if args.key?(:link)
-          @dash_style = args[:dash_style] if args.key?(:dash_style)
-          @end_arrow = args[:end_arrow] if args.key?(:end_arrow)
-          @start_arrow = args[:start_arrow] if args.key?(:start_arrow)
-          @weight = args[:weight] if args.key?(:weight)
-          @line_fill = args[:line_fill] if args.key?(:line_fill)
-        end
-      end
-      
-      # A Google Slides presentation.
-      class Presentation
-        include Google::Apis::Core::Hashable
-      
-        # A page in a presentation.
-        # Corresponds to the JSON property `notesMaster`
-        # @return [Google::Apis::SlidesV1::Page]
-        attr_accessor :notes_master
-      
-        # The layouts in the presentation. A layout is a template that determines
-        # how content is arranged and styled on the slides that inherit from that
-        # layout.
-        # Corresponds to the JSON property `layouts`
-        # @return [Array]
-        attr_accessor :layouts
-      
-        # The title of the presentation.
-        # Corresponds to the JSON property `title`
-        # @return [String]
-        attr_accessor :title
-      
-        # The slide masters in the presentation. A slide master contains all common
-        # page elements and the common properties for a set of layouts. They serve
-        # three purposes:
-        # - Placeholder shapes on a master contain the default text styles and shape
-        # properties of all placeholder shapes on pages that use that master.
-        # - The master page properties define the common page properties inherited by
-        # its layouts.
-        # - Any other shapes on the master slide will appear on all slides using that
-        # master, regardless of their layout.
-        # Corresponds to the JSON property `masters`
-        # @return [Array]
-        attr_accessor :masters
-      
-        # The locale of the presentation, as an IETF BCP 47 language tag.
-        # Corresponds to the JSON property `locale`
-        # @return [String]
-        attr_accessor :locale
-      
-        # A width and height.
-        # Corresponds to the JSON property `pageSize`
-        # @return [Google::Apis::SlidesV1::Size]
-        attr_accessor :page_size
-      
-        # The ID of the presentation.
-        # Corresponds to the JSON property `presentationId`
-        # @return [String]
-        attr_accessor :presentation_id
-      
-        # The slides in the presentation.
-        # A slide inherits properties from a slide layout.
-        # Corresponds to the JSON property `slides`
-        # @return [Array]
-        attr_accessor :slides
-      
-        # The revision ID of the presentation. Can be used in update requests
-        # to assert that the presentation revision hasn't changed since the last
-        # read operation. Only populated if the user has edit access to the
-        # presentation.
-        # The format of the revision ID may change over time, so it should be treated
-        # opaquely. A returned revision ID is only guaranteed to be valid for 24
-        # hours after it has been returned and cannot be shared across users. If the
-        # revision ID is unchanged between calls, then the presentation has not
-        # changed. Conversely, a changed ID (for the same presentation and user)
-        # usually means the presentation has been updated; however, a changed ID can
-        # also be due to internal factors such as ID format changes.
-        # Corresponds to the JSON property `revisionId`
-        # @return [String]
-        attr_accessor :revision_id
-      
-        def initialize(**args)
-           update!(**args)
-        end
-      
-        # Update properties of this object
-        def update!(**args)
-          @notes_master = args[:notes_master] if args.key?(:notes_master)
-          @layouts = args[:layouts] if args.key?(:layouts)
-          @title = args[:title] if args.key?(:title)
-          @masters = args[:masters] if args.key?(:masters)
-          @locale = args[:locale] if args.key?(:locale)
-          @page_size = args[:page_size] if args.key?(:page_size)
-          @presentation_id = args[:presentation_id] if args.key?(:presentation_id)
-          @slides = args[:slides] if args.key?(:slides)
-          @revision_id = args[:revision_id] if args.key?(:revision_id)
-        end
-      end
-      
-      # A themeable solid color value.
-      class OpaqueColor
-        include Google::Apis::Core::Hashable
-      
-        # An RGB color.
-        # Corresponds to the JSON property `rgbColor`
-        # @return [Google::Apis::SlidesV1::RgbColor]
-        attr_accessor :rgb_color
-      
-        # An opaque theme color.
-        # Corresponds to the JSON property `themeColor`
-        # @return [String]
-        attr_accessor :theme_color
-      
-        def initialize(**args)
-           update!(**args)
-        end
-      
-        # Update properties of this object
-        def update!(**args)
-          @rgb_color = args[:rgb_color] if args.key?(:rgb_color)
-          @theme_color = args[:theme_color] if args.key?(:theme_color)
-        end
-      end
-      
-      # The properties of the Image.
-      class ImageProperties
-        include Google::Apis::Core::Hashable
-      
-        # The brightness effect of the image. The value should be in the interval
-        # [-1.0, 1.0], where 0 means no effect. This property is read-only.
-        # Corresponds to the JSON property `brightness`
-        # @return [Float]
-        attr_accessor :brightness
-      
-        # The transparency effect of the image. The value should be in the interval
-        # [0.0, 1.0], where 0 means no effect and 1 means completely transparent.
-        # This property is read-only.
-        # Corresponds to the JSON property `transparency`
-        # @return [Float]
-        attr_accessor :transparency
-      
-        # The shadow properties of a page element.
-        # If these fields are unset, they may be inherited from a parent placeholder
-        # if it exists. If there is no parent, the fields will default to the value
-        # used for new page elements created in the Slides editor, which may depend on
-        # the page element kind.
-        # Corresponds to the JSON property `shadow`
-        # @return [Google::Apis::SlidesV1::Shadow]
-        attr_accessor :shadow
-      
-        # The contrast effect of the image. The value should be in the interval
-        # [-1.0, 1.0], where 0 means no effect. This property is read-only.
-        # Corresponds to the JSON property `contrast`
-        # @return [Float]
-        attr_accessor :contrast
-      
-        # A hypertext link.
-        # Corresponds to the JSON property `link`
-        # @return [Google::Apis::SlidesV1::Link]
-        attr_accessor :link
-      
-        # A recolor effect applied on an image.
-        # Corresponds to the JSON property `recolor`
-        # @return [Google::Apis::SlidesV1::Recolor]
-        attr_accessor :recolor
-      
-        # The crop properties of an object enclosed in a container. For example, an
-        # Image.
-        # The crop properties is represented by the offsets of four edges which define
-        # a crop rectangle. The offsets are measured in percentage from the
-        # corresponding edges of the object's original bounding rectangle towards
-        # inside, relative to the object's original dimensions.
-        # - If the offset is in the interval (0, 1), the corresponding edge of crop
-        # rectangle is positioned inside of the object's original bounding rectangle.
-        # - If the offset is negative or greater than 1, the corresponding edge of crop
-        # rectangle is positioned outside of the object's original bounding rectangle.
-        # - If the left edge of the crop rectangle is on the right side of its right
-        # edge, the object will be flipped horizontally.
-        # - If the top edge of the crop rectangle is below its bottom edge, the object
-        # will be flipped vertically.
-        # - If all offsets and rotation angle is 0, the object is not cropped.
-        # After cropping, the content in the crop rectangle will be stretched to fit
-        # its container.
-        # Corresponds to the JSON property `cropProperties`
-        # @return [Google::Apis::SlidesV1::CropProperties]
-        attr_accessor :crop_properties
-      
-        # The outline of a PageElement.
-        # If these fields are unset, they may be inherited from a parent placeholder
-        # if it exists. If there is no parent, the fields will default to the value
-        # used for new page elements created in the Slides editor, which may depend on
-        # the page element kind.
-        # Corresponds to the JSON property `outline`
-        # @return [Google::Apis::SlidesV1::Outline]
-        attr_accessor :outline
-      
-        def initialize(**args)
-           update!(**args)
-        end
-      
-        # Update properties of this object
-        def update!(**args)
-          @brightness = args[:brightness] if args.key?(:brightness)
-          @transparency = args[:transparency] if args.key?(:transparency)
-          @shadow = args[:shadow] if args.key?(:shadow)
-          @contrast = args[:contrast] if args.key?(:contrast)
-          @link = args[:link] if args.key?(:link)
-          @recolor = args[:recolor] if args.key?(:recolor)
-          @crop_properties = args[:crop_properties] if args.key?(:crop_properties)
-          @outline = args[:outline] if args.key?(:outline)
-        end
-      end
-      
-      # The result of replacing shapes with an image.
-      class ReplaceAllShapesWithImageResponse
-        include Google::Apis::Core::Hashable
-      
-        # The number of shapes replaced with images.
-        # Corresponds to the JSON property `occurrencesChanged`
-        # @return [Fixnum]
-        attr_accessor :occurrences_changed
-      
-        def initialize(**args)
-           update!(**args)
-        end
-      
-        # Update properties of this object
-        def update!(**args)
-          @occurrences_changed = args[:occurrences_changed] if args.key?(:occurrences_changed)
-        end
-      end
-      
-      # A PageElement kind representing a
-      # line, curved connector, or bent connector.
-      class Line
-        include Google::Apis::Core::Hashable
-      
-        # The type of the line.
-        # Corresponds to the JSON property `lineType`
-        # @return [String]
-        attr_accessor :line_type
-      
-        # The properties of the Line.
-        # When unset, these fields default to values that match the appearance of
-        # new lines created in the Slides editor.
-        # Corresponds to the JSON property `lineProperties`
-        # @return [Google::Apis::SlidesV1::LineProperties]
-        attr_accessor :line_properties
-      
-        def initialize(**args)
-           update!(**args)
-        end
-      
-        # Update properties of this object
-        def update!(**args)
-          @line_type = args[:line_type] if args.key?(:line_type)
-          @line_properties = args[:line_properties] if args.key?(:line_properties)
-        end
-      end
-      
-      # Creates an embedded Google Sheets chart.
-      # NOTE: Chart creation requires at least one of the spreadsheets.readonly,
-      # spreadsheets, drive.readonly, or drive OAuth scopes.
-      class CreateSheetsChartRequest
-        include Google::Apis::Core::Hashable
-      
-        # A user-supplied object ID.
-        # If specified, the ID must be unique among all pages and page elements in
-        # the presentation. The ID should start with a word character [a-zA-Z0-9_]
-        # and then followed by any number of the following characters [a-zA-Z0-9_-:].
-        # The length of the ID should not be less than 5 or greater than 50.
-        # If empty, a unique identifier will be generated.
-        # Corresponds to the JSON property `objectId`
-        # @return [String]
-        attr_accessor :object_id_prop
-      
-        # Common properties for a page element.
-        # Note: When you initially create a
-        # PageElement, the API may modify
-        # the values of both `size` and `transform`, but the
-        # visual size will be unchanged.
-        # Corresponds to the JSON property `elementProperties`
-        # @return [Google::Apis::SlidesV1::PageElementProperties]
-        attr_accessor :element_properties
-      
-        # The ID of the Google Sheets spreadsheet that contains the chart.
-        # Corresponds to the JSON property `spreadsheetId`
-        # @return [String]
-        attr_accessor :spreadsheet_id
-      
-        # The mode with which the chart is linked to the source spreadsheet. When
-        # not specified, the chart will be an image that is not linked.
-        # Corresponds to the JSON property `linkingMode`
-        # @return [String]
-        attr_accessor :linking_mode
-      
-        # The ID of the specific chart in the Google Sheets spreadsheet.
-        # Corresponds to the JSON property `chartId`
-        # @return [Fixnum]
-        attr_accessor :chart_id
-      
-        def initialize(**args)
-           update!(**args)
-        end
-      
-        # Update properties of this object
-        def update!(**args)
-          @object_id_prop = args[:object_id_prop] if args.key?(:object_id_prop)
-          @element_properties = args[:element_properties] if args.key?(:element_properties)
-          @spreadsheet_id = args[:spreadsheet_id] if args.key?(:spreadsheet_id)
-          @linking_mode = args[:linking_mode] if args.key?(:linking_mode)
-          @chart_id = args[:chart_id] if args.key?(:chart_id)
-        end
-      end
-      
-      # Response message from a batch update.
-      class BatchUpdatePresentationResponse
-        include Google::Apis::Core::Hashable
-      
-        # The reply of the updates.  This maps 1:1 with the updates, although
-        # replies to some requests may be empty.
-        # Corresponds to the JSON property `replies`
-        # @return [Array]
-        attr_accessor :replies
-      
-        # The presentation the updates were applied to.
-        # Corresponds to the JSON property `presentationId`
-        # @return [String]
-        attr_accessor :presentation_id
-      
-        def initialize(**args)
-           update!(**args)
-        end
-      
-        # Update properties of this object
-        def update!(**args)
-          @replies = args[:replies] if args.key?(:replies)
-          @presentation_id = args[:presentation_id] if args.key?(:presentation_id)
-        end
-      end
-      
-      # The result of creating an image.
-      class CreateImageResponse
-        include Google::Apis::Core::Hashable
-      
-        # The object ID of the created image.
-        # Corresponds to the JSON property `objectId`
-        # @return [String]
-        attr_accessor :object_id_prop
-      
-        def initialize(**args)
-           update!(**args)
-        end
-      
-        # Update properties of this object
-        def update!(**args)
-          @object_id_prop = args[:object_id_prop] if args.key?(:object_id_prop)
-        end
-      end
-      
-      # The properties of Page that are only
-      # relevant for pages with page_type SLIDE.
-      class SlideProperties
-        include Google::Apis::Core::Hashable
-      
-        # The object ID of the layout that this slide is based on.
-        # Corresponds to the JSON property `layoutObjectId`
-        # @return [String]
-        attr_accessor :layout_object_id
-      
-        # The object ID of the master that this slide is based on.
-        # Corresponds to the JSON property `masterObjectId`
-        # @return [String]
-        attr_accessor :master_object_id
-      
-        # A page in a presentation.
-        # Corresponds to the JSON property `notesPage`
-        # @return [Google::Apis::SlidesV1::Page]
-        attr_accessor :notes_page
-      
-        def initialize(**args)
-           update!(**args)
-        end
-      
-        # Update properties of this object
-        def update!(**args)
-          @layout_object_id = args[:layout_object_id] if args.key?(:layout_object_id)
-          @master_object_id = args[:master_object_id] if args.key?(:master_object_id)
-          @notes_page = args[:notes_page] if args.key?(:notes_page)
-        end
-      end
-      
-      # A single response from an update.
-      class Response
-        include Google::Apis::Core::Hashable
-      
-        # The result of creating an embedded Google Sheets chart.
-        # Corresponds to the JSON property `createSheetsChart`
-        # @return [Google::Apis::SlidesV1::CreateSheetsChartResponse]
-        attr_accessor :create_sheets_chart
-      
-        # The result of replacing shapes with a Google Sheets chart.
-        # Corresponds to the JSON property `replaceAllShapesWithSheetsChart`
-        # @return [Google::Apis::SlidesV1::ReplaceAllShapesWithSheetsChartResponse]
-        attr_accessor :replace_all_shapes_with_sheets_chart
-      
-        # The result of replacing shapes with an image.
-        # Corresponds to the JSON property `replaceAllShapesWithImage`
-        # @return [Google::Apis::SlidesV1::ReplaceAllShapesWithImageResponse]
-        attr_accessor :replace_all_shapes_with_image
-      
-        # The result of creating a table.
-        # Corresponds to the JSON property `createTable`
-        # @return [Google::Apis::SlidesV1::CreateTableResponse]
-        attr_accessor :create_table
-      
-        # The result of replacing text.
-        # Corresponds to the JSON property `replaceAllText`
-        # @return [Google::Apis::SlidesV1::ReplaceAllTextResponse]
-        attr_accessor :replace_all_text
-      
-        # The result of creating a slide.
-        # Corresponds to the JSON property `createSlide`
-        # @return [Google::Apis::SlidesV1::CreateSlideResponse]
-        attr_accessor :create_slide
-      
-        # The response of duplicating an object.
-        # Corresponds to the JSON property `duplicateObject`
-        # @return [Google::Apis::SlidesV1::DuplicateObjectResponse]
-        attr_accessor :duplicate_object
-      
-        # The result of creating a shape.
-        # Corresponds to the JSON property `createShape`
-        # @return [Google::Apis::SlidesV1::CreateShapeResponse]
-        attr_accessor :create_shape
-      
-        # The result of creating a line.
-        # Corresponds to the JSON property `createLine`
-        # @return [Google::Apis::SlidesV1::CreateLineResponse]
-        attr_accessor :create_line
-      
-        # The result of creating an image.
-        # Corresponds to the JSON property `createImage`
-        # @return [Google::Apis::SlidesV1::CreateImageResponse]
-        attr_accessor :create_image
-      
-        # The result of creating a video.
-        # Corresponds to the JSON property `createVideo`
-        # @return [Google::Apis::SlidesV1::CreateVideoResponse]
-        attr_accessor :create_video
-      
-        def initialize(**args)
-           update!(**args)
-        end
-      
-        # Update properties of this object
-        def update!(**args)
-          @create_sheets_chart = args[:create_sheets_chart] if args.key?(:create_sheets_chart)
-          @replace_all_shapes_with_sheets_chart = args[:replace_all_shapes_with_sheets_chart] if args.key?(:replace_all_shapes_with_sheets_chart)
-          @replace_all_shapes_with_image = args[:replace_all_shapes_with_image] if args.key?(:replace_all_shapes_with_image)
-          @create_table = args[:create_table] if args.key?(:create_table)
-          @replace_all_text = args[:replace_all_text] if args.key?(:replace_all_text)
-          @create_slide = args[:create_slide] if args.key?(:create_slide)
-          @duplicate_object = args[:duplicate_object] if args.key?(:duplicate_object)
-          @create_shape = args[:create_shape] if args.key?(:create_shape)
-          @create_line = args[:create_line] if args.key?(:create_line)
-          @create_image = args[:create_image] if args.key?(:create_image)
-          @create_video = args[:create_video] if args.key?(:create_video)
-        end
-      end
-      
-      # A criteria that matches a specific string of text in a shape or table.
-      class SubstringMatchCriteria
-        include Google::Apis::Core::Hashable
-      
-        # The text to search for in the shape or table.
-        # Corresponds to the JSON property `text`
-        # @return [String]
-        attr_accessor :text
-      
-        # Indicates whether the search should respect case:
-        # - `True`: the search is case sensitive.
-        # - `False`: the search is case insensitive.
-        # Corresponds to the JSON property `matchCase`
-        # @return [Boolean]
-        attr_accessor :match_case
-        alias_method :match_case?, :match_case
-      
-        def initialize(**args)
-           update!(**args)
-        end
-      
-        # Update properties of this object
-        def update!(**args)
-          @text = args[:text] if args.key?(:text)
-          @match_case = args[:match_case] if args.key?(:match_case)
-        end
-      end
-      
-      # Slide layout reference. This may reference either:
-      # - A predefined layout
-      # - One of the layouts in the presentation.
-      class LayoutReference
-        include Google::Apis::Core::Hashable
-      
-        # Predefined layout.
-        # Corresponds to the JSON property `predefinedLayout`
-        # @return [String]
-        attr_accessor :predefined_layout
-      
-        # Layout ID: the object ID of one of the layouts in the presentation.
-        # Corresponds to the JSON property `layoutId`
-        # @return [String]
-        attr_accessor :layout_id
-      
-        def initialize(**args)
-           update!(**args)
-        end
-      
-        # Update properties of this object
-        def update!(**args)
-          @predefined_layout = args[:predefined_layout] if args.key?(:predefined_layout)
-          @layout_id = args[:layout_id] if args.key?(:layout_id)
-        end
-      end
-      
-      # A TextElement kind that represents a run of text that all has the same
-      # styling.
-      class TextRun
-        include Google::Apis::Core::Hashable
-      
-        # The text of this run.
-        # Corresponds to the JSON property `content`
-        # @return [String]
-        attr_accessor :content
-      
-        # Represents the styling that can be applied to a TextRun.
-        # If this text is contained in a shape with a parent placeholder, then these
-        # text styles may be
-        # inherited from the parent. Which text styles are inherited depend on the
-        # nesting level of lists:
-        # * A text run in a paragraph that is not in a list will inherit its text style
-        # from the the newline character in the paragraph at the 0 nesting level of
-        # the list inside the parent placeholder.
-        # * A text run in a paragraph that is in a list will inherit its text style
-        # from the newline character in the paragraph at its corresponding nesting
-        # level of the list inside the parent placeholder.
-        # Inherited text styles are represented as unset fields in this message. If
-        # text is contained in a shape without a parent placeholder, unsetting these
-        # fields will revert the style to a value matching the defaults in the Slides
-        # editor.
-        # Corresponds to the JSON property `style`
-        # @return [Google::Apis::SlidesV1::TextStyle]
-        attr_accessor :style
-      
-        def initialize(**args)
-           update!(**args)
-        end
-      
-        # Update properties of this object
-        def update!(**args)
-          @content = args[:content] if args.key?(:content)
-          @style = args[:style] if args.key?(:style)
-        end
-      end
-      
-      # A table range represents a reference to a subset of a table.
-      # It's important to note that the cells specified by a table range do not
-      # necessarily form a rectangle. For example, let's say we have a 3 x 3 table
-      # where all the cells of the last row are merged together. The table looks
-      # like this:
-      # 
-      # [             ]
-      # A table range with location = (0, 0), row span = 3 and column span = 2
-      # specifies the following cells:
-      # x     x
-      # [      x      ]
-      class TableRange
-        include Google::Apis::Core::Hashable
-      
-        # A location of a single table cell within a table.
-        # Corresponds to the JSON property `location`
-        # @return [Google::Apis::SlidesV1::TableCellLocation]
-        attr_accessor :location
-      
-        # The row span of the table range.
-        # Corresponds to the JSON property `rowSpan`
-        # @return [Fixnum]
-        attr_accessor :row_span
-      
-        # The column span of the table range.
-        # Corresponds to the JSON property `columnSpan`
-        # @return [Fixnum]
-        attr_accessor :column_span
-      
-        def initialize(**args)
-           update!(**args)
-        end
-      
-        # Update properties of this object
-        def update!(**args)
-          @location = args[:location] if args.key?(:location)
-          @row_span = args[:row_span] if args.key?(:row_span)
-          @column_span = args[:column_span] if args.key?(:column_span)
-        end
-      end
-      
-      # Creates a new table.
-      class CreateTableRequest
-        include Google::Apis::Core::Hashable
-      
-        # Common properties for a page element.
-        # Note: When you initially create a
-        # PageElement, the API may modify
-        # the values of both `size` and `transform`, but the
-        # visual size will be unchanged.
-        # Corresponds to the JSON property `elementProperties`
-        # @return [Google::Apis::SlidesV1::PageElementProperties]
-        attr_accessor :element_properties
-      
-        # Number of rows in the table.
-        # Corresponds to the JSON property `rows`
-        # @return [Fixnum]
-        attr_accessor :rows
-      
-        # A user-supplied object ID.
-        # If you specify an ID, it must be unique among all pages and page elements
-        # in the presentation. The ID must start with an alphanumeric character or an
-        # underscore (matches regex `[a-zA-Z0-9_]`); remaining characters
-        # may include those as well as a hyphen or colon (matches regex
-        # `[a-zA-Z0-9_-:]`).
-        # The length of the ID must not be less than 5 or greater than 50.
-        # If you don't specify an ID, a unique one is generated.
-        # Corresponds to the JSON property `objectId`
-        # @return [String]
-        attr_accessor :object_id_prop
-      
-        # Number of columns in the table.
-        # Corresponds to the JSON property `columns`
-        # @return [Fixnum]
-        attr_accessor :columns
-      
-        def initialize(**args)
-           update!(**args)
-        end
-      
-        # Update properties of this object
-        def update!(**args)
-          @element_properties = args[:element_properties] if args.key?(:element_properties)
-          @rows = args[:rows] if args.key?(:rows)
-          @object_id_prop = args[:object_id_prop] if args.key?(:object_id_prop)
-          @columns = args[:columns] if args.key?(:columns)
-        end
-      end
-      
-      # The result of creating a table.
-      class CreateTableResponse
-        include Google::Apis::Core::Hashable
-      
-        # The object ID of the created table.
-        # Corresponds to the JSON property `objectId`
-        # @return [String]
-        attr_accessor :object_id_prop
-      
-        def initialize(**args)
-           update!(**args)
-        end
-      
-        # Update properties of this object
-        def update!(**args)
-          @object_id_prop = args[:object_id_prop] if args.key?(:object_id_prop)
-        end
-      end
-      
-      # A PageElement kind representing a
-      # table.
-      class Table
-        include Google::Apis::Core::Hashable
-      
-        # Properties of each column.
-        # Corresponds to the JSON property `tableColumns`
-        # @return [Array]
-        attr_accessor :table_columns
-      
-        # Number of columns in the table.
-        # Corresponds to the JSON property `columns`
-        # @return [Fixnum]
-        attr_accessor :columns
-      
-        # Properties and contents of each row.
-        # Cells that span multiple rows are contained in only one of these rows and
-        # have a row_span greater
-        # than 1.
-        # Corresponds to the JSON property `tableRows`
-        # @return [Array]
-        attr_accessor :table_rows
-      
-        # Number of rows in the table.
-        # Corresponds to the JSON property `rows`
-        # @return [Fixnum]
-        attr_accessor :rows
-      
-        def initialize(**args)
-           update!(**args)
-        end
-      
-        # Update properties of this object
-        def update!(**args)
-          @table_columns = args[:table_columns] if args.key?(:table_columns)
-          @columns = args[:columns] if args.key?(:columns)
-          @table_rows = args[:table_rows] if args.key?(:table_rows)
-          @rows = args[:rows] if args.key?(:rows)
-        end
-      end
-      
-      # The page background fill.
-      class PageBackgroundFill
-        include Google::Apis::Core::Hashable
-      
-        # The background fill property state.
-        # Updating the the fill on a page will implicitly update this field to
-        # `RENDERED`, unless another value is specified in the same request. To
-        # have no fill on a page, set this field to `NOT_RENDERED`. In this case,
-        # any other fill fields set in the same request will be ignored.
-        # Corresponds to the JSON property `propertyState`
-        # @return [String]
-        attr_accessor :property_state
-      
-        # The stretched picture fill. The page or page element is filled entirely with
-        # the specified picture. The picture is stretched to fit its container.
-        # Corresponds to the JSON property `stretchedPictureFill`
-        # @return [Google::Apis::SlidesV1::StretchedPictureFill]
-        attr_accessor :stretched_picture_fill
-      
-        # A solid color fill. The page or page element is filled entirely with the
-        # specified color value.
-        # If any field is unset, its value may be inherited from a parent placeholder
-        # if it exists.
-        # Corresponds to the JSON property `solidFill`
-        # @return [Google::Apis::SlidesV1::SolidFill]
-        attr_accessor :solid_fill
-      
-        def initialize(**args)
-           update!(**args)
-        end
-      
-        # Update properties of this object
-        def update!(**args)
-          @property_state = args[:property_state] if args.key?(:property_state)
-          @stretched_picture_fill = args[:stretched_picture_fill] if args.key?(:stretched_picture_fill)
-          @solid_fill = args[:solid_fill] if args.key?(:solid_fill)
-        end
-      end
-      
-      # A PageElement kind representing
-      # a linked chart embedded from Google Sheets.
-      class SheetsChart
-        include Google::Apis::Core::Hashable
-      
-        # The URL of an image of the embedded chart, with a default lifetime of 30
-        # minutes. This URL is tagged with the account of the requester. Anyone with
-        # the URL effectively accesses the image as the original requester. Access to
-        # the image may be lost if the presentation's sharing settings change.
-        # Corresponds to the JSON property `contentUrl`
-        # @return [String]
-        attr_accessor :content_url
-      
-        # The ID of the Google Sheets spreadsheet that contains the source chart.
-        # Corresponds to the JSON property `spreadsheetId`
-        # @return [String]
-        attr_accessor :spreadsheet_id
-      
-        # The ID of the specific chart in the Google Sheets spreadsheet that is
-        # embedded.
-        # Corresponds to the JSON property `chartId`
-        # @return [Fixnum]
-        attr_accessor :chart_id
-      
-        # The properties of the SheetsChart.
-        # Corresponds to the JSON property `sheetsChartProperties`
-        # @return [Google::Apis::SlidesV1::SheetsChartProperties]
-        attr_accessor :sheets_chart_properties
-      
-        def initialize(**args)
-           update!(**args)
-        end
-      
-        # Update properties of this object
-        def update!(**args)
-          @content_url = args[:content_url] if args.key?(:content_url)
-          @spreadsheet_id = args[:spreadsheet_id] if args.key?(:spreadsheet_id)
-          @chart_id = args[:chart_id] if args.key?(:chart_id)
-          @sheets_chart_properties = args[:sheets_chart_properties] if args.key?(:sheets_chart_properties)
-        end
-      end
-      
-      # A solid color fill. The page or page element is filled entirely with the
-      # specified color value.
-      # If any field is unset, its value may be inherited from a parent placeholder
-      # if it exists.
-      class SolidFill
-        include Google::Apis::Core::Hashable
-      
-        # A themeable solid color value.
-        # Corresponds to the JSON property `color`
-        # @return [Google::Apis::SlidesV1::OpaqueColor]
-        attr_accessor :color
-      
-        # The fraction of this `color` that should be applied to the pixel.
-        # That is, the final pixel color is defined by the equation:
-        # pixel color = alpha * (color) + (1.0 - alpha) * (background color)
-        # This means that a value of 1.0 corresponds to a solid color, whereas
-        # a value of 0.0 corresponds to a completely transparent color.
-        # Corresponds to the JSON property `alpha`
-        # @return [Float]
-        attr_accessor :alpha
-      
-        def initialize(**args)
-           update!(**args)
-        end
-      
-        # Update properties of this object
-        def update!(**args)
-          @color = args[:color] if args.key?(:color)
-          @alpha = args[:alpha] if args.key?(:alpha)
-        end
-      end
-      
-      # A pair mapping a theme color type to the concrete color it represents.
-      class ThemeColorPair
-        include Google::Apis::Core::Hashable
-      
-        # An RGB color.
-        # Corresponds to the JSON property `color`
-        # @return [Google::Apis::SlidesV1::RgbColor]
-        attr_accessor :color
-      
-        # The type of the theme color.
-        # Corresponds to the JSON property `type`
-        # @return [String]
-        attr_accessor :type
-      
-        def initialize(**args)
-           update!(**args)
-        end
-      
-        # Update properties of this object
-        def update!(**args)
-          @color = args[:color] if args.key?(:color)
-          @type = args[:type] if args.key?(:type)
-        end
-      end
-      
-      # A color that can either be fully opaque or fully transparent.
-      class OptionalColor
-        include Google::Apis::Core::Hashable
-      
-        # A themeable solid color value.
-        # Corresponds to the JSON property `opaqueColor`
-        # @return [Google::Apis::SlidesV1::OpaqueColor]
-        attr_accessor :opaque_color
-      
-        def initialize(**args)
-           update!(**args)
-        end
-      
-        # Update properties of this object
-        def update!(**args)
-          @opaque_color = args[:opaque_color] if args.key?(:opaque_color)
-        end
-      end
-      
-      # Common properties for a page element.
-      # Note: When you initially create a
-      # PageElement, the API may modify
-      # the values of both `size` and `transform`, but the
-      # visual size will be unchanged.
-      class PageElementProperties
-        include Google::Apis::Core::Hashable
-      
-        # AffineTransform uses a 3x3 matrix with an implied last row of [ 0 0 1 ]
-        # to transform source coordinates (x,y) into destination coordinates (x', y')
-        # according to:
-        # x'  x  =   shear_y  scale_y  translate_y
-        # 1  [ 1 ]
-        # After transformation,
-        # x' = scale_x * x + shear_x * y + translate_x;
-        # y' = scale_y * y + shear_y * x + translate_y;
-        # This message is therefore composed of these six matrix elements.
-        # Corresponds to the JSON property `transform`
-        # @return [Google::Apis::SlidesV1::AffineTransform]
-        attr_accessor :transform
-      
-        # The object ID of the page where the element is located.
-        # Corresponds to the JSON property `pageObjectId`
-        # @return [String]
-        attr_accessor :page_object_id
-      
-        # A width and height.
-        # Corresponds to the JSON property `size`
-        # @return [Google::Apis::SlidesV1::Size]
-        attr_accessor :size
-      
-        def initialize(**args)
-           update!(**args)
-        end
-      
-        # Update properties of this object
-        def update!(**args)
-          @transform = args[:transform] if args.key?(:transform)
-          @page_object_id = args[:page_object_id] if args.key?(:page_object_id)
-          @size = args[:size] if args.key?(:size)
-        end
-      end
-      
-      # The properties of the SheetsChart.
-      class SheetsChartProperties
-        include Google::Apis::Core::Hashable
-      
-        # The properties of the Image.
-        # Corresponds to the JSON property `chartImageProperties`
-        # @return [Google::Apis::SlidesV1::ImageProperties]
-        attr_accessor :chart_image_properties
-      
-        def initialize(**args)
-           update!(**args)
-        end
-      
-        # Update properties of this object
-        def update!(**args)
-          @chart_image_properties = args[:chart_image_properties] if args.key?(:chart_image_properties)
-        end
-      end
-      
-      # The stretched picture fill. The page or page element is filled entirely with
-      # the specified picture. The picture is stretched to fit its container.
-      class StretchedPictureFill
-        include Google::Apis::Core::Hashable
-      
-        # Reading the content_url:
-        # An URL to a picture with a default lifetime of 30 minutes.
-        # This URL is tagged with the account of the requester. Anyone with the URL
-        # effectively accesses the picture as the original requester. Access to the
-        # picture may be lost if the presentation's sharing settings change.
-        # Writing the content_url:
-        # The picture is fetched once at insertion time and a copy is stored for
-        # display inside the presentation. Pictures must be less than 50MB in size,
-        # cannot exceed 25 megapixels, and must be in either in PNG, JPEG, or GIF
-        # format.
-        # Corresponds to the JSON property `contentUrl`
-        # @return [String]
-        attr_accessor :content_url
-      
-        # A width and height.
-        # Corresponds to the JSON property `size`
-        # @return [Google::Apis::SlidesV1::Size]
-        attr_accessor :size
-      
-        def initialize(**args)
-           update!(**args)
-        end
-      
-        # Update properties of this object
-        def update!(**args)
-          @content_url = args[:content_url] if args.key?(:content_url)
-          @size = args[:size] if args.key?(:size)
-        end
-      end
-      
-      # Update the styling of text in a Shape or
-      # Table.
-      class UpdateTextStyleRequest
-        include Google::Apis::Core::Hashable
-      
-        # The fields that should be updated.
-        # At least one field must be specified. The root `style` is implied and
-        # should not be specified. A single `"*"` can be used as short-hand for
-        # listing every field.
-        # For example, to update the text style to bold, set `fields` to `"bold"`.
-        # To reset a property to its default value, include its field name in the
-        # field mask but leave the field itself unset.
-        # Corresponds to the JSON property `fields`
-        # @return [String]
-        attr_accessor :fields
-      
-        # The object ID of the shape or table with the text to be styled.
-        # Corresponds to the JSON property `objectId`
-        # @return [String]
-        attr_accessor :object_id_prop
-      
-        # Specifies a contiguous range of an indexed collection, such as characters in
-        # text.
-        # Corresponds to the JSON property `textRange`
-        # @return [Google::Apis::SlidesV1::Range]
-        attr_accessor :text_range
-      
-        # A location of a single table cell within a table.
-        # Corresponds to the JSON property `cellLocation`
-        # @return [Google::Apis::SlidesV1::TableCellLocation]
-        attr_accessor :cell_location
-      
-        # Represents the styling that can be applied to a TextRun.
-        # If this text is contained in a shape with a parent placeholder, then these
-        # text styles may be
-        # inherited from the parent. Which text styles are inherited depend on the
-        # nesting level of lists:
-        # * A text run in a paragraph that is not in a list will inherit its text style
-        # from the the newline character in the paragraph at the 0 nesting level of
-        # the list inside the parent placeholder.
-        # * A text run in a paragraph that is in a list will inherit its text style
-        # from the newline character in the paragraph at its corresponding nesting
-        # level of the list inside the parent placeholder.
-        # Inherited text styles are represented as unset fields in this message. If
-        # text is contained in a shape without a parent placeholder, unsetting these
-        # fields will revert the style to a value matching the defaults in the Slides
-        # editor.
-        # Corresponds to the JSON property `style`
-        # @return [Google::Apis::SlidesV1::TextStyle]
-        attr_accessor :style
-      
-        def initialize(**args)
-           update!(**args)
-        end
-      
-        # Update properties of this object
-        def update!(**args)
-          @fields = args[:fields] if args.key?(:fields)
-          @object_id_prop = args[:object_id_prop] if args.key?(:object_id_prop)
-          @text_range = args[:text_range] if args.key?(:text_range)
-          @cell_location = args[:cell_location] if args.key?(:cell_location)
-          @style = args[:style] if args.key?(:style)
-        end
-      end
-      
-      # Deletes a column from a table.
-      class DeleteTableColumnRequest
-        include Google::Apis::Core::Hashable
-      
-        # The table to delete columns from.
-        # Corresponds to the JSON property `tableObjectId`
-        # @return [String]
-        attr_accessor :table_object_id
-      
-        # A location of a single table cell within a table.
-        # Corresponds to the JSON property `cellLocation`
-        # @return [Google::Apis::SlidesV1::TableCellLocation]
-        attr_accessor :cell_location
-      
-        def initialize(**args)
-           update!(**args)
-        end
-      
-        # Update properties of this object
-        def update!(**args)
-          @table_object_id = args[:table_object_id] if args.key?(:table_object_id)
-          @cell_location = args[:cell_location] if args.key?(:cell_location)
-        end
-      end
-      
-      # A List describes the look and feel of bullets belonging to paragraphs
-      # associated with a list. A paragraph that is part of a list has an implicit
-      # reference to that list's ID.
-      class List
-        include Google::Apis::Core::Hashable
-      
-        # A map of nesting levels to the properties of bullets at the associated
-        # level. A list has at most nine levels of nesting, so the possible values
-        # for the keys of this map are 0 through 8, inclusive.
-        # Corresponds to the JSON property `nestingLevel`
-        # @return [Hash]
-        attr_accessor :nesting_level
-      
-        # The ID of the list.
-        # Corresponds to the JSON property `listId`
-        # @return [String]
-        attr_accessor :list_id
-      
-        def initialize(**args)
-           update!(**args)
-        end
-      
-        # Update properties of this object
-        def update!(**args)
-          @nesting_level = args[:nesting_level] if args.key?(:nesting_level)
-          @list_id = args[:list_id] if args.key?(:list_id)
-        end
-      end
-      
       # Represents a font family and weight used to style a TextRun.
       class WeightedFontFamily
         include Google::Apis::Core::Hashable
@@ -1726,67 +61,6 @@ module Google
       class PageElement
         include Google::Apis::Core::Hashable
       
-        # A width and height.
-        # Corresponds to the JSON property `size`
-        # @return [Google::Apis::SlidesV1::Size]
-        attr_accessor :size
-      
-        # The title of the page element. Combined with description to display alt
-        # text.
-        # Corresponds to the JSON property `title`
-        # @return [String]
-        attr_accessor :title
-      
-        # A PageElement kind representing
-        # a linked chart embedded from Google Sheets.
-        # Corresponds to the JSON property `sheetsChart`
-        # @return [Google::Apis::SlidesV1::SheetsChart]
-        attr_accessor :sheets_chart
-      
-        # A PageElement kind representing a
-        # video.
-        # Corresponds to the JSON property `video`
-        # @return [Google::Apis::SlidesV1::Video]
-        attr_accessor :video
-      
-        # A PageElement kind representing
-        # word art.
-        # Corresponds to the JSON property `wordArt`
-        # @return [Google::Apis::SlidesV1::WordArt]
-        attr_accessor :word_art
-      
-        # A PageElement kind representing a
-        # table.
-        # Corresponds to the JSON property `table`
-        # @return [Google::Apis::SlidesV1::Table]
-        attr_accessor :table
-      
-        # AffineTransform uses a 3x3 matrix with an implied last row of [ 0 0 1 ]
-        # to transform source coordinates (x,y) into destination coordinates (x', y')
-        # according to:
-        # x'  x  =   shear_y  scale_y  translate_y
-        # 1  [ 1 ]
-        # After transformation,
-        # x' = scale_x * x + shear_x * y + translate_x;
-        # y' = scale_y * y + shear_y * x + translate_y;
-        # This message is therefore composed of these six matrix elements.
-        # Corresponds to the JSON property `transform`
-        # @return [Google::Apis::SlidesV1::AffineTransform]
-        attr_accessor :transform
-      
-        # The object ID for this page element. Object IDs used by
-        # google.apps.slides.v1.Page and
-        # google.apps.slides.v1.PageElement share the same namespace.
-        # Corresponds to the JSON property `objectId`
-        # @return [String]
-        attr_accessor :object_id_prop
-      
-        # A PageElement kind representing a
-        # generic shape that does not have a more specific classification.
-        # Corresponds to the JSON property `shape`
-        # @return [Google::Apis::SlidesV1::Shape]
-        attr_accessor :shape
-      
         # A PageElement kind representing a
         # line, curved connector, or bent connector.
         # Corresponds to the JSON property `line`
@@ -1811,25 +85,86 @@ module Google
         # @return [Google::Apis::SlidesV1::Image]
         attr_accessor :image
       
+        # A width and height.
+        # Corresponds to the JSON property `size`
+        # @return [Google::Apis::SlidesV1::Size]
+        attr_accessor :size
+      
+        # A PageElement kind representing
+        # a linked chart embedded from Google Sheets.
+        # Corresponds to the JSON property `sheetsChart`
+        # @return [Google::Apis::SlidesV1::SheetsChart]
+        attr_accessor :sheets_chart
+      
+        # The title of the page element. Combined with description to display alt
+        # text.
+        # Corresponds to the JSON property `title`
+        # @return [String]
+        attr_accessor :title
+      
+        # A PageElement kind representing a
+        # video.
+        # Corresponds to the JSON property `video`
+        # @return [Google::Apis::SlidesV1::Video]
+        attr_accessor :video
+      
+        # A PageElement kind representing
+        # word art.
+        # Corresponds to the JSON property `wordArt`
+        # @return [Google::Apis::SlidesV1::WordArt]
+        attr_accessor :word_art
+      
+        # A PageElement kind representing a
+        # table.
+        # Corresponds to the JSON property `table`
+        # @return [Google::Apis::SlidesV1::Table]
+        attr_accessor :table
+      
+        # The object ID for this page element. Object IDs used by
+        # google.apps.slides.v1.Page and
+        # google.apps.slides.v1.PageElement share the same namespace.
+        # Corresponds to the JSON property `objectId`
+        # @return [String]
+        attr_accessor :object_id_prop
+      
+        # AffineTransform uses a 3x3 matrix with an implied last row of [ 0 0 1 ]
+        # to transform source coordinates (x,y) into destination coordinates (x', y')
+        # according to:
+        # x'  x  =   shear_y  scale_y  translate_y
+        # 1  [ 1 ]
+        # After transformation,
+        # x' = scale_x * x + shear_x * y + translate_x;
+        # y' = scale_y * y + shear_y * x + translate_y;
+        # This message is therefore composed of these six matrix elements.
+        # Corresponds to the JSON property `transform`
+        # @return [Google::Apis::SlidesV1::AffineTransform]
+        attr_accessor :transform
+      
+        # A PageElement kind representing a
+        # generic shape that does not have a more specific classification.
+        # Corresponds to the JSON property `shape`
+        # @return [Google::Apis::SlidesV1::Shape]
+        attr_accessor :shape
+      
         def initialize(**args)
            update!(**args)
         end
       
         # Update properties of this object
         def update!(**args)
-          @size = args[:size] if args.key?(:size)
-          @title = args[:title] if args.key?(:title)
-          @sheets_chart = args[:sheets_chart] if args.key?(:sheets_chart)
-          @video = args[:video] if args.key?(:video)
-          @word_art = args[:word_art] if args.key?(:word_art)
-          @table = args[:table] if args.key?(:table)
-          @transform = args[:transform] if args.key?(:transform)
-          @object_id_prop = args[:object_id_prop] if args.key?(:object_id_prop)
-          @shape = args[:shape] if args.key?(:shape)
           @line = args[:line] if args.key?(:line)
           @description = args[:description] if args.key?(:description)
           @element_group = args[:element_group] if args.key?(:element_group)
           @image = args[:image] if args.key?(:image)
+          @size = args[:size] if args.key?(:size)
+          @sheets_chart = args[:sheets_chart] if args.key?(:sheets_chart)
+          @title = args[:title] if args.key?(:title)
+          @video = args[:video] if args.key?(:video)
+          @word_art = args[:word_art] if args.key?(:word_art)
+          @table = args[:table] if args.key?(:table)
+          @object_id_prop = args[:object_id_prop] if args.key?(:object_id_prop)
+          @transform = args[:transform] if args.key?(:transform)
+          @shape = args[:shape] if args.key?(:shape)
         end
       end
       
@@ -1891,17 +226,6 @@ module Google
       class CreateParagraphBulletsRequest
         include Google::Apis::Core::Hashable
       
-        # The kinds of bullet glyphs to be used. Defaults to the
-        # `BULLET_DISC_CIRCLE_SQUARE` preset.
-        # Corresponds to the JSON property `bulletPreset`
-        # @return [String]
-        attr_accessor :bullet_preset
-      
-        # A location of a single table cell within a table.
-        # Corresponds to the JSON property `cellLocation`
-        # @return [Google::Apis::SlidesV1::TableCellLocation]
-        attr_accessor :cell_location
-      
         # The object ID of the shape or table containing the text to add bullets to.
         # Corresponds to the JSON property `objectId`
         # @return [String]
@@ -1913,16 +237,27 @@ module Google
         # @return [Google::Apis::SlidesV1::Range]
         attr_accessor :text_range
       
+        # The kinds of bullet glyphs to be used. Defaults to the
+        # `BULLET_DISC_CIRCLE_SQUARE` preset.
+        # Corresponds to the JSON property `bulletPreset`
+        # @return [String]
+        attr_accessor :bullet_preset
+      
+        # A location of a single table cell within a table.
+        # Corresponds to the JSON property `cellLocation`
+        # @return [Google::Apis::SlidesV1::TableCellLocation]
+        attr_accessor :cell_location
+      
         def initialize(**args)
            update!(**args)
         end
       
         # Update properties of this object
         def update!(**args)
-          @bullet_preset = args[:bullet_preset] if args.key?(:bullet_preset)
-          @cell_location = args[:cell_location] if args.key?(:cell_location)
           @object_id_prop = args[:object_id_prop] if args.key?(:object_id_prop)
           @text_range = args[:text_range] if args.key?(:text_range)
+          @bullet_preset = args[:bullet_preset] if args.key?(:bullet_preset)
+          @cell_location = args[:cell_location] if args.key?(:cell_location)
         end
       end
       
@@ -1944,6 +279,39 @@ module Google
       class TextStyle
         include Google::Apis::Core::Hashable
       
+        # Whether or not the text is in small capital letters.
+        # Corresponds to the JSON property `smallCaps`
+        # @return [Boolean]
+        attr_accessor :small_caps
+        alias_method :small_caps?, :small_caps
+      
+        # A color that can either be fully opaque or fully transparent.
+        # Corresponds to the JSON property `backgroundColor`
+        # @return [Google::Apis::SlidesV1::OptionalColor]
+        attr_accessor :background_color
+      
+        # A hypertext link.
+        # Corresponds to the JSON property `link`
+        # @return [Google::Apis::SlidesV1::Link]
+        attr_accessor :link
+      
+        # Whether or not the text is underlined.
+        # Corresponds to the JSON property `underline`
+        # @return [Boolean]
+        attr_accessor :underline
+        alias_method :underline?, :underline
+      
+        # Whether or not the text is rendered as bold.
+        # Corresponds to the JSON property `bold`
+        # @return [Boolean]
+        attr_accessor :bold
+        alias_method :bold?, :bold
+      
+        # A color that can either be fully opaque or fully transparent.
+        # Corresponds to the JSON property `foregroundColor`
+        # @return [Google::Apis::SlidesV1::OptionalColor]
+        attr_accessor :foreground_color
+      
         # The font family of the text.
         # The font family can be any font from the Font menu in Slides or from
         # [Google Fonts] (https://fonts.google.com/). If the font name is
@@ -1985,57 +353,24 @@ module Google
         # @return [Google::Apis::SlidesV1::WeightedFontFamily]
         attr_accessor :weighted_font_family
       
-        # Whether or not the text is in small capital letters.
-        # Corresponds to the JSON property `smallCaps`
-        # @return [Boolean]
-        attr_accessor :small_caps
-        alias_method :small_caps?, :small_caps
-      
-        # A color that can either be fully opaque or fully transparent.
-        # Corresponds to the JSON property `backgroundColor`
-        # @return [Google::Apis::SlidesV1::OptionalColor]
-        attr_accessor :background_color
-      
-        # A hypertext link.
-        # Corresponds to the JSON property `link`
-        # @return [Google::Apis::SlidesV1::Link]
-        attr_accessor :link
-      
-        # Whether or not the text is underlined.
-        # Corresponds to the JSON property `underline`
-        # @return [Boolean]
-        attr_accessor :underline
-        alias_method :underline?, :underline
-      
-        # A color that can either be fully opaque or fully transparent.
-        # Corresponds to the JSON property `foregroundColor`
-        # @return [Google::Apis::SlidesV1::OptionalColor]
-        attr_accessor :foreground_color
-      
-        # Whether or not the text is rendered as bold.
-        # Corresponds to the JSON property `bold`
-        # @return [Boolean]
-        attr_accessor :bold
-        alias_method :bold?, :bold
-      
         def initialize(**args)
            update!(**args)
         end
       
         # Update properties of this object
         def update!(**args)
+          @small_caps = args[:small_caps] if args.key?(:small_caps)
+          @background_color = args[:background_color] if args.key?(:background_color)
+          @link = args[:link] if args.key?(:link)
+          @underline = args[:underline] if args.key?(:underline)
+          @bold = args[:bold] if args.key?(:bold)
+          @foreground_color = args[:foreground_color] if args.key?(:foreground_color)
           @font_family = args[:font_family] if args.key?(:font_family)
           @italic = args[:italic] if args.key?(:italic)
           @strikethrough = args[:strikethrough] if args.key?(:strikethrough)
           @font_size = args[:font_size] if args.key?(:font_size)
           @baseline_offset = args[:baseline_offset] if args.key?(:baseline_offset)
           @weighted_font_family = args[:weighted_font_family] if args.key?(:weighted_font_family)
-          @small_caps = args[:small_caps] if args.key?(:small_caps)
-          @background_color = args[:background_color] if args.key?(:background_color)
-          @link = args[:link] if args.key?(:link)
-          @underline = args[:underline] if args.key?(:underline)
-          @foreground_color = args[:foreground_color] if args.key?(:foreground_color)
-          @bold = args[:bold] if args.key?(:bold)
         end
       end
       
@@ -2043,24 +378,24 @@ module Google
       class Size
         include Google::Apis::Core::Hashable
       
-        # A magnitude in a single direction in the specified units.
-        # Corresponds to the JSON property `height`
-        # @return [Google::Apis::SlidesV1::Dimension]
-        attr_accessor :height
-      
         # A magnitude in a single direction in the specified units.
         # Corresponds to the JSON property `width`
         # @return [Google::Apis::SlidesV1::Dimension]
         attr_accessor :width
       
+        # A magnitude in a single direction in the specified units.
+        # Corresponds to the JSON property `height`
+        # @return [Google::Apis::SlidesV1::Dimension]
+        attr_accessor :height
+      
         def initialize(**args)
            update!(**args)
         end
       
         # Update properties of this object
         def update!(**args)
-          @height = args[:height] if args.key?(:height)
           @width = args[:width] if args.key?(:width)
+          @height = args[:height] if args.key?(:height)
         end
       end
       
@@ -2106,66 +441,6 @@ module Google
       class Request
         include Google::Apis::Core::Hashable
       
-        # Replaces all shapes that match the given criteria with the provided image.
-        # Corresponds to the JSON property `replaceAllShapesWithImage`
-        # @return [Google::Apis::SlidesV1::ReplaceAllShapesWithImageRequest]
-        attr_accessor :replace_all_shapes_with_image
-      
-        # Replaces all instances of text matching a criteria with replace text.
-        # Corresponds to the JSON property `replaceAllText`
-        # @return [Google::Apis::SlidesV1::ReplaceAllTextRequest]
-        attr_accessor :replace_all_text
-      
-        # Update the properties of an Image.
-        # Corresponds to the JSON property `updateImageProperties`
-        # @return [Google::Apis::SlidesV1::UpdateImagePropertiesRequest]
-        attr_accessor :update_image_properties
-      
-        # Creates a new slide.
-        # Corresponds to the JSON property `createSlide`
-        # @return [Google::Apis::SlidesV1::CreateSlideRequest]
-        attr_accessor :create_slide
-      
-        # Inserts rows into a table.
-        # Corresponds to the JSON property `insertTableRows`
-        # @return [Google::Apis::SlidesV1::InsertTableRowsRequest]
-        attr_accessor :insert_table_rows
-      
-        # Updates the properties of a Line.
-        # Corresponds to the JSON property `updateLineProperties`
-        # @return [Google::Apis::SlidesV1::UpdateLinePropertiesRequest]
-        attr_accessor :update_line_properties
-      
-        # Updates the position of slides in the presentation.
-        # Corresponds to the JSON property `updateSlidesPosition`
-        # @return [Google::Apis::SlidesV1::UpdateSlidesPositionRequest]
-        attr_accessor :update_slides_position
-      
-        # Deletes a row from a table.
-        # Corresponds to the JSON property `deleteTableRow`
-        # @return [Google::Apis::SlidesV1::DeleteTableRowRequest]
-        attr_accessor :delete_table_row
-      
-        # Update the properties of a Shape.
-        # Corresponds to the JSON property `updateShapeProperties`
-        # @return [Google::Apis::SlidesV1::UpdateShapePropertiesRequest]
-        attr_accessor :update_shape_properties
-      
-        # Inserts text into a shape or a table cell.
-        # Corresponds to the JSON property `insertText`
-        # @return [Google::Apis::SlidesV1::InsertTextRequest]
-        attr_accessor :insert_text
-      
-        # Deletes text from a shape or a table cell.
-        # Corresponds to the JSON property `deleteText`
-        # @return [Google::Apis::SlidesV1::DeleteTextRequest]
-        attr_accessor :delete_text
-      
-        # Updates the properties of a Page.
-        # Corresponds to the JSON property `updatePageProperties`
-        # @return [Google::Apis::SlidesV1::UpdatePagePropertiesRequest]
-        attr_accessor :update_page_properties
-      
         # Creates a new shape.
         # Corresponds to the JSON property `createShape`
         # @return [Google::Apis::SlidesV1::CreateShapeRequest]
@@ -2193,16 +468,16 @@ module Google
         # @return [Google::Apis::SlidesV1::RefreshSheetsChartRequest]
         attr_accessor :refresh_sheets_chart
       
-        # Update the properties of a TableCell.
-        # Corresponds to the JSON property `updateTableCellProperties`
-        # @return [Google::Apis::SlidesV1::UpdateTableCellPropertiesRequest]
-        attr_accessor :update_table_cell_properties
-      
         # Creates a new table.
         # Corresponds to the JSON property `createTable`
         # @return [Google::Apis::SlidesV1::CreateTableRequest]
         attr_accessor :create_table
       
+        # Update the properties of a TableCell.
+        # Corresponds to the JSON property `updateTableCellProperties`
+        # @return [Google::Apis::SlidesV1::UpdateTableCellPropertiesRequest]
+        attr_accessor :update_table_cell_properties
+      
         # Deletes an object, either pages or
         # page elements, from the
         # presentation.
@@ -2262,6 +537,13 @@ module Google
         # @return [Google::Apis::SlidesV1::CreateVideoRequest]
         attr_accessor :create_video
       
+        # Creates an embedded Google Sheets chart.
+        # NOTE: Chart creation requires at least one of the spreadsheets.readonly,
+        # spreadsheets, drive.readonly, or drive OAuth scopes.
+        # Corresponds to the JSON property `createSheetsChart`
+        # @return [Google::Apis::SlidesV1::CreateSheetsChartRequest]
+        attr_accessor :create_sheets_chart
+      
         # Replaces all shapes that match the given criteria with the provided Google
         # Sheets chart. The chart will be scaled and centered to fit within the bounds
         # of the original shape.
@@ -2271,13 +553,6 @@ module Google
         # @return [Google::Apis::SlidesV1::ReplaceAllShapesWithSheetsChartRequest]
         attr_accessor :replace_all_shapes_with_sheets_chart
       
-        # Creates an embedded Google Sheets chart.
-        # NOTE: Chart creation requires at least one of the spreadsheets.readonly,
-        # spreadsheets, drive.readonly, or drive OAuth scopes.
-        # Corresponds to the JSON property `createSheetsChart`
-        # @return [Google::Apis::SlidesV1::CreateSheetsChartRequest]
-        attr_accessor :create_sheets_chart
-      
         # Updates the transform of a page element.
         # Corresponds to the JSON property `updatePageElementTransform`
         # @return [Google::Apis::SlidesV1::UpdatePageElementTransformRequest]
@@ -2289,30 +564,78 @@ module Google
         # @return [Google::Apis::SlidesV1::UpdateTextStyleRequest]
         attr_accessor :update_text_style
       
+        # Replaces all shapes that match the given criteria with the provided image.
+        # Corresponds to the JSON property `replaceAllShapesWithImage`
+        # @return [Google::Apis::SlidesV1::ReplaceAllShapesWithImageRequest]
+        attr_accessor :replace_all_shapes_with_image
+      
+        # Replaces all instances of text matching a criteria with replace text.
+        # Corresponds to the JSON property `replaceAllText`
+        # @return [Google::Apis::SlidesV1::ReplaceAllTextRequest]
+        attr_accessor :replace_all_text
+      
+        # Update the properties of an Image.
+        # Corresponds to the JSON property `updateImageProperties`
+        # @return [Google::Apis::SlidesV1::UpdateImagePropertiesRequest]
+        attr_accessor :update_image_properties
+      
+        # Inserts rows into a table.
+        # Corresponds to the JSON property `insertTableRows`
+        # @return [Google::Apis::SlidesV1::InsertTableRowsRequest]
+        attr_accessor :insert_table_rows
+      
+        # Creates a new slide.
+        # Corresponds to the JSON property `createSlide`
+        # @return [Google::Apis::SlidesV1::CreateSlideRequest]
+        attr_accessor :create_slide
+      
+        # Updates the properties of a Line.
+        # Corresponds to the JSON property `updateLineProperties`
+        # @return [Google::Apis::SlidesV1::UpdateLinePropertiesRequest]
+        attr_accessor :update_line_properties
+      
+        # Updates the position of slides in the presentation.
+        # Corresponds to the JSON property `updateSlidesPosition`
+        # @return [Google::Apis::SlidesV1::UpdateSlidesPositionRequest]
+        attr_accessor :update_slides_position
+      
+        # Deletes a row from a table.
+        # Corresponds to the JSON property `deleteTableRow`
+        # @return [Google::Apis::SlidesV1::DeleteTableRowRequest]
+        attr_accessor :delete_table_row
+      
+        # Update the properties of a Shape.
+        # Corresponds to the JSON property `updateShapeProperties`
+        # @return [Google::Apis::SlidesV1::UpdateShapePropertiesRequest]
+        attr_accessor :update_shape_properties
+      
+        # Inserts text into a shape or a table cell.
+        # Corresponds to the JSON property `insertText`
+        # @return [Google::Apis::SlidesV1::InsertTextRequest]
+        attr_accessor :insert_text
+      
+        # Deletes text from a shape or a table cell.
+        # Corresponds to the JSON property `deleteText`
+        # @return [Google::Apis::SlidesV1::DeleteTextRequest]
+        attr_accessor :delete_text
+      
+        # Updates the properties of a Page.
+        # Corresponds to the JSON property `updatePageProperties`
+        # @return [Google::Apis::SlidesV1::UpdatePagePropertiesRequest]
+        attr_accessor :update_page_properties
+      
         def initialize(**args)
            update!(**args)
         end
       
         # Update properties of this object
         def update!(**args)
-          @replace_all_shapes_with_image = args[:replace_all_shapes_with_image] if args.key?(:replace_all_shapes_with_image)
-          @replace_all_text = args[:replace_all_text] if args.key?(:replace_all_text)
-          @update_image_properties = args[:update_image_properties] if args.key?(:update_image_properties)
-          @create_slide = args[:create_slide] if args.key?(:create_slide)
-          @insert_table_rows = args[:insert_table_rows] if args.key?(:insert_table_rows)
-          @update_line_properties = args[:update_line_properties] if args.key?(:update_line_properties)
-          @update_slides_position = args[:update_slides_position] if args.key?(:update_slides_position)
-          @delete_table_row = args[:delete_table_row] if args.key?(:delete_table_row)
-          @update_shape_properties = args[:update_shape_properties] if args.key?(:update_shape_properties)
-          @insert_text = args[:insert_text] if args.key?(:insert_text)
-          @delete_text = args[:delete_text] if args.key?(:delete_text)
-          @update_page_properties = args[:update_page_properties] if args.key?(:update_page_properties)
           @create_shape = args[:create_shape] if args.key?(:create_shape)
           @delete_paragraph_bullets = args[:delete_paragraph_bullets] if args.key?(:delete_paragraph_bullets)
           @insert_table_columns = args[:insert_table_columns] if args.key?(:insert_table_columns)
           @refresh_sheets_chart = args[:refresh_sheets_chart] if args.key?(:refresh_sheets_chart)
-          @update_table_cell_properties = args[:update_table_cell_properties] if args.key?(:update_table_cell_properties)
           @create_table = args[:create_table] if args.key?(:create_table)
+          @update_table_cell_properties = args[:update_table_cell_properties] if args.key?(:update_table_cell_properties)
           @delete_object = args[:delete_object] if args.key?(:delete_object)
           @update_paragraph_style = args[:update_paragraph_style] if args.key?(:update_paragraph_style)
           @delete_table_column = args[:delete_table_column] if args.key?(:delete_table_column)
@@ -2322,10 +645,22 @@ module Google
           @create_image = args[:create_image] if args.key?(:create_image)
           @create_paragraph_bullets = args[:create_paragraph_bullets] if args.key?(:create_paragraph_bullets)
           @create_video = args[:create_video] if args.key?(:create_video)
-          @replace_all_shapes_with_sheets_chart = args[:replace_all_shapes_with_sheets_chart] if args.key?(:replace_all_shapes_with_sheets_chart)
           @create_sheets_chart = args[:create_sheets_chart] if args.key?(:create_sheets_chart)
+          @replace_all_shapes_with_sheets_chart = args[:replace_all_shapes_with_sheets_chart] if args.key?(:replace_all_shapes_with_sheets_chart)
           @update_page_element_transform = args[:update_page_element_transform] if args.key?(:update_page_element_transform)
           @update_text_style = args[:update_text_style] if args.key?(:update_text_style)
+          @replace_all_shapes_with_image = args[:replace_all_shapes_with_image] if args.key?(:replace_all_shapes_with_image)
+          @replace_all_text = args[:replace_all_text] if args.key?(:replace_all_text)
+          @update_image_properties = args[:update_image_properties] if args.key?(:update_image_properties)
+          @insert_table_rows = args[:insert_table_rows] if args.key?(:insert_table_rows)
+          @create_slide = args[:create_slide] if args.key?(:create_slide)
+          @update_line_properties = args[:update_line_properties] if args.key?(:update_line_properties)
+          @update_slides_position = args[:update_slides_position] if args.key?(:update_slides_position)
+          @delete_table_row = args[:delete_table_row] if args.key?(:delete_table_row)
+          @update_shape_properties = args[:update_shape_properties] if args.key?(:update_shape_properties)
+          @insert_text = args[:insert_text] if args.key?(:insert_text)
+          @delete_text = args[:delete_text] if args.key?(:delete_text)
+          @update_page_properties = args[:update_page_properties] if args.key?(:update_page_properties)
         end
       end
       
@@ -2381,28 +716,6 @@ module Google
       class ParagraphStyle
         include Google::Apis::Core::Hashable
       
-        # A magnitude in a single direction in the specified units.
-        # Corresponds to the JSON property `spaceBelow`
-        # @return [Google::Apis::SlidesV1::Dimension]
-        attr_accessor :space_below
-      
-        # The text direction of this paragraph. If unset, the value defaults to
-        # LEFT_TO_RIGHT
-        # since text direction is not inherited.
-        # Corresponds to the JSON property `direction`
-        # @return [String]
-        attr_accessor :direction
-      
-        # The spacing mode for the paragraph.
-        # Corresponds to the JSON property `spacingMode`
-        # @return [String]
-        attr_accessor :spacing_mode
-      
-        # A magnitude in a single direction in the specified units.
-        # Corresponds to the JSON property `indentEnd`
-        # @return [Google::Apis::SlidesV1::Dimension]
-        attr_accessor :indent_end
-      
         # A magnitude in a single direction in the specified units.
         # Corresponds to the JSON property `indentStart`
         # @return [Google::Apis::SlidesV1::Dimension]
@@ -2413,10 +726,10 @@ module Google
         # @return [Google::Apis::SlidesV1::Dimension]
         attr_accessor :space_above
       
-        # The text alignment for this paragraph.
-        # Corresponds to the JSON property `alignment`
-        # @return [String]
-        attr_accessor :alignment
+        # A magnitude in a single direction in the specified units.
+        # Corresponds to the JSON property `indentFirstLine`
+        # @return [Google::Apis::SlidesV1::Dimension]
+        attr_accessor :indent_first_line
       
         # The amount of space between lines, as a percentage of normal, where normal
         # is represented as 100.0. If unset, the value is inherited from the parent.
@@ -2424,10 +737,32 @@ module Google
         # @return [Float]
         attr_accessor :line_spacing
       
+        # The text alignment for this paragraph.
+        # Corresponds to the JSON property `alignment`
+        # @return [String]
+        attr_accessor :alignment
+      
         # A magnitude in a single direction in the specified units.
-        # Corresponds to the JSON property `indentFirstLine`
+        # Corresponds to the JSON property `spaceBelow`
         # @return [Google::Apis::SlidesV1::Dimension]
-        attr_accessor :indent_first_line
+        attr_accessor :space_below
+      
+        # The text direction of this paragraph. If unset, the value defaults to
+        # LEFT_TO_RIGHT since
+        # text direction is not inherited.
+        # Corresponds to the JSON property `direction`
+        # @return [String]
+        attr_accessor :direction
+      
+        # A magnitude in a single direction in the specified units.
+        # Corresponds to the JSON property `indentEnd`
+        # @return [Google::Apis::SlidesV1::Dimension]
+        attr_accessor :indent_end
+      
+        # The spacing mode for the paragraph.
+        # Corresponds to the JSON property `spacingMode`
+        # @return [String]
+        attr_accessor :spacing_mode
       
         def initialize(**args)
            update!(**args)
@@ -2435,15 +770,15 @@ module Google
       
         # Update properties of this object
         def update!(**args)
-          @space_below = args[:space_below] if args.key?(:space_below)
-          @direction = args[:direction] if args.key?(:direction)
-          @spacing_mode = args[:spacing_mode] if args.key?(:spacing_mode)
-          @indent_end = args[:indent_end] if args.key?(:indent_end)
           @indent_start = args[:indent_start] if args.key?(:indent_start)
           @space_above = args[:space_above] if args.key?(:space_above)
-          @alignment = args[:alignment] if args.key?(:alignment)
-          @line_spacing = args[:line_spacing] if args.key?(:line_spacing)
           @indent_first_line = args[:indent_first_line] if args.key?(:indent_first_line)
+          @line_spacing = args[:line_spacing] if args.key?(:line_spacing)
+          @alignment = args[:alignment] if args.key?(:alignment)
+          @space_below = args[:space_below] if args.key?(:space_below)
+          @direction = args[:direction] if args.key?(:direction)
+          @indent_end = args[:indent_end] if args.key?(:indent_end)
+          @spacing_mode = args[:spacing_mode] if args.key?(:spacing_mode)
         end
       end
       
@@ -2493,11 +828,6 @@ module Google
       class Outline
         include Google::Apis::Core::Hashable
       
-        # The fill of the outline.
-        # Corresponds to the JSON property `outlineFill`
-        # @return [Google::Apis::SlidesV1::OutlineFill]
-        attr_accessor :outline_fill
-      
         # A magnitude in a single direction in the specified units.
         # Corresponds to the JSON property `weight`
         # @return [Google::Apis::SlidesV1::Dimension]
@@ -2518,16 +848,21 @@ module Google
         # @return [String]
         attr_accessor :property_state
       
+        # The fill of the outline.
+        # Corresponds to the JSON property `outlineFill`
+        # @return [Google::Apis::SlidesV1::OutlineFill]
+        attr_accessor :outline_fill
+      
         def initialize(**args)
            update!(**args)
         end
       
         # Update properties of this object
         def update!(**args)
-          @outline_fill = args[:outline_fill] if args.key?(:outline_fill)
           @weight = args[:weight] if args.key?(:weight)
           @dash_style = args[:dash_style] if args.key?(:dash_style)
           @property_state = args[:property_state] if args.key?(:property_state)
+          @outline_fill = args[:outline_fill] if args.key?(:outline_fill)
         end
       end
       
@@ -2587,20 +922,6 @@ module Google
       class ShapeProperties
         include Google::Apis::Core::Hashable
       
-        # The shape background fill.
-        # Corresponds to the JSON property `shapeBackgroundFill`
-        # @return [Google::Apis::SlidesV1::ShapeBackgroundFill]
-        attr_accessor :shape_background_fill
-      
-        # The shadow properties of a page element.
-        # If these fields are unset, they may be inherited from a parent placeholder
-        # if it exists. If there is no parent, the fields will default to the value
-        # used for new page elements created in the Slides editor, which may depend on
-        # the page element kind.
-        # Corresponds to the JSON property `shadow`
-        # @return [Google::Apis::SlidesV1::Shadow]
-        attr_accessor :shadow
-      
         # A hypertext link.
         # Corresponds to the JSON property `link`
         # @return [Google::Apis::SlidesV1::Link]
@@ -2615,16 +936,30 @@ module Google
         # @return [Google::Apis::SlidesV1::Outline]
         attr_accessor :outline
       
+        # The shape background fill.
+        # Corresponds to the JSON property `shapeBackgroundFill`
+        # @return [Google::Apis::SlidesV1::ShapeBackgroundFill]
+        attr_accessor :shape_background_fill
+      
+        # The shadow properties of a page element.
+        # If these fields are unset, they may be inherited from a parent placeholder
+        # if it exists. If there is no parent, the fields will default to the value
+        # used for new page elements created in the Slides editor, which may depend on
+        # the page element kind.
+        # Corresponds to the JSON property `shadow`
+        # @return [Google::Apis::SlidesV1::Shadow]
+        attr_accessor :shadow
+      
         def initialize(**args)
            update!(**args)
         end
       
         # Update properties of this object
         def update!(**args)
-          @shape_background_fill = args[:shape_background_fill] if args.key?(:shape_background_fill)
-          @shadow = args[:shadow] if args.key?(:shadow)
           @link = args[:link] if args.key?(:link)
           @outline = args[:outline] if args.key?(:outline)
+          @shape_background_fill = args[:shape_background_fill] if args.key?(:shape_background_fill)
+          @shadow = args[:shadow] if args.key?(:shadow)
         end
       end
       
@@ -2680,6 +1015,11 @@ module Google
       class UpdateTableCellPropertiesRequest
         include Google::Apis::Core::Hashable
       
+        # The properties of the TableCell.
+        # Corresponds to the JSON property `tableCellProperties`
+        # @return [Google::Apis::SlidesV1::TableCellProperties]
+        attr_accessor :table_cell_properties
+      
         # The fields that should be updated.
         # At least one field must be specified. The root `tableCellProperties` is
         # implied and should not be specified. A single `"*"` can be used as
@@ -2712,21 +1052,16 @@ module Google
         # @return [Google::Apis::SlidesV1::TableRange]
         attr_accessor :table_range
       
-        # The properties of the TableCell.
-        # Corresponds to the JSON property `tableCellProperties`
-        # @return [Google::Apis::SlidesV1::TableCellProperties]
-        attr_accessor :table_cell_properties
-      
         def initialize(**args)
            update!(**args)
         end
       
         # Update properties of this object
         def update!(**args)
+          @table_cell_properties = args[:table_cell_properties] if args.key?(:table_cell_properties)
           @fields = args[:fields] if args.key?(:fields)
           @object_id_prop = args[:object_id_prop] if args.key?(:object_id_prop)
           @table_range = args[:table_range] if args.key?(:table_range)
-          @table_cell_properties = args[:table_cell_properties] if args.key?(:table_cell_properties)
         end
       end
       
@@ -2810,25 +1145,25 @@ module Google
       class TextContent
         include Google::Apis::Core::Hashable
       
+        # The bulleted lists contained in this text, keyed by list ID.
+        # Corresponds to the JSON property `lists`
+        # @return [Hash]
+        attr_accessor :lists
+      
         # The text contents broken down into its component parts, including styling
         # information. This property is read-only.
         # Corresponds to the JSON property `textElements`
         # @return [Array]
         attr_accessor :text_elements
       
-        # The bulleted lists contained in this text, keyed by list ID.
-        # Corresponds to the JSON property `lists`
-        # @return [Hash]
-        attr_accessor :lists
-      
         def initialize(**args)
            update!(**args)
         end
       
         # Update properties of this object
         def update!(**args)
-          @text_elements = args[:text_elements] if args.key?(:text_elements)
           @lists = args[:lists] if args.key?(:lists)
+          @text_elements = args[:text_elements] if args.key?(:text_elements)
         end
       end
       
@@ -2949,6 +1284,11 @@ module Google
       class InsertTableColumnsRequest
         include Google::Apis::Core::Hashable
       
+        # The table to insert columns into.
+        # Corresponds to the JSON property `tableObjectId`
+        # @return [String]
+        attr_accessor :table_object_id
+      
         # The number of columns to be inserted. Maximum 20 per request.
         # Corresponds to the JSON property `number`
         # @return [Fixnum]
@@ -2967,21 +1307,16 @@ module Google
         attr_accessor :insert_right
         alias_method :insert_right?, :insert_right
       
-        # The table to insert columns into.
-        # Corresponds to the JSON property `tableObjectId`
-        # @return [String]
-        attr_accessor :table_object_id
-      
         def initialize(**args)
            update!(**args)
         end
       
         # Update properties of this object
         def update!(**args)
+          @table_object_id = args[:table_object_id] if args.key?(:table_object_id)
           @number = args[:number] if args.key?(:number)
           @cell_location = args[:cell_location] if args.key?(:cell_location)
           @insert_right = args[:insert_right] if args.key?(:insert_right)
-          @table_object_id = args[:table_object_id] if args.key?(:table_object_id)
         end
       end
       
@@ -2989,6 +1324,11 @@ module Google
       class Thumbnail
         include Google::Apis::Core::Hashable
       
+        # The positive width in pixels of the thumbnail image.
+        # Corresponds to the JSON property `width`
+        # @return [Fixnum]
+        attr_accessor :width
+      
         # The positive height in pixels of the thumbnail image.
         # Corresponds to the JSON property `height`
         # @return [Fixnum]
@@ -3005,20 +1345,15 @@ module Google
         # @return [String]
         attr_accessor :content_url
       
-        # The positive width in pixels of the thumbnail image.
-        # Corresponds to the JSON property `width`
-        # @return [Fixnum]
-        attr_accessor :width
-      
         def initialize(**args)
            update!(**args)
         end
       
         # Update properties of this object
         def update!(**args)
+          @width = args[:width] if args.key?(:width)
           @height = args[:height] if args.key?(:height)
           @content_url = args[:content_url] if args.key?(:content_url)
-          @width = args[:width] if args.key?(:width)
         end
       end
       
@@ -3067,6 +1402,16 @@ module Google
       class UpdateShapePropertiesRequest
         include Google::Apis::Core::Hashable
       
+        # The properties of a Shape.
+        # If the shape is a placeholder shape as determined by the
+        # placeholder field, then these
+        # properties may be inherited from a parent placeholder shape.
+        # Determining the rendered value of the property depends on the corresponding
+        # property_state field value.
+        # Corresponds to the JSON property `shapeProperties`
+        # @return [Google::Apis::SlidesV1::ShapeProperties]
+        attr_accessor :shape_properties
+      
         # The fields that should be updated.
         # At least one field must be specified. The root `shapeProperties` is
         # implied and should not be specified. A single `"*"` can be used as
@@ -3084,25 +1429,15 @@ module Google
         # @return [String]
         attr_accessor :object_id_prop
       
-        # The properties of a Shape.
-        # If the shape is a placeholder shape as determined by the
-        # placeholder field, then these
-        # properties may be inherited from a parent placeholder shape.
-        # Determining the rendered value of the property depends on the corresponding
-        # property_state field value.
-        # Corresponds to the JSON property `shapeProperties`
-        # @return [Google::Apis::SlidesV1::ShapeProperties]
-        attr_accessor :shape_properties
-      
         def initialize(**args)
            update!(**args)
         end
       
         # Update properties of this object
         def update!(**args)
+          @shape_properties = args[:shape_properties] if args.key?(:shape_properties)
           @fields = args[:fields] if args.key?(:fields)
           @object_id_prop = args[:object_id_prop] if args.key?(:object_id_prop)
-          @shape_properties = args[:shape_properties] if args.key?(:shape_properties)
         end
       end
       
@@ -3130,14 +1465,6 @@ module Google
       class Recolor
         include Google::Apis::Core::Hashable
       
-        # The name of the recolor effect.
-        # The name is determined from the `recolor_stops` by matching the gradient
-        # against the colors in the page's current color scheme. This property is
-        # read-only.
-        # Corresponds to the JSON property `name`
-        # @return [String]
-        attr_accessor :name
-      
         # The recolor effect is represented by a gradient, which is a list of color
         # stops.
         # The colors in the gradient will replace the corresponding colors at
@@ -3147,14 +1474,22 @@ module Google
         # @return [Array]
         attr_accessor :recolor_stops
       
+        # The name of the recolor effect.
+        # The name is determined from the `recolor_stops` by matching the gradient
+        # against the colors in the page's current color scheme. This property is
+        # read-only.
+        # Corresponds to the JSON property `name`
+        # @return [String]
+        attr_accessor :name
+      
         def initialize(**args)
            update!(**args)
         end
       
         # Update properties of this object
         def update!(**args)
-          @name = args[:name] if args.key?(:name)
           @recolor_stops = args[:recolor_stops] if args.key?(:recolor_stops)
+          @name = args[:name] if args.key?(:name)
         end
       end
       
@@ -3162,6 +1497,12 @@ module Google
       class Link
         include Google::Apis::Core::Hashable
       
+        # If set, indicates this is a link to the specific page in this
+        # presentation with this ID. A page with this ID may not exist.
+        # Corresponds to the JSON property `pageObjectId`
+        # @return [String]
+        attr_accessor :page_object_id
+      
         # If set, indicates this is a link to the external web page at this URL.
         # Corresponds to the JSON property `url`
         # @return [String]
@@ -3179,22 +1520,16 @@ module Google
         # @return [Fixnum]
         attr_accessor :slide_index
       
-        # If set, indicates this is a link to the specific page in this
-        # presentation with this ID. A page with this ID may not exist.
-        # Corresponds to the JSON property `pageObjectId`
-        # @return [String]
-        attr_accessor :page_object_id
-      
         def initialize(**args)
            update!(**args)
         end
       
         # Update properties of this object
         def update!(**args)
+          @page_object_id = args[:page_object_id] if args.key?(:page_object_id)
           @url = args[:url] if args.key?(:url)
           @relative_link = args[:relative_link] if args.key?(:relative_link)
           @slide_index = args[:slide_index] if args.key?(:slide_index)
-          @page_object_id = args[:page_object_id] if args.key?(:page_object_id)
         end
       end
       
@@ -3398,68 +1733,24 @@ module Google
       class PageProperties
         include Google::Apis::Core::Hashable
       
-        # The page background fill.
-        # Corresponds to the JSON property `pageBackgroundFill`
-        # @return [Google::Apis::SlidesV1::PageBackgroundFill]
-        attr_accessor :page_background_fill
-      
         # The palette of predefined colors for a page.
         # Corresponds to the JSON property `colorScheme`
         # @return [Google::Apis::SlidesV1::ColorScheme]
         attr_accessor :color_scheme
       
+        # The page background fill.
+        # Corresponds to the JSON property `pageBackgroundFill`
+        # @return [Google::Apis::SlidesV1::PageBackgroundFill]
+        attr_accessor :page_background_fill
+      
         def initialize(**args)
            update!(**args)
         end
       
         # Update properties of this object
         def update!(**args)
-          @page_background_fill = args[:page_background_fill] if args.key?(:page_background_fill)
           @color_scheme = args[:color_scheme] if args.key?(:color_scheme)
-        end
-      end
-      
-      # Properties and contents of each table cell.
-      class TableCell
-        include Google::Apis::Core::Hashable
-      
-        # The general text content. The text must reside in a compatible shape (e.g.
-        # text box or rectangle) or a table cell in a page.
-        # Corresponds to the JSON property `text`
-        # @return [Google::Apis::SlidesV1::TextContent]
-        attr_accessor :text
-      
-        # The properties of the TableCell.
-        # Corresponds to the JSON property `tableCellProperties`
-        # @return [Google::Apis::SlidesV1::TableCellProperties]
-        attr_accessor :table_cell_properties
-      
-        # A location of a single table cell within a table.
-        # Corresponds to the JSON property `location`
-        # @return [Google::Apis::SlidesV1::TableCellLocation]
-        attr_accessor :location
-      
-        # Row span of the cell.
-        # Corresponds to the JSON property `rowSpan`
-        # @return [Fixnum]
-        attr_accessor :row_span
-      
-        # Column span of the cell.
-        # Corresponds to the JSON property `columnSpan`
-        # @return [Fixnum]
-        attr_accessor :column_span
-      
-        def initialize(**args)
-           update!(**args)
-        end
-      
-        # Update properties of this object
-        def update!(**args)
-          @text = args[:text] if args.key?(:text)
-          @table_cell_properties = args[:table_cell_properties] if args.key?(:table_cell_properties)
-          @location = args[:location] if args.key?(:location)
-          @row_span = args[:row_span] if args.key?(:row_span)
-          @column_span = args[:column_span] if args.key?(:column_span)
+          @page_background_fill = args[:page_background_fill] if args.key?(:page_background_fill)
         end
       end
       
@@ -3497,15 +1788,54 @@ module Google
         end
       end
       
+      # Properties and contents of each table cell.
+      class TableCell
+        include Google::Apis::Core::Hashable
+      
+        # The properties of the TableCell.
+        # Corresponds to the JSON property `tableCellProperties`
+        # @return [Google::Apis::SlidesV1::TableCellProperties]
+        attr_accessor :table_cell_properties
+      
+        # A location of a single table cell within a table.
+        # Corresponds to the JSON property `location`
+        # @return [Google::Apis::SlidesV1::TableCellLocation]
+        attr_accessor :location
+      
+        # Row span of the cell.
+        # Corresponds to the JSON property `rowSpan`
+        # @return [Fixnum]
+        attr_accessor :row_span
+      
+        # Column span of the cell.
+        # Corresponds to the JSON property `columnSpan`
+        # @return [Fixnum]
+        attr_accessor :column_span
+      
+        # The general text content. The text must reside in a compatible shape (e.g.
+        # text box or rectangle) or a table cell in a page.
+        # Corresponds to the JSON property `text`
+        # @return [Google::Apis::SlidesV1::TextContent]
+        attr_accessor :text
+      
+        def initialize(**args)
+           update!(**args)
+        end
+      
+        # Update properties of this object
+        def update!(**args)
+          @table_cell_properties = args[:table_cell_properties] if args.key?(:table_cell_properties)
+          @location = args[:location] if args.key?(:location)
+          @row_span = args[:row_span] if args.key?(:row_span)
+          @column_span = args[:column_span] if args.key?(:column_span)
+          @text = args[:text] if args.key?(:text)
+        end
+      end
+      
       # Updates the properties of a Line.
       class UpdateLinePropertiesRequest
         include Google::Apis::Core::Hashable
       
-        # The object ID of the line the update is applied to.
-        # Corresponds to the JSON property `objectId`
-        # @return [String]
-        attr_accessor :object_id_prop
-      
         # The properties of the Line.
         # When unset, these fields default to values that match the appearance of
         # new lines created in the Slides editor.
@@ -3525,15 +1855,20 @@ module Google
         # @return [String]
         attr_accessor :fields
       
+        # The object ID of the line the update is applied to.
+        # Corresponds to the JSON property `objectId`
+        # @return [String]
+        attr_accessor :object_id_prop
+      
         def initialize(**args)
            update!(**args)
         end
       
         # Update properties of this object
         def update!(**args)
-          @object_id_prop = args[:object_id_prop] if args.key?(:object_id_prop)
           @line_properties = args[:line_properties] if args.key?(:line_properties)
           @fields = args[:fields] if args.key?(:fields)
+          @object_id_prop = args[:object_id_prop] if args.key?(:object_id_prop)
         end
       end
       
@@ -3664,13 +1999,6 @@ module Google
       class Placeholder
         include Google::Apis::Core::Hashable
       
-        # The object ID of this shape's parent placeholder.
-        # If unset, the parent placeholder shape does not exist, so the shape does
-        # not inherit properties from any other shape.
-        # Corresponds to the JSON property `parentObjectId`
-        # @return [String]
-        attr_accessor :parent_object_id
-      
         # The index of the placeholder. If the same placeholder types are present in
         # the same page, they would have different index values.
         # Corresponds to the JSON property `index`
@@ -3682,15 +2010,22 @@ module Google
         # @return [String]
         attr_accessor :type
       
+        # The object ID of this shape's parent placeholder.
+        # If unset, the parent placeholder shape does not exist, so the shape does
+        # not inherit properties from any other shape.
+        # Corresponds to the JSON property `parentObjectId`
+        # @return [String]
+        attr_accessor :parent_object_id
+      
         def initialize(**args)
            update!(**args)
         end
       
         # Update properties of this object
         def update!(**args)
-          @parent_object_id = args[:parent_object_id] if args.key?(:parent_object_id)
           @index = args[:index] if args.key?(:index)
           @type = args[:type] if args.key?(:type)
+          @parent_object_id = args[:parent_object_id] if args.key?(:parent_object_id)
         end
       end
       
@@ -3766,44 +2101,6 @@ module Google
       class Page
         include Google::Apis::Core::Hashable
       
-        # The type of the page.
-        # Corresponds to the JSON property `pageType`
-        # @return [String]
-        attr_accessor :page_type
-      
-        # The page elements rendered on the page.
-        # Corresponds to the JSON property `pageElements`
-        # @return [Array]
-        attr_accessor :page_elements
-      
-        # The properties of Page that are only
-        # relevant for pages with page_type NOTES.
-        # Corresponds to the JSON property `notesProperties`
-        # @return [Google::Apis::SlidesV1::NotesProperties]
-        attr_accessor :notes_properties
-      
-        # The properties of Page that are only
-        # relevant for pages with page_type SLIDE.
-        # Corresponds to the JSON property `slideProperties`
-        # @return [Google::Apis::SlidesV1::SlideProperties]
-        attr_accessor :slide_properties
-      
-        # The properties of the Page.
-        # The page will inherit properties from the parent page. Depending on the page
-        # type the hierarchy is defined in either
-        # SlideProperties or
-        # LayoutProperties.
-        # Corresponds to the JSON property `pageProperties`
-        # @return [Google::Apis::SlidesV1::PageProperties]
-        attr_accessor :page_properties
-      
-        # The object ID for this page. Object IDs used by
-        # Page and
-        # PageElement share the same namespace.
-        # Corresponds to the JSON property `objectId`
-        # @return [String]
-        attr_accessor :object_id_prop
-      
         # The revision ID of the presentation containing this page. Can be used in
         # update requests to assert that the presentation revision hasn't changed
         # since the last read operation. Only populated if the user has edit access
@@ -3825,20 +2122,58 @@ module Google
         # @return [Google::Apis::SlidesV1::LayoutProperties]
         attr_accessor :layout_properties
       
+        # The page elements rendered on the page.
+        # Corresponds to the JSON property `pageElements`
+        # @return [Array]
+        attr_accessor :page_elements
+      
+        # The properties of Page that are only
+        # relevant for pages with page_type NOTES.
+        # Corresponds to the JSON property `notesProperties`
+        # @return [Google::Apis::SlidesV1::NotesProperties]
+        attr_accessor :notes_properties
+      
+        # The type of the page.
+        # Corresponds to the JSON property `pageType`
+        # @return [String]
+        attr_accessor :page_type
+      
+        # The properties of the Page.
+        # The page will inherit properties from the parent page. Depending on the page
+        # type the hierarchy is defined in either
+        # SlideProperties or
+        # LayoutProperties.
+        # Corresponds to the JSON property `pageProperties`
+        # @return [Google::Apis::SlidesV1::PageProperties]
+        attr_accessor :page_properties
+      
+        # The properties of Page that are only
+        # relevant for pages with page_type SLIDE.
+        # Corresponds to the JSON property `slideProperties`
+        # @return [Google::Apis::SlidesV1::SlideProperties]
+        attr_accessor :slide_properties
+      
+        # The object ID for this page. Object IDs used by
+        # Page and
+        # PageElement share the same namespace.
+        # Corresponds to the JSON property `objectId`
+        # @return [String]
+        attr_accessor :object_id_prop
+      
         def initialize(**args)
            update!(**args)
         end
       
         # Update properties of this object
         def update!(**args)
-          @page_type = args[:page_type] if args.key?(:page_type)
-          @page_elements = args[:page_elements] if args.key?(:page_elements)
-          @notes_properties = args[:notes_properties] if args.key?(:notes_properties)
-          @slide_properties = args[:slide_properties] if args.key?(:slide_properties)
-          @page_properties = args[:page_properties] if args.key?(:page_properties)
-          @object_id_prop = args[:object_id_prop] if args.key?(:object_id_prop)
           @revision_id = args[:revision_id] if args.key?(:revision_id)
           @layout_properties = args[:layout_properties] if args.key?(:layout_properties)
+          @page_elements = args[:page_elements] if args.key?(:page_elements)
+          @notes_properties = args[:notes_properties] if args.key?(:notes_properties)
+          @page_type = args[:page_type] if args.key?(:page_type)
+          @page_properties = args[:page_properties] if args.key?(:page_properties)
+          @slide_properties = args[:slide_properties] if args.key?(:slide_properties)
+          @object_id_prop = args[:object_id_prop] if args.key?(:object_id_prop)
         end
       end
       
@@ -3846,14 +2181,6 @@ module Google
       class ShapeBackgroundFill
         include Google::Apis::Core::Hashable
       
-        # A solid color fill. The page or page element is filled entirely with the
-        # specified color value.
-        # If any field is unset, its value may be inherited from a parent placeholder
-        # if it exists.
-        # Corresponds to the JSON property `solidFill`
-        # @return [Google::Apis::SlidesV1::SolidFill]
-        attr_accessor :solid_fill
-      
         # The background fill property state.
         # Updating the the fill on a shape will implicitly update this field to
         # `RENDERED`, unless another value is specified in the same request. To
@@ -3863,14 +2190,22 @@ module Google
         # @return [String]
         attr_accessor :property_state
       
+        # A solid color fill. The page or page element is filled entirely with the
+        # specified color value.
+        # If any field is unset, its value may be inherited from a parent placeholder
+        # if it exists.
+        # Corresponds to the JSON property `solidFill`
+        # @return [Google::Apis::SlidesV1::SolidFill]
+        attr_accessor :solid_fill
+      
         def initialize(**args)
            update!(**args)
         end
       
         # Update properties of this object
         def update!(**args)
-          @solid_fill = args[:solid_fill] if args.key?(:solid_fill)
           @property_state = args[:property_state] if args.key?(:property_state)
+          @solid_fill = args[:solid_fill] if args.key?(:solid_fill)
         end
       end
       
@@ -3894,6 +2229,20 @@ module Google
       class CropProperties
         include Google::Apis::Core::Hashable
       
+        # The offset specifies the top edge of the crop rectangle that is located
+        # below the original bounding rectangle top edge, relative to the object's
+        # original height.
+        # Corresponds to the JSON property `topOffset`
+        # @return [Float]
+        attr_accessor :top_offset
+      
+        # The offset specifies the left edge of the crop rectangle that is located to
+        # the right of the original bounding rectangle left edge, relative to the
+        # object's original width.
+        # Corresponds to the JSON property `leftOffset`
+        # @return [Float]
+        attr_accessor :left_offset
+      
         # The offset specifies the right edge of the crop rectangle that is located
         # to the left of the original bounding rectangle right edge, relative to the
         # object's original width.
@@ -3914,31 +2263,17 @@ module Google
         # @return [Float]
         attr_accessor :angle
       
-        # The offset specifies the top edge of the crop rectangle that is located
-        # below the original bounding rectangle top edge, relative to the object's
-        # original height.
-        # Corresponds to the JSON property `topOffset`
-        # @return [Float]
-        attr_accessor :top_offset
-      
-        # The offset specifies the left edge of the crop rectangle that is located to
-        # the right of the original bounding rectangle left edge, relative to the
-        # object's original width.
-        # Corresponds to the JSON property `leftOffset`
-        # @return [Float]
-        attr_accessor :left_offset
-      
         def initialize(**args)
            update!(**args)
         end
       
         # Update properties of this object
         def update!(**args)
+          @top_offset = args[:top_offset] if args.key?(:top_offset)
+          @left_offset = args[:left_offset] if args.key?(:left_offset)
           @right_offset = args[:right_offset] if args.key?(:right_offset)
           @bottom_offset = args[:bottom_offset] if args.key?(:bottom_offset)
           @angle = args[:angle] if args.key?(:angle)
-          @top_offset = args[:top_offset] if args.key?(:top_offset)
-          @left_offset = args[:left_offset] if args.key?(:left_offset)
         end
       end
       
@@ -4022,6 +2357,11 @@ module Google
       class Range
         include Google::Apis::Core::Hashable
       
+        # The type of range.
+        # Corresponds to the JSON property `type`
+        # @return [String]
+        attr_accessor :type
+      
         # The optional zero-based index of the beginning of the collection.
         # Required for `SPECIFIC_RANGE` and `FROM_START_INDEX` ranges.
         # Corresponds to the JSON property `startIndex`
@@ -4034,20 +2374,15 @@ module Google
         # @return [Fixnum]
         attr_accessor :end_index
       
-        # The type of range.
-        # Corresponds to the JSON property `type`
-        # @return [String]
-        attr_accessor :type
-      
         def initialize(**args)
            update!(**args)
         end
       
         # Update properties of this object
         def update!(**args)
+          @type = args[:type] if args.key?(:type)
           @start_index = args[:start_index] if args.key?(:start_index)
           @end_index = args[:end_index] if args.key?(:end_index)
-          @type = args[:type] if args.key?(:type)
         end
       end
       
@@ -4163,6 +2498,26 @@ module Google
       class Shadow
         include Google::Apis::Core::Hashable
       
+        # A themeable solid color value.
+        # Corresponds to the JSON property `color`
+        # @return [Google::Apis::SlidesV1::OpaqueColor]
+        attr_accessor :color
+      
+        # Whether the shadow should rotate with the shape.
+        # Corresponds to the JSON property `rotateWithShape`
+        # @return [Boolean]
+        attr_accessor :rotate_with_shape
+        alias_method :rotate_with_shape?, :rotate_with_shape
+      
+        # The shadow property state.
+        # Updating the the shadow on a page element will implicitly update this field
+        # to `RENDERED`, unless another value is specified in the same request. To
+        # have no shadow on a page element, set this field to `NOT_RENDERED`. In this
+        # case, any other shadow fields set in the same request will be ignored.
+        # Corresponds to the JSON property `propertyState`
+        # @return [String]
+        attr_accessor :property_state
+      
         # A magnitude in a single direction in the specified units.
         # Corresponds to the JSON property `blurRadius`
         # @return [Google::Apis::SlidesV1::Dimension]
@@ -4197,40 +2552,20 @@ module Google
         # @return [Float]
         attr_accessor :alpha
       
-        # A themeable solid color value.
-        # Corresponds to the JSON property `color`
-        # @return [Google::Apis::SlidesV1::OpaqueColor]
-        attr_accessor :color
-      
-        # Whether the shadow should rotate with the shape.
-        # Corresponds to the JSON property `rotateWithShape`
-        # @return [Boolean]
-        attr_accessor :rotate_with_shape
-        alias_method :rotate_with_shape?, :rotate_with_shape
-      
-        # The shadow property state.
-        # Updating the the shadow on a page element will implicitly update this field
-        # to `RENDERED`, unless another value is specified in the same request. To
-        # have no shadow on a page element, set this field to `NOT_RENDERED`. In this
-        # case, any other shadow fields set in the same request will be ignored.
-        # Corresponds to the JSON property `propertyState`
-        # @return [String]
-        attr_accessor :property_state
-      
         def initialize(**args)
            update!(**args)
         end
       
         # Update properties of this object
         def update!(**args)
+          @color = args[:color] if args.key?(:color)
+          @rotate_with_shape = args[:rotate_with_shape] if args.key?(:rotate_with_shape)
+          @property_state = args[:property_state] if args.key?(:property_state)
           @blur_radius = args[:blur_radius] if args.key?(:blur_radius)
           @transform = args[:transform] if args.key?(:transform)
           @type = args[:type] if args.key?(:type)
           @alignment = args[:alignment] if args.key?(:alignment)
           @alpha = args[:alpha] if args.key?(:alpha)
-          @color = args[:color] if args.key?(:color)
-          @rotate_with_shape = args[:rotate_with_shape] if args.key?(:rotate_with_shape)
-          @property_state = args[:property_state] if args.key?(:property_state)
         end
       end
       
@@ -4263,6 +2598,11 @@ module Google
       class Bullet
         include Google::Apis::Core::Hashable
       
+        # The nesting level of this paragraph in the list.
+        # Corresponds to the JSON property `nestingLevel`
+        # @return [Fixnum]
+        attr_accessor :nesting_level
+      
         # Represents the styling that can be applied to a TextRun.
         # If this text is contained in a shape with a parent placeholder, then these
         # text styles may be
@@ -4292,21 +2632,16 @@ module Google
         # @return [String]
         attr_accessor :glyph
       
-        # The nesting level of this paragraph in the list.
-        # Corresponds to the JSON property `nestingLevel`
-        # @return [Fixnum]
-        attr_accessor :nesting_level
-      
         def initialize(**args)
            update!(**args)
         end
       
         # Update properties of this object
         def update!(**args)
+          @nesting_level = args[:nesting_level] if args.key?(:nesting_level)
           @bullet_style = args[:bullet_style] if args.key?(:bullet_style)
           @list_id = args[:list_id] if args.key?(:list_id)
           @glyph = args[:glyph] if args.key?(:glyph)
-          @nesting_level = args[:nesting_level] if args.key?(:nesting_level)
         end
       end
       
@@ -4332,6 +2667,25 @@ module Google
         end
       end
       
+      # The result of creating a line.
+      class CreateLineResponse
+        include Google::Apis::Core::Hashable
+      
+        # The object ID of the created line.
+        # Corresponds to the JSON property `objectId`
+        # @return [String]
+        attr_accessor :object_id_prop
+      
+        def initialize(**args)
+           update!(**args)
+        end
+      
+        # Update properties of this object
+        def update!(**args)
+          @object_id_prop = args[:object_id_prop] if args.key?(:object_id_prop)
+        end
+      end
+      
       # A location of a single table cell within a table.
       class TableCellLocation
         include Google::Apis::Core::Hashable
@@ -4357,25 +2711,6 @@ module Google
         end
       end
       
-      # The result of creating a line.
-      class CreateLineResponse
-        include Google::Apis::Core::Hashable
-      
-        # The object ID of the created line.
-        # Corresponds to the JSON property `objectId`
-        # @return [String]
-        attr_accessor :object_id_prop
-      
-        def initialize(**args)
-           update!(**args)
-        end
-      
-        # Update properties of this object
-        def update!(**args)
-          @object_id_prop = args[:object_id_prop] if args.key?(:object_id_prop)
-        end
-      end
-      
       # The result of replacing text.
       class ReplaceAllTextResponse
         include Google::Apis::Core::Hashable
@@ -4400,26 +2735,6 @@ module Google
       class UpdateParagraphStyleRequest
         include Google::Apis::Core::Hashable
       
-        # A location of a single table cell within a table.
-        # Corresponds to the JSON property `cellLocation`
-        # @return [Google::Apis::SlidesV1::TableCellLocation]
-        attr_accessor :cell_location
-      
-        # Styles that apply to a whole paragraph.
-        # If this text is contained in a shape with a parent placeholder, then these
-        # paragraph styles may be
-        # inherited from the parent. Which paragraph styles are inherited depend on the
-        # nesting level of lists:
-        # * A paragraph not in a list will inherit its paragraph style from the
-        # paragraph at the 0 nesting level of the list inside the parent placeholder.
-        # * A paragraph in a list will inherit its paragraph style from the paragraph
-        # at its corresponding nesting level of the list inside the parent
-        # placeholder.
-        # Inherited paragraph styles are represented as unset fields in this message.
-        # Corresponds to the JSON property `style`
-        # @return [Google::Apis::SlidesV1::ParagraphStyle]
-        attr_accessor :style
-      
         # The fields that should be updated.
         # At least one field must be specified. The root `style` is implied and
         # should not be specified. A single `"*"` can be used as short-hand for
@@ -4443,17 +2758,37 @@ module Google
         # @return [Google::Apis::SlidesV1::Range]
         attr_accessor :text_range
       
+        # A location of a single table cell within a table.
+        # Corresponds to the JSON property `cellLocation`
+        # @return [Google::Apis::SlidesV1::TableCellLocation]
+        attr_accessor :cell_location
+      
+        # Styles that apply to a whole paragraph.
+        # If this text is contained in a shape with a parent placeholder, then these
+        # paragraph styles may be
+        # inherited from the parent. Which paragraph styles are inherited depend on the
+        # nesting level of lists:
+        # * A paragraph not in a list will inherit its paragraph style from the
+        # paragraph at the 0 nesting level of the list inside the parent placeholder.
+        # * A paragraph in a list will inherit its paragraph style from the paragraph
+        # at its corresponding nesting level of the list inside the parent
+        # placeholder.
+        # Inherited paragraph styles are represented as unset fields in this message.
+        # Corresponds to the JSON property `style`
+        # @return [Google::Apis::SlidesV1::ParagraphStyle]
+        attr_accessor :style
+      
         def initialize(**args)
            update!(**args)
         end
       
         # Update properties of this object
         def update!(**args)
-          @cell_location = args[:cell_location] if args.key?(:cell_location)
-          @style = args[:style] if args.key?(:style)
           @fields = args[:fields] if args.key?(:fields)
           @object_id_prop = args[:object_id_prop] if args.key?(:object_id_prop)
           @text_range = args[:text_range] if args.key?(:text_range)
+          @cell_location = args[:cell_location] if args.key?(:cell_location)
+          @style = args[:style] if args.key?(:style)
         end
       end
       
@@ -4475,6 +2810,1671 @@ module Google
           @colors = args[:colors] if args.key?(:colors)
         end
       end
+      
+      # A PageElement kind representing a
+      # generic shape that does not have a more specific classification.
+      class Shape
+        include Google::Apis::Core::Hashable
+      
+        # The type of the shape.
+        # Corresponds to the JSON property `shapeType`
+        # @return [String]
+        attr_accessor :shape_type
+      
+        # The general text content. The text must reside in a compatible shape (e.g.
+        # text box or rectangle) or a table cell in a page.
+        # Corresponds to the JSON property `text`
+        # @return [Google::Apis::SlidesV1::TextContent]
+        attr_accessor :text
+      
+        # The placeholder information that uniquely identifies a placeholder shape.
+        # Corresponds to the JSON property `placeholder`
+        # @return [Google::Apis::SlidesV1::Placeholder]
+        attr_accessor :placeholder
+      
+        # The properties of a Shape.
+        # If the shape is a placeholder shape as determined by the
+        # placeholder field, then these
+        # properties may be inherited from a parent placeholder shape.
+        # Determining the rendered value of the property depends on the corresponding
+        # property_state field value.
+        # Corresponds to the JSON property `shapeProperties`
+        # @return [Google::Apis::SlidesV1::ShapeProperties]
+        attr_accessor :shape_properties
+      
+        def initialize(**args)
+           update!(**args)
+        end
+      
+        # Update properties of this object
+        def update!(**args)
+          @shape_type = args[:shape_type] if args.key?(:shape_type)
+          @text = args[:text] if args.key?(:text)
+          @placeholder = args[:placeholder] if args.key?(:placeholder)
+          @shape_properties = args[:shape_properties] if args.key?(:shape_properties)
+        end
+      end
+      
+      # A PageElement kind representing an
+      # image.
+      class Image
+        include Google::Apis::Core::Hashable
+      
+        # The properties of the Image.
+        # Corresponds to the JSON property `imageProperties`
+        # @return [Google::Apis::SlidesV1::ImageProperties]
+        attr_accessor :image_properties
+      
+        # An URL to an image with a default lifetime of 30 minutes.
+        # This URL is tagged with the account of the requester. Anyone with the URL
+        # effectively accesses the image as the original requester. Access to the
+        # image may be lost if the presentation's sharing settings change.
+        # Corresponds to the JSON property `contentUrl`
+        # @return [String]
+        attr_accessor :content_url
+      
+        def initialize(**args)
+           update!(**args)
+        end
+      
+        # Update properties of this object
+        def update!(**args)
+          @image_properties = args[:image_properties] if args.key?(:image_properties)
+          @content_url = args[:content_url] if args.key?(:content_url)
+        end
+      end
+      
+      # AffineTransform uses a 3x3 matrix with an implied last row of [ 0 0 1 ]
+      # to transform source coordinates (x,y) into destination coordinates (x', y')
+      # according to:
+      # x'  x  =   shear_y  scale_y  translate_y
+      # 1  [ 1 ]
+      # After transformation,
+      # x' = scale_x * x + shear_x * y + translate_x;
+      # y' = scale_y * y + shear_y * x + translate_y;
+      # This message is therefore composed of these six matrix elements.
+      class AffineTransform
+        include Google::Apis::Core::Hashable
+      
+        # The Y coordinate shearing element.
+        # Corresponds to the JSON property `shearY`
+        # @return [Float]
+        attr_accessor :shear_y
+      
+        # The units for translate elements.
+        # Corresponds to the JSON property `unit`
+        # @return [String]
+        attr_accessor :unit
+      
+        # The X coordinate scaling element.
+        # Corresponds to the JSON property `scaleX`
+        # @return [Float]
+        attr_accessor :scale_x
+      
+        # The X coordinate shearing element.
+        # Corresponds to the JSON property `shearX`
+        # @return [Float]
+        attr_accessor :shear_x
+      
+        # The Y coordinate scaling element.
+        # Corresponds to the JSON property `scaleY`
+        # @return [Float]
+        attr_accessor :scale_y
+      
+        # The Y coordinate translation element.
+        # Corresponds to the JSON property `translateY`
+        # @return [Float]
+        attr_accessor :translate_y
+      
+        # The X coordinate translation element.
+        # Corresponds to the JSON property `translateX`
+        # @return [Float]
+        attr_accessor :translate_x
+      
+        def initialize(**args)
+           update!(**args)
+        end
+      
+        # Update properties of this object
+        def update!(**args)
+          @shear_y = args[:shear_y] if args.key?(:shear_y)
+          @unit = args[:unit] if args.key?(:unit)
+          @scale_x = args[:scale_x] if args.key?(:scale_x)
+          @shear_x = args[:shear_x] if args.key?(:shear_x)
+          @scale_y = args[:scale_y] if args.key?(:scale_y)
+          @translate_y = args[:translate_y] if args.key?(:translate_y)
+          @translate_x = args[:translate_x] if args.key?(:translate_x)
+        end
+      end
+      
+      # Inserts text into a shape or a table cell.
+      class InsertTextRequest
+        include Google::Apis::Core::Hashable
+      
+        # The index where the text will be inserted, in Unicode code units, based
+        # on TextElement indexes.
+        # The index is zero-based and is computed from the start of the string.
+        # The index may be adjusted to prevent insertions inside Unicode grapheme
+        # clusters. In these cases, the text will be inserted immediately after the
+        # grapheme cluster.
+        # Corresponds to the JSON property `insertionIndex`
+        # @return [Fixnum]
+        attr_accessor :insertion_index
+      
+        # A location of a single table cell within a table.
+        # Corresponds to the JSON property `cellLocation`
+        # @return [Google::Apis::SlidesV1::TableCellLocation]
+        attr_accessor :cell_location
+      
+        # The object ID of the shape or table where the text will be inserted.
+        # Corresponds to the JSON property `objectId`
+        # @return [String]
+        attr_accessor :object_id_prop
+      
+        # The text to be inserted.
+        # Inserting a newline character will implicitly create a new
+        # ParagraphMarker at that index.
+        # The paragraph style of the new paragraph will be copied from the paragraph
+        # at the current insertion index, including lists and bullets.
+        # Text styles for inserted text will be determined automatically, generally
+        # preserving the styling of neighboring text. In most cases, the text will be
+        # added to the TextRun that exists at the
+        # insertion index.
+        # Some control characters (U+0000-U+0008, U+000C-U+001F) and characters
+        # from the Unicode Basic Multilingual Plane Private Use Area (U+E000-U+F8FF)
+        # will be stripped out of the inserted text.
+        # Corresponds to the JSON property `text`
+        # @return [String]
+        attr_accessor :text
+      
+        def initialize(**args)
+           update!(**args)
+        end
+      
+        # Update properties of this object
+        def update!(**args)
+          @insertion_index = args[:insertion_index] if args.key?(:insertion_index)
+          @cell_location = args[:cell_location] if args.key?(:cell_location)
+          @object_id_prop = args[:object_id_prop] if args.key?(:object_id_prop)
+          @text = args[:text] if args.key?(:text)
+        end
+      end
+      
+      # A TextElement kind that represents auto text.
+      class AutoText
+        include Google::Apis::Core::Hashable
+      
+        # The type of this auto text.
+        # Corresponds to the JSON property `type`
+        # @return [String]
+        attr_accessor :type
+      
+        # The rendered content of this auto text, if available.
+        # Corresponds to the JSON property `content`
+        # @return [String]
+        attr_accessor :content
+      
+        # Represents the styling that can be applied to a TextRun.
+        # If this text is contained in a shape with a parent placeholder, then these
+        # text styles may be
+        # inherited from the parent. Which text styles are inherited depend on the
+        # nesting level of lists:
+        # * A text run in a paragraph that is not in a list will inherit its text style
+        # from the the newline character in the paragraph at the 0 nesting level of
+        # the list inside the parent placeholder.
+        # * A text run in a paragraph that is in a list will inherit its text style
+        # from the newline character in the paragraph at its corresponding nesting
+        # level of the list inside the parent placeholder.
+        # Inherited text styles are represented as unset fields in this message. If
+        # text is contained in a shape without a parent placeholder, unsetting these
+        # fields will revert the style to a value matching the defaults in the Slides
+        # editor.
+        # Corresponds to the JSON property `style`
+        # @return [Google::Apis::SlidesV1::TextStyle]
+        attr_accessor :style
+      
+        def initialize(**args)
+           update!(**args)
+        end
+      
+        # Update properties of this object
+        def update!(**args)
+          @type = args[:type] if args.key?(:type)
+          @content = args[:content] if args.key?(:content)
+          @style = args[:style] if args.key?(:style)
+        end
+      end
+      
+      # The result of creating a video.
+      class CreateVideoResponse
+        include Google::Apis::Core::Hashable
+      
+        # The object ID of the created video.
+        # Corresponds to the JSON property `objectId`
+        # @return [String]
+        attr_accessor :object_id_prop
+      
+        def initialize(**args)
+           update!(**args)
+        end
+      
+        # Update properties of this object
+        def update!(**args)
+          @object_id_prop = args[:object_id_prop] if args.key?(:object_id_prop)
+        end
+      end
+      
+      # Deletes text from a shape or a table cell.
+      class DeleteTextRequest
+        include Google::Apis::Core::Hashable
+      
+        # A location of a single table cell within a table.
+        # Corresponds to the JSON property `cellLocation`
+        # @return [Google::Apis::SlidesV1::TableCellLocation]
+        attr_accessor :cell_location
+      
+        # The object ID of the shape or table from which the text will be deleted.
+        # Corresponds to the JSON property `objectId`
+        # @return [String]
+        attr_accessor :object_id_prop
+      
+        # Specifies a contiguous range of an indexed collection, such as characters in
+        # text.
+        # Corresponds to the JSON property `textRange`
+        # @return [Google::Apis::SlidesV1::Range]
+        attr_accessor :text_range
+      
+        def initialize(**args)
+           update!(**args)
+        end
+      
+        # Update properties of this object
+        def update!(**args)
+          @cell_location = args[:cell_location] if args.key?(:cell_location)
+          @object_id_prop = args[:object_id_prop] if args.key?(:object_id_prop)
+          @text_range = args[:text_range] if args.key?(:text_range)
+        end
+      end
+      
+      # Updates the transform of a page element.
+      class UpdatePageElementTransformRequest
+        include Google::Apis::Core::Hashable
+      
+        # The object ID of the page element to update.
+        # Corresponds to the JSON property `objectId`
+        # @return [String]
+        attr_accessor :object_id_prop
+      
+        # AffineTransform uses a 3x3 matrix with an implied last row of [ 0 0 1 ]
+        # to transform source coordinates (x,y) into destination coordinates (x', y')
+        # according to:
+        # x'  x  =   shear_y  scale_y  translate_y
+        # 1  [ 1 ]
+        # After transformation,
+        # x' = scale_x * x + shear_x * y + translate_x;
+        # y' = scale_y * y + shear_y * x + translate_y;
+        # This message is therefore composed of these six matrix elements.
+        # Corresponds to the JSON property `transform`
+        # @return [Google::Apis::SlidesV1::AffineTransform]
+        attr_accessor :transform
+      
+        # The apply mode of the transform update.
+        # Corresponds to the JSON property `applyMode`
+        # @return [String]
+        attr_accessor :apply_mode
+      
+        def initialize(**args)
+           update!(**args)
+        end
+      
+        # Update properties of this object
+        def update!(**args)
+          @object_id_prop = args[:object_id_prop] if args.key?(:object_id_prop)
+          @transform = args[:transform] if args.key?(:transform)
+          @apply_mode = args[:apply_mode] if args.key?(:apply_mode)
+        end
+      end
+      
+      # Deletes an object, either pages or
+      # page elements, from the
+      # presentation.
+      class DeleteObjectRequest
+        include Google::Apis::Core::Hashable
+      
+        # The object ID of the page or page element to delete.
+        # If after a delete operation a group contains
+        # only 1 or no page elements, the group is also deleted.
+        # If a placeholder is deleted on a layout, any empty inheriting shapes are
+        # also deleted.
+        # Corresponds to the JSON property `objectId`
+        # @return [String]
+        attr_accessor :object_id_prop
+      
+        def initialize(**args)
+           update!(**args)
+        end
+      
+        # Update properties of this object
+        def update!(**args)
+          @object_id_prop = args[:object_id_prop] if args.key?(:object_id_prop)
+        end
+      end
+      
+      # A magnitude in a single direction in the specified units.
+      class Dimension
+        include Google::Apis::Core::Hashable
+      
+        # The magnitude.
+        # Corresponds to the JSON property `magnitude`
+        # @return [Float]
+        attr_accessor :magnitude
+      
+        # The units for magnitude.
+        # Corresponds to the JSON property `unit`
+        # @return [String]
+        attr_accessor :unit
+      
+        def initialize(**args)
+           update!(**args)
+        end
+      
+        # Update properties of this object
+        def update!(**args)
+          @magnitude = args[:magnitude] if args.key?(:magnitude)
+          @unit = args[:unit] if args.key?(:unit)
+        end
+      end
+      
+      # A TextElement describes the content of a range of indices in the text content
+      # of a Shape or TableCell.
+      class TextElement
+        include Google::Apis::Core::Hashable
+      
+        # A TextElement kind that represents a run of text that all has the same
+        # styling.
+        # Corresponds to the JSON property `textRun`
+        # @return [Google::Apis::SlidesV1::TextRun]
+        attr_accessor :text_run
+      
+        # A TextElement kind that represents auto text.
+        # Corresponds to the JSON property `autoText`
+        # @return [Google::Apis::SlidesV1::AutoText]
+        attr_accessor :auto_text
+      
+        # A TextElement kind that represents the beginning of a new paragraph.
+        # Corresponds to the JSON property `paragraphMarker`
+        # @return [Google::Apis::SlidesV1::ParagraphMarker]
+        attr_accessor :paragraph_marker
+      
+        # The zero-based start index of this text element, in Unicode code units.
+        # Corresponds to the JSON property `startIndex`
+        # @return [Fixnum]
+        attr_accessor :start_index
+      
+        # The zero-based end index of this text element, exclusive, in Unicode code
+        # units.
+        # Corresponds to the JSON property `endIndex`
+        # @return [Fixnum]
+        attr_accessor :end_index
+      
+        def initialize(**args)
+           update!(**args)
+        end
+      
+        # Update properties of this object
+        def update!(**args)
+          @text_run = args[:text_run] if args.key?(:text_run)
+          @auto_text = args[:auto_text] if args.key?(:auto_text)
+          @paragraph_marker = args[:paragraph_marker] if args.key?(:paragraph_marker)
+          @start_index = args[:start_index] if args.key?(:start_index)
+          @end_index = args[:end_index] if args.key?(:end_index)
+        end
+      end
+      
+      # The fill of the line.
+      class LineFill
+        include Google::Apis::Core::Hashable
+      
+        # A solid color fill. The page or page element is filled entirely with the
+        # specified color value.
+        # If any field is unset, its value may be inherited from a parent placeholder
+        # if it exists.
+        # Corresponds to the JSON property `solidFill`
+        # @return [Google::Apis::SlidesV1::SolidFill]
+        attr_accessor :solid_fill
+      
+        def initialize(**args)
+           update!(**args)
+        end
+      
+        # Update properties of this object
+        def update!(**args)
+          @solid_fill = args[:solid_fill] if args.key?(:solid_fill)
+        end
+      end
+      
+      # The properties of the Video.
+      class VideoProperties
+        include Google::Apis::Core::Hashable
+      
+        # The outline of a PageElement.
+        # If these fields are unset, they may be inherited from a parent placeholder
+        # if it exists. If there is no parent, the fields will default to the value
+        # used for new page elements created in the Slides editor, which may depend on
+        # the page element kind.
+        # Corresponds to the JSON property `outline`
+        # @return [Google::Apis::SlidesV1::Outline]
+        attr_accessor :outline
+      
+        def initialize(**args)
+           update!(**args)
+        end
+      
+        # Update properties of this object
+        def update!(**args)
+          @outline = args[:outline] if args.key?(:outline)
+        end
+      end
+      
+      # Inserts rows into a table.
+      class InsertTableRowsRequest
+        include Google::Apis::Core::Hashable
+      
+        # The number of rows to be inserted. Maximum 20 per request.
+        # Corresponds to the JSON property `number`
+        # @return [Fixnum]
+        attr_accessor :number
+      
+        # A location of a single table cell within a table.
+        # Corresponds to the JSON property `cellLocation`
+        # @return [Google::Apis::SlidesV1::TableCellLocation]
+        attr_accessor :cell_location
+      
+        # The table to insert rows into.
+        # Corresponds to the JSON property `tableObjectId`
+        # @return [String]
+        attr_accessor :table_object_id
+      
+        # Whether to insert new rows below the reference cell location.
+        # - `True`: insert below the cell.
+        # - `False`: insert above the cell.
+        # Corresponds to the JSON property `insertBelow`
+        # @return [Boolean]
+        attr_accessor :insert_below
+        alias_method :insert_below?, :insert_below
+      
+        def initialize(**args)
+           update!(**args)
+        end
+      
+        # Update properties of this object
+        def update!(**args)
+          @number = args[:number] if args.key?(:number)
+          @cell_location = args[:cell_location] if args.key?(:cell_location)
+          @table_object_id = args[:table_object_id] if args.key?(:table_object_id)
+          @insert_below = args[:insert_below] if args.key?(:insert_below)
+        end
+      end
+      
+      # The properties of Page are only
+      # relevant for pages with page_type LAYOUT.
+      class LayoutProperties
+        include Google::Apis::Core::Hashable
+      
+        # The name of the layout.
+        # Corresponds to the JSON property `name`
+        # @return [String]
+        attr_accessor :name
+      
+        # The human readable name of the layout in the presentation's locale.
+        # Corresponds to the JSON property `displayName`
+        # @return [String]
+        attr_accessor :display_name
+      
+        # The object ID of the master that this layout is based on.
+        # Corresponds to the JSON property `masterObjectId`
+        # @return [String]
+        attr_accessor :master_object_id
+      
+        def initialize(**args)
+           update!(**args)
+        end
+      
+        # Update properties of this object
+        def update!(**args)
+          @name = args[:name] if args.key?(:name)
+          @display_name = args[:display_name] if args.key?(:display_name)
+          @master_object_id = args[:master_object_id] if args.key?(:master_object_id)
+        end
+      end
+      
+      # The properties of the Line.
+      # When unset, these fields default to values that match the appearance of
+      # new lines created in the Slides editor.
+      class LineProperties
+        include Google::Apis::Core::Hashable
+      
+        # A hypertext link.
+        # Corresponds to the JSON property `link`
+        # @return [Google::Apis::SlidesV1::Link]
+        attr_accessor :link
+      
+        # The dash style of the line.
+        # Corresponds to the JSON property `dashStyle`
+        # @return [String]
+        attr_accessor :dash_style
+      
+        # The style of the arrow at the beginning of the line.
+        # Corresponds to the JSON property `startArrow`
+        # @return [String]
+        attr_accessor :start_arrow
+      
+        # The style of the arrow at the end of the line.
+        # Corresponds to the JSON property `endArrow`
+        # @return [String]
+        attr_accessor :end_arrow
+      
+        # A magnitude in a single direction in the specified units.
+        # Corresponds to the JSON property `weight`
+        # @return [Google::Apis::SlidesV1::Dimension]
+        attr_accessor :weight
+      
+        # The fill of the line.
+        # Corresponds to the JSON property `lineFill`
+        # @return [Google::Apis::SlidesV1::LineFill]
+        attr_accessor :line_fill
+      
+        def initialize(**args)
+           update!(**args)
+        end
+      
+        # Update properties of this object
+        def update!(**args)
+          @link = args[:link] if args.key?(:link)
+          @dash_style = args[:dash_style] if args.key?(:dash_style)
+          @start_arrow = args[:start_arrow] if args.key?(:start_arrow)
+          @end_arrow = args[:end_arrow] if args.key?(:end_arrow)
+          @weight = args[:weight] if args.key?(:weight)
+          @line_fill = args[:line_fill] if args.key?(:line_fill)
+        end
+      end
+      
+      # A Google Slides presentation.
+      class Presentation
+        include Google::Apis::Core::Hashable
+      
+        # The revision ID of the presentation. Can be used in update requests
+        # to assert that the presentation revision hasn't changed since the last
+        # read operation. Only populated if the user has edit access to the
+        # presentation.
+        # The format of the revision ID may change over time, so it should be treated
+        # opaquely. A returned revision ID is only guaranteed to be valid for 24
+        # hours after it has been returned and cannot be shared across users. If the
+        # revision ID is unchanged between calls, then the presentation has not
+        # changed. Conversely, a changed ID (for the same presentation and user)
+        # usually means the presentation has been updated; however, a changed ID can
+        # also be due to internal factors such as ID format changes.
+        # Corresponds to the JSON property `revisionId`
+        # @return [String]
+        attr_accessor :revision_id
+      
+        # A page in a presentation.
+        # Corresponds to the JSON property `notesMaster`
+        # @return [Google::Apis::SlidesV1::Page]
+        attr_accessor :notes_master
+      
+        # The title of the presentation.
+        # Corresponds to the JSON property `title`
+        # @return [String]
+        attr_accessor :title
+      
+        # The layouts in the presentation. A layout is a template that determines
+        # how content is arranged and styled on the slides that inherit from that
+        # layout.
+        # Corresponds to the JSON property `layouts`
+        # @return [Array]
+        attr_accessor :layouts
+      
+        # The slide masters in the presentation. A slide master contains all common
+        # page elements and the common properties for a set of layouts. They serve
+        # three purposes:
+        # - Placeholder shapes on a master contain the default text styles and shape
+        # properties of all placeholder shapes on pages that use that master.
+        # - The master page properties define the common page properties inherited by
+        # its layouts.
+        # - Any other shapes on the master slide will appear on all slides using that
+        # master, regardless of their layout.
+        # Corresponds to the JSON property `masters`
+        # @return [Array]
+        attr_accessor :masters
+      
+        # The locale of the presentation, as an IETF BCP 47 language tag.
+        # Corresponds to the JSON property `locale`
+        # @return [String]
+        attr_accessor :locale
+      
+        # A width and height.
+        # Corresponds to the JSON property `pageSize`
+        # @return [Google::Apis::SlidesV1::Size]
+        attr_accessor :page_size
+      
+        # The ID of the presentation.
+        # Corresponds to the JSON property `presentationId`
+        # @return [String]
+        attr_accessor :presentation_id
+      
+        # The slides in the presentation.
+        # A slide inherits properties from a slide layout.
+        # Corresponds to the JSON property `slides`
+        # @return [Array]
+        attr_accessor :slides
+      
+        def initialize(**args)
+           update!(**args)
+        end
+      
+        # Update properties of this object
+        def update!(**args)
+          @revision_id = args[:revision_id] if args.key?(:revision_id)
+          @notes_master = args[:notes_master] if args.key?(:notes_master)
+          @title = args[:title] if args.key?(:title)
+          @layouts = args[:layouts] if args.key?(:layouts)
+          @masters = args[:masters] if args.key?(:masters)
+          @locale = args[:locale] if args.key?(:locale)
+          @page_size = args[:page_size] if args.key?(:page_size)
+          @presentation_id = args[:presentation_id] if args.key?(:presentation_id)
+          @slides = args[:slides] if args.key?(:slides)
+        end
+      end
+      
+      # A themeable solid color value.
+      class OpaqueColor
+        include Google::Apis::Core::Hashable
+      
+        # An RGB color.
+        # Corresponds to the JSON property `rgbColor`
+        # @return [Google::Apis::SlidesV1::RgbColor]
+        attr_accessor :rgb_color
+      
+        # An opaque theme color.
+        # Corresponds to the JSON property `themeColor`
+        # @return [String]
+        attr_accessor :theme_color
+      
+        def initialize(**args)
+           update!(**args)
+        end
+      
+        # Update properties of this object
+        def update!(**args)
+          @rgb_color = args[:rgb_color] if args.key?(:rgb_color)
+          @theme_color = args[:theme_color] if args.key?(:theme_color)
+        end
+      end
+      
+      # The properties of the Image.
+      class ImageProperties
+        include Google::Apis::Core::Hashable
+      
+        # The shadow properties of a page element.
+        # If these fields are unset, they may be inherited from a parent placeholder
+        # if it exists. If there is no parent, the fields will default to the value
+        # used for new page elements created in the Slides editor, which may depend on
+        # the page element kind.
+        # Corresponds to the JSON property `shadow`
+        # @return [Google::Apis::SlidesV1::Shadow]
+        attr_accessor :shadow
+      
+        # A hypertext link.
+        # Corresponds to the JSON property `link`
+        # @return [Google::Apis::SlidesV1::Link]
+        attr_accessor :link
+      
+        # The contrast effect of the image. The value should be in the interval
+        # [-1.0, 1.0], where 0 means no effect. This property is read-only.
+        # Corresponds to the JSON property `contrast`
+        # @return [Float]
+        attr_accessor :contrast
+      
+        # A recolor effect applied on an image.
+        # Corresponds to the JSON property `recolor`
+        # @return [Google::Apis::SlidesV1::Recolor]
+        attr_accessor :recolor
+      
+        # The crop properties of an object enclosed in a container. For example, an
+        # Image.
+        # The crop properties is represented by the offsets of four edges which define
+        # a crop rectangle. The offsets are measured in percentage from the
+        # corresponding edges of the object's original bounding rectangle towards
+        # inside, relative to the object's original dimensions.
+        # - If the offset is in the interval (0, 1), the corresponding edge of crop
+        # rectangle is positioned inside of the object's original bounding rectangle.
+        # - If the offset is negative or greater than 1, the corresponding edge of crop
+        # rectangle is positioned outside of the object's original bounding rectangle.
+        # - If the left edge of the crop rectangle is on the right side of its right
+        # edge, the object will be flipped horizontally.
+        # - If the top edge of the crop rectangle is below its bottom edge, the object
+        # will be flipped vertically.
+        # - If all offsets and rotation angle is 0, the object is not cropped.
+        # After cropping, the content in the crop rectangle will be stretched to fit
+        # its container.
+        # Corresponds to the JSON property `cropProperties`
+        # @return [Google::Apis::SlidesV1::CropProperties]
+        attr_accessor :crop_properties
+      
+        # The outline of a PageElement.
+        # If these fields are unset, they may be inherited from a parent placeholder
+        # if it exists. If there is no parent, the fields will default to the value
+        # used for new page elements created in the Slides editor, which may depend on
+        # the page element kind.
+        # Corresponds to the JSON property `outline`
+        # @return [Google::Apis::SlidesV1::Outline]
+        attr_accessor :outline
+      
+        # The brightness effect of the image. The value should be in the interval
+        # [-1.0, 1.0], where 0 means no effect. This property is read-only.
+        # Corresponds to the JSON property `brightness`
+        # @return [Float]
+        attr_accessor :brightness
+      
+        # The transparency effect of the image. The value should be in the interval
+        # [0.0, 1.0], where 0 means no effect and 1 means completely transparent.
+        # This property is read-only.
+        # Corresponds to the JSON property `transparency`
+        # @return [Float]
+        attr_accessor :transparency
+      
+        def initialize(**args)
+           update!(**args)
+        end
+      
+        # Update properties of this object
+        def update!(**args)
+          @shadow = args[:shadow] if args.key?(:shadow)
+          @link = args[:link] if args.key?(:link)
+          @contrast = args[:contrast] if args.key?(:contrast)
+          @recolor = args[:recolor] if args.key?(:recolor)
+          @crop_properties = args[:crop_properties] if args.key?(:crop_properties)
+          @outline = args[:outline] if args.key?(:outline)
+          @brightness = args[:brightness] if args.key?(:brightness)
+          @transparency = args[:transparency] if args.key?(:transparency)
+        end
+      end
+      
+      # The result of replacing shapes with an image.
+      class ReplaceAllShapesWithImageResponse
+        include Google::Apis::Core::Hashable
+      
+        # The number of shapes replaced with images.
+        # Corresponds to the JSON property `occurrencesChanged`
+        # @return [Fixnum]
+        attr_accessor :occurrences_changed
+      
+        def initialize(**args)
+           update!(**args)
+        end
+      
+        # Update properties of this object
+        def update!(**args)
+          @occurrences_changed = args[:occurrences_changed] if args.key?(:occurrences_changed)
+        end
+      end
+      
+      # A PageElement kind representing a
+      # line, curved connector, or bent connector.
+      class Line
+        include Google::Apis::Core::Hashable
+      
+        # The type of the line.
+        # Corresponds to the JSON property `lineType`
+        # @return [String]
+        attr_accessor :line_type
+      
+        # The properties of the Line.
+        # When unset, these fields default to values that match the appearance of
+        # new lines created in the Slides editor.
+        # Corresponds to the JSON property `lineProperties`
+        # @return [Google::Apis::SlidesV1::LineProperties]
+        attr_accessor :line_properties
+      
+        def initialize(**args)
+           update!(**args)
+        end
+      
+        # Update properties of this object
+        def update!(**args)
+          @line_type = args[:line_type] if args.key?(:line_type)
+          @line_properties = args[:line_properties] if args.key?(:line_properties)
+        end
+      end
+      
+      # Response message from a batch update.
+      class BatchUpdatePresentationResponse
+        include Google::Apis::Core::Hashable
+      
+        # The reply of the updates.  This maps 1:1 with the updates, although
+        # replies to some requests may be empty.
+        # Corresponds to the JSON property `replies`
+        # @return [Array]
+        attr_accessor :replies
+      
+        # The presentation the updates were applied to.
+        # Corresponds to the JSON property `presentationId`
+        # @return [String]
+        attr_accessor :presentation_id
+      
+        def initialize(**args)
+           update!(**args)
+        end
+      
+        # Update properties of this object
+        def update!(**args)
+          @replies = args[:replies] if args.key?(:replies)
+          @presentation_id = args[:presentation_id] if args.key?(:presentation_id)
+        end
+      end
+      
+      # Creates an embedded Google Sheets chart.
+      # NOTE: Chart creation requires at least one of the spreadsheets.readonly,
+      # spreadsheets, drive.readonly, or drive OAuth scopes.
+      class CreateSheetsChartRequest
+        include Google::Apis::Core::Hashable
+      
+        # Common properties for a page element.
+        # Note: When you initially create a
+        # PageElement, the API may modify
+        # the values of both `size` and `transform`, but the
+        # visual size will be unchanged.
+        # Corresponds to the JSON property `elementProperties`
+        # @return [Google::Apis::SlidesV1::PageElementProperties]
+        attr_accessor :element_properties
+      
+        # The ID of the Google Sheets spreadsheet that contains the chart.
+        # Corresponds to the JSON property `spreadsheetId`
+        # @return [String]
+        attr_accessor :spreadsheet_id
+      
+        # The mode with which the chart is linked to the source spreadsheet. When
+        # not specified, the chart will be an image that is not linked.
+        # Corresponds to the JSON property `linkingMode`
+        # @return [String]
+        attr_accessor :linking_mode
+      
+        # The ID of the specific chart in the Google Sheets spreadsheet.
+        # Corresponds to the JSON property `chartId`
+        # @return [Fixnum]
+        attr_accessor :chart_id
+      
+        # A user-supplied object ID.
+        # If specified, the ID must be unique among all pages and page elements in
+        # the presentation. The ID should start with a word character [a-zA-Z0-9_]
+        # and then followed by any number of the following characters [a-zA-Z0-9_-:].
+        # The length of the ID should not be less than 5 or greater than 50.
+        # If empty, a unique identifier will be generated.
+        # Corresponds to the JSON property `objectId`
+        # @return [String]
+        attr_accessor :object_id_prop
+      
+        def initialize(**args)
+           update!(**args)
+        end
+      
+        # Update properties of this object
+        def update!(**args)
+          @element_properties = args[:element_properties] if args.key?(:element_properties)
+          @spreadsheet_id = args[:spreadsheet_id] if args.key?(:spreadsheet_id)
+          @linking_mode = args[:linking_mode] if args.key?(:linking_mode)
+          @chart_id = args[:chart_id] if args.key?(:chart_id)
+          @object_id_prop = args[:object_id_prop] if args.key?(:object_id_prop)
+        end
+      end
+      
+      # The result of creating an image.
+      class CreateImageResponse
+        include Google::Apis::Core::Hashable
+      
+        # The object ID of the created image.
+        # Corresponds to the JSON property `objectId`
+        # @return [String]
+        attr_accessor :object_id_prop
+      
+        def initialize(**args)
+           update!(**args)
+        end
+      
+        # Update properties of this object
+        def update!(**args)
+          @object_id_prop = args[:object_id_prop] if args.key?(:object_id_prop)
+        end
+      end
+      
+      # The properties of Page that are only
+      # relevant for pages with page_type SLIDE.
+      class SlideProperties
+        include Google::Apis::Core::Hashable
+      
+        # The object ID of the layout that this slide is based on.
+        # Corresponds to the JSON property `layoutObjectId`
+        # @return [String]
+        attr_accessor :layout_object_id
+      
+        # The object ID of the master that this slide is based on.
+        # Corresponds to the JSON property `masterObjectId`
+        # @return [String]
+        attr_accessor :master_object_id
+      
+        # A page in a presentation.
+        # Corresponds to the JSON property `notesPage`
+        # @return [Google::Apis::SlidesV1::Page]
+        attr_accessor :notes_page
+      
+        def initialize(**args)
+           update!(**args)
+        end
+      
+        # Update properties of this object
+        def update!(**args)
+          @layout_object_id = args[:layout_object_id] if args.key?(:layout_object_id)
+          @master_object_id = args[:master_object_id] if args.key?(:master_object_id)
+          @notes_page = args[:notes_page] if args.key?(:notes_page)
+        end
+      end
+      
+      # A single response from an update.
+      class Response
+        include Google::Apis::Core::Hashable
+      
+        # The result of creating a video.
+        # Corresponds to the JSON property `createVideo`
+        # @return [Google::Apis::SlidesV1::CreateVideoResponse]
+        attr_accessor :create_video
+      
+        # The result of replacing shapes with a Google Sheets chart.
+        # Corresponds to the JSON property `replaceAllShapesWithSheetsChart`
+        # @return [Google::Apis::SlidesV1::ReplaceAllShapesWithSheetsChartResponse]
+        attr_accessor :replace_all_shapes_with_sheets_chart
+      
+        # The result of creating an embedded Google Sheets chart.
+        # Corresponds to the JSON property `createSheetsChart`
+        # @return [Google::Apis::SlidesV1::CreateSheetsChartResponse]
+        attr_accessor :create_sheets_chart
+      
+        # The result of replacing shapes with an image.
+        # Corresponds to the JSON property `replaceAllShapesWithImage`
+        # @return [Google::Apis::SlidesV1::ReplaceAllShapesWithImageResponse]
+        attr_accessor :replace_all_shapes_with_image
+      
+        # The result of creating a table.
+        # Corresponds to the JSON property `createTable`
+        # @return [Google::Apis::SlidesV1::CreateTableResponse]
+        attr_accessor :create_table
+      
+        # The result of replacing text.
+        # Corresponds to the JSON property `replaceAllText`
+        # @return [Google::Apis::SlidesV1::ReplaceAllTextResponse]
+        attr_accessor :replace_all_text
+      
+        # The result of creating a slide.
+        # Corresponds to the JSON property `createSlide`
+        # @return [Google::Apis::SlidesV1::CreateSlideResponse]
+        attr_accessor :create_slide
+      
+        # The result of creating a shape.
+        # Corresponds to the JSON property `createShape`
+        # @return [Google::Apis::SlidesV1::CreateShapeResponse]
+        attr_accessor :create_shape
+      
+        # The response of duplicating an object.
+        # Corresponds to the JSON property `duplicateObject`
+        # @return [Google::Apis::SlidesV1::DuplicateObjectResponse]
+        attr_accessor :duplicate_object
+      
+        # The result of creating a line.
+        # Corresponds to the JSON property `createLine`
+        # @return [Google::Apis::SlidesV1::CreateLineResponse]
+        attr_accessor :create_line
+      
+        # The result of creating an image.
+        # Corresponds to the JSON property `createImage`
+        # @return [Google::Apis::SlidesV1::CreateImageResponse]
+        attr_accessor :create_image
+      
+        def initialize(**args)
+           update!(**args)
+        end
+      
+        # Update properties of this object
+        def update!(**args)
+          @create_video = args[:create_video] if args.key?(:create_video)
+          @replace_all_shapes_with_sheets_chart = args[:replace_all_shapes_with_sheets_chart] if args.key?(:replace_all_shapes_with_sheets_chart)
+          @create_sheets_chart = args[:create_sheets_chart] if args.key?(:create_sheets_chart)
+          @replace_all_shapes_with_image = args[:replace_all_shapes_with_image] if args.key?(:replace_all_shapes_with_image)
+          @create_table = args[:create_table] if args.key?(:create_table)
+          @replace_all_text = args[:replace_all_text] if args.key?(:replace_all_text)
+          @create_slide = args[:create_slide] if args.key?(:create_slide)
+          @create_shape = args[:create_shape] if args.key?(:create_shape)
+          @duplicate_object = args[:duplicate_object] if args.key?(:duplicate_object)
+          @create_line = args[:create_line] if args.key?(:create_line)
+          @create_image = args[:create_image] if args.key?(:create_image)
+        end
+      end
+      
+      # A TextElement kind that represents a run of text that all has the same
+      # styling.
+      class TextRun
+        include Google::Apis::Core::Hashable
+      
+        # Represents the styling that can be applied to a TextRun.
+        # If this text is contained in a shape with a parent placeholder, then these
+        # text styles may be
+        # inherited from the parent. Which text styles are inherited depend on the
+        # nesting level of lists:
+        # * A text run in a paragraph that is not in a list will inherit its text style
+        # from the the newline character in the paragraph at the 0 nesting level of
+        # the list inside the parent placeholder.
+        # * A text run in a paragraph that is in a list will inherit its text style
+        # from the newline character in the paragraph at its corresponding nesting
+        # level of the list inside the parent placeholder.
+        # Inherited text styles are represented as unset fields in this message. If
+        # text is contained in a shape without a parent placeholder, unsetting these
+        # fields will revert the style to a value matching the defaults in the Slides
+        # editor.
+        # Corresponds to the JSON property `style`
+        # @return [Google::Apis::SlidesV1::TextStyle]
+        attr_accessor :style
+      
+        # The text of this run.
+        # Corresponds to the JSON property `content`
+        # @return [String]
+        attr_accessor :content
+      
+        def initialize(**args)
+           update!(**args)
+        end
+      
+        # Update properties of this object
+        def update!(**args)
+          @style = args[:style] if args.key?(:style)
+          @content = args[:content] if args.key?(:content)
+        end
+      end
+      
+      # Slide layout reference. This may reference either:
+      # - A predefined layout
+      # - One of the layouts in the presentation.
+      class LayoutReference
+        include Google::Apis::Core::Hashable
+      
+        # Predefined layout.
+        # Corresponds to the JSON property `predefinedLayout`
+        # @return [String]
+        attr_accessor :predefined_layout
+      
+        # Layout ID: the object ID of one of the layouts in the presentation.
+        # Corresponds to the JSON property `layoutId`
+        # @return [String]
+        attr_accessor :layout_id
+      
+        def initialize(**args)
+           update!(**args)
+        end
+      
+        # Update properties of this object
+        def update!(**args)
+          @predefined_layout = args[:predefined_layout] if args.key?(:predefined_layout)
+          @layout_id = args[:layout_id] if args.key?(:layout_id)
+        end
+      end
+      
+      # A criteria that matches a specific string of text in a shape or table.
+      class SubstringMatchCriteria
+        include Google::Apis::Core::Hashable
+      
+        # The text to search for in the shape or table.
+        # Corresponds to the JSON property `text`
+        # @return [String]
+        attr_accessor :text
+      
+        # Indicates whether the search should respect case:
+        # - `True`: the search is case sensitive.
+        # - `False`: the search is case insensitive.
+        # Corresponds to the JSON property `matchCase`
+        # @return [Boolean]
+        attr_accessor :match_case
+        alias_method :match_case?, :match_case
+      
+        def initialize(**args)
+           update!(**args)
+        end
+      
+        # Update properties of this object
+        def update!(**args)
+          @text = args[:text] if args.key?(:text)
+          @match_case = args[:match_case] if args.key?(:match_case)
+        end
+      end
+      
+      # A table range represents a reference to a subset of a table.
+      # It's important to note that the cells specified by a table range do not
+      # necessarily form a rectangle. For example, let's say we have a 3 x 3 table
+      # where all the cells of the last row are merged together. The table looks
+      # like this:
+      # 
+      # [             ]
+      # A table range with location = (0, 0), row span = 3 and column span = 2
+      # specifies the following cells:
+      # x     x
+      # [      x      ]
+      class TableRange
+        include Google::Apis::Core::Hashable
+      
+        # A location of a single table cell within a table.
+        # Corresponds to the JSON property `location`
+        # @return [Google::Apis::SlidesV1::TableCellLocation]
+        attr_accessor :location
+      
+        # The row span of the table range.
+        # Corresponds to the JSON property `rowSpan`
+        # @return [Fixnum]
+        attr_accessor :row_span
+      
+        # The column span of the table range.
+        # Corresponds to the JSON property `columnSpan`
+        # @return [Fixnum]
+        attr_accessor :column_span
+      
+        def initialize(**args)
+           update!(**args)
+        end
+      
+        # Update properties of this object
+        def update!(**args)
+          @location = args[:location] if args.key?(:location)
+          @row_span = args[:row_span] if args.key?(:row_span)
+          @column_span = args[:column_span] if args.key?(:column_span)
+        end
+      end
+      
+      # The result of creating a table.
+      class CreateTableResponse
+        include Google::Apis::Core::Hashable
+      
+        # The object ID of the created table.
+        # Corresponds to the JSON property `objectId`
+        # @return [String]
+        attr_accessor :object_id_prop
+      
+        def initialize(**args)
+           update!(**args)
+        end
+      
+        # Update properties of this object
+        def update!(**args)
+          @object_id_prop = args[:object_id_prop] if args.key?(:object_id_prop)
+        end
+      end
+      
+      # Creates a new table.
+      class CreateTableRequest
+        include Google::Apis::Core::Hashable
+      
+        # Number of rows in the table.
+        # Corresponds to the JSON property `rows`
+        # @return [Fixnum]
+        attr_accessor :rows
+      
+        # A user-supplied object ID.
+        # If you specify an ID, it must be unique among all pages and page elements
+        # in the presentation. The ID must start with an alphanumeric character or an
+        # underscore (matches regex `[a-zA-Z0-9_]`); remaining characters
+        # may include those as well as a hyphen or colon (matches regex
+        # `[a-zA-Z0-9_-:]`).
+        # The length of the ID must not be less than 5 or greater than 50.
+        # If you don't specify an ID, a unique one is generated.
+        # Corresponds to the JSON property `objectId`
+        # @return [String]
+        attr_accessor :object_id_prop
+      
+        # Number of columns in the table.
+        # Corresponds to the JSON property `columns`
+        # @return [Fixnum]
+        attr_accessor :columns
+      
+        # Common properties for a page element.
+        # Note: When you initially create a
+        # PageElement, the API may modify
+        # the values of both `size` and `transform`, but the
+        # visual size will be unchanged.
+        # Corresponds to the JSON property `elementProperties`
+        # @return [Google::Apis::SlidesV1::PageElementProperties]
+        attr_accessor :element_properties
+      
+        def initialize(**args)
+           update!(**args)
+        end
+      
+        # Update properties of this object
+        def update!(**args)
+          @rows = args[:rows] if args.key?(:rows)
+          @object_id_prop = args[:object_id_prop] if args.key?(:object_id_prop)
+          @columns = args[:columns] if args.key?(:columns)
+          @element_properties = args[:element_properties] if args.key?(:element_properties)
+        end
+      end
+      
+      # A PageElement kind representing a
+      # table.
+      class Table
+        include Google::Apis::Core::Hashable
+      
+        # Number of rows in the table.
+        # Corresponds to the JSON property `rows`
+        # @return [Fixnum]
+        attr_accessor :rows
+      
+        # Properties of each column.
+        # Corresponds to the JSON property `tableColumns`
+        # @return [Array]
+        attr_accessor :table_columns
+      
+        # Number of columns in the table.
+        # Corresponds to the JSON property `columns`
+        # @return [Fixnum]
+        attr_accessor :columns
+      
+        # Properties and contents of each row.
+        # Cells that span multiple rows are contained in only one of these rows and
+        # have a row_span greater
+        # than 1.
+        # Corresponds to the JSON property `tableRows`
+        # @return [Array]
+        attr_accessor :table_rows
+      
+        def initialize(**args)
+           update!(**args)
+        end
+      
+        # Update properties of this object
+        def update!(**args)
+          @rows = args[:rows] if args.key?(:rows)
+          @table_columns = args[:table_columns] if args.key?(:table_columns)
+          @columns = args[:columns] if args.key?(:columns)
+          @table_rows = args[:table_rows] if args.key?(:table_rows)
+        end
+      end
+      
+      # The page background fill.
+      class PageBackgroundFill
+        include Google::Apis::Core::Hashable
+      
+        # A solid color fill. The page or page element is filled entirely with the
+        # specified color value.
+        # If any field is unset, its value may be inherited from a parent placeholder
+        # if it exists.
+        # Corresponds to the JSON property `solidFill`
+        # @return [Google::Apis::SlidesV1::SolidFill]
+        attr_accessor :solid_fill
+      
+        # The background fill property state.
+        # Updating the the fill on a page will implicitly update this field to
+        # `RENDERED`, unless another value is specified in the same request. To
+        # have no fill on a page, set this field to `NOT_RENDERED`. In this case,
+        # any other fill fields set in the same request will be ignored.
+        # Corresponds to the JSON property `propertyState`
+        # @return [String]
+        attr_accessor :property_state
+      
+        # The stretched picture fill. The page or page element is filled entirely with
+        # the specified picture. The picture is stretched to fit its container.
+        # Corresponds to the JSON property `stretchedPictureFill`
+        # @return [Google::Apis::SlidesV1::StretchedPictureFill]
+        attr_accessor :stretched_picture_fill
+      
+        def initialize(**args)
+           update!(**args)
+        end
+      
+        # Update properties of this object
+        def update!(**args)
+          @solid_fill = args[:solid_fill] if args.key?(:solid_fill)
+          @property_state = args[:property_state] if args.key?(:property_state)
+          @stretched_picture_fill = args[:stretched_picture_fill] if args.key?(:stretched_picture_fill)
+        end
+      end
+      
+      # A PageElement kind representing
+      # a linked chart embedded from Google Sheets.
+      class SheetsChart
+        include Google::Apis::Core::Hashable
+      
+        # The properties of the SheetsChart.
+        # Corresponds to the JSON property `sheetsChartProperties`
+        # @return [Google::Apis::SlidesV1::SheetsChartProperties]
+        attr_accessor :sheets_chart_properties
+      
+        # The URL of an image of the embedded chart, with a default lifetime of 30
+        # minutes. This URL is tagged with the account of the requester. Anyone with
+        # the URL effectively accesses the image as the original requester. Access to
+        # the image may be lost if the presentation's sharing settings change.
+        # Corresponds to the JSON property `contentUrl`
+        # @return [String]
+        attr_accessor :content_url
+      
+        # The ID of the Google Sheets spreadsheet that contains the source chart.
+        # Corresponds to the JSON property `spreadsheetId`
+        # @return [String]
+        attr_accessor :spreadsheet_id
+      
+        # The ID of the specific chart in the Google Sheets spreadsheet that is
+        # embedded.
+        # Corresponds to the JSON property `chartId`
+        # @return [Fixnum]
+        attr_accessor :chart_id
+      
+        def initialize(**args)
+           update!(**args)
+        end
+      
+        # Update properties of this object
+        def update!(**args)
+          @sheets_chart_properties = args[:sheets_chart_properties] if args.key?(:sheets_chart_properties)
+          @content_url = args[:content_url] if args.key?(:content_url)
+          @spreadsheet_id = args[:spreadsheet_id] if args.key?(:spreadsheet_id)
+          @chart_id = args[:chart_id] if args.key?(:chart_id)
+        end
+      end
+      
+      # A solid color fill. The page or page element is filled entirely with the
+      # specified color value.
+      # If any field is unset, its value may be inherited from a parent placeholder
+      # if it exists.
+      class SolidFill
+        include Google::Apis::Core::Hashable
+      
+        # The fraction of this `color` that should be applied to the pixel.
+        # That is, the final pixel color is defined by the equation:
+        # pixel color = alpha * (color) + (1.0 - alpha) * (background color)
+        # This means that a value of 1.0 corresponds to a solid color, whereas
+        # a value of 0.0 corresponds to a completely transparent color.
+        # Corresponds to the JSON property `alpha`
+        # @return [Float]
+        attr_accessor :alpha
+      
+        # A themeable solid color value.
+        # Corresponds to the JSON property `color`
+        # @return [Google::Apis::SlidesV1::OpaqueColor]
+        attr_accessor :color
+      
+        def initialize(**args)
+           update!(**args)
+        end
+      
+        # Update properties of this object
+        def update!(**args)
+          @alpha = args[:alpha] if args.key?(:alpha)
+          @color = args[:color] if args.key?(:color)
+        end
+      end
+      
+      # A pair mapping a theme color type to the concrete color it represents.
+      class ThemeColorPair
+        include Google::Apis::Core::Hashable
+      
+        # An RGB color.
+        # Corresponds to the JSON property `color`
+        # @return [Google::Apis::SlidesV1::RgbColor]
+        attr_accessor :color
+      
+        # The type of the theme color.
+        # Corresponds to the JSON property `type`
+        # @return [String]
+        attr_accessor :type
+      
+        def initialize(**args)
+           update!(**args)
+        end
+      
+        # Update properties of this object
+        def update!(**args)
+          @color = args[:color] if args.key?(:color)
+          @type = args[:type] if args.key?(:type)
+        end
+      end
+      
+      # A color that can either be fully opaque or fully transparent.
+      class OptionalColor
+        include Google::Apis::Core::Hashable
+      
+        # A themeable solid color value.
+        # Corresponds to the JSON property `opaqueColor`
+        # @return [Google::Apis::SlidesV1::OpaqueColor]
+        attr_accessor :opaque_color
+      
+        def initialize(**args)
+           update!(**args)
+        end
+      
+        # Update properties of this object
+        def update!(**args)
+          @opaque_color = args[:opaque_color] if args.key?(:opaque_color)
+        end
+      end
+      
+      # Common properties for a page element.
+      # Note: When you initially create a
+      # PageElement, the API may modify
+      # the values of both `size` and `transform`, but the
+      # visual size will be unchanged.
+      class PageElementProperties
+        include Google::Apis::Core::Hashable
+      
+        # AffineTransform uses a 3x3 matrix with an implied last row of [ 0 0 1 ]
+        # to transform source coordinates (x,y) into destination coordinates (x', y')
+        # according to:
+        # x'  x  =   shear_y  scale_y  translate_y
+        # 1  [ 1 ]
+        # After transformation,
+        # x' = scale_x * x + shear_x * y + translate_x;
+        # y' = scale_y * y + shear_y * x + translate_y;
+        # This message is therefore composed of these six matrix elements.
+        # Corresponds to the JSON property `transform`
+        # @return [Google::Apis::SlidesV1::AffineTransform]
+        attr_accessor :transform
+      
+        # The object ID of the page where the element is located.
+        # Corresponds to the JSON property `pageObjectId`
+        # @return [String]
+        attr_accessor :page_object_id
+      
+        # A width and height.
+        # Corresponds to the JSON property `size`
+        # @return [Google::Apis::SlidesV1::Size]
+        attr_accessor :size
+      
+        def initialize(**args)
+           update!(**args)
+        end
+      
+        # Update properties of this object
+        def update!(**args)
+          @transform = args[:transform] if args.key?(:transform)
+          @page_object_id = args[:page_object_id] if args.key?(:page_object_id)
+          @size = args[:size] if args.key?(:size)
+        end
+      end
+      
+      # The properties of the SheetsChart.
+      class SheetsChartProperties
+        include Google::Apis::Core::Hashable
+      
+        # The properties of the Image.
+        # Corresponds to the JSON property `chartImageProperties`
+        # @return [Google::Apis::SlidesV1::ImageProperties]
+        attr_accessor :chart_image_properties
+      
+        def initialize(**args)
+           update!(**args)
+        end
+      
+        # Update properties of this object
+        def update!(**args)
+          @chart_image_properties = args[:chart_image_properties] if args.key?(:chart_image_properties)
+        end
+      end
+      
+      # The stretched picture fill. The page or page element is filled entirely with
+      # the specified picture. The picture is stretched to fit its container.
+      class StretchedPictureFill
+        include Google::Apis::Core::Hashable
+      
+        # A width and height.
+        # Corresponds to the JSON property `size`
+        # @return [Google::Apis::SlidesV1::Size]
+        attr_accessor :size
+      
+        # Reading the content_url:
+        # An URL to a picture with a default lifetime of 30 minutes.
+        # This URL is tagged with the account of the requester. Anyone with the URL
+        # effectively accesses the picture as the original requester. Access to the
+        # picture may be lost if the presentation's sharing settings change.
+        # Writing the content_url:
+        # The picture is fetched once at insertion time and a copy is stored for
+        # display inside the presentation. Pictures must be less than 50MB in size,
+        # cannot exceed 25 megapixels, and must be in either in PNG, JPEG, or GIF
+        # format.
+        # Corresponds to the JSON property `contentUrl`
+        # @return [String]
+        attr_accessor :content_url
+      
+        def initialize(**args)
+           update!(**args)
+        end
+      
+        # Update properties of this object
+        def update!(**args)
+          @size = args[:size] if args.key?(:size)
+          @content_url = args[:content_url] if args.key?(:content_url)
+        end
+      end
+      
+      # Update the styling of text in a Shape or
+      # Table.
+      class UpdateTextStyleRequest
+        include Google::Apis::Core::Hashable
+      
+        # The fields that should be updated.
+        # At least one field must be specified. The root `style` is implied and
+        # should not be specified. A single `"*"` can be used as short-hand for
+        # listing every field.
+        # For example, to update the text style to bold, set `fields` to `"bold"`.
+        # To reset a property to its default value, include its field name in the
+        # field mask but leave the field itself unset.
+        # Corresponds to the JSON property `fields`
+        # @return [String]
+        attr_accessor :fields
+      
+        # The object ID of the shape or table with the text to be styled.
+        # Corresponds to the JSON property `objectId`
+        # @return [String]
+        attr_accessor :object_id_prop
+      
+        # Specifies a contiguous range of an indexed collection, such as characters in
+        # text.
+        # Corresponds to the JSON property `textRange`
+        # @return [Google::Apis::SlidesV1::Range]
+        attr_accessor :text_range
+      
+        # A location of a single table cell within a table.
+        # Corresponds to the JSON property `cellLocation`
+        # @return [Google::Apis::SlidesV1::TableCellLocation]
+        attr_accessor :cell_location
+      
+        # Represents the styling that can be applied to a TextRun.
+        # If this text is contained in a shape with a parent placeholder, then these
+        # text styles may be
+        # inherited from the parent. Which text styles are inherited depend on the
+        # nesting level of lists:
+        # * A text run in a paragraph that is not in a list will inherit its text style
+        # from the the newline character in the paragraph at the 0 nesting level of
+        # the list inside the parent placeholder.
+        # * A text run in a paragraph that is in a list will inherit its text style
+        # from the newline character in the paragraph at its corresponding nesting
+        # level of the list inside the parent placeholder.
+        # Inherited text styles are represented as unset fields in this message. If
+        # text is contained in a shape without a parent placeholder, unsetting these
+        # fields will revert the style to a value matching the defaults in the Slides
+        # editor.
+        # Corresponds to the JSON property `style`
+        # @return [Google::Apis::SlidesV1::TextStyle]
+        attr_accessor :style
+      
+        def initialize(**args)
+           update!(**args)
+        end
+      
+        # Update properties of this object
+        def update!(**args)
+          @fields = args[:fields] if args.key?(:fields)
+          @object_id_prop = args[:object_id_prop] if args.key?(:object_id_prop)
+          @text_range = args[:text_range] if args.key?(:text_range)
+          @cell_location = args[:cell_location] if args.key?(:cell_location)
+          @style = args[:style] if args.key?(:style)
+        end
+      end
+      
+      # Deletes a column from a table.
+      class DeleteTableColumnRequest
+        include Google::Apis::Core::Hashable
+      
+        # A location of a single table cell within a table.
+        # Corresponds to the JSON property `cellLocation`
+        # @return [Google::Apis::SlidesV1::TableCellLocation]
+        attr_accessor :cell_location
+      
+        # The table to delete columns from.
+        # Corresponds to the JSON property `tableObjectId`
+        # @return [String]
+        attr_accessor :table_object_id
+      
+        def initialize(**args)
+           update!(**args)
+        end
+      
+        # Update properties of this object
+        def update!(**args)
+          @cell_location = args[:cell_location] if args.key?(:cell_location)
+          @table_object_id = args[:table_object_id] if args.key?(:table_object_id)
+        end
+      end
+      
+      # A List describes the look and feel of bullets belonging to paragraphs
+      # associated with a list. A paragraph that is part of a list has an implicit
+      # reference to that list's ID.
+      class List
+        include Google::Apis::Core::Hashable
+      
+        # A map of nesting levels to the properties of bullets at the associated
+        # level. A list has at most nine levels of nesting, so the possible values
+        # for the keys of this map are 0 through 8, inclusive.
+        # Corresponds to the JSON property `nestingLevel`
+        # @return [Hash]
+        attr_accessor :nesting_level
+      
+        # The ID of the list.
+        # Corresponds to the JSON property `listId`
+        # @return [String]
+        attr_accessor :list_id
+      
+        def initialize(**args)
+           update!(**args)
+        end
+      
+        # Update properties of this object
+        def update!(**args)
+          @nesting_level = args[:nesting_level] if args.key?(:nesting_level)
+          @list_id = args[:list_id] if args.key?(:list_id)
+        end
+      end
     end
   end
 end
diff --git a/generated/google/apis/slides_v1/representations.rb b/generated/google/apis/slides_v1/representations.rb
index 60bcbeb01..4e5b435f4 100644
--- a/generated/google/apis/slides_v1/representations.rb
+++ b/generated/google/apis/slides_v1/representations.rb
@@ -22,270 +22,6 @@ module Google
   module Apis
     module SlidesV1
       
-      class Shape
-        class Representation < Google::Apis::Core::JsonRepresentation; end
-      
-        include Google::Apis::Core::JsonObjectSupport
-      end
-      
-      class Image
-        class Representation < Google::Apis::Core::JsonRepresentation; end
-      
-        include Google::Apis::Core::JsonObjectSupport
-      end
-      
-      class InsertTextRequest
-        class Representation < Google::Apis::Core::JsonRepresentation; end
-      
-        include Google::Apis::Core::JsonObjectSupport
-      end
-      
-      class AffineTransform
-        class Representation < Google::Apis::Core::JsonRepresentation; end
-      
-        include Google::Apis::Core::JsonObjectSupport
-      end
-      
-      class AutoText
-        class Representation < Google::Apis::Core::JsonRepresentation; end
-      
-        include Google::Apis::Core::JsonObjectSupport
-      end
-      
-      class CreateVideoResponse
-        class Representation < Google::Apis::Core::JsonRepresentation; end
-      
-        include Google::Apis::Core::JsonObjectSupport
-      end
-      
-      class DeleteTextRequest
-        class Representation < Google::Apis::Core::JsonRepresentation; end
-      
-        include Google::Apis::Core::JsonObjectSupport
-      end
-      
-      class UpdatePageElementTransformRequest
-        class Representation < Google::Apis::Core::JsonRepresentation; end
-      
-        include Google::Apis::Core::JsonObjectSupport
-      end
-      
-      class DeleteObjectRequest
-        class Representation < Google::Apis::Core::JsonRepresentation; end
-      
-        include Google::Apis::Core::JsonObjectSupport
-      end
-      
-      class Dimension
-        class Representation < Google::Apis::Core::JsonRepresentation; end
-      
-        include Google::Apis::Core::JsonObjectSupport
-      end
-      
-      class TextElement
-        class Representation < Google::Apis::Core::JsonRepresentation; end
-      
-        include Google::Apis::Core::JsonObjectSupport
-      end
-      
-      class LineFill
-        class Representation < Google::Apis::Core::JsonRepresentation; end
-      
-        include Google::Apis::Core::JsonObjectSupport
-      end
-      
-      class VideoProperties
-        class Representation < Google::Apis::Core::JsonRepresentation; end
-      
-        include Google::Apis::Core::JsonObjectSupport
-      end
-      
-      class InsertTableRowsRequest
-        class Representation < Google::Apis::Core::JsonRepresentation; end
-      
-        include Google::Apis::Core::JsonObjectSupport
-      end
-      
-      class LayoutProperties
-        class Representation < Google::Apis::Core::JsonRepresentation; end
-      
-        include Google::Apis::Core::JsonObjectSupport
-      end
-      
-      class LineProperties
-        class Representation < Google::Apis::Core::JsonRepresentation; end
-      
-        include Google::Apis::Core::JsonObjectSupport
-      end
-      
-      class Presentation
-        class Representation < Google::Apis::Core::JsonRepresentation; end
-      
-        include Google::Apis::Core::JsonObjectSupport
-      end
-      
-      class OpaqueColor
-        class Representation < Google::Apis::Core::JsonRepresentation; end
-      
-        include Google::Apis::Core::JsonObjectSupport
-      end
-      
-      class ImageProperties
-        class Representation < Google::Apis::Core::JsonRepresentation; end
-      
-        include Google::Apis::Core::JsonObjectSupport
-      end
-      
-      class ReplaceAllShapesWithImageResponse
-        class Representation < Google::Apis::Core::JsonRepresentation; end
-      
-        include Google::Apis::Core::JsonObjectSupport
-      end
-      
-      class Line
-        class Representation < Google::Apis::Core::JsonRepresentation; end
-      
-        include Google::Apis::Core::JsonObjectSupport
-      end
-      
-      class CreateSheetsChartRequest
-        class Representation < Google::Apis::Core::JsonRepresentation; end
-      
-        include Google::Apis::Core::JsonObjectSupport
-      end
-      
-      class BatchUpdatePresentationResponse
-        class Representation < Google::Apis::Core::JsonRepresentation; end
-      
-        include Google::Apis::Core::JsonObjectSupport
-      end
-      
-      class CreateImageResponse
-        class Representation < Google::Apis::Core::JsonRepresentation; end
-      
-        include Google::Apis::Core::JsonObjectSupport
-      end
-      
-      class SlideProperties
-        class Representation < Google::Apis::Core::JsonRepresentation; end
-      
-        include Google::Apis::Core::JsonObjectSupport
-      end
-      
-      class Response
-        class Representation < Google::Apis::Core::JsonRepresentation; end
-      
-        include Google::Apis::Core::JsonObjectSupport
-      end
-      
-      class SubstringMatchCriteria
-        class Representation < Google::Apis::Core::JsonRepresentation; end
-      
-        include Google::Apis::Core::JsonObjectSupport
-      end
-      
-      class LayoutReference
-        class Representation < Google::Apis::Core::JsonRepresentation; end
-      
-        include Google::Apis::Core::JsonObjectSupport
-      end
-      
-      class TextRun
-        class Representation < Google::Apis::Core::JsonRepresentation; end
-      
-        include Google::Apis::Core::JsonObjectSupport
-      end
-      
-      class TableRange
-        class Representation < Google::Apis::Core::JsonRepresentation; end
-      
-        include Google::Apis::Core::JsonObjectSupport
-      end
-      
-      class CreateTableRequest
-        class Representation < Google::Apis::Core::JsonRepresentation; end
-      
-        include Google::Apis::Core::JsonObjectSupport
-      end
-      
-      class CreateTableResponse
-        class Representation < Google::Apis::Core::JsonRepresentation; end
-      
-        include Google::Apis::Core::JsonObjectSupport
-      end
-      
-      class Table
-        class Representation < Google::Apis::Core::JsonRepresentation; end
-      
-        include Google::Apis::Core::JsonObjectSupport
-      end
-      
-      class PageBackgroundFill
-        class Representation < Google::Apis::Core::JsonRepresentation; end
-      
-        include Google::Apis::Core::JsonObjectSupport
-      end
-      
-      class SheetsChart
-        class Representation < Google::Apis::Core::JsonRepresentation; end
-      
-        include Google::Apis::Core::JsonObjectSupport
-      end
-      
-      class SolidFill
-        class Representation < Google::Apis::Core::JsonRepresentation; end
-      
-        include Google::Apis::Core::JsonObjectSupport
-      end
-      
-      class ThemeColorPair
-        class Representation < Google::Apis::Core::JsonRepresentation; end
-      
-        include Google::Apis::Core::JsonObjectSupport
-      end
-      
-      class OptionalColor
-        class Representation < Google::Apis::Core::JsonRepresentation; end
-      
-        include Google::Apis::Core::JsonObjectSupport
-      end
-      
-      class PageElementProperties
-        class Representation < Google::Apis::Core::JsonRepresentation; end
-      
-        include Google::Apis::Core::JsonObjectSupport
-      end
-      
-      class SheetsChartProperties
-        class Representation < Google::Apis::Core::JsonRepresentation; end
-      
-        include Google::Apis::Core::JsonObjectSupport
-      end
-      
-      class StretchedPictureFill
-        class Representation < Google::Apis::Core::JsonRepresentation; end
-      
-        include Google::Apis::Core::JsonObjectSupport
-      end
-      
-      class UpdateTextStyleRequest
-        class Representation < Google::Apis::Core::JsonRepresentation; end
-      
-        include Google::Apis::Core::JsonObjectSupport
-      end
-      
-      class DeleteTableColumnRequest
-        class Representation < Google::Apis::Core::JsonRepresentation; end
-      
-        include Google::Apis::Core::JsonObjectSupport
-      end
-      
-      class List
-        class Representation < Google::Apis::Core::JsonRepresentation; end
-      
-        include Google::Apis::Core::JsonObjectSupport
-      end
-      
       class WeightedFontFamily
         class Representation < Google::Apis::Core::JsonRepresentation; end
       
@@ -526,13 +262,13 @@ module Google
         include Google::Apis::Core::JsonObjectSupport
       end
       
-      class TableCell
+      class NestingLevel
         class Representation < Google::Apis::Core::JsonRepresentation; end
       
         include Google::Apis::Core::JsonObjectSupport
       end
       
-      class NestingLevel
+      class TableCell
         class Representation < Google::Apis::Core::JsonRepresentation; end
       
         include Google::Apis::Core::JsonObjectSupport
@@ -664,13 +400,13 @@ module Google
         include Google::Apis::Core::JsonObjectSupport
       end
       
-      class TableCellLocation
+      class CreateLineResponse
         class Representation < Google::Apis::Core::JsonRepresentation; end
       
         include Google::Apis::Core::JsonObjectSupport
       end
       
-      class CreateLineResponse
+      class TableCellLocation
         class Representation < Google::Apis::Core::JsonRepresentation; end
       
         include Google::Apis::Core::JsonObjectSupport
@@ -695,470 +431,267 @@ module Google
       end
       
       class Shape
-        # @private
-        class Representation < Google::Apis::Core::JsonRepresentation
-          property :shape_type, as: 'shapeType'
-          property :text, as: 'text', class: Google::Apis::SlidesV1::TextContent, decorator: Google::Apis::SlidesV1::TextContent::Representation
+        class Representation < Google::Apis::Core::JsonRepresentation; end
       
-          property :placeholder, as: 'placeholder', class: Google::Apis::SlidesV1::Placeholder, decorator: Google::Apis::SlidesV1::Placeholder::Representation
-      
-          property :shape_properties, as: 'shapeProperties', class: Google::Apis::SlidesV1::ShapeProperties, decorator: Google::Apis::SlidesV1::ShapeProperties::Representation
-      
-        end
+        include Google::Apis::Core::JsonObjectSupport
       end
       
       class Image
-        # @private
-        class Representation < Google::Apis::Core::JsonRepresentation
-          property :image_properties, as: 'imageProperties', class: Google::Apis::SlidesV1::ImageProperties, decorator: Google::Apis::SlidesV1::ImageProperties::Representation
+        class Representation < Google::Apis::Core::JsonRepresentation; end
       
-          property :content_url, as: 'contentUrl'
-        end
-      end
-      
-      class InsertTextRequest
-        # @private
-        class Representation < Google::Apis::Core::JsonRepresentation
-          property :object_id_prop, as: 'objectId'
-          property :text, as: 'text'
-          property :insertion_index, as: 'insertionIndex'
-          property :cell_location, as: 'cellLocation', class: Google::Apis::SlidesV1::TableCellLocation, decorator: Google::Apis::SlidesV1::TableCellLocation::Representation
-      
-        end
+        include Google::Apis::Core::JsonObjectSupport
       end
       
       class AffineTransform
-        # @private
-        class Representation < Google::Apis::Core::JsonRepresentation
-          property :shear_x, as: 'shearX'
-          property :scale_y, as: 'scaleY'
-          property :translate_y, as: 'translateY'
-          property :translate_x, as: 'translateX'
-          property :shear_y, as: 'shearY'
-          property :unit, as: 'unit'
-          property :scale_x, as: 'scaleX'
-        end
+        class Representation < Google::Apis::Core::JsonRepresentation; end
+      
+        include Google::Apis::Core::JsonObjectSupport
+      end
+      
+      class InsertTextRequest
+        class Representation < Google::Apis::Core::JsonRepresentation; end
+      
+        include Google::Apis::Core::JsonObjectSupport
       end
       
       class AutoText
-        # @private
-        class Representation < Google::Apis::Core::JsonRepresentation
-          property :type, as: 'type'
-          property :content, as: 'content'
-          property :style, as: 'style', class: Google::Apis::SlidesV1::TextStyle, decorator: Google::Apis::SlidesV1::TextStyle::Representation
+        class Representation < Google::Apis::Core::JsonRepresentation; end
       
-        end
+        include Google::Apis::Core::JsonObjectSupport
       end
       
       class CreateVideoResponse
-        # @private
-        class Representation < Google::Apis::Core::JsonRepresentation
-          property :object_id_prop, as: 'objectId'
-        end
+        class Representation < Google::Apis::Core::JsonRepresentation; end
+      
+        include Google::Apis::Core::JsonObjectSupport
       end
       
       class DeleteTextRequest
-        # @private
-        class Representation < Google::Apis::Core::JsonRepresentation
-          property :object_id_prop, as: 'objectId'
-          property :text_range, as: 'textRange', class: Google::Apis::SlidesV1::Range, decorator: Google::Apis::SlidesV1::Range::Representation
+        class Representation < Google::Apis::Core::JsonRepresentation; end
       
-          property :cell_location, as: 'cellLocation', class: Google::Apis::SlidesV1::TableCellLocation, decorator: Google::Apis::SlidesV1::TableCellLocation::Representation
-      
-        end
+        include Google::Apis::Core::JsonObjectSupport
       end
       
       class UpdatePageElementTransformRequest
-        # @private
-        class Representation < Google::Apis::Core::JsonRepresentation
-          property :apply_mode, as: 'applyMode'
-          property :object_id_prop, as: 'objectId'
-          property :transform, as: 'transform', class: Google::Apis::SlidesV1::AffineTransform, decorator: Google::Apis::SlidesV1::AffineTransform::Representation
+        class Representation < Google::Apis::Core::JsonRepresentation; end
       
-        end
+        include Google::Apis::Core::JsonObjectSupport
       end
       
       class DeleteObjectRequest
-        # @private
-        class Representation < Google::Apis::Core::JsonRepresentation
-          property :object_id_prop, as: 'objectId'
-        end
+        class Representation < Google::Apis::Core::JsonRepresentation; end
+      
+        include Google::Apis::Core::JsonObjectSupport
       end
       
       class Dimension
-        # @private
-        class Representation < Google::Apis::Core::JsonRepresentation
-          property :magnitude, as: 'magnitude'
-          property :unit, as: 'unit'
-        end
+        class Representation < Google::Apis::Core::JsonRepresentation; end
+      
+        include Google::Apis::Core::JsonObjectSupport
       end
       
       class TextElement
-        # @private
-        class Representation < Google::Apis::Core::JsonRepresentation
-          property :paragraph_marker, as: 'paragraphMarker', class: Google::Apis::SlidesV1::ParagraphMarker, decorator: Google::Apis::SlidesV1::ParagraphMarker::Representation
+        class Representation < Google::Apis::Core::JsonRepresentation; end
       
-          property :start_index, as: 'startIndex'
-          property :end_index, as: 'endIndex'
-          property :text_run, as: 'textRun', class: Google::Apis::SlidesV1::TextRun, decorator: Google::Apis::SlidesV1::TextRun::Representation
-      
-          property :auto_text, as: 'autoText', class: Google::Apis::SlidesV1::AutoText, decorator: Google::Apis::SlidesV1::AutoText::Representation
-      
-        end
+        include Google::Apis::Core::JsonObjectSupport
       end
       
       class LineFill
-        # @private
-        class Representation < Google::Apis::Core::JsonRepresentation
-          property :solid_fill, as: 'solidFill', class: Google::Apis::SlidesV1::SolidFill, decorator: Google::Apis::SlidesV1::SolidFill::Representation
+        class Representation < Google::Apis::Core::JsonRepresentation; end
       
-        end
+        include Google::Apis::Core::JsonObjectSupport
       end
       
       class VideoProperties
-        # @private
-        class Representation < Google::Apis::Core::JsonRepresentation
-          property :outline, as: 'outline', class: Google::Apis::SlidesV1::Outline, decorator: Google::Apis::SlidesV1::Outline::Representation
+        class Representation < Google::Apis::Core::JsonRepresentation; end
       
-        end
+        include Google::Apis::Core::JsonObjectSupport
       end
       
       class InsertTableRowsRequest
-        # @private
-        class Representation < Google::Apis::Core::JsonRepresentation
-          property :table_object_id, as: 'tableObjectId'
-          property :insert_below, as: 'insertBelow'
-          property :number, as: 'number'
-          property :cell_location, as: 'cellLocation', class: Google::Apis::SlidesV1::TableCellLocation, decorator: Google::Apis::SlidesV1::TableCellLocation::Representation
+        class Representation < Google::Apis::Core::JsonRepresentation; end
       
-        end
+        include Google::Apis::Core::JsonObjectSupport
       end
       
       class LayoutProperties
-        # @private
-        class Representation < Google::Apis::Core::JsonRepresentation
-          property :master_object_id, as: 'masterObjectId'
-          property :name, as: 'name'
-          property :display_name, as: 'displayName'
-        end
+        class Representation < Google::Apis::Core::JsonRepresentation; end
+      
+        include Google::Apis::Core::JsonObjectSupport
       end
       
       class LineProperties
-        # @private
-        class Representation < Google::Apis::Core::JsonRepresentation
-          property :link, as: 'link', class: Google::Apis::SlidesV1::Link, decorator: Google::Apis::SlidesV1::Link::Representation
+        class Representation < Google::Apis::Core::JsonRepresentation; end
       
-          property :dash_style, as: 'dashStyle'
-          property :end_arrow, as: 'endArrow'
-          property :start_arrow, as: 'startArrow'
-          property :weight, as: 'weight', class: Google::Apis::SlidesV1::Dimension, decorator: Google::Apis::SlidesV1::Dimension::Representation
-      
-          property :line_fill, as: 'lineFill', class: Google::Apis::SlidesV1::LineFill, decorator: Google::Apis::SlidesV1::LineFill::Representation
-      
-        end
+        include Google::Apis::Core::JsonObjectSupport
       end
       
       class Presentation
-        # @private
-        class Representation < Google::Apis::Core::JsonRepresentation
-          property :notes_master, as: 'notesMaster', class: Google::Apis::SlidesV1::Page, decorator: Google::Apis::SlidesV1::Page::Representation
+        class Representation < Google::Apis::Core::JsonRepresentation; end
       
-          collection :layouts, as: 'layouts', class: Google::Apis::SlidesV1::Page, decorator: Google::Apis::SlidesV1::Page::Representation
-      
-          property :title, as: 'title'
-          collection :masters, as: 'masters', class: Google::Apis::SlidesV1::Page, decorator: Google::Apis::SlidesV1::Page::Representation
-      
-          property :locale, as: 'locale'
-          property :page_size, as: 'pageSize', class: Google::Apis::SlidesV1::Size, decorator: Google::Apis::SlidesV1::Size::Representation
-      
-          property :presentation_id, as: 'presentationId'
-          collection :slides, as: 'slides', class: Google::Apis::SlidesV1::Page, decorator: Google::Apis::SlidesV1::Page::Representation
-      
-          property :revision_id, as: 'revisionId'
-        end
+        include Google::Apis::Core::JsonObjectSupport
       end
       
       class OpaqueColor
-        # @private
-        class Representation < Google::Apis::Core::JsonRepresentation
-          property :rgb_color, as: 'rgbColor', class: Google::Apis::SlidesV1::RgbColor, decorator: Google::Apis::SlidesV1::RgbColor::Representation
+        class Representation < Google::Apis::Core::JsonRepresentation; end
       
-          property :theme_color, as: 'themeColor'
-        end
+        include Google::Apis::Core::JsonObjectSupport
       end
       
       class ImageProperties
-        # @private
-        class Representation < Google::Apis::Core::JsonRepresentation
-          property :brightness, as: 'brightness'
-          property :transparency, as: 'transparency'
-          property :shadow, as: 'shadow', class: Google::Apis::SlidesV1::Shadow, decorator: Google::Apis::SlidesV1::Shadow::Representation
+        class Representation < Google::Apis::Core::JsonRepresentation; end
       
-          property :contrast, as: 'contrast'
-          property :link, as: 'link', class: Google::Apis::SlidesV1::Link, decorator: Google::Apis::SlidesV1::Link::Representation
-      
-          property :recolor, as: 'recolor', class: Google::Apis::SlidesV1::Recolor, decorator: Google::Apis::SlidesV1::Recolor::Representation
-      
-          property :crop_properties, as: 'cropProperties', class: Google::Apis::SlidesV1::CropProperties, decorator: Google::Apis::SlidesV1::CropProperties::Representation
-      
-          property :outline, as: 'outline', class: Google::Apis::SlidesV1::Outline, decorator: Google::Apis::SlidesV1::Outline::Representation
-      
-        end
+        include Google::Apis::Core::JsonObjectSupport
       end
       
       class ReplaceAllShapesWithImageResponse
-        # @private
-        class Representation < Google::Apis::Core::JsonRepresentation
-          property :occurrences_changed, as: 'occurrencesChanged'
-        end
+        class Representation < Google::Apis::Core::JsonRepresentation; end
+      
+        include Google::Apis::Core::JsonObjectSupport
       end
       
       class Line
-        # @private
-        class Representation < Google::Apis::Core::JsonRepresentation
-          property :line_type, as: 'lineType'
-          property :line_properties, as: 'lineProperties', class: Google::Apis::SlidesV1::LineProperties, decorator: Google::Apis::SlidesV1::LineProperties::Representation
+        class Representation < Google::Apis::Core::JsonRepresentation; end
       
-        end
-      end
-      
-      class CreateSheetsChartRequest
-        # @private
-        class Representation < Google::Apis::Core::JsonRepresentation
-          property :object_id_prop, as: 'objectId'
-          property :element_properties, as: 'elementProperties', class: Google::Apis::SlidesV1::PageElementProperties, decorator: Google::Apis::SlidesV1::PageElementProperties::Representation
-      
-          property :spreadsheet_id, as: 'spreadsheetId'
-          property :linking_mode, as: 'linkingMode'
-          property :chart_id, as: 'chartId'
-        end
+        include Google::Apis::Core::JsonObjectSupport
       end
       
       class BatchUpdatePresentationResponse
-        # @private
-        class Representation < Google::Apis::Core::JsonRepresentation
-          collection :replies, as: 'replies', class: Google::Apis::SlidesV1::Response, decorator: Google::Apis::SlidesV1::Response::Representation
+        class Representation < Google::Apis::Core::JsonRepresentation; end
       
-          property :presentation_id, as: 'presentationId'
-        end
+        include Google::Apis::Core::JsonObjectSupport
+      end
+      
+      class CreateSheetsChartRequest
+        class Representation < Google::Apis::Core::JsonRepresentation; end
+      
+        include Google::Apis::Core::JsonObjectSupport
       end
       
       class CreateImageResponse
-        # @private
-        class Representation < Google::Apis::Core::JsonRepresentation
-          property :object_id_prop, as: 'objectId'
-        end
+        class Representation < Google::Apis::Core::JsonRepresentation; end
+      
+        include Google::Apis::Core::JsonObjectSupport
       end
       
       class SlideProperties
-        # @private
-        class Representation < Google::Apis::Core::JsonRepresentation
-          property :layout_object_id, as: 'layoutObjectId'
-          property :master_object_id, as: 'masterObjectId'
-          property :notes_page, as: 'notesPage', class: Google::Apis::SlidesV1::Page, decorator: Google::Apis::SlidesV1::Page::Representation
+        class Representation < Google::Apis::Core::JsonRepresentation; end
       
-        end
+        include Google::Apis::Core::JsonObjectSupport
       end
       
       class Response
-        # @private
-        class Representation < Google::Apis::Core::JsonRepresentation
-          property :create_sheets_chart, as: 'createSheetsChart', class: Google::Apis::SlidesV1::CreateSheetsChartResponse, decorator: Google::Apis::SlidesV1::CreateSheetsChartResponse::Representation
+        class Representation < Google::Apis::Core::JsonRepresentation; end
       
-          property :replace_all_shapes_with_sheets_chart, as: 'replaceAllShapesWithSheetsChart', class: Google::Apis::SlidesV1::ReplaceAllShapesWithSheetsChartResponse, decorator: Google::Apis::SlidesV1::ReplaceAllShapesWithSheetsChartResponse::Representation
-      
-          property :replace_all_shapes_with_image, as: 'replaceAllShapesWithImage', class: Google::Apis::SlidesV1::ReplaceAllShapesWithImageResponse, decorator: Google::Apis::SlidesV1::ReplaceAllShapesWithImageResponse::Representation
-      
-          property :create_table, as: 'createTable', class: Google::Apis::SlidesV1::CreateTableResponse, decorator: Google::Apis::SlidesV1::CreateTableResponse::Representation
-      
-          property :replace_all_text, as: 'replaceAllText', class: Google::Apis::SlidesV1::ReplaceAllTextResponse, decorator: Google::Apis::SlidesV1::ReplaceAllTextResponse::Representation
-      
-          property :create_slide, as: 'createSlide', class: Google::Apis::SlidesV1::CreateSlideResponse, decorator: Google::Apis::SlidesV1::CreateSlideResponse::Representation
-      
-          property :duplicate_object, as: 'duplicateObject', class: Google::Apis::SlidesV1::DuplicateObjectResponse, decorator: Google::Apis::SlidesV1::DuplicateObjectResponse::Representation
-      
-          property :create_shape, as: 'createShape', class: Google::Apis::SlidesV1::CreateShapeResponse, decorator: Google::Apis::SlidesV1::CreateShapeResponse::Representation
-      
-          property :create_line, as: 'createLine', class: Google::Apis::SlidesV1::CreateLineResponse, decorator: Google::Apis::SlidesV1::CreateLineResponse::Representation
-      
-          property :create_image, as: 'createImage', class: Google::Apis::SlidesV1::CreateImageResponse, decorator: Google::Apis::SlidesV1::CreateImageResponse::Representation
-      
-          property :create_video, as: 'createVideo', class: Google::Apis::SlidesV1::CreateVideoResponse, decorator: Google::Apis::SlidesV1::CreateVideoResponse::Representation
-      
-        end
-      end
-      
-      class SubstringMatchCriteria
-        # @private
-        class Representation < Google::Apis::Core::JsonRepresentation
-          property :text, as: 'text'
-          property :match_case, as: 'matchCase'
-        end
-      end
-      
-      class LayoutReference
-        # @private
-        class Representation < Google::Apis::Core::JsonRepresentation
-          property :predefined_layout, as: 'predefinedLayout'
-          property :layout_id, as: 'layoutId'
-        end
+        include Google::Apis::Core::JsonObjectSupport
       end
       
       class TextRun
-        # @private
-        class Representation < Google::Apis::Core::JsonRepresentation
-          property :content, as: 'content'
-          property :style, as: 'style', class: Google::Apis::SlidesV1::TextStyle, decorator: Google::Apis::SlidesV1::TextStyle::Representation
+        class Representation < Google::Apis::Core::JsonRepresentation; end
       
-        end
+        include Google::Apis::Core::JsonObjectSupport
+      end
+      
+      class LayoutReference
+        class Representation < Google::Apis::Core::JsonRepresentation; end
+      
+        include Google::Apis::Core::JsonObjectSupport
+      end
+      
+      class SubstringMatchCriteria
+        class Representation < Google::Apis::Core::JsonRepresentation; end
+      
+        include Google::Apis::Core::JsonObjectSupport
       end
       
       class TableRange
-        # @private
-        class Representation < Google::Apis::Core::JsonRepresentation
-          property :location, as: 'location', class: Google::Apis::SlidesV1::TableCellLocation, decorator: Google::Apis::SlidesV1::TableCellLocation::Representation
+        class Representation < Google::Apis::Core::JsonRepresentation; end
       
-          property :row_span, as: 'rowSpan'
-          property :column_span, as: 'columnSpan'
-        end
-      end
-      
-      class CreateTableRequest
-        # @private
-        class Representation < Google::Apis::Core::JsonRepresentation
-          property :element_properties, as: 'elementProperties', class: Google::Apis::SlidesV1::PageElementProperties, decorator: Google::Apis::SlidesV1::PageElementProperties::Representation
-      
-          property :rows, as: 'rows'
-          property :object_id_prop, as: 'objectId'
-          property :columns, as: 'columns'
-        end
+        include Google::Apis::Core::JsonObjectSupport
       end
       
       class CreateTableResponse
-        # @private
-        class Representation < Google::Apis::Core::JsonRepresentation
-          property :object_id_prop, as: 'objectId'
-        end
+        class Representation < Google::Apis::Core::JsonRepresentation; end
+      
+        include Google::Apis::Core::JsonObjectSupport
+      end
+      
+      class CreateTableRequest
+        class Representation < Google::Apis::Core::JsonRepresentation; end
+      
+        include Google::Apis::Core::JsonObjectSupport
       end
       
       class Table
-        # @private
-        class Representation < Google::Apis::Core::JsonRepresentation
-          collection :table_columns, as: 'tableColumns', class: Google::Apis::SlidesV1::TableColumnProperties, decorator: Google::Apis::SlidesV1::TableColumnProperties::Representation
+        class Representation < Google::Apis::Core::JsonRepresentation; end
       
-          property :columns, as: 'columns'
-          collection :table_rows, as: 'tableRows', class: Google::Apis::SlidesV1::TableRow, decorator: Google::Apis::SlidesV1::TableRow::Representation
-      
-          property :rows, as: 'rows'
-        end
+        include Google::Apis::Core::JsonObjectSupport
       end
       
       class PageBackgroundFill
-        # @private
-        class Representation < Google::Apis::Core::JsonRepresentation
-          property :property_state, as: 'propertyState'
-          property :stretched_picture_fill, as: 'stretchedPictureFill', class: Google::Apis::SlidesV1::StretchedPictureFill, decorator: Google::Apis::SlidesV1::StretchedPictureFill::Representation
+        class Representation < Google::Apis::Core::JsonRepresentation; end
       
-          property :solid_fill, as: 'solidFill', class: Google::Apis::SlidesV1::SolidFill, decorator: Google::Apis::SlidesV1::SolidFill::Representation
-      
-        end
+        include Google::Apis::Core::JsonObjectSupport
       end
       
       class SheetsChart
-        # @private
-        class Representation < Google::Apis::Core::JsonRepresentation
-          property :content_url, as: 'contentUrl'
-          property :spreadsheet_id, as: 'spreadsheetId'
-          property :chart_id, as: 'chartId'
-          property :sheets_chart_properties, as: 'sheetsChartProperties', class: Google::Apis::SlidesV1::SheetsChartProperties, decorator: Google::Apis::SlidesV1::SheetsChartProperties::Representation
+        class Representation < Google::Apis::Core::JsonRepresentation; end
       
-        end
+        include Google::Apis::Core::JsonObjectSupport
       end
       
       class SolidFill
-        # @private
-        class Representation < Google::Apis::Core::JsonRepresentation
-          property :color, as: 'color', class: Google::Apis::SlidesV1::OpaqueColor, decorator: Google::Apis::SlidesV1::OpaqueColor::Representation
+        class Representation < Google::Apis::Core::JsonRepresentation; end
       
-          property :alpha, as: 'alpha'
-        end
+        include Google::Apis::Core::JsonObjectSupport
       end
       
       class ThemeColorPair
-        # @private
-        class Representation < Google::Apis::Core::JsonRepresentation
-          property :color, as: 'color', class: Google::Apis::SlidesV1::RgbColor, decorator: Google::Apis::SlidesV1::RgbColor::Representation
+        class Representation < Google::Apis::Core::JsonRepresentation; end
       
-          property :type, as: 'type'
-        end
+        include Google::Apis::Core::JsonObjectSupport
       end
       
       class OptionalColor
-        # @private
-        class Representation < Google::Apis::Core::JsonRepresentation
-          property :opaque_color, as: 'opaqueColor', class: Google::Apis::SlidesV1::OpaqueColor, decorator: Google::Apis::SlidesV1::OpaqueColor::Representation
+        class Representation < Google::Apis::Core::JsonRepresentation; end
       
-        end
+        include Google::Apis::Core::JsonObjectSupport
       end
       
       class PageElementProperties
-        # @private
-        class Representation < Google::Apis::Core::JsonRepresentation
-          property :transform, as: 'transform', class: Google::Apis::SlidesV1::AffineTransform, decorator: Google::Apis::SlidesV1::AffineTransform::Representation
+        class Representation < Google::Apis::Core::JsonRepresentation; end
       
-          property :page_object_id, as: 'pageObjectId'
-          property :size, as: 'size', class: Google::Apis::SlidesV1::Size, decorator: Google::Apis::SlidesV1::Size::Representation
-      
-        end
+        include Google::Apis::Core::JsonObjectSupport
       end
       
       class SheetsChartProperties
-        # @private
-        class Representation < Google::Apis::Core::JsonRepresentation
-          property :chart_image_properties, as: 'chartImageProperties', class: Google::Apis::SlidesV1::ImageProperties, decorator: Google::Apis::SlidesV1::ImageProperties::Representation
+        class Representation < Google::Apis::Core::JsonRepresentation; end
       
-        end
+        include Google::Apis::Core::JsonObjectSupport
       end
       
       class StretchedPictureFill
-        # @private
-        class Representation < Google::Apis::Core::JsonRepresentation
-          property :content_url, as: 'contentUrl'
-          property :size, as: 'size', class: Google::Apis::SlidesV1::Size, decorator: Google::Apis::SlidesV1::Size::Representation
+        class Representation < Google::Apis::Core::JsonRepresentation; end
       
-        end
+        include Google::Apis::Core::JsonObjectSupport
       end
       
       class UpdateTextStyleRequest
-        # @private
-        class Representation < Google::Apis::Core::JsonRepresentation
-          property :fields, as: 'fields'
-          property :object_id_prop, as: 'objectId'
-          property :text_range, as: 'textRange', class: Google::Apis::SlidesV1::Range, decorator: Google::Apis::SlidesV1::Range::Representation
+        class Representation < Google::Apis::Core::JsonRepresentation; end
       
-          property :cell_location, as: 'cellLocation', class: Google::Apis::SlidesV1::TableCellLocation, decorator: Google::Apis::SlidesV1::TableCellLocation::Representation
-      
-          property :style, as: 'style', class: Google::Apis::SlidesV1::TextStyle, decorator: Google::Apis::SlidesV1::TextStyle::Representation
-      
-        end
+        include Google::Apis::Core::JsonObjectSupport
       end
       
       class DeleteTableColumnRequest
-        # @private
-        class Representation < Google::Apis::Core::JsonRepresentation
-          property :table_object_id, as: 'tableObjectId'
-          property :cell_location, as: 'cellLocation', class: Google::Apis::SlidesV1::TableCellLocation, decorator: Google::Apis::SlidesV1::TableCellLocation::Representation
+        class Representation < Google::Apis::Core::JsonRepresentation; end
       
-        end
+        include Google::Apis::Core::JsonObjectSupport
       end
       
       class List
-        # @private
-        class Representation < Google::Apis::Core::JsonRepresentation
-          hash :nesting_level, as: 'nestingLevel', class: Google::Apis::SlidesV1::NestingLevel, decorator: Google::Apis::SlidesV1::NestingLevel::Representation
+        class Representation < Google::Apis::Core::JsonRepresentation; end
       
-          property :list_id, as: 'listId'
-        end
+        include Google::Apis::Core::JsonObjectSupport
       end
       
       class WeightedFontFamily
@@ -1172,22 +705,6 @@ module Google
       class PageElement
         # @private
         class Representation < Google::Apis::Core::JsonRepresentation
-          property :size, as: 'size', class: Google::Apis::SlidesV1::Size, decorator: Google::Apis::SlidesV1::Size::Representation
-      
-          property :title, as: 'title'
-          property :sheets_chart, as: 'sheetsChart', class: Google::Apis::SlidesV1::SheetsChart, decorator: Google::Apis::SlidesV1::SheetsChart::Representation
-      
-          property :video, as: 'video', class: Google::Apis::SlidesV1::Video, decorator: Google::Apis::SlidesV1::Video::Representation
-      
-          property :word_art, as: 'wordArt', class: Google::Apis::SlidesV1::WordArt, decorator: Google::Apis::SlidesV1::WordArt::Representation
-      
-          property :table, as: 'table', class: Google::Apis::SlidesV1::Table, decorator: Google::Apis::SlidesV1::Table::Representation
-      
-          property :transform, as: 'transform', class: Google::Apis::SlidesV1::AffineTransform, decorator: Google::Apis::SlidesV1::AffineTransform::Representation
-      
-          property :object_id_prop, as: 'objectId'
-          property :shape, as: 'shape', class: Google::Apis::SlidesV1::Shape, decorator: Google::Apis::SlidesV1::Shape::Representation
-      
           property :line, as: 'line', class: Google::Apis::SlidesV1::Line, decorator: Google::Apis::SlidesV1::Line::Representation
       
           property :description, as: 'description'
@@ -1195,6 +712,22 @@ module Google
       
           property :image, as: 'image', class: Google::Apis::SlidesV1::Image, decorator: Google::Apis::SlidesV1::Image::Representation
       
+          property :size, as: 'size', class: Google::Apis::SlidesV1::Size, decorator: Google::Apis::SlidesV1::Size::Representation
+      
+          property :sheets_chart, as: 'sheetsChart', class: Google::Apis::SlidesV1::SheetsChart, decorator: Google::Apis::SlidesV1::SheetsChart::Representation
+      
+          property :title, as: 'title'
+          property :video, as: 'video', class: Google::Apis::SlidesV1::Video, decorator: Google::Apis::SlidesV1::Video::Representation
+      
+          property :word_art, as: 'wordArt', class: Google::Apis::SlidesV1::WordArt, decorator: Google::Apis::SlidesV1::WordArt::Representation
+      
+          property :table, as: 'table', class: Google::Apis::SlidesV1::Table, decorator: Google::Apis::SlidesV1::Table::Representation
+      
+          property :object_id_prop, as: 'objectId'
+          property :transform, as: 'transform', class: Google::Apis::SlidesV1::AffineTransform, decorator: Google::Apis::SlidesV1::AffineTransform::Representation
+      
+          property :shape, as: 'shape', class: Google::Apis::SlidesV1::Shape, decorator: Google::Apis::SlidesV1::Shape::Representation
+      
         end
       end
       
@@ -1211,18 +744,27 @@ module Google
       class CreateParagraphBulletsRequest
         # @private
         class Representation < Google::Apis::Core::JsonRepresentation
-          property :bullet_preset, as: 'bulletPreset'
-          property :cell_location, as: 'cellLocation', class: Google::Apis::SlidesV1::TableCellLocation, decorator: Google::Apis::SlidesV1::TableCellLocation::Representation
-      
           property :object_id_prop, as: 'objectId'
           property :text_range, as: 'textRange', class: Google::Apis::SlidesV1::Range, decorator: Google::Apis::SlidesV1::Range::Representation
       
+          property :bullet_preset, as: 'bulletPreset'
+          property :cell_location, as: 'cellLocation', class: Google::Apis::SlidesV1::TableCellLocation, decorator: Google::Apis::SlidesV1::TableCellLocation::Representation
+      
         end
       end
       
       class TextStyle
         # @private
         class Representation < Google::Apis::Core::JsonRepresentation
+          property :small_caps, as: 'smallCaps'
+          property :background_color, as: 'backgroundColor', class: Google::Apis::SlidesV1::OptionalColor, decorator: Google::Apis::SlidesV1::OptionalColor::Representation
+      
+          property :link, as: 'link', class: Google::Apis::SlidesV1::Link, decorator: Google::Apis::SlidesV1::Link::Representation
+      
+          property :underline, as: 'underline'
+          property :bold, as: 'bold'
+          property :foreground_color, as: 'foregroundColor', class: Google::Apis::SlidesV1::OptionalColor, decorator: Google::Apis::SlidesV1::OptionalColor::Representation
+      
           property :font_family, as: 'fontFamily'
           property :italic, as: 'italic'
           property :strikethrough, as: 'strikethrough'
@@ -1231,25 +773,16 @@ module Google
           property :baseline_offset, as: 'baselineOffset'
           property :weighted_font_family, as: 'weightedFontFamily', class: Google::Apis::SlidesV1::WeightedFontFamily, decorator: Google::Apis::SlidesV1::WeightedFontFamily::Representation
       
-          property :small_caps, as: 'smallCaps'
-          property :background_color, as: 'backgroundColor', class: Google::Apis::SlidesV1::OptionalColor, decorator: Google::Apis::SlidesV1::OptionalColor::Representation
-      
-          property :link, as: 'link', class: Google::Apis::SlidesV1::Link, decorator: Google::Apis::SlidesV1::Link::Representation
-      
-          property :underline, as: 'underline'
-          property :foreground_color, as: 'foregroundColor', class: Google::Apis::SlidesV1::OptionalColor, decorator: Google::Apis::SlidesV1::OptionalColor::Representation
-      
-          property :bold, as: 'bold'
         end
       end
       
       class Size
         # @private
         class Representation < Google::Apis::Core::JsonRepresentation
-          property :height, as: 'height', class: Google::Apis::SlidesV1::Dimension, decorator: Google::Apis::SlidesV1::Dimension::Representation
-      
           property :width, as: 'width', class: Google::Apis::SlidesV1::Dimension, decorator: Google::Apis::SlidesV1::Dimension::Representation
       
+          property :height, as: 'height', class: Google::Apis::SlidesV1::Dimension, decorator: Google::Apis::SlidesV1::Dimension::Representation
+      
         end
       end
       
@@ -1266,30 +799,6 @@ module Google
       class Request
         # @private
         class Representation < Google::Apis::Core::JsonRepresentation
-          property :replace_all_shapes_with_image, as: 'replaceAllShapesWithImage', class: Google::Apis::SlidesV1::ReplaceAllShapesWithImageRequest, decorator: Google::Apis::SlidesV1::ReplaceAllShapesWithImageRequest::Representation
-      
-          property :replace_all_text, as: 'replaceAllText', class: Google::Apis::SlidesV1::ReplaceAllTextRequest, decorator: Google::Apis::SlidesV1::ReplaceAllTextRequest::Representation
-      
-          property :update_image_properties, as: 'updateImageProperties', class: Google::Apis::SlidesV1::UpdateImagePropertiesRequest, decorator: Google::Apis::SlidesV1::UpdateImagePropertiesRequest::Representation
-      
-          property :create_slide, as: 'createSlide', class: Google::Apis::SlidesV1::CreateSlideRequest, decorator: Google::Apis::SlidesV1::CreateSlideRequest::Representation
-      
-          property :insert_table_rows, as: 'insertTableRows', class: Google::Apis::SlidesV1::InsertTableRowsRequest, decorator: Google::Apis::SlidesV1::InsertTableRowsRequest::Representation
-      
-          property :update_line_properties, as: 'updateLineProperties', class: Google::Apis::SlidesV1::UpdateLinePropertiesRequest, decorator: Google::Apis::SlidesV1::UpdateLinePropertiesRequest::Representation
-      
-          property :update_slides_position, as: 'updateSlidesPosition', class: Google::Apis::SlidesV1::UpdateSlidesPositionRequest, decorator: Google::Apis::SlidesV1::UpdateSlidesPositionRequest::Representation
-      
-          property :delete_table_row, as: 'deleteTableRow', class: Google::Apis::SlidesV1::DeleteTableRowRequest, decorator: Google::Apis::SlidesV1::DeleteTableRowRequest::Representation
-      
-          property :update_shape_properties, as: 'updateShapeProperties', class: Google::Apis::SlidesV1::UpdateShapePropertiesRequest, decorator: Google::Apis::SlidesV1::UpdateShapePropertiesRequest::Representation
-      
-          property :insert_text, as: 'insertText', class: Google::Apis::SlidesV1::InsertTextRequest, decorator: Google::Apis::SlidesV1::InsertTextRequest::Representation
-      
-          property :delete_text, as: 'deleteText', class: Google::Apis::SlidesV1::DeleteTextRequest, decorator: Google::Apis::SlidesV1::DeleteTextRequest::Representation
-      
-          property :update_page_properties, as: 'updatePageProperties', class: Google::Apis::SlidesV1::UpdatePagePropertiesRequest, decorator: Google::Apis::SlidesV1::UpdatePagePropertiesRequest::Representation
-      
           property :create_shape, as: 'createShape', class: Google::Apis::SlidesV1::CreateShapeRequest, decorator: Google::Apis::SlidesV1::CreateShapeRequest::Representation
       
           property :delete_paragraph_bullets, as: 'deleteParagraphBullets', class: Google::Apis::SlidesV1::DeleteParagraphBulletsRequest, decorator: Google::Apis::SlidesV1::DeleteParagraphBulletsRequest::Representation
@@ -1298,10 +807,10 @@ module Google
       
           property :refresh_sheets_chart, as: 'refreshSheetsChart', class: Google::Apis::SlidesV1::RefreshSheetsChartRequest, decorator: Google::Apis::SlidesV1::RefreshSheetsChartRequest::Representation
       
-          property :update_table_cell_properties, as: 'updateTableCellProperties', class: Google::Apis::SlidesV1::UpdateTableCellPropertiesRequest, decorator: Google::Apis::SlidesV1::UpdateTableCellPropertiesRequest::Representation
-      
           property :create_table, as: 'createTable', class: Google::Apis::SlidesV1::CreateTableRequest, decorator: Google::Apis::SlidesV1::CreateTableRequest::Representation
       
+          property :update_table_cell_properties, as: 'updateTableCellProperties', class: Google::Apis::SlidesV1::UpdateTableCellPropertiesRequest, decorator: Google::Apis::SlidesV1::UpdateTableCellPropertiesRequest::Representation
+      
           property :delete_object, as: 'deleteObject', class: Google::Apis::SlidesV1::DeleteObjectRequest, decorator: Google::Apis::SlidesV1::DeleteObjectRequest::Representation
       
           property :update_paragraph_style, as: 'updateParagraphStyle', class: Google::Apis::SlidesV1::UpdateParagraphStyleRequest, decorator: Google::Apis::SlidesV1::UpdateParagraphStyleRequest::Representation
@@ -1320,14 +829,38 @@ module Google
       
           property :create_video, as: 'createVideo', class: Google::Apis::SlidesV1::CreateVideoRequest, decorator: Google::Apis::SlidesV1::CreateVideoRequest::Representation
       
-          property :replace_all_shapes_with_sheets_chart, as: 'replaceAllShapesWithSheetsChart', class: Google::Apis::SlidesV1::ReplaceAllShapesWithSheetsChartRequest, decorator: Google::Apis::SlidesV1::ReplaceAllShapesWithSheetsChartRequest::Representation
-      
           property :create_sheets_chart, as: 'createSheetsChart', class: Google::Apis::SlidesV1::CreateSheetsChartRequest, decorator: Google::Apis::SlidesV1::CreateSheetsChartRequest::Representation
       
+          property :replace_all_shapes_with_sheets_chart, as: 'replaceAllShapesWithSheetsChart', class: Google::Apis::SlidesV1::ReplaceAllShapesWithSheetsChartRequest, decorator: Google::Apis::SlidesV1::ReplaceAllShapesWithSheetsChartRequest::Representation
+      
           property :update_page_element_transform, as: 'updatePageElementTransform', class: Google::Apis::SlidesV1::UpdatePageElementTransformRequest, decorator: Google::Apis::SlidesV1::UpdatePageElementTransformRequest::Representation
       
           property :update_text_style, as: 'updateTextStyle', class: Google::Apis::SlidesV1::UpdateTextStyleRequest, decorator: Google::Apis::SlidesV1::UpdateTextStyleRequest::Representation
       
+          property :replace_all_shapes_with_image, as: 'replaceAllShapesWithImage', class: Google::Apis::SlidesV1::ReplaceAllShapesWithImageRequest, decorator: Google::Apis::SlidesV1::ReplaceAllShapesWithImageRequest::Representation
+      
+          property :replace_all_text, as: 'replaceAllText', class: Google::Apis::SlidesV1::ReplaceAllTextRequest, decorator: Google::Apis::SlidesV1::ReplaceAllTextRequest::Representation
+      
+          property :update_image_properties, as: 'updateImageProperties', class: Google::Apis::SlidesV1::UpdateImagePropertiesRequest, decorator: Google::Apis::SlidesV1::UpdateImagePropertiesRequest::Representation
+      
+          property :insert_table_rows, as: 'insertTableRows', class: Google::Apis::SlidesV1::InsertTableRowsRequest, decorator: Google::Apis::SlidesV1::InsertTableRowsRequest::Representation
+      
+          property :create_slide, as: 'createSlide', class: Google::Apis::SlidesV1::CreateSlideRequest, decorator: Google::Apis::SlidesV1::CreateSlideRequest::Representation
+      
+          property :update_line_properties, as: 'updateLineProperties', class: Google::Apis::SlidesV1::UpdateLinePropertiesRequest, decorator: Google::Apis::SlidesV1::UpdateLinePropertiesRequest::Representation
+      
+          property :update_slides_position, as: 'updateSlidesPosition', class: Google::Apis::SlidesV1::UpdateSlidesPositionRequest, decorator: Google::Apis::SlidesV1::UpdateSlidesPositionRequest::Representation
+      
+          property :delete_table_row, as: 'deleteTableRow', class: Google::Apis::SlidesV1::DeleteTableRowRequest, decorator: Google::Apis::SlidesV1::DeleteTableRowRequest::Representation
+      
+          property :update_shape_properties, as: 'updateShapeProperties', class: Google::Apis::SlidesV1::UpdateShapePropertiesRequest, decorator: Google::Apis::SlidesV1::UpdateShapePropertiesRequest::Representation
+      
+          property :insert_text, as: 'insertText', class: Google::Apis::SlidesV1::InsertTextRequest, decorator: Google::Apis::SlidesV1::InsertTextRequest::Representation
+      
+          property :delete_text, as: 'deleteText', class: Google::Apis::SlidesV1::DeleteTextRequest, decorator: Google::Apis::SlidesV1::DeleteTextRequest::Representation
+      
+          property :update_page_properties, as: 'updatePageProperties', class: Google::Apis::SlidesV1::UpdatePagePropertiesRequest, decorator: Google::Apis::SlidesV1::UpdatePagePropertiesRequest::Representation
+      
         end
       end
       
@@ -1344,20 +877,20 @@ module Google
       class ParagraphStyle
         # @private
         class Representation < Google::Apis::Core::JsonRepresentation
-          property :space_below, as: 'spaceBelow', class: Google::Apis::SlidesV1::Dimension, decorator: Google::Apis::SlidesV1::Dimension::Representation
-      
-          property :direction, as: 'direction'
-          property :spacing_mode, as: 'spacingMode'
-          property :indent_end, as: 'indentEnd', class: Google::Apis::SlidesV1::Dimension, decorator: Google::Apis::SlidesV1::Dimension::Representation
-      
           property :indent_start, as: 'indentStart', class: Google::Apis::SlidesV1::Dimension, decorator: Google::Apis::SlidesV1::Dimension::Representation
       
           property :space_above, as: 'spaceAbove', class: Google::Apis::SlidesV1::Dimension, decorator: Google::Apis::SlidesV1::Dimension::Representation
       
-          property :alignment, as: 'alignment'
-          property :line_spacing, as: 'lineSpacing'
           property :indent_first_line, as: 'indentFirstLine', class: Google::Apis::SlidesV1::Dimension, decorator: Google::Apis::SlidesV1::Dimension::Representation
       
+          property :line_spacing, as: 'lineSpacing'
+          property :alignment, as: 'alignment'
+          property :space_below, as: 'spaceBelow', class: Google::Apis::SlidesV1::Dimension, decorator: Google::Apis::SlidesV1::Dimension::Representation
+      
+          property :direction, as: 'direction'
+          property :indent_end, as: 'indentEnd', class: Google::Apis::SlidesV1::Dimension, decorator: Google::Apis::SlidesV1::Dimension::Representation
+      
+          property :spacing_mode, as: 'spacingMode'
         end
       end
       
@@ -1379,12 +912,12 @@ module Google
       class Outline
         # @private
         class Representation < Google::Apis::Core::JsonRepresentation
-          property :outline_fill, as: 'outlineFill', class: Google::Apis::SlidesV1::OutlineFill, decorator: Google::Apis::SlidesV1::OutlineFill::Representation
-      
           property :weight, as: 'weight', class: Google::Apis::SlidesV1::Dimension, decorator: Google::Apis::SlidesV1::Dimension::Representation
       
           property :dash_style, as: 'dashStyle'
           property :property_state, as: 'propertyState'
+          property :outline_fill, as: 'outlineFill', class: Google::Apis::SlidesV1::OutlineFill, decorator: Google::Apis::SlidesV1::OutlineFill::Representation
+      
         end
       end
       
@@ -1405,14 +938,14 @@ module Google
       class ShapeProperties
         # @private
         class Representation < Google::Apis::Core::JsonRepresentation
-          property :shape_background_fill, as: 'shapeBackgroundFill', class: Google::Apis::SlidesV1::ShapeBackgroundFill, decorator: Google::Apis::SlidesV1::ShapeBackgroundFill::Representation
-      
-          property :shadow, as: 'shadow', class: Google::Apis::SlidesV1::Shadow, decorator: Google::Apis::SlidesV1::Shadow::Representation
-      
           property :link, as: 'link', class: Google::Apis::SlidesV1::Link, decorator: Google::Apis::SlidesV1::Link::Representation
       
           property :outline, as: 'outline', class: Google::Apis::SlidesV1::Outline, decorator: Google::Apis::SlidesV1::Outline::Representation
       
+          property :shape_background_fill, as: 'shapeBackgroundFill', class: Google::Apis::SlidesV1::ShapeBackgroundFill, decorator: Google::Apis::SlidesV1::ShapeBackgroundFill::Representation
+      
+          property :shadow, as: 'shadow', class: Google::Apis::SlidesV1::Shadow, decorator: Google::Apis::SlidesV1::Shadow::Representation
+      
         end
       end
       
@@ -1437,12 +970,12 @@ module Google
       class UpdateTableCellPropertiesRequest
         # @private
         class Representation < Google::Apis::Core::JsonRepresentation
+          property :table_cell_properties, as: 'tableCellProperties', class: Google::Apis::SlidesV1::TableCellProperties, decorator: Google::Apis::SlidesV1::TableCellProperties::Representation
+      
           property :fields, as: 'fields'
           property :object_id_prop, as: 'objectId'
           property :table_range, as: 'tableRange', class: Google::Apis::SlidesV1::TableRange, decorator: Google::Apis::SlidesV1::TableRange::Representation
       
-          property :table_cell_properties, as: 'tableCellProperties', class: Google::Apis::SlidesV1::TableCellProperties, decorator: Google::Apis::SlidesV1::TableCellProperties::Representation
-      
         end
       end
       
@@ -1471,10 +1004,10 @@ module Google
       class TextContent
         # @private
         class Representation < Google::Apis::Core::JsonRepresentation
-          collection :text_elements, as: 'textElements', class: Google::Apis::SlidesV1::TextElement, decorator: Google::Apis::SlidesV1::TextElement::Representation
-      
           hash :lists, as: 'lists', class: Google::Apis::SlidesV1::List, decorator: Google::Apis::SlidesV1::List::Representation
       
+          collection :text_elements, as: 'textElements', class: Google::Apis::SlidesV1::TextElement, decorator: Google::Apis::SlidesV1::TextElement::Representation
+      
         end
       end
       
@@ -1516,20 +1049,20 @@ module Google
       class InsertTableColumnsRequest
         # @private
         class Representation < Google::Apis::Core::JsonRepresentation
+          property :table_object_id, as: 'tableObjectId'
           property :number, as: 'number'
           property :cell_location, as: 'cellLocation', class: Google::Apis::SlidesV1::TableCellLocation, decorator: Google::Apis::SlidesV1::TableCellLocation::Representation
       
           property :insert_right, as: 'insertRight'
-          property :table_object_id, as: 'tableObjectId'
         end
       end
       
       class Thumbnail
         # @private
         class Representation < Google::Apis::Core::JsonRepresentation
+          property :width, as: 'width'
           property :height, as: 'height'
           property :content_url, as: 'contentUrl'
-          property :width, as: 'width'
         end
       end
       
@@ -1546,10 +1079,10 @@ module Google
       class UpdateShapePropertiesRequest
         # @private
         class Representation < Google::Apis::Core::JsonRepresentation
-          property :fields, as: 'fields'
-          property :object_id_prop, as: 'objectId'
           property :shape_properties, as: 'shapeProperties', class: Google::Apis::SlidesV1::ShapeProperties, decorator: Google::Apis::SlidesV1::ShapeProperties::Representation
       
+          property :fields, as: 'fields'
+          property :object_id_prop, as: 'objectId'
         end
       end
       
@@ -1563,19 +1096,19 @@ module Google
       class Recolor
         # @private
         class Representation < Google::Apis::Core::JsonRepresentation
-          property :name, as: 'name'
           collection :recolor_stops, as: 'recolorStops', class: Google::Apis::SlidesV1::ColorStop, decorator: Google::Apis::SlidesV1::ColorStop::Representation
       
+          property :name, as: 'name'
         end
       end
       
       class Link
         # @private
         class Representation < Google::Apis::Core::JsonRepresentation
+          property :page_object_id, as: 'pageObjectId'
           property :url, as: 'url'
           property :relative_link, as: 'relativeLink'
           property :slide_index, as: 'slideIndex'
-          property :page_object_id, as: 'pageObjectId'
         end
       end
       
@@ -1636,24 +1169,10 @@ module Google
       class PageProperties
         # @private
         class Representation < Google::Apis::Core::JsonRepresentation
-          property :page_background_fill, as: 'pageBackgroundFill', class: Google::Apis::SlidesV1::PageBackgroundFill, decorator: Google::Apis::SlidesV1::PageBackgroundFill::Representation
-      
           property :color_scheme, as: 'colorScheme', class: Google::Apis::SlidesV1::ColorScheme, decorator: Google::Apis::SlidesV1::ColorScheme::Representation
       
-        end
-      end
+          property :page_background_fill, as: 'pageBackgroundFill', class: Google::Apis::SlidesV1::PageBackgroundFill, decorator: Google::Apis::SlidesV1::PageBackgroundFill::Representation
       
-      class TableCell
-        # @private
-        class Representation < Google::Apis::Core::JsonRepresentation
-          property :text, as: 'text', class: Google::Apis::SlidesV1::TextContent, decorator: Google::Apis::SlidesV1::TextContent::Representation
-      
-          property :table_cell_properties, as: 'tableCellProperties', class: Google::Apis::SlidesV1::TableCellProperties, decorator: Google::Apis::SlidesV1::TableCellProperties::Representation
-      
-          property :location, as: 'location', class: Google::Apis::SlidesV1::TableCellLocation, decorator: Google::Apis::SlidesV1::TableCellLocation::Representation
-      
-          property :row_span, as: 'rowSpan'
-          property :column_span, as: 'columnSpan'
         end
       end
       
@@ -1665,13 +1184,27 @@ module Google
         end
       end
       
+      class TableCell
+        # @private
+        class Representation < Google::Apis::Core::JsonRepresentation
+          property :table_cell_properties, as: 'tableCellProperties', class: Google::Apis::SlidesV1::TableCellProperties, decorator: Google::Apis::SlidesV1::TableCellProperties::Representation
+      
+          property :location, as: 'location', class: Google::Apis::SlidesV1::TableCellLocation, decorator: Google::Apis::SlidesV1::TableCellLocation::Representation
+      
+          property :row_span, as: 'rowSpan'
+          property :column_span, as: 'columnSpan'
+          property :text, as: 'text', class: Google::Apis::SlidesV1::TextContent, decorator: Google::Apis::SlidesV1::TextContent::Representation
+      
+        end
+      end
+      
       class UpdateLinePropertiesRequest
         # @private
         class Representation < Google::Apis::Core::JsonRepresentation
-          property :object_id_prop, as: 'objectId'
           property :line_properties, as: 'lineProperties', class: Google::Apis::SlidesV1::LineProperties, decorator: Google::Apis::SlidesV1::LineProperties::Representation
       
           property :fields, as: 'fields'
+          property :object_id_prop, as: 'objectId'
         end
       end
       
@@ -1713,9 +1246,9 @@ module Google
       class Placeholder
         # @private
         class Representation < Google::Apis::Core::JsonRepresentation
-          property :parent_object_id, as: 'parentObjectId'
           property :index, as: 'index'
           property :type, as: 'type'
+          property :parent_object_id, as: 'parentObjectId'
         end
       end
       
@@ -1739,39 +1272,39 @@ module Google
       class Page
         # @private
         class Representation < Google::Apis::Core::JsonRepresentation
-          property :page_type, as: 'pageType'
+          property :revision_id, as: 'revisionId'
+          property :layout_properties, as: 'layoutProperties', class: Google::Apis::SlidesV1::LayoutProperties, decorator: Google::Apis::SlidesV1::LayoutProperties::Representation
+      
           collection :page_elements, as: 'pageElements', class: Google::Apis::SlidesV1::PageElement, decorator: Google::Apis::SlidesV1::PageElement::Representation
       
           property :notes_properties, as: 'notesProperties', class: Google::Apis::SlidesV1::NotesProperties, decorator: Google::Apis::SlidesV1::NotesProperties::Representation
       
-          property :slide_properties, as: 'slideProperties', class: Google::Apis::SlidesV1::SlideProperties, decorator: Google::Apis::SlidesV1::SlideProperties::Representation
-      
+          property :page_type, as: 'pageType'
           property :page_properties, as: 'pageProperties', class: Google::Apis::SlidesV1::PageProperties, decorator: Google::Apis::SlidesV1::PageProperties::Representation
       
-          property :object_id_prop, as: 'objectId'
-          property :revision_id, as: 'revisionId'
-          property :layout_properties, as: 'layoutProperties', class: Google::Apis::SlidesV1::LayoutProperties, decorator: Google::Apis::SlidesV1::LayoutProperties::Representation
+          property :slide_properties, as: 'slideProperties', class: Google::Apis::SlidesV1::SlideProperties, decorator: Google::Apis::SlidesV1::SlideProperties::Representation
       
+          property :object_id_prop, as: 'objectId'
         end
       end
       
       class ShapeBackgroundFill
         # @private
         class Representation < Google::Apis::Core::JsonRepresentation
+          property :property_state, as: 'propertyState'
           property :solid_fill, as: 'solidFill', class: Google::Apis::SlidesV1::SolidFill, decorator: Google::Apis::SlidesV1::SolidFill::Representation
       
-          property :property_state, as: 'propertyState'
         end
       end
       
       class CropProperties
         # @private
         class Representation < Google::Apis::Core::JsonRepresentation
+          property :top_offset, as: 'topOffset'
+          property :left_offset, as: 'leftOffset'
           property :right_offset, as: 'rightOffset'
           property :bottom_offset, as: 'bottomOffset'
           property :angle, as: 'angle'
-          property :top_offset, as: 'topOffset'
-          property :left_offset, as: 'leftOffset'
         end
       end
       
@@ -1799,9 +1332,9 @@ module Google
       class Range
         # @private
         class Representation < Google::Apis::Core::JsonRepresentation
+          property :type, as: 'type'
           property :start_index, as: 'startIndex'
           property :end_index, as: 'endIndex'
-          property :type, as: 'type'
         end
       end
       
@@ -1836,6 +1369,10 @@ module Google
       class Shadow
         # @private
         class Representation < Google::Apis::Core::JsonRepresentation
+          property :color, as: 'color', class: Google::Apis::SlidesV1::OpaqueColor, decorator: Google::Apis::SlidesV1::OpaqueColor::Representation
+      
+          property :rotate_with_shape, as: 'rotateWithShape'
+          property :property_state, as: 'propertyState'
           property :blur_radius, as: 'blurRadius', class: Google::Apis::SlidesV1::Dimension, decorator: Google::Apis::SlidesV1::Dimension::Representation
       
           property :transform, as: 'transform', class: Google::Apis::SlidesV1::AffineTransform, decorator: Google::Apis::SlidesV1::AffineTransform::Representation
@@ -1843,10 +1380,6 @@ module Google
           property :type, as: 'type'
           property :alignment, as: 'alignment'
           property :alpha, as: 'alpha'
-          property :color, as: 'color', class: Google::Apis::SlidesV1::OpaqueColor, decorator: Google::Apis::SlidesV1::OpaqueColor::Representation
-      
-          property :rotate_with_shape, as: 'rotateWithShape'
-          property :property_state, as: 'propertyState'
         end
       end
       
@@ -1862,11 +1395,11 @@ module Google
       class Bullet
         # @private
         class Representation < Google::Apis::Core::JsonRepresentation
+          property :nesting_level, as: 'nestingLevel'
           property :bullet_style, as: 'bulletStyle', class: Google::Apis::SlidesV1::TextStyle, decorator: Google::Apis::SlidesV1::TextStyle::Representation
       
           property :list_id, as: 'listId'
           property :glyph, as: 'glyph'
-          property :nesting_level, as: 'nestingLevel'
         end
       end
       
@@ -1878,6 +1411,13 @@ module Google
         end
       end
       
+      class CreateLineResponse
+        # @private
+        class Representation < Google::Apis::Core::JsonRepresentation
+          property :object_id_prop, as: 'objectId'
+        end
+      end
+      
       class TableCellLocation
         # @private
         class Representation < Google::Apis::Core::JsonRepresentation
@@ -1886,13 +1426,6 @@ module Google
         end
       end
       
-      class CreateLineResponse
-        # @private
-        class Representation < Google::Apis::Core::JsonRepresentation
-          property :object_id_prop, as: 'objectId'
-        end
-      end
-      
       class ReplaceAllTextResponse
         # @private
         class Representation < Google::Apis::Core::JsonRepresentation
@@ -1903,14 +1436,14 @@ module Google
       class UpdateParagraphStyleRequest
         # @private
         class Representation < Google::Apis::Core::JsonRepresentation
-          property :cell_location, as: 'cellLocation', class: Google::Apis::SlidesV1::TableCellLocation, decorator: Google::Apis::SlidesV1::TableCellLocation::Representation
-      
-          property :style, as: 'style', class: Google::Apis::SlidesV1::ParagraphStyle, decorator: Google::Apis::SlidesV1::ParagraphStyle::Representation
-      
           property :fields, as: 'fields'
           property :object_id_prop, as: 'objectId'
           property :text_range, as: 'textRange', class: Google::Apis::SlidesV1::Range, decorator: Google::Apis::SlidesV1::Range::Representation
       
+          property :cell_location, as: 'cellLocation', class: Google::Apis::SlidesV1::TableCellLocation, decorator: Google::Apis::SlidesV1::TableCellLocation::Representation
+      
+          property :style, as: 'style', class: Google::Apis::SlidesV1::ParagraphStyle, decorator: Google::Apis::SlidesV1::ParagraphStyle::Representation
+      
         end
       end
       
@@ -1921,6 +1454,473 @@ module Google
       
         end
       end
+      
+      class Shape
+        # @private
+        class Representation < Google::Apis::Core::JsonRepresentation
+          property :shape_type, as: 'shapeType'
+          property :text, as: 'text', class: Google::Apis::SlidesV1::TextContent, decorator: Google::Apis::SlidesV1::TextContent::Representation
+      
+          property :placeholder, as: 'placeholder', class: Google::Apis::SlidesV1::Placeholder, decorator: Google::Apis::SlidesV1::Placeholder::Representation
+      
+          property :shape_properties, as: 'shapeProperties', class: Google::Apis::SlidesV1::ShapeProperties, decorator: Google::Apis::SlidesV1::ShapeProperties::Representation
+      
+        end
+      end
+      
+      class Image
+        # @private
+        class Representation < Google::Apis::Core::JsonRepresentation
+          property :image_properties, as: 'imageProperties', class: Google::Apis::SlidesV1::ImageProperties, decorator: Google::Apis::SlidesV1::ImageProperties::Representation
+      
+          property :content_url, as: 'contentUrl'
+        end
+      end
+      
+      class AffineTransform
+        # @private
+        class Representation < Google::Apis::Core::JsonRepresentation
+          property :shear_y, as: 'shearY'
+          property :unit, as: 'unit'
+          property :scale_x, as: 'scaleX'
+          property :shear_x, as: 'shearX'
+          property :scale_y, as: 'scaleY'
+          property :translate_y, as: 'translateY'
+          property :translate_x, as: 'translateX'
+        end
+      end
+      
+      class InsertTextRequest
+        # @private
+        class Representation < Google::Apis::Core::JsonRepresentation
+          property :insertion_index, as: 'insertionIndex'
+          property :cell_location, as: 'cellLocation', class: Google::Apis::SlidesV1::TableCellLocation, decorator: Google::Apis::SlidesV1::TableCellLocation::Representation
+      
+          property :object_id_prop, as: 'objectId'
+          property :text, as: 'text'
+        end
+      end
+      
+      class AutoText
+        # @private
+        class Representation < Google::Apis::Core::JsonRepresentation
+          property :type, as: 'type'
+          property :content, as: 'content'
+          property :style, as: 'style', class: Google::Apis::SlidesV1::TextStyle, decorator: Google::Apis::SlidesV1::TextStyle::Representation
+      
+        end
+      end
+      
+      class CreateVideoResponse
+        # @private
+        class Representation < Google::Apis::Core::JsonRepresentation
+          property :object_id_prop, as: 'objectId'
+        end
+      end
+      
+      class DeleteTextRequest
+        # @private
+        class Representation < Google::Apis::Core::JsonRepresentation
+          property :cell_location, as: 'cellLocation', class: Google::Apis::SlidesV1::TableCellLocation, decorator: Google::Apis::SlidesV1::TableCellLocation::Representation
+      
+          property :object_id_prop, as: 'objectId'
+          property :text_range, as: 'textRange', class: Google::Apis::SlidesV1::Range, decorator: Google::Apis::SlidesV1::Range::Representation
+      
+        end
+      end
+      
+      class UpdatePageElementTransformRequest
+        # @private
+        class Representation < Google::Apis::Core::JsonRepresentation
+          property :object_id_prop, as: 'objectId'
+          property :transform, as: 'transform', class: Google::Apis::SlidesV1::AffineTransform, decorator: Google::Apis::SlidesV1::AffineTransform::Representation
+      
+          property :apply_mode, as: 'applyMode'
+        end
+      end
+      
+      class DeleteObjectRequest
+        # @private
+        class Representation < Google::Apis::Core::JsonRepresentation
+          property :object_id_prop, as: 'objectId'
+        end
+      end
+      
+      class Dimension
+        # @private
+        class Representation < Google::Apis::Core::JsonRepresentation
+          property :magnitude, as: 'magnitude'
+          property :unit, as: 'unit'
+        end
+      end
+      
+      class TextElement
+        # @private
+        class Representation < Google::Apis::Core::JsonRepresentation
+          property :text_run, as: 'textRun', class: Google::Apis::SlidesV1::TextRun, decorator: Google::Apis::SlidesV1::TextRun::Representation
+      
+          property :auto_text, as: 'autoText', class: Google::Apis::SlidesV1::AutoText, decorator: Google::Apis::SlidesV1::AutoText::Representation
+      
+          property :paragraph_marker, as: 'paragraphMarker', class: Google::Apis::SlidesV1::ParagraphMarker, decorator: Google::Apis::SlidesV1::ParagraphMarker::Representation
+      
+          property :start_index, as: 'startIndex'
+          property :end_index, as: 'endIndex'
+        end
+      end
+      
+      class LineFill
+        # @private
+        class Representation < Google::Apis::Core::JsonRepresentation
+          property :solid_fill, as: 'solidFill', class: Google::Apis::SlidesV1::SolidFill, decorator: Google::Apis::SlidesV1::SolidFill::Representation
+      
+        end
+      end
+      
+      class VideoProperties
+        # @private
+        class Representation < Google::Apis::Core::JsonRepresentation
+          property :outline, as: 'outline', class: Google::Apis::SlidesV1::Outline, decorator: Google::Apis::SlidesV1::Outline::Representation
+      
+        end
+      end
+      
+      class InsertTableRowsRequest
+        # @private
+        class Representation < Google::Apis::Core::JsonRepresentation
+          property :number, as: 'number'
+          property :cell_location, as: 'cellLocation', class: Google::Apis::SlidesV1::TableCellLocation, decorator: Google::Apis::SlidesV1::TableCellLocation::Representation
+      
+          property :table_object_id, as: 'tableObjectId'
+          property :insert_below, as: 'insertBelow'
+        end
+      end
+      
+      class LayoutProperties
+        # @private
+        class Representation < Google::Apis::Core::JsonRepresentation
+          property :name, as: 'name'
+          property :display_name, as: 'displayName'
+          property :master_object_id, as: 'masterObjectId'
+        end
+      end
+      
+      class LineProperties
+        # @private
+        class Representation < Google::Apis::Core::JsonRepresentation
+          property :link, as: 'link', class: Google::Apis::SlidesV1::Link, decorator: Google::Apis::SlidesV1::Link::Representation
+      
+          property :dash_style, as: 'dashStyle'
+          property :start_arrow, as: 'startArrow'
+          property :end_arrow, as: 'endArrow'
+          property :weight, as: 'weight', class: Google::Apis::SlidesV1::Dimension, decorator: Google::Apis::SlidesV1::Dimension::Representation
+      
+          property :line_fill, as: 'lineFill', class: Google::Apis::SlidesV1::LineFill, decorator: Google::Apis::SlidesV1::LineFill::Representation
+      
+        end
+      end
+      
+      class Presentation
+        # @private
+        class Representation < Google::Apis::Core::JsonRepresentation
+          property :revision_id, as: 'revisionId'
+          property :notes_master, as: 'notesMaster', class: Google::Apis::SlidesV1::Page, decorator: Google::Apis::SlidesV1::Page::Representation
+      
+          property :title, as: 'title'
+          collection :layouts, as: 'layouts', class: Google::Apis::SlidesV1::Page, decorator: Google::Apis::SlidesV1::Page::Representation
+      
+          collection :masters, as: 'masters', class: Google::Apis::SlidesV1::Page, decorator: Google::Apis::SlidesV1::Page::Representation
+      
+          property :locale, as: 'locale'
+          property :page_size, as: 'pageSize', class: Google::Apis::SlidesV1::Size, decorator: Google::Apis::SlidesV1::Size::Representation
+      
+          property :presentation_id, as: 'presentationId'
+          collection :slides, as: 'slides', class: Google::Apis::SlidesV1::Page, decorator: Google::Apis::SlidesV1::Page::Representation
+      
+        end
+      end
+      
+      class OpaqueColor
+        # @private
+        class Representation < Google::Apis::Core::JsonRepresentation
+          property :rgb_color, as: 'rgbColor', class: Google::Apis::SlidesV1::RgbColor, decorator: Google::Apis::SlidesV1::RgbColor::Representation
+      
+          property :theme_color, as: 'themeColor'
+        end
+      end
+      
+      class ImageProperties
+        # @private
+        class Representation < Google::Apis::Core::JsonRepresentation
+          property :shadow, as: 'shadow', class: Google::Apis::SlidesV1::Shadow, decorator: Google::Apis::SlidesV1::Shadow::Representation
+      
+          property :link, as: 'link', class: Google::Apis::SlidesV1::Link, decorator: Google::Apis::SlidesV1::Link::Representation
+      
+          property :contrast, as: 'contrast'
+          property :recolor, as: 'recolor', class: Google::Apis::SlidesV1::Recolor, decorator: Google::Apis::SlidesV1::Recolor::Representation
+      
+          property :crop_properties, as: 'cropProperties', class: Google::Apis::SlidesV1::CropProperties, decorator: Google::Apis::SlidesV1::CropProperties::Representation
+      
+          property :outline, as: 'outline', class: Google::Apis::SlidesV1::Outline, decorator: Google::Apis::SlidesV1::Outline::Representation
+      
+          property :brightness, as: 'brightness'
+          property :transparency, as: 'transparency'
+        end
+      end
+      
+      class ReplaceAllShapesWithImageResponse
+        # @private
+        class Representation < Google::Apis::Core::JsonRepresentation
+          property :occurrences_changed, as: 'occurrencesChanged'
+        end
+      end
+      
+      class Line
+        # @private
+        class Representation < Google::Apis::Core::JsonRepresentation
+          property :line_type, as: 'lineType'
+          property :line_properties, as: 'lineProperties', class: Google::Apis::SlidesV1::LineProperties, decorator: Google::Apis::SlidesV1::LineProperties::Representation
+      
+        end
+      end
+      
+      class BatchUpdatePresentationResponse
+        # @private
+        class Representation < Google::Apis::Core::JsonRepresentation
+          collection :replies, as: 'replies', class: Google::Apis::SlidesV1::Response, decorator: Google::Apis::SlidesV1::Response::Representation
+      
+          property :presentation_id, as: 'presentationId'
+        end
+      end
+      
+      class CreateSheetsChartRequest
+        # @private
+        class Representation < Google::Apis::Core::JsonRepresentation
+          property :element_properties, as: 'elementProperties', class: Google::Apis::SlidesV1::PageElementProperties, decorator: Google::Apis::SlidesV1::PageElementProperties::Representation
+      
+          property :spreadsheet_id, as: 'spreadsheetId'
+          property :linking_mode, as: 'linkingMode'
+          property :chart_id, as: 'chartId'
+          property :object_id_prop, as: 'objectId'
+        end
+      end
+      
+      class CreateImageResponse
+        # @private
+        class Representation < Google::Apis::Core::JsonRepresentation
+          property :object_id_prop, as: 'objectId'
+        end
+      end
+      
+      class SlideProperties
+        # @private
+        class Representation < Google::Apis::Core::JsonRepresentation
+          property :layout_object_id, as: 'layoutObjectId'
+          property :master_object_id, as: 'masterObjectId'
+          property :notes_page, as: 'notesPage', class: Google::Apis::SlidesV1::Page, decorator: Google::Apis::SlidesV1::Page::Representation
+      
+        end
+      end
+      
+      class Response
+        # @private
+        class Representation < Google::Apis::Core::JsonRepresentation
+          property :create_video, as: 'createVideo', class: Google::Apis::SlidesV1::CreateVideoResponse, decorator: Google::Apis::SlidesV1::CreateVideoResponse::Representation
+      
+          property :replace_all_shapes_with_sheets_chart, as: 'replaceAllShapesWithSheetsChart', class: Google::Apis::SlidesV1::ReplaceAllShapesWithSheetsChartResponse, decorator: Google::Apis::SlidesV1::ReplaceAllShapesWithSheetsChartResponse::Representation
+      
+          property :create_sheets_chart, as: 'createSheetsChart', class: Google::Apis::SlidesV1::CreateSheetsChartResponse, decorator: Google::Apis::SlidesV1::CreateSheetsChartResponse::Representation
+      
+          property :replace_all_shapes_with_image, as: 'replaceAllShapesWithImage', class: Google::Apis::SlidesV1::ReplaceAllShapesWithImageResponse, decorator: Google::Apis::SlidesV1::ReplaceAllShapesWithImageResponse::Representation
+      
+          property :create_table, as: 'createTable', class: Google::Apis::SlidesV1::CreateTableResponse, decorator: Google::Apis::SlidesV1::CreateTableResponse::Representation
+      
+          property :replace_all_text, as: 'replaceAllText', class: Google::Apis::SlidesV1::ReplaceAllTextResponse, decorator: Google::Apis::SlidesV1::ReplaceAllTextResponse::Representation
+      
+          property :create_slide, as: 'createSlide', class: Google::Apis::SlidesV1::CreateSlideResponse, decorator: Google::Apis::SlidesV1::CreateSlideResponse::Representation
+      
+          property :create_shape, as: 'createShape', class: Google::Apis::SlidesV1::CreateShapeResponse, decorator: Google::Apis::SlidesV1::CreateShapeResponse::Representation
+      
+          property :duplicate_object, as: 'duplicateObject', class: Google::Apis::SlidesV1::DuplicateObjectResponse, decorator: Google::Apis::SlidesV1::DuplicateObjectResponse::Representation
+      
+          property :create_line, as: 'createLine', class: Google::Apis::SlidesV1::CreateLineResponse, decorator: Google::Apis::SlidesV1::CreateLineResponse::Representation
+      
+          property :create_image, as: 'createImage', class: Google::Apis::SlidesV1::CreateImageResponse, decorator: Google::Apis::SlidesV1::CreateImageResponse::Representation
+      
+        end
+      end
+      
+      class TextRun
+        # @private
+        class Representation < Google::Apis::Core::JsonRepresentation
+          property :style, as: 'style', class: Google::Apis::SlidesV1::TextStyle, decorator: Google::Apis::SlidesV1::TextStyle::Representation
+      
+          property :content, as: 'content'
+        end
+      end
+      
+      class LayoutReference
+        # @private
+        class Representation < Google::Apis::Core::JsonRepresentation
+          property :predefined_layout, as: 'predefinedLayout'
+          property :layout_id, as: 'layoutId'
+        end
+      end
+      
+      class SubstringMatchCriteria
+        # @private
+        class Representation < Google::Apis::Core::JsonRepresentation
+          property :text, as: 'text'
+          property :match_case, as: 'matchCase'
+        end
+      end
+      
+      class TableRange
+        # @private
+        class Representation < Google::Apis::Core::JsonRepresentation
+          property :location, as: 'location', class: Google::Apis::SlidesV1::TableCellLocation, decorator: Google::Apis::SlidesV1::TableCellLocation::Representation
+      
+          property :row_span, as: 'rowSpan'
+          property :column_span, as: 'columnSpan'
+        end
+      end
+      
+      class CreateTableResponse
+        # @private
+        class Representation < Google::Apis::Core::JsonRepresentation
+          property :object_id_prop, as: 'objectId'
+        end
+      end
+      
+      class CreateTableRequest
+        # @private
+        class Representation < Google::Apis::Core::JsonRepresentation
+          property :rows, as: 'rows'
+          property :object_id_prop, as: 'objectId'
+          property :columns, as: 'columns'
+          property :element_properties, as: 'elementProperties', class: Google::Apis::SlidesV1::PageElementProperties, decorator: Google::Apis::SlidesV1::PageElementProperties::Representation
+      
+        end
+      end
+      
+      class Table
+        # @private
+        class Representation < Google::Apis::Core::JsonRepresentation
+          property :rows, as: 'rows'
+          collection :table_columns, as: 'tableColumns', class: Google::Apis::SlidesV1::TableColumnProperties, decorator: Google::Apis::SlidesV1::TableColumnProperties::Representation
+      
+          property :columns, as: 'columns'
+          collection :table_rows, as: 'tableRows', class: Google::Apis::SlidesV1::TableRow, decorator: Google::Apis::SlidesV1::TableRow::Representation
+      
+        end
+      end
+      
+      class PageBackgroundFill
+        # @private
+        class Representation < Google::Apis::Core::JsonRepresentation
+          property :solid_fill, as: 'solidFill', class: Google::Apis::SlidesV1::SolidFill, decorator: Google::Apis::SlidesV1::SolidFill::Representation
+      
+          property :property_state, as: 'propertyState'
+          property :stretched_picture_fill, as: 'stretchedPictureFill', class: Google::Apis::SlidesV1::StretchedPictureFill, decorator: Google::Apis::SlidesV1::StretchedPictureFill::Representation
+      
+        end
+      end
+      
+      class SheetsChart
+        # @private
+        class Representation < Google::Apis::Core::JsonRepresentation
+          property :sheets_chart_properties, as: 'sheetsChartProperties', class: Google::Apis::SlidesV1::SheetsChartProperties, decorator: Google::Apis::SlidesV1::SheetsChartProperties::Representation
+      
+          property :content_url, as: 'contentUrl'
+          property :spreadsheet_id, as: 'spreadsheetId'
+          property :chart_id, as: 'chartId'
+        end
+      end
+      
+      class SolidFill
+        # @private
+        class Representation < Google::Apis::Core::JsonRepresentation
+          property :alpha, as: 'alpha'
+          property :color, as: 'color', class: Google::Apis::SlidesV1::OpaqueColor, decorator: Google::Apis::SlidesV1::OpaqueColor::Representation
+      
+        end
+      end
+      
+      class ThemeColorPair
+        # @private
+        class Representation < Google::Apis::Core::JsonRepresentation
+          property :color, as: 'color', class: Google::Apis::SlidesV1::RgbColor, decorator: Google::Apis::SlidesV1::RgbColor::Representation
+      
+          property :type, as: 'type'
+        end
+      end
+      
+      class OptionalColor
+        # @private
+        class Representation < Google::Apis::Core::JsonRepresentation
+          property :opaque_color, as: 'opaqueColor', class: Google::Apis::SlidesV1::OpaqueColor, decorator: Google::Apis::SlidesV1::OpaqueColor::Representation
+      
+        end
+      end
+      
+      class PageElementProperties
+        # @private
+        class Representation < Google::Apis::Core::JsonRepresentation
+          property :transform, as: 'transform', class: Google::Apis::SlidesV1::AffineTransform, decorator: Google::Apis::SlidesV1::AffineTransform::Representation
+      
+          property :page_object_id, as: 'pageObjectId'
+          property :size, as: 'size', class: Google::Apis::SlidesV1::Size, decorator: Google::Apis::SlidesV1::Size::Representation
+      
+        end
+      end
+      
+      class SheetsChartProperties
+        # @private
+        class Representation < Google::Apis::Core::JsonRepresentation
+          property :chart_image_properties, as: 'chartImageProperties', class: Google::Apis::SlidesV1::ImageProperties, decorator: Google::Apis::SlidesV1::ImageProperties::Representation
+      
+        end
+      end
+      
+      class StretchedPictureFill
+        # @private
+        class Representation < Google::Apis::Core::JsonRepresentation
+          property :size, as: 'size', class: Google::Apis::SlidesV1::Size, decorator: Google::Apis::SlidesV1::Size::Representation
+      
+          property :content_url, as: 'contentUrl'
+        end
+      end
+      
+      class UpdateTextStyleRequest
+        # @private
+        class Representation < Google::Apis::Core::JsonRepresentation
+          property :fields, as: 'fields'
+          property :object_id_prop, as: 'objectId'
+          property :text_range, as: 'textRange', class: Google::Apis::SlidesV1::Range, decorator: Google::Apis::SlidesV1::Range::Representation
+      
+          property :cell_location, as: 'cellLocation', class: Google::Apis::SlidesV1::TableCellLocation, decorator: Google::Apis::SlidesV1::TableCellLocation::Representation
+      
+          property :style, as: 'style', class: Google::Apis::SlidesV1::TextStyle, decorator: Google::Apis::SlidesV1::TextStyle::Representation
+      
+        end
+      end
+      
+      class DeleteTableColumnRequest
+        # @private
+        class Representation < Google::Apis::Core::JsonRepresentation
+          property :cell_location, as: 'cellLocation', class: Google::Apis::SlidesV1::TableCellLocation, decorator: Google::Apis::SlidesV1::TableCellLocation::Representation
+      
+          property :table_object_id, as: 'tableObjectId'
+        end
+      end
+      
+      class List
+        # @private
+        class Representation < Google::Apis::Core::JsonRepresentation
+          hash :nesting_level, as: 'nestingLevel', class: Google::Apis::SlidesV1::NestingLevel, decorator: Google::Apis::SlidesV1::NestingLevel::Representation
+      
+          property :list_id, as: 'listId'
+        end
+      end
     end
   end
 end
diff --git a/generated/google/apis/slides_v1/service.rb b/generated/google/apis/slides_v1/service.rb
index d668b699e..55c7b22cf 100644
--- a/generated/google/apis/slides_v1/service.rb
+++ b/generated/google/apis/slides_v1/service.rb
@@ -32,29 +32,30 @@ module Google
       #
       # @see https://developers.google.com/slides/
       class SlidesService < Google::Apis::Core::BaseService
-        # @return [String]
-        #  API key. Your API key identifies your project and provides you with API access,
-        #  quota, and reports. Required unless you provide an OAuth 2.0 token.
-        attr_accessor :key
-
         # @return [String]
         #  Available to use for quota purposes for server-side applications. Can be any
         #  arbitrary string assigned to a user, but should not exceed 40 characters.
         attr_accessor :quota_user
 
+        # @return [String]
+        #  API key. Your API key identifies your project and provides you with API access,
+        #  quota, and reports. Required unless you provide an OAuth 2.0 token.
+        attr_accessor :key
+
         def initialize
           super('https://slides.googleapis.com/', '')
+          @batch_path = 'batch'
         end
         
         # Creates a new presentation using the title given in the request. Other
         # fields in the request are ignored.
         # Returns the created presentation.
         # @param [Google::Apis::SlidesV1::Presentation] presentation_object
-        # @param [String] fields
-        #   Selector specifying which fields to include in a partial response.
         # @param [String] quota_user
         #   Available to use for quota purposes for server-side applications. Can be any
         #   arbitrary string assigned to a user, but should not exceed 40 characters.
+        # @param [String] fields
+        #   Selector specifying which fields to include in a partial response.
         # @param [Google::Apis::RequestOptions] options
         #   Request-specific options
         #
@@ -67,14 +68,14 @@ module Google
         # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
         # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
         # @raise [Google::Apis::AuthorizationError] Authorization is required
-        def create_presentation(presentation_object = nil, fields: nil, quota_user: nil, options: nil, &block)
+        def create_presentation(presentation_object = nil, quota_user: nil, fields: nil, options: nil, &block)
           command =  make_simple_command(:post, 'v1/presentations', options)
           command.request_representation = Google::Apis::SlidesV1::Presentation::Representation
           command.request_object = presentation_object
           command.response_representation = Google::Apis::SlidesV1::Presentation::Representation
           command.response_class = Google::Apis::SlidesV1::Presentation
-          command.query['fields'] = fields unless fields.nil?
           command.query['quotaUser'] = quota_user unless quota_user.nil?
+          command.query['fields'] = fields unless fields.nil?
           execute_or_queue_command(command, &block)
         end
         
@@ -98,11 +99,11 @@ module Google
         # @param [String] presentation_id
         #   The presentation to apply the updates to.
         # @param [Google::Apis::SlidesV1::BatchUpdatePresentationRequest] batch_update_presentation_request_object
-        # @param [String] fields
-        #   Selector specifying which fields to include in a partial response.
         # @param [String] quota_user
         #   Available to use for quota purposes for server-side applications. Can be any
         #   arbitrary string assigned to a user, but should not exceed 40 characters.
+        # @param [String] fields
+        #   Selector specifying which fields to include in a partial response.
         # @param [Google::Apis::RequestOptions] options
         #   Request-specific options
         #
@@ -115,26 +116,26 @@ module Google
         # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
         # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
         # @raise [Google::Apis::AuthorizationError] Authorization is required
-        def batch_update_presentation(presentation_id, batch_update_presentation_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
+        def batch_update_presentation(presentation_id, batch_update_presentation_request_object = nil, quota_user: nil, fields: nil, options: nil, &block)
           command =  make_simple_command(:post, 'v1/presentations/{presentationId}:batchUpdate', options)
           command.request_representation = Google::Apis::SlidesV1::BatchUpdatePresentationRequest::Representation
           command.request_object = batch_update_presentation_request_object
           command.response_representation = Google::Apis::SlidesV1::BatchUpdatePresentationResponse::Representation
           command.response_class = Google::Apis::SlidesV1::BatchUpdatePresentationResponse
           command.params['presentationId'] = presentation_id unless presentation_id.nil?
-          command.query['fields'] = fields unless fields.nil?
           command.query['quotaUser'] = quota_user unless quota_user.nil?
+          command.query['fields'] = fields unless fields.nil?
           execute_or_queue_command(command, &block)
         end
         
         # Gets the latest version of the specified presentation.
         # @param [String] presentation_id
         #   The ID of the presentation to retrieve.
-        # @param [String] fields
-        #   Selector specifying which fields to include in a partial response.
         # @param [String] quota_user
         #   Available to use for quota purposes for server-side applications. Can be any
         #   arbitrary string assigned to a user, but should not exceed 40 characters.
+        # @param [String] fields
+        #   Selector specifying which fields to include in a partial response.
         # @param [Google::Apis::RequestOptions] options
         #   Request-specific options
         #
@@ -147,13 +148,13 @@ module Google
         # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
         # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
         # @raise [Google::Apis::AuthorizationError] Authorization is required
-        def get_presentation(presentation_id, fields: nil, quota_user: nil, options: nil, &block)
+        def get_presentation(presentation_id, quota_user: nil, fields: nil, options: nil, &block)
           command =  make_simple_command(:get, 'v1/presentations/{+presentationId}', options)
           command.response_representation = Google::Apis::SlidesV1::Presentation::Representation
           command.response_class = Google::Apis::SlidesV1::Presentation
           command.params['presentationId'] = presentation_id unless presentation_id.nil?
-          command.query['fields'] = fields unless fields.nil?
           command.query['quotaUser'] = quota_user unless quota_user.nil?
+          command.query['fields'] = fields unless fields.nil?
           execute_or_queue_command(command, &block)
         end
         
@@ -170,11 +171,11 @@ module Google
         #   The optional thumbnail image size.
         #   If you don't specify the size, the server chooses a default size of the
         #   image.
-        # @param [String] fields
-        #   Selector specifying which fields to include in a partial response.
         # @param [String] quota_user
         #   Available to use for quota purposes for server-side applications. Can be any
         #   arbitrary string assigned to a user, but should not exceed 40 characters.
+        # @param [String] fields
+        #   Selector specifying which fields to include in a partial response.
         # @param [Google::Apis::RequestOptions] options
         #   Request-specific options
         #
@@ -187,7 +188,7 @@ module Google
         # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
         # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
         # @raise [Google::Apis::AuthorizationError] Authorization is required
-        def get_presentation_page_thumbnail(presentation_id, page_object_id, thumbnail_properties_mime_type: nil, thumbnail_properties_thumbnail_size: nil, fields: nil, quota_user: nil, options: nil, &block)
+        def get_presentation_page_thumbnail(presentation_id, page_object_id, thumbnail_properties_mime_type: nil, thumbnail_properties_thumbnail_size: nil, quota_user: nil, fields: nil, options: nil, &block)
           command =  make_simple_command(:get, 'v1/presentations/{presentationId}/pages/{pageObjectId}/thumbnail', options)
           command.response_representation = Google::Apis::SlidesV1::Thumbnail::Representation
           command.response_class = Google::Apis::SlidesV1::Thumbnail
@@ -195,8 +196,8 @@ module Google
           command.params['pageObjectId'] = page_object_id unless page_object_id.nil?
           command.query['thumbnailProperties.mimeType'] = thumbnail_properties_mime_type unless thumbnail_properties_mime_type.nil?
           command.query['thumbnailProperties.thumbnailSize'] = thumbnail_properties_thumbnail_size unless thumbnail_properties_thumbnail_size.nil?
-          command.query['fields'] = fields unless fields.nil?
           command.query['quotaUser'] = quota_user unless quota_user.nil?
+          command.query['fields'] = fields unless fields.nil?
           execute_or_queue_command(command, &block)
         end
         
@@ -205,11 +206,11 @@ module Google
         #   The ID of the presentation to retrieve.
         # @param [String] page_object_id
         #   The object ID of the page to retrieve.
-        # @param [String] fields
-        #   Selector specifying which fields to include in a partial response.
         # @param [String] quota_user
         #   Available to use for quota purposes for server-side applications. Can be any
         #   arbitrary string assigned to a user, but should not exceed 40 characters.
+        # @param [String] fields
+        #   Selector specifying which fields to include in a partial response.
         # @param [Google::Apis::RequestOptions] options
         #   Request-specific options
         #
@@ -222,22 +223,22 @@ module Google
         # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
         # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
         # @raise [Google::Apis::AuthorizationError] Authorization is required
-        def get_presentation_page(presentation_id, page_object_id, fields: nil, quota_user: nil, options: nil, &block)
+        def get_presentation_page(presentation_id, page_object_id, quota_user: nil, fields: nil, options: nil, &block)
           command =  make_simple_command(:get, 'v1/presentations/{presentationId}/pages/{pageObjectId}', options)
           command.response_representation = Google::Apis::SlidesV1::Page::Representation
           command.response_class = Google::Apis::SlidesV1::Page
           command.params['presentationId'] = presentation_id unless presentation_id.nil?
           command.params['pageObjectId'] = page_object_id unless page_object_id.nil?
-          command.query['fields'] = fields unless fields.nil?
           command.query['quotaUser'] = quota_user unless quota_user.nil?
+          command.query['fields'] = fields unless fields.nil?
           execute_or_queue_command(command, &block)
         end
 
         protected
 
         def apply_command_defaults(command)
-          command.query['key'] = key unless key.nil?
           command.query['quotaUser'] = quota_user unless quota_user.nil?
+          command.query['key'] = key unless key.nil?
         end
       end
     end
diff --git a/generated/google/apis/sourcerepo_v1/classes.rb b/generated/google/apis/sourcerepo_v1/classes.rb
index 2687e4e42..221fa4f33 100644
--- a/generated/google/apis/sourcerepo_v1/classes.rb
+++ b/generated/google/apis/sourcerepo_v1/classes.rb
@@ -22,15 +22,48 @@ module Google
   module Apis
     module SourcerepoV1
       
-      # Response message for `TestIamPermissions` method.
-      class TestIamPermissionsResponse
+      # Request message for `SetIamPolicy` method.
+      class SetIamPolicyRequest
         include Google::Apis::Core::Hashable
       
-        # A subset of `TestPermissionsRequest.permissions` that the caller is
-        # allowed.
-        # Corresponds to the JSON property `permissions`
-        # @return [Array]
-        attr_accessor :permissions
+        # Defines an Identity and Access Management (IAM) policy. It is used to
+        # specify access control policies for Cloud Platform resources.
+        # A `Policy` consists of a list of `bindings`. A `Binding` binds a list of
+        # `members` to a `role`, where the members can be user accounts, Google groups,
+        # Google domains, and service accounts. A `role` is a named list of permissions
+        # defined by IAM.
+        # **Example**
+        # `
+        # "bindings": [
+        # `
+        # "role": "roles/owner",
+        # "members": [
+        # "user:mike@example.com",
+        # "group:admins@example.com",
+        # "domain:google.com",
+        # "serviceAccount:my-other-app@appspot.gserviceaccount.com",
+        # ]
+        # `,
+        # `
+        # "role": "roles/viewer",
+        # "members": ["user:sean@example.com"]
+        # `
+        # ]
+        # `
+        # For a description of IAM and its features, see the
+        # [IAM developer's guide](https://cloud.google.com/iam).
+        # Corresponds to the JSON property `policy`
+        # @return [Google::Apis::SourcerepoV1::Policy]
+        attr_accessor :policy
+      
+        # OPTIONAL: A FieldMask specifying which fields of the policy to modify. Only
+        # the fields in the mask will be modified. If no mask is provided, the
+        # following default mask is used:
+        # paths: "bindings, etag"
+        # This field is only used by Cloud IAM.
+        # Corresponds to the JSON property `updateMask`
+        # @return [String]
+        attr_accessor :update_mask
       
         def initialize(**args)
            update!(**args)
@@ -38,7 +71,156 @@ module Google
       
         # Update properties of this object
         def update!(**args)
-          @permissions = args[:permissions] if args.key?(:permissions)
+          @policy = args[:policy] if args.key?(:policy)
+          @update_mask = args[:update_mask] if args.key?(:update_mask)
+        end
+      end
+      
+      # Write a Cloud Audit log
+      class CloudAuditOptions
+        include Google::Apis::Core::Hashable
+      
+        def initialize(**args)
+           update!(**args)
+        end
+      
+        # Update properties of this object
+        def update!(**args)
+        end
+      end
+      
+      # Associates `members` with a `role`.
+      class Binding
+        include Google::Apis::Core::Hashable
+      
+        # Specifies the identities requesting access for a Cloud Platform resource.
+        # `members` can have the following values:
+        # * `allUsers`: A special identifier that represents anyone who is
+        # on the internet; with or without a Google account.
+        # * `allAuthenticatedUsers`: A special identifier that represents anyone
+        # who is authenticated with a Google account or a service account.
+        # * `user:`emailid``: An email address that represents a specific Google
+        # account. For example, `alice@gmail.com` or `joe@example.com`.
+        # * `serviceAccount:`emailid``: An email address that represents a service
+        # account. For example, `my-other-app@appspot.gserviceaccount.com`.
+        # * `group:`emailid``: An email address that represents a Google group.
+        # For example, `admins@example.com`.
+        # * `domain:`domain``: A Google Apps domain name that represents all the
+        # users of that domain. For example, `google.com` or `example.com`.
+        # Corresponds to the JSON property `members`
+        # @return [Array]
+        attr_accessor :members
+      
+        # Role that is assigned to `members`.
+        # For example, `roles/viewer`, `roles/editor`, or `roles/owner`.
+        # Required
+        # Corresponds to the JSON property `role`
+        # @return [String]
+        attr_accessor :role
+      
+        def initialize(**args)
+           update!(**args)
+        end
+      
+        # Update properties of this object
+        def update!(**args)
+          @members = args[:members] if args.key?(:members)
+          @role = args[:role] if args.key?(:role)
+        end
+      end
+      
+      # A generic empty message that you can re-use to avoid defining duplicated
+      # empty messages in your APIs. A typical example is to use it as the request
+      # or the response type of an API method. For instance:
+      # service Foo `
+      # rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty);
+      # `
+      # The JSON representation for `Empty` is empty JSON object ````.
+      class Empty
+        include Google::Apis::Core::Hashable
+      
+        def initialize(**args)
+           update!(**args)
+        end
+      
+        # Update properties of this object
+        def update!(**args)
+        end
+      end
+      
+      # Configuration to automatically mirror a repository from another
+      # hosting service, for example GitHub or BitBucket.
+      class MirrorConfig
+        include Google::Apis::Core::Hashable
+      
+        # ID of the webhook listening to updates to trigger mirroring.
+        # Removing this webook from the other hosting service will stop
+        # Google Cloud Source Repositories from receiving notifications,
+        # and thereby disabling mirroring.
+        # Corresponds to the JSON property `webhookId`
+        # @return [String]
+        attr_accessor :webhook_id
+      
+        # ID of the SSH deploy key at the other hosting service.
+        # Removing this key from the other service would deauthorize
+        # Google Cloud Source Repositories from mirroring.
+        # Corresponds to the JSON property `deployKeyId`
+        # @return [String]
+        attr_accessor :deploy_key_id
+      
+        # URL of the main repository at the other hosting service.
+        # Corresponds to the JSON property `url`
+        # @return [String]
+        attr_accessor :url
+      
+        def initialize(**args)
+           update!(**args)
+        end
+      
+        # Update properties of this object
+        def update!(**args)
+          @webhook_id = args[:webhook_id] if args.key?(:webhook_id)
+          @deploy_key_id = args[:deploy_key_id] if args.key?(:deploy_key_id)
+          @url = args[:url] if args.key?(:url)
+        end
+      end
+      
+      # A repository (or repo) is a Git repository storing versioned source content.
+      class Repo
+        include Google::Apis::Core::Hashable
+      
+        # Configuration to automatically mirror a repository from another
+        # hosting service, for example GitHub or BitBucket.
+        # Corresponds to the JSON property `mirrorConfig`
+        # @return [Google::Apis::SourcerepoV1::MirrorConfig]
+        attr_accessor :mirror_config
+      
+        # URL to clone the repository from Google Cloud Source Repositories.
+        # Corresponds to the JSON property `url`
+        # @return [String]
+        attr_accessor :url
+      
+        # The size in bytes of the repo.
+        # Corresponds to the JSON property `size`
+        # @return [Fixnum]
+        attr_accessor :size
+      
+        # Resource name of the repository, of the form
+        # `projects//repos/`.
+        # Corresponds to the JSON property `name`
+        # @return [String]
+        attr_accessor :name
+      
+        def initialize(**args)
+           update!(**args)
+        end
+      
+        # Update properties of this object
+        def update!(**args)
+          @mirror_config = args[:mirror_config] if args.key?(:mirror_config)
+          @url = args[:url] if args.key?(:url)
+          @size = args[:size] if args.key?(:size)
+          @name = args[:name] if args.key?(:name)
         end
       end
       
@@ -65,27 +247,16 @@ module Google
       class Condition
         include Google::Apis::Core::Hashable
       
-        # Trusted attributes supplied by any service that owns resources and uses
-        # the IAM system for access control.
-        # Corresponds to the JSON property `sys`
-        # @return [String]
-        attr_accessor :sys
-      
-        # DEPRECATED. Use 'values' instead.
-        # Corresponds to the JSON property `value`
-        # @return [String]
-        attr_accessor :value
+        # The objects of the condition. This is mutually exclusive with 'value'.
+        # Corresponds to the JSON property `values`
+        # @return [Array]
+        attr_accessor :values
       
         # Trusted attributes supplied by the IAM system.
         # Corresponds to the JSON property `iam`
         # @return [String]
         attr_accessor :iam
       
-        # The objects of the condition. This is mutually exclusive with 'value'.
-        # Corresponds to the JSON property `values`
-        # @return [Array]
-        attr_accessor :values
-      
         # An operator to apply the subject with.
         # Corresponds to the JSON property `op`
         # @return [String]
@@ -96,18 +267,49 @@ module Google
         # @return [String]
         attr_accessor :svc
       
+        # DEPRECATED. Use 'values' instead.
+        # Corresponds to the JSON property `value`
+        # @return [String]
+        attr_accessor :value
+      
+        # Trusted attributes supplied by any service that owns resources and uses
+        # the IAM system for access control.
+        # Corresponds to the JSON property `sys`
+        # @return [String]
+        attr_accessor :sys
+      
         def initialize(**args)
            update!(**args)
         end
       
         # Update properties of this object
         def update!(**args)
-          @sys = args[:sys] if args.key?(:sys)
-          @value = args[:value] if args.key?(:value)
-          @iam = args[:iam] if args.key?(:iam)
           @values = args[:values] if args.key?(:values)
+          @iam = args[:iam] if args.key?(:iam)
           @op = args[:op] if args.key?(:op)
           @svc = args[:svc] if args.key?(:svc)
+          @value = args[:value] if args.key?(:value)
+          @sys = args[:sys] if args.key?(:sys)
+        end
+      end
+      
+      # Response message for `TestIamPermissions` method.
+      class TestIamPermissionsResponse
+        include Google::Apis::Core::Hashable
+      
+        # A subset of `TestPermissionsRequest.permissions` that the caller is
+        # allowed.
+        # Corresponds to the JSON property `permissions`
+        # @return [Array]
+        attr_accessor :permissions
+      
+        def initialize(**args)
+           update!(**args)
+        end
+      
+        # Update properties of this object
+        def update!(**args)
+          @permissions = args[:permissions] if args.key?(:permissions)
         end
       end
       
@@ -156,6 +358,11 @@ module Google
       class AuditLogConfig
         include Google::Apis::Core::Hashable
       
+        # The log type that this config enables.
+        # Corresponds to the JSON property `logType`
+        # @return [String]
+        attr_accessor :log_type
+      
         # Specifies the identities that do not cause logging for this type of
         # permission.
         # Follows the same format of Binding.members.
@@ -163,19 +370,14 @@ module Google
         # @return [Array]
         attr_accessor :exempted_members
       
-        # The log type that this config enables.
-        # Corresponds to the JSON property `logType`
-        # @return [String]
-        attr_accessor :log_type
-      
         def initialize(**args)
            update!(**args)
         end
       
         # Update properties of this object
         def update!(**args)
-          @exempted_members = args[:exempted_members] if args.key?(:exempted_members)
           @log_type = args[:log_type] if args.key?(:log_type)
+          @exempted_members = args[:exempted_members] if args.key?(:exempted_members)
         end
       end
       
@@ -183,6 +385,24 @@ module Google
       class Rule
         include Google::Apis::Core::Hashable
       
+        # If one or more 'not_in' clauses are specified, the rule matches
+        # if the PRINCIPAL/AUTHORITY_SELECTOR is in none of the entries.
+        # The format for in and not_in entries is the same as for members in a
+        # Binding (see google/iam/v1/policy.proto).
+        # Corresponds to the JSON property `notIn`
+        # @return [Array]
+        attr_accessor :not_in
+      
+        # Human-readable description of the rule.
+        # Corresponds to the JSON property `description`
+        # @return [String]
+        attr_accessor :description
+      
+        # Additional restrictions that must be met
+        # Corresponds to the JSON property `conditions`
+        # @return [Array]
+        attr_accessor :conditions
+      
         # The config returned to callers of tech.iam.IAM.CheckPolicy for any entries
         # that match the LOG action.
         # Corresponds to the JSON property `logConfig`
@@ -207,37 +427,19 @@ module Google
         # @return [String]
         attr_accessor :action
       
-        # If one or more 'not_in' clauses are specified, the rule matches
-        # if the PRINCIPAL/AUTHORITY_SELECTOR is in none of the entries.
-        # The format for in and not_in entries is the same as for members in a
-        # Binding (see google/iam/v1/policy.proto).
-        # Corresponds to the JSON property `notIn`
-        # @return [Array]
-        attr_accessor :not_in
-      
-        # Human-readable description of the rule.
-        # Corresponds to the JSON property `description`
-        # @return [String]
-        attr_accessor :description
-      
-        # Additional restrictions that must be met
-        # Corresponds to the JSON property `conditions`
-        # @return [Array]
-        attr_accessor :conditions
-      
         def initialize(**args)
            update!(**args)
         end
       
         # Update properties of this object
         def update!(**args)
+          @not_in = args[:not_in] if args.key?(:not_in)
+          @description = args[:description] if args.key?(:description)
+          @conditions = args[:conditions] if args.key?(:conditions)
           @log_config = args[:log_config] if args.key?(:log_config)
           @in = args[:in] if args.key?(:in)
           @permissions = args[:permissions] if args.key?(:permissions)
           @action = args[:action] if args.key?(:action)
-          @not_in = args[:not_in] if args.key?(:not_in)
-          @description = args[:description] if args.key?(:description)
-          @conditions = args[:conditions] if args.key?(:conditions)
         end
       end
       
@@ -245,6 +447,11 @@ module Google
       class LogConfig
         include Google::Apis::Core::Hashable
       
+        # Options for counters
+        # Corresponds to the JSON property `counter`
+        # @return [Google::Apis::SourcerepoV1::CounterOptions]
+        attr_accessor :counter
+      
         # Write a Data Access (Gin) log
         # Corresponds to the JSON property `dataAccess`
         # @return [Google::Apis::SourcerepoV1::DataAccessOptions]
@@ -255,20 +462,15 @@ module Google
         # @return [Google::Apis::SourcerepoV1::CloudAuditOptions]
         attr_accessor :cloud_audit
       
-        # Options for counters
-        # Corresponds to the JSON property `counter`
-        # @return [Google::Apis::SourcerepoV1::CounterOptions]
-        attr_accessor :counter
-      
         def initialize(**args)
            update!(**args)
         end
       
         # Update properties of this object
         def update!(**args)
+          @counter = args[:counter] if args.key?(:counter)
           @data_access = args[:data_access] if args.key?(:data_access)
           @cloud_audit = args[:cloud_audit] if args.key?(:cloud_audit)
-          @counter = args[:counter] if args.key?(:counter)
         end
       end
       
@@ -323,20 +525,6 @@ module Google
       class Policy
         include Google::Apis::Core::Hashable
       
-        # `etag` is used for optimistic concurrency control as a way to help
-        # prevent simultaneous updates of a policy from overwriting each other.
-        # It is strongly suggested that systems make use of the `etag` in the
-        # read-modify-write cycle to perform policy updates in order to avoid race
-        # conditions: An `etag` is returned in the response to `getIamPolicy`, and
-        # systems are expected to put that etag in the request to `setIamPolicy` to
-        # ensure that their change will be applied to the same version of the policy.
-        # If no `etag` is provided in the call to `setIamPolicy`, then the existing
-        # policy is overwritten blindly.
-        # Corresponds to the JSON property `etag`
-        # NOTE: Values are automatically base64 encoded/decoded in the client library.
-        # @return [String]
-        attr_accessor :etag
-      
         # 
         # Corresponds to the JSON property `iamOwned`
         # @return [Boolean]
@@ -373,18 +561,32 @@ module Google
         # @return [Array]
         attr_accessor :bindings
       
+        # `etag` is used for optimistic concurrency control as a way to help
+        # prevent simultaneous updates of a policy from overwriting each other.
+        # It is strongly suggested that systems make use of the `etag` in the
+        # read-modify-write cycle to perform policy updates in order to avoid race
+        # conditions: An `etag` is returned in the response to `getIamPolicy`, and
+        # systems are expected to put that etag in the request to `setIamPolicy` to
+        # ensure that their change will be applied to the same version of the policy.
+        # If no `etag` is provided in the call to `setIamPolicy`, then the existing
+        # policy is overwritten blindly.
+        # Corresponds to the JSON property `etag`
+        # NOTE: Values are automatically base64 encoded/decoded in the client library.
+        # @return [String]
+        attr_accessor :etag
+      
         def initialize(**args)
            update!(**args)
         end
       
         # Update properties of this object
         def update!(**args)
-          @etag = args[:etag] if args.key?(:etag)
           @iam_owned = args[:iam_owned] if args.key?(:iam_owned)
           @rules = args[:rules] if args.key?(:rules)
           @version = args[:version] if args.key?(:version)
           @audit_configs = args[:audit_configs] if args.key?(:audit_configs)
           @bindings = args[:bindings] if args.key?(:bindings)
+          @etag = args[:etag] if args.key?(:etag)
         end
       end
       
@@ -480,208 +682,6 @@ module Google
           @service = args[:service] if args.key?(:service)
         end
       end
-      
-      # Request message for `SetIamPolicy` method.
-      class SetIamPolicyRequest
-        include Google::Apis::Core::Hashable
-      
-        # OPTIONAL: A FieldMask specifying which fields of the policy to modify. Only
-        # the fields in the mask will be modified. If no mask is provided, the
-        # following default mask is used:
-        # paths: "bindings, etag"
-        # This field is only used by Cloud IAM.
-        # Corresponds to the JSON property `updateMask`
-        # @return [String]
-        attr_accessor :update_mask
-      
-        # Defines an Identity and Access Management (IAM) policy. It is used to
-        # specify access control policies for Cloud Platform resources.
-        # A `Policy` consists of a list of `bindings`. A `Binding` binds a list of
-        # `members` to a `role`, where the members can be user accounts, Google groups,
-        # Google domains, and service accounts. A `role` is a named list of permissions
-        # defined by IAM.
-        # **Example**
-        # `
-        # "bindings": [
-        # `
-        # "role": "roles/owner",
-        # "members": [
-        # "user:mike@example.com",
-        # "group:admins@example.com",
-        # "domain:google.com",
-        # "serviceAccount:my-other-app@appspot.gserviceaccount.com",
-        # ]
-        # `,
-        # `
-        # "role": "roles/viewer",
-        # "members": ["user:sean@example.com"]
-        # `
-        # ]
-        # `
-        # For a description of IAM and its features, see the
-        # [IAM developer's guide](https://cloud.google.com/iam).
-        # Corresponds to the JSON property `policy`
-        # @return [Google::Apis::SourcerepoV1::Policy]
-        attr_accessor :policy
-      
-        def initialize(**args)
-           update!(**args)
-        end
-      
-        # Update properties of this object
-        def update!(**args)
-          @update_mask = args[:update_mask] if args.key?(:update_mask)
-          @policy = args[:policy] if args.key?(:policy)
-        end
-      end
-      
-      # Write a Cloud Audit log
-      class CloudAuditOptions
-        include Google::Apis::Core::Hashable
-      
-        def initialize(**args)
-           update!(**args)
-        end
-      
-        # Update properties of this object
-        def update!(**args)
-        end
-      end
-      
-      # Associates `members` with a `role`.
-      class Binding
-        include Google::Apis::Core::Hashable
-      
-        # Specifies the identities requesting access for a Cloud Platform resource.
-        # `members` can have the following values:
-        # * `allUsers`: A special identifier that represents anyone who is
-        # on the internet; with or without a Google account.
-        # * `allAuthenticatedUsers`: A special identifier that represents anyone
-        # who is authenticated with a Google account or a service account.
-        # * `user:`emailid``: An email address that represents a specific Google
-        # account. For example, `alice@gmail.com` or `joe@example.com`.
-        # * `serviceAccount:`emailid``: An email address that represents a service
-        # account. For example, `my-other-app@appspot.gserviceaccount.com`.
-        # * `group:`emailid``: An email address that represents a Google group.
-        # For example, `admins@example.com`.
-        # * `domain:`domain``: A Google Apps domain name that represents all the
-        # users of that domain. For example, `google.com` or `example.com`.
-        # Corresponds to the JSON property `members`
-        # @return [Array]
-        attr_accessor :members
-      
-        # Role that is assigned to `members`.
-        # For example, `roles/viewer`, `roles/editor`, or `roles/owner`.
-        # Required
-        # Corresponds to the JSON property `role`
-        # @return [String]
-        attr_accessor :role
-      
-        def initialize(**args)
-           update!(**args)
-        end
-      
-        # Update properties of this object
-        def update!(**args)
-          @members = args[:members] if args.key?(:members)
-          @role = args[:role] if args.key?(:role)
-        end
-      end
-      
-      # A generic empty message that you can re-use to avoid defining duplicated
-      # empty messages in your APIs. A typical example is to use it as the request
-      # or the response type of an API method. For instance:
-      # service Foo `
-      # rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty);
-      # `
-      # The JSON representation for `Empty` is empty JSON object ````.
-      class Empty
-        include Google::Apis::Core::Hashable
-      
-        def initialize(**args)
-           update!(**args)
-        end
-      
-        # Update properties of this object
-        def update!(**args)
-        end
-      end
-      
-      # Configuration to automatically mirror a repository from another
-      # hosting service, for example GitHub or BitBucket.
-      class MirrorConfig
-        include Google::Apis::Core::Hashable
-      
-        # URL of the main repository at the other hosting service.
-        # Corresponds to the JSON property `url`
-        # @return [String]
-        attr_accessor :url
-      
-        # ID of the webhook listening to updates to trigger mirroring.
-        # Removing this webook from the other hosting service will stop
-        # Google Cloud Source Repositories from receiving notifications,
-        # and thereby disabling mirroring.
-        # Corresponds to the JSON property `webhookId`
-        # @return [String]
-        attr_accessor :webhook_id
-      
-        # ID of the SSH deploy key at the other hosting service.
-        # Removing this key from the other service would deauthorize
-        # Google Cloud Source Repositories from mirroring.
-        # Corresponds to the JSON property `deployKeyId`
-        # @return [String]
-        attr_accessor :deploy_key_id
-      
-        def initialize(**args)
-           update!(**args)
-        end
-      
-        # Update properties of this object
-        def update!(**args)
-          @url = args[:url] if args.key?(:url)
-          @webhook_id = args[:webhook_id] if args.key?(:webhook_id)
-          @deploy_key_id = args[:deploy_key_id] if args.key?(:deploy_key_id)
-        end
-      end
-      
-      # A repository (or repo) is a Git repository storing versioned source content.
-      class Repo
-        include Google::Apis::Core::Hashable
-      
-        # URL to clone the repository from Google Cloud Source Repositories.
-        # Corresponds to the JSON property `url`
-        # @return [String]
-        attr_accessor :url
-      
-        # The size in bytes of the repo.
-        # Corresponds to the JSON property `size`
-        # @return [String]
-        attr_accessor :size
-      
-        # Resource name of the repository, of the form
-        # `projects//repos/`.
-        # Corresponds to the JSON property `name`
-        # @return [String]
-        attr_accessor :name
-      
-        # Configuration to automatically mirror a repository from another
-        # hosting service, for example GitHub or BitBucket.
-        # Corresponds to the JSON property `mirrorConfig`
-        # @return [Google::Apis::SourcerepoV1::MirrorConfig]
-        attr_accessor :mirror_config
-      
-        def initialize(**args)
-           update!(**args)
-        end
-      
-        # Update properties of this object
-        def update!(**args)
-          @url = args[:url] if args.key?(:url)
-          @size = args[:size] if args.key?(:size)
-          @name = args[:name] if args.key?(:name)
-          @mirror_config = args[:mirror_config] if args.key?(:mirror_config)
-        end
-      end
     end
   end
 end
diff --git a/generated/google/apis/sourcerepo_v1/representations.rb b/generated/google/apis/sourcerepo_v1/representations.rb
index a2566da57..4a1e6f634 100644
--- a/generated/google/apis/sourcerepo_v1/representations.rb
+++ b/generated/google/apis/sourcerepo_v1/representations.rb
@@ -22,72 +22,6 @@ module Google
   module Apis
     module SourcerepoV1
       
-      class TestIamPermissionsResponse
-        class Representation < Google::Apis::Core::JsonRepresentation; end
-      
-        include Google::Apis::Core::JsonObjectSupport
-      end
-      
-      class ListReposResponse
-        class Representation < Google::Apis::Core::JsonRepresentation; end
-      
-        include Google::Apis::Core::JsonObjectSupport
-      end
-      
-      class Condition
-        class Representation < Google::Apis::Core::JsonRepresentation; end
-      
-        include Google::Apis::Core::JsonObjectSupport
-      end
-      
-      class CounterOptions
-        class Representation < Google::Apis::Core::JsonRepresentation; end
-      
-        include Google::Apis::Core::JsonObjectSupport
-      end
-      
-      class AuditLogConfig
-        class Representation < Google::Apis::Core::JsonRepresentation; end
-      
-        include Google::Apis::Core::JsonObjectSupport
-      end
-      
-      class Rule
-        class Representation < Google::Apis::Core::JsonRepresentation; end
-      
-        include Google::Apis::Core::JsonObjectSupport
-      end
-      
-      class LogConfig
-        class Representation < Google::Apis::Core::JsonRepresentation; end
-      
-        include Google::Apis::Core::JsonObjectSupport
-      end
-      
-      class TestIamPermissionsRequest
-        class Representation < Google::Apis::Core::JsonRepresentation; end
-      
-        include Google::Apis::Core::JsonObjectSupport
-      end
-      
-      class Policy
-        class Representation < Google::Apis::Core::JsonRepresentation; end
-      
-        include Google::Apis::Core::JsonObjectSupport
-      end
-      
-      class DataAccessOptions
-        class Representation < Google::Apis::Core::JsonRepresentation; end
-      
-        include Google::Apis::Core::JsonObjectSupport
-      end
-      
-      class AuditConfig
-        class Representation < Google::Apis::Core::JsonRepresentation; end
-      
-        include Google::Apis::Core::JsonObjectSupport
-      end
-      
       class SetIamPolicyRequest
         class Representation < Google::Apis::Core::JsonRepresentation; end
       
@@ -124,120 +58,78 @@ module Google
         include Google::Apis::Core::JsonObjectSupport
       end
       
-      class TestIamPermissionsResponse
-        # @private
-        class Representation < Google::Apis::Core::JsonRepresentation
-          collection :permissions, as: 'permissions'
-        end
-      end
-      
       class ListReposResponse
-        # @private
-        class Representation < Google::Apis::Core::JsonRepresentation
-          collection :repos, as: 'repos', class: Google::Apis::SourcerepoV1::Repo, decorator: Google::Apis::SourcerepoV1::Repo::Representation
+        class Representation < Google::Apis::Core::JsonRepresentation; end
       
-        end
+        include Google::Apis::Core::JsonObjectSupport
       end
       
       class Condition
-        # @private
-        class Representation < Google::Apis::Core::JsonRepresentation
-          property :sys, as: 'sys'
-          property :value, as: 'value'
-          property :iam, as: 'iam'
-          collection :values, as: 'values'
-          property :op, as: 'op'
-          property :svc, as: 'svc'
-        end
+        class Representation < Google::Apis::Core::JsonRepresentation; end
+      
+        include Google::Apis::Core::JsonObjectSupport
+      end
+      
+      class TestIamPermissionsResponse
+        class Representation < Google::Apis::Core::JsonRepresentation; end
+      
+        include Google::Apis::Core::JsonObjectSupport
       end
       
       class CounterOptions
-        # @private
-        class Representation < Google::Apis::Core::JsonRepresentation
-          property :metric, as: 'metric'
-          property :field, as: 'field'
-        end
+        class Representation < Google::Apis::Core::JsonRepresentation; end
+      
+        include Google::Apis::Core::JsonObjectSupport
       end
       
       class AuditLogConfig
-        # @private
-        class Representation < Google::Apis::Core::JsonRepresentation
-          collection :exempted_members, as: 'exemptedMembers'
-          property :log_type, as: 'logType'
-        end
+        class Representation < Google::Apis::Core::JsonRepresentation; end
+      
+        include Google::Apis::Core::JsonObjectSupport
       end
       
       class Rule
-        # @private
-        class Representation < Google::Apis::Core::JsonRepresentation
-          collection :log_config, as: 'logConfig', class: Google::Apis::SourcerepoV1::LogConfig, decorator: Google::Apis::SourcerepoV1::LogConfig::Representation
+        class Representation < Google::Apis::Core::JsonRepresentation; end
       
-          collection :in, as: 'in'
-          collection :permissions, as: 'permissions'
-          property :action, as: 'action'
-          collection :not_in, as: 'notIn'
-          property :description, as: 'description'
-          collection :conditions, as: 'conditions', class: Google::Apis::SourcerepoV1::Condition, decorator: Google::Apis::SourcerepoV1::Condition::Representation
-      
-        end
+        include Google::Apis::Core::JsonObjectSupport
       end
       
       class LogConfig
-        # @private
-        class Representation < Google::Apis::Core::JsonRepresentation
-          property :data_access, as: 'dataAccess', class: Google::Apis::SourcerepoV1::DataAccessOptions, decorator: Google::Apis::SourcerepoV1::DataAccessOptions::Representation
+        class Representation < Google::Apis::Core::JsonRepresentation; end
       
-          property :cloud_audit, as: 'cloudAudit', class: Google::Apis::SourcerepoV1::CloudAuditOptions, decorator: Google::Apis::SourcerepoV1::CloudAuditOptions::Representation
-      
-          property :counter, as: 'counter', class: Google::Apis::SourcerepoV1::CounterOptions, decorator: Google::Apis::SourcerepoV1::CounterOptions::Representation
-      
-        end
+        include Google::Apis::Core::JsonObjectSupport
       end
       
       class TestIamPermissionsRequest
-        # @private
-        class Representation < Google::Apis::Core::JsonRepresentation
-          collection :permissions, as: 'permissions'
-        end
+        class Representation < Google::Apis::Core::JsonRepresentation; end
+      
+        include Google::Apis::Core::JsonObjectSupport
       end
       
       class Policy
-        # @private
-        class Representation < Google::Apis::Core::JsonRepresentation
-          property :etag, :base64 => true, as: 'etag'
-          property :iam_owned, as: 'iamOwned'
-          collection :rules, as: 'rules', class: Google::Apis::SourcerepoV1::Rule, decorator: Google::Apis::SourcerepoV1::Rule::Representation
+        class Representation < Google::Apis::Core::JsonRepresentation; end
       
-          property :version, as: 'version'
-          collection :audit_configs, as: 'auditConfigs', class: Google::Apis::SourcerepoV1::AuditConfig, decorator: Google::Apis::SourcerepoV1::AuditConfig::Representation
-      
-          collection :bindings, as: 'bindings', class: Google::Apis::SourcerepoV1::Binding, decorator: Google::Apis::SourcerepoV1::Binding::Representation
-      
-        end
+        include Google::Apis::Core::JsonObjectSupport
       end
       
       class DataAccessOptions
-        # @private
-        class Representation < Google::Apis::Core::JsonRepresentation
-        end
+        class Representation < Google::Apis::Core::JsonRepresentation; end
+      
+        include Google::Apis::Core::JsonObjectSupport
       end
       
       class AuditConfig
-        # @private
-        class Representation < Google::Apis::Core::JsonRepresentation
-          collection :audit_log_configs, as: 'auditLogConfigs', class: Google::Apis::SourcerepoV1::AuditLogConfig, decorator: Google::Apis::SourcerepoV1::AuditLogConfig::Representation
+        class Representation < Google::Apis::Core::JsonRepresentation; end
       
-          collection :exempted_members, as: 'exemptedMembers'
-          property :service, as: 'service'
-        end
+        include Google::Apis::Core::JsonObjectSupport
       end
       
       class SetIamPolicyRequest
         # @private
         class Representation < Google::Apis::Core::JsonRepresentation
-          property :update_mask, as: 'updateMask'
           property :policy, as: 'policy', class: Google::Apis::SourcerepoV1::Policy, decorator: Google::Apis::SourcerepoV1::Policy::Representation
       
+          property :update_mask, as: 'updateMask'
         end
       end
       
@@ -264,20 +156,128 @@ module Google
       class MirrorConfig
         # @private
         class Representation < Google::Apis::Core::JsonRepresentation
-          property :url, as: 'url'
           property :webhook_id, as: 'webhookId'
           property :deploy_key_id, as: 'deployKeyId'
+          property :url, as: 'url'
         end
       end
       
       class Repo
         # @private
         class Representation < Google::Apis::Core::JsonRepresentation
-          property :url, as: 'url'
-          property :size, as: 'size'
-          property :name, as: 'name'
           property :mirror_config, as: 'mirrorConfig', class: Google::Apis::SourcerepoV1::MirrorConfig, decorator: Google::Apis::SourcerepoV1::MirrorConfig::Representation
       
+          property :url, as: 'url'
+          property :size, :numeric_string => true, as: 'size'
+          property :name, as: 'name'
+        end
+      end
+      
+      class ListReposResponse
+        # @private
+        class Representation < Google::Apis::Core::JsonRepresentation
+          collection :repos, as: 'repos', class: Google::Apis::SourcerepoV1::Repo, decorator: Google::Apis::SourcerepoV1::Repo::Representation
+      
+        end
+      end
+      
+      class Condition
+        # @private
+        class Representation < Google::Apis::Core::JsonRepresentation
+          collection :values, as: 'values'
+          property :iam, as: 'iam'
+          property :op, as: 'op'
+          property :svc, as: 'svc'
+          property :value, as: 'value'
+          property :sys, as: 'sys'
+        end
+      end
+      
+      class TestIamPermissionsResponse
+        # @private
+        class Representation < Google::Apis::Core::JsonRepresentation
+          collection :permissions, as: 'permissions'
+        end
+      end
+      
+      class CounterOptions
+        # @private
+        class Representation < Google::Apis::Core::JsonRepresentation
+          property :metric, as: 'metric'
+          property :field, as: 'field'
+        end
+      end
+      
+      class AuditLogConfig
+        # @private
+        class Representation < Google::Apis::Core::JsonRepresentation
+          property :log_type, as: 'logType'
+          collection :exempted_members, as: 'exemptedMembers'
+        end
+      end
+      
+      class Rule
+        # @private
+        class Representation < Google::Apis::Core::JsonRepresentation
+          collection :not_in, as: 'notIn'
+          property :description, as: 'description'
+          collection :conditions, as: 'conditions', class: Google::Apis::SourcerepoV1::Condition, decorator: Google::Apis::SourcerepoV1::Condition::Representation
+      
+          collection :log_config, as: 'logConfig', class: Google::Apis::SourcerepoV1::LogConfig, decorator: Google::Apis::SourcerepoV1::LogConfig::Representation
+      
+          collection :in, as: 'in'
+          collection :permissions, as: 'permissions'
+          property :action, as: 'action'
+        end
+      end
+      
+      class LogConfig
+        # @private
+        class Representation < Google::Apis::Core::JsonRepresentation
+          property :counter, as: 'counter', class: Google::Apis::SourcerepoV1::CounterOptions, decorator: Google::Apis::SourcerepoV1::CounterOptions::Representation
+      
+          property :data_access, as: 'dataAccess', class: Google::Apis::SourcerepoV1::DataAccessOptions, decorator: Google::Apis::SourcerepoV1::DataAccessOptions::Representation
+      
+          property :cloud_audit, as: 'cloudAudit', class: Google::Apis::SourcerepoV1::CloudAuditOptions, decorator: Google::Apis::SourcerepoV1::CloudAuditOptions::Representation
+      
+        end
+      end
+      
+      class TestIamPermissionsRequest
+        # @private
+        class Representation < Google::Apis::Core::JsonRepresentation
+          collection :permissions, as: 'permissions'
+        end
+      end
+      
+      class Policy
+        # @private
+        class Representation < Google::Apis::Core::JsonRepresentation
+          property :iam_owned, as: 'iamOwned'
+          collection :rules, as: 'rules', class: Google::Apis::SourcerepoV1::Rule, decorator: Google::Apis::SourcerepoV1::Rule::Representation
+      
+          property :version, as: 'version'
+          collection :audit_configs, as: 'auditConfigs', class: Google::Apis::SourcerepoV1::AuditConfig, decorator: Google::Apis::SourcerepoV1::AuditConfig::Representation
+      
+          collection :bindings, as: 'bindings', class: Google::Apis::SourcerepoV1::Binding, decorator: Google::Apis::SourcerepoV1::Binding::Representation
+      
+          property :etag, :base64 => true, as: 'etag'
+        end
+      end
+      
+      class DataAccessOptions
+        # @private
+        class Representation < Google::Apis::Core::JsonRepresentation
+        end
+      end
+      
+      class AuditConfig
+        # @private
+        class Representation < Google::Apis::Core::JsonRepresentation
+          collection :audit_log_configs, as: 'auditLogConfigs', class: Google::Apis::SourcerepoV1::AuditLogConfig, decorator: Google::Apis::SourcerepoV1::AuditLogConfig::Representation
+      
+          collection :exempted_members, as: 'exemptedMembers'
+          property :service, as: 'service'
         end
       end
     end
diff --git a/generated/google/apis/sourcerepo_v1/service.rb b/generated/google/apis/sourcerepo_v1/service.rb
index 7d1d7deb5..3d0aed4d1 100644
--- a/generated/google/apis/sourcerepo_v1/service.rb
+++ b/generated/google/apis/sourcerepo_v1/service.rb
@@ -32,153 +32,19 @@ module Google
       #
       # @see https://cloud.google.com/eap/cloud-repositories/cloud-sourcerepo-api
       class CloudSourceRepositoriesService < Google::Apis::Core::BaseService
-        # @return [String]
-        #  Available to use for quota purposes for server-side applications. Can be any
-        #  arbitrary string assigned to a user, but should not exceed 40 characters.
-        attr_accessor :quota_user
-
         # @return [String]
         #  API key. Your API key identifies your project and provides you with API access,
         #  quota, and reports. Required unless you provide an OAuth 2.0 token.
         attr_accessor :key
 
+        # @return [String]
+        #  Available to use for quota purposes for server-side applications. Can be any
+        #  arbitrary string assigned to a user, but should not exceed 40 characters.
+        attr_accessor :quota_user
+
         def initialize
           super('https://sourcerepo.googleapis.com/', '')
-        end
-        
-        # Creates a repo in the given project with the given name..
-        # If the named repository already exists, `CreateRepo` returns
-        # `ALREADY_EXISTS`.
-        # @param [String] parent
-        #   The project in which to create the repo. Values are of the form
-        #   `projects/`.
-        # @param [Google::Apis::SourcerepoV1::Repo] repo_object
-        # @param [String] quota_user
-        #   Available to use for quota purposes for server-side applications. Can be any
-        #   arbitrary string assigned to a user, but should not exceed 40 characters.
-        # @param [String] fields
-        #   Selector specifying which fields to include in a partial response.
-        # @param [Google::Apis::RequestOptions] options
-        #   Request-specific options
-        #
-        # @yield [result, err] Result & error if block supplied
-        # @yieldparam result [Google::Apis::SourcerepoV1::Repo] parsed result object
-        # @yieldparam err [StandardError] error object if request failed
-        #
-        # @return [Google::Apis::SourcerepoV1::Repo]
-        #
-        # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
-        # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
-        # @raise [Google::Apis::AuthorizationError] Authorization is required
-        def create_project_repo(parent, repo_object = nil, quota_user: nil, fields: nil, options: nil, &block)
-          command =  make_simple_command(:post, 'v1/{+parent}/repos', options)
-          command.request_representation = Google::Apis::SourcerepoV1::Repo::Representation
-          command.request_object = repo_object
-          command.response_representation = Google::Apis::SourcerepoV1::Repo::Representation
-          command.response_class = Google::Apis::SourcerepoV1::Repo
-          command.params['parent'] = parent unless parent.nil?
-          command.query['quotaUser'] = quota_user unless quota_user.nil?
-          command.query['fields'] = fields unless fields.nil?
-          execute_or_queue_command(command, &block)
-        end
-        
-        # Sets the access control policy on the specified resource. Replaces any
-        # existing policy.
-        # @param [String] resource
-        #   REQUIRED: The resource for which the policy is being specified.
-        #   See the operation documentation for the appropriate value for this field.
-        # @param [Google::Apis::SourcerepoV1::SetIamPolicyRequest] set_iam_policy_request_object
-        # @param [String] quota_user
-        #   Available to use for quota purposes for server-side applications. Can be any
-        #   arbitrary string assigned to a user, but should not exceed 40 characters.
-        # @param [String] fields
-        #   Selector specifying which fields to include in a partial response.
-        # @param [Google::Apis::RequestOptions] options
-        #   Request-specific options
-        #
-        # @yield [result, err] Result & error if block supplied
-        # @yieldparam result [Google::Apis::SourcerepoV1::Policy] parsed result object
-        # @yieldparam err [StandardError] error object if request failed
-        #
-        # @return [Google::Apis::SourcerepoV1::Policy]
-        #
-        # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
-        # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
-        # @raise [Google::Apis::AuthorizationError] Authorization is required
-        def set_repo_iam_policy(resource, set_iam_policy_request_object = nil, quota_user: nil, fields: nil, options: nil, &block)
-          command =  make_simple_command(:post, 'v1/{+resource}:setIamPolicy', options)
-          command.request_representation = Google::Apis::SourcerepoV1::SetIamPolicyRequest::Representation
-          command.request_object = set_iam_policy_request_object
-          command.response_representation = Google::Apis::SourcerepoV1::Policy::Representation
-          command.response_class = Google::Apis::SourcerepoV1::Policy
-          command.params['resource'] = resource unless resource.nil?
-          command.query['quotaUser'] = quota_user unless quota_user.nil?
-          command.query['fields'] = fields unless fields.nil?
-          execute_or_queue_command(command, &block)
-        end
-        
-        # Gets the access control policy for a resource.
-        # Returns an empty policy if the resource exists and does not have a policy
-        # set.
-        # @param [String] resource
-        #   REQUIRED: The resource for which the policy is being requested.
-        #   See the operation documentation for the appropriate value for this field.
-        # @param [String] quota_user
-        #   Available to use for quota purposes for server-side applications. Can be any
-        #   arbitrary string assigned to a user, but should not exceed 40 characters.
-        # @param [String] fields
-        #   Selector specifying which fields to include in a partial response.
-        # @param [Google::Apis::RequestOptions] options
-        #   Request-specific options
-        #
-        # @yield [result, err] Result & error if block supplied
-        # @yieldparam result [Google::Apis::SourcerepoV1::Policy] parsed result object
-        # @yieldparam err [StandardError] error object if request failed
-        #
-        # @return [Google::Apis::SourcerepoV1::Policy]
-        #
-        # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
-        # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
-        # @raise [Google::Apis::AuthorizationError] Authorization is required
-        def get_project_repo_iam_policy(resource, quota_user: nil, fields: nil, options: nil, &block)
-          command =  make_simple_command(:get, 'v1/{+resource}:getIamPolicy', options)
-          command.response_representation = Google::Apis::SourcerepoV1::Policy::Representation
-          command.response_class = Google::Apis::SourcerepoV1::Policy
-          command.params['resource'] = resource unless resource.nil?
-          command.query['quotaUser'] = quota_user unless quota_user.nil?
-          command.query['fields'] = fields unless fields.nil?
-          execute_or_queue_command(command, &block)
-        end
-        
-        # Returns information about a repo.
-        # @param [String] name
-        #   The name of the requested repository. Values are of the form
-        #   `projects//repos/`.
-        # @param [String] quota_user
-        #   Available to use for quota purposes for server-side applications. Can be any
-        #   arbitrary string assigned to a user, but should not exceed 40 characters.
-        # @param [String] fields
-        #   Selector specifying which fields to include in a partial response.
-        # @param [Google::Apis::RequestOptions] options
-        #   Request-specific options
-        #
-        # @yield [result, err] Result & error if block supplied
-        # @yieldparam result [Google::Apis::SourcerepoV1::Repo] parsed result object
-        # @yieldparam err [StandardError] error object if request failed
-        #
-        # @return [Google::Apis::SourcerepoV1::Repo]
-        #
-        # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
-        # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
-        # @raise [Google::Apis::AuthorizationError] Authorization is required
-        def get_project_repo(name, quota_user: nil, fields: nil, options: nil, &block)
-          command =  make_simple_command(:get, 'v1/{+name}', options)
-          command.response_representation = Google::Apis::SourcerepoV1::Repo::Representation
-          command.response_class = Google::Apis::SourcerepoV1::Repo
-          command.params['name'] = name unless name.nil?
-          command.query['quotaUser'] = quota_user unless quota_user.nil?
-          command.query['fields'] = fields unless fields.nil?
-          execute_or_queue_command(command, &block)
+          @batch_path = 'batch'
         end
         
         # Returns permissions that a caller has on the specified resource.
@@ -188,11 +54,11 @@ module Google
         #   REQUIRED: The resource for which the policy detail is being requested.
         #   See the operation documentation for the appropriate value for this field.
         # @param [Google::Apis::SourcerepoV1::TestIamPermissionsRequest] test_iam_permissions_request_object
+        # @param [String] fields
+        #   Selector specifying which fields to include in a partial response.
         # @param [String] quota_user
         #   Available to use for quota purposes for server-side applications. Can be any
         #   arbitrary string assigned to a user, but should not exceed 40 characters.
-        # @param [String] fields
-        #   Selector specifying which fields to include in a partial response.
         # @param [Google::Apis::RequestOptions] options
         #   Request-specific options
         #
@@ -205,15 +71,15 @@ module Google
         # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
         # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
         # @raise [Google::Apis::AuthorizationError] Authorization is required
-        def test_repo_iam_permissions(resource, test_iam_permissions_request_object = nil, quota_user: nil, fields: nil, options: nil, &block)
+        def test_repo_iam_permissions(resource, test_iam_permissions_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
           command =  make_simple_command(:post, 'v1/{+resource}:testIamPermissions', options)
           command.request_representation = Google::Apis::SourcerepoV1::TestIamPermissionsRequest::Representation
           command.request_object = test_iam_permissions_request_object
           command.response_representation = Google::Apis::SourcerepoV1::TestIamPermissionsResponse::Representation
           command.response_class = Google::Apis::SourcerepoV1::TestIamPermissionsResponse
           command.params['resource'] = resource unless resource.nil?
-          command.query['quotaUser'] = quota_user unless quota_user.nil?
           command.query['fields'] = fields unless fields.nil?
+          command.query['quotaUser'] = quota_user unless quota_user.nil?
           execute_or_queue_command(command, &block)
         end
         
@@ -221,11 +87,11 @@ module Google
         # @param [String] name
         #   The name of the repo to delete. Values are of the form
         #   `projects//repos/`.
+        # @param [String] fields
+        #   Selector specifying which fields to include in a partial response.
         # @param [String] quota_user
         #   Available to use for quota purposes for server-side applications. Can be any
         #   arbitrary string assigned to a user, but should not exceed 40 characters.
-        # @param [String] fields
-        #   Selector specifying which fields to include in a partial response.
         # @param [Google::Apis::RequestOptions] options
         #   Request-specific options
         #
@@ -238,13 +104,13 @@ module Google
         # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
         # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
         # @raise [Google::Apis::AuthorizationError] Authorization is required
-        def delete_project_repo(name, quota_user: nil, fields: nil, options: nil, &block)
+        def delete_project_repo(name, fields: nil, quota_user: nil, options: nil, &block)
           command =  make_simple_command(:delete, 'v1/{+name}', options)
           command.response_representation = Google::Apis::SourcerepoV1::Empty::Representation
           command.response_class = Google::Apis::SourcerepoV1::Empty
           command.params['name'] = name unless name.nil?
-          command.query['quotaUser'] = quota_user unless quota_user.nil?
           command.query['fields'] = fields unless fields.nil?
+          command.query['quotaUser'] = quota_user unless quota_user.nil?
           execute_or_queue_command(command, &block)
         end
         
@@ -252,11 +118,11 @@ module Google
         # @param [String] name
         #   The project ID whose repos should be listed. Values are of the form
         #   `projects/`.
+        # @param [String] fields
+        #   Selector specifying which fields to include in a partial response.
         # @param [String] quota_user
         #   Available to use for quota purposes for server-side applications. Can be any
         #   arbitrary string assigned to a user, but should not exceed 40 characters.
-        # @param [String] fields
-        #   Selector specifying which fields to include in a partial response.
         # @param [Google::Apis::RequestOptions] options
         #   Request-specific options
         #
@@ -269,21 +135,156 @@ module Google
         # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
         # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
         # @raise [Google::Apis::AuthorizationError] Authorization is required
-        def list_project_repos(name, quota_user: nil, fields: nil, options: nil, &block)
+        def list_project_repos(name, fields: nil, quota_user: nil, options: nil, &block)
           command =  make_simple_command(:get, 'v1/{+name}/repos', options)
           command.response_representation = Google::Apis::SourcerepoV1::ListReposResponse::Representation
           command.response_class = Google::Apis::SourcerepoV1::ListReposResponse
           command.params['name'] = name unless name.nil?
-          command.query['quotaUser'] = quota_user unless quota_user.nil?
           command.query['fields'] = fields unless fields.nil?
+          command.query['quotaUser'] = quota_user unless quota_user.nil?
+          execute_or_queue_command(command, &block)
+        end
+        
+        # Creates a repo in the given project with the given name..
+        # If the named repository already exists, `CreateRepo` returns
+        # `ALREADY_EXISTS`.
+        # @param [String] parent
+        #   The project in which to create the repo. Values are of the form
+        #   `projects/`.
+        # @param [Google::Apis::SourcerepoV1::Repo] repo_object
+        # @param [String] fields
+        #   Selector specifying which fields to include in a partial response.
+        # @param [String] quota_user
+        #   Available to use for quota purposes for server-side applications. Can be any
+        #   arbitrary string assigned to a user, but should not exceed 40 characters.
+        # @param [Google::Apis::RequestOptions] options
+        #   Request-specific options
+        #
+        # @yield [result, err] Result & error if block supplied
+        # @yieldparam result [Google::Apis::SourcerepoV1::Repo] parsed result object
+        # @yieldparam err [StandardError] error object if request failed
+        #
+        # @return [Google::Apis::SourcerepoV1::Repo]
+        #
+        # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
+        # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
+        # @raise [Google::Apis::AuthorizationError] Authorization is required
+        def create_project_repo(parent, repo_object = nil, fields: nil, quota_user: nil, options: nil, &block)
+          command =  make_simple_command(:post, 'v1/{+parent}/repos', options)
+          command.request_representation = Google::Apis::SourcerepoV1::Repo::Representation
+          command.request_object = repo_object
+          command.response_representation = Google::Apis::SourcerepoV1::Repo::Representation
+          command.response_class = Google::Apis::SourcerepoV1::Repo
+          command.params['parent'] = parent unless parent.nil?
+          command.query['fields'] = fields unless fields.nil?
+          command.query['quotaUser'] = quota_user unless quota_user.nil?
+          execute_or_queue_command(command, &block)
+        end
+        
+        # Sets the access control policy on the specified resource. Replaces any
+        # existing policy.
+        # @param [String] resource
+        #   REQUIRED: The resource for which the policy is being specified.
+        #   See the operation documentation for the appropriate value for this field.
+        # @param [Google::Apis::SourcerepoV1::SetIamPolicyRequest] set_iam_policy_request_object
+        # @param [String] fields
+        #   Selector specifying which fields to include in a partial response.
+        # @param [String] quota_user
+        #   Available to use for quota purposes for server-side applications. Can be any
+        #   arbitrary string assigned to a user, but should not exceed 40 characters.
+        # @param [Google::Apis::RequestOptions] options
+        #   Request-specific options
+        #
+        # @yield [result, err] Result & error if block supplied
+        # @yieldparam result [Google::Apis::SourcerepoV1::Policy] parsed result object
+        # @yieldparam err [StandardError] error object if request failed
+        #
+        # @return [Google::Apis::SourcerepoV1::Policy]
+        #
+        # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
+        # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
+        # @raise [Google::Apis::AuthorizationError] Authorization is required
+        def set_repo_iam_policy(resource, set_iam_policy_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
+          command =  make_simple_command(:post, 'v1/{+resource}:setIamPolicy', options)
+          command.request_representation = Google::Apis::SourcerepoV1::SetIamPolicyRequest::Representation
+          command.request_object = set_iam_policy_request_object
+          command.response_representation = Google::Apis::SourcerepoV1::Policy::Representation
+          command.response_class = Google::Apis::SourcerepoV1::Policy
+          command.params['resource'] = resource unless resource.nil?
+          command.query['fields'] = fields unless fields.nil?
+          command.query['quotaUser'] = quota_user unless quota_user.nil?
+          execute_or_queue_command(command, &block)
+        end
+        
+        # Gets the access control policy for a resource.
+        # Returns an empty policy if the resource exists and does not have a policy
+        # set.
+        # @param [String] resource
+        #   REQUIRED: The resource for which the policy is being requested.
+        #   See the operation documentation for the appropriate value for this field.
+        # @param [String] fields
+        #   Selector specifying which fields to include in a partial response.
+        # @param [String] quota_user
+        #   Available to use for quota purposes for server-side applications. Can be any
+        #   arbitrary string assigned to a user, but should not exceed 40 characters.
+        # @param [Google::Apis::RequestOptions] options
+        #   Request-specific options
+        #
+        # @yield [result, err] Result & error if block supplied
+        # @yieldparam result [Google::Apis::SourcerepoV1::Policy] parsed result object
+        # @yieldparam err [StandardError] error object if request failed
+        #
+        # @return [Google::Apis::SourcerepoV1::Policy]
+        #
+        # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
+        # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
+        # @raise [Google::Apis::AuthorizationError] Authorization is required
+        def get_project_repo_iam_policy(resource, fields: nil, quota_user: nil, options: nil, &block)
+          command =  make_simple_command(:get, 'v1/{+resource}:getIamPolicy', options)
+          command.response_representation = Google::Apis::SourcerepoV1::Policy::Representation
+          command.response_class = Google::Apis::SourcerepoV1::Policy
+          command.params['resource'] = resource unless resource.nil?
+          command.query['fields'] = fields unless fields.nil?
+          command.query['quotaUser'] = quota_user unless quota_user.nil?
+          execute_or_queue_command(command, &block)
+        end
+        
+        # Returns information about a repo.
+        # @param [String] name
+        #   The name of the requested repository. Values are of the form
+        #   `projects//repos/`.
+        # @param [String] fields
+        #   Selector specifying which fields to include in a partial response.
+        # @param [String] quota_user
+        #   Available to use for quota purposes for server-side applications. Can be any
+        #   arbitrary string assigned to a user, but should not exceed 40 characters.
+        # @param [Google::Apis::RequestOptions] options
+        #   Request-specific options
+        #
+        # @yield [result, err] Result & error if block supplied
+        # @yieldparam result [Google::Apis::SourcerepoV1::Repo] parsed result object
+        # @yieldparam err [StandardError] error object if request failed
+        #
+        # @return [Google::Apis::SourcerepoV1::Repo]
+        #
+        # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
+        # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
+        # @raise [Google::Apis::AuthorizationError] Authorization is required
+        def get_project_repo(name, fields: nil, quota_user: nil, options: nil, &block)
+          command =  make_simple_command(:get, 'v1/{+name}', options)
+          command.response_representation = Google::Apis::SourcerepoV1::Repo::Representation
+          command.response_class = Google::Apis::SourcerepoV1::Repo
+          command.params['name'] = name unless name.nil?
+          command.query['fields'] = fields unless fields.nil?
+          command.query['quotaUser'] = quota_user unless quota_user.nil?
           execute_or_queue_command(command, &block)
         end
 
         protected
 
         def apply_command_defaults(command)
-          command.query['quotaUser'] = quota_user unless quota_user.nil?
           command.query['key'] = key unless key.nil?
+          command.query['quotaUser'] = quota_user unless quota_user.nil?
         end
       end
     end
diff --git a/generated/google/apis/spanner_v1/classes.rb b/generated/google/apis/spanner_v1/classes.rb
index aa52eb819..eb7cba19e 100644
--- a/generated/google/apis/spanner_v1/classes.rb
+++ b/generated/google/apis/spanner_v1/classes.rb
@@ -22,2071 +22,28 @@ module Google
   module Apis
     module SpannerV1
       
-      # The response for ListInstanceConfigs.
-      class ListInstanceConfigsResponse
-        include Google::Apis::Core::Hashable
-      
-        # `next_page_token` can be sent in a subsequent
-        # ListInstanceConfigs call to
-        # fetch more of the matching instance configurations.
-        # Corresponds to the JSON property `nextPageToken`
-        # @return [String]
-        attr_accessor :next_page_token
-      
-        # The list of requested instance configurations.
-        # Corresponds to the JSON property `instanceConfigs`
-        # @return [Array]
-        attr_accessor :instance_configs
-      
-        def initialize(**args)
-           update!(**args)
-        end
-      
-        # Update properties of this object
-        def update!(**args)
-          @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
-          @instance_configs = args[:instance_configs] if args.key?(:instance_configs)
-        end
-      end
-      
-      # The request for BeginTransaction.
-      class BeginTransactionRequest
-        include Google::Apis::Core::Hashable
-      
-        # # Transactions
-        # Each session can have at most one active transaction at a time. After the
-        # active transaction is completed, the session can immediately be
-        # re-used for the next transaction. It is not necessary to create a
-        # new session for each transaction.
-        # # Transaction Modes
-        # Cloud Spanner supports two transaction modes:
-        # 1. Locking read-write. This type of transaction is the only way
-        # to write data into Cloud Spanner. These transactions rely on
-        # pessimistic locking and, if necessary, two-phase commit.
-        # Locking read-write transactions may abort, requiring the
-        # application to retry.
-        # 2. Snapshot read-only. This transaction type provides guaranteed
-        # consistency across several reads, but does not allow
-        # writes. Snapshot read-only transactions can be configured to
-        # read at timestamps in the past. Snapshot read-only
-        # transactions do not need to be committed.
-        # For transactions that only read, snapshot read-only transactions
-        # provide simpler semantics and are almost always faster. In
-        # particular, read-only transactions do not take locks, so they do
-        # not conflict with read-write transactions. As a consequence of not
-        # taking locks, they also do not abort, so retry loops are not needed.
-        # Transactions may only read/write data in a single database. They
-        # may, however, read/write data in different tables within that
-        # database.
-        # ## Locking Read-Write Transactions
-        # Locking transactions may be used to atomically read-modify-write
-        # data anywhere in a database. This type of transaction is externally
-        # consistent.
-        # Clients should attempt to minimize the amount of time a transaction
-        # is active. Faster transactions commit with higher probability
-        # and cause less contention. Cloud Spanner attempts to keep read locks
-        # active as long as the transaction continues to do reads, and the
-        # transaction has not been terminated by
-        # Commit or
-        # Rollback.  Long periods of
-        # inactivity at the client may cause Cloud Spanner to release a
-        # transaction's locks and abort it.
-        # Reads performed within a transaction acquire locks on the data
-        # being read. Writes can only be done at commit time, after all reads
-        # have been completed.
-        # Conceptually, a read-write transaction consists of zero or more
-        # reads or SQL queries followed by
-        # Commit. At any time before
-        # Commit, the client can send a
-        # Rollback request to abort the
-        # transaction.
-        # ### Semantics
-        # Cloud Spanner can commit the transaction if all read locks it acquired
-        # are still valid at commit time, and it is able to acquire write
-        # locks for all writes. Cloud Spanner can abort the transaction for any
-        # reason. If a commit attempt returns `ABORTED`, Cloud Spanner guarantees
-        # that the transaction has not modified any user data in Cloud Spanner.
-        # Unless the transaction commits, Cloud Spanner makes no guarantees about
-        # how long the transaction's locks were held for. It is an error to
-        # use Cloud Spanner locks for any sort of mutual exclusion other than
-        # between Cloud Spanner transactions themselves.
-        # ### Retrying Aborted Transactions
-        # When a transaction aborts, the application can choose to retry the
-        # whole transaction again. To maximize the chances of successfully
-        # committing the retry, the client should execute the retry in the
-        # same session as the original attempt. The original session's lock
-        # priority increases with each consecutive abort, meaning that each
-        # attempt has a slightly better chance of success than the previous.
-        # Under some circumstances (e.g., many transactions attempting to
-        # modify the same row(s)), a transaction can abort many times in a
-        # short period before successfully committing. Thus, it is not a good
-        # idea to cap the number of retries a transaction can attempt;
-        # instead, it is better to limit the total amount of wall time spent
-        # retrying.
-        # ### Idle Transactions
-        # A transaction is considered idle if it has no outstanding reads or
-        # SQL queries and has not started a read or SQL query within the last 10
-        # seconds. Idle transactions can be aborted by Cloud Spanner so that they
-        # don't hold on to locks indefinitely. In that case, the commit will
-        # fail with error `ABORTED`.
-        # If this behavior is undesirable, periodically executing a simple
-        # SQL query in the transaction (e.g., `SELECT 1`) prevents the
-        # transaction from becoming idle.
-        # ## Snapshot Read-Only Transactions
-        # Snapshot read-only transactions provides a simpler method than
-        # locking read-write transactions for doing several consistent
-        # reads. However, this type of transaction does not support writes.
-        # Snapshot transactions do not take locks. Instead, they work by
-        # choosing a Cloud Spanner timestamp, then executing all reads at that
-        # timestamp. Since they do not acquire locks, they do not block
-        # concurrent read-write transactions.
-        # Unlike locking read-write transactions, snapshot read-only
-        # transactions never abort. They can fail if the chosen read
-        # timestamp is garbage collected; however, the default garbage
-        # collection policy is generous enough that most applications do not
-        # need to worry about this in practice.
-        # Snapshot read-only transactions do not need to call
-        # Commit or
-        # Rollback (and in fact are not
-        # permitted to do so).
-        # To execute a snapshot transaction, the client specifies a timestamp
-        # bound, which tells Cloud Spanner how to choose a read timestamp.
-        # The types of timestamp bound are:
-        # - Strong (the default).
-        # - Bounded staleness.
-        # - Exact staleness.
-        # If the Cloud Spanner database to be read is geographically distributed,
-        # stale read-only transactions can execute more quickly than strong
-        # or read-write transaction, because they are able to execute far
-        # from the leader replica.
-        # Each type of timestamp bound is discussed in detail below.
-        # ### Strong
-        # Strong reads are guaranteed to see the effects of all transactions
-        # that have committed before the start of the read. Furthermore, all
-        # rows yielded by a single read are consistent with each other -- if
-        # any part of the read observes a transaction, all parts of the read
-        # see the transaction.
-        # Strong reads are not repeatable: two consecutive strong read-only
-        # transactions might return inconsistent results if there are
-        # concurrent writes. If consistency across reads is required, the
-        # reads should be executed within a transaction or at an exact read
-        # timestamp.
-        # See TransactionOptions.ReadOnly.strong.
-        # ### Exact Staleness
-        # These timestamp bounds execute reads at a user-specified
-        # timestamp. Reads at a timestamp are guaranteed to see a consistent
-        # prefix of the global transaction history: they observe
-        # modifications done by all transactions with a commit timestamp <=
-        # the read timestamp, and observe none of the modifications done by
-        # transactions with a larger commit timestamp. They will block until
-        # all conflicting transactions that may be assigned commit timestamps
-        # <= the read timestamp have finished.
-        # The timestamp can either be expressed as an absolute Cloud Spanner commit
-        # timestamp or a staleness relative to the current time.
-        # These modes do not require a "negotiation phase" to pick a
-        # timestamp. As a result, they execute slightly faster than the
-        # equivalent boundedly stale concurrency modes. On the other hand,
-        # boundedly stale reads usually return fresher results.
-        # See TransactionOptions.ReadOnly.read_timestamp and
-        # TransactionOptions.ReadOnly.exact_staleness.
-        # ### Bounded Staleness
-        # Bounded staleness modes allow Cloud Spanner to pick the read timestamp,
-        # subject to a user-provided staleness bound. Cloud Spanner chooses the
-        # newest timestamp within the staleness bound that allows execution
-        # of the reads at the closest available replica without blocking.
-        # All rows yielded are consistent with each other -- if any part of
-        # the read observes a transaction, all parts of the read see the
-        # transaction. Boundedly stale reads are not repeatable: two stale
-        # reads, even if they use the same staleness bound, can execute at
-        # different timestamps and thus return inconsistent results.
-        # Boundedly stale reads execute in two phases: the first phase
-        # negotiates a timestamp among all replicas needed to serve the
-        # read. In the second phase, reads are executed at the negotiated
-        # timestamp.
-        # As a result of the two phase execution, bounded staleness reads are
-        # usually a little slower than comparable exact staleness
-        # reads. However, they are typically able to return fresher
-        # results, and are more likely to execute at the closest replica.
-        # Because the timestamp negotiation requires up-front knowledge of
-        # which rows will be read, it can only be used with single-use
-        # read-only transactions.
-        # See TransactionOptions.ReadOnly.max_staleness and
-        # TransactionOptions.ReadOnly.min_read_timestamp.
-        # ### Old Read Timestamps and Garbage Collection
-        # Cloud Spanner continuously garbage collects deleted and overwritten data
-        # in the background to reclaim storage space. This process is known
-        # as "version GC". By default, version GC reclaims versions after they
-        # are one hour old. Because of this, Cloud Spanner cannot perform reads
-        # at read timestamps more than one hour in the past. This
-        # restriction also applies to in-progress reads and/or SQL queries whose
-        # timestamp become too old while executing. Reads and SQL queries with
-        # too-old read timestamps fail with the error `FAILED_PRECONDITION`.
-        # Corresponds to the JSON property `options`
-        # @return [Google::Apis::SpannerV1::TransactionOptions]
-        attr_accessor :options
-      
-        def initialize(**args)
-           update!(**args)
-        end
-      
-        # Update properties of this object
-        def update!(**args)
-          @options = args[:options] if args.key?(:options)
-        end
-      end
-      
-      # The request for Commit.
-      class CommitRequest
-        include Google::Apis::Core::Hashable
-      
-        # # Transactions
-        # Each session can have at most one active transaction at a time. After the
-        # active transaction is completed, the session can immediately be
-        # re-used for the next transaction. It is not necessary to create a
-        # new session for each transaction.
-        # # Transaction Modes
-        # Cloud Spanner supports two transaction modes:
-        # 1. Locking read-write. This type of transaction is the only way
-        # to write data into Cloud Spanner. These transactions rely on
-        # pessimistic locking and, if necessary, two-phase commit.
-        # Locking read-write transactions may abort, requiring the
-        # application to retry.
-        # 2. Snapshot read-only. This transaction type provides guaranteed
-        # consistency across several reads, but does not allow
-        # writes. Snapshot read-only transactions can be configured to
-        # read at timestamps in the past. Snapshot read-only
-        # transactions do not need to be committed.
-        # For transactions that only read, snapshot read-only transactions
-        # provide simpler semantics and are almost always faster. In
-        # particular, read-only transactions do not take locks, so they do
-        # not conflict with read-write transactions. As a consequence of not
-        # taking locks, they also do not abort, so retry loops are not needed.
-        # Transactions may only read/write data in a single database. They
-        # may, however, read/write data in different tables within that
-        # database.
-        # ## Locking Read-Write Transactions
-        # Locking transactions may be used to atomically read-modify-write
-        # data anywhere in a database. This type of transaction is externally
-        # consistent.
-        # Clients should attempt to minimize the amount of time a transaction
-        # is active. Faster transactions commit with higher probability
-        # and cause less contention. Cloud Spanner attempts to keep read locks
-        # active as long as the transaction continues to do reads, and the
-        # transaction has not been terminated by
-        # Commit or
-        # Rollback.  Long periods of
-        # inactivity at the client may cause Cloud Spanner to release a
-        # transaction's locks and abort it.
-        # Reads performed within a transaction acquire locks on the data
-        # being read. Writes can only be done at commit time, after all reads
-        # have been completed.
-        # Conceptually, a read-write transaction consists of zero or more
-        # reads or SQL queries followed by
-        # Commit. At any time before
-        # Commit, the client can send a
-        # Rollback request to abort the
-        # transaction.
-        # ### Semantics
-        # Cloud Spanner can commit the transaction if all read locks it acquired
-        # are still valid at commit time, and it is able to acquire write
-        # locks for all writes. Cloud Spanner can abort the transaction for any
-        # reason. If a commit attempt returns `ABORTED`, Cloud Spanner guarantees
-        # that the transaction has not modified any user data in Cloud Spanner.
-        # Unless the transaction commits, Cloud Spanner makes no guarantees about
-        # how long the transaction's locks were held for. It is an error to
-        # use Cloud Spanner locks for any sort of mutual exclusion other than
-        # between Cloud Spanner transactions themselves.
-        # ### Retrying Aborted Transactions
-        # When a transaction aborts, the application can choose to retry the
-        # whole transaction again. To maximize the chances of successfully
-        # committing the retry, the client should execute the retry in the
-        # same session as the original attempt. The original session's lock
-        # priority increases with each consecutive abort, meaning that each
-        # attempt has a slightly better chance of success than the previous.
-        # Under some circumstances (e.g., many transactions attempting to
-        # modify the same row(s)), a transaction can abort many times in a
-        # short period before successfully committing. Thus, it is not a good
-        # idea to cap the number of retries a transaction can attempt;
-        # instead, it is better to limit the total amount of wall time spent
-        # retrying.
-        # ### Idle Transactions
-        # A transaction is considered idle if it has no outstanding reads or
-        # SQL queries and has not started a read or SQL query within the last 10
-        # seconds. Idle transactions can be aborted by Cloud Spanner so that they
-        # don't hold on to locks indefinitely. In that case, the commit will
-        # fail with error `ABORTED`.
-        # If this behavior is undesirable, periodically executing a simple
-        # SQL query in the transaction (e.g., `SELECT 1`) prevents the
-        # transaction from becoming idle.
-        # ## Snapshot Read-Only Transactions
-        # Snapshot read-only transactions provides a simpler method than
-        # locking read-write transactions for doing several consistent
-        # reads. However, this type of transaction does not support writes.
-        # Snapshot transactions do not take locks. Instead, they work by
-        # choosing a Cloud Spanner timestamp, then executing all reads at that
-        # timestamp. Since they do not acquire locks, they do not block
-        # concurrent read-write transactions.
-        # Unlike locking read-write transactions, snapshot read-only
-        # transactions never abort. They can fail if the chosen read
-        # timestamp is garbage collected; however, the default garbage
-        # collection policy is generous enough that most applications do not
-        # need to worry about this in practice.
-        # Snapshot read-only transactions do not need to call
-        # Commit or
-        # Rollback (and in fact are not
-        # permitted to do so).
-        # To execute a snapshot transaction, the client specifies a timestamp
-        # bound, which tells Cloud Spanner how to choose a read timestamp.
-        # The types of timestamp bound are:
-        # - Strong (the default).
-        # - Bounded staleness.
-        # - Exact staleness.
-        # If the Cloud Spanner database to be read is geographically distributed,
-        # stale read-only transactions can execute more quickly than strong
-        # or read-write transaction, because they are able to execute far
-        # from the leader replica.
-        # Each type of timestamp bound is discussed in detail below.
-        # ### Strong
-        # Strong reads are guaranteed to see the effects of all transactions
-        # that have committed before the start of the read. Furthermore, all
-        # rows yielded by a single read are consistent with each other -- if
-        # any part of the read observes a transaction, all parts of the read
-        # see the transaction.
-        # Strong reads are not repeatable: two consecutive strong read-only
-        # transactions might return inconsistent results if there are
-        # concurrent writes. If consistency across reads is required, the
-        # reads should be executed within a transaction or at an exact read
-        # timestamp.
-        # See TransactionOptions.ReadOnly.strong.
-        # ### Exact Staleness
-        # These timestamp bounds execute reads at a user-specified
-        # timestamp. Reads at a timestamp are guaranteed to see a consistent
-        # prefix of the global transaction history: they observe
-        # modifications done by all transactions with a commit timestamp <=
-        # the read timestamp, and observe none of the modifications done by
-        # transactions with a larger commit timestamp. They will block until
-        # all conflicting transactions that may be assigned commit timestamps
-        # <= the read timestamp have finished.
-        # The timestamp can either be expressed as an absolute Cloud Spanner commit
-        # timestamp or a staleness relative to the current time.
-        # These modes do not require a "negotiation phase" to pick a
-        # timestamp. As a result, they execute slightly faster than the
-        # equivalent boundedly stale concurrency modes. On the other hand,
-        # boundedly stale reads usually return fresher results.
-        # See TransactionOptions.ReadOnly.read_timestamp and
-        # TransactionOptions.ReadOnly.exact_staleness.
-        # ### Bounded Staleness
-        # Bounded staleness modes allow Cloud Spanner to pick the read timestamp,
-        # subject to a user-provided staleness bound. Cloud Spanner chooses the
-        # newest timestamp within the staleness bound that allows execution
-        # of the reads at the closest available replica without blocking.
-        # All rows yielded are consistent with each other -- if any part of
-        # the read observes a transaction, all parts of the read see the
-        # transaction. Boundedly stale reads are not repeatable: two stale
-        # reads, even if they use the same staleness bound, can execute at
-        # different timestamps and thus return inconsistent results.
-        # Boundedly stale reads execute in two phases: the first phase
-        # negotiates a timestamp among all replicas needed to serve the
-        # read. In the second phase, reads are executed at the negotiated
-        # timestamp.
-        # As a result of the two phase execution, bounded staleness reads are
-        # usually a little slower than comparable exact staleness
-        # reads. However, they are typically able to return fresher
-        # results, and are more likely to execute at the closest replica.
-        # Because the timestamp negotiation requires up-front knowledge of
-        # which rows will be read, it can only be used with single-use
-        # read-only transactions.
-        # See TransactionOptions.ReadOnly.max_staleness and
-        # TransactionOptions.ReadOnly.min_read_timestamp.
-        # ### Old Read Timestamps and Garbage Collection
-        # Cloud Spanner continuously garbage collects deleted and overwritten data
-        # in the background to reclaim storage space. This process is known
-        # as "version GC". By default, version GC reclaims versions after they
-        # are one hour old. Because of this, Cloud Spanner cannot perform reads
-        # at read timestamps more than one hour in the past. This
-        # restriction also applies to in-progress reads and/or SQL queries whose
-        # timestamp become too old while executing. Reads and SQL queries with
-        # too-old read timestamps fail with the error `FAILED_PRECONDITION`.
-        # Corresponds to the JSON property `singleUseTransaction`
-        # @return [Google::Apis::SpannerV1::TransactionOptions]
-        attr_accessor :single_use_transaction
-      
-        # The mutations to be executed when this transaction commits. All
-        # mutations are applied atomically, in the order they appear in
-        # this list.
-        # Corresponds to the JSON property `mutations`
-        # @return [Array]
-        attr_accessor :mutations
-      
-        # Commit a previously-started transaction.
-        # Corresponds to the JSON property `transactionId`
-        # NOTE: Values are automatically base64 encoded/decoded in the client library.
-        # @return [String]
-        attr_accessor :transaction_id
-      
-        def initialize(**args)
-           update!(**args)
-        end
-      
-        # Update properties of this object
-        def update!(**args)
-          @single_use_transaction = args[:single_use_transaction] if args.key?(:single_use_transaction)
-          @mutations = args[:mutations] if args.key?(:mutations)
-          @transaction_id = args[:transaction_id] if args.key?(:transaction_id)
-        end
-      end
-      
-      # Request message for `GetIamPolicy` method.
-      class GetIamPolicyRequest
-        include Google::Apis::Core::Hashable
-      
-        def initialize(**args)
-           update!(**args)
-        end
-      
-        # Update properties of this object
-        def update!(**args)
-        end
-      end
-      
-      # Response message for `TestIamPermissions` method.
-      class TestIamPermissionsResponse
-        include Google::Apis::Core::Hashable
-      
-        # A subset of `TestPermissionsRequest.permissions` that the caller is
-        # allowed.
-        # Corresponds to the JSON property `permissions`
-        # @return [Array]
-        attr_accessor :permissions
-      
-        def initialize(**args)
-           update!(**args)
-        end
-      
-        # Update properties of this object
-        def update!(**args)
-          @permissions = args[:permissions] if args.key?(:permissions)
-        end
-      end
-      
-      # Metadata type for the operation returned by
-      # CreateDatabase.
-      class CreateDatabaseMetadata
-        include Google::Apis::Core::Hashable
-      
-        # The database being created.
-        # Corresponds to the JSON property `database`
-        # @return [String]
-        attr_accessor :database
-      
-        def initialize(**args)
-           update!(**args)
-        end
-      
-        # Update properties of this object
-        def update!(**args)
-          @database = args[:database] if args.key?(:database)
-        end
-      end
-      
-      # A rule to be applied in a Policy.
-      class Rule
-        include Google::Apis::Core::Hashable
-      
-        # Human-readable description of the rule.
-        # Corresponds to the JSON property `description`
-        # @return [String]
-        attr_accessor :description
-      
-        # Additional restrictions that must be met
-        # Corresponds to the JSON property `conditions`
-        # @return [Array]
-        attr_accessor :conditions
-      
-        # The config returned to callers of tech.iam.IAM.CheckPolicy for any entries
-        # that match the LOG action.
-        # Corresponds to the JSON property `logConfig`
-        # @return [Array]
-        attr_accessor :log_config
-      
-        # If one or more 'in' clauses are specified, the rule matches if
-        # the PRINCIPAL/AUTHORITY_SELECTOR is in at least one of these entries.
-        # Corresponds to the JSON property `in`
-        # @return [Array]
-        attr_accessor :in
-      
-        # A permission is a string of form '..'
-        # (e.g., 'storage.buckets.list'). A value of '*' matches all permissions,
-        # and a verb part of '*' (e.g., 'storage.buckets.*') matches all verbs.
-        # Corresponds to the JSON property `permissions`
-        # @return [Array]
-        attr_accessor :permissions
-      
-        # Required
-        # Corresponds to the JSON property `action`
-        # @return [String]
-        attr_accessor :action
-      
-        # If one or more 'not_in' clauses are specified, the rule matches
-        # if the PRINCIPAL/AUTHORITY_SELECTOR is in none of the entries.
-        # The format for in and not_in entries is the same as for members in a
-        # Binding (see google/iam/v1/policy.proto).
-        # Corresponds to the JSON property `notIn`
-        # @return [Array]
-        attr_accessor :not_in
-      
-        def initialize(**args)
-           update!(**args)
-        end
-      
-        # Update properties of this object
-        def update!(**args)
-          @description = args[:description] if args.key?(:description)
-          @conditions = args[:conditions] if args.key?(:conditions)
-          @log_config = args[:log_config] if args.key?(:log_config)
-          @in = args[:in] if args.key?(:in)
-          @permissions = args[:permissions] if args.key?(:permissions)
-          @action = args[:action] if args.key?(:action)
-          @not_in = args[:not_in] if args.key?(:not_in)
-        end
-      end
-      
-      # Specifies what kind of log the caller must write
-      # Increment a streamz counter with the specified metric and field names.
-      # Metric names should start with a '/', generally be lowercase-only,
-      # and end in "_count". Field names should not contain an initial slash.
-      # The actual exported metric names will have "/iam/policy" prepended.
-      # Field names correspond to IAM request parameters and field values are
-      # their respective values.
-      # At present the only supported field names are
-      # - "iam_principal", corresponding to IAMContext.principal;
-      # - "" (empty string), resulting in one aggretated counter with no field.
-      # Examples:
-      # counter ` metric: "/debug_access_count"  field: "iam_principal" `
-      # ==> increment counter /iam/policy/backend_debug_access_count
-      # `iam_principal=[value of IAMContext.principal]`
-      # At this time we do not support:
-      # * multiple field names (though this may be supported in the future)
-      # * decrementing the counter
-      # * incrementing it by anything other than 1
-      class LogConfig
-        include Google::Apis::Core::Hashable
-      
-        # Options for counters
-        # Corresponds to the JSON property `counter`
-        # @return [Google::Apis::SpannerV1::CounterOptions]
-        attr_accessor :counter
-      
-        # Write a Data Access (Gin) log
-        # Corresponds to the JSON property `dataAccess`
-        # @return [Google::Apis::SpannerV1::DataAccessOptions]
-        attr_accessor :data_access
-      
-        # Write a Cloud Audit log
-        # Corresponds to the JSON property `cloudAudit`
-        # @return [Google::Apis::SpannerV1::CloudAuditOptions]
-        attr_accessor :cloud_audit
-      
-        def initialize(**args)
-           update!(**args)
-        end
-      
-        # Update properties of this object
-        def update!(**args)
-          @counter = args[:counter] if args.key?(:counter)
-          @data_access = args[:data_access] if args.key?(:data_access)
-          @cloud_audit = args[:cloud_audit] if args.key?(:cloud_audit)
-        end
-      end
-      
-      # A session in the Cloud Spanner API.
-      class Session
-        include Google::Apis::Core::Hashable
-      
-        # Required. The name of the session.
-        # Corresponds to the JSON property `name`
-        # @return [String]
-        attr_accessor :name
-      
-        def initialize(**args)
-           update!(**args)
-        end
-      
-        # Update properties of this object
-        def update!(**args)
-          @name = args[:name] if args.key?(:name)
-        end
-      end
-      
-      # The response for ListInstances.
-      class ListInstancesResponse
-        include Google::Apis::Core::Hashable
-      
-        # `next_page_token` can be sent in a subsequent
-        # ListInstances call to fetch more
-        # of the matching instances.
-        # Corresponds to the JSON property `nextPageToken`
-        # @return [String]
-        attr_accessor :next_page_token
-      
-        # The list of requested instances.
-        # Corresponds to the JSON property `instances`
-        # @return [Array]
-        attr_accessor :instances
-      
-        def initialize(**args)
-           update!(**args)
-        end
-      
-        # Update properties of this object
-        def update!(**args)
-          @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
-          @instances = args[:instances] if args.key?(:instances)
-        end
-      end
-      
-      # KeyRange represents a range of rows in a table or index.
-      # A range has a start key and an end key. These keys can be open or
-      # closed, indicating if the range includes rows with that key.
-      # Keys are represented by lists, where the ith value in the list
-      # corresponds to the ith component of the table or index primary key.
-      # Individual values are encoded as described here.
-      # For example, consider the following table definition:
-      # CREATE TABLE UserEvents (
-      # UserName STRING(MAX),
-      # EventDate STRING(10)
-      # ) PRIMARY KEY(UserName, EventDate);
-      # The following keys name rows in this table:
-      # "Bob", "2014-09-23"
-      # Since the `UserEvents` table's `PRIMARY KEY` clause names two
-      # columns, each `UserEvents` key has two elements; the first is the
-      # `UserName`, and the second is the `EventDate`.
-      # Key ranges with multiple components are interpreted
-      # lexicographically by component using the table or index key's declared
-      # sort order. For example, the following range returns all events for
-      # user `"Bob"` that occurred in the year 2015:
-      # "start_closed": ["Bob", "2015-01-01"]
-      # "end_closed": ["Bob", "2015-12-31"]
-      # Start and end keys can omit trailing key components. This affects the
-      # inclusion and exclusion of rows that exactly match the provided key
-      # components: if the key is closed, then rows that exactly match the
-      # provided components are included; if the key is open, then rows
-      # that exactly match are not included.
-      # For example, the following range includes all events for `"Bob"` that
-      # occurred during and after the year 2000:
-      # "start_closed": ["Bob", "2000-01-01"]
-      # "end_closed": ["Bob"]
-      # The next example retrieves all events for `"Bob"`:
-      # "start_closed": ["Bob"]
-      # "end_closed": ["Bob"]
-      # To retrieve events before the year 2000:
-      # "start_closed": ["Bob"]
-      # "end_open": ["Bob", "2000-01-01"]
-      # The following range includes all rows in the table:
-      # "start_closed": []
-      # "end_closed": []
-      # This range returns all users whose `UserName` begins with any
-      # character from A to C:
-      # "start_closed": ["A"]
-      # "end_open": ["D"]
-      # This range returns all users whose `UserName` begins with B:
-      # "start_closed": ["B"]
-      # "end_open": ["C"]
-      # Key ranges honor column sort order. For example, suppose a table is
-      # defined as follows:
-      # CREATE TABLE DescendingSortedTable `
-      # Key INT64,
-      # ...
-      # ) PRIMARY KEY(Key DESC);
-      # The following range retrieves all rows with key values between 1
-      # and 100 inclusive:
-      # "start_closed": ["100"]
-      # "end_closed": ["1"]
-      # Note that 100 is passed as the start, and 1 is passed as the end,
-      # because `Key` is a descending column in the schema.
-      class KeyRange
-        include Google::Apis::Core::Hashable
-      
-        # If the end is closed, then the range includes all rows whose
-        # first `len(end_closed)` key columns exactly match `end_closed`.
-        # Corresponds to the JSON property `endClosed`
-        # @return [Array]
-        attr_accessor :end_closed
-      
-        # If the start is closed, then the range includes all rows whose
-        # first `len(start_closed)` key columns exactly match `start_closed`.
-        # Corresponds to the JSON property `startClosed`
-        # @return [Array]
-        attr_accessor :start_closed
-      
-        # If the start is open, then the range excludes rows whose first
-        # `len(start_open)` key columns exactly match `start_open`.
-        # Corresponds to the JSON property `startOpen`
-        # @return [Array]
-        attr_accessor :start_open
-      
-        # If the end is open, then the range excludes rows whose first
-        # `len(end_open)` key columns exactly match `end_open`.
-        # Corresponds to the JSON property `endOpen`
-        # @return [Array]
-        attr_accessor :end_open
-      
-        def initialize(**args)
-           update!(**args)
-        end
-      
-        # Update properties of this object
-        def update!(**args)
-          @end_closed = args[:end_closed] if args.key?(:end_closed)
-          @start_closed = args[:start_closed] if args.key?(:start_closed)
-          @start_open = args[:start_open] if args.key?(:start_open)
-          @end_open = args[:end_open] if args.key?(:end_open)
-        end
-      end
-      
-      # Condensed representation of a node and its subtree. Only present for
-      # `SCALAR` PlanNode(s).
-      class ShortRepresentation
-        include Google::Apis::Core::Hashable
-      
-        # A string representation of the expression subtree rooted at this node.
-        # Corresponds to the JSON property `description`
-        # @return [String]
-        attr_accessor :description
-      
-        # A mapping of (subquery variable name) -> (subquery node id) for cases
-        # where the `description` string of this node references a `SCALAR`
-        # subquery contained in the expression subtree rooted at this node. The
-        # referenced `SCALAR` subquery may not necessarily be a direct child of
-        # this node.
-        # Corresponds to the JSON property `subqueries`
-        # @return [Hash]
-        attr_accessor :subqueries
-      
-        def initialize(**args)
-           update!(**args)
-        end
-      
-        # Update properties of this object
-        def update!(**args)
-          @description = args[:description] if args.key?(:description)
-          @subqueries = args[:subqueries] if args.key?(:subqueries)
-        end
-      end
-      
-      # A possible configuration for a Cloud Spanner instance. Configurations
-      # define the geographic placement of nodes and their replication.
-      class InstanceConfig
-        include Google::Apis::Core::Hashable
-      
-        # A unique identifier for the instance configuration.  Values
-        # are of the form
-        # `projects//instanceConfigs/a-z*`
-        # Corresponds to the JSON property `name`
-        # @return [String]
-        attr_accessor :name
-      
-        # The name of this instance configuration as it appears in UIs.
-        # Corresponds to the JSON property `displayName`
-        # @return [String]
-        attr_accessor :display_name
-      
-        def initialize(**args)
-           update!(**args)
-        end
-      
-        # Update properties of this object
-        def update!(**args)
-          @name = args[:name] if args.key?(:name)
-          @display_name = args[:display_name] if args.key?(:display_name)
-        end
-      end
-      
-      # The request for UpdateInstance.
-      class UpdateInstanceRequest
-        include Google::Apis::Core::Hashable
-      
-        # An isolated set of Cloud Spanner resources on which databases can be hosted.
-        # Corresponds to the JSON property `instance`
-        # @return [Google::Apis::SpannerV1::Instance]
-        attr_accessor :instance
-      
-        # Required. A mask specifying which fields in [][google.spanner.admin.instance.
-        # v1.UpdateInstanceRequest.instance] should be updated.
-        # The field mask must always be specified; this prevents any future fields in
-        # [][google.spanner.admin.instance.v1.Instance] from being erased accidentally
-        # by clients that do not know
-        # about them.
-        # Corresponds to the JSON property `fieldMask`
-        # @return [String]
-        attr_accessor :field_mask
-      
-        def initialize(**args)
-           update!(**args)
-        end
-      
-        # Update properties of this object
-        def update!(**args)
-          @instance = args[:instance] if args.key?(:instance)
-          @field_mask = args[:field_mask] if args.key?(:field_mask)
-        end
-      end
-      
-      # A generic empty message that you can re-use to avoid defining duplicated
-      # empty messages in your APIs. A typical example is to use it as the request
-      # or the response type of an API method. For instance:
-      # service Foo `
-      # rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty);
-      # `
-      # The JSON representation for `Empty` is empty JSON object ````.
-      class Empty
-        include Google::Apis::Core::Hashable
-      
-        def initialize(**args)
-           update!(**args)
-        end
-      
-        # Update properties of this object
-        def update!(**args)
-        end
-      end
-      
-      # # Transactions
-      # Each session can have at most one active transaction at a time. After the
-      # active transaction is completed, the session can immediately be
-      # re-used for the next transaction. It is not necessary to create a
-      # new session for each transaction.
-      # # Transaction Modes
-      # Cloud Spanner supports two transaction modes:
-      # 1. Locking read-write. This type of transaction is the only way
-      # to write data into Cloud Spanner. These transactions rely on
-      # pessimistic locking and, if necessary, two-phase commit.
-      # Locking read-write transactions may abort, requiring the
-      # application to retry.
-      # 2. Snapshot read-only. This transaction type provides guaranteed
-      # consistency across several reads, but does not allow
-      # writes. Snapshot read-only transactions can be configured to
-      # read at timestamps in the past. Snapshot read-only
-      # transactions do not need to be committed.
-      # For transactions that only read, snapshot read-only transactions
-      # provide simpler semantics and are almost always faster. In
-      # particular, read-only transactions do not take locks, so they do
-      # not conflict with read-write transactions. As a consequence of not
-      # taking locks, they also do not abort, so retry loops are not needed.
-      # Transactions may only read/write data in a single database. They
-      # may, however, read/write data in different tables within that
-      # database.
-      # ## Locking Read-Write Transactions
-      # Locking transactions may be used to atomically read-modify-write
-      # data anywhere in a database. This type of transaction is externally
-      # consistent.
-      # Clients should attempt to minimize the amount of time a transaction
-      # is active. Faster transactions commit with higher probability
-      # and cause less contention. Cloud Spanner attempts to keep read locks
-      # active as long as the transaction continues to do reads, and the
-      # transaction has not been terminated by
-      # Commit or
-      # Rollback.  Long periods of
-      # inactivity at the client may cause Cloud Spanner to release a
-      # transaction's locks and abort it.
-      # Reads performed within a transaction acquire locks on the data
-      # being read. Writes can only be done at commit time, after all reads
-      # have been completed.
-      # Conceptually, a read-write transaction consists of zero or more
-      # reads or SQL queries followed by
-      # Commit. At any time before
-      # Commit, the client can send a
-      # Rollback request to abort the
-      # transaction.
-      # ### Semantics
-      # Cloud Spanner can commit the transaction if all read locks it acquired
-      # are still valid at commit time, and it is able to acquire write
-      # locks for all writes. Cloud Spanner can abort the transaction for any
-      # reason. If a commit attempt returns `ABORTED`, Cloud Spanner guarantees
-      # that the transaction has not modified any user data in Cloud Spanner.
-      # Unless the transaction commits, Cloud Spanner makes no guarantees about
-      # how long the transaction's locks were held for. It is an error to
-      # use Cloud Spanner locks for any sort of mutual exclusion other than
-      # between Cloud Spanner transactions themselves.
-      # ### Retrying Aborted Transactions
-      # When a transaction aborts, the application can choose to retry the
-      # whole transaction again. To maximize the chances of successfully
-      # committing the retry, the client should execute the retry in the
-      # same session as the original attempt. The original session's lock
-      # priority increases with each consecutive abort, meaning that each
-      # attempt has a slightly better chance of success than the previous.
-      # Under some circumstances (e.g., many transactions attempting to
-      # modify the same row(s)), a transaction can abort many times in a
-      # short period before successfully committing. Thus, it is not a good
-      # idea to cap the number of retries a transaction can attempt;
-      # instead, it is better to limit the total amount of wall time spent
-      # retrying.
-      # ### Idle Transactions
-      # A transaction is considered idle if it has no outstanding reads or
-      # SQL queries and has not started a read or SQL query within the last 10
-      # seconds. Idle transactions can be aborted by Cloud Spanner so that they
-      # don't hold on to locks indefinitely. In that case, the commit will
-      # fail with error `ABORTED`.
-      # If this behavior is undesirable, periodically executing a simple
-      # SQL query in the transaction (e.g., `SELECT 1`) prevents the
-      # transaction from becoming idle.
-      # ## Snapshot Read-Only Transactions
-      # Snapshot read-only transactions provides a simpler method than
-      # locking read-write transactions for doing several consistent
-      # reads. However, this type of transaction does not support writes.
-      # Snapshot transactions do not take locks. Instead, they work by
-      # choosing a Cloud Spanner timestamp, then executing all reads at that
-      # timestamp. Since they do not acquire locks, they do not block
-      # concurrent read-write transactions.
-      # Unlike locking read-write transactions, snapshot read-only
-      # transactions never abort. They can fail if the chosen read
-      # timestamp is garbage collected; however, the default garbage
-      # collection policy is generous enough that most applications do not
-      # need to worry about this in practice.
-      # Snapshot read-only transactions do not need to call
-      # Commit or
-      # Rollback (and in fact are not
-      # permitted to do so).
-      # To execute a snapshot transaction, the client specifies a timestamp
-      # bound, which tells Cloud Spanner how to choose a read timestamp.
-      # The types of timestamp bound are:
-      # - Strong (the default).
-      # - Bounded staleness.
-      # - Exact staleness.
-      # If the Cloud Spanner database to be read is geographically distributed,
-      # stale read-only transactions can execute more quickly than strong
-      # or read-write transaction, because they are able to execute far
-      # from the leader replica.
-      # Each type of timestamp bound is discussed in detail below.
-      # ### Strong
-      # Strong reads are guaranteed to see the effects of all transactions
-      # that have committed before the start of the read. Furthermore, all
-      # rows yielded by a single read are consistent with each other -- if
-      # any part of the read observes a transaction, all parts of the read
-      # see the transaction.
-      # Strong reads are not repeatable: two consecutive strong read-only
-      # transactions might return inconsistent results if there are
-      # concurrent writes. If consistency across reads is required, the
-      # reads should be executed within a transaction or at an exact read
-      # timestamp.
-      # See TransactionOptions.ReadOnly.strong.
-      # ### Exact Staleness
-      # These timestamp bounds execute reads at a user-specified
-      # timestamp. Reads at a timestamp are guaranteed to see a consistent
-      # prefix of the global transaction history: they observe
-      # modifications done by all transactions with a commit timestamp <=
-      # the read timestamp, and observe none of the modifications done by
-      # transactions with a larger commit timestamp. They will block until
-      # all conflicting transactions that may be assigned commit timestamps
-      # <= the read timestamp have finished.
-      # The timestamp can either be expressed as an absolute Cloud Spanner commit
-      # timestamp or a staleness relative to the current time.
-      # These modes do not require a "negotiation phase" to pick a
-      # timestamp. As a result, they execute slightly faster than the
-      # equivalent boundedly stale concurrency modes. On the other hand,
-      # boundedly stale reads usually return fresher results.
-      # See TransactionOptions.ReadOnly.read_timestamp and
-      # TransactionOptions.ReadOnly.exact_staleness.
-      # ### Bounded Staleness
-      # Bounded staleness modes allow Cloud Spanner to pick the read timestamp,
-      # subject to a user-provided staleness bound. Cloud Spanner chooses the
-      # newest timestamp within the staleness bound that allows execution
-      # of the reads at the closest available replica without blocking.
-      # All rows yielded are consistent with each other -- if any part of
-      # the read observes a transaction, all parts of the read see the
-      # transaction. Boundedly stale reads are not repeatable: two stale
-      # reads, even if they use the same staleness bound, can execute at
-      # different timestamps and thus return inconsistent results.
-      # Boundedly stale reads execute in two phases: the first phase
-      # negotiates a timestamp among all replicas needed to serve the
-      # read. In the second phase, reads are executed at the negotiated
-      # timestamp.
-      # As a result of the two phase execution, bounded staleness reads are
-      # usually a little slower than comparable exact staleness
-      # reads. However, they are typically able to return fresher
-      # results, and are more likely to execute at the closest replica.
-      # Because the timestamp negotiation requires up-front knowledge of
-      # which rows will be read, it can only be used with single-use
-      # read-only transactions.
-      # See TransactionOptions.ReadOnly.max_staleness and
-      # TransactionOptions.ReadOnly.min_read_timestamp.
-      # ### Old Read Timestamps and Garbage Collection
-      # Cloud Spanner continuously garbage collects deleted and overwritten data
-      # in the background to reclaim storage space. This process is known
-      # as "version GC". By default, version GC reclaims versions after they
-      # are one hour old. Because of this, Cloud Spanner cannot perform reads
-      # at read timestamps more than one hour in the past. This
-      # restriction also applies to in-progress reads and/or SQL queries whose
-      # timestamp become too old while executing. Reads and SQL queries with
-      # too-old read timestamps fail with the error `FAILED_PRECONDITION`.
-      class TransactionOptions
-        include Google::Apis::Core::Hashable
-      
-        # Options for read-write transactions.
-        # Corresponds to the JSON property `readWrite`
-        # @return [Google::Apis::SpannerV1::ReadWrite]
-        attr_accessor :read_write
-      
-        # Options for read-only transactions.
-        # Corresponds to the JSON property `readOnly`
-        # @return [Google::Apis::SpannerV1::ReadOnly]
-        attr_accessor :read_only
-      
-        def initialize(**args)
-           update!(**args)
-        end
-      
-        # Update properties of this object
-        def update!(**args)
-          @read_write = args[:read_write] if args.key?(:read_write)
-          @read_only = args[:read_only] if args.key?(:read_only)
-        end
-      end
-      
-      # The request for CreateDatabase.
-      class CreateDatabaseRequest
-        include Google::Apis::Core::Hashable
-      
-        # An optional list of DDL statements to run inside the newly created
-        # database. Statements can create tables, indexes, etc. These
-        # statements execute atomically with the creation of the database:
-        # if there is an error in any statement, the database is not created.
-        # Corresponds to the JSON property `extraStatements`
-        # @return [Array]
-        attr_accessor :extra_statements
-      
-        # Required. A `CREATE DATABASE` statement, which specifies the ID of the
-        # new database.  The database ID must conform to the regular expression
-        # `a-z*[a-z0-9]` and be between 2 and 30 characters in length.
-        # Corresponds to the JSON property `createStatement`
-        # @return [String]
-        attr_accessor :create_statement
-      
-        def initialize(**args)
-           update!(**args)
-        end
-      
-        # Update properties of this object
-        def update!(**args)
-          @extra_statements = args[:extra_statements] if args.key?(:extra_statements)
-          @create_statement = args[:create_statement] if args.key?(:create_statement)
-        end
-      end
-      
-      # The request for CreateInstance.
-      class CreateInstanceRequest
-        include Google::Apis::Core::Hashable
-      
-        # An isolated set of Cloud Spanner resources on which databases can be hosted.
-        # Corresponds to the JSON property `instance`
-        # @return [Google::Apis::SpannerV1::Instance]
-        attr_accessor :instance
-      
-        # Required. The ID of the instance to create.  Valid identifiers are of the
-        # form `a-z*[a-z0-9]` and must be between 6 and 30 characters in
-        # length.
-        # Corresponds to the JSON property `instanceId`
-        # @return [String]
-        attr_accessor :instance_id
-      
-        def initialize(**args)
-           update!(**args)
-        end
-      
-        # Update properties of this object
-        def update!(**args)
-          @instance = args[:instance] if args.key?(:instance)
-          @instance_id = args[:instance_id] if args.key?(:instance_id)
-        end
-      end
-      
-      # A condition to be met.
-      class Condition
-        include Google::Apis::Core::Hashable
-      
-        # Trusted attributes discharged by the service.
-        # Corresponds to the JSON property `svc`
-        # @return [String]
-        attr_accessor :svc
-      
-        # DEPRECATED. Use 'values' instead.
-        # Corresponds to the JSON property `value`
-        # @return [String]
-        attr_accessor :value
-      
-        # Trusted attributes supplied by any service that owns resources and uses
-        # the IAM system for access control.
-        # Corresponds to the JSON property `sys`
-        # @return [String]
-        attr_accessor :sys
-      
-        # The objects of the condition. This is mutually exclusive with 'value'.
-        # Corresponds to the JSON property `values`
-        # @return [Array]
-        attr_accessor :values
-      
-        # Trusted attributes supplied by the IAM system.
-        # Corresponds to the JSON property `iam`
-        # @return [String]
-        attr_accessor :iam
-      
-        # An operator to apply the subject with.
-        # Corresponds to the JSON property `op`
-        # @return [String]
-        attr_accessor :op
-      
-        def initialize(**args)
-           update!(**args)
-        end
-      
-        # Update properties of this object
-        def update!(**args)
-          @svc = args[:svc] if args.key?(:svc)
-          @value = args[:value] if args.key?(:value)
-          @sys = args[:sys] if args.key?(:sys)
-          @values = args[:values] if args.key?(:values)
-          @iam = args[:iam] if args.key?(:iam)
-          @op = args[:op] if args.key?(:op)
-        end
-      end
-      
-      # Provides the configuration for logging a type of permissions.
-      # Example:
-      # `
-      # "audit_log_configs": [
-      # `
-      # "log_type": "DATA_READ",
-      # "exempted_members": [
-      # "user:foo@gmail.com"
-      # ]
-      # `,
-      # `
-      # "log_type": "DATA_WRITE",
-      # `
-      # ]
-      # `
-      # This enables 'DATA_READ' and 'DATA_WRITE' logging, while exempting
-      # foo@gmail.com from DATA_READ logging.
-      class AuditLogConfig
-        include Google::Apis::Core::Hashable
-      
-        # Specifies the identities that do not cause logging for this type of
-        # permission.
-        # Follows the same format of Binding.members.
-        # Corresponds to the JSON property `exemptedMembers`
-        # @return [Array]
-        attr_accessor :exempted_members
-      
-        # The log type that this config enables.
-        # Corresponds to the JSON property `logType`
-        # @return [String]
-        attr_accessor :log_type
-      
-        def initialize(**args)
-           update!(**args)
-        end
-      
-        # Update properties of this object
-        def update!(**args)
-          @exempted_members = args[:exempted_members] if args.key?(:exempted_members)
-          @log_type = args[:log_type] if args.key?(:log_type)
-        end
-      end
-      
-      # Options for read-only transactions.
-      class ReadOnly
-        include Google::Apis::Core::Hashable
-      
-        # Executes all reads at a timestamp >= `min_read_timestamp`.
-        # This is useful for requesting fresher data than some previous
-        # read, or data that is fresh enough to observe the effects of some
-        # previously committed transaction whose timestamp is known.
-        # Note that this option can only be used in single-use transactions.
-        # Corresponds to the JSON property `minReadTimestamp`
-        # @return [String]
-        attr_accessor :min_read_timestamp
-      
-        # Read data at a timestamp >= `NOW - max_staleness`
-        # seconds. Guarantees that all writes that have committed more
-        # than the specified number of seconds ago are visible. Because
-        # Cloud Spanner chooses the exact timestamp, this mode works even if
-        # the client's local clock is substantially skewed from Cloud Spanner
-        # commit timestamps.
-        # Useful for reading the freshest data available at a nearby
-        # replica, while bounding the possible staleness if the local
-        # replica has fallen behind.
-        # Note that this option can only be used in single-use
-        # transactions.
-        # Corresponds to the JSON property `maxStaleness`
-        # @return [String]
-        attr_accessor :max_staleness
-      
-        # Executes all reads at the given timestamp. Unlike other modes,
-        # reads at a specific timestamp are repeatable; the same read at
-        # the same timestamp always returns the same data. If the
-        # timestamp is in the future, the read will block until the
-        # specified timestamp, modulo the read's deadline.
-        # Useful for large scale consistent reads such as mapreduces, or
-        # for coordinating many reads against a consistent snapshot of the
-        # data.
-        # Corresponds to the JSON property `readTimestamp`
-        # @return [String]
-        attr_accessor :read_timestamp
-      
-        # If true, the Cloud Spanner-selected read timestamp is included in
-        # the Transaction message that describes the transaction.
-        # Corresponds to the JSON property `returnReadTimestamp`
-        # @return [Boolean]
-        attr_accessor :return_read_timestamp
-        alias_method :return_read_timestamp?, :return_read_timestamp
-      
-        # Executes all reads at a timestamp that is `exact_staleness`
-        # old. The timestamp is chosen soon after the read is started.
-        # Guarantees that all writes that have committed more than the
-        # specified number of seconds ago are visible. Because Cloud Spanner
-        # chooses the exact timestamp, this mode works even if the client's
-        # local clock is substantially skewed from Cloud Spanner commit
-        # timestamps.
-        # Useful for reading at nearby replicas without the distributed
-        # timestamp negotiation overhead of `max_staleness`.
-        # Corresponds to the JSON property `exactStaleness`
-        # @return [String]
-        attr_accessor :exact_staleness
-      
-        # Read at a timestamp where all previously committed transactions
-        # are visible.
-        # Corresponds to the JSON property `strong`
-        # @return [Boolean]
-        attr_accessor :strong
-        alias_method :strong?, :strong
-      
-        def initialize(**args)
-           update!(**args)
-        end
-      
-        # Update properties of this object
-        def update!(**args)
-          @min_read_timestamp = args[:min_read_timestamp] if args.key?(:min_read_timestamp)
-          @max_staleness = args[:max_staleness] if args.key?(:max_staleness)
-          @read_timestamp = args[:read_timestamp] if args.key?(:read_timestamp)
-          @return_read_timestamp = args[:return_read_timestamp] if args.key?(:return_read_timestamp)
-          @exact_staleness = args[:exact_staleness] if args.key?(:exact_staleness)
-          @strong = args[:strong] if args.key?(:strong)
-        end
-      end
-      
-      # The request for ExecuteSql and
-      # ExecuteStreamingSql.
-      class ExecuteSqlRequest
-        include Google::Apis::Core::Hashable
-      
-        # Used to control the amount of debugging information returned in
-        # ResultSetStats.
-        # Corresponds to the JSON property `queryMode`
-        # @return [String]
-        attr_accessor :query_mode
-      
-        # This message is used to select the transaction in which a
-        # Read or
-        # ExecuteSql call runs.
-        # See TransactionOptions for more information about transactions.
-        # Corresponds to the JSON property `transaction`
-        # @return [Google::Apis::SpannerV1::TransactionSelector]
-        attr_accessor :transaction
-      
-        # If this request is resuming a previously interrupted SQL query
-        # execution, `resume_token` should be copied from the last
-        # PartialResultSet yielded before the interruption. Doing this
-        # enables the new SQL query execution to resume where the last one left
-        # off. The rest of the request parameters must exactly match the
-        # request that yielded this token.
-        # Corresponds to the JSON property `resumeToken`
-        # NOTE: Values are automatically base64 encoded/decoded in the client library.
-        # @return [String]
-        attr_accessor :resume_token
-      
-        # It is not always possible for Cloud Spanner to infer the right SQL type
-        # from a JSON value.  For example, values of type `BYTES` and values
-        # of type `STRING` both appear in params as JSON strings.
-        # In these cases, `param_types` can be used to specify the exact
-        # SQL type for some or all of the SQL query parameters. See the
-        # definition of Type for more information
-        # about SQL types.
-        # Corresponds to the JSON property `paramTypes`
-        # @return [Hash]
-        attr_accessor :param_types
-      
-        # Required. The SQL query string.
-        # Corresponds to the JSON property `sql`
-        # @return [String]
-        attr_accessor :sql
-      
-        # The SQL query string can contain parameter placeholders. A parameter
-        # placeholder consists of `'@'` followed by the parameter
-        # name. Parameter names consist of any combination of letters,
-        # numbers, and underscores.
-        # Parameters can appear anywhere that a literal value is expected.  The same
-        # parameter name can be used more than once, for example:
-        # `"WHERE id > @msg_id AND id < @msg_id + 100"`
-        # It is an error to execute an SQL query with unbound parameters.
-        # Parameter values are specified using `params`, which is a JSON
-        # object whose keys are parameter names, and whose values are the
-        # corresponding parameter values.
-        # Corresponds to the JSON property `params`
-        # @return [Hash]
-        attr_accessor :params
-      
-        def initialize(**args)
-           update!(**args)
-        end
-      
-        # Update properties of this object
-        def update!(**args)
-          @query_mode = args[:query_mode] if args.key?(:query_mode)
-          @transaction = args[:transaction] if args.key?(:transaction)
-          @resume_token = args[:resume_token] if args.key?(:resume_token)
-          @param_types = args[:param_types] if args.key?(:param_types)
-          @sql = args[:sql] if args.key?(:sql)
-          @params = args[:params] if args.key?(:params)
-        end
-      end
-      
-      # Defines an Identity and Access Management (IAM) policy. It is used to
-      # specify access control policies for Cloud Platform resources.
-      # A `Policy` consists of a list of `bindings`. A `Binding` binds a list of
-      # `members` to a `role`, where the members can be user accounts, Google groups,
-      # Google domains, and service accounts. A `role` is a named list of permissions
-      # defined by IAM.
-      # **Example**
-      # `
-      # "bindings": [
-      # `
-      # "role": "roles/owner",
-      # "members": [
-      # "user:mike@example.com",
-      # "group:admins@example.com",
-      # "domain:google.com",
-      # "serviceAccount:my-other-app@appspot.gserviceaccount.com",
-      # ]
-      # `,
-      # `
-      # "role": "roles/viewer",
-      # "members": ["user:sean@example.com"]
-      # `
-      # ]
-      # `
-      # For a description of IAM and its features, see the
-      # [IAM developer's guide](https://cloud.google.com/iam).
-      class Policy
-        include Google::Apis::Core::Hashable
-      
-        # Version of the `Policy`. The default version is 0.
-        # Corresponds to the JSON property `version`
-        # @return [Fixnum]
-        attr_accessor :version
-      
-        # Specifies cloud audit logging configuration for this policy.
-        # Corresponds to the JSON property `auditConfigs`
-        # @return [Array]
-        attr_accessor :audit_configs
-      
-        # Associates a list of `members` to a `role`.
-        # Multiple `bindings` must not be specified for the same `role`.
-        # `bindings` with no members will result in an error.
-        # Corresponds to the JSON property `bindings`
-        # @return [Array]
-        attr_accessor :bindings
-      
-        # `etag` is used for optimistic concurrency control as a way to help
-        # prevent simultaneous updates of a policy from overwriting each other.
-        # It is strongly suggested that systems make use of the `etag` in the
-        # read-modify-write cycle to perform policy updates in order to avoid race
-        # conditions: An `etag` is returned in the response to `getIamPolicy`, and
-        # systems are expected to put that etag in the request to `setIamPolicy` to
-        # ensure that their change will be applied to the same version of the policy.
-        # If no `etag` is provided in the call to `setIamPolicy`, then the existing
-        # policy is overwritten blindly.
-        # Corresponds to the JSON property `etag`
-        # NOTE: Values are automatically base64 encoded/decoded in the client library.
-        # @return [String]
-        attr_accessor :etag
-      
-        # 
-        # Corresponds to the JSON property `iamOwned`
-        # @return [Boolean]
-        attr_accessor :iam_owned
-        alias_method :iam_owned?, :iam_owned
-      
-        # If more than one rule is specified, the rules are applied in the following
-        # manner:
-        # - All matching LOG rules are always applied.
-        # - If any DENY/DENY_WITH_LOG rule matches, permission is denied.
-        # Logging will be applied if one or more matching rule requires logging.
-        # - Otherwise, if any ALLOW/ALLOW_WITH_LOG rule matches, permission is
-        # granted.
-        # Logging will be applied if one or more matching rule requires logging.
-        # - Otherwise, if no rule applies, permission is denied.
-        # Corresponds to the JSON property `rules`
-        # @return [Array]
-        attr_accessor :rules
-      
-        def initialize(**args)
-           update!(**args)
-        end
-      
-        # Update properties of this object
-        def update!(**args)
-          @version = args[:version] if args.key?(:version)
-          @audit_configs = args[:audit_configs] if args.key?(:audit_configs)
-          @bindings = args[:bindings] if args.key?(:bindings)
-          @etag = args[:etag] if args.key?(:etag)
-          @iam_owned = args[:iam_owned] if args.key?(:iam_owned)
-          @rules = args[:rules] if args.key?(:rules)
-        end
-      end
-      
-      # The request for Read and
-      # StreamingRead.
-      class ReadRequest
-        include Google::Apis::Core::Hashable
-      
-        # This message is used to select the transaction in which a
-        # Read or
-        # ExecuteSql call runs.
-        # See TransactionOptions for more information about transactions.
-        # Corresponds to the JSON property `transaction`
-        # @return [Google::Apis::SpannerV1::TransactionSelector]
-        attr_accessor :transaction
-      
-        # If this request is resuming a previously interrupted read,
-        # `resume_token` should be copied from the last
-        # PartialResultSet yielded before the interruption. Doing this
-        # enables the new read to resume where the last read left off. The
-        # rest of the request parameters must exactly match the request
-        # that yielded this token.
-        # Corresponds to the JSON property `resumeToken`
-        # NOTE: Values are automatically base64 encoded/decoded in the client library.
-        # @return [String]
-        attr_accessor :resume_token
-      
-        # Required. The name of the table in the database to be read.
-        # Corresponds to the JSON property `table`
-        # @return [String]
-        attr_accessor :table
-      
-        # If greater than zero, only the first `limit` rows are yielded. If `limit`
-        # is zero, the default is no limit.
-        # Corresponds to the JSON property `limit`
-        # @return [String]
-        attr_accessor :limit
-      
-        # If non-empty, the name of an index on table. This index is
-        # used instead of the table primary key when interpreting key_set
-        # and sorting result rows. See key_set for further information.
-        # Corresponds to the JSON property `index`
-        # @return [String]
-        attr_accessor :index
-      
-        # `KeySet` defines a collection of Cloud Spanner keys and/or key ranges. All
-        # the keys are expected to be in the same table or index. The keys need
-        # not be sorted in any particular way.
-        # If the same key is specified multiple times in the set (for example
-        # if two ranges, two keys, or a key and a range overlap), Cloud Spanner
-        # behaves as if the key were only specified once.
-        # Corresponds to the JSON property `keySet`
-        # @return [Google::Apis::SpannerV1::KeySet]
-        attr_accessor :key_set
-      
-        # The columns of table to be returned for each row matching
-        # this request.
-        # Corresponds to the JSON property `columns`
-        # @return [Array]
-        attr_accessor :columns
-      
-        def initialize(**args)
-           update!(**args)
-        end
-      
-        # Update properties of this object
-        def update!(**args)
-          @transaction = args[:transaction] if args.key?(:transaction)
-          @resume_token = args[:resume_token] if args.key?(:resume_token)
-          @table = args[:table] if args.key?(:table)
-          @limit = args[:limit] if args.key?(:limit)
-          @index = args[:index] if args.key?(:index)
-          @key_set = args[:key_set] if args.key?(:key_set)
-          @columns = args[:columns] if args.key?(:columns)
-        end
-      end
-      
-      # Arguments to insert, update, insert_or_update, and
-      # replace operations.
-      class Write
-        include Google::Apis::Core::Hashable
-      
-        # Required. The table whose rows will be written.
-        # Corresponds to the JSON property `table`
-        # @return [String]
-        attr_accessor :table
-      
-        # The names of the columns in table to be written.
-        # The list of columns must contain enough columns to allow
-        # Cloud Spanner to derive values for all primary key columns in the
-        # row(s) to be modified.
-        # Corresponds to the JSON property `columns`
-        # @return [Array]
-        attr_accessor :columns
-      
-        # The values to be written. `values` can contain more than one
-        # list of values. If it does, then multiple rows are written, one
-        # for each entry in `values`. Each list in `values` must have
-        # exactly as many entries as there are entries in columns
-        # above. Sending multiple lists is equivalent to sending multiple
-        # `Mutation`s, each containing one `values` entry and repeating
-        # table and columns. Individual values in each list are
-        # encoded as described here.
-        # Corresponds to the JSON property `values`
-        # @return [Array>]
-        attr_accessor :values
-      
-        def initialize(**args)
-           update!(**args)
-        end
-      
-        # Update properties of this object
-        def update!(**args)
-          @table = args[:table] if args.key?(:table)
-          @columns = args[:columns] if args.key?(:columns)
-          @values = args[:values] if args.key?(:values)
-        end
-      end
-      
-      # Options for read-write transactions.
-      class ReadWrite
-        include Google::Apis::Core::Hashable
-      
-        def initialize(**args)
-           update!(**args)
-        end
-      
-        # Update properties of this object
-        def update!(**args)
-        end
-      end
-      
-      # Write a Data Access (Gin) log
-      class DataAccessOptions
-        include Google::Apis::Core::Hashable
-      
-        def initialize(**args)
-           update!(**args)
-        end
-      
-        # Update properties of this object
-        def update!(**args)
-        end
-      end
-      
-      # This resource represents a long-running operation that is the result of a
-      # network API call.
-      class Operation
-        include Google::Apis::Core::Hashable
-      
-        # The normal response of the operation in case of success.  If the original
-        # method returns no data on success, such as `Delete`, the response is
-        # `google.protobuf.Empty`.  If the original method is standard
-        # `Get`/`Create`/`Update`, the response should be the resource.  For other
-        # methods, the response should have the type `XxxResponse`, where `Xxx`
-        # is the original method name.  For example, if the original method name
-        # is `TakeSnapshot()`, the inferred response type is
-        # `TakeSnapshotResponse`.
-        # Corresponds to the JSON property `response`
-        # @return [Hash]
-        attr_accessor :response
-      
-        # The server-assigned name, which is only unique within the same service that
-        # originally returns it. If you use the default HTTP mapping, the
-        # `name` should have the format of `operations/some/unique/name`.
-        # Corresponds to the JSON property `name`
-        # @return [String]
-        attr_accessor :name
-      
-        # The `Status` type defines a logical error model that is suitable for different
-        # programming environments, including REST APIs and RPC APIs. It is used by
-        # [gRPC](https://github.com/grpc). The error model is designed to be:
-        # - Simple to use and understand for most users
-        # - Flexible enough to meet unexpected needs
-        # # Overview
-        # The `Status` message contains three pieces of data: error code, error message,
-        # and error details. The error code should be an enum value of
-        # google.rpc.Code, but it may accept additional error codes if needed.  The
-        # error message should be a developer-facing English message that helps
-        # developers *understand* and *resolve* the error. If a localized user-facing
-        # error message is needed, put the localized message in the error details or
-        # localize it in the client. The optional error details may contain arbitrary
-        # information about the error. There is a predefined set of error detail types
-        # in the package `google.rpc` which can be used for common error conditions.
-        # # Language mapping
-        # The `Status` message is the logical representation of the error model, but it
-        # is not necessarily the actual wire format. When the `Status` message is
-        # exposed in different client libraries and different wire protocols, it can be
-        # mapped differently. For example, it will likely be mapped to some exceptions
-        # in Java, but more likely mapped to some error codes in C.
-        # # Other uses
-        # The error model and the `Status` message can be used in a variety of
-        # environments, either with or without APIs, to provide a
-        # consistent developer experience across different environments.
-        # Example uses of this error model include:
-        # - Partial errors. If a service needs to return partial errors to the client,
-        # it may embed the `Status` in the normal response to indicate the partial
-        # errors.
-        # - Workflow errors. A typical workflow has multiple steps. Each step may
-        # have a `Status` message for error reporting purpose.
-        # - Batch operations. If a client uses batch request and batch response, the
-        # `Status` message should be used directly inside batch response, one for
-        # each error sub-response.
-        # - Asynchronous operations. If an API call embeds asynchronous operation
-        # results in its response, the status of those operations should be
-        # represented directly using the `Status` message.
-        # - Logging. If some API errors are stored in logs, the message `Status` could
-        # be used directly after any stripping needed for security/privacy reasons.
-        # Corresponds to the JSON property `error`
-        # @return [Google::Apis::SpannerV1::Status]
-        attr_accessor :error
-      
-        # Service-specific metadata associated with the operation.  It typically
-        # contains progress information and common metadata such as create time.
-        # Some services might not provide such metadata.  Any method that returns a
-        # long-running operation should document the metadata type, if any.
-        # Corresponds to the JSON property `metadata`
-        # @return [Hash]
-        attr_accessor :metadata
-      
-        # If the value is `false`, it means the operation is still in progress.
-        # If true, the operation is completed, and either `error` or `response` is
-        # available.
-        # Corresponds to the JSON property `done`
-        # @return [Boolean]
-        attr_accessor :done
-        alias_method :done?, :done
-      
-        def initialize(**args)
-           update!(**args)
-        end
-      
-        # Update properties of this object
-        def update!(**args)
-          @response = args[:response] if args.key?(:response)
-          @name = args[:name] if args.key?(:name)
-          @error = args[:error] if args.key?(:error)
-          @metadata = args[:metadata] if args.key?(:metadata)
-          @done = args[:done] if args.key?(:done)
-        end
-      end
-      
-      # Results from Read or
-      # ExecuteSql.
-      class ResultSet
-        include Google::Apis::Core::Hashable
-      
-        # Each element in `rows` is a row whose format is defined by
-        # metadata.row_type. The ith element
-        # in each row matches the ith field in
-        # metadata.row_type. Elements are
-        # encoded based on type as described
-        # here.
-        # Corresponds to the JSON property `rows`
-        # @return [Array>]
-        attr_accessor :rows
-      
-        # Metadata about a ResultSet or PartialResultSet.
-        # Corresponds to the JSON property `metadata`
-        # @return [Google::Apis::SpannerV1::ResultSetMetadata]
-        attr_accessor :metadata
-      
-        # Additional statistics about a ResultSet or PartialResultSet.
-        # Corresponds to the JSON property `stats`
-        # @return [Google::Apis::SpannerV1::ResultSetStats]
-        attr_accessor :stats
-      
-        def initialize(**args)
-           update!(**args)
-        end
-      
-        # Update properties of this object
-        def update!(**args)
-          @rows = args[:rows] if args.key?(:rows)
-          @metadata = args[:metadata] if args.key?(:metadata)
-          @stats = args[:stats] if args.key?(:stats)
-        end
-      end
-      
-      # The `Status` type defines a logical error model that is suitable for different
-      # programming environments, including REST APIs and RPC APIs. It is used by
-      # [gRPC](https://github.com/grpc). The error model is designed to be:
-      # - Simple to use and understand for most users
-      # - Flexible enough to meet unexpected needs
-      # # Overview
-      # The `Status` message contains three pieces of data: error code, error message,
-      # and error details. The error code should be an enum value of
-      # google.rpc.Code, but it may accept additional error codes if needed.  The
-      # error message should be a developer-facing English message that helps
-      # developers *understand* and *resolve* the error. If a localized user-facing
-      # error message is needed, put the localized message in the error details or
-      # localize it in the client. The optional error details may contain arbitrary
-      # information about the error. There is a predefined set of error detail types
-      # in the package `google.rpc` which can be used for common error conditions.
-      # # Language mapping
-      # The `Status` message is the logical representation of the error model, but it
-      # is not necessarily the actual wire format. When the `Status` message is
-      # exposed in different client libraries and different wire protocols, it can be
-      # mapped differently. For example, it will likely be mapped to some exceptions
-      # in Java, but more likely mapped to some error codes in C.
-      # # Other uses
-      # The error model and the `Status` message can be used in a variety of
-      # environments, either with or without APIs, to provide a
-      # consistent developer experience across different environments.
-      # Example uses of this error model include:
-      # - Partial errors. If a service needs to return partial errors to the client,
-      # it may embed the `Status` in the normal response to indicate the partial
-      # errors.
-      # - Workflow errors. A typical workflow has multiple steps. Each step may
-      # have a `Status` message for error reporting purpose.
-      # - Batch operations. If a client uses batch request and batch response, the
-      # `Status` message should be used directly inside batch response, one for
-      # each error sub-response.
-      # - Asynchronous operations. If an API call embeds asynchronous operation
-      # results in its response, the status of those operations should be
-      # represented directly using the `Status` message.
-      # - Logging. If some API errors are stored in logs, the message `Status` could
-      # be used directly after any stripping needed for security/privacy reasons.
-      class Status
-        include Google::Apis::Core::Hashable
-      
-        # A list of messages that carry the error details.  There will be a
-        # common set of message types for APIs to use.
-        # Corresponds to the JSON property `details`
-        # @return [Array>]
-        attr_accessor :details
-      
-        # The status code, which should be an enum value of google.rpc.Code.
-        # Corresponds to the JSON property `code`
-        # @return [Fixnum]
-        attr_accessor :code
-      
-        # A developer-facing error message, which should be in English. Any
-        # user-facing error message should be localized and sent in the
-        # google.rpc.Status.details field, or localized by the client.
-        # Corresponds to the JSON property `message`
-        # @return [String]
-        attr_accessor :message
-      
-        def initialize(**args)
-           update!(**args)
-        end
-      
-        # Update properties of this object
-        def update!(**args)
-          @details = args[:details] if args.key?(:details)
-          @code = args[:code] if args.key?(:code)
-          @message = args[:message] if args.key?(:message)
-        end
-      end
-      
-      # Associates `members` with a `role`.
-      class Binding
-        include Google::Apis::Core::Hashable
-      
-        # Specifies the identities requesting access for a Cloud Platform resource.
-        # `members` can have the following values:
-        # * `allUsers`: A special identifier that represents anyone who is
-        # on the internet; with or without a Google account.
-        # * `allAuthenticatedUsers`: A special identifier that represents anyone
-        # who is authenticated with a Google account or a service account.
-        # * `user:`emailid``: An email address that represents a specific Google
-        # account. For example, `alice@gmail.com` or `joe@example.com`.
-        # * `serviceAccount:`emailid``: An email address that represents a service
-        # account. For example, `my-other-app@appspot.gserviceaccount.com`.
-        # * `group:`emailid``: An email address that represents a Google group.
-        # For example, `admins@example.com`.
-        # * `domain:`domain``: A Google Apps domain name that represents all the
-        # users of that domain. For example, `google.com` or `example.com`.
-        # Corresponds to the JSON property `members`
-        # @return [Array]
-        attr_accessor :members
-      
-        # Role that is assigned to `members`.
-        # For example, `roles/viewer`, `roles/editor`, or `roles/owner`.
-        # Required
-        # Corresponds to the JSON property `role`
-        # @return [String]
-        attr_accessor :role
-      
-        def initialize(**args)
-           update!(**args)
-        end
-      
-        # Update properties of this object
-        def update!(**args)
-          @members = args[:members] if args.key?(:members)
-          @role = args[:role] if args.key?(:role)
-        end
-      end
-      
-      # Enqueues the given DDL statements to be applied, in order but not
-      # necessarily all at once, to the database schema at some point (or
-      # points) in the future. The server checks that the statements
-      # are executable (syntactically valid, name tables that exist, etc.)
-      # before enqueueing them, but they may still fail upon
-      # later execution (e.g., if a statement from another batch of
-      # statements is applied first and it conflicts in some way, or if
-      # there is some data-related problem like a `NULL` value in a column to
-      # which `NOT NULL` would be added). If a statement fails, all
-      # subsequent statements in the batch are automatically cancelled.
-      # Each batch of statements is assigned a name which can be used with
-      # the Operations API to monitor
-      # progress. See the
-      # operation_id field for more
-      # details.
-      class UpdateDatabaseDdlRequest
-        include Google::Apis::Core::Hashable
-      
-        # DDL statements to be applied to the database.
-        # Corresponds to the JSON property `statements`
-        # @return [Array]
-        attr_accessor :statements
-      
-        # If empty, the new update request is assigned an
-        # automatically-generated operation ID. Otherwise, `operation_id`
-        # is used to construct the name of the resulting
-        # Operation.
-        # Specifying an explicit operation ID simplifies determining
-        # whether the statements were executed in the event that the
-        # UpdateDatabaseDdl call is replayed,
-        # or the return value is otherwise lost: the database and
-        # `operation_id` fields can be combined to form the
-        # name of the resulting
-        # longrunning.Operation: `/operations/`.
-        # `operation_id` should be unique within the database, and must be
-        # a valid identifier: `a-z*`. Note that
-        # automatically-generated operation IDs always begin with an
-        # underscore. If the named operation already exists,
-        # UpdateDatabaseDdl returns
-        # `ALREADY_EXISTS`.
-        # Corresponds to the JSON property `operationId`
-        # @return [String]
-        attr_accessor :operation_id
-      
-        def initialize(**args)
-           update!(**args)
-        end
-      
-        # Update properties of this object
-        def update!(**args)
-          @statements = args[:statements] if args.key?(:statements)
-          @operation_id = args[:operation_id] if args.key?(:operation_id)
-        end
-      end
-      
-      # Partial results from a streaming read or SQL query. Streaming reads and
-      # SQL queries better tolerate large result sets, large rows, and large
-      # values, but are a little trickier to consume.
-      class PartialResultSet
-        include Google::Apis::Core::Hashable
-      
-        # Streaming calls might be interrupted for a variety of reasons, such
-        # as TCP connection loss. If this occurs, the stream of results can
-        # be resumed by re-sending the original request and including
-        # `resume_token`. Note that executing any other transaction in the
-        # same session invalidates the token.
-        # Corresponds to the JSON property `resumeToken`
-        # NOTE: Values are automatically base64 encoded/decoded in the client library.
-        # @return [String]
-        attr_accessor :resume_token
-      
-        # Additional statistics about a ResultSet or PartialResultSet.
-        # Corresponds to the JSON property `stats`
-        # @return [Google::Apis::SpannerV1::ResultSetStats]
-        attr_accessor :stats
-      
-        # If true, then the final value in values is chunked, and must
-        # be combined with more values from subsequent `PartialResultSet`s
-        # to obtain a complete field value.
-        # Corresponds to the JSON property `chunkedValue`
-        # @return [Boolean]
-        attr_accessor :chunked_value
-        alias_method :chunked_value?, :chunked_value
-      
-        # Metadata about a ResultSet or PartialResultSet.
-        # Corresponds to the JSON property `metadata`
-        # @return [Google::Apis::SpannerV1::ResultSetMetadata]
-        attr_accessor :metadata
-      
-        # A streamed result set consists of a stream of values, which might
-        # be split into many `PartialResultSet` messages to accommodate
-        # large rows and/or large values. Every N complete values defines a
-        # row, where N is equal to the number of entries in
-        # metadata.row_type.fields.
-        # Most values are encoded based on type as described
-        # here.
-        # It is possible that the last value in values is "chunked",
-        # meaning that the rest of the value is sent in subsequent
-        # `PartialResultSet`(s). This is denoted by the chunked_value
-        # field. Two or more chunked values can be merged to form a
-        # complete value as follows:
-        # * `bool/number/null`: cannot be chunked
-        # * `string`: concatenate the strings
-        # * `list`: concatenate the lists. If the last element in a list is a
-        # `string`, `list`, or `object`, merge it with the first element in
-        # the next list by applying these rules recursively.
-        # * `object`: concatenate the (field name, field value) pairs. If a
-        # field name is duplicated, then apply these rules recursively
-        # to merge the field values.
-        # Some examples of merging:
-        # # Strings are concatenated.
-        # "foo", "bar" => "foobar"
-        # # Lists of non-strings are concatenated.
-        # [2, 3], [4] => [2, 3, 4]
-        # # Lists are concatenated, but the last and first elements are merged
-        # # because they are strings.
-        # ["a", "b"], ["c", "d"] => ["a", "bc", "d"]
-        # # Lists are concatenated, but the last and first elements are merged
-        # # because they are lists. Recursively, the last and first elements
-        # # of the inner lists are merged because they are strings.
-        # ["a", ["b", "c"]], [["d"], "e"] => ["a", ["b", "cd"], "e"]
-        # # Non-overlapping object fields are combined.
-        # `"a": "1"`, `"b": "2"` => `"a": "1", "b": 2"`
-        # # Overlapping object fields are merged.
-        # `"a": "1"`, `"a": "2"` => `"a": "12"`
-        # # Examples of merging objects containing lists of strings.
-        # `"a": ["1"]`, `"a": ["2"]` => `"a": ["12"]`
-        # For a more complete example, suppose a streaming SQL query is
-        # yielding a result set whose rows contain a single string
-        # field. The following `PartialResultSet`s might be yielded:
-        # `
-        # "metadata": ` ... `
-        # "values": ["Hello", "W"]
-        # "chunked_value": true
-        # "resume_token": "Af65..."
-        # `
-        # `
-        # "values": ["orl"]
-        # "chunked_value": true
-        # "resume_token": "Bqp2..."
-        # `
-        # `
-        # "values": ["d"]
-        # "resume_token": "Zx1B..."
-        # `
-        # This sequence of `PartialResultSet`s encodes two rows, one
-        # containing the field value `"Hello"`, and a second containing the
-        # field value `"World" = "W" + "orl" + "d"`.
-        # Corresponds to the JSON property `values`
-        # @return [Array]
-        attr_accessor :values
-      
-        def initialize(**args)
-           update!(**args)
-        end
-      
-        # Update properties of this object
-        def update!(**args)
-          @resume_token = args[:resume_token] if args.key?(:resume_token)
-          @stats = args[:stats] if args.key?(:stats)
-          @chunked_value = args[:chunked_value] if args.key?(:chunked_value)
-          @metadata = args[:metadata] if args.key?(:metadata)
-          @values = args[:values] if args.key?(:values)
-        end
-      end
-      
-      # Metadata type for the operation returned by
-      # UpdateInstance.
-      class UpdateInstanceMetadata
-        include Google::Apis::Core::Hashable
-      
-        # An isolated set of Cloud Spanner resources on which databases can be hosted.
-        # Corresponds to the JSON property `instance`
-        # @return [Google::Apis::SpannerV1::Instance]
-        attr_accessor :instance
-      
-        # The time at which UpdateInstance
-        # request was received.
-        # Corresponds to the JSON property `startTime`
-        # @return [String]
-        attr_accessor :start_time
-      
-        # The time at which this operation was cancelled. If set, this operation is
-        # in the process of undoing itself (which is guaranteed to succeed) and
-        # cannot be cancelled again.
-        # Corresponds to the JSON property `cancelTime`
-        # @return [String]
-        attr_accessor :cancel_time
-      
-        # The time at which this operation failed or was completed successfully.
-        # Corresponds to the JSON property `endTime`
-        # @return [String]
-        attr_accessor :end_time
-      
-        def initialize(**args)
-           update!(**args)
-        end
-      
-        # Update properties of this object
-        def update!(**args)
-          @instance = args[:instance] if args.key?(:instance)
-          @start_time = args[:start_time] if args.key?(:start_time)
-          @cancel_time = args[:cancel_time] if args.key?(:cancel_time)
-          @end_time = args[:end_time] if args.key?(:end_time)
-        end
-      end
-      
-      # The response message for Operations.ListOperations.
-      class ListOperationsResponse
-        include Google::Apis::Core::Hashable
-      
-        # The standard List next-page token.
-        # Corresponds to the JSON property `nextPageToken`
-        # @return [String]
-        attr_accessor :next_page_token
-      
-        # A list of operations that matches the specified filter in the request.
-        # Corresponds to the JSON property `operations`
-        # @return [Array]
-        attr_accessor :operations
-      
-        def initialize(**args)
-           update!(**args)
-        end
-      
-        # Update properties of this object
-        def update!(**args)
-          @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
-          @operations = args[:operations] if args.key?(:operations)
-        end
-      end
-      
       # Metadata about a ResultSet or PartialResultSet.
       class ResultSetMetadata
         include Google::Apis::Core::Hashable
       
-        # A transaction.
-        # Corresponds to the JSON property `transaction`
-        # @return [Google::Apis::SpannerV1::Transaction]
-        attr_accessor :transaction
-      
         # `StructType` defines the fields of a STRUCT type.
         # Corresponds to the JSON property `rowType`
         # @return [Google::Apis::SpannerV1::StructType]
         attr_accessor :row_type
       
+        # A transaction.
+        # Corresponds to the JSON property `transaction`
+        # @return [Google::Apis::SpannerV1::Transaction]
+        attr_accessor :transaction
+      
         def initialize(**args)
            update!(**args)
         end
       
         # Update properties of this object
         def update!(**args)
-          @transaction = args[:transaction] if args.key?(:transaction)
           @row_type = args[:row_type] if args.key?(:row_type)
+          @transaction = args[:transaction] if args.key?(:transaction)
         end
       end
       
@@ -2097,12 +54,6 @@ module Google
       class TransactionSelector
         include Google::Apis::Core::Hashable
       
-        # Execute the read or SQL query in a previously-started transaction.
-        # Corresponds to the JSON property `id`
-        # NOTE: Values are automatically base64 encoded/decoded in the client library.
-        # @return [String]
-        attr_accessor :id
-      
         # # Transactions
         # Each session can have at most one active transaction at a time. After the
         # active transaction is completed, the session can immediately be
@@ -2447,64 +398,21 @@ module Google
         # @return [Google::Apis::SpannerV1::TransactionOptions]
         attr_accessor :begin
       
+        # Execute the read or SQL query in a previously-started transaction.
+        # Corresponds to the JSON property `id`
+        # NOTE: Values are automatically base64 encoded/decoded in the client library.
+        # @return [String]
+        attr_accessor :id
+      
         def initialize(**args)
            update!(**args)
         end
       
         # Update properties of this object
         def update!(**args)
-          @id = args[:id] if args.key?(:id)
           @single_use = args[:single_use] if args.key?(:single_use)
           @begin = args[:begin] if args.key?(:begin)
-        end
-      end
-      
-      # A modification to one or more Cloud Spanner rows.  Mutations can be
-      # applied to a Cloud Spanner database by sending them in a
-      # Commit call.
-      class Mutation
-        include Google::Apis::Core::Hashable
-      
-        # Arguments to delete operations.
-        # Corresponds to the JSON property `delete`
-        # @return [Google::Apis::SpannerV1::Delete]
-        attr_accessor :delete
-      
-        # Arguments to insert, update, insert_or_update, and
-        # replace operations.
-        # Corresponds to the JSON property `insert`
-        # @return [Google::Apis::SpannerV1::Write]
-        attr_accessor :insert
-      
-        # Arguments to insert, update, insert_or_update, and
-        # replace operations.
-        # Corresponds to the JSON property `insertOrUpdate`
-        # @return [Google::Apis::SpannerV1::Write]
-        attr_accessor :insert_or_update
-      
-        # Arguments to insert, update, insert_or_update, and
-        # replace operations.
-        # Corresponds to the JSON property `update`
-        # @return [Google::Apis::SpannerV1::Write]
-        attr_accessor :update
-      
-        # Arguments to insert, update, insert_or_update, and
-        # replace operations.
-        # Corresponds to the JSON property `replace`
-        # @return [Google::Apis::SpannerV1::Write]
-        attr_accessor :replace
-      
-        def initialize(**args)
-           update!(**args)
-        end
-      
-        # Update properties of this object
-        def update!(**args)
-          @delete = args[:delete] if args.key?(:delete)
-          @insert = args[:insert] if args.key?(:insert)
-          @insert_or_update = args[:insert_or_update] if args.key?(:insert_or_update)
-          @update = args[:update] if args.key?(:update)
-          @replace = args[:replace] if args.key?(:replace)
+          @id = args[:id] if args.key?(:id)
         end
       end
       
@@ -2551,6 +459,55 @@ module Google
         end
       end
       
+      # A modification to one or more Cloud Spanner rows.  Mutations can be
+      # applied to a Cloud Spanner database by sending them in a
+      # Commit call.
+      class Mutation
+        include Google::Apis::Core::Hashable
+      
+        # Arguments to insert, update, insert_or_update, and
+        # replace operations.
+        # Corresponds to the JSON property `update`
+        # @return [Google::Apis::SpannerV1::Write]
+        attr_accessor :update
+      
+        # Arguments to insert, update, insert_or_update, and
+        # replace operations.
+        # Corresponds to the JSON property `replace`
+        # @return [Google::Apis::SpannerV1::Write]
+        attr_accessor :replace
+      
+        # Arguments to delete operations.
+        # Corresponds to the JSON property `delete`
+        # @return [Google::Apis::SpannerV1::Delete]
+        attr_accessor :delete
+      
+        # Arguments to insert, update, insert_or_update, and
+        # replace operations.
+        # Corresponds to the JSON property `insert`
+        # @return [Google::Apis::SpannerV1::Write]
+        attr_accessor :insert
+      
+        # Arguments to insert, update, insert_or_update, and
+        # replace operations.
+        # Corresponds to the JSON property `insertOrUpdate`
+        # @return [Google::Apis::SpannerV1::Write]
+        attr_accessor :insert_or_update
+      
+        def initialize(**args)
+           update!(**args)
+        end
+      
+        # Update properties of this object
+        def update!(**args)
+          @update = args[:update] if args.key?(:update)
+          @replace = args[:replace] if args.key?(:replace)
+          @delete = args[:delete] if args.key?(:delete)
+          @insert = args[:insert] if args.key?(:insert)
+          @insert_or_update = args[:insert_or_update] if args.key?(:insert_or_update)
+        end
+      end
+      
       # The response for GetDatabaseDdl.
       class GetDatabaseDdlResponse
         include Google::Apis::Core::Hashable
@@ -2600,21 +557,67 @@ module Google
         end
       end
       
-      # The response for ListDatabases.
-      class ListDatabasesResponse
+      # An isolated set of Cloud Spanner resources on which databases can be hosted.
+      class Instance
         include Google::Apis::Core::Hashable
       
-        # `next_page_token` can be sent in a subsequent
-        # ListDatabases call to fetch more
-        # of the matching databases.
-        # Corresponds to the JSON property `nextPageToken`
+        # Required. The name of the instance's configuration. Values are of the form
+        # `projects//instanceConfigs/`. See
+        # also InstanceConfig and
+        # ListInstanceConfigs.
+        # Corresponds to the JSON property `config`
         # @return [String]
-        attr_accessor :next_page_token
+        attr_accessor :config
       
-        # Databases that matched the request.
-        # Corresponds to the JSON property `databases`
-        # @return [Array]
-        attr_accessor :databases
+        # Output only. The current instance state. For
+        # CreateInstance, the state must be
+        # either omitted or set to `CREATING`. For
+        # UpdateInstance, the state must be
+        # either omitted or set to `READY`.
+        # Corresponds to the JSON property `state`
+        # @return [String]
+        attr_accessor :state
+      
+        # Required. A unique identifier for the instance, which cannot be changed
+        # after the instance is created. Values are of the form
+        # `projects//instances/a-z*[a-z0-9]`. The final
+        # segment of the name must be between 6 and 30 characters in length.
+        # Corresponds to the JSON property `name`
+        # @return [String]
+        attr_accessor :name
+      
+        # Required. The descriptive name for this instance as it appears in UIs.
+        # Must be unique per project and between 4 and 30 characters in length.
+        # Corresponds to the JSON property `displayName`
+        # @return [String]
+        attr_accessor :display_name
+      
+        # Required. The number of nodes allocated to this instance.
+        # Corresponds to the JSON property `nodeCount`
+        # @return [Fixnum]
+        attr_accessor :node_count
+      
+        # Cloud Labels are a flexible and lightweight mechanism for organizing cloud
+        # resources into groups that reflect a customer's organizational needs and
+        # deployment strategies. Cloud Labels can be used to filter collections of
+        # resources. They can be used to control how resource metrics are aggregated.
+        # And they can be used as arguments to policy management rules (e.g. route,
+        # firewall, load balancing, etc.).
+        # * Label keys must be between 1 and 63 characters long and must conform to
+        # the following regular expression: `[a-z]([-a-z0-9]*[a-z0-9])?`.
+        # * Label values must be between 0 and 63 characters long and must conform
+        # to the regular expression `([a-z]([-a-z0-9]*[a-z0-9])?)?`.
+        # * No more than 64 labels can be associated with a given resource.
+        # See https://goo.gl/xmQnxf for more information on and examples of labels.
+        # If you plan to use labels in your own code, please note that additional
+        # characters may be allowed in the future. And so you are advised to use an
+        # internal label representation, such as JSON, which doesn't rely upon
+        # specific characters being disallowed.  For example, representing labels
+        # as the string:  name + "_" + value  would prove problematic if we were to
+        # allow "_" in a future release.
+        # Corresponds to the JSON property `labels`
+        # @return [Hash]
+        attr_accessor :labels
       
         def initialize(**args)
            update!(**args)
@@ -2622,8 +625,12 @@ module Google
       
         # Update properties of this object
         def update!(**args)
-          @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
-          @databases = args[:databases] if args.key?(:databases)
+          @config = args[:config] if args.key?(:config)
+          @state = args[:state] if args.key?(:state)
+          @name = args[:name] if args.key?(:name)
+          @display_name = args[:display_name] if args.key?(:display_name)
+          @node_count = args[:node_count] if args.key?(:node_count)
+          @labels = args[:labels] if args.key?(:labels)
         end
       end
       
@@ -2681,67 +688,21 @@ module Google
         end
       end
       
-      # An isolated set of Cloud Spanner resources on which databases can be hosted.
-      class Instance
+      # The response for ListDatabases.
+      class ListDatabasesResponse
         include Google::Apis::Core::Hashable
       
-        # Required. The number of nodes allocated to this instance.
-        # Corresponds to the JSON property `nodeCount`
-        # @return [Fixnum]
-        attr_accessor :node_count
-      
-        # Cloud Labels are a flexible and lightweight mechanism for organizing cloud
-        # resources into groups that reflect a customer's organizational needs and
-        # deployment strategies. Cloud Labels can be used to filter collections of
-        # resources. They can be used to control how resource metrics are aggregated.
-        # And they can be used as arguments to policy management rules (e.g. route,
-        # firewall, load balancing, etc.).
-        # * Label keys must be between 1 and 63 characters long and must conform to
-        # the following regular expression: `[a-z]([-a-z0-9]*[a-z0-9])?`.
-        # * Label values must be between 0 and 63 characters long and must conform
-        # to the regular expression `([a-z]([-a-z0-9]*[a-z0-9])?)?`.
-        # * No more than 64 labels can be associated with a given resource.
-        # See https://goo.gl/xmQnxf for more information on and examples of labels.
-        # If you plan to use labels in your own code, please note that additional
-        # characters may be allowed in the future. And so you are advised to use an
-        # internal label representation, such as JSON, which doesn't rely upon
-        # specific characters being disallowed.  For example, representing labels
-        # as the string:  name + "_" + value  would prove problematic if we were to
-        # allow "_" in a future release.
-        # Corresponds to the JSON property `labels`
-        # @return [Hash]
-        attr_accessor :labels
-      
-        # Required. The name of the instance's configuration. Values are of the form
-        # `projects//instanceConfigs/`. See
-        # also InstanceConfig and
-        # ListInstanceConfigs.
-        # Corresponds to the JSON property `config`
+        # `next_page_token` can be sent in a subsequent
+        # ListDatabases call to fetch more
+        # of the matching databases.
+        # Corresponds to the JSON property `nextPageToken`
         # @return [String]
-        attr_accessor :config
+        attr_accessor :next_page_token
       
-        # Output only. The current instance state. For
-        # CreateInstance, the state must be
-        # either omitted or set to `CREATING`. For
-        # UpdateInstance, the state must be
-        # either omitted or set to `READY`.
-        # Corresponds to the JSON property `state`
-        # @return [String]
-        attr_accessor :state
-      
-        # Required. A unique identifier for the instance, which cannot be changed
-        # after the instance is created. Values are of the form
-        # `projects//instances/a-z*[a-z0-9]`. The final
-        # segment of the name must be between 6 and 30 characters in length.
-        # Corresponds to the JSON property `name`
-        # @return [String]
-        attr_accessor :name
-      
-        # Required. The descriptive name for this instance as it appears in UIs.
-        # Must be unique per project and between 4 and 30 characters in length.
-        # Corresponds to the JSON property `displayName`
-        # @return [String]
-        attr_accessor :display_name
+        # Databases that matched the request.
+        # Corresponds to the JSON property `databases`
+        # @return [Array]
+        attr_accessor :databases
       
         def initialize(**args)
            update!(**args)
@@ -2749,12 +710,8 @@ module Google
       
         # Update properties of this object
         def update!(**args)
-          @node_count = args[:node_count] if args.key?(:node_count)
-          @labels = args[:labels] if args.key?(:labels)
-          @config = args[:config] if args.key?(:config)
-          @state = args[:state] if args.key?(:state)
-          @name = args[:name] if args.key?(:name)
-          @display_name = args[:display_name] if args.key?(:display_name)
+          @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
+          @databases = args[:databases] if args.key?(:databases)
         end
       end
       
@@ -2817,11 +774,6 @@ module Google
       class UpdateDatabaseDdlMetadata
         include Google::Apis::Core::Hashable
       
-        # The database being modified.
-        # Corresponds to the JSON property `database`
-        # @return [String]
-        attr_accessor :database
-      
         # For an update this list contains all the statements. For an
         # individual statement, this list contains only that statement.
         # Corresponds to the JSON property `statements`
@@ -2835,15 +787,20 @@ module Google
         # @return [Array]
         attr_accessor :commit_timestamps
       
+        # The database being modified.
+        # Corresponds to the JSON property `database`
+        # @return [String]
+        attr_accessor :database
+      
         def initialize(**args)
            update!(**args)
         end
       
         # Update properties of this object
         def update!(**args)
-          @database = args[:database] if args.key?(:database)
           @statements = args[:statements] if args.key?(:statements)
           @commit_timestamps = args[:commit_timestamps] if args.key?(:commit_timestamps)
+          @database = args[:database] if args.key?(:database)
         end
       end
       
@@ -2872,27 +829,6 @@ module Google
         end
       end
       
-      # Contains an ordered list of nodes appearing in the query plan.
-      class QueryPlan
-        include Google::Apis::Core::Hashable
-      
-        # The nodes in the query plan. Plan nodes are returned in pre-order starting
-        # with the plan root. Each PlanNode's `id` corresponds to its index in
-        # `plan_nodes`.
-        # Corresponds to the JSON property `planNodes`
-        # @return [Array]
-        attr_accessor :plan_nodes
-      
-        def initialize(**args)
-           update!(**args)
-        end
-      
-        # Update properties of this object
-        def update!(**args)
-          @plan_nodes = args[:plan_nodes] if args.key?(:plan_nodes)
-        end
-      end
-      
       # `StructType` defines the fields of a STRUCT type.
       class StructType
         include Google::Apis::Core::Hashable
@@ -2917,6 +853,27 @@ module Google
         end
       end
       
+      # Contains an ordered list of nodes appearing in the query plan.
+      class QueryPlan
+        include Google::Apis::Core::Hashable
+      
+        # The nodes in the query plan. Plan nodes are returned in pre-order starting
+        # with the plan root. Each PlanNode's `id` corresponds to its index in
+        # `plan_nodes`.
+        # Corresponds to the JSON property `planNodes`
+        # @return [Array]
+        attr_accessor :plan_nodes
+      
+        def initialize(**args)
+           update!(**args)
+        end
+      
+        # Update properties of this object
+        def update!(**args)
+          @plan_nodes = args[:plan_nodes] if args.key?(:plan_nodes)
+        end
+      end
+      
       # Message representing a single field of a struct.
       class Field
         include Google::Apis::Core::Hashable
@@ -2949,27 +906,6 @@ module Google
         end
       end
       
-      # Request message for `TestIamPermissions` method.
-      class TestIamPermissionsRequest
-        include Google::Apis::Core::Hashable
-      
-        # REQUIRED: The set of permissions to check for 'resource'.
-        # Permissions with wildcards (such as '*', 'spanner.*', 'spanner.instances.*')
-        # are not allowed.
-        # Corresponds to the JSON property `permissions`
-        # @return [Array]
-        attr_accessor :permissions
-      
-        def initialize(**args)
-           update!(**args)
-        end
-      
-        # Update properties of this object
-        def update!(**args)
-          @permissions = args[:permissions] if args.key?(:permissions)
-        end
-      end
-      
       # Additional statistics about a ResultSet or PartialResultSet.
       class ResultSetStats
         include Google::Apis::Core::Hashable
@@ -3002,6 +938,27 @@ module Google
         end
       end
       
+      # Request message for `TestIamPermissions` method.
+      class TestIamPermissionsRequest
+        include Google::Apis::Core::Hashable
+      
+        # REQUIRED: The set of permissions to check for 'resource'.
+        # Permissions with wildcards (such as '*', 'spanner.*', 'spanner.instances.*')
+        # are not allowed.
+        # Corresponds to the JSON property `permissions`
+        # @return [Array]
+        attr_accessor :permissions
+      
+        def initialize(**args)
+           update!(**args)
+        end
+      
+        # Update properties of this object
+        def update!(**args)
+          @permissions = args[:permissions] if args.key?(:permissions)
+        end
+      end
+      
       # The response for Commit.
       class CommitResponse
         include Google::Apis::Core::Hashable
@@ -3123,46 +1080,6 @@ module Google
         end
       end
       
-      # Specifies the audit configuration for a service.
-      # It consists of which permission types are logged, and what identities, if
-      # any, are exempted from logging.
-      # An AuditConifg must have one or more AuditLogConfigs.
-      class AuditConfig
-        include Google::Apis::Core::Hashable
-      
-        # Specifies the identities that are exempted from "data access" audit
-        # logging for the `service` specified above.
-        # Follows the same format of Binding.members.
-        # This field is deprecated in favor of per-permission-type exemptions.
-        # Corresponds to the JSON property `exemptedMembers`
-        # @return [Array]
-        attr_accessor :exempted_members
-      
-        # Specifies a service that will be enabled for audit logging.
-        # For example, `resourcemanager`, `storage`, `compute`.
-        # `allServices` is a special value that covers all services.
-        # Corresponds to the JSON property `service`
-        # @return [String]
-        attr_accessor :service
-      
-        # The configuration for logging of each type of permission.
-        # Next ID: 4
-        # Corresponds to the JSON property `auditLogConfigs`
-        # @return [Array]
-        attr_accessor :audit_log_configs
-      
-        def initialize(**args)
-           update!(**args)
-        end
-      
-        # Update properties of this object
-        def update!(**args)
-          @exempted_members = args[:exempted_members] if args.key?(:exempted_members)
-          @service = args[:service] if args.key?(:service)
-          @audit_log_configs = args[:audit_log_configs] if args.key?(:audit_log_configs)
-        end
-      end
-      
       # Metadata type for the operation returned by
       # CreateInstance.
       class CreateInstanceMetadata
@@ -3205,11 +1122,59 @@ module Google
         end
       end
       
+      # Specifies the audit configuration for a service.
+      # It consists of which permission types are logged, and what identities, if
+      # any, are exempted from logging.
+      # An AuditConifg must have one or more AuditLogConfigs.
+      class AuditConfig
+        include Google::Apis::Core::Hashable
+      
+        # Specifies the identities that are exempted from "data access" audit
+        # logging for the `service` specified above.
+        # Follows the same format of Binding.members.
+        # This field is deprecated in favor of per-permission-type exemptions.
+        # Corresponds to the JSON property `exemptedMembers`
+        # @return [Array]
+        attr_accessor :exempted_members
+      
+        # Specifies a service that will be enabled for audit logging.
+        # For example, `resourcemanager`, `storage`, `compute`.
+        # `allServices` is a special value that covers all services.
+        # Corresponds to the JSON property `service`
+        # @return [String]
+        attr_accessor :service
+      
+        # The configuration for logging of each type of permission.
+        # Next ID: 4
+        # Corresponds to the JSON property `auditLogConfigs`
+        # @return [Array]
+        attr_accessor :audit_log_configs
+      
+        def initialize(**args)
+           update!(**args)
+        end
+      
+        # Update properties of this object
+        def update!(**args)
+          @exempted_members = args[:exempted_members] if args.key?(:exempted_members)
+          @service = args[:service] if args.key?(:service)
+          @audit_log_configs = args[:audit_log_configs] if args.key?(:audit_log_configs)
+        end
+      end
+      
       # Metadata associated with a parent-child relationship appearing in a
       # PlanNode.
       class ChildLink
         include Google::Apis::Core::Hashable
       
+        # The type of the link. For example, in Hash Joins this could be used to
+        # distinguish between the build child and the probe child, or in the case
+        # of the child being an output variable, to represent the tag associated
+        # with the output variable.
+        # Corresponds to the JSON property `type`
+        # @return [String]
+        attr_accessor :type
+      
         # The node to which the link points.
         # Corresponds to the JSON property `childIndex`
         # @return [Fixnum]
@@ -3227,23 +1192,15 @@ module Google
         # @return [String]
         attr_accessor :variable
       
-        # The type of the link. For example, in Hash Joins this could be used to
-        # distinguish between the build child and the probe child, or in the case
-        # of the child being an output variable, to represent the tag associated
-        # with the output variable.
-        # Corresponds to the JSON property `type`
-        # @return [String]
-        attr_accessor :type
-      
         def initialize(**args)
            update!(**args)
         end
       
         # Update properties of this object
         def update!(**args)
+          @type = args[:type] if args.key?(:type)
           @child_index = args[:child_index] if args.key?(:child_index)
           @variable = args[:variable] if args.key?(:variable)
-          @type = args[:type] if args.key?(:type)
         end
       end
       
@@ -3289,6 +1246,2049 @@ module Google
           @key_set = args[:key_set] if args.key?(:key_set)
         end
       end
+      
+      # The request for Commit.
+      class CommitRequest
+        include Google::Apis::Core::Hashable
+      
+        # # Transactions
+        # Each session can have at most one active transaction at a time. After the
+        # active transaction is completed, the session can immediately be
+        # re-used for the next transaction. It is not necessary to create a
+        # new session for each transaction.
+        # # Transaction Modes
+        # Cloud Spanner supports two transaction modes:
+        # 1. Locking read-write. This type of transaction is the only way
+        # to write data into Cloud Spanner. These transactions rely on
+        # pessimistic locking and, if necessary, two-phase commit.
+        # Locking read-write transactions may abort, requiring the
+        # application to retry.
+        # 2. Snapshot read-only. This transaction type provides guaranteed
+        # consistency across several reads, but does not allow
+        # writes. Snapshot read-only transactions can be configured to
+        # read at timestamps in the past. Snapshot read-only
+        # transactions do not need to be committed.
+        # For transactions that only read, snapshot read-only transactions
+        # provide simpler semantics and are almost always faster. In
+        # particular, read-only transactions do not take locks, so they do
+        # not conflict with read-write transactions. As a consequence of not
+        # taking locks, they also do not abort, so retry loops are not needed.
+        # Transactions may only read/write data in a single database. They
+        # may, however, read/write data in different tables within that
+        # database.
+        # ## Locking Read-Write Transactions
+        # Locking transactions may be used to atomically read-modify-write
+        # data anywhere in a database. This type of transaction is externally
+        # consistent.
+        # Clients should attempt to minimize the amount of time a transaction
+        # is active. Faster transactions commit with higher probability
+        # and cause less contention. Cloud Spanner attempts to keep read locks
+        # active as long as the transaction continues to do reads, and the
+        # transaction has not been terminated by
+        # Commit or
+        # Rollback.  Long periods of
+        # inactivity at the client may cause Cloud Spanner to release a
+        # transaction's locks and abort it.
+        # Reads performed within a transaction acquire locks on the data
+        # being read. Writes can only be done at commit time, after all reads
+        # have been completed.
+        # Conceptually, a read-write transaction consists of zero or more
+        # reads or SQL queries followed by
+        # Commit. At any time before
+        # Commit, the client can send a
+        # Rollback request to abort the
+        # transaction.
+        # ### Semantics
+        # Cloud Spanner can commit the transaction if all read locks it acquired
+        # are still valid at commit time, and it is able to acquire write
+        # locks for all writes. Cloud Spanner can abort the transaction for any
+        # reason. If a commit attempt returns `ABORTED`, Cloud Spanner guarantees
+        # that the transaction has not modified any user data in Cloud Spanner.
+        # Unless the transaction commits, Cloud Spanner makes no guarantees about
+        # how long the transaction's locks were held for. It is an error to
+        # use Cloud Spanner locks for any sort of mutual exclusion other than
+        # between Cloud Spanner transactions themselves.
+        # ### Retrying Aborted Transactions
+        # When a transaction aborts, the application can choose to retry the
+        # whole transaction again. To maximize the chances of successfully
+        # committing the retry, the client should execute the retry in the
+        # same session as the original attempt. The original session's lock
+        # priority increases with each consecutive abort, meaning that each
+        # attempt has a slightly better chance of success than the previous.
+        # Under some circumstances (e.g., many transactions attempting to
+        # modify the same row(s)), a transaction can abort many times in a
+        # short period before successfully committing. Thus, it is not a good
+        # idea to cap the number of retries a transaction can attempt;
+        # instead, it is better to limit the total amount of wall time spent
+        # retrying.
+        # ### Idle Transactions
+        # A transaction is considered idle if it has no outstanding reads or
+        # SQL queries and has not started a read or SQL query within the last 10
+        # seconds. Idle transactions can be aborted by Cloud Spanner so that they
+        # don't hold on to locks indefinitely. In that case, the commit will
+        # fail with error `ABORTED`.
+        # If this behavior is undesirable, periodically executing a simple
+        # SQL query in the transaction (e.g., `SELECT 1`) prevents the
+        # transaction from becoming idle.
+        # ## Snapshot Read-Only Transactions
+        # Snapshot read-only transactions provides a simpler method than
+        # locking read-write transactions for doing several consistent
+        # reads. However, this type of transaction does not support writes.
+        # Snapshot transactions do not take locks. Instead, they work by
+        # choosing a Cloud Spanner timestamp, then executing all reads at that
+        # timestamp. Since they do not acquire locks, they do not block
+        # concurrent read-write transactions.
+        # Unlike locking read-write transactions, snapshot read-only
+        # transactions never abort. They can fail if the chosen read
+        # timestamp is garbage collected; however, the default garbage
+        # collection policy is generous enough that most applications do not
+        # need to worry about this in practice.
+        # Snapshot read-only transactions do not need to call
+        # Commit or
+        # Rollback (and in fact are not
+        # permitted to do so).
+        # To execute a snapshot transaction, the client specifies a timestamp
+        # bound, which tells Cloud Spanner how to choose a read timestamp.
+        # The types of timestamp bound are:
+        # - Strong (the default).
+        # - Bounded staleness.
+        # - Exact staleness.
+        # If the Cloud Spanner database to be read is geographically distributed,
+        # stale read-only transactions can execute more quickly than strong
+        # or read-write transaction, because they are able to execute far
+        # from the leader replica.
+        # Each type of timestamp bound is discussed in detail below.
+        # ### Strong
+        # Strong reads are guaranteed to see the effects of all transactions
+        # that have committed before the start of the read. Furthermore, all
+        # rows yielded by a single read are consistent with each other -- if
+        # any part of the read observes a transaction, all parts of the read
+        # see the transaction.
+        # Strong reads are not repeatable: two consecutive strong read-only
+        # transactions might return inconsistent results if there are
+        # concurrent writes. If consistency across reads is required, the
+        # reads should be executed within a transaction or at an exact read
+        # timestamp.
+        # See TransactionOptions.ReadOnly.strong.
+        # ### Exact Staleness
+        # These timestamp bounds execute reads at a user-specified
+        # timestamp. Reads at a timestamp are guaranteed to see a consistent
+        # prefix of the global transaction history: they observe
+        # modifications done by all transactions with a commit timestamp <=
+        # the read timestamp, and observe none of the modifications done by
+        # transactions with a larger commit timestamp. They will block until
+        # all conflicting transactions that may be assigned commit timestamps
+        # <= the read timestamp have finished.
+        # The timestamp can either be expressed as an absolute Cloud Spanner commit
+        # timestamp or a staleness relative to the current time.
+        # These modes do not require a "negotiation phase" to pick a
+        # timestamp. As a result, they execute slightly faster than the
+        # equivalent boundedly stale concurrency modes. On the other hand,
+        # boundedly stale reads usually return fresher results.
+        # See TransactionOptions.ReadOnly.read_timestamp and
+        # TransactionOptions.ReadOnly.exact_staleness.
+        # ### Bounded Staleness
+        # Bounded staleness modes allow Cloud Spanner to pick the read timestamp,
+        # subject to a user-provided staleness bound. Cloud Spanner chooses the
+        # newest timestamp within the staleness bound that allows execution
+        # of the reads at the closest available replica without blocking.
+        # All rows yielded are consistent with each other -- if any part of
+        # the read observes a transaction, all parts of the read see the
+        # transaction. Boundedly stale reads are not repeatable: two stale
+        # reads, even if they use the same staleness bound, can execute at
+        # different timestamps and thus return inconsistent results.
+        # Boundedly stale reads execute in two phases: the first phase
+        # negotiates a timestamp among all replicas needed to serve the
+        # read. In the second phase, reads are executed at the negotiated
+        # timestamp.
+        # As a result of the two phase execution, bounded staleness reads are
+        # usually a little slower than comparable exact staleness
+        # reads. However, they are typically able to return fresher
+        # results, and are more likely to execute at the closest replica.
+        # Because the timestamp negotiation requires up-front knowledge of
+        # which rows will be read, it can only be used with single-use
+        # read-only transactions.
+        # See TransactionOptions.ReadOnly.max_staleness and
+        # TransactionOptions.ReadOnly.min_read_timestamp.
+        # ### Old Read Timestamps and Garbage Collection
+        # Cloud Spanner continuously garbage collects deleted and overwritten data
+        # in the background to reclaim storage space. This process is known
+        # as "version GC". By default, version GC reclaims versions after they
+        # are one hour old. Because of this, Cloud Spanner cannot perform reads
+        # at read timestamps more than one hour in the past. This
+        # restriction also applies to in-progress reads and/or SQL queries whose
+        # timestamp become too old while executing. Reads and SQL queries with
+        # too-old read timestamps fail with the error `FAILED_PRECONDITION`.
+        # Corresponds to the JSON property `singleUseTransaction`
+        # @return [Google::Apis::SpannerV1::TransactionOptions]
+        attr_accessor :single_use_transaction
+      
+        # The mutations to be executed when this transaction commits. All
+        # mutations are applied atomically, in the order they appear in
+        # this list.
+        # Corresponds to the JSON property `mutations`
+        # @return [Array]
+        attr_accessor :mutations
+      
+        # Commit a previously-started transaction.
+        # Corresponds to the JSON property `transactionId`
+        # NOTE: Values are automatically base64 encoded/decoded in the client library.
+        # @return [String]
+        attr_accessor :transaction_id
+      
+        def initialize(**args)
+           update!(**args)
+        end
+      
+        # Update properties of this object
+        def update!(**args)
+          @single_use_transaction = args[:single_use_transaction] if args.key?(:single_use_transaction)
+          @mutations = args[:mutations] if args.key?(:mutations)
+          @transaction_id = args[:transaction_id] if args.key?(:transaction_id)
+        end
+      end
+      
+      # The request for BeginTransaction.
+      class BeginTransactionRequest
+        include Google::Apis::Core::Hashable
+      
+        # # Transactions
+        # Each session can have at most one active transaction at a time. After the
+        # active transaction is completed, the session can immediately be
+        # re-used for the next transaction. It is not necessary to create a
+        # new session for each transaction.
+        # # Transaction Modes
+        # Cloud Spanner supports two transaction modes:
+        # 1. Locking read-write. This type of transaction is the only way
+        # to write data into Cloud Spanner. These transactions rely on
+        # pessimistic locking and, if necessary, two-phase commit.
+        # Locking read-write transactions may abort, requiring the
+        # application to retry.
+        # 2. Snapshot read-only. This transaction type provides guaranteed
+        # consistency across several reads, but does not allow
+        # writes. Snapshot read-only transactions can be configured to
+        # read at timestamps in the past. Snapshot read-only
+        # transactions do not need to be committed.
+        # For transactions that only read, snapshot read-only transactions
+        # provide simpler semantics and are almost always faster. In
+        # particular, read-only transactions do not take locks, so they do
+        # not conflict with read-write transactions. As a consequence of not
+        # taking locks, they also do not abort, so retry loops are not needed.
+        # Transactions may only read/write data in a single database. They
+        # may, however, read/write data in different tables within that
+        # database.
+        # ## Locking Read-Write Transactions
+        # Locking transactions may be used to atomically read-modify-write
+        # data anywhere in a database. This type of transaction is externally
+        # consistent.
+        # Clients should attempt to minimize the amount of time a transaction
+        # is active. Faster transactions commit with higher probability
+        # and cause less contention. Cloud Spanner attempts to keep read locks
+        # active as long as the transaction continues to do reads, and the
+        # transaction has not been terminated by
+        # Commit or
+        # Rollback.  Long periods of
+        # inactivity at the client may cause Cloud Spanner to release a
+        # transaction's locks and abort it.
+        # Reads performed within a transaction acquire locks on the data
+        # being read. Writes can only be done at commit time, after all reads
+        # have been completed.
+        # Conceptually, a read-write transaction consists of zero or more
+        # reads or SQL queries followed by
+        # Commit. At any time before
+        # Commit, the client can send a
+        # Rollback request to abort the
+        # transaction.
+        # ### Semantics
+        # Cloud Spanner can commit the transaction if all read locks it acquired
+        # are still valid at commit time, and it is able to acquire write
+        # locks for all writes. Cloud Spanner can abort the transaction for any
+        # reason. If a commit attempt returns `ABORTED`, Cloud Spanner guarantees
+        # that the transaction has not modified any user data in Cloud Spanner.
+        # Unless the transaction commits, Cloud Spanner makes no guarantees about
+        # how long the transaction's locks were held for. It is an error to
+        # use Cloud Spanner locks for any sort of mutual exclusion other than
+        # between Cloud Spanner transactions themselves.
+        # ### Retrying Aborted Transactions
+        # When a transaction aborts, the application can choose to retry the
+        # whole transaction again. To maximize the chances of successfully
+        # committing the retry, the client should execute the retry in the
+        # same session as the original attempt. The original session's lock
+        # priority increases with each consecutive abort, meaning that each
+        # attempt has a slightly better chance of success than the previous.
+        # Under some circumstances (e.g., many transactions attempting to
+        # modify the same row(s)), a transaction can abort many times in a
+        # short period before successfully committing. Thus, it is not a good
+        # idea to cap the number of retries a transaction can attempt;
+        # instead, it is better to limit the total amount of wall time spent
+        # retrying.
+        # ### Idle Transactions
+        # A transaction is considered idle if it has no outstanding reads or
+        # SQL queries and has not started a read or SQL query within the last 10
+        # seconds. Idle transactions can be aborted by Cloud Spanner so that they
+        # don't hold on to locks indefinitely. In that case, the commit will
+        # fail with error `ABORTED`.
+        # If this behavior is undesirable, periodically executing a simple
+        # SQL query in the transaction (e.g., `SELECT 1`) prevents the
+        # transaction from becoming idle.
+        # ## Snapshot Read-Only Transactions
+        # Snapshot read-only transactions provides a simpler method than
+        # locking read-write transactions for doing several consistent
+        # reads. However, this type of transaction does not support writes.
+        # Snapshot transactions do not take locks. Instead, they work by
+        # choosing a Cloud Spanner timestamp, then executing all reads at that
+        # timestamp. Since they do not acquire locks, they do not block
+        # concurrent read-write transactions.
+        # Unlike locking read-write transactions, snapshot read-only
+        # transactions never abort. They can fail if the chosen read
+        # timestamp is garbage collected; however, the default garbage
+        # collection policy is generous enough that most applications do not
+        # need to worry about this in practice.
+        # Snapshot read-only transactions do not need to call
+        # Commit or
+        # Rollback (and in fact are not
+        # permitted to do so).
+        # To execute a snapshot transaction, the client specifies a timestamp
+        # bound, which tells Cloud Spanner how to choose a read timestamp.
+        # The types of timestamp bound are:
+        # - Strong (the default).
+        # - Bounded staleness.
+        # - Exact staleness.
+        # If the Cloud Spanner database to be read is geographically distributed,
+        # stale read-only transactions can execute more quickly than strong
+        # or read-write transaction, because they are able to execute far
+        # from the leader replica.
+        # Each type of timestamp bound is discussed in detail below.
+        # ### Strong
+        # Strong reads are guaranteed to see the effects of all transactions
+        # that have committed before the start of the read. Furthermore, all
+        # rows yielded by a single read are consistent with each other -- if
+        # any part of the read observes a transaction, all parts of the read
+        # see the transaction.
+        # Strong reads are not repeatable: two consecutive strong read-only
+        # transactions might return inconsistent results if there are
+        # concurrent writes. If consistency across reads is required, the
+        # reads should be executed within a transaction or at an exact read
+        # timestamp.
+        # See TransactionOptions.ReadOnly.strong.
+        # ### Exact Staleness
+        # These timestamp bounds execute reads at a user-specified
+        # timestamp. Reads at a timestamp are guaranteed to see a consistent
+        # prefix of the global transaction history: they observe
+        # modifications done by all transactions with a commit timestamp <=
+        # the read timestamp, and observe none of the modifications done by
+        # transactions with a larger commit timestamp. They will block until
+        # all conflicting transactions that may be assigned commit timestamps
+        # <= the read timestamp have finished.
+        # The timestamp can either be expressed as an absolute Cloud Spanner commit
+        # timestamp or a staleness relative to the current time.
+        # These modes do not require a "negotiation phase" to pick a
+        # timestamp. As a result, they execute slightly faster than the
+        # equivalent boundedly stale concurrency modes. On the other hand,
+        # boundedly stale reads usually return fresher results.
+        # See TransactionOptions.ReadOnly.read_timestamp and
+        # TransactionOptions.ReadOnly.exact_staleness.
+        # ### Bounded Staleness
+        # Bounded staleness modes allow Cloud Spanner to pick the read timestamp,
+        # subject to a user-provided staleness bound. Cloud Spanner chooses the
+        # newest timestamp within the staleness bound that allows execution
+        # of the reads at the closest available replica without blocking.
+        # All rows yielded are consistent with each other -- if any part of
+        # the read observes a transaction, all parts of the read see the
+        # transaction. Boundedly stale reads are not repeatable: two stale
+        # reads, even if they use the same staleness bound, can execute at
+        # different timestamps and thus return inconsistent results.
+        # Boundedly stale reads execute in two phases: the first phase
+        # negotiates a timestamp among all replicas needed to serve the
+        # read. In the second phase, reads are executed at the negotiated
+        # timestamp.
+        # As a result of the two phase execution, bounded staleness reads are
+        # usually a little slower than comparable exact staleness
+        # reads. However, they are typically able to return fresher
+        # results, and are more likely to execute at the closest replica.
+        # Because the timestamp negotiation requires up-front knowledge of
+        # which rows will be read, it can only be used with single-use
+        # read-only transactions.
+        # See TransactionOptions.ReadOnly.max_staleness and
+        # TransactionOptions.ReadOnly.min_read_timestamp.
+        # ### Old Read Timestamps and Garbage Collection
+        # Cloud Spanner continuously garbage collects deleted and overwritten data
+        # in the background to reclaim storage space. This process is known
+        # as "version GC". By default, version GC reclaims versions after they
+        # are one hour old. Because of this, Cloud Spanner cannot perform reads
+        # at read timestamps more than one hour in the past. This
+        # restriction also applies to in-progress reads and/or SQL queries whose
+        # timestamp become too old while executing. Reads and SQL queries with
+        # too-old read timestamps fail with the error `FAILED_PRECONDITION`.
+        # Corresponds to the JSON property `options`
+        # @return [Google::Apis::SpannerV1::TransactionOptions]
+        attr_accessor :options
+      
+        def initialize(**args)
+           update!(**args)
+        end
+      
+        # Update properties of this object
+        def update!(**args)
+          @options = args[:options] if args.key?(:options)
+        end
+      end
+      
+      # The response for ListInstanceConfigs.
+      class ListInstanceConfigsResponse
+        include Google::Apis::Core::Hashable
+      
+        # `next_page_token` can be sent in a subsequent
+        # ListInstanceConfigs call to
+        # fetch more of the matching instance configurations.
+        # Corresponds to the JSON property `nextPageToken`
+        # @return [String]
+        attr_accessor :next_page_token
+      
+        # The list of requested instance configurations.
+        # Corresponds to the JSON property `instanceConfigs`
+        # @return [Array]
+        attr_accessor :instance_configs
+      
+        def initialize(**args)
+           update!(**args)
+        end
+      
+        # Update properties of this object
+        def update!(**args)
+          @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
+          @instance_configs = args[:instance_configs] if args.key?(:instance_configs)
+        end
+      end
+      
+      # Request message for `GetIamPolicy` method.
+      class GetIamPolicyRequest
+        include Google::Apis::Core::Hashable
+      
+        def initialize(**args)
+           update!(**args)
+        end
+      
+        # Update properties of this object
+        def update!(**args)
+        end
+      end
+      
+      # Response message for `TestIamPermissions` method.
+      class TestIamPermissionsResponse
+        include Google::Apis::Core::Hashable
+      
+        # A subset of `TestPermissionsRequest.permissions` that the caller is
+        # allowed.
+        # Corresponds to the JSON property `permissions`
+        # @return [Array]
+        attr_accessor :permissions
+      
+        def initialize(**args)
+           update!(**args)
+        end
+      
+        # Update properties of this object
+        def update!(**args)
+          @permissions = args[:permissions] if args.key?(:permissions)
+        end
+      end
+      
+      # A rule to be applied in a Policy.
+      class Rule
+        include Google::Apis::Core::Hashable
+      
+        # The config returned to callers of tech.iam.IAM.CheckPolicy for any entries
+        # that match the LOG action.
+        # Corresponds to the JSON property `logConfig`
+        # @return [Array]
+        attr_accessor :log_config
+      
+        # If one or more 'in' clauses are specified, the rule matches if
+        # the PRINCIPAL/AUTHORITY_SELECTOR is in at least one of these entries.
+        # Corresponds to the JSON property `in`
+        # @return [Array]
+        attr_accessor :in
+      
+        # A permission is a string of form '..'
+        # (e.g., 'storage.buckets.list'). A value of '*' matches all permissions,
+        # and a verb part of '*' (e.g., 'storage.buckets.*') matches all verbs.
+        # Corresponds to the JSON property `permissions`
+        # @return [Array]
+        attr_accessor :permissions
+      
+        # Required
+        # Corresponds to the JSON property `action`
+        # @return [String]
+        attr_accessor :action
+      
+        # If one or more 'not_in' clauses are specified, the rule matches
+        # if the PRINCIPAL/AUTHORITY_SELECTOR is in none of the entries.
+        # The format for in and not_in entries is the same as for members in a
+        # Binding (see google/iam/v1/policy.proto).
+        # Corresponds to the JSON property `notIn`
+        # @return [Array]
+        attr_accessor :not_in
+      
+        # Human-readable description of the rule.
+        # Corresponds to the JSON property `description`
+        # @return [String]
+        attr_accessor :description
+      
+        # Additional restrictions that must be met
+        # Corresponds to the JSON property `conditions`
+        # @return [Array]
+        attr_accessor :conditions
+      
+        def initialize(**args)
+           update!(**args)
+        end
+      
+        # Update properties of this object
+        def update!(**args)
+          @log_config = args[:log_config] if args.key?(:log_config)
+          @in = args[:in] if args.key?(:in)
+          @permissions = args[:permissions] if args.key?(:permissions)
+          @action = args[:action] if args.key?(:action)
+          @not_in = args[:not_in] if args.key?(:not_in)
+          @description = args[:description] if args.key?(:description)
+          @conditions = args[:conditions] if args.key?(:conditions)
+        end
+      end
+      
+      # Metadata type for the operation returned by
+      # CreateDatabase.
+      class CreateDatabaseMetadata
+        include Google::Apis::Core::Hashable
+      
+        # The database being created.
+        # Corresponds to the JSON property `database`
+        # @return [String]
+        attr_accessor :database
+      
+        def initialize(**args)
+           update!(**args)
+        end
+      
+        # Update properties of this object
+        def update!(**args)
+          @database = args[:database] if args.key?(:database)
+        end
+      end
+      
+      # Specifies what kind of log the caller must write
+      # Increment a streamz counter with the specified metric and field names.
+      # Metric names should start with a '/', generally be lowercase-only,
+      # and end in "_count". Field names should not contain an initial slash.
+      # The actual exported metric names will have "/iam/policy" prepended.
+      # Field names correspond to IAM request parameters and field values are
+      # their respective values.
+      # At present the only supported field names are
+      # - "iam_principal", corresponding to IAMContext.principal;
+      # - "" (empty string), resulting in one aggretated counter with no field.
+      # Examples:
+      # counter ` metric: "/debug_access_count"  field: "iam_principal" `
+      # ==> increment counter /iam/policy/backend_debug_access_count
+      # `iam_principal=[value of IAMContext.principal]`
+      # At this time we do not support:
+      # * multiple field names (though this may be supported in the future)
+      # * decrementing the counter
+      # * incrementing it by anything other than 1
+      class LogConfig
+        include Google::Apis::Core::Hashable
+      
+        # Write a Cloud Audit log
+        # Corresponds to the JSON property `cloudAudit`
+        # @return [Google::Apis::SpannerV1::CloudAuditOptions]
+        attr_accessor :cloud_audit
+      
+        # Options for counters
+        # Corresponds to the JSON property `counter`
+        # @return [Google::Apis::SpannerV1::CounterOptions]
+        attr_accessor :counter
+      
+        # Write a Data Access (Gin) log
+        # Corresponds to the JSON property `dataAccess`
+        # @return [Google::Apis::SpannerV1::DataAccessOptions]
+        attr_accessor :data_access
+      
+        def initialize(**args)
+           update!(**args)
+        end
+      
+        # Update properties of this object
+        def update!(**args)
+          @cloud_audit = args[:cloud_audit] if args.key?(:cloud_audit)
+          @counter = args[:counter] if args.key?(:counter)
+          @data_access = args[:data_access] if args.key?(:data_access)
+        end
+      end
+      
+      # A session in the Cloud Spanner API.
+      class Session
+        include Google::Apis::Core::Hashable
+      
+        # Required. The name of the session.
+        # Corresponds to the JSON property `name`
+        # @return [String]
+        attr_accessor :name
+      
+        def initialize(**args)
+           update!(**args)
+        end
+      
+        # Update properties of this object
+        def update!(**args)
+          @name = args[:name] if args.key?(:name)
+        end
+      end
+      
+      # KeyRange represents a range of rows in a table or index.
+      # A range has a start key and an end key. These keys can be open or
+      # closed, indicating if the range includes rows with that key.
+      # Keys are represented by lists, where the ith value in the list
+      # corresponds to the ith component of the table or index primary key.
+      # Individual values are encoded as described here.
+      # For example, consider the following table definition:
+      # CREATE TABLE UserEvents (
+      # UserName STRING(MAX),
+      # EventDate STRING(10)
+      # ) PRIMARY KEY(UserName, EventDate);
+      # The following keys name rows in this table:
+      # "Bob", "2014-09-23"
+      # Since the `UserEvents` table's `PRIMARY KEY` clause names two
+      # columns, each `UserEvents` key has two elements; the first is the
+      # `UserName`, and the second is the `EventDate`.
+      # Key ranges with multiple components are interpreted
+      # lexicographically by component using the table or index key's declared
+      # sort order. For example, the following range returns all events for
+      # user `"Bob"` that occurred in the year 2015:
+      # "start_closed": ["Bob", "2015-01-01"]
+      # "end_closed": ["Bob", "2015-12-31"]
+      # Start and end keys can omit trailing key components. This affects the
+      # inclusion and exclusion of rows that exactly match the provided key
+      # components: if the key is closed, then rows that exactly match the
+      # provided components are included; if the key is open, then rows
+      # that exactly match are not included.
+      # For example, the following range includes all events for `"Bob"` that
+      # occurred during and after the year 2000:
+      # "start_closed": ["Bob", "2000-01-01"]
+      # "end_closed": ["Bob"]
+      # The next example retrieves all events for `"Bob"`:
+      # "start_closed": ["Bob"]
+      # "end_closed": ["Bob"]
+      # To retrieve events before the year 2000:
+      # "start_closed": ["Bob"]
+      # "end_open": ["Bob", "2000-01-01"]
+      # The following range includes all rows in the table:
+      # "start_closed": []
+      # "end_closed": []
+      # This range returns all users whose `UserName` begins with any
+      # character from A to C:
+      # "start_closed": ["A"]
+      # "end_open": ["D"]
+      # This range returns all users whose `UserName` begins with B:
+      # "start_closed": ["B"]
+      # "end_open": ["C"]
+      # Key ranges honor column sort order. For example, suppose a table is
+      # defined as follows:
+      # CREATE TABLE DescendingSortedTable `
+      # Key INT64,
+      # ...
+      # ) PRIMARY KEY(Key DESC);
+      # The following range retrieves all rows with key values between 1
+      # and 100 inclusive:
+      # "start_closed": ["100"]
+      # "end_closed": ["1"]
+      # Note that 100 is passed as the start, and 1 is passed as the end,
+      # because `Key` is a descending column in the schema.
+      class KeyRange
+        include Google::Apis::Core::Hashable
+      
+        # If the start is closed, then the range includes all rows whose
+        # first `len(start_closed)` key columns exactly match `start_closed`.
+        # Corresponds to the JSON property `startClosed`
+        # @return [Array]
+        attr_accessor :start_closed
+      
+        # If the start is open, then the range excludes rows whose first
+        # `len(start_open)` key columns exactly match `start_open`.
+        # Corresponds to the JSON property `startOpen`
+        # @return [Array]
+        attr_accessor :start_open
+      
+        # If the end is open, then the range excludes rows whose first
+        # `len(end_open)` key columns exactly match `end_open`.
+        # Corresponds to the JSON property `endOpen`
+        # @return [Array]
+        attr_accessor :end_open
+      
+        # If the end is closed, then the range includes all rows whose
+        # first `len(end_closed)` key columns exactly match `end_closed`.
+        # Corresponds to the JSON property `endClosed`
+        # @return [Array]
+        attr_accessor :end_closed
+      
+        def initialize(**args)
+           update!(**args)
+        end
+      
+        # Update properties of this object
+        def update!(**args)
+          @start_closed = args[:start_closed] if args.key?(:start_closed)
+          @start_open = args[:start_open] if args.key?(:start_open)
+          @end_open = args[:end_open] if args.key?(:end_open)
+          @end_closed = args[:end_closed] if args.key?(:end_closed)
+        end
+      end
+      
+      # The response for ListInstances.
+      class ListInstancesResponse
+        include Google::Apis::Core::Hashable
+      
+        # `next_page_token` can be sent in a subsequent
+        # ListInstances call to fetch more
+        # of the matching instances.
+        # Corresponds to the JSON property `nextPageToken`
+        # @return [String]
+        attr_accessor :next_page_token
+      
+        # The list of requested instances.
+        # Corresponds to the JSON property `instances`
+        # @return [Array]
+        attr_accessor :instances
+      
+        def initialize(**args)
+           update!(**args)
+        end
+      
+        # Update properties of this object
+        def update!(**args)
+          @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
+          @instances = args[:instances] if args.key?(:instances)
+        end
+      end
+      
+      # Condensed representation of a node and its subtree. Only present for
+      # `SCALAR` PlanNode(s).
+      class ShortRepresentation
+        include Google::Apis::Core::Hashable
+      
+        # A string representation of the expression subtree rooted at this node.
+        # Corresponds to the JSON property `description`
+        # @return [String]
+        attr_accessor :description
+      
+        # A mapping of (subquery variable name) -> (subquery node id) for cases
+        # where the `description` string of this node references a `SCALAR`
+        # subquery contained in the expression subtree rooted at this node. The
+        # referenced `SCALAR` subquery may not necessarily be a direct child of
+        # this node.
+        # Corresponds to the JSON property `subqueries`
+        # @return [Hash]
+        attr_accessor :subqueries
+      
+        def initialize(**args)
+           update!(**args)
+        end
+      
+        # Update properties of this object
+        def update!(**args)
+          @description = args[:description] if args.key?(:description)
+          @subqueries = args[:subqueries] if args.key?(:subqueries)
+        end
+      end
+      
+      # A possible configuration for a Cloud Spanner instance. Configurations
+      # define the geographic placement of nodes and their replication.
+      class InstanceConfig
+        include Google::Apis::Core::Hashable
+      
+        # A unique identifier for the instance configuration.  Values
+        # are of the form
+        # `projects//instanceConfigs/a-z*`
+        # Corresponds to the JSON property `name`
+        # @return [String]
+        attr_accessor :name
+      
+        # The name of this instance configuration as it appears in UIs.
+        # Corresponds to the JSON property `displayName`
+        # @return [String]
+        attr_accessor :display_name
+      
+        def initialize(**args)
+           update!(**args)
+        end
+      
+        # Update properties of this object
+        def update!(**args)
+          @name = args[:name] if args.key?(:name)
+          @display_name = args[:display_name] if args.key?(:display_name)
+        end
+      end
+      
+      # The request for UpdateInstance.
+      class UpdateInstanceRequest
+        include Google::Apis::Core::Hashable
+      
+        # An isolated set of Cloud Spanner resources on which databases can be hosted.
+        # Corresponds to the JSON property `instance`
+        # @return [Google::Apis::SpannerV1::Instance]
+        attr_accessor :instance
+      
+        # Required. A mask specifying which fields in [][google.spanner.admin.instance.
+        # v1.UpdateInstanceRequest.instance] should be updated.
+        # The field mask must always be specified; this prevents any future fields in
+        # [][google.spanner.admin.instance.v1.Instance] from being erased accidentally
+        # by clients that do not know
+        # about them.
+        # Corresponds to the JSON property `fieldMask`
+        # @return [String]
+        attr_accessor :field_mask
+      
+        def initialize(**args)
+           update!(**args)
+        end
+      
+        # Update properties of this object
+        def update!(**args)
+          @instance = args[:instance] if args.key?(:instance)
+          @field_mask = args[:field_mask] if args.key?(:field_mask)
+        end
+      end
+      
+      # A generic empty message that you can re-use to avoid defining duplicated
+      # empty messages in your APIs. A typical example is to use it as the request
+      # or the response type of an API method. For instance:
+      # service Foo `
+      # rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty);
+      # `
+      # The JSON representation for `Empty` is empty JSON object ````.
+      class Empty
+        include Google::Apis::Core::Hashable
+      
+        def initialize(**args)
+           update!(**args)
+        end
+      
+        # Update properties of this object
+        def update!(**args)
+        end
+      end
+      
+      # # Transactions
+      # Each session can have at most one active transaction at a time. After the
+      # active transaction is completed, the session can immediately be
+      # re-used for the next transaction. It is not necessary to create a
+      # new session for each transaction.
+      # # Transaction Modes
+      # Cloud Spanner supports two transaction modes:
+      # 1. Locking read-write. This type of transaction is the only way
+      # to write data into Cloud Spanner. These transactions rely on
+      # pessimistic locking and, if necessary, two-phase commit.
+      # Locking read-write transactions may abort, requiring the
+      # application to retry.
+      # 2. Snapshot read-only. This transaction type provides guaranteed
+      # consistency across several reads, but does not allow
+      # writes. Snapshot read-only transactions can be configured to
+      # read at timestamps in the past. Snapshot read-only
+      # transactions do not need to be committed.
+      # For transactions that only read, snapshot read-only transactions
+      # provide simpler semantics and are almost always faster. In
+      # particular, read-only transactions do not take locks, so they do
+      # not conflict with read-write transactions. As a consequence of not
+      # taking locks, they also do not abort, so retry loops are not needed.
+      # Transactions may only read/write data in a single database. They
+      # may, however, read/write data in different tables within that
+      # database.
+      # ## Locking Read-Write Transactions
+      # Locking transactions may be used to atomically read-modify-write
+      # data anywhere in a database. This type of transaction is externally
+      # consistent.
+      # Clients should attempt to minimize the amount of time a transaction
+      # is active. Faster transactions commit with higher probability
+      # and cause less contention. Cloud Spanner attempts to keep read locks
+      # active as long as the transaction continues to do reads, and the
+      # transaction has not been terminated by
+      # Commit or
+      # Rollback.  Long periods of
+      # inactivity at the client may cause Cloud Spanner to release a
+      # transaction's locks and abort it.
+      # Reads performed within a transaction acquire locks on the data
+      # being read. Writes can only be done at commit time, after all reads
+      # have been completed.
+      # Conceptually, a read-write transaction consists of zero or more
+      # reads or SQL queries followed by
+      # Commit. At any time before
+      # Commit, the client can send a
+      # Rollback request to abort the
+      # transaction.
+      # ### Semantics
+      # Cloud Spanner can commit the transaction if all read locks it acquired
+      # are still valid at commit time, and it is able to acquire write
+      # locks for all writes. Cloud Spanner can abort the transaction for any
+      # reason. If a commit attempt returns `ABORTED`, Cloud Spanner guarantees
+      # that the transaction has not modified any user data in Cloud Spanner.
+      # Unless the transaction commits, Cloud Spanner makes no guarantees about
+      # how long the transaction's locks were held for. It is an error to
+      # use Cloud Spanner locks for any sort of mutual exclusion other than
+      # between Cloud Spanner transactions themselves.
+      # ### Retrying Aborted Transactions
+      # When a transaction aborts, the application can choose to retry the
+      # whole transaction again. To maximize the chances of successfully
+      # committing the retry, the client should execute the retry in the
+      # same session as the original attempt. The original session's lock
+      # priority increases with each consecutive abort, meaning that each
+      # attempt has a slightly better chance of success than the previous.
+      # Under some circumstances (e.g., many transactions attempting to
+      # modify the same row(s)), a transaction can abort many times in a
+      # short period before successfully committing. Thus, it is not a good
+      # idea to cap the number of retries a transaction can attempt;
+      # instead, it is better to limit the total amount of wall time spent
+      # retrying.
+      # ### Idle Transactions
+      # A transaction is considered idle if it has no outstanding reads or
+      # SQL queries and has not started a read or SQL query within the last 10
+      # seconds. Idle transactions can be aborted by Cloud Spanner so that they
+      # don't hold on to locks indefinitely. In that case, the commit will
+      # fail with error `ABORTED`.
+      # If this behavior is undesirable, periodically executing a simple
+      # SQL query in the transaction (e.g., `SELECT 1`) prevents the
+      # transaction from becoming idle.
+      # ## Snapshot Read-Only Transactions
+      # Snapshot read-only transactions provides a simpler method than
+      # locking read-write transactions for doing several consistent
+      # reads. However, this type of transaction does not support writes.
+      # Snapshot transactions do not take locks. Instead, they work by
+      # choosing a Cloud Spanner timestamp, then executing all reads at that
+      # timestamp. Since they do not acquire locks, they do not block
+      # concurrent read-write transactions.
+      # Unlike locking read-write transactions, snapshot read-only
+      # transactions never abort. They can fail if the chosen read
+      # timestamp is garbage collected; however, the default garbage
+      # collection policy is generous enough that most applications do not
+      # need to worry about this in practice.
+      # Snapshot read-only transactions do not need to call
+      # Commit or
+      # Rollback (and in fact are not
+      # permitted to do so).
+      # To execute a snapshot transaction, the client specifies a timestamp
+      # bound, which tells Cloud Spanner how to choose a read timestamp.
+      # The types of timestamp bound are:
+      # - Strong (the default).
+      # - Bounded staleness.
+      # - Exact staleness.
+      # If the Cloud Spanner database to be read is geographically distributed,
+      # stale read-only transactions can execute more quickly than strong
+      # or read-write transaction, because they are able to execute far
+      # from the leader replica.
+      # Each type of timestamp bound is discussed in detail below.
+      # ### Strong
+      # Strong reads are guaranteed to see the effects of all transactions
+      # that have committed before the start of the read. Furthermore, all
+      # rows yielded by a single read are consistent with each other -- if
+      # any part of the read observes a transaction, all parts of the read
+      # see the transaction.
+      # Strong reads are not repeatable: two consecutive strong read-only
+      # transactions might return inconsistent results if there are
+      # concurrent writes. If consistency across reads is required, the
+      # reads should be executed within a transaction or at an exact read
+      # timestamp.
+      # See TransactionOptions.ReadOnly.strong.
+      # ### Exact Staleness
+      # These timestamp bounds execute reads at a user-specified
+      # timestamp. Reads at a timestamp are guaranteed to see a consistent
+      # prefix of the global transaction history: they observe
+      # modifications done by all transactions with a commit timestamp <=
+      # the read timestamp, and observe none of the modifications done by
+      # transactions with a larger commit timestamp. They will block until
+      # all conflicting transactions that may be assigned commit timestamps
+      # <= the read timestamp have finished.
+      # The timestamp can either be expressed as an absolute Cloud Spanner commit
+      # timestamp or a staleness relative to the current time.
+      # These modes do not require a "negotiation phase" to pick a
+      # timestamp. As a result, they execute slightly faster than the
+      # equivalent boundedly stale concurrency modes. On the other hand,
+      # boundedly stale reads usually return fresher results.
+      # See TransactionOptions.ReadOnly.read_timestamp and
+      # TransactionOptions.ReadOnly.exact_staleness.
+      # ### Bounded Staleness
+      # Bounded staleness modes allow Cloud Spanner to pick the read timestamp,
+      # subject to a user-provided staleness bound. Cloud Spanner chooses the
+      # newest timestamp within the staleness bound that allows execution
+      # of the reads at the closest available replica without blocking.
+      # All rows yielded are consistent with each other -- if any part of
+      # the read observes a transaction, all parts of the read see the
+      # transaction. Boundedly stale reads are not repeatable: two stale
+      # reads, even if they use the same staleness bound, can execute at
+      # different timestamps and thus return inconsistent results.
+      # Boundedly stale reads execute in two phases: the first phase
+      # negotiates a timestamp among all replicas needed to serve the
+      # read. In the second phase, reads are executed at the negotiated
+      # timestamp.
+      # As a result of the two phase execution, bounded staleness reads are
+      # usually a little slower than comparable exact staleness
+      # reads. However, they are typically able to return fresher
+      # results, and are more likely to execute at the closest replica.
+      # Because the timestamp negotiation requires up-front knowledge of
+      # which rows will be read, it can only be used with single-use
+      # read-only transactions.
+      # See TransactionOptions.ReadOnly.max_staleness and
+      # TransactionOptions.ReadOnly.min_read_timestamp.
+      # ### Old Read Timestamps and Garbage Collection
+      # Cloud Spanner continuously garbage collects deleted and overwritten data
+      # in the background to reclaim storage space. This process is known
+      # as "version GC". By default, version GC reclaims versions after they
+      # are one hour old. Because of this, Cloud Spanner cannot perform reads
+      # at read timestamps more than one hour in the past. This
+      # restriction also applies to in-progress reads and/or SQL queries whose
+      # timestamp become too old while executing. Reads and SQL queries with
+      # too-old read timestamps fail with the error `FAILED_PRECONDITION`.
+      class TransactionOptions
+        include Google::Apis::Core::Hashable
+      
+        # Options for read-write transactions.
+        # Corresponds to the JSON property `readWrite`
+        # @return [Google::Apis::SpannerV1::ReadWrite]
+        attr_accessor :read_write
+      
+        # Options for read-only transactions.
+        # Corresponds to the JSON property `readOnly`
+        # @return [Google::Apis::SpannerV1::ReadOnly]
+        attr_accessor :read_only
+      
+        def initialize(**args)
+           update!(**args)
+        end
+      
+        # Update properties of this object
+        def update!(**args)
+          @read_write = args[:read_write] if args.key?(:read_write)
+          @read_only = args[:read_only] if args.key?(:read_only)
+        end
+      end
+      
+      # The request for CreateDatabase.
+      class CreateDatabaseRequest
+        include Google::Apis::Core::Hashable
+      
+        # Required. A `CREATE DATABASE` statement, which specifies the ID of the
+        # new database.  The database ID must conform to the regular expression
+        # `a-z*[a-z0-9]` and be between 2 and 30 characters in length.
+        # Corresponds to the JSON property `createStatement`
+        # @return [String]
+        attr_accessor :create_statement
+      
+        # An optional list of DDL statements to run inside the newly created
+        # database. Statements can create tables, indexes, etc. These
+        # statements execute atomically with the creation of the database:
+        # if there is an error in any statement, the database is not created.
+        # Corresponds to the JSON property `extraStatements`
+        # @return [Array]
+        attr_accessor :extra_statements
+      
+        def initialize(**args)
+           update!(**args)
+        end
+      
+        # Update properties of this object
+        def update!(**args)
+          @create_statement = args[:create_statement] if args.key?(:create_statement)
+          @extra_statements = args[:extra_statements] if args.key?(:extra_statements)
+        end
+      end
+      
+      # The request for CreateInstance.
+      class CreateInstanceRequest
+        include Google::Apis::Core::Hashable
+      
+        # Required. The ID of the instance to create.  Valid identifiers are of the
+        # form `a-z*[a-z0-9]` and must be between 6 and 30 characters in
+        # length.
+        # Corresponds to the JSON property `instanceId`
+        # @return [String]
+        attr_accessor :instance_id
+      
+        # An isolated set of Cloud Spanner resources on which databases can be hosted.
+        # Corresponds to the JSON property `instance`
+        # @return [Google::Apis::SpannerV1::Instance]
+        attr_accessor :instance
+      
+        def initialize(**args)
+           update!(**args)
+        end
+      
+        # Update properties of this object
+        def update!(**args)
+          @instance_id = args[:instance_id] if args.key?(:instance_id)
+          @instance = args[:instance] if args.key?(:instance)
+        end
+      end
+      
+      # A condition to be met.
+      class Condition
+        include Google::Apis::Core::Hashable
+      
+        # The objects of the condition. This is mutually exclusive with 'value'.
+        # Corresponds to the JSON property `values`
+        # @return [Array]
+        attr_accessor :values
+      
+        # Trusted attributes supplied by the IAM system.
+        # Corresponds to the JSON property `iam`
+        # @return [String]
+        attr_accessor :iam
+      
+        # An operator to apply the subject with.
+        # Corresponds to the JSON property `op`
+        # @return [String]
+        attr_accessor :op
+      
+        # Trusted attributes discharged by the service.
+        # Corresponds to the JSON property `svc`
+        # @return [String]
+        attr_accessor :svc
+      
+        # Trusted attributes supplied by any service that owns resources and uses
+        # the IAM system for access control.
+        # Corresponds to the JSON property `sys`
+        # @return [String]
+        attr_accessor :sys
+      
+        # DEPRECATED. Use 'values' instead.
+        # Corresponds to the JSON property `value`
+        # @return [String]
+        attr_accessor :value
+      
+        def initialize(**args)
+           update!(**args)
+        end
+      
+        # Update properties of this object
+        def update!(**args)
+          @values = args[:values] if args.key?(:values)
+          @iam = args[:iam] if args.key?(:iam)
+          @op = args[:op] if args.key?(:op)
+          @svc = args[:svc] if args.key?(:svc)
+          @sys = args[:sys] if args.key?(:sys)
+          @value = args[:value] if args.key?(:value)
+        end
+      end
+      
+      # Provides the configuration for logging a type of permissions.
+      # Example:
+      # `
+      # "audit_log_configs": [
+      # `
+      # "log_type": "DATA_READ",
+      # "exempted_members": [
+      # "user:foo@gmail.com"
+      # ]
+      # `,
+      # `
+      # "log_type": "DATA_WRITE",
+      # `
+      # ]
+      # `
+      # This enables 'DATA_READ' and 'DATA_WRITE' logging, while exempting
+      # foo@gmail.com from DATA_READ logging.
+      class AuditLogConfig
+        include Google::Apis::Core::Hashable
+      
+        # Specifies the identities that do not cause logging for this type of
+        # permission.
+        # Follows the same format of Binding.members.
+        # Corresponds to the JSON property `exemptedMembers`
+        # @return [Array]
+        attr_accessor :exempted_members
+      
+        # The log type that this config enables.
+        # Corresponds to the JSON property `logType`
+        # @return [String]
+        attr_accessor :log_type
+      
+        def initialize(**args)
+           update!(**args)
+        end
+      
+        # Update properties of this object
+        def update!(**args)
+          @exempted_members = args[:exempted_members] if args.key?(:exempted_members)
+          @log_type = args[:log_type] if args.key?(:log_type)
+        end
+      end
+      
+      # Options for read-only transactions.
+      class ReadOnly
+        include Google::Apis::Core::Hashable
+      
+        # Read data at a timestamp >= `NOW - max_staleness`
+        # seconds. Guarantees that all writes that have committed more
+        # than the specified number of seconds ago are visible. Because
+        # Cloud Spanner chooses the exact timestamp, this mode works even if
+        # the client's local clock is substantially skewed from Cloud Spanner
+        # commit timestamps.
+        # Useful for reading the freshest data available at a nearby
+        # replica, while bounding the possible staleness if the local
+        # replica has fallen behind.
+        # Note that this option can only be used in single-use
+        # transactions.
+        # Corresponds to the JSON property `maxStaleness`
+        # @return [String]
+        attr_accessor :max_staleness
+      
+        # Executes all reads at the given timestamp. Unlike other modes,
+        # reads at a specific timestamp are repeatable; the same read at
+        # the same timestamp always returns the same data. If the
+        # timestamp is in the future, the read will block until the
+        # specified timestamp, modulo the read's deadline.
+        # Useful for large scale consistent reads such as mapreduces, or
+        # for coordinating many reads against a consistent snapshot of the
+        # data.
+        # Corresponds to the JSON property `readTimestamp`
+        # @return [String]
+        attr_accessor :read_timestamp
+      
+        # If true, the Cloud Spanner-selected read timestamp is included in
+        # the Transaction message that describes the transaction.
+        # Corresponds to the JSON property `returnReadTimestamp`
+        # @return [Boolean]
+        attr_accessor :return_read_timestamp
+        alias_method :return_read_timestamp?, :return_read_timestamp
+      
+        # Executes all reads at a timestamp that is `exact_staleness`
+        # old. The timestamp is chosen soon after the read is started.
+        # Guarantees that all writes that have committed more than the
+        # specified number of seconds ago are visible. Because Cloud Spanner
+        # chooses the exact timestamp, this mode works even if the client's
+        # local clock is substantially skewed from Cloud Spanner commit
+        # timestamps.
+        # Useful for reading at nearby replicas without the distributed
+        # timestamp negotiation overhead of `max_staleness`.
+        # Corresponds to the JSON property `exactStaleness`
+        # @return [String]
+        attr_accessor :exact_staleness
+      
+        # Read at a timestamp where all previously committed transactions
+        # are visible.
+        # Corresponds to the JSON property `strong`
+        # @return [Boolean]
+        attr_accessor :strong
+        alias_method :strong?, :strong
+      
+        # Executes all reads at a timestamp >= `min_read_timestamp`.
+        # This is useful for requesting fresher data than some previous
+        # read, or data that is fresh enough to observe the effects of some
+        # previously committed transaction whose timestamp is known.
+        # Note that this option can only be used in single-use transactions.
+        # Corresponds to the JSON property `minReadTimestamp`
+        # @return [String]
+        attr_accessor :min_read_timestamp
+      
+        def initialize(**args)
+           update!(**args)
+        end
+      
+        # Update properties of this object
+        def update!(**args)
+          @max_staleness = args[:max_staleness] if args.key?(:max_staleness)
+          @read_timestamp = args[:read_timestamp] if args.key?(:read_timestamp)
+          @return_read_timestamp = args[:return_read_timestamp] if args.key?(:return_read_timestamp)
+          @exact_staleness = args[:exact_staleness] if args.key?(:exact_staleness)
+          @strong = args[:strong] if args.key?(:strong)
+          @min_read_timestamp = args[:min_read_timestamp] if args.key?(:min_read_timestamp)
+        end
+      end
+      
+      # The request for ExecuteSql and
+      # ExecuteStreamingSql.
+      class ExecuteSqlRequest
+        include Google::Apis::Core::Hashable
+      
+        # Used to control the amount of debugging information returned in
+        # ResultSetStats.
+        # Corresponds to the JSON property `queryMode`
+        # @return [String]
+        attr_accessor :query_mode
+      
+        # This message is used to select the transaction in which a
+        # Read or
+        # ExecuteSql call runs.
+        # See TransactionOptions for more information about transactions.
+        # Corresponds to the JSON property `transaction`
+        # @return [Google::Apis::SpannerV1::TransactionSelector]
+        attr_accessor :transaction
+      
+        # If this request is resuming a previously interrupted SQL query
+        # execution, `resume_token` should be copied from the last
+        # PartialResultSet yielded before the interruption. Doing this
+        # enables the new SQL query execution to resume where the last one left
+        # off. The rest of the request parameters must exactly match the
+        # request that yielded this token.
+        # Corresponds to the JSON property `resumeToken`
+        # NOTE: Values are automatically base64 encoded/decoded in the client library.
+        # @return [String]
+        attr_accessor :resume_token
+      
+        # It is not always possible for Cloud Spanner to infer the right SQL type
+        # from a JSON value.  For example, values of type `BYTES` and values
+        # of type `STRING` both appear in params as JSON strings.
+        # In these cases, `param_types` can be used to specify the exact
+        # SQL type for some or all of the SQL query parameters. See the
+        # definition of Type for more information
+        # about SQL types.
+        # Corresponds to the JSON property `paramTypes`
+        # @return [Hash]
+        attr_accessor :param_types
+      
+        # Required. The SQL query string.
+        # Corresponds to the JSON property `sql`
+        # @return [String]
+        attr_accessor :sql
+      
+        # The SQL query string can contain parameter placeholders. A parameter
+        # placeholder consists of `'@'` followed by the parameter
+        # name. Parameter names consist of any combination of letters,
+        # numbers, and underscores.
+        # Parameters can appear anywhere that a literal value is expected.  The same
+        # parameter name can be used more than once, for example:
+        # `"WHERE id > @msg_id AND id < @msg_id + 100"`
+        # It is an error to execute an SQL query with unbound parameters.
+        # Parameter values are specified using `params`, which is a JSON
+        # object whose keys are parameter names, and whose values are the
+        # corresponding parameter values.
+        # Corresponds to the JSON property `params`
+        # @return [Hash]
+        attr_accessor :params
+      
+        def initialize(**args)
+           update!(**args)
+        end
+      
+        # Update properties of this object
+        def update!(**args)
+          @query_mode = args[:query_mode] if args.key?(:query_mode)
+          @transaction = args[:transaction] if args.key?(:transaction)
+          @resume_token = args[:resume_token] if args.key?(:resume_token)
+          @param_types = args[:param_types] if args.key?(:param_types)
+          @sql = args[:sql] if args.key?(:sql)
+          @params = args[:params] if args.key?(:params)
+        end
+      end
+      
+      # Defines an Identity and Access Management (IAM) policy. It is used to
+      # specify access control policies for Cloud Platform resources.
+      # A `Policy` consists of a list of `bindings`. A `Binding` binds a list of
+      # `members` to a `role`, where the members can be user accounts, Google groups,
+      # Google domains, and service accounts. A `role` is a named list of permissions
+      # defined by IAM.
+      # **Example**
+      # `
+      # "bindings": [
+      # `
+      # "role": "roles/owner",
+      # "members": [
+      # "user:mike@example.com",
+      # "group:admins@example.com",
+      # "domain:google.com",
+      # "serviceAccount:my-other-app@appspot.gserviceaccount.com",
+      # ]
+      # `,
+      # `
+      # "role": "roles/viewer",
+      # "members": ["user:sean@example.com"]
+      # `
+      # ]
+      # `
+      # For a description of IAM and its features, see the
+      # [IAM developer's guide](https://cloud.google.com/iam).
+      class Policy
+        include Google::Apis::Core::Hashable
+      
+        # 
+        # Corresponds to the JSON property `iamOwned`
+        # @return [Boolean]
+        attr_accessor :iam_owned
+        alias_method :iam_owned?, :iam_owned
+      
+        # If more than one rule is specified, the rules are applied in the following
+        # manner:
+        # - All matching LOG rules are always applied.
+        # - If any DENY/DENY_WITH_LOG rule matches, permission is denied.
+        # Logging will be applied if one or more matching rule requires logging.
+        # - Otherwise, if any ALLOW/ALLOW_WITH_LOG rule matches, permission is
+        # granted.
+        # Logging will be applied if one or more matching rule requires logging.
+        # - Otherwise, if no rule applies, permission is denied.
+        # Corresponds to the JSON property `rules`
+        # @return [Array]
+        attr_accessor :rules
+      
+        # Version of the `Policy`. The default version is 0.
+        # Corresponds to the JSON property `version`
+        # @return [Fixnum]
+        attr_accessor :version
+      
+        # Specifies cloud audit logging configuration for this policy.
+        # Corresponds to the JSON property `auditConfigs`
+        # @return [Array]
+        attr_accessor :audit_configs
+      
+        # Associates a list of `members` to a `role`.
+        # Multiple `bindings` must not be specified for the same `role`.
+        # `bindings` with no members will result in an error.
+        # Corresponds to the JSON property `bindings`
+        # @return [Array]
+        attr_accessor :bindings
+      
+        # `etag` is used for optimistic concurrency control as a way to help
+        # prevent simultaneous updates of a policy from overwriting each other.
+        # It is strongly suggested that systems make use of the `etag` in the
+        # read-modify-write cycle to perform policy updates in order to avoid race
+        # conditions: An `etag` is returned in the response to `getIamPolicy`, and
+        # systems are expected to put that etag in the request to `setIamPolicy` to
+        # ensure that their change will be applied to the same version of the policy.
+        # If no `etag` is provided in the call to `setIamPolicy`, then the existing
+        # policy is overwritten blindly.
+        # Corresponds to the JSON property `etag`
+        # NOTE: Values are automatically base64 encoded/decoded in the client library.
+        # @return [String]
+        attr_accessor :etag
+      
+        def initialize(**args)
+           update!(**args)
+        end
+      
+        # Update properties of this object
+        def update!(**args)
+          @iam_owned = args[:iam_owned] if args.key?(:iam_owned)
+          @rules = args[:rules] if args.key?(:rules)
+          @version = args[:version] if args.key?(:version)
+          @audit_configs = args[:audit_configs] if args.key?(:audit_configs)
+          @bindings = args[:bindings] if args.key?(:bindings)
+          @etag = args[:etag] if args.key?(:etag)
+        end
+      end
+      
+      # The request for Read and
+      # StreamingRead.
+      class ReadRequest
+        include Google::Apis::Core::Hashable
+      
+        # If non-empty, the name of an index on table. This index is
+        # used instead of the table primary key when interpreting key_set
+        # and sorting result rows. See key_set for further information.
+        # Corresponds to the JSON property `index`
+        # @return [String]
+        attr_accessor :index
+      
+        # `KeySet` defines a collection of Cloud Spanner keys and/or key ranges. All
+        # the keys are expected to be in the same table or index. The keys need
+        # not be sorted in any particular way.
+        # If the same key is specified multiple times in the set (for example
+        # if two ranges, two keys, or a key and a range overlap), Cloud Spanner
+        # behaves as if the key were only specified once.
+        # Corresponds to the JSON property `keySet`
+        # @return [Google::Apis::SpannerV1::KeySet]
+        attr_accessor :key_set
+      
+        # The columns of table to be returned for each row matching
+        # this request.
+        # Corresponds to the JSON property `columns`
+        # @return [Array]
+        attr_accessor :columns
+      
+        # This message is used to select the transaction in which a
+        # Read or
+        # ExecuteSql call runs.
+        # See TransactionOptions for more information about transactions.
+        # Corresponds to the JSON property `transaction`
+        # @return [Google::Apis::SpannerV1::TransactionSelector]
+        attr_accessor :transaction
+      
+        # If this request is resuming a previously interrupted read,
+        # `resume_token` should be copied from the last
+        # PartialResultSet yielded before the interruption. Doing this
+        # enables the new read to resume where the last read left off. The
+        # rest of the request parameters must exactly match the request
+        # that yielded this token.
+        # Corresponds to the JSON property `resumeToken`
+        # NOTE: Values are automatically base64 encoded/decoded in the client library.
+        # @return [String]
+        attr_accessor :resume_token
+      
+        # Required. The name of the table in the database to be read.
+        # Corresponds to the JSON property `table`
+        # @return [String]
+        attr_accessor :table
+      
+        # If greater than zero, only the first `limit` rows are yielded. If `limit`
+        # is zero, the default is no limit.
+        # Corresponds to the JSON property `limit`
+        # @return [Fixnum]
+        attr_accessor :limit
+      
+        def initialize(**args)
+           update!(**args)
+        end
+      
+        # Update properties of this object
+        def update!(**args)
+          @index = args[:index] if args.key?(:index)
+          @key_set = args[:key_set] if args.key?(:key_set)
+          @columns = args[:columns] if args.key?(:columns)
+          @transaction = args[:transaction] if args.key?(:transaction)
+          @resume_token = args[:resume_token] if args.key?(:resume_token)
+          @table = args[:table] if args.key?(:table)
+          @limit = args[:limit] if args.key?(:limit)
+        end
+      end
+      
+      # Arguments to insert, update, insert_or_update, and
+      # replace operations.
+      class Write
+        include Google::Apis::Core::Hashable
+      
+        # The names of the columns in table to be written.
+        # The list of columns must contain enough columns to allow
+        # Cloud Spanner to derive values for all primary key columns in the
+        # row(s) to be modified.
+        # Corresponds to the JSON property `columns`
+        # @return [Array]
+        attr_accessor :columns
+      
+        # The values to be written. `values` can contain more than one
+        # list of values. If it does, then multiple rows are written, one
+        # for each entry in `values`. Each list in `values` must have
+        # exactly as many entries as there are entries in columns
+        # above. Sending multiple lists is equivalent to sending multiple
+        # `Mutation`s, each containing one `values` entry and repeating
+        # table and columns. Individual values in each list are
+        # encoded as described here.
+        # Corresponds to the JSON property `values`
+        # @return [Array>]
+        attr_accessor :values
+      
+        # Required. The table whose rows will be written.
+        # Corresponds to the JSON property `table`
+        # @return [String]
+        attr_accessor :table
+      
+        def initialize(**args)
+           update!(**args)
+        end
+      
+        # Update properties of this object
+        def update!(**args)
+          @columns = args[:columns] if args.key?(:columns)
+          @values = args[:values] if args.key?(:values)
+          @table = args[:table] if args.key?(:table)
+        end
+      end
+      
+      # Write a Data Access (Gin) log
+      class DataAccessOptions
+        include Google::Apis::Core::Hashable
+      
+        def initialize(**args)
+           update!(**args)
+        end
+      
+        # Update properties of this object
+        def update!(**args)
+        end
+      end
+      
+      # Options for read-write transactions.
+      class ReadWrite
+        include Google::Apis::Core::Hashable
+      
+        def initialize(**args)
+           update!(**args)
+        end
+      
+        # Update properties of this object
+        def update!(**args)
+        end
+      end
+      
+      # This resource represents a long-running operation that is the result of a
+      # network API call.
+      class Operation
+        include Google::Apis::Core::Hashable
+      
+        # The normal response of the operation in case of success.  If the original
+        # method returns no data on success, such as `Delete`, the response is
+        # `google.protobuf.Empty`.  If the original method is standard
+        # `Get`/`Create`/`Update`, the response should be the resource.  For other
+        # methods, the response should have the type `XxxResponse`, where `Xxx`
+        # is the original method name.  For example, if the original method name
+        # is `TakeSnapshot()`, the inferred response type is
+        # `TakeSnapshotResponse`.
+        # Corresponds to the JSON property `response`
+        # @return [Hash]
+        attr_accessor :response
+      
+        # The server-assigned name, which is only unique within the same service that
+        # originally returns it. If you use the default HTTP mapping, the
+        # `name` should have the format of `operations/some/unique/name`.
+        # Corresponds to the JSON property `name`
+        # @return [String]
+        attr_accessor :name
+      
+        # The `Status` type defines a logical error model that is suitable for different
+        # programming environments, including REST APIs and RPC APIs. It is used by
+        # [gRPC](https://github.com/grpc). The error model is designed to be:
+        # - Simple to use and understand for most users
+        # - Flexible enough to meet unexpected needs
+        # # Overview
+        # The `Status` message contains three pieces of data: error code, error message,
+        # and error details. The error code should be an enum value of
+        # google.rpc.Code, but it may accept additional error codes if needed.  The
+        # error message should be a developer-facing English message that helps
+        # developers *understand* and *resolve* the error. If a localized user-facing
+        # error message is needed, put the localized message in the error details or
+        # localize it in the client. The optional error details may contain arbitrary
+        # information about the error. There is a predefined set of error detail types
+        # in the package `google.rpc` which can be used for common error conditions.
+        # # Language mapping
+        # The `Status` message is the logical representation of the error model, but it
+        # is not necessarily the actual wire format. When the `Status` message is
+        # exposed in different client libraries and different wire protocols, it can be
+        # mapped differently. For example, it will likely be mapped to some exceptions
+        # in Java, but more likely mapped to some error codes in C.
+        # # Other uses
+        # The error model and the `Status` message can be used in a variety of
+        # environments, either with or without APIs, to provide a
+        # consistent developer experience across different environments.
+        # Example uses of this error model include:
+        # - Partial errors. If a service needs to return partial errors to the client,
+        # it may embed the `Status` in the normal response to indicate the partial
+        # errors.
+        # - Workflow errors. A typical workflow has multiple steps. Each step may
+        # have a `Status` message for error reporting purpose.
+        # - Batch operations. If a client uses batch request and batch response, the
+        # `Status` message should be used directly inside batch response, one for
+        # each error sub-response.
+        # - Asynchronous operations. If an API call embeds asynchronous operation
+        # results in its response, the status of those operations should be
+        # represented directly using the `Status` message.
+        # - Logging. If some API errors are stored in logs, the message `Status` could
+        # be used directly after any stripping needed for security/privacy reasons.
+        # Corresponds to the JSON property `error`
+        # @return [Google::Apis::SpannerV1::Status]
+        attr_accessor :error
+      
+        # Service-specific metadata associated with the operation.  It typically
+        # contains progress information and common metadata such as create time.
+        # Some services might not provide such metadata.  Any method that returns a
+        # long-running operation should document the metadata type, if any.
+        # Corresponds to the JSON property `metadata`
+        # @return [Hash]
+        attr_accessor :metadata
+      
+        # If the value is `false`, it means the operation is still in progress.
+        # If true, the operation is completed, and either `error` or `response` is
+        # available.
+        # Corresponds to the JSON property `done`
+        # @return [Boolean]
+        attr_accessor :done
+        alias_method :done?, :done
+      
+        def initialize(**args)
+           update!(**args)
+        end
+      
+        # Update properties of this object
+        def update!(**args)
+          @response = args[:response] if args.key?(:response)
+          @name = args[:name] if args.key?(:name)
+          @error = args[:error] if args.key?(:error)
+          @metadata = args[:metadata] if args.key?(:metadata)
+          @done = args[:done] if args.key?(:done)
+        end
+      end
+      
+      # The `Status` type defines a logical error model that is suitable for different
+      # programming environments, including REST APIs and RPC APIs. It is used by
+      # [gRPC](https://github.com/grpc). The error model is designed to be:
+      # - Simple to use and understand for most users
+      # - Flexible enough to meet unexpected needs
+      # # Overview
+      # The `Status` message contains three pieces of data: error code, error message,
+      # and error details. The error code should be an enum value of
+      # google.rpc.Code, but it may accept additional error codes if needed.  The
+      # error message should be a developer-facing English message that helps
+      # developers *understand* and *resolve* the error. If a localized user-facing
+      # error message is needed, put the localized message in the error details or
+      # localize it in the client. The optional error details may contain arbitrary
+      # information about the error. There is a predefined set of error detail types
+      # in the package `google.rpc` which can be used for common error conditions.
+      # # Language mapping
+      # The `Status` message is the logical representation of the error model, but it
+      # is not necessarily the actual wire format. When the `Status` message is
+      # exposed in different client libraries and different wire protocols, it can be
+      # mapped differently. For example, it will likely be mapped to some exceptions
+      # in Java, but more likely mapped to some error codes in C.
+      # # Other uses
+      # The error model and the `Status` message can be used in a variety of
+      # environments, either with or without APIs, to provide a
+      # consistent developer experience across different environments.
+      # Example uses of this error model include:
+      # - Partial errors. If a service needs to return partial errors to the client,
+      # it may embed the `Status` in the normal response to indicate the partial
+      # errors.
+      # - Workflow errors. A typical workflow has multiple steps. Each step may
+      # have a `Status` message for error reporting purpose.
+      # - Batch operations. If a client uses batch request and batch response, the
+      # `Status` message should be used directly inside batch response, one for
+      # each error sub-response.
+      # - Asynchronous operations. If an API call embeds asynchronous operation
+      # results in its response, the status of those operations should be
+      # represented directly using the `Status` message.
+      # - Logging. If some API errors are stored in logs, the message `Status` could
+      # be used directly after any stripping needed for security/privacy reasons.
+      class Status
+        include Google::Apis::Core::Hashable
+      
+        # A developer-facing error message, which should be in English. Any
+        # user-facing error message should be localized and sent in the
+        # google.rpc.Status.details field, or localized by the client.
+        # Corresponds to the JSON property `message`
+        # @return [String]
+        attr_accessor :message
+      
+        # A list of messages that carry the error details.  There will be a
+        # common set of message types for APIs to use.
+        # Corresponds to the JSON property `details`
+        # @return [Array>]
+        attr_accessor :details
+      
+        # The status code, which should be an enum value of google.rpc.Code.
+        # Corresponds to the JSON property `code`
+        # @return [Fixnum]
+        attr_accessor :code
+      
+        def initialize(**args)
+           update!(**args)
+        end
+      
+        # Update properties of this object
+        def update!(**args)
+          @message = args[:message] if args.key?(:message)
+          @details = args[:details] if args.key?(:details)
+          @code = args[:code] if args.key?(:code)
+        end
+      end
+      
+      # Results from Read or
+      # ExecuteSql.
+      class ResultSet
+        include Google::Apis::Core::Hashable
+      
+        # Additional statistics about a ResultSet or PartialResultSet.
+        # Corresponds to the JSON property `stats`
+        # @return [Google::Apis::SpannerV1::ResultSetStats]
+        attr_accessor :stats
+      
+        # Each element in `rows` is a row whose format is defined by
+        # metadata.row_type. The ith element
+        # in each row matches the ith field in
+        # metadata.row_type. Elements are
+        # encoded based on type as described
+        # here.
+        # Corresponds to the JSON property `rows`
+        # @return [Array>]
+        attr_accessor :rows
+      
+        # Metadata about a ResultSet or PartialResultSet.
+        # Corresponds to the JSON property `metadata`
+        # @return [Google::Apis::SpannerV1::ResultSetMetadata]
+        attr_accessor :metadata
+      
+        def initialize(**args)
+           update!(**args)
+        end
+      
+        # Update properties of this object
+        def update!(**args)
+          @stats = args[:stats] if args.key?(:stats)
+          @rows = args[:rows] if args.key?(:rows)
+          @metadata = args[:metadata] if args.key?(:metadata)
+        end
+      end
+      
+      # Enqueues the given DDL statements to be applied, in order but not
+      # necessarily all at once, to the database schema at some point (or
+      # points) in the future. The server checks that the statements
+      # are executable (syntactically valid, name tables that exist, etc.)
+      # before enqueueing them, but they may still fail upon
+      # later execution (e.g., if a statement from another batch of
+      # statements is applied first and it conflicts in some way, or if
+      # there is some data-related problem like a `NULL` value in a column to
+      # which `NOT NULL` would be added). If a statement fails, all
+      # subsequent statements in the batch are automatically cancelled.
+      # Each batch of statements is assigned a name which can be used with
+      # the Operations API to monitor
+      # progress. See the
+      # operation_id field for more
+      # details.
+      class UpdateDatabaseDdlRequest
+        include Google::Apis::Core::Hashable
+      
+        # DDL statements to be applied to the database.
+        # Corresponds to the JSON property `statements`
+        # @return [Array]
+        attr_accessor :statements
+      
+        # If empty, the new update request is assigned an
+        # automatically-generated operation ID. Otherwise, `operation_id`
+        # is used to construct the name of the resulting
+        # Operation.
+        # Specifying an explicit operation ID simplifies determining
+        # whether the statements were executed in the event that the
+        # UpdateDatabaseDdl call is replayed,
+        # or the return value is otherwise lost: the database and
+        # `operation_id` fields can be combined to form the
+        # name of the resulting
+        # longrunning.Operation: `/operations/`.
+        # `operation_id` should be unique within the database, and must be
+        # a valid identifier: `a-z*`. Note that
+        # automatically-generated operation IDs always begin with an
+        # underscore. If the named operation already exists,
+        # UpdateDatabaseDdl returns
+        # `ALREADY_EXISTS`.
+        # Corresponds to the JSON property `operationId`
+        # @return [String]
+        attr_accessor :operation_id
+      
+        def initialize(**args)
+           update!(**args)
+        end
+      
+        # Update properties of this object
+        def update!(**args)
+          @statements = args[:statements] if args.key?(:statements)
+          @operation_id = args[:operation_id] if args.key?(:operation_id)
+        end
+      end
+      
+      # Associates `members` with a `role`.
+      class Binding
+        include Google::Apis::Core::Hashable
+      
+        # Specifies the identities requesting access for a Cloud Platform resource.
+        # `members` can have the following values:
+        # * `allUsers`: A special identifier that represents anyone who is
+        # on the internet; with or without a Google account.
+        # * `allAuthenticatedUsers`: A special identifier that represents anyone
+        # who is authenticated with a Google account or a service account.
+        # * `user:`emailid``: An email address that represents a specific Google
+        # account. For example, `alice@gmail.com` or `joe@example.com`.
+        # * `serviceAccount:`emailid``: An email address that represents a service
+        # account. For example, `my-other-app@appspot.gserviceaccount.com`.
+        # * `group:`emailid``: An email address that represents a Google group.
+        # For example, `admins@example.com`.
+        # * `domain:`domain``: A Google Apps domain name that represents all the
+        # users of that domain. For example, `google.com` or `example.com`.
+        # Corresponds to the JSON property `members`
+        # @return [Array]
+        attr_accessor :members
+      
+        # Role that is assigned to `members`.
+        # For example, `roles/viewer`, `roles/editor`, or `roles/owner`.
+        # Required
+        # Corresponds to the JSON property `role`
+        # @return [String]
+        attr_accessor :role
+      
+        def initialize(**args)
+           update!(**args)
+        end
+      
+        # Update properties of this object
+        def update!(**args)
+          @members = args[:members] if args.key?(:members)
+          @role = args[:role] if args.key?(:role)
+        end
+      end
+      
+      # Partial results from a streaming read or SQL query. Streaming reads and
+      # SQL queries better tolerate large result sets, large rows, and large
+      # values, but are a little trickier to consume.
+      class PartialResultSet
+        include Google::Apis::Core::Hashable
+      
+        # If true, then the final value in values is chunked, and must
+        # be combined with more values from subsequent `PartialResultSet`s
+        # to obtain a complete field value.
+        # Corresponds to the JSON property `chunkedValue`
+        # @return [Boolean]
+        attr_accessor :chunked_value
+        alias_method :chunked_value?, :chunked_value
+      
+        # Metadata about a ResultSet or PartialResultSet.
+        # Corresponds to the JSON property `metadata`
+        # @return [Google::Apis::SpannerV1::ResultSetMetadata]
+        attr_accessor :metadata
+      
+        # A streamed result set consists of a stream of values, which might
+        # be split into many `PartialResultSet` messages to accommodate
+        # large rows and/or large values. Every N complete values defines a
+        # row, where N is equal to the number of entries in
+        # metadata.row_type.fields.
+        # Most values are encoded based on type as described
+        # here.
+        # It is possible that the last value in values is "chunked",
+        # meaning that the rest of the value is sent in subsequent
+        # `PartialResultSet`(s). This is denoted by the chunked_value
+        # field. Two or more chunked values can be merged to form a
+        # complete value as follows:
+        # * `bool/number/null`: cannot be chunked
+        # * `string`: concatenate the strings
+        # * `list`: concatenate the lists. If the last element in a list is a
+        # `string`, `list`, or `object`, merge it with the first element in
+        # the next list by applying these rules recursively.
+        # * `object`: concatenate the (field name, field value) pairs. If a
+        # field name is duplicated, then apply these rules recursively
+        # to merge the field values.
+        # Some examples of merging:
+        # # Strings are concatenated.
+        # "foo", "bar" => "foobar"
+        # # Lists of non-strings are concatenated.
+        # [2, 3], [4] => [2, 3, 4]
+        # # Lists are concatenated, but the last and first elements are merged
+        # # because they are strings.
+        # ["a", "b"], ["c", "d"] => ["a", "bc", "d"]
+        # # Lists are concatenated, but the last and first elements are merged
+        # # because they are lists. Recursively, the last and first elements
+        # # of the inner lists are merged because they are strings.
+        # ["a", ["b", "c"]], [["d"], "e"] => ["a", ["b", "cd"], "e"]
+        # # Non-overlapping object fields are combined.
+        # `"a": "1"`, `"b": "2"` => `"a": "1", "b": 2"`
+        # # Overlapping object fields are merged.
+        # `"a": "1"`, `"a": "2"` => `"a": "12"`
+        # # Examples of merging objects containing lists of strings.
+        # `"a": ["1"]`, `"a": ["2"]` => `"a": ["12"]`
+        # For a more complete example, suppose a streaming SQL query is
+        # yielding a result set whose rows contain a single string
+        # field. The following `PartialResultSet`s might be yielded:
+        # `
+        # "metadata": ` ... `
+        # "values": ["Hello", "W"]
+        # "chunked_value": true
+        # "resume_token": "Af65..."
+        # `
+        # `
+        # "values": ["orl"]
+        # "chunked_value": true
+        # "resume_token": "Bqp2..."
+        # `
+        # `
+        # "values": ["d"]
+        # "resume_token": "Zx1B..."
+        # `
+        # This sequence of `PartialResultSet`s encodes two rows, one
+        # containing the field value `"Hello"`, and a second containing the
+        # field value `"World" = "W" + "orl" + "d"`.
+        # Corresponds to the JSON property `values`
+        # @return [Array]
+        attr_accessor :values
+      
+        # Streaming calls might be interrupted for a variety of reasons, such
+        # as TCP connection loss. If this occurs, the stream of results can
+        # be resumed by re-sending the original request and including
+        # `resume_token`. Note that executing any other transaction in the
+        # same session invalidates the token.
+        # Corresponds to the JSON property `resumeToken`
+        # NOTE: Values are automatically base64 encoded/decoded in the client library.
+        # @return [String]
+        attr_accessor :resume_token
+      
+        # Additional statistics about a ResultSet or PartialResultSet.
+        # Corresponds to the JSON property `stats`
+        # @return [Google::Apis::SpannerV1::ResultSetStats]
+        attr_accessor :stats
+      
+        def initialize(**args)
+           update!(**args)
+        end
+      
+        # Update properties of this object
+        def update!(**args)
+          @chunked_value = args[:chunked_value] if args.key?(:chunked_value)
+          @metadata = args[:metadata] if args.key?(:metadata)
+          @values = args[:values] if args.key?(:values)
+          @resume_token = args[:resume_token] if args.key?(:resume_token)
+          @stats = args[:stats] if args.key?(:stats)
+        end
+      end
+      
+      # Metadata type for the operation returned by
+      # UpdateInstance.
+      class UpdateInstanceMetadata
+        include Google::Apis::Core::Hashable
+      
+        # The time at which this operation was cancelled. If set, this operation is
+        # in the process of undoing itself (which is guaranteed to succeed) and
+        # cannot be cancelled again.
+        # Corresponds to the JSON property `cancelTime`
+        # @return [String]
+        attr_accessor :cancel_time
+      
+        # The time at which this operation failed or was completed successfully.
+        # Corresponds to the JSON property `endTime`
+        # @return [String]
+        attr_accessor :end_time
+      
+        # An isolated set of Cloud Spanner resources on which databases can be hosted.
+        # Corresponds to the JSON property `instance`
+        # @return [Google::Apis::SpannerV1::Instance]
+        attr_accessor :instance
+      
+        # The time at which UpdateInstance
+        # request was received.
+        # Corresponds to the JSON property `startTime`
+        # @return [String]
+        attr_accessor :start_time
+      
+        def initialize(**args)
+           update!(**args)
+        end
+      
+        # Update properties of this object
+        def update!(**args)
+          @cancel_time = args[:cancel_time] if args.key?(:cancel_time)
+          @end_time = args[:end_time] if args.key?(:end_time)
+          @instance = args[:instance] if args.key?(:instance)
+          @start_time = args[:start_time] if args.key?(:start_time)
+        end
+      end
+      
+      # The response message for Operations.ListOperations.
+      class ListOperationsResponse
+        include Google::Apis::Core::Hashable
+      
+        # The standard List next-page token.
+        # Corresponds to the JSON property `nextPageToken`
+        # @return [String]
+        attr_accessor :next_page_token
+      
+        # A list of operations that matches the specified filter in the request.
+        # Corresponds to the JSON property `operations`
+        # @return [Array]
+        attr_accessor :operations
+      
+        def initialize(**args)
+           update!(**args)
+        end
+      
+        # Update properties of this object
+        def update!(**args)
+          @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
+          @operations = args[:operations] if args.key?(:operations)
+        end
+      end
     end
   end
 end
diff --git a/generated/google/apis/spanner_v1/representations.rb b/generated/google/apis/spanner_v1/representations.rb
index fc084623e..9298b0e2f 100644
--- a/generated/google/apis/spanner_v1/representations.rb
+++ b/generated/google/apis/spanner_v1/representations.rb
@@ -22,7 +22,163 @@ module Google
   module Apis
     module SpannerV1
       
-      class ListInstanceConfigsResponse
+      class ResultSetMetadata
+        class Representation < Google::Apis::Core::JsonRepresentation; end
+      
+        include Google::Apis::Core::JsonObjectSupport
+      end
+      
+      class TransactionSelector
+        class Representation < Google::Apis::Core::JsonRepresentation; end
+      
+        include Google::Apis::Core::JsonObjectSupport
+      end
+      
+      class KeySet
+        class Representation < Google::Apis::Core::JsonRepresentation; end
+      
+        include Google::Apis::Core::JsonObjectSupport
+      end
+      
+      class Mutation
+        class Representation < Google::Apis::Core::JsonRepresentation; end
+      
+        include Google::Apis::Core::JsonObjectSupport
+      end
+      
+      class GetDatabaseDdlResponse
+        class Representation < Google::Apis::Core::JsonRepresentation; end
+      
+        include Google::Apis::Core::JsonObjectSupport
+      end
+      
+      class Database
+        class Representation < Google::Apis::Core::JsonRepresentation; end
+      
+        include Google::Apis::Core::JsonObjectSupport
+      end
+      
+      class Instance
+        class Representation < Google::Apis::Core::JsonRepresentation; end
+      
+        include Google::Apis::Core::JsonObjectSupport
+      end
+      
+      class SetIamPolicyRequest
+        class Representation < Google::Apis::Core::JsonRepresentation; end
+      
+        include Google::Apis::Core::JsonObjectSupport
+      end
+      
+      class ListDatabasesResponse
+        class Representation < Google::Apis::Core::JsonRepresentation; end
+      
+        include Google::Apis::Core::JsonObjectSupport
+      end
+      
+      class RollbackRequest
+        class Representation < Google::Apis::Core::JsonRepresentation; end
+      
+        include Google::Apis::Core::JsonObjectSupport
+      end
+      
+      class Transaction
+        class Representation < Google::Apis::Core::JsonRepresentation; end
+      
+        include Google::Apis::Core::JsonObjectSupport
+      end
+      
+      class UpdateDatabaseDdlMetadata
+        class Representation < Google::Apis::Core::JsonRepresentation; end
+      
+        include Google::Apis::Core::JsonObjectSupport
+      end
+      
+      class CounterOptions
+        class Representation < Google::Apis::Core::JsonRepresentation; end
+      
+        include Google::Apis::Core::JsonObjectSupport
+      end
+      
+      class StructType
+        class Representation < Google::Apis::Core::JsonRepresentation; end
+      
+        include Google::Apis::Core::JsonObjectSupport
+      end
+      
+      class QueryPlan
+        class Representation < Google::Apis::Core::JsonRepresentation; end
+      
+        include Google::Apis::Core::JsonObjectSupport
+      end
+      
+      class Field
+        class Representation < Google::Apis::Core::JsonRepresentation; end
+      
+        include Google::Apis::Core::JsonObjectSupport
+      end
+      
+      class ResultSetStats
+        class Representation < Google::Apis::Core::JsonRepresentation; end
+      
+        include Google::Apis::Core::JsonObjectSupport
+      end
+      
+      class TestIamPermissionsRequest
+        class Representation < Google::Apis::Core::JsonRepresentation; end
+      
+        include Google::Apis::Core::JsonObjectSupport
+      end
+      
+      class CommitResponse
+        class Representation < Google::Apis::Core::JsonRepresentation; end
+      
+        include Google::Apis::Core::JsonObjectSupport
+      end
+      
+      class Type
+        class Representation < Google::Apis::Core::JsonRepresentation; end
+      
+        include Google::Apis::Core::JsonObjectSupport
+      end
+      
+      class PlanNode
+        class Representation < Google::Apis::Core::JsonRepresentation; end
+      
+        include Google::Apis::Core::JsonObjectSupport
+      end
+      
+      class CreateInstanceMetadata
+        class Representation < Google::Apis::Core::JsonRepresentation; end
+      
+        include Google::Apis::Core::JsonObjectSupport
+      end
+      
+      class AuditConfig
+        class Representation < Google::Apis::Core::JsonRepresentation; end
+      
+        include Google::Apis::Core::JsonObjectSupport
+      end
+      
+      class ChildLink
+        class Representation < Google::Apis::Core::JsonRepresentation; end
+      
+        include Google::Apis::Core::JsonObjectSupport
+      end
+      
+      class CloudAuditOptions
+        class Representation < Google::Apis::Core::JsonRepresentation; end
+      
+        include Google::Apis::Core::JsonObjectSupport
+      end
+      
+      class Delete
+        class Representation < Google::Apis::Core::JsonRepresentation; end
+      
+        include Google::Apis::Core::JsonObjectSupport
+      end
+      
+      class CommitRequest
         class Representation < Google::Apis::Core::JsonRepresentation; end
       
         include Google::Apis::Core::JsonObjectSupport
@@ -34,7 +190,7 @@ module Google
         include Google::Apis::Core::JsonObjectSupport
       end
       
-      class CommitRequest
+      class ListInstanceConfigsResponse
         class Representation < Google::Apis::Core::JsonRepresentation; end
       
         include Google::Apis::Core::JsonObjectSupport
@@ -52,13 +208,13 @@ module Google
         include Google::Apis::Core::JsonObjectSupport
       end
       
-      class CreateDatabaseMetadata
+      class Rule
         class Representation < Google::Apis::Core::JsonRepresentation; end
       
         include Google::Apis::Core::JsonObjectSupport
       end
       
-      class Rule
+      class CreateDatabaseMetadata
         class Representation < Google::Apis::Core::JsonRepresentation; end
       
         include Google::Apis::Core::JsonObjectSupport
@@ -76,13 +232,13 @@ module Google
         include Google::Apis::Core::JsonObjectSupport
       end
       
-      class ListInstancesResponse
+      class KeyRange
         class Representation < Google::Apis::Core::JsonRepresentation; end
       
         include Google::Apis::Core::JsonObjectSupport
       end
       
-      class KeyRange
+      class ListInstancesResponse
         class Representation < Google::Apis::Core::JsonRepresentation; end
       
         include Google::Apis::Core::JsonObjectSupport
@@ -172,13 +328,13 @@ module Google
         include Google::Apis::Core::JsonObjectSupport
       end
       
-      class ReadWrite
+      class DataAccessOptions
         class Representation < Google::Apis::Core::JsonRepresentation; end
       
         include Google::Apis::Core::JsonObjectSupport
       end
       
-      class DataAccessOptions
+      class ReadWrite
         class Representation < Google::Apis::Core::JsonRepresentation; end
       
         include Google::Apis::Core::JsonObjectSupport
@@ -190,19 +346,13 @@ module Google
         include Google::Apis::Core::JsonObjectSupport
       end
       
-      class ResultSet
-        class Representation < Google::Apis::Core::JsonRepresentation; end
-      
-        include Google::Apis::Core::JsonObjectSupport
-      end
-      
       class Status
         class Representation < Google::Apis::Core::JsonRepresentation; end
       
         include Google::Apis::Core::JsonObjectSupport
       end
       
-      class Binding
+      class ResultSet
         class Representation < Google::Apis::Core::JsonRepresentation; end
       
         include Google::Apis::Core::JsonObjectSupport
@@ -214,6 +364,12 @@ module Google
         include Google::Apis::Core::JsonObjectSupport
       end
       
+      class Binding
+        class Representation < Google::Apis::Core::JsonRepresentation; end
+      
+        include Google::Apis::Core::JsonObjectSupport
+      end
+      
       class PartialResultSet
         class Representation < Google::Apis::Core::JsonRepresentation; end
       
@@ -233,174 +389,248 @@ module Google
       end
       
       class ResultSetMetadata
-        class Representation < Google::Apis::Core::JsonRepresentation; end
-      
-        include Google::Apis::Core::JsonObjectSupport
-      end
-      
-      class TransactionSelector
-        class Representation < Google::Apis::Core::JsonRepresentation; end
-      
-        include Google::Apis::Core::JsonObjectSupport
-      end
-      
-      class Mutation
-        class Representation < Google::Apis::Core::JsonRepresentation; end
-      
-        include Google::Apis::Core::JsonObjectSupport
-      end
-      
-      class KeySet
-        class Representation < Google::Apis::Core::JsonRepresentation; end
-      
-        include Google::Apis::Core::JsonObjectSupport
-      end
-      
-      class GetDatabaseDdlResponse
-        class Representation < Google::Apis::Core::JsonRepresentation; end
-      
-        include Google::Apis::Core::JsonObjectSupport
-      end
-      
-      class Database
-        class Representation < Google::Apis::Core::JsonRepresentation; end
-      
-        include Google::Apis::Core::JsonObjectSupport
-      end
-      
-      class ListDatabasesResponse
-        class Representation < Google::Apis::Core::JsonRepresentation; end
-      
-        include Google::Apis::Core::JsonObjectSupport
-      end
-      
-      class SetIamPolicyRequest
-        class Representation < Google::Apis::Core::JsonRepresentation; end
-      
-        include Google::Apis::Core::JsonObjectSupport
-      end
-      
-      class Instance
-        class Representation < Google::Apis::Core::JsonRepresentation; end
-      
-        include Google::Apis::Core::JsonObjectSupport
-      end
-      
-      class RollbackRequest
-        class Representation < Google::Apis::Core::JsonRepresentation; end
-      
-        include Google::Apis::Core::JsonObjectSupport
-      end
-      
-      class Transaction
-        class Representation < Google::Apis::Core::JsonRepresentation; end
-      
-        include Google::Apis::Core::JsonObjectSupport
-      end
-      
-      class UpdateDatabaseDdlMetadata
-        class Representation < Google::Apis::Core::JsonRepresentation; end
-      
-        include Google::Apis::Core::JsonObjectSupport
-      end
-      
-      class CounterOptions
-        class Representation < Google::Apis::Core::JsonRepresentation; end
-      
-        include Google::Apis::Core::JsonObjectSupport
-      end
-      
-      class QueryPlan
-        class Representation < Google::Apis::Core::JsonRepresentation; end
-      
-        include Google::Apis::Core::JsonObjectSupport
-      end
-      
-      class StructType
-        class Representation < Google::Apis::Core::JsonRepresentation; end
-      
-        include Google::Apis::Core::JsonObjectSupport
-      end
-      
-      class Field
-        class Representation < Google::Apis::Core::JsonRepresentation; end
-      
-        include Google::Apis::Core::JsonObjectSupport
-      end
-      
-      class TestIamPermissionsRequest
-        class Representation < Google::Apis::Core::JsonRepresentation; end
-      
-        include Google::Apis::Core::JsonObjectSupport
-      end
-      
-      class ResultSetStats
-        class Representation < Google::Apis::Core::JsonRepresentation; end
-      
-        include Google::Apis::Core::JsonObjectSupport
-      end
-      
-      class CommitResponse
-        class Representation < Google::Apis::Core::JsonRepresentation; end
-      
-        include Google::Apis::Core::JsonObjectSupport
-      end
-      
-      class Type
-        class Representation < Google::Apis::Core::JsonRepresentation; end
-      
-        include Google::Apis::Core::JsonObjectSupport
-      end
-      
-      class PlanNode
-        class Representation < Google::Apis::Core::JsonRepresentation; end
-      
-        include Google::Apis::Core::JsonObjectSupport
-      end
-      
-      class AuditConfig
-        class Representation < Google::Apis::Core::JsonRepresentation; end
-      
-        include Google::Apis::Core::JsonObjectSupport
-      end
-      
-      class CreateInstanceMetadata
-        class Representation < Google::Apis::Core::JsonRepresentation; end
-      
-        include Google::Apis::Core::JsonObjectSupport
-      end
-      
-      class ChildLink
-        class Representation < Google::Apis::Core::JsonRepresentation; end
-      
-        include Google::Apis::Core::JsonObjectSupport
-      end
-      
-      class CloudAuditOptions
-        class Representation < Google::Apis::Core::JsonRepresentation; end
-      
-        include Google::Apis::Core::JsonObjectSupport
-      end
-      
-      class Delete
-        class Representation < Google::Apis::Core::JsonRepresentation; end
-      
-        include Google::Apis::Core::JsonObjectSupport
-      end
-      
-      class ListInstanceConfigsResponse
         # @private
         class Representation < Google::Apis::Core::JsonRepresentation
-          property :next_page_token, as: 'nextPageToken'
-          collection :instance_configs, as: 'instanceConfigs', class: Google::Apis::SpannerV1::InstanceConfig, decorator: Google::Apis::SpannerV1::InstanceConfig::Representation
+          property :row_type, as: 'rowType', class: Google::Apis::SpannerV1::StructType, decorator: Google::Apis::SpannerV1::StructType::Representation
+      
+          property :transaction, as: 'transaction', class: Google::Apis::SpannerV1::Transaction, decorator: Google::Apis::SpannerV1::Transaction::Representation
       
         end
       end
       
-      class BeginTransactionRequest
+      class TransactionSelector
         # @private
         class Representation < Google::Apis::Core::JsonRepresentation
-          property :options, as: 'options', class: Google::Apis::SpannerV1::TransactionOptions, decorator: Google::Apis::SpannerV1::TransactionOptions::Representation
+          property :single_use, as: 'singleUse', class: Google::Apis::SpannerV1::TransactionOptions, decorator: Google::Apis::SpannerV1::TransactionOptions::Representation
+      
+          property :begin, as: 'begin', class: Google::Apis::SpannerV1::TransactionOptions, decorator: Google::Apis::SpannerV1::TransactionOptions::Representation
+      
+          property :id, :base64 => true, as: 'id'
+        end
+      end
+      
+      class KeySet
+        # @private
+        class Representation < Google::Apis::Core::JsonRepresentation
+          collection :ranges, as: 'ranges', class: Google::Apis::SpannerV1::KeyRange, decorator: Google::Apis::SpannerV1::KeyRange::Representation
+      
+          collection :keys, as: 'keys', :class => Array do
+        include Representable::JSON::Collection
+        items
+      end
+      
+          property :all, as: 'all'
+        end
+      end
+      
+      class Mutation
+        # @private
+        class Representation < Google::Apis::Core::JsonRepresentation
+          property :update, as: 'update', class: Google::Apis::SpannerV1::Write, decorator: Google::Apis::SpannerV1::Write::Representation
+      
+          property :replace, as: 'replace', class: Google::Apis::SpannerV1::Write, decorator: Google::Apis::SpannerV1::Write::Representation
+      
+          property :delete, as: 'delete', class: Google::Apis::SpannerV1::Delete, decorator: Google::Apis::SpannerV1::Delete::Representation
+      
+          property :insert, as: 'insert', class: Google::Apis::SpannerV1::Write, decorator: Google::Apis::SpannerV1::Write::Representation
+      
+          property :insert_or_update, as: 'insertOrUpdate', class: Google::Apis::SpannerV1::Write, decorator: Google::Apis::SpannerV1::Write::Representation
+      
+        end
+      end
+      
+      class GetDatabaseDdlResponse
+        # @private
+        class Representation < Google::Apis::Core::JsonRepresentation
+          collection :statements, as: 'statements'
+        end
+      end
+      
+      class Database
+        # @private
+        class Representation < Google::Apis::Core::JsonRepresentation
+          property :state, as: 'state'
+          property :name, as: 'name'
+        end
+      end
+      
+      class Instance
+        # @private
+        class Representation < Google::Apis::Core::JsonRepresentation
+          property :config, as: 'config'
+          property :state, as: 'state'
+          property :name, as: 'name'
+          property :display_name, as: 'displayName'
+          property :node_count, as: 'nodeCount'
+          hash :labels, as: 'labels'
+        end
+      end
+      
+      class SetIamPolicyRequest
+        # @private
+        class Representation < Google::Apis::Core::JsonRepresentation
+          property :policy, as: 'policy', class: Google::Apis::SpannerV1::Policy, decorator: Google::Apis::SpannerV1::Policy::Representation
+      
+          property :update_mask, as: 'updateMask'
+        end
+      end
+      
+      class ListDatabasesResponse
+        # @private
+        class Representation < Google::Apis::Core::JsonRepresentation
+          property :next_page_token, as: 'nextPageToken'
+          collection :databases, as: 'databases', class: Google::Apis::SpannerV1::Database, decorator: Google::Apis::SpannerV1::Database::Representation
+      
+        end
+      end
+      
+      class RollbackRequest
+        # @private
+        class Representation < Google::Apis::Core::JsonRepresentation
+          property :transaction_id, :base64 => true, as: 'transactionId'
+        end
+      end
+      
+      class Transaction
+        # @private
+        class Representation < Google::Apis::Core::JsonRepresentation
+          property :read_timestamp, as: 'readTimestamp'
+          property :id, :base64 => true, as: 'id'
+        end
+      end
+      
+      class UpdateDatabaseDdlMetadata
+        # @private
+        class Representation < Google::Apis::Core::JsonRepresentation
+          collection :statements, as: 'statements'
+          collection :commit_timestamps, as: 'commitTimestamps'
+          property :database, as: 'database'
+        end
+      end
+      
+      class CounterOptions
+        # @private
+        class Representation < Google::Apis::Core::JsonRepresentation
+          property :metric, as: 'metric'
+          property :field, as: 'field'
+        end
+      end
+      
+      class StructType
+        # @private
+        class Representation < Google::Apis::Core::JsonRepresentation
+          collection :fields, as: 'fields', class: Google::Apis::SpannerV1::Field, decorator: Google::Apis::SpannerV1::Field::Representation
+      
+        end
+      end
+      
+      class QueryPlan
+        # @private
+        class Representation < Google::Apis::Core::JsonRepresentation
+          collection :plan_nodes, as: 'planNodes', class: Google::Apis::SpannerV1::PlanNode, decorator: Google::Apis::SpannerV1::PlanNode::Representation
+      
+        end
+      end
+      
+      class Field
+        # @private
+        class Representation < Google::Apis::Core::JsonRepresentation
+          property :name, as: 'name'
+          property :type, as: 'type', class: Google::Apis::SpannerV1::Type, decorator: Google::Apis::SpannerV1::Type::Representation
+      
+        end
+      end
+      
+      class ResultSetStats
+        # @private
+        class Representation < Google::Apis::Core::JsonRepresentation
+          property :query_plan, as: 'queryPlan', class: Google::Apis::SpannerV1::QueryPlan, decorator: Google::Apis::SpannerV1::QueryPlan::Representation
+      
+          hash :query_stats, as: 'queryStats'
+        end
+      end
+      
+      class TestIamPermissionsRequest
+        # @private
+        class Representation < Google::Apis::Core::JsonRepresentation
+          collection :permissions, as: 'permissions'
+        end
+      end
+      
+      class CommitResponse
+        # @private
+        class Representation < Google::Apis::Core::JsonRepresentation
+          property :commit_timestamp, as: 'commitTimestamp'
+        end
+      end
+      
+      class Type
+        # @private
+        class Representation < Google::Apis::Core::JsonRepresentation
+          property :struct_type, as: 'structType', class: Google::Apis::SpannerV1::StructType, decorator: Google::Apis::SpannerV1::StructType::Representation
+      
+          property :array_element_type, as: 'arrayElementType', class: Google::Apis::SpannerV1::Type, decorator: Google::Apis::SpannerV1::Type::Representation
+      
+          property :code, as: 'code'
+        end
+      end
+      
+      class PlanNode
+        # @private
+        class Representation < Google::Apis::Core::JsonRepresentation
+          hash :metadata, as: 'metadata'
+          hash :execution_stats, as: 'executionStats'
+          property :short_representation, as: 'shortRepresentation', class: Google::Apis::SpannerV1::ShortRepresentation, decorator: Google::Apis::SpannerV1::ShortRepresentation::Representation
+      
+          property :index, as: 'index'
+          property :display_name, as: 'displayName'
+          property :kind, as: 'kind'
+          collection :child_links, as: 'childLinks', class: Google::Apis::SpannerV1::ChildLink, decorator: Google::Apis::SpannerV1::ChildLink::Representation
+      
+        end
+      end
+      
+      class CreateInstanceMetadata
+        # @private
+        class Representation < Google::Apis::Core::JsonRepresentation
+          property :cancel_time, as: 'cancelTime'
+          property :end_time, as: 'endTime'
+          property :instance, as: 'instance', class: Google::Apis::SpannerV1::Instance, decorator: Google::Apis::SpannerV1::Instance::Representation
+      
+          property :start_time, as: 'startTime'
+        end
+      end
+      
+      class AuditConfig
+        # @private
+        class Representation < Google::Apis::Core::JsonRepresentation
+          collection :exempted_members, as: 'exemptedMembers'
+          property :service, as: 'service'
+          collection :audit_log_configs, as: 'auditLogConfigs', class: Google::Apis::SpannerV1::AuditLogConfig, decorator: Google::Apis::SpannerV1::AuditLogConfig::Representation
+      
+        end
+      end
+      
+      class ChildLink
+        # @private
+        class Representation < Google::Apis::Core::JsonRepresentation
+          property :type, as: 'type'
+          property :child_index, as: 'childIndex'
+          property :variable, as: 'variable'
+        end
+      end
+      
+      class CloudAuditOptions
+        # @private
+        class Representation < Google::Apis::Core::JsonRepresentation
+        end
+      end
+      
+      class Delete
+        # @private
+        class Representation < Google::Apis::Core::JsonRepresentation
+          property :table, as: 'table'
+          property :key_set, as: 'keySet', class: Google::Apis::SpannerV1::KeySet, decorator: Google::Apis::SpannerV1::KeySet::Representation
       
         end
       end
@@ -416,6 +646,23 @@ module Google
         end
       end
       
+      class BeginTransactionRequest
+        # @private
+        class Representation < Google::Apis::Core::JsonRepresentation
+          property :options, as: 'options', class: Google::Apis::SpannerV1::TransactionOptions, decorator: Google::Apis::SpannerV1::TransactionOptions::Representation
+      
+        end
+      end
+      
+      class ListInstanceConfigsResponse
+        # @private
+        class Representation < Google::Apis::Core::JsonRepresentation
+          property :next_page_token, as: 'nextPageToken'
+          collection :instance_configs, as: 'instanceConfigs', class: Google::Apis::SpannerV1::InstanceConfig, decorator: Google::Apis::SpannerV1::InstanceConfig::Representation
+      
+        end
+      end
+      
       class GetIamPolicyRequest
         # @private
         class Representation < Google::Apis::Core::JsonRepresentation
@@ -429,6 +676,21 @@ module Google
         end
       end
       
+      class Rule
+        # @private
+        class Representation < Google::Apis::Core::JsonRepresentation
+          collection :log_config, as: 'logConfig', class: Google::Apis::SpannerV1::LogConfig, decorator: Google::Apis::SpannerV1::LogConfig::Representation
+      
+          collection :in, as: 'in'
+          collection :permissions, as: 'permissions'
+          property :action, as: 'action'
+          collection :not_in, as: 'notIn'
+          property :description, as: 'description'
+          collection :conditions, as: 'conditions', class: Google::Apis::SpannerV1::Condition, decorator: Google::Apis::SpannerV1::Condition::Representation
+      
+        end
+      end
+      
       class CreateDatabaseMetadata
         # @private
         class Representation < Google::Apis::Core::JsonRepresentation
@@ -436,30 +698,15 @@ module Google
         end
       end
       
-      class Rule
-        # @private
-        class Representation < Google::Apis::Core::JsonRepresentation
-          property :description, as: 'description'
-          collection :conditions, as: 'conditions', class: Google::Apis::SpannerV1::Condition, decorator: Google::Apis::SpannerV1::Condition::Representation
-      
-          collection :log_config, as: 'logConfig', class: Google::Apis::SpannerV1::LogConfig, decorator: Google::Apis::SpannerV1::LogConfig::Representation
-      
-          collection :in, as: 'in'
-          collection :permissions, as: 'permissions'
-          property :action, as: 'action'
-          collection :not_in, as: 'notIn'
-        end
-      end
-      
       class LogConfig
         # @private
         class Representation < Google::Apis::Core::JsonRepresentation
+          property :cloud_audit, as: 'cloudAudit', class: Google::Apis::SpannerV1::CloudAuditOptions, decorator: Google::Apis::SpannerV1::CloudAuditOptions::Representation
+      
           property :counter, as: 'counter', class: Google::Apis::SpannerV1::CounterOptions, decorator: Google::Apis::SpannerV1::CounterOptions::Representation
       
           property :data_access, as: 'dataAccess', class: Google::Apis::SpannerV1::DataAccessOptions, decorator: Google::Apis::SpannerV1::DataAccessOptions::Representation
       
-          property :cloud_audit, as: 'cloudAudit', class: Google::Apis::SpannerV1::CloudAuditOptions, decorator: Google::Apis::SpannerV1::CloudAuditOptions::Representation
-      
         end
       end
       
@@ -470,6 +717,16 @@ module Google
         end
       end
       
+      class KeyRange
+        # @private
+        class Representation < Google::Apis::Core::JsonRepresentation
+          collection :start_closed, as: 'startClosed'
+          collection :start_open, as: 'startOpen'
+          collection :end_open, as: 'endOpen'
+          collection :end_closed, as: 'endClosed'
+        end
+      end
+      
       class ListInstancesResponse
         # @private
         class Representation < Google::Apis::Core::JsonRepresentation
@@ -479,16 +736,6 @@ module Google
         end
       end
       
-      class KeyRange
-        # @private
-        class Representation < Google::Apis::Core::JsonRepresentation
-          collection :end_closed, as: 'endClosed'
-          collection :start_closed, as: 'startClosed'
-          collection :start_open, as: 'startOpen'
-          collection :end_open, as: 'endOpen'
-        end
-      end
-      
       class ShortRepresentation
         # @private
         class Representation < Google::Apis::Core::JsonRepresentation
@@ -533,29 +780,29 @@ module Google
       class CreateDatabaseRequest
         # @private
         class Representation < Google::Apis::Core::JsonRepresentation
-          collection :extra_statements, as: 'extraStatements'
           property :create_statement, as: 'createStatement'
+          collection :extra_statements, as: 'extraStatements'
         end
       end
       
       class CreateInstanceRequest
         # @private
         class Representation < Google::Apis::Core::JsonRepresentation
+          property :instance_id, as: 'instanceId'
           property :instance, as: 'instance', class: Google::Apis::SpannerV1::Instance, decorator: Google::Apis::SpannerV1::Instance::Representation
       
-          property :instance_id, as: 'instanceId'
         end
       end
       
       class Condition
         # @private
         class Representation < Google::Apis::Core::JsonRepresentation
-          property :svc, as: 'svc'
-          property :value, as: 'value'
-          property :sys, as: 'sys'
           collection :values, as: 'values'
           property :iam, as: 'iam'
           property :op, as: 'op'
+          property :svc, as: 'svc'
+          property :sys, as: 'sys'
+          property :value, as: 'value'
         end
       end
       
@@ -570,12 +817,12 @@ module Google
       class ReadOnly
         # @private
         class Representation < Google::Apis::Core::JsonRepresentation
-          property :min_read_timestamp, as: 'minReadTimestamp'
           property :max_staleness, as: 'maxStaleness'
           property :read_timestamp, as: 'readTimestamp'
           property :return_read_timestamp, as: 'returnReadTimestamp'
           property :exact_staleness, as: 'exactStaleness'
           property :strong, as: 'strong'
+          property :min_read_timestamp, as: 'minReadTimestamp'
         end
       end
       
@@ -596,53 +843,53 @@ module Google
       class Policy
         # @private
         class Representation < Google::Apis::Core::JsonRepresentation
+          property :iam_owned, as: 'iamOwned'
+          collection :rules, as: 'rules', class: Google::Apis::SpannerV1::Rule, decorator: Google::Apis::SpannerV1::Rule::Representation
+      
           property :version, as: 'version'
           collection :audit_configs, as: 'auditConfigs', class: Google::Apis::SpannerV1::AuditConfig, decorator: Google::Apis::SpannerV1::AuditConfig::Representation
       
           collection :bindings, as: 'bindings', class: Google::Apis::SpannerV1::Binding, decorator: Google::Apis::SpannerV1::Binding::Representation
       
           property :etag, :base64 => true, as: 'etag'
-          property :iam_owned, as: 'iamOwned'
-          collection :rules, as: 'rules', class: Google::Apis::SpannerV1::Rule, decorator: Google::Apis::SpannerV1::Rule::Representation
-      
         end
       end
       
       class ReadRequest
         # @private
         class Representation < Google::Apis::Core::JsonRepresentation
-          property :transaction, as: 'transaction', class: Google::Apis::SpannerV1::TransactionSelector, decorator: Google::Apis::SpannerV1::TransactionSelector::Representation
-      
-          property :resume_token, :base64 => true, as: 'resumeToken'
-          property :table, as: 'table'
-          property :limit, as: 'limit'
           property :index, as: 'index'
           property :key_set, as: 'keySet', class: Google::Apis::SpannerV1::KeySet, decorator: Google::Apis::SpannerV1::KeySet::Representation
       
           collection :columns, as: 'columns'
+          property :transaction, as: 'transaction', class: Google::Apis::SpannerV1::TransactionSelector, decorator: Google::Apis::SpannerV1::TransactionSelector::Representation
+      
+          property :resume_token, :base64 => true, as: 'resumeToken'
+          property :table, as: 'table'
+          property :limit, :numeric_string => true, as: 'limit'
         end
       end
       
       class Write
         # @private
         class Representation < Google::Apis::Core::JsonRepresentation
-          property :table, as: 'table'
           collection :columns, as: 'columns'
           collection :values, as: 'values', :class => Array do
         include Representable::JSON::Collection
         items
       end
       
+          property :table, as: 'table'
         end
       end
       
-      class ReadWrite
+      class DataAccessOptions
         # @private
         class Representation < Google::Apis::Core::JsonRepresentation
         end
       end
       
-      class DataAccessOptions
+      class ReadWrite
         # @private
         class Representation < Google::Apis::Core::JsonRepresentation
         end
@@ -660,9 +907,20 @@ module Google
         end
       end
       
+      class Status
+        # @private
+        class Representation < Google::Apis::Core::JsonRepresentation
+          property :message, as: 'message'
+          collection :details, as: 'details'
+          property :code, as: 'code'
+        end
+      end
+      
       class ResultSet
         # @private
         class Representation < Google::Apis::Core::JsonRepresentation
+          property :stats, as: 'stats', class: Google::Apis::SpannerV1::ResultSetStats, decorator: Google::Apis::SpannerV1::ResultSetStats::Representation
+      
           collection :rows, as: 'rows', :class => Array do
         include Representable::JSON::Collection
         items
@@ -670,25 +928,6 @@ module Google
       
           property :metadata, as: 'metadata', class: Google::Apis::SpannerV1::ResultSetMetadata, decorator: Google::Apis::SpannerV1::ResultSetMetadata::Representation
       
-          property :stats, as: 'stats', class: Google::Apis::SpannerV1::ResultSetStats, decorator: Google::Apis::SpannerV1::ResultSetStats::Representation
-      
-        end
-      end
-      
-      class Status
-        # @private
-        class Representation < Google::Apis::Core::JsonRepresentation
-          collection :details, as: 'details'
-          property :code, as: 'code'
-          property :message, as: 'message'
-        end
-      end
-      
-      class Binding
-        # @private
-        class Representation < Google::Apis::Core::JsonRepresentation
-          collection :members, as: 'members'
-          property :role, as: 'role'
         end
       end
       
@@ -700,27 +939,35 @@ module Google
         end
       end
       
+      class Binding
+        # @private
+        class Representation < Google::Apis::Core::JsonRepresentation
+          collection :members, as: 'members'
+          property :role, as: 'role'
+        end
+      end
+      
       class PartialResultSet
         # @private
         class Representation < Google::Apis::Core::JsonRepresentation
-          property :resume_token, :base64 => true, as: 'resumeToken'
-          property :stats, as: 'stats', class: Google::Apis::SpannerV1::ResultSetStats, decorator: Google::Apis::SpannerV1::ResultSetStats::Representation
-      
           property :chunked_value, as: 'chunkedValue'
           property :metadata, as: 'metadata', class: Google::Apis::SpannerV1::ResultSetMetadata, decorator: Google::Apis::SpannerV1::ResultSetMetadata::Representation
       
           collection :values, as: 'values'
+          property :resume_token, :base64 => true, as: 'resumeToken'
+          property :stats, as: 'stats', class: Google::Apis::SpannerV1::ResultSetStats, decorator: Google::Apis::SpannerV1::ResultSetStats::Representation
+      
         end
       end
       
       class UpdateInstanceMetadata
         # @private
         class Representation < Google::Apis::Core::JsonRepresentation
+          property :cancel_time, as: 'cancelTime'
+          property :end_time, as: 'endTime'
           property :instance, as: 'instance', class: Google::Apis::SpannerV1::Instance, decorator: Google::Apis::SpannerV1::Instance::Representation
       
           property :start_time, as: 'startTime'
-          property :cancel_time, as: 'cancelTime'
-          property :end_time, as: 'endTime'
         end
       end
       
@@ -732,253 +979,6 @@ module Google
       
         end
       end
-      
-      class ResultSetMetadata
-        # @private
-        class Representation < Google::Apis::Core::JsonRepresentation
-          property :transaction, as: 'transaction', class: Google::Apis::SpannerV1::Transaction, decorator: Google::Apis::SpannerV1::Transaction::Representation
-      
-          property :row_type, as: 'rowType', class: Google::Apis::SpannerV1::StructType, decorator: Google::Apis::SpannerV1::StructType::Representation
-      
-        end
-      end
-      
-      class TransactionSelector
-        # @private
-        class Representation < Google::Apis::Core::JsonRepresentation
-          property :id, :base64 => true, as: 'id'
-          property :single_use, as: 'singleUse', class: Google::Apis::SpannerV1::TransactionOptions, decorator: Google::Apis::SpannerV1::TransactionOptions::Representation
-      
-          property :begin, as: 'begin', class: Google::Apis::SpannerV1::TransactionOptions, decorator: Google::Apis::SpannerV1::TransactionOptions::Representation
-      
-        end
-      end
-      
-      class Mutation
-        # @private
-        class Representation < Google::Apis::Core::JsonRepresentation
-          property :delete, as: 'delete', class: Google::Apis::SpannerV1::Delete, decorator: Google::Apis::SpannerV1::Delete::Representation
-      
-          property :insert, as: 'insert', class: Google::Apis::SpannerV1::Write, decorator: Google::Apis::SpannerV1::Write::Representation
-      
-          property :insert_or_update, as: 'insertOrUpdate', class: Google::Apis::SpannerV1::Write, decorator: Google::Apis::SpannerV1::Write::Representation
-      
-          property :update, as: 'update', class: Google::Apis::SpannerV1::Write, decorator: Google::Apis::SpannerV1::Write::Representation
-      
-          property :replace, as: 'replace', class: Google::Apis::SpannerV1::Write, decorator: Google::Apis::SpannerV1::Write::Representation
-      
-        end
-      end
-      
-      class KeySet
-        # @private
-        class Representation < Google::Apis::Core::JsonRepresentation
-          collection :ranges, as: 'ranges', class: Google::Apis::SpannerV1::KeyRange, decorator: Google::Apis::SpannerV1::KeyRange::Representation
-      
-          collection :keys, as: 'keys', :class => Array do
-        include Representable::JSON::Collection
-        items
-      end
-      
-          property :all, as: 'all'
-        end
-      end
-      
-      class GetDatabaseDdlResponse
-        # @private
-        class Representation < Google::Apis::Core::JsonRepresentation
-          collection :statements, as: 'statements'
-        end
-      end
-      
-      class Database
-        # @private
-        class Representation < Google::Apis::Core::JsonRepresentation
-          property :state, as: 'state'
-          property :name, as: 'name'
-        end
-      end
-      
-      class ListDatabasesResponse
-        # @private
-        class Representation < Google::Apis::Core::JsonRepresentation
-          property :next_page_token, as: 'nextPageToken'
-          collection :databases, as: 'databases', class: Google::Apis::SpannerV1::Database, decorator: Google::Apis::SpannerV1::Database::Representation
-      
-        end
-      end
-      
-      class SetIamPolicyRequest
-        # @private
-        class Representation < Google::Apis::Core::JsonRepresentation
-          property :policy, as: 'policy', class: Google::Apis::SpannerV1::Policy, decorator: Google::Apis::SpannerV1::Policy::Representation
-      
-          property :update_mask, as: 'updateMask'
-        end
-      end
-      
-      class Instance
-        # @private
-        class Representation < Google::Apis::Core::JsonRepresentation
-          property :node_count, as: 'nodeCount'
-          hash :labels, as: 'labels'
-          property :config, as: 'config'
-          property :state, as: 'state'
-          property :name, as: 'name'
-          property :display_name, as: 'displayName'
-        end
-      end
-      
-      class RollbackRequest
-        # @private
-        class Representation < Google::Apis::Core::JsonRepresentation
-          property :transaction_id, :base64 => true, as: 'transactionId'
-        end
-      end
-      
-      class Transaction
-        # @private
-        class Representation < Google::Apis::Core::JsonRepresentation
-          property :read_timestamp, as: 'readTimestamp'
-          property :id, :base64 => true, as: 'id'
-        end
-      end
-      
-      class UpdateDatabaseDdlMetadata
-        # @private
-        class Representation < Google::Apis::Core::JsonRepresentation
-          property :database, as: 'database'
-          collection :statements, as: 'statements'
-          collection :commit_timestamps, as: 'commitTimestamps'
-        end
-      end
-      
-      class CounterOptions
-        # @private
-        class Representation < Google::Apis::Core::JsonRepresentation
-          property :metric, as: 'metric'
-          property :field, as: 'field'
-        end
-      end
-      
-      class QueryPlan
-        # @private
-        class Representation < Google::Apis::Core::JsonRepresentation
-          collection :plan_nodes, as: 'planNodes', class: Google::Apis::SpannerV1::PlanNode, decorator: Google::Apis::SpannerV1::PlanNode::Representation
-      
-        end
-      end
-      
-      class StructType
-        # @private
-        class Representation < Google::Apis::Core::JsonRepresentation
-          collection :fields, as: 'fields', class: Google::Apis::SpannerV1::Field, decorator: Google::Apis::SpannerV1::Field::Representation
-      
-        end
-      end
-      
-      class Field
-        # @private
-        class Representation < Google::Apis::Core::JsonRepresentation
-          property :name, as: 'name'
-          property :type, as: 'type', class: Google::Apis::SpannerV1::Type, decorator: Google::Apis::SpannerV1::Type::Representation
-      
-        end
-      end
-      
-      class TestIamPermissionsRequest
-        # @private
-        class Representation < Google::Apis::Core::JsonRepresentation
-          collection :permissions, as: 'permissions'
-        end
-      end
-      
-      class ResultSetStats
-        # @private
-        class Representation < Google::Apis::Core::JsonRepresentation
-          property :query_plan, as: 'queryPlan', class: Google::Apis::SpannerV1::QueryPlan, decorator: Google::Apis::SpannerV1::QueryPlan::Representation
-      
-          hash :query_stats, as: 'queryStats'
-        end
-      end
-      
-      class CommitResponse
-        # @private
-        class Representation < Google::Apis::Core::JsonRepresentation
-          property :commit_timestamp, as: 'commitTimestamp'
-        end
-      end
-      
-      class Type
-        # @private
-        class Representation < Google::Apis::Core::JsonRepresentation
-          property :struct_type, as: 'structType', class: Google::Apis::SpannerV1::StructType, decorator: Google::Apis::SpannerV1::StructType::Representation
-      
-          property :array_element_type, as: 'arrayElementType', class: Google::Apis::SpannerV1::Type, decorator: Google::Apis::SpannerV1::Type::Representation
-      
-          property :code, as: 'code'
-        end
-      end
-      
-      class PlanNode
-        # @private
-        class Representation < Google::Apis::Core::JsonRepresentation
-          hash :metadata, as: 'metadata'
-          hash :execution_stats, as: 'executionStats'
-          property :short_representation, as: 'shortRepresentation', class: Google::Apis::SpannerV1::ShortRepresentation, decorator: Google::Apis::SpannerV1::ShortRepresentation::Representation
-      
-          property :index, as: 'index'
-          property :display_name, as: 'displayName'
-          property :kind, as: 'kind'
-          collection :child_links, as: 'childLinks', class: Google::Apis::SpannerV1::ChildLink, decorator: Google::Apis::SpannerV1::ChildLink::Representation
-      
-        end
-      end
-      
-      class AuditConfig
-        # @private
-        class Representation < Google::Apis::Core::JsonRepresentation
-          collection :exempted_members, as: 'exemptedMembers'
-          property :service, as: 'service'
-          collection :audit_log_configs, as: 'auditLogConfigs', class: Google::Apis::SpannerV1::AuditLogConfig, decorator: Google::Apis::SpannerV1::AuditLogConfig::Representation
-      
-        end
-      end
-      
-      class CreateInstanceMetadata
-        # @private
-        class Representation < Google::Apis::Core::JsonRepresentation
-          property :cancel_time, as: 'cancelTime'
-          property :end_time, as: 'endTime'
-          property :instance, as: 'instance', class: Google::Apis::SpannerV1::Instance, decorator: Google::Apis::SpannerV1::Instance::Representation
-      
-          property :start_time, as: 'startTime'
-        end
-      end
-      
-      class ChildLink
-        # @private
-        class Representation < Google::Apis::Core::JsonRepresentation
-          property :child_index, as: 'childIndex'
-          property :variable, as: 'variable'
-          property :type, as: 'type'
-        end
-      end
-      
-      class CloudAuditOptions
-        # @private
-        class Representation < Google::Apis::Core::JsonRepresentation
-        end
-      end
-      
-      class Delete
-        # @private
-        class Representation < Google::Apis::Core::JsonRepresentation
-          property :table, as: 'table'
-          property :key_set, as: 'keySet', class: Google::Apis::SpannerV1::KeySet, decorator: Google::Apis::SpannerV1::KeySet::Representation
-      
-        end
-      end
     end
   end
 end
diff --git a/generated/google/apis/spanner_v1/service.rb b/generated/google/apis/spanner_v1/service.rb
index 6bcabccdd..ff4aa9f36 100644
--- a/generated/google/apis/spanner_v1/service.rb
+++ b/generated/google/apis/spanner_v1/service.rb
@@ -45,6 +45,184 @@ module Google
 
         def initialize
           super('https://spanner.googleapis.com/', '')
+          @batch_path = 'batch'
+        end
+        
+        # Gets the access control policy for an instance resource. Returns an empty
+        # policy if an instance exists but does not have a policy set.
+        # Authorization requires `spanner.instances.getIamPolicy` on
+        # resource.
+        # @param [String] resource
+        #   REQUIRED: The Cloud Spanner resource for which the policy is being retrieved.
+        #   The format is `projects//instances/` for instance
+        #   resources and `projects//instances//databases/<
+        #   database ID>` for database resources.
+        # @param [Google::Apis::SpannerV1::GetIamPolicyRequest] get_iam_policy_request_object
+        # @param [String] fields
+        #   Selector specifying which fields to include in a partial response.
+        # @param [String] quota_user
+        #   Available to use for quota purposes for server-side applications. Can be any
+        #   arbitrary string assigned to a user, but should not exceed 40 characters.
+        # @param [Google::Apis::RequestOptions] options
+        #   Request-specific options
+        #
+        # @yield [result, err] Result & error if block supplied
+        # @yieldparam result [Google::Apis::SpannerV1::Policy] parsed result object
+        # @yieldparam err [StandardError] error object if request failed
+        #
+        # @return [Google::Apis::SpannerV1::Policy]
+        #
+        # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
+        # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
+        # @raise [Google::Apis::AuthorizationError] Authorization is required
+        def get_instance_iam_policy(resource, get_iam_policy_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
+          command =  make_simple_command(:post, 'v1/{+resource}:getIamPolicy', options)
+          command.request_representation = Google::Apis::SpannerV1::GetIamPolicyRequest::Representation
+          command.request_object = get_iam_policy_request_object
+          command.response_representation = Google::Apis::SpannerV1::Policy::Representation
+          command.response_class = Google::Apis::SpannerV1::Policy
+          command.params['resource'] = resource unless resource.nil?
+          command.query['fields'] = fields unless fields.nil?
+          command.query['quotaUser'] = quota_user unless quota_user.nil?
+          execute_or_queue_command(command, &block)
+        end
+        
+        # Gets information about a particular instance.
+        # @param [String] name
+        #   Required. The name of the requested instance. Values are of the form
+        #   `projects//instances/`.
+        # @param [String] fields
+        #   Selector specifying which fields to include in a partial response.
+        # @param [String] quota_user
+        #   Available to use for quota purposes for server-side applications. Can be any
+        #   arbitrary string assigned to a user, but should not exceed 40 characters.
+        # @param [Google::Apis::RequestOptions] options
+        #   Request-specific options
+        #
+        # @yield [result, err] Result & error if block supplied
+        # @yieldparam result [Google::Apis::SpannerV1::Instance] parsed result object
+        # @yieldparam err [StandardError] error object if request failed
+        #
+        # @return [Google::Apis::SpannerV1::Instance]
+        #
+        # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
+        # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
+        # @raise [Google::Apis::AuthorizationError] Authorization is required
+        def get_project_instance(name, fields: nil, quota_user: nil, options: nil, &block)
+          command =  make_simple_command(:get, 'v1/{+name}', options)
+          command.response_representation = Google::Apis::SpannerV1::Instance::Representation
+          command.response_class = Google::Apis::SpannerV1::Instance
+          command.params['name'] = name unless name.nil?
+          command.query['fields'] = fields unless fields.nil?
+          command.query['quotaUser'] = quota_user unless quota_user.nil?
+          execute_or_queue_command(command, &block)
+        end
+        
+        # Updates an instance, and begins allocating or releasing resources
+        # as requested. The returned long-running
+        # operation can be used to track the
+        # progress of updating the instance. If the named instance does not
+        # exist, returns `NOT_FOUND`.
+        # Immediately upon completion of this request:
+        # * For resource types for which a decrease in the instance's allocation
+        # has been requested, billing is based on the newly-requested level.
+        # Until completion of the returned operation:
+        # * Cancelling the operation sets its metadata's
+        # cancel_time, and begins
+        # restoring resources to their pre-request values. The operation
+        # is guaranteed to succeed at undoing all resource changes,
+        # after which point it terminates with a `CANCELLED` status.
+        # * All other attempts to modify the instance are rejected.
+        # * Reading the instance via the API continues to give the pre-request
+        # resource levels.
+        # Upon completion of the returned operation:
+        # * Billing begins for all successfully-allocated resources (some types
+        # may have lower than the requested levels).
+        # * All newly-reserved resources are available for serving the instance's
+        # tables.
+        # * The instance's new resource levels are readable via the API.
+        # The returned long-running operation will
+        # have a name of the format `/operations/` and
+        # can be used to track the instance modification.  The
+        # metadata field type is
+        # UpdateInstanceMetadata.
+        # The response field type is
+        # Instance, if successful.
+        # Authorization requires `spanner.instances.update` permission on
+        # resource name.
+        # @param [String] name
+        #   Required. A unique identifier for the instance, which cannot be changed
+        #   after the instance is created. Values are of the form
+        #   `projects//instances/a-z*[a-z0-9]`. The final
+        #   segment of the name must be between 6 and 30 characters in length.
+        # @param [Google::Apis::SpannerV1::UpdateInstanceRequest] update_instance_request_object
+        # @param [String] fields
+        #   Selector specifying which fields to include in a partial response.
+        # @param [String] quota_user
+        #   Available to use for quota purposes for server-side applications. Can be any
+        #   arbitrary string assigned to a user, but should not exceed 40 characters.
+        # @param [Google::Apis::RequestOptions] options
+        #   Request-specific options
+        #
+        # @yield [result, err] Result & error if block supplied
+        # @yieldparam result [Google::Apis::SpannerV1::Operation] parsed result object
+        # @yieldparam err [StandardError] error object if request failed
+        #
+        # @return [Google::Apis::SpannerV1::Operation]
+        #
+        # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
+        # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
+        # @raise [Google::Apis::AuthorizationError] Authorization is required
+        def patch_project_instance(name, update_instance_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
+          command =  make_simple_command(:patch, 'v1/{+name}', options)
+          command.request_representation = Google::Apis::SpannerV1::UpdateInstanceRequest::Representation
+          command.request_object = update_instance_request_object
+          command.response_representation = Google::Apis::SpannerV1::Operation::Representation
+          command.response_class = Google::Apis::SpannerV1::Operation
+          command.params['name'] = name unless name.nil?
+          command.query['fields'] = fields unless fields.nil?
+          command.query['quotaUser'] = quota_user unless quota_user.nil?
+          execute_or_queue_command(command, &block)
+        end
+        
+        # Returns permissions that the caller has on the specified instance resource.
+        # Attempting this RPC on a non-existent Cloud Spanner instance resource will
+        # result in a NOT_FOUND error if the user has `spanner.instances.list`
+        # permission on the containing Google Cloud Project. Otherwise returns an
+        # empty set of permissions.
+        # @param [String] resource
+        #   REQUIRED: The Cloud Spanner resource for which permissions are being tested.
+        #   The format is `projects//instances/` for instance
+        #   resources and `projects//instances//databases/<
+        #   database ID>` for database resources.
+        # @param [Google::Apis::SpannerV1::TestIamPermissionsRequest] test_iam_permissions_request_object
+        # @param [String] fields
+        #   Selector specifying which fields to include in a partial response.
+        # @param [String] quota_user
+        #   Available to use for quota purposes for server-side applications. Can be any
+        #   arbitrary string assigned to a user, but should not exceed 40 characters.
+        # @param [Google::Apis::RequestOptions] options
+        #   Request-specific options
+        #
+        # @yield [result, err] Result & error if block supplied
+        # @yieldparam result [Google::Apis::SpannerV1::TestIamPermissionsResponse] parsed result object
+        # @yieldparam err [StandardError] error object if request failed
+        #
+        # @return [Google::Apis::SpannerV1::TestIamPermissionsResponse]
+        #
+        # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
+        # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
+        # @raise [Google::Apis::AuthorizationError] Authorization is required
+        def test_instance_iam_permissions(resource, test_iam_permissions_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
+          command =  make_simple_command(:post, 'v1/{+resource}:testIamPermissions', options)
+          command.request_representation = Google::Apis::SpannerV1::TestIamPermissionsRequest::Representation
+          command.request_object = test_iam_permissions_request_object
+          command.response_representation = Google::Apis::SpannerV1::TestIamPermissionsResponse::Representation
+          command.response_class = Google::Apis::SpannerV1::TestIamPermissionsResponse
+          command.params['resource'] = resource unless resource.nil?
+          command.query['fields'] = fields unless fields.nil?
+          command.query['quotaUser'] = quota_user unless quota_user.nil?
+          execute_or_queue_command(command, &block)
         end
         
         # Deletes an instance.
@@ -241,335 +419,6 @@ module Google
           execute_or_queue_command(command, &block)
         end
         
-        # Gets the access control policy for an instance resource. Returns an empty
-        # policy if an instance exists but does not have a policy set.
-        # Authorization requires `spanner.instances.getIamPolicy` on
-        # resource.
-        # @param [String] resource
-        #   REQUIRED: The Cloud Spanner resource for which the policy is being retrieved.
-        #   The format is `projects//instances/` for instance
-        #   resources and `projects//instances//databases/<
-        #   database ID>` for database resources.
-        # @param [Google::Apis::SpannerV1::GetIamPolicyRequest] get_iam_policy_request_object
-        # @param [String] fields
-        #   Selector specifying which fields to include in a partial response.
-        # @param [String] quota_user
-        #   Available to use for quota purposes for server-side applications. Can be any
-        #   arbitrary string assigned to a user, but should not exceed 40 characters.
-        # @param [Google::Apis::RequestOptions] options
-        #   Request-specific options
-        #
-        # @yield [result, err] Result & error if block supplied
-        # @yieldparam result [Google::Apis::SpannerV1::Policy] parsed result object
-        # @yieldparam err [StandardError] error object if request failed
-        #
-        # @return [Google::Apis::SpannerV1::Policy]
-        #
-        # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
-        # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
-        # @raise [Google::Apis::AuthorizationError] Authorization is required
-        def get_instance_iam_policy(resource, get_iam_policy_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
-          command =  make_simple_command(:post, 'v1/{+resource}:getIamPolicy', options)
-          command.request_representation = Google::Apis::SpannerV1::GetIamPolicyRequest::Representation
-          command.request_object = get_iam_policy_request_object
-          command.response_representation = Google::Apis::SpannerV1::Policy::Representation
-          command.response_class = Google::Apis::SpannerV1::Policy
-          command.params['resource'] = resource unless resource.nil?
-          command.query['fields'] = fields unless fields.nil?
-          command.query['quotaUser'] = quota_user unless quota_user.nil?
-          execute_or_queue_command(command, &block)
-        end
-        
-        # Gets information about a particular instance.
-        # @param [String] name
-        #   Required. The name of the requested instance. Values are of the form
-        #   `projects//instances/`.
-        # @param [String] fields
-        #   Selector specifying which fields to include in a partial response.
-        # @param [String] quota_user
-        #   Available to use for quota purposes for server-side applications. Can be any
-        #   arbitrary string assigned to a user, but should not exceed 40 characters.
-        # @param [Google::Apis::RequestOptions] options
-        #   Request-specific options
-        #
-        # @yield [result, err] Result & error if block supplied
-        # @yieldparam result [Google::Apis::SpannerV1::Instance] parsed result object
-        # @yieldparam err [StandardError] error object if request failed
-        #
-        # @return [Google::Apis::SpannerV1::Instance]
-        #
-        # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
-        # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
-        # @raise [Google::Apis::AuthorizationError] Authorization is required
-        def get_project_instance(name, fields: nil, quota_user: nil, options: nil, &block)
-          command =  make_simple_command(:get, 'v1/{+name}', options)
-          command.response_representation = Google::Apis::SpannerV1::Instance::Representation
-          command.response_class = Google::Apis::SpannerV1::Instance
-          command.params['name'] = name unless name.nil?
-          command.query['fields'] = fields unless fields.nil?
-          command.query['quotaUser'] = quota_user unless quota_user.nil?
-          execute_or_queue_command(command, &block)
-        end
-        
-        # Updates an instance, and begins allocating or releasing resources
-        # as requested. The returned long-running
-        # operation can be used to track the
-        # progress of updating the instance. If the named instance does not
-        # exist, returns `NOT_FOUND`.
-        # Immediately upon completion of this request:
-        # * For resource types for which a decrease in the instance's allocation
-        # has been requested, billing is based on the newly-requested level.
-        # Until completion of the returned operation:
-        # * Cancelling the operation sets its metadata's
-        # cancel_time, and begins
-        # restoring resources to their pre-request values. The operation
-        # is guaranteed to succeed at undoing all resource changes,
-        # after which point it terminates with a `CANCELLED` status.
-        # * All other attempts to modify the instance are rejected.
-        # * Reading the instance via the API continues to give the pre-request
-        # resource levels.
-        # Upon completion of the returned operation:
-        # * Billing begins for all successfully-allocated resources (some types
-        # may have lower than the requested levels).
-        # * All newly-reserved resources are available for serving the instance's
-        # tables.
-        # * The instance's new resource levels are readable via the API.
-        # The returned long-running operation will
-        # have a name of the format `/operations/` and
-        # can be used to track the instance modification.  The
-        # metadata field type is
-        # UpdateInstanceMetadata.
-        # The response field type is
-        # Instance, if successful.
-        # Authorization requires `spanner.instances.update` permission on
-        # resource name.
-        # @param [String] name
-        #   Required. A unique identifier for the instance, which cannot be changed
-        #   after the instance is created. Values are of the form
-        #   `projects//instances/a-z*[a-z0-9]`. The final
-        #   segment of the name must be between 6 and 30 characters in length.
-        # @param [Google::Apis::SpannerV1::UpdateInstanceRequest] update_instance_request_object
-        # @param [String] fields
-        #   Selector specifying which fields to include in a partial response.
-        # @param [String] quota_user
-        #   Available to use for quota purposes for server-side applications. Can be any
-        #   arbitrary string assigned to a user, but should not exceed 40 characters.
-        # @param [Google::Apis::RequestOptions] options
-        #   Request-specific options
-        #
-        # @yield [result, err] Result & error if block supplied
-        # @yieldparam result [Google::Apis::SpannerV1::Operation] parsed result object
-        # @yieldparam err [StandardError] error object if request failed
-        #
-        # @return [Google::Apis::SpannerV1::Operation]
-        #
-        # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
-        # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
-        # @raise [Google::Apis::AuthorizationError] Authorization is required
-        def patch_project_instance(name, update_instance_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
-          command =  make_simple_command(:patch, 'v1/{+name}', options)
-          command.request_representation = Google::Apis::SpannerV1::UpdateInstanceRequest::Representation
-          command.request_object = update_instance_request_object
-          command.response_representation = Google::Apis::SpannerV1::Operation::Representation
-          command.response_class = Google::Apis::SpannerV1::Operation
-          command.params['name'] = name unless name.nil?
-          command.query['fields'] = fields unless fields.nil?
-          command.query['quotaUser'] = quota_user unless quota_user.nil?
-          execute_or_queue_command(command, &block)
-        end
-        
-        # Returns permissions that the caller has on the specified instance resource.
-        # Attempting this RPC on a non-existent Cloud Spanner instance resource will
-        # result in a NOT_FOUND error if the user has `spanner.instances.list`
-        # permission on the containing Google Cloud Project. Otherwise returns an
-        # empty set of permissions.
-        # @param [String] resource
-        #   REQUIRED: The Cloud Spanner resource for which permissions are being tested.
-        #   The format is `projects//instances/` for instance
-        #   resources and `projects//instances//databases/<
-        #   database ID>` for database resources.
-        # @param [Google::Apis::SpannerV1::TestIamPermissionsRequest] test_iam_permissions_request_object
-        # @param [String] fields
-        #   Selector specifying which fields to include in a partial response.
-        # @param [String] quota_user
-        #   Available to use for quota purposes for server-side applications. Can be any
-        #   arbitrary string assigned to a user, but should not exceed 40 characters.
-        # @param [Google::Apis::RequestOptions] options
-        #   Request-specific options
-        #
-        # @yield [result, err] Result & error if block supplied
-        # @yieldparam result [Google::Apis::SpannerV1::TestIamPermissionsResponse] parsed result object
-        # @yieldparam err [StandardError] error object if request failed
-        #
-        # @return [Google::Apis::SpannerV1::TestIamPermissionsResponse]
-        #
-        # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
-        # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
-        # @raise [Google::Apis::AuthorizationError] Authorization is required
-        def test_instance_iam_permissions(resource, test_iam_permissions_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
-          command =  make_simple_command(:post, 'v1/{+resource}:testIamPermissions', options)
-          command.request_representation = Google::Apis::SpannerV1::TestIamPermissionsRequest::Representation
-          command.request_object = test_iam_permissions_request_object
-          command.response_representation = Google::Apis::SpannerV1::TestIamPermissionsResponse::Representation
-          command.response_class = Google::Apis::SpannerV1::TestIamPermissionsResponse
-          command.params['resource'] = resource unless resource.nil?
-          command.query['fields'] = fields unless fields.nil?
-          command.query['quotaUser'] = quota_user unless quota_user.nil?
-          execute_or_queue_command(command, &block)
-        end
-        
-        # Returns the schema of a Cloud Spanner database as a list of formatted
-        # DDL statements. This method does not show pending schema updates, those may
-        # be queried using the Operations API.
-        # @param [String] database
-        #   Required. The database whose schema we wish to get.
-        # @param [String] fields
-        #   Selector specifying which fields to include in a partial response.
-        # @param [String] quota_user
-        #   Available to use for quota purposes for server-side applications. Can be any
-        #   arbitrary string assigned to a user, but should not exceed 40 characters.
-        # @param [Google::Apis::RequestOptions] options
-        #   Request-specific options
-        #
-        # @yield [result, err] Result & error if block supplied
-        # @yieldparam result [Google::Apis::SpannerV1::GetDatabaseDdlResponse] parsed result object
-        # @yieldparam err [StandardError] error object if request failed
-        #
-        # @return [Google::Apis::SpannerV1::GetDatabaseDdlResponse]
-        #
-        # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
-        # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
-        # @raise [Google::Apis::AuthorizationError] Authorization is required
-        def get_project_instance_database_ddl(database, fields: nil, quota_user: nil, options: nil, &block)
-          command =  make_simple_command(:get, 'v1/{+database}/ddl', options)
-          command.response_representation = Google::Apis::SpannerV1::GetDatabaseDdlResponse::Representation
-          command.response_class = Google::Apis::SpannerV1::GetDatabaseDdlResponse
-          command.params['database'] = database unless database.nil?
-          command.query['fields'] = fields unless fields.nil?
-          command.query['quotaUser'] = quota_user unless quota_user.nil?
-          execute_or_queue_command(command, &block)
-        end
-        
-        # Lists Cloud Spanner databases.
-        # @param [String] parent
-        #   Required. The instance whose databases should be listed.
-        #   Values are of the form `projects//instances/`.
-        # @param [String] page_token
-        #   If non-empty, `page_token` should contain a
-        #   next_page_token from a
-        #   previous ListDatabasesResponse.
-        # @param [Fixnum] page_size
-        #   Number of databases to be returned in the response. If 0 or less,
-        #   defaults to the server's maximum allowed page size.
-        # @param [String] fields
-        #   Selector specifying which fields to include in a partial response.
-        # @param [String] quota_user
-        #   Available to use for quota purposes for server-side applications. Can be any
-        #   arbitrary string assigned to a user, but should not exceed 40 characters.
-        # @param [Google::Apis::RequestOptions] options
-        #   Request-specific options
-        #
-        # @yield [result, err] Result & error if block supplied
-        # @yieldparam result [Google::Apis::SpannerV1::ListDatabasesResponse] parsed result object
-        # @yieldparam err [StandardError] error object if request failed
-        #
-        # @return [Google::Apis::SpannerV1::ListDatabasesResponse]
-        #
-        # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
-        # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
-        # @raise [Google::Apis::AuthorizationError] Authorization is required
-        def list_project_instance_databases(parent, page_token: nil, page_size: nil, fields: nil, quota_user: nil, options: nil, &block)
-          command =  make_simple_command(:get, 'v1/{+parent}/databases', options)
-          command.response_representation = Google::Apis::SpannerV1::ListDatabasesResponse::Representation
-          command.response_class = Google::Apis::SpannerV1::ListDatabasesResponse
-          command.params['parent'] = parent unless parent.nil?
-          command.query['pageToken'] = page_token unless page_token.nil?
-          command.query['pageSize'] = page_size unless page_size.nil?
-          command.query['fields'] = fields unless fields.nil?
-          command.query['quotaUser'] = quota_user unless quota_user.nil?
-          execute_or_queue_command(command, &block)
-        end
-        
-        # Sets the access control policy on a database resource. Replaces any
-        # existing policy.
-        # Authorization requires `spanner.databases.setIamPolicy` permission on
-        # resource.
-        # @param [String] resource
-        #   REQUIRED: The Cloud Spanner resource for which the policy is being set. The
-        #   format is `projects//instances/` for instance
-        #   resources and `projects//instances//databases/<
-        #   database ID>` for databases resources.
-        # @param [Google::Apis::SpannerV1::SetIamPolicyRequest] set_iam_policy_request_object
-        # @param [String] fields
-        #   Selector specifying which fields to include in a partial response.
-        # @param [String] quota_user
-        #   Available to use for quota purposes for server-side applications. Can be any
-        #   arbitrary string assigned to a user, but should not exceed 40 characters.
-        # @param [Google::Apis::RequestOptions] options
-        #   Request-specific options
-        #
-        # @yield [result, err] Result & error if block supplied
-        # @yieldparam result [Google::Apis::SpannerV1::Policy] parsed result object
-        # @yieldparam err [StandardError] error object if request failed
-        #
-        # @return [Google::Apis::SpannerV1::Policy]
-        #
-        # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
-        # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
-        # @raise [Google::Apis::AuthorizationError] Authorization is required
-        def set_database_iam_policy(resource, set_iam_policy_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
-          command =  make_simple_command(:post, 'v1/{+resource}:setIamPolicy', options)
-          command.request_representation = Google::Apis::SpannerV1::SetIamPolicyRequest::Representation
-          command.request_object = set_iam_policy_request_object
-          command.response_representation = Google::Apis::SpannerV1::Policy::Representation
-          command.response_class = Google::Apis::SpannerV1::Policy
-          command.params['resource'] = resource unless resource.nil?
-          command.query['fields'] = fields unless fields.nil?
-          command.query['quotaUser'] = quota_user unless quota_user.nil?
-          execute_or_queue_command(command, &block)
-        end
-        
-        # Creates a new Cloud Spanner database and starts to prepare it for serving.
-        # The returned long-running operation will
-        # have a name of the format `/operations/` and
-        # can be used to track preparation of the database. The
-        # metadata field type is
-        # CreateDatabaseMetadata. The
-        # response field type is
-        # Database, if successful.
-        # @param [String] parent
-        #   Required. The name of the instance that will serve the new database.
-        #   Values are of the form `projects//instances/`.
-        # @param [Google::Apis::SpannerV1::CreateDatabaseRequest] create_database_request_object
-        # @param [String] fields
-        #   Selector specifying which fields to include in a partial response.
-        # @param [String] quota_user
-        #   Available to use for quota purposes for server-side applications. Can be any
-        #   arbitrary string assigned to a user, but should not exceed 40 characters.
-        # @param [Google::Apis::RequestOptions] options
-        #   Request-specific options
-        #
-        # @yield [result, err] Result & error if block supplied
-        # @yieldparam result [Google::Apis::SpannerV1::Operation] parsed result object
-        # @yieldparam err [StandardError] error object if request failed
-        #
-        # @return [Google::Apis::SpannerV1::Operation]
-        #
-        # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
-        # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
-        # @raise [Google::Apis::AuthorizationError] Authorization is required
-        def create_database(parent, create_database_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
-          command =  make_simple_command(:post, 'v1/{+parent}/databases', options)
-          command.request_representation = Google::Apis::SpannerV1::CreateDatabaseRequest::Representation
-          command.request_object = create_database_request_object
-          command.response_representation = Google::Apis::SpannerV1::Operation::Representation
-          command.response_class = Google::Apis::SpannerV1::Operation
-          command.params['parent'] = parent unless parent.nil?
-          command.query['fields'] = fields unless fields.nil?
-          command.query['quotaUser'] = quota_user unless quota_user.nil?
-          execute_or_queue_command(command, &block)
-        end
-        
         # Gets the access control policy for a database resource. Returns an empty
         # policy if a database exists but does not have a policy set.
         # Authorization requires `spanner.databases.getIamPolicy` permission on
@@ -749,6 +598,158 @@ module Google
           execute_or_queue_command(command, &block)
         end
         
+        # Returns the schema of a Cloud Spanner database as a list of formatted
+        # DDL statements. This method does not show pending schema updates, those may
+        # be queried using the Operations API.
+        # @param [String] database
+        #   Required. The database whose schema we wish to get.
+        # @param [String] fields
+        #   Selector specifying which fields to include in a partial response.
+        # @param [String] quota_user
+        #   Available to use for quota purposes for server-side applications. Can be any
+        #   arbitrary string assigned to a user, but should not exceed 40 characters.
+        # @param [Google::Apis::RequestOptions] options
+        #   Request-specific options
+        #
+        # @yield [result, err] Result & error if block supplied
+        # @yieldparam result [Google::Apis::SpannerV1::GetDatabaseDdlResponse] parsed result object
+        # @yieldparam err [StandardError] error object if request failed
+        #
+        # @return [Google::Apis::SpannerV1::GetDatabaseDdlResponse]
+        #
+        # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
+        # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
+        # @raise [Google::Apis::AuthorizationError] Authorization is required
+        def get_project_instance_database_ddl(database, fields: nil, quota_user: nil, options: nil, &block)
+          command =  make_simple_command(:get, 'v1/{+database}/ddl', options)
+          command.response_representation = Google::Apis::SpannerV1::GetDatabaseDdlResponse::Representation
+          command.response_class = Google::Apis::SpannerV1::GetDatabaseDdlResponse
+          command.params['database'] = database unless database.nil?
+          command.query['fields'] = fields unless fields.nil?
+          command.query['quotaUser'] = quota_user unless quota_user.nil?
+          execute_or_queue_command(command, &block)
+        end
+        
+        # Lists Cloud Spanner databases.
+        # @param [String] parent
+        #   Required. The instance whose databases should be listed.
+        #   Values are of the form `projects//instances/`.
+        # @param [String] page_token
+        #   If non-empty, `page_token` should contain a
+        #   next_page_token from a
+        #   previous ListDatabasesResponse.
+        # @param [Fixnum] page_size
+        #   Number of databases to be returned in the response. If 0 or less,
+        #   defaults to the server's maximum allowed page size.
+        # @param [String] fields
+        #   Selector specifying which fields to include in a partial response.
+        # @param [String] quota_user
+        #   Available to use for quota purposes for server-side applications. Can be any
+        #   arbitrary string assigned to a user, but should not exceed 40 characters.
+        # @param [Google::Apis::RequestOptions] options
+        #   Request-specific options
+        #
+        # @yield [result, err] Result & error if block supplied
+        # @yieldparam result [Google::Apis::SpannerV1::ListDatabasesResponse] parsed result object
+        # @yieldparam err [StandardError] error object if request failed
+        #
+        # @return [Google::Apis::SpannerV1::ListDatabasesResponse]
+        #
+        # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
+        # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
+        # @raise [Google::Apis::AuthorizationError] Authorization is required
+        def list_project_instance_databases(parent, page_token: nil, page_size: nil, fields: nil, quota_user: nil, options: nil, &block)
+          command =  make_simple_command(:get, 'v1/{+parent}/databases', options)
+          command.response_representation = Google::Apis::SpannerV1::ListDatabasesResponse::Representation
+          command.response_class = Google::Apis::SpannerV1::ListDatabasesResponse
+          command.params['parent'] = parent unless parent.nil?
+          command.query['pageToken'] = page_token unless page_token.nil?
+          command.query['pageSize'] = page_size unless page_size.nil?
+          command.query['fields'] = fields unless fields.nil?
+          command.query['quotaUser'] = quota_user unless quota_user.nil?
+          execute_or_queue_command(command, &block)
+        end
+        
+        # Sets the access control policy on a database resource. Replaces any
+        # existing policy.
+        # Authorization requires `spanner.databases.setIamPolicy` permission on
+        # resource.
+        # @param [String] resource
+        #   REQUIRED: The Cloud Spanner resource for which the policy is being set. The
+        #   format is `projects//instances/` for instance
+        #   resources and `projects//instances//databases/<
+        #   database ID>` for databases resources.
+        # @param [Google::Apis::SpannerV1::SetIamPolicyRequest] set_iam_policy_request_object
+        # @param [String] fields
+        #   Selector specifying which fields to include in a partial response.
+        # @param [String] quota_user
+        #   Available to use for quota purposes for server-side applications. Can be any
+        #   arbitrary string assigned to a user, but should not exceed 40 characters.
+        # @param [Google::Apis::RequestOptions] options
+        #   Request-specific options
+        #
+        # @yield [result, err] Result & error if block supplied
+        # @yieldparam result [Google::Apis::SpannerV1::Policy] parsed result object
+        # @yieldparam err [StandardError] error object if request failed
+        #
+        # @return [Google::Apis::SpannerV1::Policy]
+        #
+        # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
+        # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
+        # @raise [Google::Apis::AuthorizationError] Authorization is required
+        def set_database_iam_policy(resource, set_iam_policy_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
+          command =  make_simple_command(:post, 'v1/{+resource}:setIamPolicy', options)
+          command.request_representation = Google::Apis::SpannerV1::SetIamPolicyRequest::Representation
+          command.request_object = set_iam_policy_request_object
+          command.response_representation = Google::Apis::SpannerV1::Policy::Representation
+          command.response_class = Google::Apis::SpannerV1::Policy
+          command.params['resource'] = resource unless resource.nil?
+          command.query['fields'] = fields unless fields.nil?
+          command.query['quotaUser'] = quota_user unless quota_user.nil?
+          execute_or_queue_command(command, &block)
+        end
+        
+        # Creates a new Cloud Spanner database and starts to prepare it for serving.
+        # The returned long-running operation will
+        # have a name of the format `/operations/` and
+        # can be used to track preparation of the database. The
+        # metadata field type is
+        # CreateDatabaseMetadata. The
+        # response field type is
+        # Database, if successful.
+        # @param [String] parent
+        #   Required. The name of the instance that will serve the new database.
+        #   Values are of the form `projects//instances/`.
+        # @param [Google::Apis::SpannerV1::CreateDatabaseRequest] create_database_request_object
+        # @param [String] fields
+        #   Selector specifying which fields to include in a partial response.
+        # @param [String] quota_user
+        #   Available to use for quota purposes for server-side applications. Can be any
+        #   arbitrary string assigned to a user, but should not exceed 40 characters.
+        # @param [Google::Apis::RequestOptions] options
+        #   Request-specific options
+        #
+        # @yield [result, err] Result & error if block supplied
+        # @yieldparam result [Google::Apis::SpannerV1::Operation] parsed result object
+        # @yieldparam err [StandardError] error object if request failed
+        #
+        # @return [Google::Apis::SpannerV1::Operation]
+        #
+        # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
+        # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
+        # @raise [Google::Apis::AuthorizationError] Authorization is required
+        def create_database(parent, create_database_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
+          command =  make_simple_command(:post, 'v1/{+parent}/databases', options)
+          command.request_representation = Google::Apis::SpannerV1::CreateDatabaseRequest::Representation
+          command.request_object = create_database_request_object
+          command.response_representation = Google::Apis::SpannerV1::Operation::Representation
+          command.response_class = Google::Apis::SpannerV1::Operation
+          command.params['parent'] = parent unless parent.nil?
+          command.query['fields'] = fields unless fields.nil?
+          command.query['quotaUser'] = quota_user unless quota_user.nil?
+          execute_or_queue_command(command, &block)
+        end
+        
         # Starts asynchronous cancellation on a long-running operation.  The server
         # makes a best effort to cancel the operation, but success is not
         # guaranteed.  If the server doesn't support this method, it returns
@@ -895,43 +896,6 @@ module Google
           execute_or_queue_command(command, &block)
         end
         
-        # Like Read, except returns the result set as a
-        # stream. Unlike Read, there is no limit on the
-        # size of the returned result set. However, no individual row in
-        # the result set can exceed 100 MiB, and no column value can exceed
-        # 10 MiB.
-        # @param [String] session
-        #   Required. The session in which the read should be performed.
-        # @param [Google::Apis::SpannerV1::ReadRequest] read_request_object
-        # @param [String] fields
-        #   Selector specifying which fields to include in a partial response.
-        # @param [String] quota_user
-        #   Available to use for quota purposes for server-side applications. Can be any
-        #   arbitrary string assigned to a user, but should not exceed 40 characters.
-        # @param [Google::Apis::RequestOptions] options
-        #   Request-specific options
-        #
-        # @yield [result, err] Result & error if block supplied
-        # @yieldparam result [Google::Apis::SpannerV1::PartialResultSet] parsed result object
-        # @yieldparam err [StandardError] error object if request failed
-        #
-        # @return [Google::Apis::SpannerV1::PartialResultSet]
-        #
-        # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
-        # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
-        # @raise [Google::Apis::AuthorizationError] Authorization is required
-        def streaming_project_instance_database_session_read(session, read_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
-          command =  make_simple_command(:post, 'v1/{+session}:streamingRead', options)
-          command.request_representation = Google::Apis::SpannerV1::ReadRequest::Representation
-          command.request_object = read_request_object
-          command.response_representation = Google::Apis::SpannerV1::PartialResultSet::Representation
-          command.response_class = Google::Apis::SpannerV1::PartialResultSet
-          command.params['session'] = session unless session.nil?
-          command.query['fields'] = fields unless fields.nil?
-          command.query['quotaUser'] = quota_user unless quota_user.nil?
-          execute_or_queue_command(command, &block)
-        end
-        
         # Rolls back a transaction, releasing any locks it holds. It is a good
         # idea to call this for any transaction that includes one or more
         # Read or ExecuteSql requests and
@@ -971,6 +935,43 @@ module Google
           execute_or_queue_command(command, &block)
         end
         
+        # Like Read, except returns the result set as a
+        # stream. Unlike Read, there is no limit on the
+        # size of the returned result set. However, no individual row in
+        # the result set can exceed 100 MiB, and no column value can exceed
+        # 10 MiB.
+        # @param [String] session
+        #   Required. The session in which the read should be performed.
+        # @param [Google::Apis::SpannerV1::ReadRequest] read_request_object
+        # @param [String] fields
+        #   Selector specifying which fields to include in a partial response.
+        # @param [String] quota_user
+        #   Available to use for quota purposes for server-side applications. Can be any
+        #   arbitrary string assigned to a user, but should not exceed 40 characters.
+        # @param [Google::Apis::RequestOptions] options
+        #   Request-specific options
+        #
+        # @yield [result, err] Result & error if block supplied
+        # @yieldparam result [Google::Apis::SpannerV1::PartialResultSet] parsed result object
+        # @yieldparam err [StandardError] error object if request failed
+        #
+        # @return [Google::Apis::SpannerV1::PartialResultSet]
+        #
+        # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
+        # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
+        # @raise [Google::Apis::AuthorizationError] Authorization is required
+        def streaming_project_instance_database_session_read(session, read_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
+          command =  make_simple_command(:post, 'v1/{+session}:streamingRead', options)
+          command.request_representation = Google::Apis::SpannerV1::ReadRequest::Representation
+          command.request_object = read_request_object
+          command.response_representation = Google::Apis::SpannerV1::PartialResultSet::Representation
+          command.response_class = Google::Apis::SpannerV1::PartialResultSet
+          command.params['session'] = session unless session.nil?
+          command.query['fields'] = fields unless fields.nil?
+          command.query['quotaUser'] = quota_user unless quota_user.nil?
+          execute_or_queue_command(command, &block)
+        end
+        
         # Creates a new session. A session can be used to perform
         # transactions that read and/or modify data in a Cloud Spanner database.
         # Sessions are meant to be reused for many consecutive
@@ -1091,36 +1092,6 @@ module Google
           execute_or_queue_command(command, &block)
         end
         
-        # Ends a session, releasing server resources associated with it.
-        # @param [String] name
-        #   Required. The name of the session to delete.
-        # @param [String] fields
-        #   Selector specifying which fields to include in a partial response.
-        # @param [String] quota_user
-        #   Available to use for quota purposes for server-side applications. Can be any
-        #   arbitrary string assigned to a user, but should not exceed 40 characters.
-        # @param [Google::Apis::RequestOptions] options
-        #   Request-specific options
-        #
-        # @yield [result, err] Result & error if block supplied
-        # @yieldparam result [Google::Apis::SpannerV1::Empty] parsed result object
-        # @yieldparam err [StandardError] error object if request failed
-        #
-        # @return [Google::Apis::SpannerV1::Empty]
-        #
-        # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
-        # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
-        # @raise [Google::Apis::AuthorizationError] Authorization is required
-        def delete_project_instance_database_session(name, fields: nil, quota_user: nil, options: nil, &block)
-          command =  make_simple_command(:delete, 'v1/{+name}', options)
-          command.response_representation = Google::Apis::SpannerV1::Empty::Representation
-          command.response_class = Google::Apis::SpannerV1::Empty
-          command.params['name'] = name unless name.nil?
-          command.query['fields'] = fields unless fields.nil?
-          command.query['quotaUser'] = quota_user unless quota_user.nil?
-          execute_or_queue_command(command, &block)
-        end
-        
         # Like ExecuteSql, except returns the result
         # set as a stream. Unlike ExecuteSql, there
         # is no limit on the size of the returned result set. However, no
@@ -1158,6 +1129,72 @@ module Google
           execute_or_queue_command(command, &block)
         end
         
+        # Ends a session, releasing server resources associated with it.
+        # @param [String] name
+        #   Required. The name of the session to delete.
+        # @param [String] fields
+        #   Selector specifying which fields to include in a partial response.
+        # @param [String] quota_user
+        #   Available to use for quota purposes for server-side applications. Can be any
+        #   arbitrary string assigned to a user, but should not exceed 40 characters.
+        # @param [Google::Apis::RequestOptions] options
+        #   Request-specific options
+        #
+        # @yield [result, err] Result & error if block supplied
+        # @yieldparam result [Google::Apis::SpannerV1::Empty] parsed result object
+        # @yieldparam err [StandardError] error object if request failed
+        #
+        # @return [Google::Apis::SpannerV1::Empty]
+        #
+        # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
+        # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
+        # @raise [Google::Apis::AuthorizationError] Authorization is required
+        def delete_project_instance_database_session(name, fields: nil, quota_user: nil, options: nil, &block)
+          command =  make_simple_command(:delete, 'v1/{+name}', options)
+          command.response_representation = Google::Apis::SpannerV1::Empty::Representation
+          command.response_class = Google::Apis::SpannerV1::Empty
+          command.params['name'] = name unless name.nil?
+          command.query['fields'] = fields unless fields.nil?
+          command.query['quotaUser'] = quota_user unless quota_user.nil?
+          execute_or_queue_command(command, &block)
+        end
+        
+        # Begins a new transaction. This step can often be skipped:
+        # Read, ExecuteSql and
+        # Commit can begin a new transaction as a
+        # side-effect.
+        # @param [String] session
+        #   Required. The session in which the transaction runs.
+        # @param [Google::Apis::SpannerV1::BeginTransactionRequest] begin_transaction_request_object
+        # @param [String] fields
+        #   Selector specifying which fields to include in a partial response.
+        # @param [String] quota_user
+        #   Available to use for quota purposes for server-side applications. Can be any
+        #   arbitrary string assigned to a user, but should not exceed 40 characters.
+        # @param [Google::Apis::RequestOptions] options
+        #   Request-specific options
+        #
+        # @yield [result, err] Result & error if block supplied
+        # @yieldparam result [Google::Apis::SpannerV1::Transaction] parsed result object
+        # @yieldparam err [StandardError] error object if request failed
+        #
+        # @return [Google::Apis::SpannerV1::Transaction]
+        #
+        # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
+        # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
+        # @raise [Google::Apis::AuthorizationError] Authorization is required
+        def begin_session_transaction(session, begin_transaction_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
+          command =  make_simple_command(:post, 'v1/{+session}:beginTransaction', options)
+          command.request_representation = Google::Apis::SpannerV1::BeginTransactionRequest::Representation
+          command.request_object = begin_transaction_request_object
+          command.response_representation = Google::Apis::SpannerV1::Transaction::Representation
+          command.response_class = Google::Apis::SpannerV1::Transaction
+          command.params['session'] = session unless session.nil?
+          command.query['fields'] = fields unless fields.nil?
+          command.query['quotaUser'] = quota_user unless quota_user.nil?
+          execute_or_queue_command(command, &block)
+        end
+        
         # Commits a transaction. The request includes the mutations to be
         # applied to rows in the database.
         # `Commit` might return an `ABORTED` error. This can occur at any time;
@@ -1197,42 +1234,6 @@ module Google
           execute_or_queue_command(command, &block)
         end
         
-        # Begins a new transaction. This step can often be skipped:
-        # Read, ExecuteSql and
-        # Commit can begin a new transaction as a
-        # side-effect.
-        # @param [String] session
-        #   Required. The session in which the transaction runs.
-        # @param [Google::Apis::SpannerV1::BeginTransactionRequest] begin_transaction_request_object
-        # @param [String] fields
-        #   Selector specifying which fields to include in a partial response.
-        # @param [String] quota_user
-        #   Available to use for quota purposes for server-side applications. Can be any
-        #   arbitrary string assigned to a user, but should not exceed 40 characters.
-        # @param [Google::Apis::RequestOptions] options
-        #   Request-specific options
-        #
-        # @yield [result, err] Result & error if block supplied
-        # @yieldparam result [Google::Apis::SpannerV1::Transaction] parsed result object
-        # @yieldparam err [StandardError] error object if request failed
-        #
-        # @return [Google::Apis::SpannerV1::Transaction]
-        #
-        # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
-        # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
-        # @raise [Google::Apis::AuthorizationError] Authorization is required
-        def begin_session_transaction(session, begin_transaction_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
-          command =  make_simple_command(:post, 'v1/{+session}:beginTransaction', options)
-          command.request_representation = Google::Apis::SpannerV1::BeginTransactionRequest::Representation
-          command.request_object = begin_transaction_request_object
-          command.response_representation = Google::Apis::SpannerV1::Transaction::Representation
-          command.response_class = Google::Apis::SpannerV1::Transaction
-          command.params['session'] = session unless session.nil?
-          command.query['fields'] = fields unless fields.nil?
-          command.query['quotaUser'] = quota_user unless quota_user.nil?
-          execute_or_queue_command(command, &block)
-        end
-        
         # Executes an SQL query, returning all rows in a single reply. This
         # method cannot be used to return a result set larger than 10 MiB;
         # if the query yields more data than that, the query fails with
@@ -1352,12 +1353,12 @@ module Google
         # to use different resource name schemes, such as `users/*/operations`.
         # @param [String] name
         #   The name of the operation collection.
+        # @param [String] filter
+        #   The standard list filter.
         # @param [String] page_token
         #   The standard list page token.
         # @param [Fixnum] page_size
         #   The standard list page size.
-        # @param [String] filter
-        #   The standard list filter.
         # @param [String] fields
         #   Selector specifying which fields to include in a partial response.
         # @param [String] quota_user
@@ -1375,14 +1376,14 @@ module Google
         # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
         # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
         # @raise [Google::Apis::AuthorizationError] Authorization is required
-        def list_project_instance_operations(name, page_token: nil, page_size: nil, filter: nil, fields: nil, quota_user: nil, options: nil, &block)
+        def list_project_instance_operations(name, filter: nil, page_token: nil, page_size: nil, fields: nil, quota_user: nil, options: nil, &block)
           command =  make_simple_command(:get, 'v1/{+name}', options)
           command.response_representation = Google::Apis::SpannerV1::ListOperationsResponse::Representation
           command.response_class = Google::Apis::SpannerV1::ListOperationsResponse
           command.params['name'] = name unless name.nil?
+          command.query['filter'] = filter unless filter.nil?
           command.query['pageToken'] = page_token unless page_token.nil?
           command.query['pageSize'] = page_size unless page_size.nil?
-          command.query['filter'] = filter unless filter.nil?
           command.query['fields'] = fields unless fields.nil?
           command.query['quotaUser'] = quota_user unless quota_user.nil?
           execute_or_queue_command(command, &block)
diff --git a/generated/google/apis/speech_v1beta1/classes.rb b/generated/google/apis/speech_v1beta1/classes.rb
index 0694cbf5b..af2b128b8 100644
--- a/generated/google/apis/speech_v1beta1/classes.rb
+++ b/generated/google/apis/speech_v1beta1/classes.rb
@@ -22,6 +22,171 @@ module Google
   module Apis
     module SpeechV1beta1
       
+      # This resource represents a long-running operation that is the result of a
+      # network API call.
+      class Operation
+        include Google::Apis::Core::Hashable
+      
+        # The normal response of the operation in case of success.  If the original
+        # method returns no data on success, such as `Delete`, the response is
+        # `google.protobuf.Empty`.  If the original method is standard
+        # `Get`/`Create`/`Update`, the response should be the resource.  For other
+        # methods, the response should have the type `XxxResponse`, where `Xxx`
+        # is the original method name.  For example, if the original method name
+        # is `TakeSnapshot()`, the inferred response type is
+        # `TakeSnapshotResponse`.
+        # Corresponds to the JSON property `response`
+        # @return [Hash]
+        attr_accessor :response
+      
+        # The server-assigned name, which is only unique within the same service that
+        # originally returns it. If you use the default HTTP mapping, the
+        # `name` should have the format of `operations/some/unique/name`.
+        # Corresponds to the JSON property `name`
+        # @return [String]
+        attr_accessor :name
+      
+        # The `Status` type defines a logical error model that is suitable for different
+        # programming environments, including REST APIs and RPC APIs. It is used by
+        # [gRPC](https://github.com/grpc). The error model is designed to be:
+        # - Simple to use and understand for most users
+        # - Flexible enough to meet unexpected needs
+        # # Overview
+        # The `Status` message contains three pieces of data: error code, error message,
+        # and error details. The error code should be an enum value of
+        # google.rpc.Code, but it may accept additional error codes if needed.  The
+        # error message should be a developer-facing English message that helps
+        # developers *understand* and *resolve* the error. If a localized user-facing
+        # error message is needed, put the localized message in the error details or
+        # localize it in the client. The optional error details may contain arbitrary
+        # information about the error. There is a predefined set of error detail types
+        # in the package `google.rpc` which can be used for common error conditions.
+        # # Language mapping
+        # The `Status` message is the logical representation of the error model, but it
+        # is not necessarily the actual wire format. When the `Status` message is
+        # exposed in different client libraries and different wire protocols, it can be
+        # mapped differently. For example, it will likely be mapped to some exceptions
+        # in Java, but more likely mapped to some error codes in C.
+        # # Other uses
+        # The error model and the `Status` message can be used in a variety of
+        # environments, either with or without APIs, to provide a
+        # consistent developer experience across different environments.
+        # Example uses of this error model include:
+        # - Partial errors. If a service needs to return partial errors to the client,
+        # it may embed the `Status` in the normal response to indicate the partial
+        # errors.
+        # - Workflow errors. A typical workflow has multiple steps. Each step may
+        # have a `Status` message for error reporting purpose.
+        # - Batch operations. If a client uses batch request and batch response, the
+        # `Status` message should be used directly inside batch response, one for
+        # each error sub-response.
+        # - Asynchronous operations. If an API call embeds asynchronous operation
+        # results in its response, the status of those operations should be
+        # represented directly using the `Status` message.
+        # - Logging. If some API errors are stored in logs, the message `Status` could
+        # be used directly after any stripping needed for security/privacy reasons.
+        # Corresponds to the JSON property `error`
+        # @return [Google::Apis::SpeechV1beta1::Status]
+        attr_accessor :error
+      
+        # Service-specific metadata associated with the operation.  It typically
+        # contains progress information and common metadata such as create time.
+        # Some services might not provide such metadata.  Any method that returns a
+        # long-running operation should document the metadata type, if any.
+        # Corresponds to the JSON property `metadata`
+        # @return [Hash]
+        attr_accessor :metadata
+      
+        # If the value is `false`, it means the operation is still in progress.
+        # If true, the operation is completed, and either `error` or `response` is
+        # available.
+        # Corresponds to the JSON property `done`
+        # @return [Boolean]
+        attr_accessor :done
+        alias_method :done?, :done
+      
+        def initialize(**args)
+           update!(**args)
+        end
+      
+        # Update properties of this object
+        def update!(**args)
+          @response = args[:response] if args.key?(:response)
+          @name = args[:name] if args.key?(:name)
+          @error = args[:error] if args.key?(:error)
+          @metadata = args[:metadata] if args.key?(:metadata)
+          @done = args[:done] if args.key?(:done)
+        end
+      end
+      
+      # Provides information to the recognizer that specifies how to process the
+      # request.
+      class RecognitionConfig
+        include Google::Apis::Core::Hashable
+      
+        # *Optional* Maximum number of recognition hypotheses to be returned.
+        # Specifically, the maximum number of `SpeechRecognitionAlternative` messages
+        # within each `SpeechRecognitionResult`.
+        # The server may return fewer than `max_alternatives`.
+        # Valid values are `0`-`30`. A value of `0` or `1` will return a maximum of
+        # one. If omitted, will return a maximum of one.
+        # Corresponds to the JSON property `maxAlternatives`
+        # @return [Fixnum]
+        attr_accessor :max_alternatives
+      
+        # *Required* Sample rate in Hertz of the audio data sent in all
+        # `RecognitionAudio` messages. Valid values are: 8000-48000.
+        # 16000 is optimal. For best results, set the sampling rate of the audio
+        # source to 16000 Hz. If that's not possible, use the native sample rate of
+        # the audio source (instead of re-sampling).
+        # Corresponds to the JSON property `sampleRate`
+        # @return [Fixnum]
+        attr_accessor :sample_rate
+      
+        # *Optional* The language of the supplied audio as a BCP-47 language tag.
+        # Example: "en-GB"  https://www.rfc-editor.org/rfc/bcp/bcp47.txt
+        # If omitted, defaults to "en-US". See
+        # [Language Support](https://cloud.google.com/speech/docs/languages)
+        # for a list of the currently supported language codes.
+        # Corresponds to the JSON property `languageCode`
+        # @return [String]
+        attr_accessor :language_code
+      
+        # Provides "hints" to the speech recognizer to favor specific words and phrases
+        # in the results.
+        # Corresponds to the JSON property `speechContext`
+        # @return [Google::Apis::SpeechV1beta1::SpeechContext]
+        attr_accessor :speech_context
+      
+        # *Required* Encoding of audio data sent in all `RecognitionAudio` messages.
+        # Corresponds to the JSON property `encoding`
+        # @return [String]
+        attr_accessor :encoding
+      
+        # *Optional* If set to `true`, the server will attempt to filter out
+        # profanities, replacing all but the initial character in each filtered word
+        # with asterisks, e.g. "f***". If set to `false` or omitted, profanities
+        # won't be filtered out.
+        # Corresponds to the JSON property `profanityFilter`
+        # @return [Boolean]
+        attr_accessor :profanity_filter
+        alias_method :profanity_filter?, :profanity_filter
+      
+        def initialize(**args)
+           update!(**args)
+        end
+      
+        # Update properties of this object
+        def update!(**args)
+          @max_alternatives = args[:max_alternatives] if args.key?(:max_alternatives)
+          @sample_rate = args[:sample_rate] if args.key?(:sample_rate)
+          @language_code = args[:language_code] if args.key?(:language_code)
+          @speech_context = args[:speech_context] if args.key?(:speech_context)
+          @encoding = args[:encoding] if args.key?(:encoding)
+          @profanity_filter = args[:profanity_filter] if args.key?(:profanity_filter)
+        end
+      end
+      
       # The top-level message sent by the client for the `SyncRecognize` method.
       class SyncRecognizeRequest
         include Google::Apis::Core::Hashable
@@ -115,6 +280,13 @@ module Google
       class Status
         include Google::Apis::Core::Hashable
       
+        # A developer-facing error message, which should be in English. Any
+        # user-facing error message should be localized and sent in the
+        # google.rpc.Status.details field, or localized by the client.
+        # Corresponds to the JSON property `message`
+        # @return [String]
+        attr_accessor :message
+      
         # A list of messages that carry the error details.  There will be a
         # common set of message types for APIs to use.
         # Corresponds to the JSON property `details`
@@ -126,22 +298,15 @@ module Google
         # @return [Fixnum]
         attr_accessor :code
       
-        # A developer-facing error message, which should be in English. Any
-        # user-facing error message should be localized and sent in the
-        # google.rpc.Status.details field, or localized by the client.
-        # Corresponds to the JSON property `message`
-        # @return [String]
-        attr_accessor :message
-      
         def initialize(**args)
            update!(**args)
         end
       
         # Update properties of this object
         def update!(**args)
+          @message = args[:message] if args.key?(:message)
           @details = args[:details] if args.key?(:details)
           @code = args[:code] if args.key?(:code)
-          @message = args[:message] if args.key?(:message)
         end
       end
       
@@ -265,6 +430,42 @@ module Google
         end
       end
       
+      # Contains audio data in the encoding specified in the `RecognitionConfig`.
+      # Either `content` or `uri` must be supplied. Supplying both or neither
+      # returns google.rpc.Code.INVALID_ARGUMENT. See
+      # [audio limits](https://cloud.google.com/speech/limits#content).
+      class RecognitionAudio
+        include Google::Apis::Core::Hashable
+      
+        # URI that points to a file that contains audio data bytes as specified in
+        # `RecognitionConfig`. Currently, only Google Cloud Storage URIs are
+        # supported, which must be specified in the following format:
+        # `gs://bucket_name/object_name` (other URI formats return
+        # google.rpc.Code.INVALID_ARGUMENT). For more information, see
+        # [Request URIs](https://cloud.google.com/storage/docs/reference-uris).
+        # Corresponds to the JSON property `uri`
+        # @return [String]
+        attr_accessor :uri
+      
+        # The audio data bytes encoded as specified in
+        # `RecognitionConfig`. Note: as with all bytes fields, protobuffers use a
+        # pure binary representation, whereas JSON representations use base64.
+        # Corresponds to the JSON property `content`
+        # NOTE: Values are automatically base64 encoded/decoded in the client library.
+        # @return [String]
+        attr_accessor :content
+      
+        def initialize(**args)
+           update!(**args)
+        end
+      
+        # Update properties of this object
+        def update!(**args)
+          @uri = args[:uri] if args.key?(:uri)
+          @content = args[:content] if args.key?(:content)
+        end
+      end
+      
       # The top-level message sent by the client for the `AsyncRecognize` method.
       class AsyncRecognizeRequest
         include Google::Apis::Core::Hashable
@@ -293,207 +494,6 @@ module Google
           @audio = args[:audio] if args.key?(:audio)
         end
       end
-      
-      # Contains audio data in the encoding specified in the `RecognitionConfig`.
-      # Either `content` or `uri` must be supplied. Supplying both or neither
-      # returns google.rpc.Code.INVALID_ARGUMENT. See
-      # [audio limits](https://cloud.google.com/speech/limits#content).
-      class RecognitionAudio
-        include Google::Apis::Core::Hashable
-      
-        # The audio data bytes encoded as specified in
-        # `RecognitionConfig`. Note: as with all bytes fields, protobuffers use a
-        # pure binary representation, whereas JSON representations use base64.
-        # Corresponds to the JSON property `content`
-        # NOTE: Values are automatically base64 encoded/decoded in the client library.
-        # @return [String]
-        attr_accessor :content
-      
-        # URI that points to a file that contains audio data bytes as specified in
-        # `RecognitionConfig`. Currently, only Google Cloud Storage URIs are
-        # supported, which must be specified in the following format:
-        # `gs://bucket_name/object_name` (other URI formats return
-        # google.rpc.Code.INVALID_ARGUMENT). For more information, see
-        # [Request URIs](https://cloud.google.com/storage/docs/reference-uris).
-        # Corresponds to the JSON property `uri`
-        # @return [String]
-        attr_accessor :uri
-      
-        def initialize(**args)
-           update!(**args)
-        end
-      
-        # Update properties of this object
-        def update!(**args)
-          @content = args[:content] if args.key?(:content)
-          @uri = args[:uri] if args.key?(:uri)
-        end
-      end
-      
-      # This resource represents a long-running operation that is the result of a
-      # network API call.
-      class Operation
-        include Google::Apis::Core::Hashable
-      
-        # Service-specific metadata associated with the operation.  It typically
-        # contains progress information and common metadata such as create time.
-        # Some services might not provide such metadata.  Any method that returns a
-        # long-running operation should document the metadata type, if any.
-        # Corresponds to the JSON property `metadata`
-        # @return [Hash]
-        attr_accessor :metadata
-      
-        # If the value is `false`, it means the operation is still in progress.
-        # If true, the operation is completed, and either `error` or `response` is
-        # available.
-        # Corresponds to the JSON property `done`
-        # @return [Boolean]
-        attr_accessor :done
-        alias_method :done?, :done
-      
-        # The normal response of the operation in case of success.  If the original
-        # method returns no data on success, such as `Delete`, the response is
-        # `google.protobuf.Empty`.  If the original method is standard
-        # `Get`/`Create`/`Update`, the response should be the resource.  For other
-        # methods, the response should have the type `XxxResponse`, where `Xxx`
-        # is the original method name.  For example, if the original method name
-        # is `TakeSnapshot()`, the inferred response type is
-        # `TakeSnapshotResponse`.
-        # Corresponds to the JSON property `response`
-        # @return [Hash]
-        attr_accessor :response
-      
-        # The server-assigned name, which is only unique within the same service that
-        # originally returns it. If you use the default HTTP mapping, the
-        # `name` should have the format of `operations/some/unique/name`.
-        # Corresponds to the JSON property `name`
-        # @return [String]
-        attr_accessor :name
-      
-        # The `Status` type defines a logical error model that is suitable for different
-        # programming environments, including REST APIs and RPC APIs. It is used by
-        # [gRPC](https://github.com/grpc). The error model is designed to be:
-        # - Simple to use and understand for most users
-        # - Flexible enough to meet unexpected needs
-        # # Overview
-        # The `Status` message contains three pieces of data: error code, error message,
-        # and error details. The error code should be an enum value of
-        # google.rpc.Code, but it may accept additional error codes if needed.  The
-        # error message should be a developer-facing English message that helps
-        # developers *understand* and *resolve* the error. If a localized user-facing
-        # error message is needed, put the localized message in the error details or
-        # localize it in the client. The optional error details may contain arbitrary
-        # information about the error. There is a predefined set of error detail types
-        # in the package `google.rpc` which can be used for common error conditions.
-        # # Language mapping
-        # The `Status` message is the logical representation of the error model, but it
-        # is not necessarily the actual wire format. When the `Status` message is
-        # exposed in different client libraries and different wire protocols, it can be
-        # mapped differently. For example, it will likely be mapped to some exceptions
-        # in Java, but more likely mapped to some error codes in C.
-        # # Other uses
-        # The error model and the `Status` message can be used in a variety of
-        # environments, either with or without APIs, to provide a
-        # consistent developer experience across different environments.
-        # Example uses of this error model include:
-        # - Partial errors. If a service needs to return partial errors to the client,
-        # it may embed the `Status` in the normal response to indicate the partial
-        # errors.
-        # - Workflow errors. A typical workflow has multiple steps. Each step may
-        # have a `Status` message for error reporting purpose.
-        # - Batch operations. If a client uses batch request and batch response, the
-        # `Status` message should be used directly inside batch response, one for
-        # each error sub-response.
-        # - Asynchronous operations. If an API call embeds asynchronous operation
-        # results in its response, the status of those operations should be
-        # represented directly using the `Status` message.
-        # - Logging. If some API errors are stored in logs, the message `Status` could
-        # be used directly after any stripping needed for security/privacy reasons.
-        # Corresponds to the JSON property `error`
-        # @return [Google::Apis::SpeechV1beta1::Status]
-        attr_accessor :error
-      
-        def initialize(**args)
-           update!(**args)
-        end
-      
-        # Update properties of this object
-        def update!(**args)
-          @metadata = args[:metadata] if args.key?(:metadata)
-          @done = args[:done] if args.key?(:done)
-          @response = args[:response] if args.key?(:response)
-          @name = args[:name] if args.key?(:name)
-          @error = args[:error] if args.key?(:error)
-        end
-      end
-      
-      # Provides information to the recognizer that specifies how to process the
-      # request.
-      class RecognitionConfig
-        include Google::Apis::Core::Hashable
-      
-        # *Optional* Maximum number of recognition hypotheses to be returned.
-        # Specifically, the maximum number of `SpeechRecognitionAlternative` messages
-        # within each `SpeechRecognitionResult`.
-        # The server may return fewer than `max_alternatives`.
-        # Valid values are `0`-`30`. A value of `0` or `1` will return a maximum of
-        # one. If omitted, will return a maximum of one.
-        # Corresponds to the JSON property `maxAlternatives`
-        # @return [Fixnum]
-        attr_accessor :max_alternatives
-      
-        # *Optional* The language of the supplied audio as a BCP-47 language tag.
-        # Example: "en-GB"  https://www.rfc-editor.org/rfc/bcp/bcp47.txt
-        # If omitted, defaults to "en-US". See
-        # [Language Support](https://cloud.google.com/speech/docs/languages)
-        # for a list of the currently supported language codes.
-        # Corresponds to the JSON property `languageCode`
-        # @return [String]
-        attr_accessor :language_code
-      
-        # *Required* Sample rate in Hertz of the audio data sent in all
-        # `RecognitionAudio` messages. Valid values are: 8000-48000.
-        # 16000 is optimal. For best results, set the sampling rate of the audio
-        # source to 16000 Hz. If that's not possible, use the native sample rate of
-        # the audio source (instead of re-sampling).
-        # Corresponds to the JSON property `sampleRate`
-        # @return [Fixnum]
-        attr_accessor :sample_rate
-      
-        # *Required* Encoding of audio data sent in all `RecognitionAudio` messages.
-        # Corresponds to the JSON property `encoding`
-        # @return [String]
-        attr_accessor :encoding
-      
-        # *Optional* If set to `true`, the server will attempt to filter out
-        # profanities, replacing all but the initial character in each filtered word
-        # with asterisks, e.g. "f***". If set to `false` or omitted, profanities
-        # won't be filtered out.
-        # Corresponds to the JSON property `profanityFilter`
-        # @return [Boolean]
-        attr_accessor :profanity_filter
-        alias_method :profanity_filter?, :profanity_filter
-      
-        # Provides "hints" to the speech recognizer to favor specific words and phrases
-        # in the results.
-        # Corresponds to the JSON property `speechContext`
-        # @return [Google::Apis::SpeechV1beta1::SpeechContext]
-        attr_accessor :speech_context
-      
-        def initialize(**args)
-           update!(**args)
-        end
-      
-        # Update properties of this object
-        def update!(**args)
-          @max_alternatives = args[:max_alternatives] if args.key?(:max_alternatives)
-          @language_code = args[:language_code] if args.key?(:language_code)
-          @sample_rate = args[:sample_rate] if args.key?(:sample_rate)
-          @encoding = args[:encoding] if args.key?(:encoding)
-          @profanity_filter = args[:profanity_filter] if args.key?(:profanity_filter)
-          @speech_context = args[:speech_context] if args.key?(:speech_context)
-        end
-      end
     end
   end
 end
diff --git a/generated/google/apis/speech_v1beta1/representations.rb b/generated/google/apis/speech_v1beta1/representations.rb
index 3b803dfd7..041013fb4 100644
--- a/generated/google/apis/speech_v1beta1/representations.rb
+++ b/generated/google/apis/speech_v1beta1/representations.rb
@@ -22,6 +22,18 @@ module Google
   module Apis
     module SpeechV1beta1
       
+      class Operation
+        class Representation < Google::Apis::Core::JsonRepresentation; end
+      
+        include Google::Apis::Core::JsonObjectSupport
+      end
+      
+      class RecognitionConfig
+        class Representation < Google::Apis::Core::JsonRepresentation; end
+      
+        include Google::Apis::Core::JsonObjectSupport
+      end
+      
       class SyncRecognizeRequest
         class Representation < Google::Apis::Core::JsonRepresentation; end
       
@@ -70,28 +82,41 @@ module Google
         include Google::Apis::Core::JsonObjectSupport
       end
       
-      class AsyncRecognizeRequest
-        class Representation < Google::Apis::Core::JsonRepresentation; end
-      
-        include Google::Apis::Core::JsonObjectSupport
-      end
-      
       class RecognitionAudio
         class Representation < Google::Apis::Core::JsonRepresentation; end
       
         include Google::Apis::Core::JsonObjectSupport
       end
       
-      class Operation
+      class AsyncRecognizeRequest
         class Representation < Google::Apis::Core::JsonRepresentation; end
       
         include Google::Apis::Core::JsonObjectSupport
       end
       
-      class RecognitionConfig
-        class Representation < Google::Apis::Core::JsonRepresentation; end
+      class Operation
+        # @private
+        class Representation < Google::Apis::Core::JsonRepresentation
+          hash :response, as: 'response'
+          property :name, as: 'name'
+          property :error, as: 'error', class: Google::Apis::SpeechV1beta1::Status, decorator: Google::Apis::SpeechV1beta1::Status::Representation
       
-        include Google::Apis::Core::JsonObjectSupport
+          hash :metadata, as: 'metadata'
+          property :done, as: 'done'
+        end
+      end
+      
+      class RecognitionConfig
+        # @private
+        class Representation < Google::Apis::Core::JsonRepresentation
+          property :max_alternatives, as: 'maxAlternatives'
+          property :sample_rate, as: 'sampleRate'
+          property :language_code, as: 'languageCode'
+          property :speech_context, as: 'speechContext', class: Google::Apis::SpeechV1beta1::SpeechContext, decorator: Google::Apis::SpeechV1beta1::SpeechContext::Representation
+      
+          property :encoding, as: 'encoding'
+          property :profanity_filter, as: 'profanityFilter'
+        end
       end
       
       class SyncRecognizeRequest
@@ -115,9 +140,9 @@ module Google
       class Status
         # @private
         class Representation < Google::Apis::Core::JsonRepresentation
+          property :message, as: 'message'
           collection :details, as: 'details'
           property :code, as: 'code'
-          property :message, as: 'message'
         end
       end
       
@@ -159,6 +184,14 @@ module Google
         end
       end
       
+      class RecognitionAudio
+        # @private
+        class Representation < Google::Apis::Core::JsonRepresentation
+          property :uri, as: 'uri'
+          property :content, :base64 => true, as: 'content'
+        end
+      end
+      
       class AsyncRecognizeRequest
         # @private
         class Representation < Google::Apis::Core::JsonRepresentation
@@ -168,39 +201,6 @@ module Google
       
         end
       end
-      
-      class RecognitionAudio
-        # @private
-        class Representation < Google::Apis::Core::JsonRepresentation
-          property :content, :base64 => true, as: 'content'
-          property :uri, as: 'uri'
-        end
-      end
-      
-      class Operation
-        # @private
-        class Representation < Google::Apis::Core::JsonRepresentation
-          hash :metadata, as: 'metadata'
-          property :done, as: 'done'
-          hash :response, as: 'response'
-          property :name, as: 'name'
-          property :error, as: 'error', class: Google::Apis::SpeechV1beta1::Status, decorator: Google::Apis::SpeechV1beta1::Status::Representation
-      
-        end
-      end
-      
-      class RecognitionConfig
-        # @private
-        class Representation < Google::Apis::Core::JsonRepresentation
-          property :max_alternatives, as: 'maxAlternatives'
-          property :language_code, as: 'languageCode'
-          property :sample_rate, as: 'sampleRate'
-          property :encoding, as: 'encoding'
-          property :profanity_filter, as: 'profanityFilter'
-          property :speech_context, as: 'speechContext', class: Google::Apis::SpeechV1beta1::SpeechContext, decorator: Google::Apis::SpeechV1beta1::SpeechContext::Representation
-      
-        end
-      end
     end
   end
 end
diff --git a/generated/google/apis/speech_v1beta1/service.rb b/generated/google/apis/speech_v1beta1/service.rb
index 5b351d62a..90a270028 100644
--- a/generated/google/apis/speech_v1beta1/service.rb
+++ b/generated/google/apis/speech_v1beta1/service.rb
@@ -44,6 +44,7 @@ module Google
 
         def initialize
           super('https://speech.googleapis.com/', '')
+          @batch_path = 'batch'
         end
         
         # Starts asynchronous cancellation on a long-running operation.  The server
@@ -192,6 +193,37 @@ module Google
           execute_or_queue_command(command, &block)
         end
         
+        # Performs synchronous speech recognition: receive results after all audio
+        # has been sent and processed.
+        # @param [Google::Apis::SpeechV1beta1::SyncRecognizeRequest] sync_recognize_request_object
+        # @param [String] fields
+        #   Selector specifying which fields to include in a partial response.
+        # @param [String] quota_user
+        #   Available to use for quota purposes for server-side applications. Can be any
+        #   arbitrary string assigned to a user, but should not exceed 40 characters.
+        # @param [Google::Apis::RequestOptions] options
+        #   Request-specific options
+        #
+        # @yield [result, err] Result & error if block supplied
+        # @yieldparam result [Google::Apis::SpeechV1beta1::SyncRecognizeResponse] parsed result object
+        # @yieldparam err [StandardError] error object if request failed
+        #
+        # @return [Google::Apis::SpeechV1beta1::SyncRecognizeResponse]
+        #
+        # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
+        # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
+        # @raise [Google::Apis::AuthorizationError] Authorization is required
+        def sync_recognize_speech(sync_recognize_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
+          command =  make_simple_command(:post, 'v1beta1/speech:syncrecognize', options)
+          command.request_representation = Google::Apis::SpeechV1beta1::SyncRecognizeRequest::Representation
+          command.request_object = sync_recognize_request_object
+          command.response_representation = Google::Apis::SpeechV1beta1::SyncRecognizeResponse::Representation
+          command.response_class = Google::Apis::SpeechV1beta1::SyncRecognizeResponse
+          command.query['fields'] = fields unless fields.nil?
+          command.query['quotaUser'] = quota_user unless quota_user.nil?
+          execute_or_queue_command(command, &block)
+        end
+        
         # Performs asynchronous speech recognition: receive results via the
         # [google.longrunning.Operations]
         # (/speech/reference/rest/v1beta1/operations#Operation)
@@ -226,37 +258,6 @@ module Google
           command.query['quotaUser'] = quota_user unless quota_user.nil?
           execute_or_queue_command(command, &block)
         end
-        
-        # Performs synchronous speech recognition: receive results after all audio
-        # has been sent and processed.
-        # @param [Google::Apis::SpeechV1beta1::SyncRecognizeRequest] sync_recognize_request_object
-        # @param [String] fields
-        #   Selector specifying which fields to include in a partial response.
-        # @param [String] quota_user
-        #   Available to use for quota purposes for server-side applications. Can be any
-        #   arbitrary string assigned to a user, but should not exceed 40 characters.
-        # @param [Google::Apis::RequestOptions] options
-        #   Request-specific options
-        #
-        # @yield [result, err] Result & error if block supplied
-        # @yieldparam result [Google::Apis::SpeechV1beta1::SyncRecognizeResponse] parsed result object
-        # @yieldparam err [StandardError] error object if request failed
-        #
-        # @return [Google::Apis::SpeechV1beta1::SyncRecognizeResponse]
-        #
-        # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
-        # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
-        # @raise [Google::Apis::AuthorizationError] Authorization is required
-        def sync_recognize_speech(sync_recognize_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
-          command =  make_simple_command(:post, 'v1beta1/speech:syncrecognize', options)
-          command.request_representation = Google::Apis::SpeechV1beta1::SyncRecognizeRequest::Representation
-          command.request_object = sync_recognize_request_object
-          command.response_representation = Google::Apis::SpeechV1beta1::SyncRecognizeResponse::Representation
-          command.response_class = Google::Apis::SpeechV1beta1::SyncRecognizeResponse
-          command.query['fields'] = fields unless fields.nil?
-          command.query['quotaUser'] = quota_user unless quota_user.nil?
-          execute_or_queue_command(command, &block)
-        end
 
         protected
 
diff --git a/generated/google/apis/sqladmin_v1beta4/classes.rb b/generated/google/apis/sqladmin_v1beta4/classes.rb
index 29c8255d1..fc2cbef57 100644
--- a/generated/google/apis/sqladmin_v1beta4/classes.rb
+++ b/generated/google/apis/sqladmin_v1beta4/classes.rb
@@ -130,7 +130,7 @@ module Google
         # A unique identifier for this backup run. Note that this is unique only within
         # the scope of a particular Cloud SQL instance.
         # Corresponds to the JSON property `id`
-        # @return [String]
+        # @return [Fixnum]
         attr_accessor :id
       
         # Name of the database instance.
@@ -234,7 +234,7 @@ module Google
       
         # Position (offset) within the binary log file.
         # Corresponds to the JSON property `binLogPosition`
-        # @return [String]
+        # @return [Fixnum]
         attr_accessor :bin_log_position
       
         # This is always sql#binLogCoordinates.
@@ -400,7 +400,7 @@ module Google
         # google.com/d/msg/google-cloud-sql-announce/I_7-F9EBhT0/BtvFtdFeAgAJ for
         # details.
         # Corresponds to the JSON property `currentDiskSize`
-        # @return [String]
+        # @return [Fixnum]
         attr_accessor :current_disk_size
       
         # The database engine type and version. The databaseVersion can not be changed
@@ -452,7 +452,7 @@ module Google
       
         # The maximum disk size of the instance in bytes.
         # Corresponds to the JSON property `maxDiskSize`
-        # @return [String]
+        # @return [Fixnum]
         attr_accessor :max_disk_size
       
         # Name of the Cloud SQL instance. This does not include the project ID.
@@ -733,7 +733,7 @@ module Google
         # The current settings version of this instance. Request will be rejected if
         # this version doesn't match the current settings version.
         # Corresponds to the JSON property `settingsVersion`
-        # @return [String]
+        # @return [Fixnum]
         attr_accessor :settings_version
       
         def initialize(**args)
@@ -769,12 +769,12 @@ module Google
       
         # For INTEGER flags, the maximum allowed value.
         # Corresponds to the JSON property `maxValue`
-        # @return [String]
+        # @return [Fixnum]
         attr_accessor :max_value
       
         # For INTEGER flags, the minimum allowed value.
         # Corresponds to the JSON property `minValue`
-        # @return [String]
+        # @return [Fixnum]
         attr_accessor :min_value
       
         # This is the name of the flag. Flag names always use underscores, not hyphens,
@@ -1271,7 +1271,7 @@ module Google
       
         # Interval in milliseconds between replication heartbeats.
         # Corresponds to the JSON property `masterHeartbeatPeriod`
-        # @return [String]
+        # @return [Fixnum]
         attr_accessor :master_heartbeat_period
       
         # The password for the replication connection.
@@ -1584,7 +1584,7 @@ module Google
       
         # The ID of the backup run to restore from.
         # Corresponds to the JSON property `backupRunId`
-        # @return [String]
+        # @return [Fixnum]
         attr_accessor :backup_run_id
       
         # The ID of the instance that the backup was taken from.
@@ -1655,7 +1655,7 @@ module Google
         # The size of data disk, in GB. The data disk size minimum is 10GB. Applies only
         # to Second Generation instances.
         # Corresponds to the JSON property `dataDiskSizeGb`
-        # @return [String]
+        # @return [Fixnum]
         attr_accessor :data_disk_size_gb
       
         # The type of data disk. Only supported for Second Generation instances. The
@@ -1723,7 +1723,7 @@ module Google
         # most recent settingsVersion value for this instance and do not try to update
         # this value.
         # Corresponds to the JSON property `settingsVersion`
-        # @return [String]
+        # @return [Fixnum]
         attr_accessor :settings_version
       
         # Configuration to increase storage size automatically. The default value is
@@ -1737,7 +1737,7 @@ module Google
         # default value is 0, which specifies that there is no limit. Applies only to
         # Second Generation instances.
         # Corresponds to the JSON property `storageAutoResizeLimit`
-        # @return [String]
+        # @return [Fixnum]
         attr_accessor :storage_auto_resize_limit
       
         # The tier of service for this instance, for example D1, D2. For more
@@ -1980,12 +1980,12 @@ module Google
       
         # The maximum disk size of this tier in bytes.
         # Corresponds to the JSON property `DiskQuota`
-        # @return [String]
+        # @return [Fixnum]
         attr_accessor :disk_quota
       
         # The maximum RAM usage of this tier in bytes.
         # Corresponds to the JSON property `RAM`
-        # @return [String]
+        # @return [Fixnum]
         attr_accessor :ram
       
         # This is always sql#tier.
diff --git a/generated/google/apis/sqladmin_v1beta4/representations.rb b/generated/google/apis/sqladmin_v1beta4/representations.rb
index ec97e975d..494b9ca3f 100644
--- a/generated/google/apis/sqladmin_v1beta4/representations.rb
+++ b/generated/google/apis/sqladmin_v1beta4/representations.rb
@@ -359,7 +359,7 @@ module Google
       
           property :error, as: 'error', class: Google::Apis::SqladminV1beta4::OperationError, decorator: Google::Apis::SqladminV1beta4::OperationError::Representation
       
-          property :id, as: 'id'
+          property :id, :numeric_string => true, as: 'id'
           property :instance, as: 'instance'
           property :kind, as: 'kind'
           property :self_link, as: 'selfLink'
@@ -386,7 +386,7 @@ module Google
         # @private
         class Representation < Google::Apis::Core::JsonRepresentation
           property :bin_log_file_name, as: 'binLogFileName'
-          property :bin_log_position, as: 'binLogPosition'
+          property :bin_log_position, :numeric_string => true, as: 'binLogPosition'
           property :kind, as: 'kind'
         end
       end
@@ -428,7 +428,7 @@ module Google
         class Representation < Google::Apis::Core::JsonRepresentation
           property :backend_type, as: 'backendType'
           property :connection_name, as: 'connectionName'
-          property :current_disk_size, as: 'currentDiskSize'
+          property :current_disk_size, :numeric_string => true, as: 'currentDiskSize'
           property :database_version, as: 'databaseVersion'
           property :etag, as: 'etag'
           property :failover_replica, as: 'failoverReplica', class: Google::Apis::SqladminV1beta4::DatabaseInstance::FailoverReplica, decorator: Google::Apis::SqladminV1beta4::DatabaseInstance::FailoverReplica::Representation
@@ -439,7 +439,7 @@ module Google
           property :ipv6_address, as: 'ipv6Address'
           property :kind, as: 'kind'
           property :master_instance_name, as: 'masterInstanceName'
-          property :max_disk_size, as: 'maxDiskSize'
+          property :max_disk_size, :numeric_string => true, as: 'maxDiskSize'
           property :name, as: 'name'
           property :on_premises_configuration, as: 'onPremisesConfiguration', class: Google::Apis::SqladminV1beta4::OnPremisesConfiguration, decorator: Google::Apis::SqladminV1beta4::OnPremisesConfiguration::Representation
       
@@ -509,7 +509,7 @@ module Google
         # @private
         class Representation < Google::Apis::Core::JsonRepresentation
           property :kind, as: 'kind'
-          property :settings_version, as: 'settingsVersion'
+          property :settings_version, :numeric_string => true, as: 'settingsVersion'
         end
       end
       
@@ -519,8 +519,8 @@ module Google
           collection :allowed_string_values, as: 'allowedStringValues'
           collection :applies_to, as: 'appliesTo'
           property :kind, as: 'kind'
-          property :max_value, as: 'maxValue'
-          property :min_value, as: 'minValue'
+          property :max_value, :numeric_string => true, as: 'maxValue'
+          property :min_value, :numeric_string => true, as: 'minValue'
           property :name, as: 'name'
           property :requires_restart, as: 'requiresRestart'
           property :type, as: 'type'
@@ -670,7 +670,7 @@ module Google
           property :connect_retry_interval, as: 'connectRetryInterval'
           property :dump_file_path, as: 'dumpFilePath'
           property :kind, as: 'kind'
-          property :master_heartbeat_period, as: 'masterHeartbeatPeriod'
+          property :master_heartbeat_period, :numeric_string => true, as: 'masterHeartbeatPeriod'
           property :password, as: 'password'
           property :ssl_cipher, as: 'sslCipher'
           property :username, as: 'username'
@@ -754,7 +754,7 @@ module Google
       class RestoreBackupContext
         # @private
         class Representation < Google::Apis::Core::JsonRepresentation
-          property :backup_run_id, as: 'backupRunId'
+          property :backup_run_id, :numeric_string => true, as: 'backupRunId'
           property :instance_id, as: 'instanceId'
           property :kind, as: 'kind'
         end
@@ -769,7 +769,7 @@ module Google
           property :backup_configuration, as: 'backupConfiguration', class: Google::Apis::SqladminV1beta4::BackupConfiguration, decorator: Google::Apis::SqladminV1beta4::BackupConfiguration::Representation
       
           property :crash_safe_replication_enabled, as: 'crashSafeReplicationEnabled'
-          property :data_disk_size_gb, as: 'dataDiskSizeGb'
+          property :data_disk_size_gb, :numeric_string => true, as: 'dataDiskSizeGb'
           property :data_disk_type, as: 'dataDiskType'
           collection :database_flags, as: 'databaseFlags', class: Google::Apis::SqladminV1beta4::DatabaseFlags, decorator: Google::Apis::SqladminV1beta4::DatabaseFlags::Representation
       
@@ -785,9 +785,9 @@ module Google
       
           property :pricing_plan, as: 'pricingPlan'
           property :replication_type, as: 'replicationType'
-          property :settings_version, as: 'settingsVersion'
+          property :settings_version, :numeric_string => true, as: 'settingsVersion'
           property :storage_auto_resize, as: 'storageAutoResize'
-          property :storage_auto_resize_limit, as: 'storageAutoResizeLimit'
+          property :storage_auto_resize_limit, :numeric_string => true, as: 'storageAutoResizeLimit'
           property :tier, as: 'tier'
         end
       end
@@ -857,8 +857,8 @@ module Google
       class Tier
         # @private
         class Representation < Google::Apis::Core::JsonRepresentation
-          property :disk_quota, as: 'DiskQuota'
-          property :ram, as: 'RAM'
+          property :disk_quota, :numeric_string => true, as: 'DiskQuota'
+          property :ram, :numeric_string => true, as: 'RAM'
           property :kind, as: 'kind'
           collection :region, as: 'region'
           property :tier, as: 'tier'
diff --git a/generated/google/apis/sqladmin_v1beta4/service.rb b/generated/google/apis/sqladmin_v1beta4/service.rb
index 2a3456f10..e35828656 100644
--- a/generated/google/apis/sqladmin_v1beta4/service.rb
+++ b/generated/google/apis/sqladmin_v1beta4/service.rb
@@ -51,6 +51,7 @@ module Google
 
         def initialize
           super('https://www.googleapis.com/', 'sql/v1beta4/')
+          @batch_path = 'batch'
         end
         
         # Deletes the backup taken by a backup run.
@@ -58,7 +59,7 @@ module Google
         #   Project ID of the project that contains the instance.
         # @param [String] instance
         #   Cloud SQL instance ID. This does not include the project ID.
-        # @param [String] id
+        # @param [Fixnum] id
         #   The ID of the Backup Run to delete. To find a Backup Run ID, use the list
         #   method.
         # @param [String] fields
@@ -100,7 +101,7 @@ module Google
         #   Project ID of the project that contains the instance.
         # @param [String] instance
         #   Cloud SQL instance ID. This does not include the project ID.
-        # @param [String] id
+        # @param [Fixnum] id
         #   The ID of this Backup Run.
         # @param [String] fields
         #   Selector specifying which fields to include in a partial response.
diff --git a/generated/google/apis/storage_v1.rb b/generated/google/apis/storage_v1.rb
index e832e5f99..1fc18b21a 100644
--- a/generated/google/apis/storage_v1.rb
+++ b/generated/google/apis/storage_v1.rb
@@ -25,7 +25,7 @@ module Google
     # @see https://developers.google.com/storage/docs/json_api/
     module StorageV1
       VERSION = 'V1'
-      REVISION = '20170317'
+      REVISION = '20170322'
 
       # View and manage your data across Google Cloud Platform services
       AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
diff --git a/generated/google/apis/storage_v1/classes.rb b/generated/google/apis/storage_v1/classes.rb
index 2acaa2b80..9e1d4b1a4 100644
--- a/generated/google/apis/storage_v1/classes.rb
+++ b/generated/google/apis/storage_v1/classes.rb
@@ -82,7 +82,7 @@ module Google
       
         # The metadata generation of this bucket.
         # Corresponds to the JSON property `metageneration`
-        # @return [String]
+        # @return [Fixnum]
         attr_accessor :metageneration
       
         # The name of the bucket.
@@ -97,7 +97,7 @@ module Google
       
         # The project number of the project the bucket belongs to.
         # Corresponds to the JSON property `projectNumber`
-        # @return [String]
+        # @return [Fixnum]
         attr_accessor :project_number
       
         # The URI of this bucket.
@@ -621,7 +621,7 @@ module Google
         # Date and time of notification channel expiration, expressed as a Unix
         # timestamp, in milliseconds. Optional.
         # Corresponds to the JSON property `expiration`
-        # @return [String]
+        # @return [Fixnum]
         attr_accessor :expiration
       
         # A UUID or similar unique string that identifies this channel.
@@ -723,7 +723,7 @@ module Google
         
           # The generation of this object to use as the source.
           # Corresponds to the JSON property `generation`
-          # @return [String]
+          # @return [Fixnum]
           attr_accessor :generation
         
           # The source object's name. The source object's bucket is implicitly the
@@ -756,7 +756,7 @@ module Google
             # be used matches this value. If this value and a generation are both specified,
             # they must be the same value or the call will fail.
             # Corresponds to the JSON property `ifGenerationMatch`
-            # @return [String]
+            # @return [Fixnum]
             attr_accessor :if_generation_match
           
             def initialize(**args)
@@ -936,7 +936,7 @@ module Google
       
         # The content generation of this object. Used for object versioning.
         # Corresponds to the JSON property `generation`
-        # @return [String]
+        # @return [Fixnum]
         attr_accessor :generation
       
         # The ID of the object, including the bucket name, object name, and generation
@@ -971,7 +971,7 @@ module Google
         # is only meaningful in the context of a particular generation of a particular
         # object.
         # Corresponds to the JSON property `metageneration`
-        # @return [String]
+        # @return [Fixnum]
         attr_accessor :metageneration
       
         # The name of the object. Required if not specified by URL parameter.
@@ -991,7 +991,7 @@ module Google
       
         # Content-Length of the data in bytes.
         # Corresponds to the JSON property `size`
-        # @return [String]
+        # @return [Fixnum]
         attr_accessor :size
       
         # Storage class of the object.
@@ -1156,7 +1156,7 @@ module Google
       
         # The content generation of the object, if applied to an object.
         # Corresponds to the JSON property `generation`
-        # @return [String]
+        # @return [Fixnum]
         attr_accessor :generation
       
         # The ID of the access-control entry.
@@ -1432,7 +1432,7 @@ module Google
         # The total size of the object being copied in bytes. This property is always
         # present in the response.
         # Corresponds to the JSON property `objectSize`
-        # @return [String]
+        # @return [Fixnum]
         attr_accessor :object_size
       
         # An object.
@@ -1449,7 +1449,7 @@ module Google
         # The total bytes written so far, which can be used to provide a waiting user
         # with a progress indicator. This property is always present in the response.
         # Corresponds to the JSON property `totalBytesRewritten`
-        # @return [String]
+        # @return [Fixnum]
         attr_accessor :total_bytes_rewritten
       
         def initialize(**args)
diff --git a/generated/google/apis/storage_v1/representations.rb b/generated/google/apis/storage_v1/representations.rb
index fa09f92be..e1b93bbbf 100644
--- a/generated/google/apis/storage_v1/representations.rb
+++ b/generated/google/apis/storage_v1/representations.rb
@@ -232,11 +232,11 @@ module Google
           property :location, as: 'location'
           property :logging, as: 'logging', class: Google::Apis::StorageV1::Bucket::Logging, decorator: Google::Apis::StorageV1::Bucket::Logging::Representation
       
-          property :metageneration, as: 'metageneration'
+          property :metageneration, :numeric_string => true, as: 'metageneration'
           property :name, as: 'name'
           property :owner, as: 'owner', class: Google::Apis::StorageV1::Bucket::Owner, decorator: Google::Apis::StorageV1::Bucket::Owner::Representation
       
-          property :project_number, as: 'projectNumber'
+          property :project_number, :numeric_string => true, as: 'projectNumber'
           property :self_link, as: 'selfLink'
           property :storage_class, as: 'storageClass'
           property :time_created, as: 'timeCreated', type: DateTime
@@ -378,7 +378,7 @@ module Google
         # @private
         class Representation < Google::Apis::Core::JsonRepresentation
           property :address, as: 'address'
-          property :expiration, as: 'expiration'
+          property :expiration, :numeric_string => true, as: 'expiration'
           property :id, as: 'id'
           property :kind, as: 'kind'
           hash :params, as: 'params'
@@ -403,7 +403,7 @@ module Google
         class SourceObject
           # @private
           class Representation < Google::Apis::Core::JsonRepresentation
-            property :generation, as: 'generation'
+            property :generation, :numeric_string => true, as: 'generation'
             property :name, as: 'name'
             property :object_preconditions, as: 'objectPreconditions', class: Google::Apis::StorageV1::ComposeRequest::SourceObject::ObjectPreconditions, decorator: Google::Apis::StorageV1::ComposeRequest::SourceObject::ObjectPreconditions::Representation
         
@@ -412,7 +412,7 @@ module Google
           class ObjectPreconditions
             # @private
             class Representation < Google::Apis::Core::JsonRepresentation
-              property :if_generation_match, as: 'ifGenerationMatch'
+              property :if_generation_match, :numeric_string => true, as: 'ifGenerationMatch'
             end
           end
         end
@@ -458,18 +458,18 @@ module Google
           property :customer_encryption, as: 'customerEncryption', class: Google::Apis::StorageV1::Object::CustomerEncryption, decorator: Google::Apis::StorageV1::Object::CustomerEncryption::Representation
       
           property :etag, as: 'etag'
-          property :generation, as: 'generation'
+          property :generation, :numeric_string => true, as: 'generation'
           property :id, as: 'id'
           property :kind, as: 'kind'
           property :md5_hash, as: 'md5Hash'
           property :media_link, as: 'mediaLink'
           hash :metadata, as: 'metadata'
-          property :metageneration, as: 'metageneration'
+          property :metageneration, :numeric_string => true, as: 'metageneration'
           property :name, as: 'name'
           property :owner, as: 'owner', class: Google::Apis::StorageV1::Object::Owner, decorator: Google::Apis::StorageV1::Object::Owner::Representation
       
           property :self_link, as: 'selfLink'
-          property :size, as: 'size'
+          property :size, :numeric_string => true, as: 'size'
           property :storage_class, as: 'storageClass'
           property :time_created, as: 'timeCreated', type: DateTime
       
@@ -507,7 +507,7 @@ module Google
           property :entity, as: 'entity'
           property :entity_id, as: 'entityId'
           property :etag, as: 'etag'
-          property :generation, as: 'generation'
+          property :generation, :numeric_string => true, as: 'generation'
           property :id, as: 'id'
           property :kind, as: 'kind'
           property :object, as: 'object'
@@ -570,11 +570,11 @@ module Google
         class Representation < Google::Apis::Core::JsonRepresentation
           property :done, as: 'done'
           property :kind, as: 'kind'
-          property :object_size, as: 'objectSize'
+          property :object_size, :numeric_string => true, as: 'objectSize'
           property :resource, as: 'resource', class: Google::Apis::StorageV1::Object, decorator: Google::Apis::StorageV1::Object::Representation
       
           property :rewrite_token, as: 'rewriteToken'
-          property :total_bytes_rewritten, as: 'totalBytesRewritten'
+          property :total_bytes_rewritten, :numeric_string => true, as: 'totalBytesRewritten'
         end
       end
       
diff --git a/generated/google/apis/storage_v1/service.rb b/generated/google/apis/storage_v1/service.rb
index 2652ecd54..8cdd11658 100644
--- a/generated/google/apis/storage_v1/service.rb
+++ b/generated/google/apis/storage_v1/service.rb
@@ -50,6 +50,7 @@ module Google
 
         def initialize
           super('https://www.googleapis.com/', 'storage/v1/')
+          @batch_path = 'batch'
         end
         
         # Permanently deletes the ACL entry for the specified entity on the specified
@@ -290,9 +291,9 @@ module Google
         # Permanently deletes an empty bucket.
         # @param [String] bucket
         #   Name of a bucket.
-        # @param [String] if_metageneration_match
+        # @param [Fixnum] if_metageneration_match
         #   If set, only deletes the bucket if its metageneration matches this value.
-        # @param [String] if_metageneration_not_match
+        # @param [Fixnum] if_metageneration_not_match
         #   If set, only deletes the bucket if its metageneration does not match this
         #   value.
         # @param [String] fields
@@ -330,10 +331,10 @@ module Google
         # Returns metadata for the specified bucket.
         # @param [String] bucket
         #   Name of a bucket.
-        # @param [String] if_metageneration_match
+        # @param [Fixnum] if_metageneration_match
         #   Makes the return of the bucket metadata conditional on whether the bucket's
         #   current metageneration matches the given value.
-        # @param [String] if_metageneration_not_match
+        # @param [Fixnum] if_metageneration_not_match
         #   Makes the return of the bucket metadata conditional on whether the bucket's
         #   current metageneration does not match the given value.
         # @param [String] projection
@@ -511,10 +512,10 @@ module Google
         # @param [String] bucket
         #   Name of a bucket.
         # @param [Google::Apis::StorageV1::Bucket] bucket_object
-        # @param [String] if_metageneration_match
+        # @param [Fixnum] if_metageneration_match
         #   Makes the return of the bucket metadata conditional on whether the bucket's
         #   current metageneration matches the given value.
-        # @param [String] if_metageneration_not_match
+        # @param [Fixnum] if_metageneration_not_match
         #   Makes the return of the bucket metadata conditional on whether the bucket's
         #   current metageneration does not match the given value.
         # @param [String] predefined_acl
@@ -644,10 +645,10 @@ module Google
         # @param [String] bucket
         #   Name of a bucket.
         # @param [Google::Apis::StorageV1::Bucket] bucket_object
-        # @param [String] if_metageneration_match
+        # @param [Fixnum] if_metageneration_match
         #   Makes the return of the bucket metadata conditional on whether the bucket's
         #   current metageneration matches the given value.
-        # @param [String] if_metageneration_not_match
+        # @param [Fixnum] if_metageneration_not_match
         #   Makes the return of the bucket metadata conditional on whether the bucket's
         #   current metageneration does not match the given value.
         # @param [String] predefined_acl
@@ -847,10 +848,10 @@ module Google
         # Retrieves default object ACL entries on the specified bucket.
         # @param [String] bucket
         #   Name of a bucket.
-        # @param [String] if_metageneration_match
+        # @param [Fixnum] if_metageneration_match
         #   If present, only return default ACL listing if the bucket's current
         #   metageneration matches this value.
-        # @param [String] if_metageneration_not_match
+        # @param [Fixnum] if_metageneration_not_match
         #   If present, only return default ACL listing if the bucket's current
         #   metageneration does not match the given value.
         # @param [String] fields
@@ -1129,7 +1130,7 @@ module Google
         # @param [String] entity
         #   The entity holding the permission. Can be user-userId, user-emailAddress,
         #   group-groupId, group-emailAddress, allUsers, or allAuthenticatedUsers.
-        # @param [String] generation
+        # @param [Fixnum] generation
         #   If present, selects a specific revision of this object (as opposed to the
         #   latest version, the default).
         # @param [String] fields
@@ -1174,7 +1175,7 @@ module Google
         # @param [String] entity
         #   The entity holding the permission. Can be user-userId, user-emailAddress,
         #   group-groupId, group-emailAddress, allUsers, or allAuthenticatedUsers.
-        # @param [String] generation
+        # @param [Fixnum] generation
         #   If present, selects a specific revision of this object (as opposed to the
         #   latest version, the default).
         # @param [String] fields
@@ -1219,7 +1220,7 @@ module Google
         #   Name of the object. For information about how to URL encode object names to be
         #   path safe, see Encoding URI Path Parts.
         # @param [Google::Apis::StorageV1::ObjectAccessControl] object_access_control_object
-        # @param [String] generation
+        # @param [Fixnum] generation
         #   If present, selects a specific revision of this object (as opposed to the
         #   latest version, the default).
         # @param [String] fields
@@ -1264,7 +1265,7 @@ module Google
         # @param [String] object
         #   Name of the object. For information about how to URL encode object names to be
         #   path safe, see Encoding URI Path Parts.
-        # @param [String] generation
+        # @param [Fixnum] generation
         #   If present, selects a specific revision of this object (as opposed to the
         #   latest version, the default).
         # @param [String] fields
@@ -1312,7 +1313,7 @@ module Google
         #   The entity holding the permission. Can be user-userId, user-emailAddress,
         #   group-groupId, group-emailAddress, allUsers, or allAuthenticatedUsers.
         # @param [Google::Apis::StorageV1::ObjectAccessControl] object_access_control_object
-        # @param [String] generation
+        # @param [Fixnum] generation
         #   If present, selects a specific revision of this object (as opposed to the
         #   latest version, the default).
         # @param [String] fields
@@ -1362,7 +1363,7 @@ module Google
         #   The entity holding the permission. Can be user-userId, user-emailAddress,
         #   group-groupId, group-emailAddress, allUsers, or allAuthenticatedUsers.
         # @param [Google::Apis::StorageV1::ObjectAccessControl] object_access_control_object
-        # @param [String] generation
+        # @param [Fixnum] generation
         #   If present, selects a specific revision of this object (as opposed to the
         #   latest version, the default).
         # @param [String] fields
@@ -1411,10 +1412,10 @@ module Google
         # @param [Google::Apis::StorageV1::ComposeRequest] compose_request_object
         # @param [String] destination_predefined_acl
         #   Apply a predefined set of access controls to the destination object.
-        # @param [String] if_generation_match
+        # @param [Fixnum] if_generation_match
         #   Makes the operation conditional on whether the object's current generation
         #   matches the given value.
-        # @param [String] if_metageneration_match
+        # @param [Fixnum] if_metageneration_match
         #   Makes the operation conditional on whether the object's current metageneration
         #   matches the given value.
         # @param [String] fields
@@ -1478,34 +1479,34 @@ module Google
         # @param [Google::Apis::StorageV1::Object] object_object
         # @param [String] destination_predefined_acl
         #   Apply a predefined set of access controls to the destination object.
-        # @param [String] if_generation_match
+        # @param [Fixnum] if_generation_match
         #   Makes the operation conditional on whether the destination object's current
         #   generation matches the given value.
-        # @param [String] if_generation_not_match
+        # @param [Fixnum] if_generation_not_match
         #   Makes the operation conditional on whether the destination object's current
         #   generation does not match the given value.
-        # @param [String] if_metageneration_match
+        # @param [Fixnum] if_metageneration_match
         #   Makes the operation conditional on whether the destination object's current
         #   metageneration matches the given value.
-        # @param [String] if_metageneration_not_match
+        # @param [Fixnum] if_metageneration_not_match
         #   Makes the operation conditional on whether the destination object's current
         #   metageneration does not match the given value.
-        # @param [String] if_source_generation_match
+        # @param [Fixnum] if_source_generation_match
         #   Makes the operation conditional on whether the source object's generation
         #   matches the given value.
-        # @param [String] if_source_generation_not_match
+        # @param [Fixnum] if_source_generation_not_match
         #   Makes the operation conditional on whether the source object's generation does
         #   not match the given value.
-        # @param [String] if_source_metageneration_match
+        # @param [Fixnum] if_source_metageneration_match
         #   Makes the operation conditional on whether the source object's current
         #   metageneration matches the given value.
-        # @param [String] if_source_metageneration_not_match
+        # @param [Fixnum] if_source_metageneration_not_match
         #   Makes the operation conditional on whether the source object's current
         #   metageneration does not match the given value.
         # @param [String] projection
         #   Set of properties to return. Defaults to noAcl, unless the object resource
         #   specifies the acl property, when it defaults to full.
-        # @param [String] source_generation
+        # @param [Fixnum] source_generation
         #   If present, selects a specific revision of the source object (as opposed to
         #   the latest version, the default).
         # @param [String] fields
@@ -1570,19 +1571,19 @@ module Google
         # @param [String] object
         #   Name of the object. For information about how to URL encode object names to be
         #   path safe, see Encoding URI Path Parts.
-        # @param [String] generation
+        # @param [Fixnum] generation
         #   If present, permanently deletes a specific revision of this object (as opposed
         #   to the latest version, the default).
-        # @param [String] if_generation_match
+        # @param [Fixnum] if_generation_match
         #   Makes the operation conditional on whether the object's current generation
         #   matches the given value.
-        # @param [String] if_generation_not_match
+        # @param [Fixnum] if_generation_not_match
         #   Makes the operation conditional on whether the object's current generation
         #   does not match the given value.
-        # @param [String] if_metageneration_match
+        # @param [Fixnum] if_metageneration_match
         #   Makes the operation conditional on whether the object's current metageneration
         #   matches the given value.
-        # @param [String] if_metageneration_not_match
+        # @param [Fixnum] if_metageneration_not_match
         #   Makes the operation conditional on whether the object's current metageneration
         #   does not match the given value.
         # @param [String] fields
@@ -1627,19 +1628,19 @@ module Google
         # @param [String] object
         #   Name of the object. For information about how to URL encode object names to be
         #   path safe, see Encoding URI Path Parts.
-        # @param [String] generation
+        # @param [Fixnum] generation
         #   If present, selects a specific revision of this object (as opposed to the
         #   latest version, the default).
-        # @param [String] if_generation_match
+        # @param [Fixnum] if_generation_match
         #   Makes the operation conditional on whether the object's generation matches the
         #   given value.
-        # @param [String] if_generation_not_match
+        # @param [Fixnum] if_generation_not_match
         #   Makes the operation conditional on whether the object's generation does not
         #   match the given value.
-        # @param [String] if_metageneration_match
+        # @param [Fixnum] if_metageneration_match
         #   Makes the operation conditional on whether the object's current metageneration
         #   matches the given value.
-        # @param [String] if_metageneration_not_match
+        # @param [Fixnum] if_metageneration_not_match
         #   Makes the operation conditional on whether the object's current metageneration
         #   does not match the given value.
         # @param [String] projection
@@ -1696,7 +1697,7 @@ module Google
         # @param [String] object
         #   Name of the object. For information about how to URL encode object names to be
         #   path safe, see Encoding URI Path Parts.
-        # @param [String] generation
+        # @param [Fixnum] generation
         #   If present, selects a specific revision of this object (as opposed to the
         #   latest version, the default).
         # @param [String] fields
@@ -1743,16 +1744,16 @@ module Google
         #   Setting this parameter is equivalent to setting the contentEncoding metadata
         #   property. This can be useful when uploading an object with uploadType=media to
         #   indicate the encoding of the content being uploaded.
-        # @param [String] if_generation_match
+        # @param [Fixnum] if_generation_match
         #   Makes the operation conditional on whether the object's current generation
         #   matches the given value.
-        # @param [String] if_generation_not_match
+        # @param [Fixnum] if_generation_not_match
         #   Makes the operation conditional on whether the object's current generation
         #   does not match the given value.
-        # @param [String] if_metageneration_match
+        # @param [Fixnum] if_metageneration_match
         #   Makes the operation conditional on whether the object's current metageneration
         #   matches the given value.
-        # @param [String] if_metageneration_not_match
+        # @param [Fixnum] if_metageneration_not_match
         #   Makes the operation conditional on whether the object's current metageneration
         #   does not match the given value.
         # @param [String] name
@@ -1886,19 +1887,19 @@ module Google
         #   Name of the object. For information about how to URL encode object names to be
         #   path safe, see Encoding URI Path Parts.
         # @param [Google::Apis::StorageV1::Object] object_object
-        # @param [String] generation
+        # @param [Fixnum] generation
         #   If present, selects a specific revision of this object (as opposed to the
         #   latest version, the default).
-        # @param [String] if_generation_match
+        # @param [Fixnum] if_generation_match
         #   Makes the operation conditional on whether the object's current generation
         #   matches the given value.
-        # @param [String] if_generation_not_match
+        # @param [Fixnum] if_generation_not_match
         #   Makes the operation conditional on whether the object's current generation
         #   does not match the given value.
-        # @param [String] if_metageneration_match
+        # @param [Fixnum] if_metageneration_match
         #   Makes the operation conditional on whether the object's current metageneration
         #   matches the given value.
-        # @param [String] if_metageneration_not_match
+        # @param [Fixnum] if_metageneration_not_match
         #   Makes the operation conditional on whether the object's current metageneration
         #   does not match the given value.
         # @param [String] predefined_acl
@@ -1965,31 +1966,31 @@ module Google
         # @param [Google::Apis::StorageV1::Object] object_object
         # @param [String] destination_predefined_acl
         #   Apply a predefined set of access controls to the destination object.
-        # @param [String] if_generation_match
+        # @param [Fixnum] if_generation_match
         #   Makes the operation conditional on whether the destination object's current
         #   generation matches the given value.
-        # @param [String] if_generation_not_match
+        # @param [Fixnum] if_generation_not_match
         #   Makes the operation conditional on whether the destination object's current
         #   generation does not match the given value.
-        # @param [String] if_metageneration_match
+        # @param [Fixnum] if_metageneration_match
         #   Makes the operation conditional on whether the destination object's current
         #   metageneration matches the given value.
-        # @param [String] if_metageneration_not_match
+        # @param [Fixnum] if_metageneration_not_match
         #   Makes the operation conditional on whether the destination object's current
         #   metageneration does not match the given value.
-        # @param [String] if_source_generation_match
+        # @param [Fixnum] if_source_generation_match
         #   Makes the operation conditional on whether the source object's generation
         #   matches the given value.
-        # @param [String] if_source_generation_not_match
+        # @param [Fixnum] if_source_generation_not_match
         #   Makes the operation conditional on whether the source object's generation does
         #   not match the given value.
-        # @param [String] if_source_metageneration_match
+        # @param [Fixnum] if_source_metageneration_match
         #   Makes the operation conditional on whether the source object's current
         #   metageneration matches the given value.
-        # @param [String] if_source_metageneration_not_match
+        # @param [Fixnum] if_source_metageneration_not_match
         #   Makes the operation conditional on whether the source object's current
         #   metageneration does not match the given value.
-        # @param [String] max_bytes_rewritten_per_call
+        # @param [Fixnum] max_bytes_rewritten_per_call
         #   The maximum number of bytes that will be rewritten per rewrite request. Most
         #   callers shouldn't need to specify this parameter - it is primarily in place to
         #   support testing. If specified the value must be an integral multiple of 1 MiB (
@@ -2005,7 +2006,7 @@ module Google
         #   Calls that provide a rewriteToken can omit all other request fields, but if
         #   included those fields must match the values provided in the first rewrite
         #   request.
-        # @param [String] source_generation
+        # @param [Fixnum] source_generation
         #   If present, selects a specific revision of the source object (as opposed to
         #   the latest version, the default).
         # @param [String] fields
@@ -2065,7 +2066,7 @@ module Google
         #   Name of the object. For information about how to URL encode object names to be
         #   path safe, see Encoding URI Path Parts.
         # @param [Google::Apis::StorageV1::Policy] policy_object
-        # @param [String] generation
+        # @param [Fixnum] generation
         #   If present, selects a specific revision of this object (as opposed to the
         #   latest version, the default).
         # @param [String] fields
@@ -2113,7 +2114,7 @@ module Google
         #   path safe, see Encoding URI Path Parts.
         # @param [Array, String] permissions
         #   Permissions to test.
-        # @param [String] generation
+        # @param [Fixnum] generation
         #   If present, selects a specific revision of this object (as opposed to the
         #   latest version, the default).
         # @param [String] fields
@@ -2158,19 +2159,19 @@ module Google
         #   Name of the object. For information about how to URL encode object names to be
         #   path safe, see Encoding URI Path Parts.
         # @param [Google::Apis::StorageV1::Object] object_object
-        # @param [String] generation
+        # @param [Fixnum] generation
         #   If present, selects a specific revision of this object (as opposed to the
         #   latest version, the default).
-        # @param [String] if_generation_match
+        # @param [Fixnum] if_generation_match
         #   Makes the operation conditional on whether the object's current generation
         #   matches the given value.
-        # @param [String] if_generation_not_match
+        # @param [Fixnum] if_generation_not_match
         #   Makes the operation conditional on whether the object's current generation
         #   does not match the given value.
-        # @param [String] if_metageneration_match
+        # @param [Fixnum] if_metageneration_match
         #   Makes the operation conditional on whether the object's current metageneration
         #   matches the given value.
-        # @param [String] if_metageneration_not_match
+        # @param [Fixnum] if_metageneration_not_match
         #   Makes the operation conditional on whether the object's current metageneration
         #   does not match the given value.
         # @param [String] predefined_acl
diff --git a/generated/google/apis/storagetransfer_v1/classes.rb b/generated/google/apis/storagetransfer_v1/classes.rb
index 63a18fb13..ed14a1005 100644
--- a/generated/google/apis/storagetransfer_v1/classes.rb
+++ b/generated/google/apis/storagetransfer_v1/classes.rb
@@ -22,6 +22,91 @@ module Google
   module Apis
     module StoragetransferV1
       
+      # The response message for Operations.ListOperations.
+      class ListOperationsResponse
+        include Google::Apis::Core::Hashable
+      
+        # The standard List next-page token.
+        # Corresponds to the JSON property `nextPageToken`
+        # @return [String]
+        attr_accessor :next_page_token
+      
+        # A list of operations that matches the specified filter in the request.
+        # Corresponds to the JSON property `operations`
+        # @return [Array]
+        attr_accessor :operations
+      
+        def initialize(**args)
+           update!(**args)
+        end
+      
+        # Update properties of this object
+        def update!(**args)
+          @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
+          @operations = args[:operations] if args.key?(:operations)
+        end
+      end
+      
+      # Google service account
+      class GoogleServiceAccount
+        include Google::Apis::Core::Hashable
+      
+        # Required.
+        # Corresponds to the JSON property `accountEmail`
+        # @return [String]
+        attr_accessor :account_email
+      
+        def initialize(**args)
+           update!(**args)
+        end
+      
+        # Update properties of this object
+        def update!(**args)
+          @account_email = args[:account_email] if args.key?(:account_email)
+        end
+      end
+      
+      # Represents a time of day. The date and time zone are either not significant
+      # or are specified elsewhere. An API may choose to allow leap seconds. Related
+      # types are google.type.Date and `google.protobuf.Timestamp`.
+      class TimeOfDay
+        include Google::Apis::Core::Hashable
+      
+        # Minutes of hour of day. Must be from 0 to 59.
+        # Corresponds to the JSON property `minutes`
+        # @return [Fixnum]
+        attr_accessor :minutes
+      
+        # Hours of day in 24 hour format. Should be from 0 to 23. An API may choose
+        # to allow the value "24:00:00" for scenarios like business closing time.
+        # Corresponds to the JSON property `hours`
+        # @return [Fixnum]
+        attr_accessor :hours
+      
+        # Fractions of seconds in nanoseconds. Must be from 0 to 999,999,999.
+        # Corresponds to the JSON property `nanos`
+        # @return [Fixnum]
+        attr_accessor :nanos
+      
+        # Seconds of minutes of the time. Must normally be from 0 to 59. An API may
+        # allow the value 60 if it allows leap-seconds.
+        # Corresponds to the JSON property `seconds`
+        # @return [Fixnum]
+        attr_accessor :seconds
+      
+        def initialize(**args)
+           update!(**args)
+        end
+      
+        # Update properties of this object
+        def update!(**args)
+          @minutes = args[:minutes] if args.key?(:minutes)
+          @hours = args[:hours] if args.key?(:hours)
+          @nanos = args[:nanos] if args.key?(:nanos)
+          @seconds = args[:seconds] if args.key?(:seconds)
+        end
+      end
+      
       # An entry describing an error that has occurred.
       class ErrorLogEntry
         include Google::Apis::Core::Hashable
@@ -54,6 +139,16 @@ module Google
       class TransferJob
         include Google::Apis::Core::Hashable
       
+        # This field cannot be changed by user requests.
+        # Corresponds to the JSON property `creationTime`
+        # @return [String]
+        attr_accessor :creation_time
+      
+        # Configuration for running a transfer.
+        # Corresponds to the JSON property `transferSpec`
+        # @return [Google::Apis::StoragetransferV1::TransferSpec]
+        attr_accessor :transfer_spec
+      
         # Status of the job. This value MUST be specified for
         # `CreateTransferJobRequests`.
         # NOTE: The effect of the new job status takes place during a subsequent job
@@ -99,22 +194,14 @@ module Google
         # @return [String]
         attr_accessor :description
       
-        # This field cannot be changed by user requests.
-        # Corresponds to the JSON property `creationTime`
-        # @return [String]
-        attr_accessor :creation_time
-      
-        # Configuration for running a transfer.
-        # Corresponds to the JSON property `transferSpec`
-        # @return [Google::Apis::StoragetransferV1::TransferSpec]
-        attr_accessor :transfer_spec
-      
         def initialize(**args)
            update!(**args)
         end
       
         # Update properties of this object
         def update!(**args)
+          @creation_time = args[:creation_time] if args.key?(:creation_time)
+          @transfer_spec = args[:transfer_spec] if args.key?(:transfer_spec)
           @status = args[:status] if args.key?(:status)
           @schedule = args[:schedule] if args.key?(:schedule)
           @name = args[:name] if args.key?(:name)
@@ -122,8 +209,6 @@ module Google
           @project_id = args[:project_id] if args.key?(:project_id)
           @last_modification_time = args[:last_modification_time] if args.key?(:last_modification_time)
           @description = args[:description] if args.key?(:description)
-          @creation_time = args[:creation_time] if args.key?(:creation_time)
-          @transfer_spec = args[:transfer_spec] if args.key?(:transfer_spec)
         end
       end
       
@@ -215,6 +300,11 @@ module Google
       class TransferOperation
         include Google::Apis::Core::Hashable
       
+        # Start time of this transfer execution.
+        # Corresponds to the JSON property `startTime`
+        # @return [String]
+        attr_accessor :start_time
+      
         # The name of the transfer job that triggers this transfer operation.
         # Corresponds to the JSON property `transferJobName`
         # @return [String]
@@ -225,16 +315,16 @@ module Google
         # @return [Google::Apis::StoragetransferV1::TransferSpec]
         attr_accessor :transfer_spec
       
-        # Status of the transfer operation.
-        # Corresponds to the JSON property `status`
-        # @return [String]
-        attr_accessor :status
-      
         # A collection of counters that report the progress of a transfer operation.
         # Corresponds to the JSON property `counters`
         # @return [Google::Apis::StoragetransferV1::TransferCounters]
         attr_accessor :counters
       
+        # Status of the transfer operation.
+        # Corresponds to the JSON property `status`
+        # @return [String]
+        attr_accessor :status
+      
         # Summarizes errors encountered with sample error log entries.
         # Corresponds to the JSON property `errorBreakdowns`
         # @return [Array]
@@ -256,26 +346,21 @@ module Google
         # @return [String]
         attr_accessor :end_time
       
-        # Start time of this transfer execution.
-        # Corresponds to the JSON property `startTime`
-        # @return [String]
-        attr_accessor :start_time
-      
         def initialize(**args)
            update!(**args)
         end
       
         # Update properties of this object
         def update!(**args)
+          @start_time = args[:start_time] if args.key?(:start_time)
           @transfer_job_name = args[:transfer_job_name] if args.key?(:transfer_job_name)
           @transfer_spec = args[:transfer_spec] if args.key?(:transfer_spec)
-          @status = args[:status] if args.key?(:status)
           @counters = args[:counters] if args.key?(:counters)
+          @status = args[:status] if args.key?(:status)
           @error_breakdowns = args[:error_breakdowns] if args.key?(:error_breakdowns)
           @name = args[:name] if args.key?(:name)
           @project_id = args[:project_id] if args.key?(:project_id)
           @end_time = args[:end_time] if args.key?(:end_time)
-          @start_time = args[:start_time] if args.key?(:start_time)
         end
       end
       
@@ -284,13 +369,6 @@ module Google
       class AwsS3Data
         include Google::Apis::Core::Hashable
       
-        # AWS access key (see
-        # [AWS Security Credentials](http://docs.aws.amazon.com/general/latest/gr/aws-
-        # security-credentials.html)).
-        # Corresponds to the JSON property `awsAccessKey`
-        # @return [Google::Apis::StoragetransferV1::AwsAccessKey]
-        attr_accessor :aws_access_key
-      
         # S3 Bucket name (see
         # [Creating a bucket](http://docs.aws.amazon.com/AmazonS3/latest/dev/create-
         # bucket-get-location-example.html)).
@@ -299,14 +377,40 @@ module Google
         # @return [String]
         attr_accessor :bucket_name
       
+        # AWS access key (see
+        # [AWS Security Credentials](http://docs.aws.amazon.com/general/latest/gr/aws-
+        # security-credentials.html)).
+        # Corresponds to the JSON property `awsAccessKey`
+        # @return [Google::Apis::StoragetransferV1::AwsAccessKey]
+        attr_accessor :aws_access_key
+      
         def initialize(**args)
            update!(**args)
         end
       
         # Update properties of this object
         def update!(**args)
-          @aws_access_key = args[:aws_access_key] if args.key?(:aws_access_key)
           @bucket_name = args[:bucket_name] if args.key?(:bucket_name)
+          @aws_access_key = args[:aws_access_key] if args.key?(:aws_access_key)
+        end
+      end
+      
+      # A generic empty message that you can re-use to avoid defining duplicated
+      # empty messages in your APIs. A typical example is to use it as the request
+      # or the response type of an API method. For instance:
+      # service Foo `
+      # rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty);
+      # `
+      # The JSON representation for `Empty` is empty JSON object ````.
+      class Empty
+        include Google::Apis::Core::Hashable
+      
+        def initialize(**args)
+           update!(**args)
+        end
+      
+        # Update properties of this object
+        def update!(**args)
         end
       end
       
@@ -339,25 +443,6 @@ module Google
         end
       end
       
-      # A generic empty message that you can re-use to avoid defining duplicated
-      # empty messages in your APIs. A typical example is to use it as the request
-      # or the response type of an API method. For instance:
-      # service Foo `
-      # rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty);
-      # `
-      # The JSON representation for `Empty` is empty JSON object ````.
-      class Empty
-        include Google::Apis::Core::Hashable
-      
-        def initialize(**args)
-           update!(**args)
-        end
-      
-        # Update properties of this object
-        def update!(**args)
-        end
-      end
-      
       # Request passed to PauseTransferOperation.
       class PauseTransferOperationRequest
         include Google::Apis::Core::Hashable
@@ -375,91 +460,91 @@ module Google
       class TransferCounters
         include Google::Apis::Core::Hashable
       
-        # Bytes that are deleted from the data source.
-        # Corresponds to the JSON property `bytesDeletedFromSource`
-        # @return [String]
-        attr_accessor :bytes_deleted_from_source
-      
-        # Objects found in the data source that are scheduled to be transferred,
-        # which will be copied, excluded based on conditions, or skipped due to
-        # failures.
-        # Corresponds to the JSON property `objectsFoundFromSource`
-        # @return [String]
-        attr_accessor :objects_found_from_source
-      
-        # Objects that failed to be deleted from the data sink.
-        # Corresponds to the JSON property `objectsFailedToDeleteFromSink`
-        # @return [String]
-        attr_accessor :objects_failed_to_delete_from_sink
-      
-        # Objects that are deleted from the data sink.
-        # Corresponds to the JSON property `objectsDeletedFromSink`
-        # @return [String]
-        attr_accessor :objects_deleted_from_sink
-      
-        # Objects found only in the data sink that are scheduled to be deleted.
-        # Corresponds to the JSON property `objectsFoundOnlyFromSink`
-        # @return [String]
-        attr_accessor :objects_found_only_from_sink
-      
-        # Bytes in the data source that are not transferred because they already
+        # Objects in the data source that are not transferred because they already
         # exist in the data sink.
-        # Corresponds to the JSON property `bytesFromSourceSkippedBySync`
-        # @return [String]
-        attr_accessor :bytes_from_source_skipped_by_sync
-      
-        # Bytes that are deleted from the data sink.
-        # Corresponds to the JSON property `bytesDeletedFromSink`
-        # @return [String]
-        attr_accessor :bytes_deleted_from_sink
-      
-        # Bytes that failed to be deleted from the data sink.
-        # Corresponds to the JSON property `bytesFailedToDeleteFromSink`
-        # @return [String]
-        attr_accessor :bytes_failed_to_delete_from_sink
-      
-        # Bytes in the data source that failed during the transfer.
-        # Corresponds to the JSON property `bytesFromSourceFailed`
-        # @return [String]
-        attr_accessor :bytes_from_source_failed
-      
-        # Objects in the data source that failed during the transfer.
-        # Corresponds to the JSON property `objectsFromSourceFailed`
-        # @return [String]
-        attr_accessor :objects_from_source_failed
-      
-        # Objects that are copied to the data sink.
-        # Corresponds to the JSON property `objectsCopiedToSink`
-        # @return [String]
-        attr_accessor :objects_copied_to_sink
-      
-        # Bytes found only in the data sink that are scheduled to be deleted.
-        # Corresponds to the JSON property `bytesFoundOnlyFromSink`
-        # @return [String]
-        attr_accessor :bytes_found_only_from_sink
-      
-        # Objects that are deleted from the data source.
-        # Corresponds to the JSON property `objectsDeletedFromSource`
-        # @return [String]
-        attr_accessor :objects_deleted_from_source
-      
-        # Bytes that are copied to the data sink.
-        # Corresponds to the JSON property `bytesCopiedToSink`
-        # @return [String]
-        attr_accessor :bytes_copied_to_sink
+        # Corresponds to the JSON property `objectsFromSourceSkippedBySync`
+        # @return [Fixnum]
+        attr_accessor :objects_from_source_skipped_by_sync
       
         # Bytes found in the data source that are scheduled to be transferred,
         # which will be copied, excluded based on conditions, or skipped due to
         # failures.
         # Corresponds to the JSON property `bytesFoundFromSource`
-        # @return [String]
+        # @return [Fixnum]
         attr_accessor :bytes_found_from_source
       
-        # Objects in the data source that are not transferred because they already
+        # Objects found in the data source that are scheduled to be transferred,
+        # which will be copied, excluded based on conditions, or skipped due to
+        # failures.
+        # Corresponds to the JSON property `objectsFoundFromSource`
+        # @return [Fixnum]
+        attr_accessor :objects_found_from_source
+      
+        # Bytes that are deleted from the data source.
+        # Corresponds to the JSON property `bytesDeletedFromSource`
+        # @return [Fixnum]
+        attr_accessor :bytes_deleted_from_source
+      
+        # Objects that failed to be deleted from the data sink.
+        # Corresponds to the JSON property `objectsFailedToDeleteFromSink`
+        # @return [Fixnum]
+        attr_accessor :objects_failed_to_delete_from_sink
+      
+        # Objects found only in the data sink that are scheduled to be deleted.
+        # Corresponds to the JSON property `objectsFoundOnlyFromSink`
+        # @return [Fixnum]
+        attr_accessor :objects_found_only_from_sink
+      
+        # Objects that are deleted from the data sink.
+        # Corresponds to the JSON property `objectsDeletedFromSink`
+        # @return [Fixnum]
+        attr_accessor :objects_deleted_from_sink
+      
+        # Bytes in the data source that are not transferred because they already
         # exist in the data sink.
-        # Corresponds to the JSON property `objectsFromSourceSkippedBySync`
-        # @return [String]
-        attr_accessor :objects_from_source_skipped_by_sync
+        # Corresponds to the JSON property `bytesFromSourceSkippedBySync`
+        # @return [Fixnum]
+        attr_accessor :bytes_from_source_skipped_by_sync
+      
+        # Bytes that are deleted from the data sink.
+        # Corresponds to the JSON property `bytesDeletedFromSink`
+        # @return [Fixnum]
+        attr_accessor :bytes_deleted_from_sink
+      
+        # Bytes that failed to be deleted from the data sink.
+        # Corresponds to the JSON property `bytesFailedToDeleteFromSink`
+        # @return [Fixnum]
+        attr_accessor :bytes_failed_to_delete_from_sink
+      
+        # Bytes in the data source that failed during the transfer.
+        # Corresponds to the JSON property `bytesFromSourceFailed`
+        # @return [Fixnum]
+        attr_accessor :bytes_from_source_failed
+      
+        # Objects in the data source that failed during the transfer.
+        # Corresponds to the JSON property `objectsFromSourceFailed`
+        # @return [Fixnum]
+        attr_accessor :objects_from_source_failed
+      
+        # Objects that are copied to the data sink.
+        # Corresponds to the JSON property `objectsCopiedToSink`
+        # @return [Fixnum]
+        attr_accessor :objects_copied_to_sink
+      
+        # Bytes found only in the data sink that are scheduled to be deleted.
+        # Corresponds to the JSON property `bytesFoundOnlyFromSink`
+        # @return [Fixnum]
+        attr_accessor :bytes_found_only_from_sink
+      
+        # Objects that are deleted from the data source.
+        # Corresponds to the JSON property `objectsDeletedFromSource`
+        # @return [Fixnum]
+        attr_accessor :objects_deleted_from_source
+      
+        # Bytes that are copied to the data sink.
+        # Corresponds to the JSON property `bytesCopiedToSink`
+        # @return [Fixnum]
+        attr_accessor :bytes_copied_to_sink
       
         def initialize(**args)
            update!(**args)
@@ -467,11 +552,13 @@ module Google
       
         # Update properties of this object
         def update!(**args)
-          @bytes_deleted_from_source = args[:bytes_deleted_from_source] if args.key?(:bytes_deleted_from_source)
+          @objects_from_source_skipped_by_sync = args[:objects_from_source_skipped_by_sync] if args.key?(:objects_from_source_skipped_by_sync)
+          @bytes_found_from_source = args[:bytes_found_from_source] if args.key?(:bytes_found_from_source)
           @objects_found_from_source = args[:objects_found_from_source] if args.key?(:objects_found_from_source)
+          @bytes_deleted_from_source = args[:bytes_deleted_from_source] if args.key?(:bytes_deleted_from_source)
           @objects_failed_to_delete_from_sink = args[:objects_failed_to_delete_from_sink] if args.key?(:objects_failed_to_delete_from_sink)
-          @objects_deleted_from_sink = args[:objects_deleted_from_sink] if args.key?(:objects_deleted_from_sink)
           @objects_found_only_from_sink = args[:objects_found_only_from_sink] if args.key?(:objects_found_only_from_sink)
+          @objects_deleted_from_sink = args[:objects_deleted_from_sink] if args.key?(:objects_deleted_from_sink)
           @bytes_from_source_skipped_by_sync = args[:bytes_from_source_skipped_by_sync] if args.key?(:bytes_from_source_skipped_by_sync)
           @bytes_deleted_from_sink = args[:bytes_deleted_from_sink] if args.key?(:bytes_deleted_from_sink)
           @bytes_failed_to_delete_from_sink = args[:bytes_failed_to_delete_from_sink] if args.key?(:bytes_failed_to_delete_from_sink)
@@ -481,8 +568,6 @@ module Google
           @bytes_found_only_from_sink = args[:bytes_found_only_from_sink] if args.key?(:bytes_found_only_from_sink)
           @objects_deleted_from_source = args[:objects_deleted_from_source] if args.key?(:objects_deleted_from_source)
           @bytes_copied_to_sink = args[:bytes_copied_to_sink] if args.key?(:bytes_copied_to_sink)
-          @bytes_found_from_source = args[:bytes_found_from_source] if args.key?(:bytes_found_from_source)
-          @objects_from_source_skipped_by_sync = args[:objects_from_source_skipped_by_sync] if args.key?(:objects_from_source_skipped_by_sync)
         end
       end
       
@@ -499,7 +584,7 @@ module Google
         # Count of this type of error.
         # Required.
         # Corresponds to the JSON property `errorCount`
-        # @return [String]
+        # @return [Fixnum]
         attr_accessor :error_count
       
         # Error samples.
@@ -662,12 +747,6 @@ module Google
       class ObjectConditions
         include Google::Apis::Core::Hashable
       
-        # `maxTimeElapsedSinceLastModification` is the complement to
-        # `minTimeElapsedSinceLastModification`.
-        # Corresponds to the JSON property `maxTimeElapsedSinceLastModification`
-        # @return [String]
-        attr_accessor :max_time_elapsed_since_last_modification
-      
         # If `includePrefixes` is specified, objects that satisfy the object
         # conditions must have names that start with one of the `includePrefixes`
         # and that do not start with any of the `excludePrefixes`. If `includePrefixes`
@@ -715,16 +794,22 @@ module Google
         # @return [Array]
         attr_accessor :exclude_prefixes
       
+        # `maxTimeElapsedSinceLastModification` is the complement to
+        # `minTimeElapsedSinceLastModification`.
+        # Corresponds to the JSON property `maxTimeElapsedSinceLastModification`
+        # @return [String]
+        attr_accessor :max_time_elapsed_since_last_modification
+      
         def initialize(**args)
            update!(**args)
         end
       
         # Update properties of this object
         def update!(**args)
-          @max_time_elapsed_since_last_modification = args[:max_time_elapsed_since_last_modification] if args.key?(:max_time_elapsed_since_last_modification)
           @include_prefixes = args[:include_prefixes] if args.key?(:include_prefixes)
           @min_time_elapsed_since_last_modification = args[:min_time_elapsed_since_last_modification] if args.key?(:min_time_elapsed_since_last_modification)
           @exclude_prefixes = args[:exclude_prefixes] if args.key?(:exclude_prefixes)
+          @max_time_elapsed_since_last_modification = args[:max_time_elapsed_since_last_modification] if args.key?(:max_time_elapsed_since_last_modification)
         end
       end
       
@@ -733,14 +818,6 @@ module Google
       class Operation
         include Google::Apis::Core::Hashable
       
-        # If the value is `false`, it means the operation is still in progress.
-        # If true, the operation is completed, and either `error` or `response` is
-        # available.
-        # Corresponds to the JSON property `done`
-        # @return [Boolean]
-        attr_accessor :done
-        alias_method :done?, :done
-      
         # The normal response of the operation in case of success.  If the original
         # method returns no data on success, such as `Delete`, the response is
         # `google.protobuf.Empty`.  If the original method is standard
@@ -808,53 +885,25 @@ module Google
         # @return [Hash]
         attr_accessor :metadata
       
+        # If the value is `false`, it means the operation is still in progress.
+        # If true, the operation is completed, and either `error` or `response` is
+        # available.
+        # Corresponds to the JSON property `done`
+        # @return [Boolean]
+        attr_accessor :done
+        alias_method :done?, :done
+      
         def initialize(**args)
            update!(**args)
         end
       
         # Update properties of this object
         def update!(**args)
-          @done = args[:done] if args.key?(:done)
           @response = args[:response] if args.key?(:response)
           @name = args[:name] if args.key?(:name)
           @error = args[:error] if args.key?(:error)
           @metadata = args[:metadata] if args.key?(:metadata)
-        end
-      end
-      
-      # TransferOptions uses three boolean parameters to define the actions
-      # to be performed on objects in a transfer.
-      class TransferOptions
-        include Google::Apis::Core::Hashable
-      
-        # Whether overwriting objects that already exist in the sink is allowed.
-        # Corresponds to the JSON property `overwriteObjectsAlreadyExistingInSink`
-        # @return [Boolean]
-        attr_accessor :overwrite_objects_already_existing_in_sink
-        alias_method :overwrite_objects_already_existing_in_sink?, :overwrite_objects_already_existing_in_sink
-      
-        # Whether objects should be deleted from the source after they are
-        # transferred to the sink.
-        # Corresponds to the JSON property `deleteObjectsFromSourceAfterTransfer`
-        # @return [Boolean]
-        attr_accessor :delete_objects_from_source_after_transfer
-        alias_method :delete_objects_from_source_after_transfer?, :delete_objects_from_source_after_transfer
-      
-        # Whether objects that exist only in the sink should be deleted.
-        # Corresponds to the JSON property `deleteObjectsUniqueInSink`
-        # @return [Boolean]
-        attr_accessor :delete_objects_unique_in_sink
-        alias_method :delete_objects_unique_in_sink?, :delete_objects_unique_in_sink
-      
-        def initialize(**args)
-           update!(**args)
-        end
-      
-        # Update properties of this object
-        def update!(**args)
-          @overwrite_objects_already_existing_in_sink = args[:overwrite_objects_already_existing_in_sink] if args.key?(:overwrite_objects_already_existing_in_sink)
-          @delete_objects_from_source_after_transfer = args[:delete_objects_from_source_after_transfer] if args.key?(:delete_objects_from_source_after_transfer)
-          @delete_objects_unique_in_sink = args[:delete_objects_unique_in_sink] if args.key?(:delete_objects_unique_in_sink)
+          @done = args[:done] if args.key?(:done)
         end
       end
       
@@ -862,19 +911,6 @@ module Google
       class TransferSpec
         include Google::Apis::Core::Hashable
       
-        # In a GcsData, an object's name is the Google Cloud Storage object's name and
-        # its `lastModificationTime` refers to the object's updated time, which changes
-        # when the content or the metadata of the object is updated.
-        # Corresponds to the JSON property `gcsDataSource`
-        # @return [Google::Apis::StoragetransferV1::GcsData]
-        attr_accessor :gcs_data_source
-      
-        # TransferOptions uses three boolean parameters to define the actions
-        # to be performed on objects in a transfer.
-        # Corresponds to the JSON property `transferOptions`
-        # @return [Google::Apis::StoragetransferV1::TransferOptions]
-        attr_accessor :transfer_options
-      
         # An AwsS3Data can be a data source, but not a data sink.
         # In an AwsS3Data, an object's name is the S3 object's key name.
         # Corresponds to the JSON property `awsS3DataSource`
@@ -928,31 +964,67 @@ module Google
         # @return [Google::Apis::StoragetransferV1::GcsData]
         attr_accessor :gcs_data_sink
       
+        # In a GcsData, an object's name is the Google Cloud Storage object's name and
+        # its `lastModificationTime` refers to the object's updated time, which changes
+        # when the content or the metadata of the object is updated.
+        # Corresponds to the JSON property `gcsDataSource`
+        # @return [Google::Apis::StoragetransferV1::GcsData]
+        attr_accessor :gcs_data_source
+      
+        # TransferOptions uses three boolean parameters to define the actions
+        # to be performed on objects in a transfer.
+        # Corresponds to the JSON property `transferOptions`
+        # @return [Google::Apis::StoragetransferV1::TransferOptions]
+        attr_accessor :transfer_options
+      
         def initialize(**args)
            update!(**args)
         end
       
         # Update properties of this object
         def update!(**args)
-          @gcs_data_source = args[:gcs_data_source] if args.key?(:gcs_data_source)
-          @transfer_options = args[:transfer_options] if args.key?(:transfer_options)
           @aws_s3_data_source = args[:aws_s3_data_source] if args.key?(:aws_s3_data_source)
           @http_data_source = args[:http_data_source] if args.key?(:http_data_source)
           @object_conditions = args[:object_conditions] if args.key?(:object_conditions)
           @gcs_data_sink = args[:gcs_data_sink] if args.key?(:gcs_data_sink)
+          @gcs_data_source = args[:gcs_data_source] if args.key?(:gcs_data_source)
+          @transfer_options = args[:transfer_options] if args.key?(:transfer_options)
         end
       end
       
-      # Request passed to ResumeTransferOperation.
-      class ResumeTransferOperationRequest
+      # TransferOptions uses three boolean parameters to define the actions
+      # to be performed on objects in a transfer.
+      class TransferOptions
         include Google::Apis::Core::Hashable
       
+        # Whether objects that exist only in the sink should be deleted.
+        # Corresponds to the JSON property `deleteObjectsUniqueInSink`
+        # @return [Boolean]
+        attr_accessor :delete_objects_unique_in_sink
+        alias_method :delete_objects_unique_in_sink?, :delete_objects_unique_in_sink
+      
+        # Whether overwriting objects that already exist in the sink is allowed.
+        # Corresponds to the JSON property `overwriteObjectsAlreadyExistingInSink`
+        # @return [Boolean]
+        attr_accessor :overwrite_objects_already_existing_in_sink
+        alias_method :overwrite_objects_already_existing_in_sink?, :overwrite_objects_already_existing_in_sink
+      
+        # Whether objects should be deleted from the source after they are
+        # transferred to the sink.
+        # Corresponds to the JSON property `deleteObjectsFromSourceAfterTransfer`
+        # @return [Boolean]
+        attr_accessor :delete_objects_from_source_after_transfer
+        alias_method :delete_objects_from_source_after_transfer?, :delete_objects_from_source_after_transfer
+      
         def initialize(**args)
            update!(**args)
         end
       
         # Update properties of this object
         def update!(**args)
+          @delete_objects_unique_in_sink = args[:delete_objects_unique_in_sink] if args.key?(:delete_objects_unique_in_sink)
+          @overwrite_objects_already_existing_in_sink = args[:overwrite_objects_already_existing_in_sink] if args.key?(:overwrite_objects_already_existing_in_sink)
+          @delete_objects_from_source_after_transfer = args[:delete_objects_from_source_after_transfer] if args.key?(:delete_objects_from_source_after_transfer)
         end
       end
       
@@ -998,11 +1070,6 @@ module Google
       class Status
         include Google::Apis::Core::Hashable
       
-        # The status code, which should be an enum value of google.rpc.Code.
-        # Corresponds to the JSON property `code`
-        # @return [Fixnum]
-        attr_accessor :code
-      
         # A developer-facing error message, which should be in English. Any
         # user-facing error message should be localized and sent in the
         # google.rpc.Status.details field, or localized by the client.
@@ -1016,100 +1083,33 @@ module Google
         # @return [Array>]
         attr_accessor :details
       
+        # The status code, which should be an enum value of google.rpc.Code.
+        # Corresponds to the JSON property `code`
+        # @return [Fixnum]
+        attr_accessor :code
+      
         def initialize(**args)
            update!(**args)
         end
       
         # Update properties of this object
         def update!(**args)
-          @code = args[:code] if args.key?(:code)
           @message = args[:message] if args.key?(:message)
           @details = args[:details] if args.key?(:details)
+          @code = args[:code] if args.key?(:code)
         end
       end
       
-      # The response message for Operations.ListOperations.
-      class ListOperationsResponse
+      # Request passed to ResumeTransferOperation.
+      class ResumeTransferOperationRequest
         include Google::Apis::Core::Hashable
       
-        # The standard List next-page token.
-        # Corresponds to the JSON property `nextPageToken`
-        # @return [String]
-        attr_accessor :next_page_token
-      
-        # A list of operations that matches the specified filter in the request.
-        # Corresponds to the JSON property `operations`
-        # @return [Array]
-        attr_accessor :operations
-      
         def initialize(**args)
            update!(**args)
         end
       
         # Update properties of this object
         def update!(**args)
-          @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
-          @operations = args[:operations] if args.key?(:operations)
-        end
-      end
-      
-      # Google service account
-      class GoogleServiceAccount
-        include Google::Apis::Core::Hashable
-      
-        # Required.
-        # Corresponds to the JSON property `accountEmail`
-        # @return [String]
-        attr_accessor :account_email
-      
-        def initialize(**args)
-           update!(**args)
-        end
-      
-        # Update properties of this object
-        def update!(**args)
-          @account_email = args[:account_email] if args.key?(:account_email)
-        end
-      end
-      
-      # Represents a time of day. The date and time zone are either not significant
-      # or are specified elsewhere. An API may choose to allow leap seconds. Related
-      # types are google.type.Date and `google.protobuf.Timestamp`.
-      class TimeOfDay
-        include Google::Apis::Core::Hashable
-      
-        # Hours of day in 24 hour format. Should be from 0 to 23. An API may choose
-        # to allow the value "24:00:00" for scenarios like business closing time.
-        # Corresponds to the JSON property `hours`
-        # @return [Fixnum]
-        attr_accessor :hours
-      
-        # Fractions of seconds in nanoseconds. Must be from 0 to 999,999,999.
-        # Corresponds to the JSON property `nanos`
-        # @return [Fixnum]
-        attr_accessor :nanos
-      
-        # Seconds of minutes of the time. Must normally be from 0 to 59. An API may
-        # allow the value 60 if it allows leap-seconds.
-        # Corresponds to the JSON property `seconds`
-        # @return [Fixnum]
-        attr_accessor :seconds
-      
-        # Minutes of hour of day. Must be from 0 to 59.
-        # Corresponds to the JSON property `minutes`
-        # @return [Fixnum]
-        attr_accessor :minutes
-      
-        def initialize(**args)
-           update!(**args)
-        end
-      
-        # Update properties of this object
-        def update!(**args)
-          @hours = args[:hours] if args.key?(:hours)
-          @nanos = args[:nanos] if args.key?(:nanos)
-          @seconds = args[:seconds] if args.key?(:seconds)
-          @minutes = args[:minutes] if args.key?(:minutes)
         end
       end
     end
diff --git a/generated/google/apis/storagetransfer_v1/representations.rb b/generated/google/apis/storagetransfer_v1/representations.rb
index 9c7c901b8..cccc3de37 100644
--- a/generated/google/apis/storagetransfer_v1/representations.rb
+++ b/generated/google/apis/storagetransfer_v1/representations.rb
@@ -22,6 +22,24 @@ module Google
   module Apis
     module StoragetransferV1
       
+      class ListOperationsResponse
+        class Representation < Google::Apis::Core::JsonRepresentation; end
+      
+        include Google::Apis::Core::JsonObjectSupport
+      end
+      
+      class GoogleServiceAccount
+        class Representation < Google::Apis::Core::JsonRepresentation; end
+      
+        include Google::Apis::Core::JsonObjectSupport
+      end
+      
+      class TimeOfDay
+        class Representation < Google::Apis::Core::JsonRepresentation; end
+      
+        include Google::Apis::Core::JsonObjectSupport
+      end
+      
       class ErrorLogEntry
         class Representation < Google::Apis::Core::JsonRepresentation; end
       
@@ -58,13 +76,13 @@ module Google
         include Google::Apis::Core::JsonObjectSupport
       end
       
-      class AwsAccessKey
+      class Empty
         class Representation < Google::Apis::Core::JsonRepresentation; end
       
         include Google::Apis::Core::JsonObjectSupport
       end
       
-      class Empty
+      class AwsAccessKey
         class Representation < Google::Apis::Core::JsonRepresentation; end
       
         include Google::Apis::Core::JsonObjectSupport
@@ -124,19 +142,13 @@ module Google
         include Google::Apis::Core::JsonObjectSupport
       end
       
-      class TransferOptions
-        class Representation < Google::Apis::Core::JsonRepresentation; end
-      
-        include Google::Apis::Core::JsonObjectSupport
-      end
-      
       class TransferSpec
         class Representation < Google::Apis::Core::JsonRepresentation; end
       
         include Google::Apis::Core::JsonObjectSupport
       end
       
-      class ResumeTransferOperationRequest
+      class TransferOptions
         class Representation < Google::Apis::Core::JsonRepresentation; end
       
         include Google::Apis::Core::JsonObjectSupport
@@ -148,22 +160,36 @@ module Google
         include Google::Apis::Core::JsonObjectSupport
       end
       
-      class ListOperationsResponse
+      class ResumeTransferOperationRequest
         class Representation < Google::Apis::Core::JsonRepresentation; end
       
         include Google::Apis::Core::JsonObjectSupport
       end
       
+      class ListOperationsResponse
+        # @private
+        class Representation < Google::Apis::Core::JsonRepresentation
+          property :next_page_token, as: 'nextPageToken'
+          collection :operations, as: 'operations', class: Google::Apis::StoragetransferV1::Operation, decorator: Google::Apis::StoragetransferV1::Operation::Representation
+      
+        end
+      end
+      
       class GoogleServiceAccount
-        class Representation < Google::Apis::Core::JsonRepresentation; end
-      
-        include Google::Apis::Core::JsonObjectSupport
+        # @private
+        class Representation < Google::Apis::Core::JsonRepresentation
+          property :account_email, as: 'accountEmail'
+        end
       end
       
       class TimeOfDay
-        class Representation < Google::Apis::Core::JsonRepresentation; end
-      
-        include Google::Apis::Core::JsonObjectSupport
+        # @private
+        class Representation < Google::Apis::Core::JsonRepresentation
+          property :minutes, as: 'minutes'
+          property :hours, as: 'hours'
+          property :nanos, as: 'nanos'
+          property :seconds, as: 'seconds'
+        end
       end
       
       class ErrorLogEntry
@@ -177,6 +203,9 @@ module Google
       class TransferJob
         # @private
         class Representation < Google::Apis::Core::JsonRepresentation
+          property :creation_time, as: 'creationTime'
+          property :transfer_spec, as: 'transferSpec', class: Google::Apis::StoragetransferV1::TransferSpec, decorator: Google::Apis::StoragetransferV1::TransferSpec::Representation
+      
           property :status, as: 'status'
           property :schedule, as: 'schedule', class: Google::Apis::StoragetransferV1::Schedule, decorator: Google::Apis::StoragetransferV1::Schedule::Representation
       
@@ -185,9 +214,6 @@ module Google
           property :project_id, as: 'projectId'
           property :last_modification_time, as: 'lastModificationTime'
           property :description, as: 'description'
-          property :creation_time, as: 'creationTime'
-          property :transfer_spec, as: 'transferSpec', class: Google::Apis::StoragetransferV1::TransferSpec, decorator: Google::Apis::StoragetransferV1::TransferSpec::Representation
-      
         end
       end
       
@@ -215,27 +241,33 @@ module Google
       class TransferOperation
         # @private
         class Representation < Google::Apis::Core::JsonRepresentation
+          property :start_time, as: 'startTime'
           property :transfer_job_name, as: 'transferJobName'
           property :transfer_spec, as: 'transferSpec', class: Google::Apis::StoragetransferV1::TransferSpec, decorator: Google::Apis::StoragetransferV1::TransferSpec::Representation
       
-          property :status, as: 'status'
           property :counters, as: 'counters', class: Google::Apis::StoragetransferV1::TransferCounters, decorator: Google::Apis::StoragetransferV1::TransferCounters::Representation
       
+          property :status, as: 'status'
           collection :error_breakdowns, as: 'errorBreakdowns', class: Google::Apis::StoragetransferV1::ErrorSummary, decorator: Google::Apis::StoragetransferV1::ErrorSummary::Representation
       
           property :name, as: 'name'
           property :project_id, as: 'projectId'
           property :end_time, as: 'endTime'
-          property :start_time, as: 'startTime'
         end
       end
       
       class AwsS3Data
         # @private
         class Representation < Google::Apis::Core::JsonRepresentation
+          property :bucket_name, as: 'bucketName'
           property :aws_access_key, as: 'awsAccessKey', class: Google::Apis::StoragetransferV1::AwsAccessKey, decorator: Google::Apis::StoragetransferV1::AwsAccessKey::Representation
       
-          property :bucket_name, as: 'bucketName'
+        end
+      end
+      
+      class Empty
+        # @private
+        class Representation < Google::Apis::Core::JsonRepresentation
         end
       end
       
@@ -247,12 +279,6 @@ module Google
         end
       end
       
-      class Empty
-        # @private
-        class Representation < Google::Apis::Core::JsonRepresentation
-        end
-      end
-      
       class PauseTransferOperationRequest
         # @private
         class Representation < Google::Apis::Core::JsonRepresentation
@@ -262,22 +288,22 @@ module Google
       class TransferCounters
         # @private
         class Representation < Google::Apis::Core::JsonRepresentation
-          property :bytes_deleted_from_source, as: 'bytesDeletedFromSource'
-          property :objects_found_from_source, as: 'objectsFoundFromSource'
-          property :objects_failed_to_delete_from_sink, as: 'objectsFailedToDeleteFromSink'
-          property :objects_deleted_from_sink, as: 'objectsDeletedFromSink'
-          property :objects_found_only_from_sink, as: 'objectsFoundOnlyFromSink'
-          property :bytes_from_source_skipped_by_sync, as: 'bytesFromSourceSkippedBySync'
-          property :bytes_deleted_from_sink, as: 'bytesDeletedFromSink'
-          property :bytes_failed_to_delete_from_sink, as: 'bytesFailedToDeleteFromSink'
-          property :bytes_from_source_failed, as: 'bytesFromSourceFailed'
-          property :objects_from_source_failed, as: 'objectsFromSourceFailed'
-          property :objects_copied_to_sink, as: 'objectsCopiedToSink'
-          property :bytes_found_only_from_sink, as: 'bytesFoundOnlyFromSink'
-          property :objects_deleted_from_source, as: 'objectsDeletedFromSource'
-          property :bytes_copied_to_sink, as: 'bytesCopiedToSink'
-          property :bytes_found_from_source, as: 'bytesFoundFromSource'
-          property :objects_from_source_skipped_by_sync, as: 'objectsFromSourceSkippedBySync'
+          property :objects_from_source_skipped_by_sync, :numeric_string => true, as: 'objectsFromSourceSkippedBySync'
+          property :bytes_found_from_source, :numeric_string => true, as: 'bytesFoundFromSource'
+          property :objects_found_from_source, :numeric_string => true, as: 'objectsFoundFromSource'
+          property :bytes_deleted_from_source, :numeric_string => true, as: 'bytesDeletedFromSource'
+          property :objects_failed_to_delete_from_sink, :numeric_string => true, as: 'objectsFailedToDeleteFromSink'
+          property :objects_found_only_from_sink, :numeric_string => true, as: 'objectsFoundOnlyFromSink'
+          property :objects_deleted_from_sink, :numeric_string => true, as: 'objectsDeletedFromSink'
+          property :bytes_from_source_skipped_by_sync, :numeric_string => true, as: 'bytesFromSourceSkippedBySync'
+          property :bytes_deleted_from_sink, :numeric_string => true, as: 'bytesDeletedFromSink'
+          property :bytes_failed_to_delete_from_sink, :numeric_string => true, as: 'bytesFailedToDeleteFromSink'
+          property :bytes_from_source_failed, :numeric_string => true, as: 'bytesFromSourceFailed'
+          property :objects_from_source_failed, :numeric_string => true, as: 'objectsFromSourceFailed'
+          property :objects_copied_to_sink, :numeric_string => true, as: 'objectsCopiedToSink'
+          property :bytes_found_only_from_sink, :numeric_string => true, as: 'bytesFoundOnlyFromSink'
+          property :objects_deleted_from_source, :numeric_string => true, as: 'objectsDeletedFromSource'
+          property :bytes_copied_to_sink, :numeric_string => true, as: 'bytesCopiedToSink'
         end
       end
       
@@ -285,7 +311,7 @@ module Google
         # @private
         class Representation < Google::Apis::Core::JsonRepresentation
           property :error_code, as: 'errorCode'
-          property :error_count, as: 'errorCount'
+          property :error_count, :numeric_string => true, as: 'errorCount'
           collection :error_log_entries, as: 'errorLogEntries', class: Google::Apis::StoragetransferV1::ErrorLogEntry, decorator: Google::Apis::StoragetransferV1::ErrorLogEntry::Representation
       
         end
@@ -327,41 +353,28 @@ module Google
       class ObjectConditions
         # @private
         class Representation < Google::Apis::Core::JsonRepresentation
-          property :max_time_elapsed_since_last_modification, as: 'maxTimeElapsedSinceLastModification'
           collection :include_prefixes, as: 'includePrefixes'
           property :min_time_elapsed_since_last_modification, as: 'minTimeElapsedSinceLastModification'
           collection :exclude_prefixes, as: 'excludePrefixes'
+          property :max_time_elapsed_since_last_modification, as: 'maxTimeElapsedSinceLastModification'
         end
       end
       
       class Operation
         # @private
         class Representation < Google::Apis::Core::JsonRepresentation
-          property :done, as: 'done'
           hash :response, as: 'response'
           property :name, as: 'name'
           property :error, as: 'error', class: Google::Apis::StoragetransferV1::Status, decorator: Google::Apis::StoragetransferV1::Status::Representation
       
           hash :metadata, as: 'metadata'
-        end
-      end
-      
-      class TransferOptions
-        # @private
-        class Representation < Google::Apis::Core::JsonRepresentation
-          property :overwrite_objects_already_existing_in_sink, as: 'overwriteObjectsAlreadyExistingInSink'
-          property :delete_objects_from_source_after_transfer, as: 'deleteObjectsFromSourceAfterTransfer'
-          property :delete_objects_unique_in_sink, as: 'deleteObjectsUniqueInSink'
+          property :done, as: 'done'
         end
       end
       
       class TransferSpec
         # @private
         class Representation < Google::Apis::Core::JsonRepresentation
-          property :gcs_data_source, as: 'gcsDataSource', class: Google::Apis::StoragetransferV1::GcsData, decorator: Google::Apis::StoragetransferV1::GcsData::Representation
-      
-          property :transfer_options, as: 'transferOptions', class: Google::Apis::StoragetransferV1::TransferOptions, decorator: Google::Apis::StoragetransferV1::TransferOptions::Representation
-      
           property :aws_s3_data_source, as: 'awsS3DataSource', class: Google::Apis::StoragetransferV1::AwsS3Data, decorator: Google::Apis::StoragetransferV1::AwsS3Data::Representation
       
           property :http_data_source, as: 'httpDataSource', class: Google::Apis::StoragetransferV1::HttpData, decorator: Google::Apis::StoragetransferV1::HttpData::Representation
@@ -370,6 +383,28 @@ module Google
       
           property :gcs_data_sink, as: 'gcsDataSink', class: Google::Apis::StoragetransferV1::GcsData, decorator: Google::Apis::StoragetransferV1::GcsData::Representation
       
+          property :gcs_data_source, as: 'gcsDataSource', class: Google::Apis::StoragetransferV1::GcsData, decorator: Google::Apis::StoragetransferV1::GcsData::Representation
+      
+          property :transfer_options, as: 'transferOptions', class: Google::Apis::StoragetransferV1::TransferOptions, decorator: Google::Apis::StoragetransferV1::TransferOptions::Representation
+      
+        end
+      end
+      
+      class TransferOptions
+        # @private
+        class Representation < Google::Apis::Core::JsonRepresentation
+          property :delete_objects_unique_in_sink, as: 'deleteObjectsUniqueInSink'
+          property :overwrite_objects_already_existing_in_sink, as: 'overwriteObjectsAlreadyExistingInSink'
+          property :delete_objects_from_source_after_transfer, as: 'deleteObjectsFromSourceAfterTransfer'
+        end
+      end
+      
+      class Status
+        # @private
+        class Representation < Google::Apis::Core::JsonRepresentation
+          property :message, as: 'message'
+          collection :details, as: 'details'
+          property :code, as: 'code'
         end
       end
       
@@ -378,41 +413,6 @@ module Google
         class Representation < Google::Apis::Core::JsonRepresentation
         end
       end
-      
-      class Status
-        # @private
-        class Representation < Google::Apis::Core::JsonRepresentation
-          property :code, as: 'code'
-          property :message, as: 'message'
-          collection :details, as: 'details'
-        end
-      end
-      
-      class ListOperationsResponse
-        # @private
-        class Representation < Google::Apis::Core::JsonRepresentation
-          property :next_page_token, as: 'nextPageToken'
-          collection :operations, as: 'operations', class: Google::Apis::StoragetransferV1::Operation, decorator: Google::Apis::StoragetransferV1::Operation::Representation
-      
-        end
-      end
-      
-      class GoogleServiceAccount
-        # @private
-        class Representation < Google::Apis::Core::JsonRepresentation
-          property :account_email, as: 'accountEmail'
-        end
-      end
-      
-      class TimeOfDay
-        # @private
-        class Representation < Google::Apis::Core::JsonRepresentation
-          property :hours, as: 'hours'
-          property :nanos, as: 'nanos'
-          property :seconds, as: 'seconds'
-          property :minutes, as: 'minutes'
-        end
-      end
     end
   end
 end
diff --git a/generated/google/apis/storagetransfer_v1/service.rb b/generated/google/apis/storagetransfer_v1/service.rb
index a052937da..1c14043cd 100644
--- a/generated/google/apis/storagetransfer_v1/service.rb
+++ b/generated/google/apis/storagetransfer_v1/service.rb
@@ -45,6 +45,46 @@ module Google
 
         def initialize
           super('https://storagetransfer.googleapis.com/', '')
+          @batch_path = 'batch'
+        end
+        
+        # Returns the Google service account that is used by Storage Transfer
+        # Service to access buckets in the project where transfers
+        # run or in other projects. Each Google service account is associated
+        # with one Google Cloud Platform Console project. Users
+        # should add this service account to the Google Cloud Storage bucket
+        # ACLs to grant access to Storage Transfer Service. This service
+        # account is created and owned by Storage Transfer Service and can
+        # only be used by Storage Transfer Service.
+        # @param [String] project_id
+        #   The ID of the Google Cloud Platform Console project that the Google service
+        #   account is associated with.
+        #   Required.
+        # @param [String] fields
+        #   Selector specifying which fields to include in a partial response.
+        # @param [String] quota_user
+        #   Available to use for quota purposes for server-side applications. Can be any
+        #   arbitrary string assigned to a user, but should not exceed 40 characters.
+        # @param [Google::Apis::RequestOptions] options
+        #   Request-specific options
+        #
+        # @yield [result, err] Result & error if block supplied
+        # @yieldparam result [Google::Apis::StoragetransferV1::GoogleServiceAccount] parsed result object
+        # @yieldparam err [StandardError] error object if request failed
+        #
+        # @return [Google::Apis::StoragetransferV1::GoogleServiceAccount]
+        #
+        # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
+        # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
+        # @raise [Google::Apis::AuthorizationError] Authorization is required
+        def get_google_service_account(project_id, fields: nil, quota_user: nil, options: nil, &block)
+          command =  make_simple_command(:get, 'v1/googleServiceAccounts/{projectId}', options)
+          command.response_representation = Google::Apis::StoragetransferV1::GoogleServiceAccount::Representation
+          command.response_class = Google::Apis::StoragetransferV1::GoogleServiceAccount
+          command.params['projectId'] = project_id unless project_id.nil?
+          command.query['fields'] = fields unless fields.nil?
+          command.query['quotaUser'] = quota_user unless quota_user.nil?
+          execute_or_queue_command(command, &block)
         end
         
         # Updates a transfer job. Updating a job's transfer spec does not affect
@@ -54,11 +94,11 @@ module Google
         #   The name of job to update.
         #   Required.
         # @param [Google::Apis::StoragetransferV1::UpdateTransferJobRequest] update_transfer_job_request_object
+        # @param [String] fields
+        #   Selector specifying which fields to include in a partial response.
         # @param [String] quota_user
         #   Available to use for quota purposes for server-side applications. Can be any
         #   arbitrary string assigned to a user, but should not exceed 40 characters.
-        # @param [String] fields
-        #   Selector specifying which fields to include in a partial response.
         # @param [Google::Apis::RequestOptions] options
         #   Request-specific options
         #
@@ -71,15 +111,15 @@ module Google
         # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
         # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
         # @raise [Google::Apis::AuthorizationError] Authorization is required
-        def patch_transfer_job(job_name, update_transfer_job_request_object = nil, quota_user: nil, fields: nil, options: nil, &block)
+        def patch_transfer_job(job_name, update_transfer_job_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
           command =  make_simple_command(:patch, 'v1/{+jobName}', options)
           command.request_representation = Google::Apis::StoragetransferV1::UpdateTransferJobRequest::Representation
           command.request_object = update_transfer_job_request_object
           command.response_representation = Google::Apis::StoragetransferV1::TransferJob::Representation
           command.response_class = Google::Apis::StoragetransferV1::TransferJob
           command.params['jobName'] = job_name unless job_name.nil?
-          command.query['quotaUser'] = quota_user unless quota_user.nil?
           command.query['fields'] = fields unless fields.nil?
+          command.query['quotaUser'] = quota_user unless quota_user.nil?
           execute_or_queue_command(command, &block)
         end
         
@@ -90,11 +130,11 @@ module Google
         # @param [String] project_id
         #   The ID of the Google Cloud Platform Console project that owns the job.
         #   Required.
+        # @param [String] fields
+        #   Selector specifying which fields to include in a partial response.
         # @param [String] quota_user
         #   Available to use for quota purposes for server-side applications. Can be any
         #   arbitrary string assigned to a user, but should not exceed 40 characters.
-        # @param [String] fields
-        #   Selector specifying which fields to include in a partial response.
         # @param [Google::Apis::RequestOptions] options
         #   Request-specific options
         #
@@ -107,14 +147,14 @@ module Google
         # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
         # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
         # @raise [Google::Apis::AuthorizationError] Authorization is required
-        def get_transfer_job(job_name, project_id: nil, quota_user: nil, fields: nil, options: nil, &block)
+        def get_transfer_job(job_name, project_id: nil, fields: nil, quota_user: nil, options: nil, &block)
           command =  make_simple_command(:get, 'v1/{+jobName}', options)
           command.response_representation = Google::Apis::StoragetransferV1::TransferJob::Representation
           command.response_class = Google::Apis::StoragetransferV1::TransferJob
           command.params['jobName'] = job_name unless job_name.nil?
           command.query['projectId'] = project_id unless project_id.nil?
-          command.query['quotaUser'] = quota_user unless quota_user.nil?
           command.query['fields'] = fields unless fields.nil?
+          command.query['quotaUser'] = quota_user unless quota_user.nil?
           execute_or_queue_command(command, &block)
         end
         
@@ -132,11 +172,11 @@ module Google
         #   The list page token.
         # @param [Fixnum] page_size
         #   The list page size. The max allowed value is 256.
+        # @param [String] fields
+        #   Selector specifying which fields to include in a partial response.
         # @param [String] quota_user
         #   Available to use for quota purposes for server-side applications. Can be any
         #   arbitrary string assigned to a user, but should not exceed 40 characters.
-        # @param [String] fields
-        #   Selector specifying which fields to include in a partial response.
         # @param [Google::Apis::RequestOptions] options
         #   Request-specific options
         #
@@ -149,25 +189,25 @@ module Google
         # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
         # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
         # @raise [Google::Apis::AuthorizationError] Authorization is required
-        def list_transfer_jobs(filter: nil, page_token: nil, page_size: nil, quota_user: nil, fields: nil, options: nil, &block)
+        def list_transfer_jobs(filter: nil, page_token: nil, page_size: nil, fields: nil, quota_user: nil, options: nil, &block)
           command =  make_simple_command(:get, 'v1/transferJobs', options)
           command.response_representation = Google::Apis::StoragetransferV1::ListTransferJobsResponse::Representation
           command.response_class = Google::Apis::StoragetransferV1::ListTransferJobsResponse
           command.query['filter'] = filter unless filter.nil?
           command.query['pageToken'] = page_token unless page_token.nil?
           command.query['pageSize'] = page_size unless page_size.nil?
-          command.query['quotaUser'] = quota_user unless quota_user.nil?
           command.query['fields'] = fields unless fields.nil?
+          command.query['quotaUser'] = quota_user unless quota_user.nil?
           execute_or_queue_command(command, &block)
         end
         
         # Creates a transfer job that runs periodically.
         # @param [Google::Apis::StoragetransferV1::TransferJob] transfer_job_object
+        # @param [String] fields
+        #   Selector specifying which fields to include in a partial response.
         # @param [String] quota_user
         #   Available to use for quota purposes for server-side applications. Can be any
         #   arbitrary string assigned to a user, but should not exceed 40 characters.
-        # @param [String] fields
-        #   Selector specifying which fields to include in a partial response.
         # @param [Google::Apis::RequestOptions] options
         #   Request-specific options
         #
@@ -180,156 +220,25 @@ module Google
         # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
         # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
         # @raise [Google::Apis::AuthorizationError] Authorization is required
-        def create_transfer_job(transfer_job_object = nil, quota_user: nil, fields: nil, options: nil, &block)
+        def create_transfer_job(transfer_job_object = nil, fields: nil, quota_user: nil, options: nil, &block)
           command =  make_simple_command(:post, 'v1/transferJobs', options)
           command.request_representation = Google::Apis::StoragetransferV1::TransferJob::Representation
           command.request_object = transfer_job_object
           command.response_representation = Google::Apis::StoragetransferV1::TransferJob::Representation
           command.response_class = Google::Apis::StoragetransferV1::TransferJob
-          command.query['quotaUser'] = quota_user unless quota_user.nil?
           command.query['fields'] = fields unless fields.nil?
-          execute_or_queue_command(command, &block)
-        end
-        
-        # Resumes a transfer operation that is paused.
-        # @param [String] name
-        #   The name of the transfer operation.
-        #   Required.
-        # @param [Google::Apis::StoragetransferV1::ResumeTransferOperationRequest] resume_transfer_operation_request_object
-        # @param [String] quota_user
-        #   Available to use for quota purposes for server-side applications. Can be any
-        #   arbitrary string assigned to a user, but should not exceed 40 characters.
-        # @param [String] fields
-        #   Selector specifying which fields to include in a partial response.
-        # @param [Google::Apis::RequestOptions] options
-        #   Request-specific options
-        #
-        # @yield [result, err] Result & error if block supplied
-        # @yieldparam result [Google::Apis::StoragetransferV1::Empty] parsed result object
-        # @yieldparam err [StandardError] error object if request failed
-        #
-        # @return [Google::Apis::StoragetransferV1::Empty]
-        #
-        # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
-        # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
-        # @raise [Google::Apis::AuthorizationError] Authorization is required
-        def resume_transfer_operation(name, resume_transfer_operation_request_object = nil, quota_user: nil, fields: nil, options: nil, &block)
-          command =  make_simple_command(:post, 'v1/{+name}:resume', options)
-          command.request_representation = Google::Apis::StoragetransferV1::ResumeTransferOperationRequest::Representation
-          command.request_object = resume_transfer_operation_request_object
-          command.response_representation = Google::Apis::StoragetransferV1::Empty::Representation
-          command.response_class = Google::Apis::StoragetransferV1::Empty
-          command.params['name'] = name unless name.nil?
           command.query['quotaUser'] = quota_user unless quota_user.nil?
-          command.query['fields'] = fields unless fields.nil?
-          execute_or_queue_command(command, &block)
-        end
-        
-        # Cancels a transfer. Use the get method to check whether the cancellation
-        # succeeded or whether the operation completed despite cancellation.
-        # @param [String] name
-        #   The name of the operation resource to be cancelled.
-        # @param [String] quota_user
-        #   Available to use for quota purposes for server-side applications. Can be any
-        #   arbitrary string assigned to a user, but should not exceed 40 characters.
-        # @param [String] fields
-        #   Selector specifying which fields to include in a partial response.
-        # @param [Google::Apis::RequestOptions] options
-        #   Request-specific options
-        #
-        # @yield [result, err] Result & error if block supplied
-        # @yieldparam result [Google::Apis::StoragetransferV1::Empty] parsed result object
-        # @yieldparam err [StandardError] error object if request failed
-        #
-        # @return [Google::Apis::StoragetransferV1::Empty]
-        #
-        # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
-        # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
-        # @raise [Google::Apis::AuthorizationError] Authorization is required
-        def cancel_transfer_operation(name, quota_user: nil, fields: nil, options: nil, &block)
-          command =  make_simple_command(:post, 'v1/{+name}:cancel', options)
-          command.response_representation = Google::Apis::StoragetransferV1::Empty::Representation
-          command.response_class = Google::Apis::StoragetransferV1::Empty
-          command.params['name'] = name unless name.nil?
-          command.query['quotaUser'] = quota_user unless quota_user.nil?
-          command.query['fields'] = fields unless fields.nil?
-          execute_or_queue_command(command, &block)
-        end
-        
-        # Gets the latest state of a long-running operation.  Clients can use this
-        # method to poll the operation result at intervals as recommended by the API
-        # service.
-        # @param [String] name
-        #   The name of the operation resource.
-        # @param [String] quota_user
-        #   Available to use for quota purposes for server-side applications. Can be any
-        #   arbitrary string assigned to a user, but should not exceed 40 characters.
-        # @param [String] fields
-        #   Selector specifying which fields to include in a partial response.
-        # @param [Google::Apis::RequestOptions] options
-        #   Request-specific options
-        #
-        # @yield [result, err] Result & error if block supplied
-        # @yieldparam result [Google::Apis::StoragetransferV1::Operation] parsed result object
-        # @yieldparam err [StandardError] error object if request failed
-        #
-        # @return [Google::Apis::StoragetransferV1::Operation]
-        #
-        # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
-        # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
-        # @raise [Google::Apis::AuthorizationError] Authorization is required
-        def get_transfer_operation(name, quota_user: nil, fields: nil, options: nil, &block)
-          command =  make_simple_command(:get, 'v1/{+name}', options)
-          command.response_representation = Google::Apis::StoragetransferV1::Operation::Representation
-          command.response_class = Google::Apis::StoragetransferV1::Operation
-          command.params['name'] = name unless name.nil?
-          command.query['quotaUser'] = quota_user unless quota_user.nil?
-          command.query['fields'] = fields unless fields.nil?
-          execute_or_queue_command(command, &block)
-        end
-        
-        # Pauses a transfer operation.
-        # @param [String] name
-        #   The name of the transfer operation.
-        #   Required.
-        # @param [Google::Apis::StoragetransferV1::PauseTransferOperationRequest] pause_transfer_operation_request_object
-        # @param [String] quota_user
-        #   Available to use for quota purposes for server-side applications. Can be any
-        #   arbitrary string assigned to a user, but should not exceed 40 characters.
-        # @param [String] fields
-        #   Selector specifying which fields to include in a partial response.
-        # @param [Google::Apis::RequestOptions] options
-        #   Request-specific options
-        #
-        # @yield [result, err] Result & error if block supplied
-        # @yieldparam result [Google::Apis::StoragetransferV1::Empty] parsed result object
-        # @yieldparam err [StandardError] error object if request failed
-        #
-        # @return [Google::Apis::StoragetransferV1::Empty]
-        #
-        # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
-        # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
-        # @raise [Google::Apis::AuthorizationError] Authorization is required
-        def pause_transfer_operation(name, pause_transfer_operation_request_object = nil, quota_user: nil, fields: nil, options: nil, &block)
-          command =  make_simple_command(:post, 'v1/{+name}:pause', options)
-          command.request_representation = Google::Apis::StoragetransferV1::PauseTransferOperationRequest::Representation
-          command.request_object = pause_transfer_operation_request_object
-          command.response_representation = Google::Apis::StoragetransferV1::Empty::Representation
-          command.response_class = Google::Apis::StoragetransferV1::Empty
-          command.params['name'] = name unless name.nil?
-          command.query['quotaUser'] = quota_user unless quota_user.nil?
-          command.query['fields'] = fields unless fields.nil?
           execute_or_queue_command(command, &block)
         end
         
         # This method is not supported and the server returns `UNIMPLEMENTED`.
         # @param [String] name
         #   The name of the operation resource to be deleted.
+        # @param [String] fields
+        #   Selector specifying which fields to include in a partial response.
         # @param [String] quota_user
         #   Available to use for quota purposes for server-side applications. Can be any
         #   arbitrary string assigned to a user, but should not exceed 40 characters.
-        # @param [String] fields
-        #   Selector specifying which fields to include in a partial response.
         # @param [Google::Apis::RequestOptions] options
         #   Request-specific options
         #
@@ -342,13 +251,13 @@ module Google
         # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
         # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
         # @raise [Google::Apis::AuthorizationError] Authorization is required
-        def delete_transfer_operation(name, quota_user: nil, fields: nil, options: nil, &block)
+        def delete_transfer_operation(name, fields: nil, quota_user: nil, options: nil, &block)
           command =  make_simple_command(:delete, 'v1/{+name}', options)
           command.response_representation = Google::Apis::StoragetransferV1::Empty::Representation
           command.response_class = Google::Apis::StoragetransferV1::Empty
           command.params['name'] = name unless name.nil?
-          command.query['quotaUser'] = quota_user unless quota_user.nil?
           command.query['fields'] = fields unless fields.nil?
+          command.query['quotaUser'] = quota_user unless quota_user.nil?
           execute_or_queue_command(command, &block)
         end
         
@@ -369,11 +278,11 @@ module Google
         #   The list page token.
         # @param [Fixnum] page_size
         #   The list page size. The max allowed value is 256.
+        # @param [String] fields
+        #   Selector specifying which fields to include in a partial response.
         # @param [String] quota_user
         #   Available to use for quota purposes for server-side applications. Can be any
         #   arbitrary string assigned to a user, but should not exceed 40 characters.
-        # @param [String] fields
-        #   Selector specifying which fields to include in a partial response.
         # @param [Google::Apis::RequestOptions] options
         #   Request-specific options
         #
@@ -386,7 +295,7 @@ module Google
         # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
         # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
         # @raise [Google::Apis::AuthorizationError] Authorization is required
-        def list_transfer_operations(name, filter: nil, page_token: nil, page_size: nil, quota_user: nil, fields: nil, options: nil, &block)
+        def list_transfer_operations(name, filter: nil, page_token: nil, page_size: nil, fields: nil, quota_user: nil, options: nil, &block)
           command =  make_simple_command(:get, 'v1/{+name}', options)
           command.response_representation = Google::Apis::StoragetransferV1::ListOperationsResponse::Representation
           command.response_class = Google::Apis::StoragetransferV1::ListOperationsResponse
@@ -394,47 +303,139 @@ module Google
           command.query['filter'] = filter unless filter.nil?
           command.query['pageToken'] = page_token unless page_token.nil?
           command.query['pageSize'] = page_size unless page_size.nil?
-          command.query['quotaUser'] = quota_user unless quota_user.nil?
           command.query['fields'] = fields unless fields.nil?
+          command.query['quotaUser'] = quota_user unless quota_user.nil?
           execute_or_queue_command(command, &block)
         end
         
-        # Returns the Google service account that is used by Storage Transfer
-        # Service to access buckets in the project where transfers
-        # run or in other projects. Each Google service account is associated
-        # with one Google Cloud Platform Console project. Users
-        # should add this service account to the Google Cloud Storage bucket
-        # ACLs to grant access to Storage Transfer Service. This service
-        # account is created and owned by Storage Transfer Service and can
-        # only be used by Storage Transfer Service.
-        # @param [String] project_id
-        #   The ID of the Google Cloud Platform Console project that the Google service
-        #   account is associated with.
+        # Resumes a transfer operation that is paused.
+        # @param [String] name
+        #   The name of the transfer operation.
         #   Required.
+        # @param [Google::Apis::StoragetransferV1::ResumeTransferOperationRequest] resume_transfer_operation_request_object
+        # @param [String] fields
+        #   Selector specifying which fields to include in a partial response.
         # @param [String] quota_user
         #   Available to use for quota purposes for server-side applications. Can be any
         #   arbitrary string assigned to a user, but should not exceed 40 characters.
-        # @param [String] fields
-        #   Selector specifying which fields to include in a partial response.
         # @param [Google::Apis::RequestOptions] options
         #   Request-specific options
         #
         # @yield [result, err] Result & error if block supplied
-        # @yieldparam result [Google::Apis::StoragetransferV1::GoogleServiceAccount] parsed result object
+        # @yieldparam result [Google::Apis::StoragetransferV1::Empty] parsed result object
         # @yieldparam err [StandardError] error object if request failed
         #
-        # @return [Google::Apis::StoragetransferV1::GoogleServiceAccount]
+        # @return [Google::Apis::StoragetransferV1::Empty]
         #
         # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
         # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
         # @raise [Google::Apis::AuthorizationError] Authorization is required
-        def get_google_service_account(project_id, quota_user: nil, fields: nil, options: nil, &block)
-          command =  make_simple_command(:get, 'v1/googleServiceAccounts/{projectId}', options)
-          command.response_representation = Google::Apis::StoragetransferV1::GoogleServiceAccount::Representation
-          command.response_class = Google::Apis::StoragetransferV1::GoogleServiceAccount
-          command.params['projectId'] = project_id unless project_id.nil?
-          command.query['quotaUser'] = quota_user unless quota_user.nil?
+        def resume_transfer_operation(name, resume_transfer_operation_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
+          command =  make_simple_command(:post, 'v1/{+name}:resume', options)
+          command.request_representation = Google::Apis::StoragetransferV1::ResumeTransferOperationRequest::Representation
+          command.request_object = resume_transfer_operation_request_object
+          command.response_representation = Google::Apis::StoragetransferV1::Empty::Representation
+          command.response_class = Google::Apis::StoragetransferV1::Empty
+          command.params['name'] = name unless name.nil?
           command.query['fields'] = fields unless fields.nil?
+          command.query['quotaUser'] = quota_user unless quota_user.nil?
+          execute_or_queue_command(command, &block)
+        end
+        
+        # Cancels a transfer. Use the get method to check whether the cancellation
+        # succeeded or whether the operation completed despite cancellation.
+        # @param [String] name
+        #   The name of the operation resource to be cancelled.
+        # @param [String] fields
+        #   Selector specifying which fields to include in a partial response.
+        # @param [String] quota_user
+        #   Available to use for quota purposes for server-side applications. Can be any
+        #   arbitrary string assigned to a user, but should not exceed 40 characters.
+        # @param [Google::Apis::RequestOptions] options
+        #   Request-specific options
+        #
+        # @yield [result, err] Result & error if block supplied
+        # @yieldparam result [Google::Apis::StoragetransferV1::Empty] parsed result object
+        # @yieldparam err [StandardError] error object if request failed
+        #
+        # @return [Google::Apis::StoragetransferV1::Empty]
+        #
+        # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
+        # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
+        # @raise [Google::Apis::AuthorizationError] Authorization is required
+        def cancel_transfer_operation(name, fields: nil, quota_user: nil, options: nil, &block)
+          command =  make_simple_command(:post, 'v1/{+name}:cancel', options)
+          command.response_representation = Google::Apis::StoragetransferV1::Empty::Representation
+          command.response_class = Google::Apis::StoragetransferV1::Empty
+          command.params['name'] = name unless name.nil?
+          command.query['fields'] = fields unless fields.nil?
+          command.query['quotaUser'] = quota_user unless quota_user.nil?
+          execute_or_queue_command(command, &block)
+        end
+        
+        # Gets the latest state of a long-running operation.  Clients can use this
+        # method to poll the operation result at intervals as recommended by the API
+        # service.
+        # @param [String] name
+        #   The name of the operation resource.
+        # @param [String] fields
+        #   Selector specifying which fields to include in a partial response.
+        # @param [String] quota_user
+        #   Available to use for quota purposes for server-side applications. Can be any
+        #   arbitrary string assigned to a user, but should not exceed 40 characters.
+        # @param [Google::Apis::RequestOptions] options
+        #   Request-specific options
+        #
+        # @yield [result, err] Result & error if block supplied
+        # @yieldparam result [Google::Apis::StoragetransferV1::Operation] parsed result object
+        # @yieldparam err [StandardError] error object if request failed
+        #
+        # @return [Google::Apis::StoragetransferV1::Operation]
+        #
+        # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
+        # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
+        # @raise [Google::Apis::AuthorizationError] Authorization is required
+        def get_transfer_operation(name, fields: nil, quota_user: nil, options: nil, &block)
+          command =  make_simple_command(:get, 'v1/{+name}', options)
+          command.response_representation = Google::Apis::StoragetransferV1::Operation::Representation
+          command.response_class = Google::Apis::StoragetransferV1::Operation
+          command.params['name'] = name unless name.nil?
+          command.query['fields'] = fields unless fields.nil?
+          command.query['quotaUser'] = quota_user unless quota_user.nil?
+          execute_or_queue_command(command, &block)
+        end
+        
+        # Pauses a transfer operation.
+        # @param [String] name
+        #   The name of the transfer operation.
+        #   Required.
+        # @param [Google::Apis::StoragetransferV1::PauseTransferOperationRequest] pause_transfer_operation_request_object
+        # @param [String] fields
+        #   Selector specifying which fields to include in a partial response.
+        # @param [String] quota_user
+        #   Available to use for quota purposes for server-side applications. Can be any
+        #   arbitrary string assigned to a user, but should not exceed 40 characters.
+        # @param [Google::Apis::RequestOptions] options
+        #   Request-specific options
+        #
+        # @yield [result, err] Result & error if block supplied
+        # @yieldparam result [Google::Apis::StoragetransferV1::Empty] parsed result object
+        # @yieldparam err [StandardError] error object if request failed
+        #
+        # @return [Google::Apis::StoragetransferV1::Empty]
+        #
+        # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
+        # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
+        # @raise [Google::Apis::AuthorizationError] Authorization is required
+        def pause_transfer_operation(name, pause_transfer_operation_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
+          command =  make_simple_command(:post, 'v1/{+name}:pause', options)
+          command.request_representation = Google::Apis::StoragetransferV1::PauseTransferOperationRequest::Representation
+          command.request_object = pause_transfer_operation_request_object
+          command.response_representation = Google::Apis::StoragetransferV1::Empty::Representation
+          command.response_class = Google::Apis::StoragetransferV1::Empty
+          command.params['name'] = name unless name.nil?
+          command.query['fields'] = fields unless fields.nil?
+          command.query['quotaUser'] = quota_user unless quota_user.nil?
           execute_or_queue_command(command, &block)
         end
 
diff --git a/generated/google/apis/surveys_v2/classes.rb b/generated/google/apis/surveys_v2/classes.rb
index 6ebcaa0ba..f6f4fb906 100644
--- a/generated/google/apis/surveys_v2/classes.rb
+++ b/generated/google/apis/surveys_v2/classes.rb
@@ -377,7 +377,7 @@ module Google
         # Cost per survey response in nano units of the given currency. To get the total
         # cost for a survey, multiply this value by wanted_response_count.
         # Corresponds to the JSON property `costPerResponseNanos`
-        # @return [String]
+        # @return [Fixnum]
         attr_accessor :cost_per_response_nanos
       
         # Currency code that the cost is given in.
@@ -401,13 +401,13 @@ module Google
         # before attempting to start the survey again. This will immediately start the
         # survey as long the incidence test was run within the last 21 days.
         # Corresponds to the JSON property `maxCostPerResponseNanos`
-        # @return [String]
+        # @return [Fixnum]
         attr_accessor :max_cost_per_response_nanos
       
         # Cost of survey in nano units of the given currency. DEPRECATED in favor of
         # cost_per_response_nanos
         # Corresponds to the JSON property `nanos`
-        # @return [String]
+        # @return [Fixnum]
         attr_accessor :nanos
       
         def initialize(**args)
@@ -712,7 +712,7 @@ module Google
         # Threshold to start a survey automically if the quoted prices is less than or
         # equal to this value. See Survey.Cost for more details.
         # Corresponds to the JSON property `maxCostPerResponseNanos`
-        # @return [String]
+        # @return [Fixnum]
         attr_accessor :max_cost_per_response_nanos
       
         def initialize(**args)
diff --git a/generated/google/apis/surveys_v2/representations.rb b/generated/google/apis/surveys_v2/representations.rb
index 2fc3bd77e..8485d89df 100644
--- a/generated/google/apis/surveys_v2/representations.rb
+++ b/generated/google/apis/surveys_v2/representations.rb
@@ -233,10 +233,10 @@ module Google
       class SurveyCost
         # @private
         class Representation < Google::Apis::Core::JsonRepresentation
-          property :cost_per_response_nanos, as: 'costPerResponseNanos'
+          property :cost_per_response_nanos, :numeric_string => true, as: 'costPerResponseNanos'
           property :currency_code, as: 'currencyCode'
-          property :max_cost_per_response_nanos, as: 'maxCostPerResponseNanos'
-          property :nanos, as: 'nanos'
+          property :max_cost_per_response_nanos, :numeric_string => true, as: 'maxCostPerResponseNanos'
+          property :nanos, :numeric_string => true, as: 'nanos'
         end
       end
       
@@ -313,7 +313,7 @@ module Google
       class SurveysStartRequest
         # @private
         class Representation < Google::Apis::Core::JsonRepresentation
-          property :max_cost_per_response_nanos, as: 'maxCostPerResponseNanos'
+          property :max_cost_per_response_nanos, :numeric_string => true, as: 'maxCostPerResponseNanos'
         end
       end
       
diff --git a/generated/google/apis/surveys_v2/service.rb b/generated/google/apis/surveys_v2/service.rb
index 090182e97..890d404f9 100644
--- a/generated/google/apis/surveys_v2/service.rb
+++ b/generated/google/apis/surveys_v2/service.rb
@@ -50,6 +50,7 @@ module Google
 
         def initialize
           super('https://www.googleapis.com/', 'surveys/v2/')
+          @batch_path = 'batch'
         end
         
         # Retrieves a MobileAppPanel that is available to the authenticated user.
diff --git a/generated/google/apis/tagmanager_v1/classes.rb b/generated/google/apis/tagmanager_v1/classes.rb
index 5ae540f45..95cad16e7 100644
--- a/generated/google/apis/tagmanager_v1/classes.rb
+++ b/generated/google/apis/tagmanager_v1/classes.rb
@@ -475,7 +475,7 @@ module Google
       
         # The last update time-stamp for the authorization code.
         # Corresponds to the JSON property `authorizationTimestampMs`
-        # @return [String]
+        # @return [Fixnum]
         attr_accessor :authorization_timestamp_ms
       
         # GTM Container ID.
@@ -861,12 +861,12 @@ module Google
       
         # The end timestamp in milliseconds to schedule a macro.
         # Corresponds to the JSON property `scheduleEndMs`
-        # @return [String]
+        # @return [Fixnum]
         attr_accessor :schedule_end_ms
       
         # The start timestamp in milliseconds to schedule a macro.
         # Corresponds to the JSON property `scheduleStartMs`
-        # @return [String]
+        # @return [Fixnum]
         attr_accessor :schedule_start_ms
       
         # GTM Macro Type.
@@ -1134,12 +1134,12 @@ module Google
       
         # The end timestamp in milliseconds to schedule a tag.
         # Corresponds to the JSON property `scheduleEndMs`
-        # @return [String]
+        # @return [Fixnum]
         attr_accessor :schedule_end_ms
       
         # The start timestamp in milliseconds to schedule a tag.
         # Corresponds to the JSON property `scheduleStartMs`
-        # @return [String]
+        # @return [Fixnum]
         attr_accessor :schedule_start_ms
       
         # The list of setup tags. Currently we only allow one.
@@ -1450,12 +1450,12 @@ module Google
       
         # The end timestamp in milliseconds to schedule a variable.
         # Corresponds to the JSON property `scheduleEndMs`
-        # @return [String]
+        # @return [Fixnum]
         attr_accessor :schedule_end_ms
       
         # The start timestamp in milliseconds to schedule a variable.
         # Corresponds to the JSON property `scheduleStartMs`
-        # @return [String]
+        # @return [Fixnum]
         attr_accessor :schedule_start_ms
       
         # GTM Variable Type.
diff --git a/generated/google/apis/tagmanager_v1/representations.rb b/generated/google/apis/tagmanager_v1/representations.rb
index 654f689a1..bafcf7cf2 100644
--- a/generated/google/apis/tagmanager_v1/representations.rb
+++ b/generated/google/apis/tagmanager_v1/representations.rb
@@ -325,7 +325,7 @@ module Google
         class Representation < Google::Apis::Core::JsonRepresentation
           property :account_id, as: 'accountId'
           property :authorization_code, as: 'authorizationCode'
-          property :authorization_timestamp_ms, as: 'authorizationTimestampMs'
+          property :authorization_timestamp_ms, :numeric_string => true, as: 'authorizationTimestampMs'
           property :container_id, as: 'containerId'
           property :container_version_id, as: 'containerVersionId'
           property :description, as: 'description'
@@ -449,8 +449,8 @@ module Google
           collection :parameter, as: 'parameter', class: Google::Apis::TagmanagerV1::Parameter, decorator: Google::Apis::TagmanagerV1::Parameter::Representation
       
           property :parent_folder_id, as: 'parentFolderId'
-          property :schedule_end_ms, as: 'scheduleEndMs'
-          property :schedule_start_ms, as: 'scheduleStartMs'
+          property :schedule_end_ms, :numeric_string => true, as: 'scheduleEndMs'
+          property :schedule_start_ms, :numeric_string => true, as: 'scheduleStartMs'
           property :type, as: 'type'
         end
       end
@@ -517,8 +517,8 @@ module Google
           property :parent_folder_id, as: 'parentFolderId'
           property :priority, as: 'priority', class: Google::Apis::TagmanagerV1::Parameter, decorator: Google::Apis::TagmanagerV1::Parameter::Representation
       
-          property :schedule_end_ms, as: 'scheduleEndMs'
-          property :schedule_start_ms, as: 'scheduleStartMs'
+          property :schedule_end_ms, :numeric_string => true, as: 'scheduleEndMs'
+          property :schedule_start_ms, :numeric_string => true, as: 'scheduleStartMs'
           collection :setup_tag, as: 'setupTag', class: Google::Apis::TagmanagerV1::SetupTag, decorator: Google::Apis::TagmanagerV1::SetupTag::Representation
       
           property :tag_firing_option, as: 'tagFiringOption'
@@ -600,8 +600,8 @@ module Google
           collection :parameter, as: 'parameter', class: Google::Apis::TagmanagerV1::Parameter, decorator: Google::Apis::TagmanagerV1::Parameter::Representation
       
           property :parent_folder_id, as: 'parentFolderId'
-          property :schedule_end_ms, as: 'scheduleEndMs'
-          property :schedule_start_ms, as: 'scheduleStartMs'
+          property :schedule_end_ms, :numeric_string => true, as: 'scheduleEndMs'
+          property :schedule_start_ms, :numeric_string => true, as: 'scheduleStartMs'
           property :type, as: 'type'
           property :variable_id, as: 'variableId'
         end
diff --git a/generated/google/apis/tagmanager_v1/service.rb b/generated/google/apis/tagmanager_v1/service.rb
index 2393ee2b1..bfeeaa8fb 100644
--- a/generated/google/apis/tagmanager_v1/service.rb
+++ b/generated/google/apis/tagmanager_v1/service.rb
@@ -50,6 +50,7 @@ module Google
 
         def initialize
           super('https://www.googleapis.com/', 'tagmanager/v1/')
+          @batch_path = 'batch'
         end
         
         # Gets a GTM Account.
diff --git a/generated/google/apis/tagmanager_v2/classes.rb b/generated/google/apis/tagmanager_v2/classes.rb
index b2dd6a380..75a50866b 100644
--- a/generated/google/apis/tagmanager_v2/classes.rb
+++ b/generated/google/apis/tagmanager_v2/classes.rb
@@ -1582,12 +1582,12 @@ module Google
       
         # The end timestamp in milliseconds to schedule a tag.
         # Corresponds to the JSON property `scheduleEndMs`
-        # @return [String]
+        # @return [Fixnum]
         attr_accessor :schedule_end_ms
       
         # The start timestamp in milliseconds to schedule a tag.
         # Corresponds to the JSON property `scheduleStartMs`
-        # @return [String]
+        # @return [Fixnum]
         attr_accessor :schedule_start_ms
       
         # The list of setup tags. Currently we only allow one.
@@ -1748,7 +1748,7 @@ module Google
         # Represents seconds of UTC time since Unix epoch 1970-01-01T00:00:00Z. Must be
         # from 0001-01-01T00:00:00Z to 9999-12-31T23:59:59Z inclusive.
         # Corresponds to the JSON property `seconds`
-        # @return [String]
+        # @return [Fixnum]
         attr_accessor :seconds
       
         def initialize(**args)
@@ -2104,12 +2104,12 @@ module Google
       
         # The end timestamp in milliseconds to schedule a variable.
         # Corresponds to the JSON property `scheduleEndMs`
-        # @return [String]
+        # @return [Fixnum]
         attr_accessor :schedule_end_ms
       
         # The start timestamp in milliseconds to schedule a variable.
         # Corresponds to the JSON property `scheduleStartMs`
-        # @return [String]
+        # @return [Fixnum]
         attr_accessor :schedule_start_ms
       
         # Auto generated link to the tag manager UI
@@ -2412,7 +2412,7 @@ module Google
       
         # Gaia id associated with a user, absent for the Google Tag Manager system.
         # Corresponds to the JSON property `gaiaId`
-        # @return [String]
+        # @return [Fixnum]
         attr_accessor :gaia_id
       
         # User type distinguishes between a user and the Google Tag Manager system.
diff --git a/generated/google/apis/tagmanager_v2/representations.rb b/generated/google/apis/tagmanager_v2/representations.rb
index b699d5343..e3c806078 100644
--- a/generated/google/apis/tagmanager_v2/representations.rb
+++ b/generated/google/apis/tagmanager_v2/representations.rb
@@ -787,8 +787,8 @@ module Google
           property :path, as: 'path'
           property :priority, as: 'priority', class: Google::Apis::TagmanagerV2::Parameter, decorator: Google::Apis::TagmanagerV2::Parameter::Representation
       
-          property :schedule_end_ms, as: 'scheduleEndMs'
-          property :schedule_start_ms, as: 'scheduleStartMs'
+          property :schedule_end_ms, :numeric_string => true, as: 'scheduleEndMs'
+          property :schedule_start_ms, :numeric_string => true, as: 'scheduleStartMs'
           collection :setup_tag, as: 'setupTag', class: Google::Apis::TagmanagerV2::SetupTag, decorator: Google::Apis::TagmanagerV2::SetupTag::Representation
       
           property :tag_firing_option, as: 'tagFiringOption'
@@ -813,7 +813,7 @@ module Google
         # @private
         class Representation < Google::Apis::Core::JsonRepresentation
           property :nanos, as: 'nanos'
-          property :seconds, as: 'seconds'
+          property :seconds, :numeric_string => true, as: 'seconds'
         end
       end
       
@@ -913,8 +913,8 @@ module Google
       
           property :parent_folder_id, as: 'parentFolderId'
           property :path, as: 'path'
-          property :schedule_end_ms, as: 'scheduleEndMs'
-          property :schedule_start_ms, as: 'scheduleStartMs'
+          property :schedule_end_ms, :numeric_string => true, as: 'scheduleEndMs'
+          property :schedule_start_ms, :numeric_string => true, as: 'scheduleStartMs'
           property :tag_manager_url, as: 'tagManagerUrl'
           property :type, as: 'type'
           property :variable_id, as: 'variableId'
@@ -984,7 +984,7 @@ module Google
       class WorkspaceProposalUser
         # @private
         class Representation < Google::Apis::Core::JsonRepresentation
-          property :gaia_id, as: 'gaiaId'
+          property :gaia_id, :numeric_string => true, as: 'gaiaId'
           property :type, as: 'type'
         end
       end
diff --git a/generated/google/apis/tagmanager_v2/service.rb b/generated/google/apis/tagmanager_v2/service.rb
index 331fd109c..bb0a2f41b 100644
--- a/generated/google/apis/tagmanager_v2/service.rb
+++ b/generated/google/apis/tagmanager_v2/service.rb
@@ -50,6 +50,7 @@ module Google
 
         def initialize
           super('https://www.googleapis.com/', 'tagmanager/v2/')
+          @batch_path = 'batch'
         end
         
         # Gets a GTM Account.
diff --git a/generated/google/apis/taskqueue_v1beta2/classes.rb b/generated/google/apis/taskqueue_v1beta2/classes.rb
index 2b5643d8d..bde4ec441 100644
--- a/generated/google/apis/taskqueue_v1beta2/classes.rb
+++ b/generated/google/apis/taskqueue_v1beta2/classes.rb
@@ -28,7 +28,7 @@ module Google
       
         # Time (in seconds since the epoch) at which the task was enqueued.
         # Corresponds to the JSON property `enqueueTimestamp`
-        # @return [String]
+        # @return [Fixnum]
         attr_accessor :enqueue_timestamp
       
         # Name of the task.
@@ -44,7 +44,7 @@ module Google
         # Time (in seconds since the epoch) at which the task lease will expire. This
         # value is 0 if the task isnt currently leased out to a worker.
         # Corresponds to the JSON property `leaseTimestamp`
-        # @return [String]
+        # @return [Fixnum]
         attr_accessor :lease_timestamp
       
         # A bag of bytes which is the task payload. The payload on the JSON side is
@@ -168,17 +168,17 @@ module Google
         
           # Number of tasks leased in the last hour.
           # Corresponds to the JSON property `leasedLastHour`
-          # @return [String]
+          # @return [Fixnum]
           attr_accessor :leased_last_hour
         
           # Number of tasks leased in the last minute.
           # Corresponds to the JSON property `leasedLastMinute`
-          # @return [String]
+          # @return [Fixnum]
           attr_accessor :leased_last_minute
         
           # The timestamp (in seconds since the epoch) of the oldest unfinished task.
           # Corresponds to the JSON property `oldestTask`
-          # @return [String]
+          # @return [Fixnum]
           attr_accessor :oldest_task
         
           # Number of tasks in the queue.
diff --git a/generated/google/apis/taskqueue_v1beta2/representations.rb b/generated/google/apis/taskqueue_v1beta2/representations.rb
index 8369df749..875e3d5c3 100644
--- a/generated/google/apis/taskqueue_v1beta2/representations.rb
+++ b/generated/google/apis/taskqueue_v1beta2/representations.rb
@@ -61,10 +61,10 @@ module Google
       class Task
         # @private
         class Representation < Google::Apis::Core::JsonRepresentation
-          property :enqueue_timestamp, as: 'enqueueTimestamp'
+          property :enqueue_timestamp, :numeric_string => true, as: 'enqueueTimestamp'
           property :id, as: 'id'
           property :kind, as: 'kind'
-          property :lease_timestamp, as: 'leaseTimestamp'
+          property :lease_timestamp, :numeric_string => true, as: 'leaseTimestamp'
           property :payload_base64, as: 'payloadBase64'
           property :queue_name, as: 'queueName'
           property :retry_count, as: 'retry_count'
@@ -96,9 +96,9 @@ module Google
         class Stats
           # @private
           class Representation < Google::Apis::Core::JsonRepresentation
-            property :leased_last_hour, as: 'leasedLastHour'
-            property :leased_last_minute, as: 'leasedLastMinute'
-            property :oldest_task, as: 'oldestTask'
+            property :leased_last_hour, :numeric_string => true, as: 'leasedLastHour'
+            property :leased_last_minute, :numeric_string => true, as: 'leasedLastMinute'
+            property :oldest_task, :numeric_string => true, as: 'oldestTask'
             property :total_tasks, as: 'totalTasks'
           end
         end
diff --git a/generated/google/apis/taskqueue_v1beta2/service.rb b/generated/google/apis/taskqueue_v1beta2/service.rb
index 1be64a668..212ad4616 100644
--- a/generated/google/apis/taskqueue_v1beta2/service.rb
+++ b/generated/google/apis/taskqueue_v1beta2/service.rb
@@ -50,6 +50,7 @@ module Google
 
         def initialize
           super('https://www.googleapis.com/', 'taskqueue/v1beta2/projects/')
+          @batch_path = 'batch'
         end
         
         # Get detailed information about a TaskQueue.
diff --git a/generated/google/apis/tasks_v1/service.rb b/generated/google/apis/tasks_v1/service.rb
index 4c9605299..a09599051 100644
--- a/generated/google/apis/tasks_v1/service.rb
+++ b/generated/google/apis/tasks_v1/service.rb
@@ -50,6 +50,7 @@ module Google
 
         def initialize
           super('https://www.googleapis.com/', 'tasks/v1/')
+          @batch_path = 'batch'
         end
         
         # Deletes the authenticated user's specified task list.
@@ -156,7 +157,7 @@ module Google
         end
         
         # Returns all the authenticated user's task lists.
-        # @param [String] max_results
+        # @param [Fixnum] max_results
         #   Maximum number of task lists returned on one page. Optional. The default is
         #   100.
         # @param [String] page_token
@@ -441,7 +442,7 @@ module Google
         # @param [String] due_min
         #   Lower bound for a task's due date (as a RFC 3339 timestamp) to filter by.
         #   Optional. The default is not to filter by due date.
-        # @param [String] max_results
+        # @param [Fixnum] max_results
         #   Maximum number of task lists returned on one page. Optional. The default is
         #   100.
         # @param [String] page_token
diff --git a/generated/google/apis/toolresults_v1beta3.rb b/generated/google/apis/toolresults_v1beta3.rb
index 7f6e13773..321b5985d 100644
--- a/generated/google/apis/toolresults_v1beta3.rb
+++ b/generated/google/apis/toolresults_v1beta3.rb
@@ -25,7 +25,7 @@ module Google
     # @see https://firebase.google.com/docs/test-lab/
     module ToolresultsV1beta3
       VERSION = 'V1beta3'
-      REVISION = '20170330'
+      REVISION = '20170331'
 
       # View and manage your data across Google Cloud Platform services
       AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
diff --git a/generated/google/apis/toolresults_v1beta3/classes.rb b/generated/google/apis/toolresults_v1beta3/classes.rb
index 4180fa2ce..d5cab66a4 100644
--- a/generated/google/apis/toolresults_v1beta3/classes.rb
+++ b/generated/google/apis/toolresults_v1beta3/classes.rb
@@ -235,7 +235,7 @@ module Google
         # 000,000 inclusive. Note: these bounds are computed from: 60 sec/min * 60 min/
         # hr * 24 hr/day * 365.25 days/year * 10000 years
         # Corresponds to the JSON property `seconds`
-        # @return [String]
+        # @return [Fixnum]
         attr_accessor :seconds
       
         def initialize(**args)
@@ -805,12 +805,12 @@ module Google
       
         # Maximum memory that can be allocated to the process in KiB
         # Corresponds to the JSON property `memoryCapInKibibyte`
-        # @return [String]
+        # @return [Fixnum]
         attr_accessor :memory_cap_in_kibibyte
       
         # Total memory available on the device in KiB
         # Corresponds to the JSON property `memoryTotalInKibibyte`
-        # @return [String]
+        # @return [Fixnum]
         attr_accessor :memory_total_in_kibibyte
       
         def initialize(**args)
@@ -1967,7 +1967,7 @@ module Google
         # Represents seconds of UTC time since Unix epoch 1970-01-01T00:00:00Z. Must be
         # from 0001-01-01T00:00:00Z to 9999-12-31T23:59:59Z inclusive.
         # Corresponds to the JSON property `seconds`
-        # @return [String]
+        # @return [Fixnum]
         attr_accessor :seconds
       
         def initialize(**args)
diff --git a/generated/google/apis/toolresults_v1beta3/representations.rb b/generated/google/apis/toolresults_v1beta3/representations.rb
index e140a6944..0622a3a98 100644
--- a/generated/google/apis/toolresults_v1beta3/representations.rb
+++ b/generated/google/apis/toolresults_v1beta3/representations.rb
@@ -332,7 +332,7 @@ module Google
         # @private
         class Representation < Google::Apis::Core::JsonRepresentation
           property :nanos, as: 'nanos'
-          property :seconds, as: 'seconds'
+          property :seconds, :numeric_string => true, as: 'seconds'
         end
       end
       
@@ -455,8 +455,8 @@ module Google
       class MemoryInfo
         # @private
         class Representation < Google::Apis::Core::JsonRepresentation
-          property :memory_cap_in_kibibyte, as: 'memoryCapInKibibyte'
-          property :memory_total_in_kibibyte, as: 'memoryTotalInKibibyte'
+          property :memory_cap_in_kibibyte, :numeric_string => true, as: 'memoryCapInKibibyte'
+          property :memory_total_in_kibibyte, :numeric_string => true, as: 'memoryTotalInKibibyte'
         end
       end
       
@@ -681,7 +681,7 @@ module Google
         # @private
         class Representation < Google::Apis::Core::JsonRepresentation
           property :nanos, as: 'nanos'
-          property :seconds, as: 'seconds'
+          property :seconds, :numeric_string => true, as: 'seconds'
         end
       end
       
diff --git a/generated/google/apis/toolresults_v1beta3/service.rb b/generated/google/apis/toolresults_v1beta3/service.rb
index b5ebcddd9..fef08c3a5 100644
--- a/generated/google/apis/toolresults_v1beta3/service.rb
+++ b/generated/google/apis/toolresults_v1beta3/service.rb
@@ -50,6 +50,7 @@ module Google
 
         def initialize
           super('https://www.googleapis.com/', 'toolresults/v1beta3/projects/')
+          @batch_path = 'batch'
         end
         
         # Gets the Tool Results settings for a project.
diff --git a/generated/google/apis/tracing_v1/classes.rb b/generated/google/apis/tracing_v1/classes.rb
index e2fe1fc6f..d4502be79 100644
--- a/generated/google/apis/tracing_v1/classes.rb
+++ b/generated/google/apis/tracing_v1/classes.rb
@@ -22,6 +22,272 @@ module Google
   module Apis
     module TracingV1
       
+      # StackTrace collected in a trace.
+      class StackTrace
+        include Google::Apis::Core::Hashable
+      
+        # Stack frames of this stack trace.
+        # Corresponds to the JSON property `stackFrame`
+        # @return [Array]
+        attr_accessor :stack_frame
+      
+        # The hash ID is used to conserve network bandwidth for duplicate
+        # stack traces within a single trace.
+        # Often multiple spans will have identical stack traces.
+        # The first occurance of a stack trace should contain both the
+        # `stackFrame` content and a value in `stackTraceHashId`.
+        # Subsequent spans within the same request can refer
+        # to that stack trace by only setting `stackTraceHashId`.
+        # Corresponds to the JSON property `stackTraceHashId`
+        # @return [Fixnum]
+        attr_accessor :stack_trace_hash_id
+      
+        def initialize(**args)
+           update!(**args)
+        end
+      
+        # Update properties of this object
+        def update!(**args)
+          @stack_frame = args[:stack_frame] if args.key?(:stack_frame)
+          @stack_trace_hash_id = args[:stack_trace_hash_id] if args.key?(:stack_trace_hash_id)
+        end
+      end
+      
+      # A time-stamped annotation in the Span.
+      class TimeEvent
+        include Google::Apis::Core::Hashable
+      
+        # An event describing an RPC message sent/received on the network.
+        # Corresponds to the JSON property `networkEvent`
+        # @return [Google::Apis::TracingV1::NetworkEvent]
+        attr_accessor :network_event
+      
+        # Text annotation with a set of attributes.
+        # Corresponds to the JSON property `annotation`
+        # @return [Google::Apis::TracingV1::Annotation]
+        attr_accessor :annotation
+      
+        # The timestamp indicating the time the event occurred.
+        # Corresponds to the JSON property `localTime`
+        # @return [String]
+        attr_accessor :local_time
+      
+        def initialize(**args)
+           update!(**args)
+        end
+      
+        # Update properties of this object
+        def update!(**args)
+          @network_event = args[:network_event] if args.key?(:network_event)
+          @annotation = args[:annotation] if args.key?(:annotation)
+          @local_time = args[:local_time] if args.key?(:local_time)
+        end
+      end
+      
+      # An event describing an RPC message sent/received on the network.
+      class NetworkEvent
+        include Google::Apis::Core::Hashable
+      
+        # An identifier for the message, which must be unique in this span.
+        # Corresponds to the JSON property `messageId`
+        # @return [Fixnum]
+        attr_accessor :message_id
+      
+        # The number of bytes sent or received.
+        # Corresponds to the JSON property `messageSize`
+        # @return [Fixnum]
+        attr_accessor :message_size
+      
+        # If available, this is the kernel time:
+        # *  For sent messages, this is the time at which the first bit was sent.
+        # *  For received messages, this is the time at which the last bit was
+        # received.
+        # Corresponds to the JSON property `kernelTime`
+        # @return [String]
+        attr_accessor :kernel_time
+      
+        # Type of NetworkEvent. Indicates whether the RPC message was sent or
+        # received.
+        # Corresponds to the JSON property `type`
+        # @return [String]
+        attr_accessor :type
+      
+        def initialize(**args)
+           update!(**args)
+        end
+      
+        # Update properties of this object
+        def update!(**args)
+          @message_id = args[:message_id] if args.key?(:message_id)
+          @message_size = args[:message_size] if args.key?(:message_size)
+          @kernel_time = args[:kernel_time] if args.key?(:kernel_time)
+          @type = args[:type] if args.key?(:type)
+        end
+      end
+      
+      # Collection of spans to update.
+      class SpanUpdates
+        include Google::Apis::Core::Hashable
+      
+        # A collection of spans.
+        # Corresponds to the JSON property `spans`
+        # @return [Array]
+        attr_accessor :spans
+      
+        def initialize(**args)
+           update!(**args)
+        end
+      
+        # Update properties of this object
+        def update!(**args)
+          @spans = args[:spans] if args.key?(:spans)
+        end
+      end
+      
+      # The response message for the `ListSpans` method.
+      class ListSpansResponse
+        include Google::Apis::Core::Hashable
+      
+        # If defined, indicates that there are more spans that match the request.
+        # Pass this as the value of `pageToken` in a subsequent request to retrieve
+        # additional spans.
+        # Corresponds to the JSON property `nextPageToken`
+        # @return [String]
+        attr_accessor :next_page_token
+      
+        # The requested spans if there are any in the specified trace.
+        # Corresponds to the JSON property `spans`
+        # @return [Array]
+        attr_accessor :spans
+      
+        def initialize(**args)
+           update!(**args)
+        end
+      
+        # Update properties of this object
+        def update!(**args)
+          @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
+          @spans = args[:spans] if args.key?(:spans)
+        end
+      end
+      
+      # Represents a single stack frame in a stack trace.
+      class StackFrame
+        include Google::Apis::Core::Hashable
+      
+        # Column number is important in JavaScript (anonymous functions).
+        # May not be available in some languages.
+        # Corresponds to the JSON property `columnNumber`
+        # @return [Fixnum]
+        attr_accessor :column_number
+      
+        # The filename of the file containing this frame.
+        # Corresponds to the JSON property `fileName`
+        # @return [String]
+        attr_accessor :file_name
+      
+        # The version of the deployed source code.
+        # Corresponds to the JSON property `sourceVersion`
+        # @return [String]
+        attr_accessor :source_version
+      
+        # Used when the function name is
+        # [mangled](http://www.avabodh.com/cxxin/namemangling.html). May be
+        # fully-qualified.
+        # Corresponds to the JSON property `originalFunctionName`
+        # @return [String]
+        attr_accessor :original_function_name
+      
+        # The fully-qualified name that uniquely identifies this function or
+        # method.
+        # Corresponds to the JSON property `functionName`
+        # @return [String]
+        attr_accessor :function_name
+      
+        # Line number of the frame.
+        # Corresponds to the JSON property `lineNumber`
+        # @return [Fixnum]
+        attr_accessor :line_number
+      
+        # Binary module.
+        # Corresponds to the JSON property `loadModule`
+        # @return [Google::Apis::TracingV1::Module]
+        attr_accessor :load_module
+      
+        def initialize(**args)
+           update!(**args)
+        end
+      
+        # Update properties of this object
+        def update!(**args)
+          @column_number = args[:column_number] if args.key?(:column_number)
+          @file_name = args[:file_name] if args.key?(:file_name)
+          @source_version = args[:source_version] if args.key?(:source_version)
+          @original_function_name = args[:original_function_name] if args.key?(:original_function_name)
+          @function_name = args[:function_name] if args.key?(:function_name)
+          @line_number = args[:line_number] if args.key?(:line_number)
+          @load_module = args[:load_module] if args.key?(:load_module)
+        end
+      end
+      
+      # A pointer from this span to another span in a different `Trace`. Used
+      # (for example) in batching operations, where a single batch handler
+      # processes multiple requests from different traces.
+      class Link
+        include Google::Apis::Core::Hashable
+      
+        # The relationship of the current span relative to the linked span.
+        # Corresponds to the JSON property `type`
+        # @return [String]
+        attr_accessor :type
+      
+        # The ID of the parent trace of the linked span.
+        # Corresponds to the JSON property `traceId`
+        # @return [String]
+        attr_accessor :trace_id
+      
+        # The `id` of the linked span.
+        # Corresponds to the JSON property `spanId`
+        # @return [Fixnum]
+        attr_accessor :span_id
+      
+        def initialize(**args)
+           update!(**args)
+        end
+      
+        # Update properties of this object
+        def update!(**args)
+          @type = args[:type] if args.key?(:type)
+          @trace_id = args[:trace_id] if args.key?(:trace_id)
+          @span_id = args[:span_id] if args.key?(:span_id)
+        end
+      end
+      
+      # Text annotation with a set of attributes.
+      class Annotation
+        include Google::Apis::Core::Hashable
+      
+        # A user-supplied message describing the event.
+        # Corresponds to the JSON property `description`
+        # @return [String]
+        attr_accessor :description
+      
+        # A set of attributes on the annotation.
+        # Corresponds to the JSON property `attributes`
+        # @return [Hash]
+        attr_accessor :attributes
+      
+        def initialize(**args)
+           update!(**args)
+        end
+      
+        # Update properties of this object
+        def update!(**args)
+          @description = args[:description] if args.key?(:description)
+          @attributes = args[:attributes] if args.key?(:attributes)
+        end
+      end
+      
       # A trace describes how long it takes for an application to perform some
       # operations. It consists of a set of spans, each representing
       # an operation and including time information and operation details.
@@ -49,26 +315,26 @@ module Google
       class Module
         include Google::Apis::Core::Hashable
       
-        # Build_id is a unique identifier for the module,
-        # usually a hash of its contents
-        # Corresponds to the JSON property `buildId`
-        # @return [String]
-        attr_accessor :build_id
-      
         # E.g. main binary, kernel modules, and dynamic libraries
         # such as libc.so, sharedlib.so
         # Corresponds to the JSON property `module`
         # @return [String]
         attr_accessor :module
       
+        # Build_id is a unique identifier for the module,
+        # usually a hash of its contents
+        # Corresponds to the JSON property `buildId`
+        # @return [String]
+        attr_accessor :build_id
+      
         def initialize(**args)
            update!(**args)
         end
       
         # Update properties of this object
         def update!(**args)
-          @build_id = args[:build_id] if args.key?(:build_id)
           @module = args[:module] if args.key?(:module)
+          @build_id = args[:build_id] if args.key?(:build_id)
         end
       end
       
@@ -114,11 +380,6 @@ module Google
       class Status
         include Google::Apis::Core::Hashable
       
-        # The status code, which should be an enum value of google.rpc.Code.
-        # Corresponds to the JSON property `code`
-        # @return [Fixnum]
-        attr_accessor :code
-      
         # A developer-facing error message, which should be in English. Any
         # user-facing error message should be localized and sent in the
         # google.rpc.Status.details field, or localized by the client.
@@ -132,34 +393,20 @@ module Google
         # @return [Array>]
         attr_accessor :details
       
+        # The status code, which should be an enum value of google.rpc.Code.
+        # Corresponds to the JSON property `code`
+        # @return [Fixnum]
+        attr_accessor :code
+      
         def initialize(**args)
            update!(**args)
         end
       
         # Update properties of this object
         def update!(**args)
-          @code = args[:code] if args.key?(:code)
           @message = args[:message] if args.key?(:message)
           @details = args[:details] if args.key?(:details)
-        end
-      end
-      
-      # A generic empty message that you can re-use to avoid defining duplicated
-      # empty messages in your APIs. A typical example is to use it as the request
-      # or the response type of an API method. For instance:
-      # service Foo `
-      # rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty);
-      # `
-      # The JSON representation for `Empty` is empty JSON object ````.
-      class Empty
-        include Google::Apis::Core::Hashable
-      
-        def initialize(**args)
-           update!(**args)
-        end
-      
-        # Update properties of this object
-        def update!(**args)
+          @code = args[:code] if args.key?(:code)
         end
       end
       
@@ -199,6 +446,44 @@ module Google
       class Span
         include Google::Apis::Core::Hashable
       
+        # Properties of a span in key:value format. The maximum length for the
+        # key is 128 characters. The value can be a string (up to 2000 characters),
+        # int, or boolean.
+        # Some common pair examples:
+        # "/instance_id": "my-instance"
+        # "/zone": "us-central1-a"
+        # "/grpc/peer_address": "ip:port" (dns, etc.)
+        # "/grpc/deadline": "Duration"
+        # "/http/user_agent"
+        # "/http/request_bytes": 300
+        # "/http/response_bytes": 1200
+        # "/http/url": google.com/apis
+        # "abc.com/myattribute": true
+        # Corresponds to the JSON property `attributes`
+        # @return [Hash]
+        attr_accessor :attributes
+      
+        # Identifier for the span. Must be a 64-bit integer other than 0 and
+        # unique within a trace.
+        # Corresponds to the JSON property `id`
+        # @return [Fixnum]
+        attr_accessor :id
+      
+        # Start time of the span.
+        # On the client side, this is the local machine clock time at which the span
+        # execution was started; on the server
+        # side, this is the time at which the server application handler started
+        # running.
+        # Corresponds to the JSON property `localStartTime`
+        # @return [String]
+        attr_accessor :local_start_time
+      
+        # True if this span has a remote parent (is an RPC server span).
+        # Corresponds to the JSON property `hasRemoteParent`
+        # @return [Boolean]
+        attr_accessor :has_remote_parent
+        alias_method :has_remote_parent?, :has_remote_parent
+      
         # End time of the span.
         # On the client side, this is the local machine clock time at which the span
         # execution was ended; on the server
@@ -211,7 +496,7 @@ module Google
         # ID of the parent span. If this is a root span, the value must be `0` or
         # empty.
         # Corresponds to the JSON property `parentId`
-        # @return [String]
+        # @return [Fixnum]
         attr_accessor :parent_id
       
         # A collection of `TimeEvent`s. A `TimeEvent` is a time-stamped annotation
@@ -285,50 +570,16 @@ module Google
         # @return [Array]
         attr_accessor :links
       
-        # Properties of a span in key:value format. The maximum length for the
-        # key is 128 characters. The value can be a string (up to 2000 characters),
-        # int, or boolean.
-        # Some common pair examples:
-        # "/instance_id": "my-instance"
-        # "/zone": "us-central1-a"
-        # "/grpc/peer_address": "ip:port" (dns, etc.)
-        # "/grpc/deadline": "Duration"
-        # "/http/user_agent"
-        # "/http/request_bytes": 300
-        # "/http/response_bytes": 1200
-        # "/http/url": google.com/apis
-        # "abc.com/myattribute": true
-        # Corresponds to the JSON property `attributes`
-        # @return [Hash]
-        attr_accessor :attributes
-      
-        # Identifier for the span. Must be a 64-bit integer other than 0 and
-        # unique within a trace.
-        # Corresponds to the JSON property `id`
-        # @return [String]
-        attr_accessor :id
-      
-        # Start time of the span.
-        # On the client side, this is the local machine clock time at which the span
-        # execution was started; on the server
-        # side, this is the time at which the server application handler started
-        # running.
-        # Corresponds to the JSON property `localStartTime`
-        # @return [String]
-        attr_accessor :local_start_time
-      
-        # True if this span has a remote parent (is an RPC server span).
-        # Corresponds to the JSON property `hasRemoteParent`
-        # @return [Boolean]
-        attr_accessor :has_remote_parent
-        alias_method :has_remote_parent?, :has_remote_parent
-      
         def initialize(**args)
            update!(**args)
         end
       
         # Update properties of this object
         def update!(**args)
+          @attributes = args[:attributes] if args.key?(:attributes)
+          @id = args[:id] if args.key?(:id)
+          @local_start_time = args[:local_start_time] if args.key?(:local_start_time)
+          @has_remote_parent = args[:has_remote_parent] if args.key?(:has_remote_parent)
           @local_end_time = args[:local_end_time] if args.key?(:local_end_time)
           @parent_id = args[:parent_id] if args.key?(:parent_id)
           @time_events = args[:time_events] if args.key?(:time_events)
@@ -336,10 +587,25 @@ module Google
           @name = args[:name] if args.key?(:name)
           @stack_trace = args[:stack_trace] if args.key?(:stack_trace)
           @links = args[:links] if args.key?(:links)
-          @attributes = args[:attributes] if args.key?(:attributes)
-          @id = args[:id] if args.key?(:id)
-          @local_start_time = args[:local_start_time] if args.key?(:local_start_time)
-          @has_remote_parent = args[:has_remote_parent] if args.key?(:has_remote_parent)
+        end
+      end
+      
+      # A generic empty message that you can re-use to avoid defining duplicated
+      # empty messages in your APIs. A typical example is to use it as the request
+      # or the response type of an API method. For instance:
+      # service Foo `
+      # rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty);
+      # `
+      # The JSON representation for `Empty` is empty JSON object ````.
+      class Empty
+        include Google::Apis::Core::Hashable
+      
+        def initialize(**args)
+           update!(**args)
+        end
+      
+        # Update properties of this object
+        def update!(**args)
         end
       end
       
@@ -347,6 +613,11 @@ module Google
       class AttributeValue
         include Google::Apis::Core::Hashable
       
+        # An integer value.
+        # Corresponds to the JSON property `intValue`
+        # @return [Fixnum]
+        attr_accessor :int_value
+      
         # A string value.
         # Corresponds to the JSON property `stringValue`
         # @return [String]
@@ -358,20 +629,15 @@ module Google
         attr_accessor :bool_value
         alias_method :bool_value?, :bool_value
       
-        # An integer value.
-        # Corresponds to the JSON property `intValue`
-        # @return [String]
-        attr_accessor :int_value
-      
         def initialize(**args)
            update!(**args)
         end
       
         # Update properties of this object
         def update!(**args)
+          @int_value = args[:int_value] if args.key?(:int_value)
           @string_value = args[:string_value] if args.key?(:string_value)
           @bool_value = args[:bool_value] if args.key?(:bool_value)
-          @int_value = args[:int_value] if args.key?(:int_value)
         end
       end
       
@@ -393,272 +659,6 @@ module Google
           @span_updates = args[:span_updates] if args.key?(:span_updates)
         end
       end
-      
-      # StackTrace collected in a trace.
-      class StackTrace
-        include Google::Apis::Core::Hashable
-      
-        # Stack frames of this stack trace.
-        # Corresponds to the JSON property `stackFrame`
-        # @return [Array]
-        attr_accessor :stack_frame
-      
-        # The hash ID is used to conserve network bandwidth for duplicate
-        # stack traces within a single trace.
-        # Often multiple spans will have identical stack traces.
-        # The first occurance of a stack trace should contain both the
-        # `stackFrame` content and a value in `stackTraceHashId`.
-        # Subsequent spans within the same request can refer
-        # to that stack trace by only setting `stackTraceHashId`.
-        # Corresponds to the JSON property `stackTraceHashId`
-        # @return [String]
-        attr_accessor :stack_trace_hash_id
-      
-        def initialize(**args)
-           update!(**args)
-        end
-      
-        # Update properties of this object
-        def update!(**args)
-          @stack_frame = args[:stack_frame] if args.key?(:stack_frame)
-          @stack_trace_hash_id = args[:stack_trace_hash_id] if args.key?(:stack_trace_hash_id)
-        end
-      end
-      
-      # A time-stamped annotation in the Span.
-      class TimeEvent
-        include Google::Apis::Core::Hashable
-      
-        # An event describing an RPC message sent/received on the network.
-        # Corresponds to the JSON property `networkEvent`
-        # @return [Google::Apis::TracingV1::NetworkEvent]
-        attr_accessor :network_event
-      
-        # Text annotation with a set of attributes.
-        # Corresponds to the JSON property `annotation`
-        # @return [Google::Apis::TracingV1::Annotation]
-        attr_accessor :annotation
-      
-        # The timestamp indicating the time the event occurred.
-        # Corresponds to the JSON property `localTime`
-        # @return [String]
-        attr_accessor :local_time
-      
-        def initialize(**args)
-           update!(**args)
-        end
-      
-        # Update properties of this object
-        def update!(**args)
-          @network_event = args[:network_event] if args.key?(:network_event)
-          @annotation = args[:annotation] if args.key?(:annotation)
-          @local_time = args[:local_time] if args.key?(:local_time)
-        end
-      end
-      
-      # An event describing an RPC message sent/received on the network.
-      class NetworkEvent
-        include Google::Apis::Core::Hashable
-      
-        # The number of bytes sent or received.
-        # Corresponds to the JSON property `messageSize`
-        # @return [String]
-        attr_accessor :message_size
-      
-        # If available, this is the kernel time:
-        # *  For sent messages, this is the time at which the first bit was sent.
-        # *  For received messages, this is the time at which the last bit was
-        # received.
-        # Corresponds to the JSON property `kernelTime`
-        # @return [String]
-        attr_accessor :kernel_time
-      
-        # Type of NetworkEvent. Indicates whether the RPC message was sent or
-        # received.
-        # Corresponds to the JSON property `type`
-        # @return [String]
-        attr_accessor :type
-      
-        # An identifier for the message, which must be unique in this span.
-        # Corresponds to the JSON property `messageId`
-        # @return [String]
-        attr_accessor :message_id
-      
-        def initialize(**args)
-           update!(**args)
-        end
-      
-        # Update properties of this object
-        def update!(**args)
-          @message_size = args[:message_size] if args.key?(:message_size)
-          @kernel_time = args[:kernel_time] if args.key?(:kernel_time)
-          @type = args[:type] if args.key?(:type)
-          @message_id = args[:message_id] if args.key?(:message_id)
-        end
-      end
-      
-      # The response message for the `ListSpans` method.
-      class ListSpansResponse
-        include Google::Apis::Core::Hashable
-      
-        # The requested spans if there are any in the specified trace.
-        # Corresponds to the JSON property `spans`
-        # @return [Array]
-        attr_accessor :spans
-      
-        # If defined, indicates that there are more spans that match the request.
-        # Pass this as the value of `pageToken` in a subsequent request to retrieve
-        # additional spans.
-        # Corresponds to the JSON property `nextPageToken`
-        # @return [String]
-        attr_accessor :next_page_token
-      
-        def initialize(**args)
-           update!(**args)
-        end
-      
-        # Update properties of this object
-        def update!(**args)
-          @spans = args[:spans] if args.key?(:spans)
-          @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
-        end
-      end
-      
-      # Collection of spans to update.
-      class SpanUpdates
-        include Google::Apis::Core::Hashable
-      
-        # A collection of spans.
-        # Corresponds to the JSON property `spans`
-        # @return [Array]
-        attr_accessor :spans
-      
-        def initialize(**args)
-           update!(**args)
-        end
-      
-        # Update properties of this object
-        def update!(**args)
-          @spans = args[:spans] if args.key?(:spans)
-        end
-      end
-      
-      # Represents a single stack frame in a stack trace.
-      class StackFrame
-        include Google::Apis::Core::Hashable
-      
-        # The filename of the file containing this frame.
-        # Corresponds to the JSON property `fileName`
-        # @return [String]
-        attr_accessor :file_name
-      
-        # The version of the deployed source code.
-        # Corresponds to the JSON property `sourceVersion`
-        # @return [String]
-        attr_accessor :source_version
-      
-        # Used when the function name is
-        # [mangled](http://www.avabodh.com/cxxin/namemangling.html). May be
-        # fully-qualified.
-        # Corresponds to the JSON property `originalFunctionName`
-        # @return [String]
-        attr_accessor :original_function_name
-      
-        # The fully-qualified name that uniquely identifies this function or
-        # method.
-        # Corresponds to the JSON property `functionName`
-        # @return [String]
-        attr_accessor :function_name
-      
-        # Line number of the frame.
-        # Corresponds to the JSON property `lineNumber`
-        # @return [String]
-        attr_accessor :line_number
-      
-        # Binary module.
-        # Corresponds to the JSON property `loadModule`
-        # @return [Google::Apis::TracingV1::Module]
-        attr_accessor :load_module
-      
-        # Column number is important in JavaScript (anonymous functions).
-        # May not be available in some languages.
-        # Corresponds to the JSON property `columnNumber`
-        # @return [String]
-        attr_accessor :column_number
-      
-        def initialize(**args)
-           update!(**args)
-        end
-      
-        # Update properties of this object
-        def update!(**args)
-          @file_name = args[:file_name] if args.key?(:file_name)
-          @source_version = args[:source_version] if args.key?(:source_version)
-          @original_function_name = args[:original_function_name] if args.key?(:original_function_name)
-          @function_name = args[:function_name] if args.key?(:function_name)
-          @line_number = args[:line_number] if args.key?(:line_number)
-          @load_module = args[:load_module] if args.key?(:load_module)
-          @column_number = args[:column_number] if args.key?(:column_number)
-        end
-      end
-      
-      # A pointer from this span to another span in a different `Trace`. Used
-      # (for example) in batching operations, where a single batch handler
-      # processes multiple requests from different traces.
-      class Link
-        include Google::Apis::Core::Hashable
-      
-        # The relationship of the current span relative to the linked span.
-        # Corresponds to the JSON property `type`
-        # @return [String]
-        attr_accessor :type
-      
-        # The ID of the parent trace of the linked span.
-        # Corresponds to the JSON property `traceId`
-        # @return [String]
-        attr_accessor :trace_id
-      
-        # The `id` of the linked span.
-        # Corresponds to the JSON property `spanId`
-        # @return [String]
-        attr_accessor :span_id
-      
-        def initialize(**args)
-           update!(**args)
-        end
-      
-        # Update properties of this object
-        def update!(**args)
-          @type = args[:type] if args.key?(:type)
-          @trace_id = args[:trace_id] if args.key?(:trace_id)
-          @span_id = args[:span_id] if args.key?(:span_id)
-        end
-      end
-      
-      # Text annotation with a set of attributes.
-      class Annotation
-        include Google::Apis::Core::Hashable
-      
-        # A user-supplied message describing the event.
-        # Corresponds to the JSON property `description`
-        # @return [String]
-        attr_accessor :description
-      
-        # A set of attributes on the annotation.
-        # Corresponds to the JSON property `attributes`
-        # @return [Hash]
-        attr_accessor :attributes
-      
-        def initialize(**args)
-           update!(**args)
-        end
-      
-        # Update properties of this object
-        def update!(**args)
-          @description = args[:description] if args.key?(:description)
-          @attributes = args[:attributes] if args.key?(:attributes)
-        end
-      end
     end
   end
 end
diff --git a/generated/google/apis/tracing_v1/representations.rb b/generated/google/apis/tracing_v1/representations.rb
index c72283f4c..53b77fe7a 100644
--- a/generated/google/apis/tracing_v1/representations.rb
+++ b/generated/google/apis/tracing_v1/representations.rb
@@ -22,54 +22,6 @@ module Google
   module Apis
     module TracingV1
       
-      class Trace
-        class Representation < Google::Apis::Core::JsonRepresentation; end
-      
-        include Google::Apis::Core::JsonObjectSupport
-      end
-      
-      class Module
-        class Representation < Google::Apis::Core::JsonRepresentation; end
-      
-        include Google::Apis::Core::JsonObjectSupport
-      end
-      
-      class Status
-        class Representation < Google::Apis::Core::JsonRepresentation; end
-      
-        include Google::Apis::Core::JsonObjectSupport
-      end
-      
-      class Empty
-        class Representation < Google::Apis::Core::JsonRepresentation; end
-      
-        include Google::Apis::Core::JsonObjectSupport
-      end
-      
-      class ListTracesResponse
-        class Representation < Google::Apis::Core::JsonRepresentation; end
-      
-        include Google::Apis::Core::JsonObjectSupport
-      end
-      
-      class Span
-        class Representation < Google::Apis::Core::JsonRepresentation; end
-      
-        include Google::Apis::Core::JsonObjectSupport
-      end
-      
-      class AttributeValue
-        class Representation < Google::Apis::Core::JsonRepresentation; end
-      
-        include Google::Apis::Core::JsonObjectSupport
-      end
-      
-      class BatchUpdateSpansRequest
-        class Representation < Google::Apis::Core::JsonRepresentation; end
-      
-        include Google::Apis::Core::JsonObjectSupport
-      end
-      
       class StackTrace
         class Representation < Google::Apis::Core::JsonRepresentation; end
       
@@ -88,13 +40,13 @@ module Google
         include Google::Apis::Core::JsonObjectSupport
       end
       
-      class ListSpansResponse
+      class SpanUpdates
         class Representation < Google::Apis::Core::JsonRepresentation; end
       
         include Google::Apis::Core::JsonObjectSupport
       end
       
-      class SpanUpdates
+      class ListSpansResponse
         class Representation < Google::Apis::Core::JsonRepresentation; end
       
         include Google::Apis::Core::JsonObjectSupport
@@ -119,81 +71,51 @@ module Google
       end
       
       class Trace
-        # @private
-        class Representation < Google::Apis::Core::JsonRepresentation
-          property :name, as: 'name'
-        end
+        class Representation < Google::Apis::Core::JsonRepresentation; end
+      
+        include Google::Apis::Core::JsonObjectSupport
       end
       
       class Module
-        # @private
-        class Representation < Google::Apis::Core::JsonRepresentation
-          property :build_id, as: 'buildId'
-          property :module, as: 'module'
-        end
+        class Representation < Google::Apis::Core::JsonRepresentation; end
+      
+        include Google::Apis::Core::JsonObjectSupport
       end
       
       class Status
-        # @private
-        class Representation < Google::Apis::Core::JsonRepresentation
-          property :code, as: 'code'
-          property :message, as: 'message'
-          collection :details, as: 'details'
-        end
-      end
+        class Representation < Google::Apis::Core::JsonRepresentation; end
       
-      class Empty
-        # @private
-        class Representation < Google::Apis::Core::JsonRepresentation
-        end
+        include Google::Apis::Core::JsonObjectSupport
       end
       
       class ListTracesResponse
-        # @private
-        class Representation < Google::Apis::Core::JsonRepresentation
-          collection :traces, as: 'traces', class: Google::Apis::TracingV1::Trace, decorator: Google::Apis::TracingV1::Trace::Representation
+        class Representation < Google::Apis::Core::JsonRepresentation; end
       
-          property :next_page_token, as: 'nextPageToken'
-        end
+        include Google::Apis::Core::JsonObjectSupport
       end
       
       class Span
-        # @private
-        class Representation < Google::Apis::Core::JsonRepresentation
-          property :local_end_time, as: 'localEndTime'
-          property :parent_id, as: 'parentId'
-          collection :time_events, as: 'timeEvents', class: Google::Apis::TracingV1::TimeEvent, decorator: Google::Apis::TracingV1::TimeEvent::Representation
+        class Representation < Google::Apis::Core::JsonRepresentation; end
       
-          property :status, as: 'status', class: Google::Apis::TracingV1::Status, decorator: Google::Apis::TracingV1::Status::Representation
+        include Google::Apis::Core::JsonObjectSupport
+      end
       
-          property :name, as: 'name'
-          property :stack_trace, as: 'stackTrace', class: Google::Apis::TracingV1::StackTrace, decorator: Google::Apis::TracingV1::StackTrace::Representation
+      class Empty
+        class Representation < Google::Apis::Core::JsonRepresentation; end
       
-          collection :links, as: 'links', class: Google::Apis::TracingV1::Link, decorator: Google::Apis::TracingV1::Link::Representation
-      
-          hash :attributes, as: 'attributes', class: Google::Apis::TracingV1::AttributeValue, decorator: Google::Apis::TracingV1::AttributeValue::Representation
-      
-          property :id, as: 'id'
-          property :local_start_time, as: 'localStartTime'
-          property :has_remote_parent, as: 'hasRemoteParent'
-        end
+        include Google::Apis::Core::JsonObjectSupport
       end
       
       class AttributeValue
-        # @private
-        class Representation < Google::Apis::Core::JsonRepresentation
-          property :string_value, as: 'stringValue'
-          property :bool_value, as: 'boolValue'
-          property :int_value, as: 'intValue'
-        end
+        class Representation < Google::Apis::Core::JsonRepresentation; end
+      
+        include Google::Apis::Core::JsonObjectSupport
       end
       
       class BatchUpdateSpansRequest
-        # @private
-        class Representation < Google::Apis::Core::JsonRepresentation
-          hash :span_updates, as: 'spanUpdates', class: Google::Apis::TracingV1::SpanUpdates, decorator: Google::Apis::TracingV1::SpanUpdates::Representation
+        class Representation < Google::Apis::Core::JsonRepresentation; end
       
-        end
+        include Google::Apis::Core::JsonObjectSupport
       end
       
       class StackTrace
@@ -201,7 +123,7 @@ module Google
         class Representation < Google::Apis::Core::JsonRepresentation
           collection :stack_frame, as: 'stackFrame', class: Google::Apis::TracingV1::StackFrame, decorator: Google::Apis::TracingV1::StackFrame::Representation
       
-          property :stack_trace_hash_id, as: 'stackTraceHashId'
+          property :stack_trace_hash_id, :numeric_string => true, as: 'stackTraceHashId'
         end
       end
       
@@ -219,19 +141,10 @@ module Google
       class NetworkEvent
         # @private
         class Representation < Google::Apis::Core::JsonRepresentation
-          property :message_size, as: 'messageSize'
+          property :message_id, :numeric_string => true, as: 'messageId'
+          property :message_size, :numeric_string => true, as: 'messageSize'
           property :kernel_time, as: 'kernelTime'
           property :type, as: 'type'
-          property :message_id, as: 'messageId'
-        end
-      end
-      
-      class ListSpansResponse
-        # @private
-        class Representation < Google::Apis::Core::JsonRepresentation
-          collection :spans, as: 'spans', class: Google::Apis::TracingV1::Span, decorator: Google::Apis::TracingV1::Span::Representation
-      
-          property :next_page_token, as: 'nextPageToken'
         end
       end
       
@@ -243,17 +156,26 @@ module Google
         end
       end
       
+      class ListSpansResponse
+        # @private
+        class Representation < Google::Apis::Core::JsonRepresentation
+          property :next_page_token, as: 'nextPageToken'
+          collection :spans, as: 'spans', class: Google::Apis::TracingV1::Span, decorator: Google::Apis::TracingV1::Span::Representation
+      
+        end
+      end
+      
       class StackFrame
         # @private
         class Representation < Google::Apis::Core::JsonRepresentation
+          property :column_number, :numeric_string => true, as: 'columnNumber'
           property :file_name, as: 'fileName'
           property :source_version, as: 'sourceVersion'
           property :original_function_name, as: 'originalFunctionName'
           property :function_name, as: 'functionName'
-          property :line_number, as: 'lineNumber'
+          property :line_number, :numeric_string => true, as: 'lineNumber'
           property :load_module, as: 'loadModule', class: Google::Apis::TracingV1::Module, decorator: Google::Apis::TracingV1::Module::Representation
       
-          property :column_number, as: 'columnNumber'
         end
       end
       
@@ -262,7 +184,7 @@ module Google
         class Representation < Google::Apis::Core::JsonRepresentation
           property :type, as: 'type'
           property :trace_id, as: 'traceId'
-          property :span_id, as: 'spanId'
+          property :span_id, :numeric_string => true, as: 'spanId'
         end
       end
       
@@ -274,6 +196,84 @@ module Google
       
         end
       end
+      
+      class Trace
+        # @private
+        class Representation < Google::Apis::Core::JsonRepresentation
+          property :name, as: 'name'
+        end
+      end
+      
+      class Module
+        # @private
+        class Representation < Google::Apis::Core::JsonRepresentation
+          property :module, as: 'module'
+          property :build_id, as: 'buildId'
+        end
+      end
+      
+      class Status
+        # @private
+        class Representation < Google::Apis::Core::JsonRepresentation
+          property :message, as: 'message'
+          collection :details, as: 'details'
+          property :code, as: 'code'
+        end
+      end
+      
+      class ListTracesResponse
+        # @private
+        class Representation < Google::Apis::Core::JsonRepresentation
+          collection :traces, as: 'traces', class: Google::Apis::TracingV1::Trace, decorator: Google::Apis::TracingV1::Trace::Representation
+      
+          property :next_page_token, as: 'nextPageToken'
+        end
+      end
+      
+      class Span
+        # @private
+        class Representation < Google::Apis::Core::JsonRepresentation
+          hash :attributes, as: 'attributes', class: Google::Apis::TracingV1::AttributeValue, decorator: Google::Apis::TracingV1::AttributeValue::Representation
+      
+          property :id, :numeric_string => true, as: 'id'
+          property :local_start_time, as: 'localStartTime'
+          property :has_remote_parent, as: 'hasRemoteParent'
+          property :local_end_time, as: 'localEndTime'
+          property :parent_id, :numeric_string => true, as: 'parentId'
+          collection :time_events, as: 'timeEvents', class: Google::Apis::TracingV1::TimeEvent, decorator: Google::Apis::TracingV1::TimeEvent::Representation
+      
+          property :status, as: 'status', class: Google::Apis::TracingV1::Status, decorator: Google::Apis::TracingV1::Status::Representation
+      
+          property :name, as: 'name'
+          property :stack_trace, as: 'stackTrace', class: Google::Apis::TracingV1::StackTrace, decorator: Google::Apis::TracingV1::StackTrace::Representation
+      
+          collection :links, as: 'links', class: Google::Apis::TracingV1::Link, decorator: Google::Apis::TracingV1::Link::Representation
+      
+        end
+      end
+      
+      class Empty
+        # @private
+        class Representation < Google::Apis::Core::JsonRepresentation
+        end
+      end
+      
+      class AttributeValue
+        # @private
+        class Representation < Google::Apis::Core::JsonRepresentation
+          property :int_value, :numeric_string => true, as: 'intValue'
+          property :string_value, as: 'stringValue'
+          property :bool_value, as: 'boolValue'
+        end
+      end
+      
+      class BatchUpdateSpansRequest
+        # @private
+        class Representation < Google::Apis::Core::JsonRepresentation
+          hash :span_updates, as: 'spanUpdates', class: Google::Apis::TracingV1::SpanUpdates, decorator: Google::Apis::TracingV1::SpanUpdates::Representation
+      
+        end
+      end
     end
   end
 end
diff --git a/generated/google/apis/tracing_v1/service.rb b/generated/google/apis/tracing_v1/service.rb
index f7c387e19..5f2174f2a 100644
--- a/generated/google/apis/tracing_v1/service.rb
+++ b/generated/google/apis/tracing_v1/service.rb
@@ -44,60 +44,18 @@ module Google
 
         def initialize
           super('https://tracing.googleapis.com/', '')
-        end
-        
-        # Returns a list of spans within a trace.
-        # @param [String] name
-        #   ID of the trace for which to list child spans. Format is
-        #   `projects/PROJECT_ID/traces/TRACE_ID`.
-        # @param [String] page_token
-        #   Token identifying the page of results to return. If provided, use the
-        #   value of the `nextPageToken` field from a previous request. Optional.
-        # @param [String] fields
-        #   Selector specifying which fields to include in a partial response.
-        # @param [String] quota_user
-        #   Available to use for quota purposes for server-side applications. Can be any
-        #   arbitrary string assigned to a user, but should not exceed 40 characters.
-        # @param [Google::Apis::RequestOptions] options
-        #   Request-specific options
-        #
-        # @yield [result, err] Result & error if block supplied
-        # @yieldparam result [Google::Apis::TracingV1::ListSpansResponse] parsed result object
-        # @yieldparam err [StandardError] error object if request failed
-        #
-        # @return [Google::Apis::TracingV1::ListSpansResponse]
-        #
-        # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
-        # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
-        # @raise [Google::Apis::AuthorizationError] Authorization is required
-        def list_project_trace_spans(name, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
-          command =  make_simple_command(:get, 'v1/{+name}:listSpans', options)
-          command.response_representation = Google::Apis::TracingV1::ListSpansResponse::Representation
-          command.response_class = Google::Apis::TracingV1::ListSpansResponse
-          command.params['name'] = name unless name.nil?
-          command.query['pageToken'] = page_token unless page_token.nil?
-          command.query['fields'] = fields unless fields.nil?
-          command.query['quotaUser'] = quota_user unless quota_user.nil?
-          execute_or_queue_command(command, &block)
+          @batch_path = 'batch'
         end
         
         # Returns of a list of traces that match the specified filter conditions.
         # @param [String] parent
         #   ID of the Cloud project where the trace data is stored.
-        # @param [String] filter
-        #   An optional filter for the request.
-        #   Example:
-        #   `version_label_key:a some_label:some_label_key`
-        #   returns traces from version `a` and has `some_label` with `some_label_key`.
-        # @param [String] end_time
-        #   End of the time interval (inclusive) during which the trace data was
+        # @param [String] start_time
+        #   Start of the time interval (inclusive) during which the trace data was
         #   collected from the application.
         # @param [String] page_token
         #   Token identifying the page of results to return. If provided, use the
         #   value of the `next_page_token` field from a previous request. Optional.
-        # @param [String] start_time
-        #   Start of the time interval (inclusive) during which the trace data was
-        #   collected from the application.
         # @param [Fixnum] page_size
         #   Maximum number of traces to return. If not specified or <= 0, the
         #   implementation selects a reasonable value. The implementation may
@@ -113,11 +71,19 @@ module Google
         #   Descending order can be specified by appending `desc` to the sort field
         #   (for example, `name desc`).
         #   Only one sort field is permitted.
-        # @param [String] fields
-        #   Selector specifying which fields to include in a partial response.
+        # @param [String] filter
+        #   An optional filter for the request.
+        #   Example:
+        #   `version_label_key:a some_label:some_label_key`
+        #   returns traces from version `a` and has `some_label` with `some_label_key`.
+        # @param [String] end_time
+        #   End of the time interval (inclusive) during which the trace data was
+        #   collected from the application.
         # @param [String] quota_user
         #   Available to use for quota purposes for server-side applications. Can be any
         #   arbitrary string assigned to a user, but should not exceed 40 characters.
+        # @param [String] fields
+        #   Selector specifying which fields to include in a partial response.
         # @param [Google::Apis::RequestOptions] options
         #   Request-specific options
         #
@@ -130,30 +96,30 @@ module Google
         # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
         # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
         # @raise [Google::Apis::AuthorizationError] Authorization is required
-        def list_project_traces(parent, filter: nil, end_time: nil, page_token: nil, start_time: nil, page_size: nil, order_by: nil, fields: nil, quota_user: nil, options: nil, &block)
+        def list_project_traces(parent, start_time: nil, page_token: nil, page_size: nil, order_by: nil, filter: nil, end_time: nil, quota_user: nil, fields: nil, options: nil, &block)
           command =  make_simple_command(:get, 'v1/{+parent}/traces', options)
           command.response_representation = Google::Apis::TracingV1::ListTracesResponse::Representation
           command.response_class = Google::Apis::TracingV1::ListTracesResponse
           command.params['parent'] = parent unless parent.nil?
-          command.query['filter'] = filter unless filter.nil?
-          command.query['endTime'] = end_time unless end_time.nil?
-          command.query['pageToken'] = page_token unless page_token.nil?
           command.query['startTime'] = start_time unless start_time.nil?
+          command.query['pageToken'] = page_token unless page_token.nil?
           command.query['pageSize'] = page_size unless page_size.nil?
           command.query['orderBy'] = order_by unless order_by.nil?
-          command.query['fields'] = fields unless fields.nil?
+          command.query['filter'] = filter unless filter.nil?
+          command.query['endTime'] = end_time unless end_time.nil?
           command.query['quotaUser'] = quota_user unless quota_user.nil?
+          command.query['fields'] = fields unless fields.nil?
           execute_or_queue_command(command, &block)
         end
         
         # Returns a specific trace.
         # @param [String] name
         #   ID of the trace. Format is `projects/PROJECT_ID/traces/TRACE_ID`.
-        # @param [String] fields
-        #   Selector specifying which fields to include in a partial response.
         # @param [String] quota_user
         #   Available to use for quota purposes for server-side applications. Can be any
         #   arbitrary string assigned to a user, but should not exceed 40 characters.
+        # @param [String] fields
+        #   Selector specifying which fields to include in a partial response.
         # @param [Google::Apis::RequestOptions] options
         #   Request-specific options
         #
@@ -166,13 +132,13 @@ module Google
         # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
         # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
         # @raise [Google::Apis::AuthorizationError] Authorization is required
-        def get_project_trace(name, fields: nil, quota_user: nil, options: nil, &block)
+        def get_project_trace(name, quota_user: nil, fields: nil, options: nil, &block)
           command =  make_simple_command(:get, 'v1/{+name}', options)
           command.response_representation = Google::Apis::TracingV1::Trace::Representation
           command.response_class = Google::Apis::TracingV1::Trace
           command.params['name'] = name unless name.nil?
-          command.query['fields'] = fields unless fields.nil?
           command.query['quotaUser'] = quota_user unless quota_user.nil?
+          command.query['fields'] = fields unless fields.nil?
           execute_or_queue_command(command, &block)
         end
         
@@ -184,11 +150,11 @@ module Google
         # @param [String] parent
         #   ID of the Cloud project where the trace data is stored.
         # @param [Google::Apis::TracingV1::BatchUpdateSpansRequest] batch_update_spans_request_object
-        # @param [String] fields
-        #   Selector specifying which fields to include in a partial response.
         # @param [String] quota_user
         #   Available to use for quota purposes for server-side applications. Can be any
         #   arbitrary string assigned to a user, but should not exceed 40 characters.
+        # @param [String] fields
+        #   Selector specifying which fields to include in a partial response.
         # @param [Google::Apis::RequestOptions] options
         #   Request-specific options
         #
@@ -201,15 +167,50 @@ module Google
         # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
         # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
         # @raise [Google::Apis::AuthorizationError] Authorization is required
-        def batch_trace_update_spans(parent, batch_update_spans_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
+        def batch_trace_update_spans(parent, batch_update_spans_request_object = nil, quota_user: nil, fields: nil, options: nil, &block)
           command =  make_simple_command(:post, 'v1/{+parent}/traces:batchUpdate', options)
           command.request_representation = Google::Apis::TracingV1::BatchUpdateSpansRequest::Representation
           command.request_object = batch_update_spans_request_object
           command.response_representation = Google::Apis::TracingV1::Empty::Representation
           command.response_class = Google::Apis::TracingV1::Empty
           command.params['parent'] = parent unless parent.nil?
-          command.query['fields'] = fields unless fields.nil?
           command.query['quotaUser'] = quota_user unless quota_user.nil?
+          command.query['fields'] = fields unless fields.nil?
+          execute_or_queue_command(command, &block)
+        end
+        
+        # Returns a list of spans within a trace.
+        # @param [String] name
+        #   ID of the trace for which to list child spans. Format is
+        #   `projects/PROJECT_ID/traces/TRACE_ID`.
+        # @param [String] page_token
+        #   Token identifying the page of results to return. If provided, use the
+        #   value of the `nextPageToken` field from a previous request. Optional.
+        # @param [String] quota_user
+        #   Available to use for quota purposes for server-side applications. Can be any
+        #   arbitrary string assigned to a user, but should not exceed 40 characters.
+        # @param [String] fields
+        #   Selector specifying which fields to include in a partial response.
+        # @param [Google::Apis::RequestOptions] options
+        #   Request-specific options
+        #
+        # @yield [result, err] Result & error if block supplied
+        # @yieldparam result [Google::Apis::TracingV1::ListSpansResponse] parsed result object
+        # @yieldparam err [StandardError] error object if request failed
+        #
+        # @return [Google::Apis::TracingV1::ListSpansResponse]
+        #
+        # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
+        # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
+        # @raise [Google::Apis::AuthorizationError] Authorization is required
+        def list_project_trace_spans(name, page_token: nil, quota_user: nil, fields: nil, options: nil, &block)
+          command =  make_simple_command(:get, 'v1/{+name}:listSpans', options)
+          command.response_representation = Google::Apis::TracingV1::ListSpansResponse::Representation
+          command.response_class = Google::Apis::TracingV1::ListSpansResponse
+          command.params['name'] = name unless name.nil?
+          command.query['pageToken'] = page_token unless page_token.nil?
+          command.query['quotaUser'] = quota_user unless quota_user.nil?
+          command.query['fields'] = fields unless fields.nil?
           execute_or_queue_command(command, &block)
         end
 
diff --git a/generated/google/apis/translate_v2/service.rb b/generated/google/apis/translate_v2/service.rb
index 946682a48..6ea7b6fb6 100644
--- a/generated/google/apis/translate_v2/service.rb
+++ b/generated/google/apis/translate_v2/service.rb
@@ -50,6 +50,7 @@ module Google
 
         def initialize
           super('https://www.googleapis.com/', 'language/translate/')
+          @batch_path = 'batch'
         end
         
         # Detect the language of text.
diff --git a/generated/google/apis/urlshortener_v1/classes.rb b/generated/google/apis/urlshortener_v1/classes.rb
index 2af0aaeb0..c00b2236b 100644
--- a/generated/google/apis/urlshortener_v1/classes.rb
+++ b/generated/google/apis/urlshortener_v1/classes.rb
@@ -40,7 +40,7 @@ module Google
       
         # Number of clicks on all goo.gl short URLs pointing to this long URL.
         # Corresponds to the JSON property `longUrlClicks`
-        # @return [String]
+        # @return [Fixnum]
         attr_accessor :long_url_clicks
       
         # Top platforms or OSes, e.g. "Windows"; sorted by (descending) click counts.
@@ -57,7 +57,7 @@ module Google
       
         # Number of clicks on this short URL.
         # Corresponds to the JSON property `shortUrlClicks`
-        # @return [String]
+        # @return [Fixnum]
         attr_accessor :short_url_clicks
       
         def initialize(**args)
@@ -125,7 +125,7 @@ module Google
         # Number of clicks for this top entry, e.g. for this particular country or
         # browser.
         # Corresponds to the JSON property `count`
-        # @return [String]
+        # @return [Fixnum]
         attr_accessor :count
       
         # Label assigned to this top entry, e.g. "US" or "Chrome".
diff --git a/generated/google/apis/urlshortener_v1/representations.rb b/generated/google/apis/urlshortener_v1/representations.rb
index 9caa8b2ef..f2f970c8b 100644
--- a/generated/google/apis/urlshortener_v1/representations.rb
+++ b/generated/google/apis/urlshortener_v1/representations.rb
@@ -59,12 +59,12 @@ module Google
       
           collection :countries, as: 'countries', class: Google::Apis::UrlshortenerV1::StringCount, decorator: Google::Apis::UrlshortenerV1::StringCount::Representation
       
-          property :long_url_clicks, as: 'longUrlClicks'
+          property :long_url_clicks, :numeric_string => true, as: 'longUrlClicks'
           collection :platforms, as: 'platforms', class: Google::Apis::UrlshortenerV1::StringCount, decorator: Google::Apis::UrlshortenerV1::StringCount::Representation
       
           collection :referrers, as: 'referrers', class: Google::Apis::UrlshortenerV1::StringCount, decorator: Google::Apis::UrlshortenerV1::StringCount::Representation
       
-          property :short_url_clicks, as: 'shortUrlClicks'
+          property :short_url_clicks, :numeric_string => true, as: 'shortUrlClicks'
         end
       end
       
@@ -87,7 +87,7 @@ module Google
       class StringCount
         # @private
         class Representation < Google::Apis::Core::JsonRepresentation
-          property :count, as: 'count'
+          property :count, :numeric_string => true, as: 'count'
           property :id, as: 'id'
         end
       end
diff --git a/generated/google/apis/urlshortener_v1/service.rb b/generated/google/apis/urlshortener_v1/service.rb
index 31735ffe7..670b6af84 100644
--- a/generated/google/apis/urlshortener_v1/service.rb
+++ b/generated/google/apis/urlshortener_v1/service.rb
@@ -50,6 +50,7 @@ module Google
 
         def initialize
           super('https://www.googleapis.com/', 'urlshortener/v1/')
+          @batch_path = 'batch'
         end
         
         # Expands a short URL or gets creation time and analytics.
diff --git a/generated/google/apis/vision_v1/classes.rb b/generated/google/apis/vision_v1/classes.rb
index 38f006748..44b56cc61 100644
--- a/generated/google/apis/vision_v1/classes.rb
+++ b/generated/google/apis/vision_v1/classes.rb
@@ -22,530 +22,6 @@ module Google
   module Apis
     module VisionV1
       
-      # Parameters for crop hints annotation request.
-      class CropHintsParams
-        include Google::Apis::Core::Hashable
-      
-        # Aspect ratios in floats, representing the ratio of the width to the height
-        # of the image. For example, if the desired aspect ratio is 4/3, the
-        # corresponding float value should be 1.33333.  If not specified, the
-        # best possible crop is returned. The number of provided aspect ratios is
-        # limited to a maximum of 16; any aspect ratios provided after the 16th are
-        # ignored.
-        # Corresponds to the JSON property `aspectRatios`
-        # @return [Array]
-        attr_accessor :aspect_ratios
-      
-        def initialize(**args)
-           update!(**args)
-        end
-      
-        # Update properties of this object
-        def update!(**args)
-          @aspect_ratios = args[:aspect_ratios] if args.key?(:aspect_ratios)
-        end
-      end
-      
-      # Logical element on the page.
-      class Block
-        include Google::Apis::Core::Hashable
-      
-        # Additional information detected on the structural component.
-        # Corresponds to the JSON property `property`
-        # @return [Google::Apis::VisionV1::TextProperty]
-        attr_accessor :property
-      
-        # Detected block type (text, image etc) for this block.
-        # Corresponds to the JSON property `blockType`
-        # @return [String]
-        attr_accessor :block_type
-      
-        # A bounding polygon for the detected image annotation.
-        # Corresponds to the JSON property `boundingBox`
-        # @return [Google::Apis::VisionV1::BoundingPoly]
-        attr_accessor :bounding_box
-      
-        # List of paragraphs in this block (if this blocks is of type text).
-        # Corresponds to the JSON property `paragraphs`
-        # @return [Array]
-        attr_accessor :paragraphs
-      
-        def initialize(**args)
-           update!(**args)
-        end
-      
-        # Update properties of this object
-        def update!(**args)
-          @property = args[:property] if args.key?(:property)
-          @block_type = args[:block_type] if args.key?(:block_type)
-          @bounding_box = args[:bounding_box] if args.key?(:bounding_box)
-          @paragraphs = args[:paragraphs] if args.key?(:paragraphs)
-        end
-      end
-      
-      # A `Property` consists of a user-supplied name/value pair.
-      class Property
-        include Google::Apis::Core::Hashable
-      
-        # Value of the property.
-        # Corresponds to the JSON property `value`
-        # @return [String]
-        attr_accessor :value
-      
-        # Value of numeric properties.
-        # Corresponds to the JSON property `uint64Value`
-        # @return [String]
-        attr_accessor :uint64_value
-      
-        # Name of the property.
-        # Corresponds to the JSON property `name`
-        # @return [String]
-        attr_accessor :name
-      
-        def initialize(**args)
-           update!(**args)
-        end
-      
-        # Update properties of this object
-        def update!(**args)
-          @value = args[:value] if args.key?(:value)
-          @uint64_value = args[:uint64_value] if args.key?(:uint64_value)
-          @name = args[:name] if args.key?(:name)
-        end
-      end
-      
-      # Detected entity location information.
-      class LocationInfo
-        include Google::Apis::Core::Hashable
-      
-        # An object representing a latitude/longitude pair. This is expressed as a pair
-        # of doubles representing degrees latitude and degrees longitude. Unless
-        # specified otherwise, this must conform to the
-        # WGS84
-        # standard. Values must be within normalized ranges.
-        # Example of normalization code in Python:
-        # def NormalizeLongitude(longitude):
-        # """Wraps decimal degrees longitude to [-180.0, 180.0]."""
-        # q, r = divmod(longitude, 360.0)
-        # if r > 180.0 or (r == 180.0 and q <= -1.0):
-        # return r - 360.0
-        # return r
-        # def NormalizeLatLng(latitude, longitude):
-        # """Wraps decimal degrees latitude and longitude to
-        # [-90.0, 90.0] and [-180.0, 180.0], respectively."""
-        # r = latitude % 360.0
-        # if r <= 90.0:
-        # return r, NormalizeLongitude(longitude)
-        # elif r >= 270.0:
-        # return r - 360, NormalizeLongitude(longitude)
-        # else:
-        # return 180 - r, NormalizeLongitude(longitude + 180.0)
-        # assert 180.0 == NormalizeLongitude(180.0)
-        # assert -180.0 == NormalizeLongitude(-180.0)
-        # assert -179.0 == NormalizeLongitude(181.0)
-        # assert (0.0, 0.0) == NormalizeLatLng(360.0, 0.0)
-        # assert (0.0, 0.0) == NormalizeLatLng(-360.0, 0.0)
-        # assert (85.0, 180.0) == NormalizeLatLng(95.0, 0.0)
-        # assert (-85.0, -170.0) == NormalizeLatLng(-95.0, 10.0)
-        # assert (90.0, 10.0) == NormalizeLatLng(90.0, 10.0)
-        # assert (-90.0, -10.0) == NormalizeLatLng(-90.0, -10.0)
-        # assert (0.0, -170.0) == NormalizeLatLng(-180.0, 10.0)
-        # assert (0.0, -170.0) == NormalizeLatLng(180.0, 10.0)
-        # assert (-90.0, 10.0) == NormalizeLatLng(270.0, 10.0)
-        # assert (90.0, 10.0) == NormalizeLatLng(-270.0, 10.0)
-        # The code in logs/storage/validator/logs_validator_traits.cc treats this type
-        # as if it were annotated as ST_LOCATION.
-        # Corresponds to the JSON property `latLng`
-        # @return [Google::Apis::VisionV1::LatLng]
-        attr_accessor :lat_lng
-      
-        def initialize(**args)
-           update!(**args)
-        end
-      
-        # Update properties of this object
-        def update!(**args)
-          @lat_lng = args[:lat_lng] if args.key?(:lat_lng)
-        end
-      end
-      
-      # External image source (Google Cloud Storage image location).
-      class ImageSource
-        include Google::Apis::Core::Hashable
-      
-        # NOTE: For new code `image_uri` below is preferred.
-        # Google Cloud Storage image URI, which must be in the following form:
-        # `gs://bucket_name/object_name` (for details, see
-        # [Google Cloud Storage Request
-        # URIs](https://cloud.google.com/storage/docs/reference-uris)).
-        # NOTE: Cloud Storage object versioning is not supported.
-        # Corresponds to the JSON property `gcsImageUri`
-        # @return [String]
-        attr_accessor :gcs_image_uri
-      
-        # Image URI which supports:
-        # 1) Google Cloud Storage image URI, which must be in the following form:
-        # `gs://bucket_name/object_name` (for details, see
-        # [Google Cloud Storage Request
-        # URIs](https://cloud.google.com/storage/docs/reference-uris)).
-        # NOTE: Cloud Storage object versioning is not supported.
-        # 2) Publicly accessible image HTTP/HTTPS URL.
-        # This is preferred over the legacy `gcs_image_uri` above. When both
-        # `gcs_image_uri` and `image_uri` are specified, `image_uri` takes
-        # precedence.
-        # Corresponds to the JSON property `imageUri`
-        # @return [String]
-        attr_accessor :image_uri
-      
-        def initialize(**args)
-           update!(**args)
-        end
-      
-        # Update properties of this object
-        def update!(**args)
-          @gcs_image_uri = args[:gcs_image_uri] if args.key?(:gcs_image_uri)
-          @image_uri = args[:image_uri] if args.key?(:image_uri)
-        end
-      end
-      
-      # Response to a batch image annotation request.
-      class BatchAnnotateImagesResponse
-        include Google::Apis::Core::Hashable
-      
-        # Individual responses to image annotation requests within the batch.
-        # Corresponds to the JSON property `responses`
-        # @return [Array]
-        attr_accessor :responses
-      
-        def initialize(**args)
-           update!(**args)
-        end
-      
-        # Update properties of this object
-        def update!(**args)
-          @responses = args[:responses] if args.key?(:responses)
-        end
-      end
-      
-      # Relevant information for the image from the Internet.
-      class WebDetection
-        include Google::Apis::Core::Hashable
-      
-        # Fully matching images from the Internet.
-        # They're definite neardups and most often a copy of the query image with
-        # merely a size change.
-        # Corresponds to the JSON property `fullMatchingImages`
-        # @return [Array]
-        attr_accessor :full_matching_images
-      
-        # Deduced entities from similar images on the Internet.
-        # Corresponds to the JSON property `webEntities`
-        # @return [Array]
-        attr_accessor :web_entities
-      
-        # Web pages containing the matching images from the Internet.
-        # Corresponds to the JSON property `pagesWithMatchingImages`
-        # @return [Array]
-        attr_accessor :pages_with_matching_images
-      
-        # Partial matching images from the Internet.
-        # Those images are similar enough to share some key-point features. For
-        # example an original image will likely have partial matching for its crops.
-        # Corresponds to the JSON property `partialMatchingImages`
-        # @return [Array]
-        attr_accessor :partial_matching_images
-      
-        # The visually similar image results.
-        # Corresponds to the JSON property `visuallySimilarImages`
-        # @return [Array]
-        attr_accessor :visually_similar_images
-      
-        def initialize(**args)
-           update!(**args)
-        end
-      
-        # Update properties of this object
-        def update!(**args)
-          @full_matching_images = args[:full_matching_images] if args.key?(:full_matching_images)
-          @web_entities = args[:web_entities] if args.key?(:web_entities)
-          @pages_with_matching_images = args[:pages_with_matching_images] if args.key?(:pages_with_matching_images)
-          @partial_matching_images = args[:partial_matching_images] if args.key?(:partial_matching_images)
-          @visually_similar_images = args[:visually_similar_images] if args.key?(:visually_similar_images)
-        end
-      end
-      
-      # A 3D position in the image, used primarily for Face detection landmarks.
-      # A valid Position must have both x and y coordinates.
-      # The position coordinates are in the same scale as the original image.
-      class Position
-        include Google::Apis::Core::Hashable
-      
-        # Y coordinate.
-        # Corresponds to the JSON property `y`
-        # @return [Float]
-        attr_accessor :y
-      
-        # X coordinate.
-        # Corresponds to the JSON property `x`
-        # @return [Float]
-        attr_accessor :x
-      
-        # Z coordinate (or depth).
-        # Corresponds to the JSON property `z`
-        # @return [Float]
-        attr_accessor :z
-      
-        def initialize(**args)
-           update!(**args)
-        end
-      
-        # Update properties of this object
-        def update!(**args)
-          @y = args[:y] if args.key?(:y)
-          @x = args[:x] if args.key?(:x)
-          @z = args[:z] if args.key?(:z)
-        end
-      end
-      
-      # Color information consists of RGB channels, score, and the fraction of
-      # the image that the color occupies in the image.
-      class ColorInfo
-        include Google::Apis::Core::Hashable
-      
-        # The fraction of pixels the color occupies in the image.
-        # Value in range [0, 1].
-        # Corresponds to the JSON property `pixelFraction`
-        # @return [Float]
-        attr_accessor :pixel_fraction
-      
-        # Represents a color in the RGBA color space. This representation is designed
-        # for simplicity of conversion to/from color representations in various
-        # languages over compactness; for example, the fields of this representation
-        # can be trivially provided to the constructor of "java.awt.Color" in Java; it
-        # can also be trivially provided to UIColor's "+colorWithRed:green:blue:alpha"
-        # method in iOS; and, with just a little work, it can be easily formatted into
-        # a CSS "rgba()" string in JavaScript, as well. Here are some examples:
-        # Example (Java):
-        # import com.google.type.Color;
-        # // ...
-        # public static java.awt.Color fromProto(Color protocolor) `
-        # float alpha = protocolor.hasAlpha()
-        # ? protocolor.getAlpha().getValue()
-        # : 1.0;
-        # return new java.awt.Color(
-        # protocolor.getRed(),
-        # protocolor.getGreen(),
-        # protocolor.getBlue(),
-        # alpha);
-        # `
-        # public static Color toProto(java.awt.Color color) `
-        # float red = (float) color.getRed();
-        # float green = (float) color.getGreen();
-        # float blue = (float) color.getBlue();
-        # float denominator = 255.0;
-        # Color.Builder resultBuilder =
-        # Color
-        # .newBuilder()
-        # .setRed(red / denominator)
-        # .setGreen(green / denominator)
-        # .setBlue(blue / denominator);
-        # int alpha = color.getAlpha();
-        # if (alpha != 255) `
-        # result.setAlpha(
-        # FloatValue
-        # .newBuilder()
-        # .setValue(((float) alpha) / denominator)
-        # .build());
-        # `
-        # return resultBuilder.build();
-        # `
-        # // ...
-        # Example (iOS / Obj-C):
-        # // ...
-        # static UIColor* fromProto(Color* protocolor) `
-        # float red = [protocolor red];
-        # float green = [protocolor green];
-        # float blue = [protocolor blue];
-        # FloatValue* alpha_wrapper = [protocolor alpha];
-        # float alpha = 1.0;
-        # if (alpha_wrapper != nil) `
-        # alpha = [alpha_wrapper value];
-        # `
-        # return [UIColor colorWithRed:red green:green blue:blue alpha:alpha];
-        # `
-        # static Color* toProto(UIColor* color) `
-        # CGFloat red, green, blue, alpha;
-        # if (![color getRed:&red green:&green blue:&blue alpha:&alpha]) `
-        # return nil;
-        # `
-        # Color* result = [Color alloc] init];
-        # [result setRed:red];
-        # [result setGreen:green];
-        # [result setBlue:blue];
-        # if (alpha <= 0.9999) `
-        # [result setAlpha:floatWrapperWithValue(alpha)];
-        # `
-        # [result autorelease];
-        # return result;
-        # `
-        # // ...
-        # Example (JavaScript):
-        # // ...
-        # var protoToCssColor = function(rgb_color) `
-        # var redFrac = rgb_color.red || 0.0;
-        # var greenFrac = rgb_color.green || 0.0;
-        # var blueFrac = rgb_color.blue || 0.0;
-        # var red = Math.floor(redFrac * 255);
-        # var green = Math.floor(greenFrac * 255);
-        # var blue = Math.floor(blueFrac * 255);
-        # if (!('alpha' in rgb_color)) `
-        # return rgbToCssColor_(red, green, blue);
-        # `
-        # var alphaFrac = rgb_color.alpha.value || 0.0;
-        # var rgbParams = [red, green, blue].join(',');
-        # return ['rgba(', rgbParams, ',', alphaFrac, ')'].join('');
-        # `;
-        # var rgbToCssColor_ = function(red, green, blue) `
-        # var rgbNumber = new Number((red << 16) | (green << 8) | blue);
-        # var hexString = rgbNumber.toString(16);
-        # var missingZeros = 6 - hexString.length;
-        # var resultBuilder = ['#'];
-        # for (var i = 0; i < missingZeros; i++) `
-        # resultBuilder.push('0');
-        # `
-        # resultBuilder.push(hexString);
-        # return resultBuilder.join('');
-        # `;
-        # // ...
-        # Corresponds to the JSON property `color`
-        # @return [Google::Apis::VisionV1::Color]
-        attr_accessor :color
-      
-        # Image-specific score for this color. Value in range [0, 1].
-        # Corresponds to the JSON property `score`
-        # @return [Float]
-        attr_accessor :score
-      
-        def initialize(**args)
-           update!(**args)
-        end
-      
-        # Update properties of this object
-        def update!(**args)
-          @pixel_fraction = args[:pixel_fraction] if args.key?(:pixel_fraction)
-          @color = args[:color] if args.key?(:color)
-          @score = args[:score] if args.key?(:score)
-        end
-      end
-      
-      # Metadata for web pages.
-      class WebPage
-        include Google::Apis::Core::Hashable
-      
-        # The result web page URL.
-        # Corresponds to the JSON property `url`
-        # @return [String]
-        attr_accessor :url
-      
-        # Overall relevancy score for the web page.
-        # Not normalized and not comparable across different image queries.
-        # Corresponds to the JSON property `score`
-        # @return [Float]
-        attr_accessor :score
-      
-        def initialize(**args)
-           update!(**args)
-        end
-      
-        # Update properties of this object
-        def update!(**args)
-          @url = args[:url] if args.key?(:url)
-          @score = args[:score] if args.key?(:score)
-        end
-      end
-      
-      # Set of detected entity features.
-      class EntityAnnotation
-        include Google::Apis::Core::Hashable
-      
-        # The location information for the detected entity. Multiple
-        # `LocationInfo` elements can be present because one location may
-        # indicate the location of the scene in the image, and another location
-        # may indicate the location of the place where the image was taken.
-        # Location information is usually present for landmarks.
-        # Corresponds to the JSON property `locations`
-        # @return [Array]
-        attr_accessor :locations
-      
-        # Opaque entity ID. Some IDs may be available in
-        # [Google Knowledge Graph Search API](https://developers.google.com/knowledge-
-        # graph/).
-        # Corresponds to the JSON property `mid`
-        # @return [String]
-        attr_accessor :mid
-      
-        # The accuracy of the entity detection in an image.
-        # For example, for an image in which the "Eiffel Tower" entity is detected,
-        # this field represents the confidence that there is a tower in the query
-        # image. Range [0, 1].
-        # Corresponds to the JSON property `confidence`
-        # @return [Float]
-        attr_accessor :confidence
-      
-        # A bounding polygon for the detected image annotation.
-        # Corresponds to the JSON property `boundingPoly`
-        # @return [Google::Apis::VisionV1::BoundingPoly]
-        attr_accessor :bounding_poly
-      
-        # The language code for the locale in which the entity textual
-        # `description` is expressed.
-        # Corresponds to the JSON property `locale`
-        # @return [String]
-        attr_accessor :locale
-      
-        # Entity textual description, expressed in its `locale` language.
-        # Corresponds to the JSON property `description`
-        # @return [String]
-        attr_accessor :description
-      
-        # The relevancy of the ICA (Image Content Annotation) label to the
-        # image. For example, the relevancy of "tower" is likely higher to an image
-        # containing the detected "Eiffel Tower" than to an image containing a
-        # detected distant towering building, even though the confidence that
-        # there is a tower in each image may be the same. Range [0, 1].
-        # Corresponds to the JSON property `topicality`
-        # @return [Float]
-        attr_accessor :topicality
-      
-        # Some entities may have optional user-supplied `Property` (name/value)
-        # fields, such a score or string that qualifies the entity.
-        # Corresponds to the JSON property `properties`
-        # @return [Array]
-        attr_accessor :properties
-      
-        # Overall score of the result. Range [0, 1].
-        # Corresponds to the JSON property `score`
-        # @return [Float]
-        attr_accessor :score
-      
-        def initialize(**args)
-           update!(**args)
-        end
-      
-        # Update properties of this object
-        def update!(**args)
-          @locations = args[:locations] if args.key?(:locations)
-          @mid = args[:mid] if args.key?(:mid)
-          @confidence = args[:confidence] if args.key?(:confidence)
-          @bounding_poly = args[:bounding_poly] if args.key?(:bounding_poly)
-          @locale = args[:locale] if args.key?(:locale)
-          @description = args[:description] if args.key?(:description)
-          @topicality = args[:topicality] if args.key?(:topicality)
-          @properties = args[:properties] if args.key?(:properties)
-          @score = args[:score] if args.key?(:score)
-        end
-      end
-      
       # Single crop hint that is used to generate a new crop when serving an image.
       class CropHint
         include Google::Apis::Core::Hashable
@@ -639,6 +115,11 @@ module Google
       class Word
         include Google::Apis::Core::Hashable
       
+        # Additional information detected on the structural component.
+        # Corresponds to the JSON property `property`
+        # @return [Google::Apis::VisionV1::TextProperty]
+        attr_accessor :property
+      
         # A bounding polygon for the detected image annotation.
         # Corresponds to the JSON property `boundingBox`
         # @return [Google::Apis::VisionV1::BoundingPoly]
@@ -650,20 +131,15 @@ module Google
         # @return [Array]
         attr_accessor :symbols
       
-        # Additional information detected on the structural component.
-        # Corresponds to the JSON property `property`
-        # @return [Google::Apis::VisionV1::TextProperty]
-        attr_accessor :property
-      
         def initialize(**args)
            update!(**args)
         end
       
         # Update properties of this object
         def update!(**args)
+          @property = args[:property] if args.key?(:property)
           @bounding_box = args[:bounding_box] if args.key?(:bounding_box)
           @symbols = args[:symbols] if args.key?(:symbols)
-          @property = args[:property] if args.key?(:property)
         end
       end
       
@@ -699,6 +175,11 @@ module Google
       class Paragraph
         include Google::Apis::Core::Hashable
       
+        # Additional information detected on the structural component.
+        # Corresponds to the JSON property `property`
+        # @return [Google::Apis::VisionV1::TextProperty]
+        attr_accessor :property
+      
         # A bounding polygon for the detected image annotation.
         # Corresponds to the JSON property `boundingBox`
         # @return [Google::Apis::VisionV1::BoundingPoly]
@@ -709,20 +190,15 @@ module Google
         # @return [Array]
         attr_accessor :words
       
-        # Additional information detected on the structural component.
-        # Corresponds to the JSON property `property`
-        # @return [Google::Apis::VisionV1::TextProperty]
-        attr_accessor :property
-      
         def initialize(**args)
            update!(**args)
         end
       
         # Update properties of this object
         def update!(**args)
+          @property = args[:property] if args.key?(:property)
           @bounding_box = args[:bounding_box] if args.key?(:bounding_box)
           @words = args[:words] if args.key?(:words)
-          @property = args[:property] if args.key?(:property)
         end
       end
       
@@ -730,36 +206,47 @@ module Google
       class FaceAnnotation
         include Google::Apis::Core::Hashable
       
+        # Sorrow likelihood.
+        # Corresponds to the JSON property `sorrowLikelihood`
+        # @return [String]
+        attr_accessor :sorrow_likelihood
+      
+        # Pitch angle, which indicates the upwards/downwards angle that the face is
+        # pointing relative to the image's horizontal plane. Range [-180,180].
+        # Corresponds to the JSON property `tiltAngle`
+        # @return [Float]
+        attr_accessor :tilt_angle
+      
         # A bounding polygon for the detected image annotation.
         # Corresponds to the JSON property `fdBoundingPoly`
         # @return [Google::Apis::VisionV1::BoundingPoly]
         attr_accessor :fd_bounding_poly
       
-        # Anger likelihood.
-        # Corresponds to the JSON property `angerLikelihood`
-        # @return [String]
-        attr_accessor :anger_likelihood
-      
-        # Detected face landmarks.
-        # Corresponds to the JSON property `landmarks`
-        # @return [Array]
-        attr_accessor :landmarks
-      
         # Surprise likelihood.
         # Corresponds to the JSON property `surpriseLikelihood`
         # @return [String]
         attr_accessor :surprise_likelihood
       
-        # Face landmarking confidence. Range [0, 1].
-        # Corresponds to the JSON property `landmarkingConfidence`
-        # @return [Float]
-        attr_accessor :landmarking_confidence
+        # Detected face landmarks.
+        # Corresponds to the JSON property `landmarks`
+        # @return [Array]
+        attr_accessor :landmarks
+      
+        # Anger likelihood.
+        # Corresponds to the JSON property `angerLikelihood`
+        # @return [String]
+        attr_accessor :anger_likelihood
       
         # Joy likelihood.
         # Corresponds to the JSON property `joyLikelihood`
         # @return [String]
         attr_accessor :joy_likelihood
       
+        # Face landmarking confidence. Range [0, 1].
+        # Corresponds to the JSON property `landmarkingConfidence`
+        # @return [Float]
+        attr_accessor :landmarking_confidence
+      
         # Detection confidence. Range [0, 1].
         # Corresponds to the JSON property `detectionConfidence`
         # @return [Float]
@@ -799,29 +286,20 @@ module Google
         # @return [Float]
         attr_accessor :roll_angle
       
-        # Sorrow likelihood.
-        # Corresponds to the JSON property `sorrowLikelihood`
-        # @return [String]
-        attr_accessor :sorrow_likelihood
-      
-        # Pitch angle, which indicates the upwards/downwards angle that the face is
-        # pointing relative to the image's horizontal plane. Range [-180,180].
-        # Corresponds to the JSON property `tiltAngle`
-        # @return [Float]
-        attr_accessor :tilt_angle
-      
         def initialize(**args)
            update!(**args)
         end
       
         # Update properties of this object
         def update!(**args)
+          @sorrow_likelihood = args[:sorrow_likelihood] if args.key?(:sorrow_likelihood)
+          @tilt_angle = args[:tilt_angle] if args.key?(:tilt_angle)
           @fd_bounding_poly = args[:fd_bounding_poly] if args.key?(:fd_bounding_poly)
-          @anger_likelihood = args[:anger_likelihood] if args.key?(:anger_likelihood)
-          @landmarks = args[:landmarks] if args.key?(:landmarks)
           @surprise_likelihood = args[:surprise_likelihood] if args.key?(:surprise_likelihood)
-          @landmarking_confidence = args[:landmarking_confidence] if args.key?(:landmarking_confidence)
+          @landmarks = args[:landmarks] if args.key?(:landmarks)
+          @anger_likelihood = args[:anger_likelihood] if args.key?(:anger_likelihood)
           @joy_likelihood = args[:joy_likelihood] if args.key?(:joy_likelihood)
+          @landmarking_confidence = args[:landmarking_confidence] if args.key?(:landmarking_confidence)
           @detection_confidence = args[:detection_confidence] if args.key?(:detection_confidence)
           @pan_angle = args[:pan_angle] if args.key?(:pan_angle)
           @under_exposed_likelihood = args[:under_exposed_likelihood] if args.key?(:under_exposed_likelihood)
@@ -829,8 +307,6 @@ module Google
           @headwear_likelihood = args[:headwear_likelihood] if args.key?(:headwear_likelihood)
           @bounding_poly = args[:bounding_poly] if args.key?(:bounding_poly)
           @roll_angle = args[:roll_angle] if args.key?(:roll_angle)
-          @sorrow_likelihood = args[:sorrow_likelihood] if args.key?(:sorrow_likelihood)
-          @tilt_angle = args[:tilt_angle] if args.key?(:tilt_angle)
         end
       end
       
@@ -857,25 +333,25 @@ module Google
       class DetectedBreak
         include Google::Apis::Core::Hashable
       
-        # Detected break type.
-        # Corresponds to the JSON property `type`
-        # @return [String]
-        attr_accessor :type
-      
         # True if break prepends the element.
         # Corresponds to the JSON property `isPrefix`
         # @return [Boolean]
         attr_accessor :is_prefix
         alias_method :is_prefix?, :is_prefix
       
+        # Detected break type.
+        # Corresponds to the JSON property `type`
+        # @return [String]
+        attr_accessor :type
+      
         def initialize(**args)
            update!(**args)
         end
       
         # Update properties of this object
         def update!(**args)
-          @type = args[:type] if args.key?(:type)
           @is_prefix = args[:is_prefix] if args.key?(:is_prefix)
+          @type = args[:type] if args.key?(:type)
         end
       end
       
@@ -883,16 +359,6 @@ module Google
       class ImageContext
         include Google::Apis::Core::Hashable
       
-        # Rectangle determined by min and max `LatLng` pairs.
-        # Corresponds to the JSON property `latLongRect`
-        # @return [Google::Apis::VisionV1::LatLongRect]
-        attr_accessor :lat_long_rect
-      
-        # Parameters for crop hints annotation request.
-        # Corresponds to the JSON property `cropHintsParams`
-        # @return [Google::Apis::VisionV1::CropHintsParams]
-        attr_accessor :crop_hints_params
-      
         # List of languages to use for TEXT_DETECTION. In most cases, an empty value
         # yields the best results since it enables automatic language detection. For
         # languages based on the Latin alphabet, setting `language_hints` is not
@@ -905,15 +371,25 @@ module Google
         # @return [Array]
         attr_accessor :language_hints
       
+        # Rectangle determined by min and max `LatLng` pairs.
+        # Corresponds to the JSON property `latLongRect`
+        # @return [Google::Apis::VisionV1::LatLongRect]
+        attr_accessor :lat_long_rect
+      
+        # Parameters for crop hints annotation request.
+        # Corresponds to the JSON property `cropHintsParams`
+        # @return [Google::Apis::VisionV1::CropHintsParams]
+        attr_accessor :crop_hints_params
+      
         def initialize(**args)
            update!(**args)
         end
       
         # Update properties of this object
         def update!(**args)
+          @language_hints = args[:language_hints] if args.key?(:language_hints)
           @lat_long_rect = args[:lat_long_rect] if args.key?(:lat_long_rect)
           @crop_hints_params = args[:crop_hints_params] if args.key?(:crop_hints_params)
-          @language_hints = args[:language_hints] if args.key?(:language_hints)
         end
       end
       
@@ -921,16 +397,6 @@ module Google
       class Page
         include Google::Apis::Core::Hashable
       
-        # Page height in pixels.
-        # Corresponds to the JSON property `height`
-        # @return [Fixnum]
-        attr_accessor :height
-      
-        # Page width in pixels.
-        # Corresponds to the JSON property `width`
-        # @return [Fixnum]
-        attr_accessor :width
-      
         # List of blocks of text, images etc on this page.
         # Corresponds to the JSON property `blocks`
         # @return [Array]
@@ -941,16 +407,26 @@ module Google
         # @return [Google::Apis::VisionV1::TextProperty]
         attr_accessor :property
       
+        # Page height in pixels.
+        # Corresponds to the JSON property `height`
+        # @return [Fixnum]
+        attr_accessor :height
+      
+        # Page width in pixels.
+        # Corresponds to the JSON property `width`
+        # @return [Fixnum]
+        attr_accessor :width
+      
         def initialize(**args)
            update!(**args)
         end
       
         # Update properties of this object
         def update!(**args)
-          @height = args[:height] if args.key?(:height)
-          @width = args[:width] if args.key?(:width)
           @blocks = args[:blocks] if args.key?(:blocks)
           @property = args[:property] if args.key?(:property)
+          @height = args[:height] if args.key?(:height)
+          @width = args[:width] if args.key?(:width)
         end
       end
       
@@ -959,11 +435,6 @@ module Google
       class AnnotateImageRequest
         include Google::Apis::Core::Hashable
       
-        # Image context and/or feature-specific parameters.
-        # Corresponds to the JSON property `imageContext`
-        # @return [Google::Apis::VisionV1::ImageContext]
-        attr_accessor :image_context
-      
         # Client image to perform Google Cloud Vision API tasks over.
         # Corresponds to the JSON property `image`
         # @return [Google::Apis::VisionV1::Image]
@@ -974,15 +445,20 @@ module Google
         # @return [Array]
         attr_accessor :features
       
+        # Image context and/or feature-specific parameters.
+        # Corresponds to the JSON property `imageContext`
+        # @return [Google::Apis::VisionV1::ImageContext]
+        attr_accessor :image_context
+      
         def initialize(**args)
            update!(**args)
         end
       
         # Update properties of this object
         def update!(**args)
-          @image_context = args[:image_context] if args.key?(:image_context)
           @image = args[:image] if args.key?(:image)
           @features = args[:features] if args.key?(:features)
+          @image_context = args[:image_context] if args.key?(:image_context)
         end
       end
       
@@ -1058,37 +534,6 @@ module Google
         end
       end
       
-      # A single symbol representation.
-      class Symbol
-        include Google::Apis::Core::Hashable
-      
-        # Additional information detected on the structural component.
-        # Corresponds to the JSON property `property`
-        # @return [Google::Apis::VisionV1::TextProperty]
-        attr_accessor :property
-      
-        # A bounding polygon for the detected image annotation.
-        # Corresponds to the JSON property `boundingBox`
-        # @return [Google::Apis::VisionV1::BoundingPoly]
-        attr_accessor :bounding_box
-      
-        # The actual UTF-8 representation of the symbol.
-        # Corresponds to the JSON property `text`
-        # @return [String]
-        attr_accessor :text
-      
-        def initialize(**args)
-           update!(**args)
-        end
-      
-        # Update properties of this object
-        def update!(**args)
-          @property = args[:property] if args.key?(:property)
-          @bounding_box = args[:bounding_box] if args.key?(:bounding_box)
-          @text = args[:text] if args.key?(:text)
-        end
-      end
-      
       # Rectangle determined by min and max `LatLng` pairs.
       class LatLongRect
         include Google::Apis::Core::Hashable
@@ -1186,6 +631,37 @@ module Google
         end
       end
       
+      # A single symbol representation.
+      class Symbol
+        include Google::Apis::Core::Hashable
+      
+        # Additional information detected on the structural component.
+        # Corresponds to the JSON property `property`
+        # @return [Google::Apis::VisionV1::TextProperty]
+        attr_accessor :property
+      
+        # A bounding polygon for the detected image annotation.
+        # Corresponds to the JSON property `boundingBox`
+        # @return [Google::Apis::VisionV1::BoundingPoly]
+        attr_accessor :bounding_box
+      
+        # The actual UTF-8 representation of the symbol.
+        # Corresponds to the JSON property `text`
+        # @return [String]
+        attr_accessor :text
+      
+        def initialize(**args)
+           update!(**args)
+        end
+      
+        # Update properties of this object
+        def update!(**args)
+          @property = args[:property] if args.key?(:property)
+          @bounding_box = args[:bounding_box] if args.key?(:bounding_box)
+          @text = args[:text] if args.key?(:text)
+        end
+      end
+      
       # Set of crop hints that are used to generate new crops when serving images.
       class CropHintsAnnotation
         include Google::Apis::Core::Hashable
@@ -1462,11 +938,6 @@ module Google
       class SafeSearchAnnotation
         include Google::Apis::Core::Hashable
       
-        # Violence likelihood.
-        # Corresponds to the JSON property `violence`
-        # @return [String]
-        attr_accessor :violence
-      
         # Represents the adult content likelihood for the image.
         # Corresponds to the JSON property `adult`
         # @return [String]
@@ -1484,16 +955,21 @@ module Google
         # @return [String]
         attr_accessor :medical
       
+        # Violence likelihood.
+        # Corresponds to the JSON property `violence`
+        # @return [String]
+        attr_accessor :violence
+      
         def initialize(**args)
            update!(**args)
         end
       
         # Update properties of this object
         def update!(**args)
-          @violence = args[:violence] if args.key?(:violence)
           @adult = args[:adult] if args.key?(:adult)
           @spoof = args[:spoof] if args.key?(:spoof)
           @medical = args[:medical] if args.key?(:medical)
+          @violence = args[:violence] if args.key?(:violence)
         end
       end
       
@@ -1547,6 +1023,32 @@ module Google
         end
       end
       
+      # A vertex represents a 2D point in the image.
+      # NOTE: the vertex coordinates are in the same scale as the original image.
+      class Vertex
+        include Google::Apis::Core::Hashable
+      
+        # Y coordinate.
+        # Corresponds to the JSON property `y`
+        # @return [Fixnum]
+        attr_accessor :y
+      
+        # X coordinate.
+        # Corresponds to the JSON property `x`
+        # @return [Fixnum]
+        attr_accessor :x
+      
+        def initialize(**args)
+           update!(**args)
+        end
+      
+        # Update properties of this object
+        def update!(**args)
+          @y = args[:y] if args.key?(:y)
+          @x = args[:x] if args.key?(:x)
+        end
+      end
+      
       # Detected language for a structural component.
       class DetectedLanguage
         include Google::Apis::Core::Hashable
@@ -1574,54 +1076,28 @@ module Google
         end
       end
       
-      # A vertex represents a 2D point in the image.
-      # NOTE: the vertex coordinates are in the same scale as the original image.
-      class Vertex
-        include Google::Apis::Core::Hashable
-      
-        # Y coordinate.
-        # Corresponds to the JSON property `y`
-        # @return [Fixnum]
-        attr_accessor :y
-      
-        # X coordinate.
-        # Corresponds to the JSON property `x`
-        # @return [Fixnum]
-        attr_accessor :x
-      
-        def initialize(**args)
-           update!(**args)
-        end
-      
-        # Update properties of this object
-        def update!(**args)
-          @y = args[:y] if args.key?(:y)
-          @x = args[:x] if args.key?(:x)
-        end
-      end
-      
       # Additional information detected on the structural component.
       class TextProperty
         include Google::Apis::Core::Hashable
       
-        # A list of detected languages together with confidence.
-        # Corresponds to the JSON property `detectedLanguages`
-        # @return [Array]
-        attr_accessor :detected_languages
-      
         # Detected start or end of a structural component.
         # Corresponds to the JSON property `detectedBreak`
         # @return [Google::Apis::VisionV1::DetectedBreak]
         attr_accessor :detected_break
       
+        # A list of detected languages together with confidence.
+        # Corresponds to the JSON property `detectedLanguages`
+        # @return [Array]
+        attr_accessor :detected_languages
+      
         def initialize(**args)
            update!(**args)
         end
       
         # Update properties of this object
         def update!(**args)
-          @detected_languages = args[:detected_languages] if args.key?(:detected_languages)
           @detected_break = args[:detected_break] if args.key?(:detected_break)
+          @detected_languages = args[:detected_languages] if args.key?(:detected_languages)
         end
       end
       
@@ -1680,6 +1156,48 @@ module Google
       class AnnotateImageResponse
         include Google::Apis::Core::Hashable
       
+        # If present, text (OCR) detection has completed successfully.
+        # Corresponds to the JSON property `textAnnotations`
+        # @return [Array]
+        attr_accessor :text_annotations
+      
+        # Stores image properties, such as dominant colors.
+        # Corresponds to the JSON property `imagePropertiesAnnotation`
+        # @return [Google::Apis::VisionV1::ImageProperties]
+        attr_accessor :image_properties_annotation
+      
+        # If present, face detection has completed successfully.
+        # Corresponds to the JSON property `faceAnnotations`
+        # @return [Array]
+        attr_accessor :face_annotations
+      
+        # If present, logo detection has completed successfully.
+        # Corresponds to the JSON property `logoAnnotations`
+        # @return [Array]
+        attr_accessor :logo_annotations
+      
+        # Set of crop hints that are used to generate new crops when serving images.
+        # Corresponds to the JSON property `cropHintsAnnotation`
+        # @return [Google::Apis::VisionV1::CropHintsAnnotation]
+        attr_accessor :crop_hints_annotation
+      
+        # Relevant information for the image from the Internet.
+        # Corresponds to the JSON property `webDetection`
+        # @return [Google::Apis::VisionV1::WebDetection]
+        attr_accessor :web_detection
+      
+        # If present, label detection has completed successfully.
+        # Corresponds to the JSON property `labelAnnotations`
+        # @return [Array]
+        attr_accessor :label_annotations
+      
+        # Set of features pertaining to the image, computed by computer vision
+        # methods over safe-search verticals (for example, adult, spoof, medical,
+        # violence).
+        # Corresponds to the JSON property `safeSearchAnnotation`
+        # @return [Google::Apis::VisionV1::SafeSearchAnnotation]
+        attr_accessor :safe_search_annotation
+      
         # The `Status` type defines a logical error model that is suitable for different
         # programming environments, including REST APIs and RPC APIs. It is used by
         # [gRPC](https://github.com/grpc). The error model is designed to be:
@@ -1739,57 +1257,12 @@ module Google
         # @return [Array]
         attr_accessor :landmark_annotations
       
-        # If present, text (OCR) detection has completed successfully.
-        # Corresponds to the JSON property `textAnnotations`
-        # @return [Array]
-        attr_accessor :text_annotations
-      
-        # Stores image properties, such as dominant colors.
-        # Corresponds to the JSON property `imagePropertiesAnnotation`
-        # @return [Google::Apis::VisionV1::ImageProperties]
-        attr_accessor :image_properties_annotation
-      
-        # If present, face detection has completed successfully.
-        # Corresponds to the JSON property `faceAnnotations`
-        # @return [Array]
-        attr_accessor :face_annotations
-      
-        # If present, logo detection has completed successfully.
-        # Corresponds to the JSON property `logoAnnotations`
-        # @return [Array]
-        attr_accessor :logo_annotations
-      
-        # Set of crop hints that are used to generate new crops when serving images.
-        # Corresponds to the JSON property `cropHintsAnnotation`
-        # @return [Google::Apis::VisionV1::CropHintsAnnotation]
-        attr_accessor :crop_hints_annotation
-      
-        # Relevant information for the image from the Internet.
-        # Corresponds to the JSON property `webDetection`
-        # @return [Google::Apis::VisionV1::WebDetection]
-        attr_accessor :web_detection
-      
-        # If present, label detection has completed successfully.
-        # Corresponds to the JSON property `labelAnnotations`
-        # @return [Array]
-        attr_accessor :label_annotations
-      
-        # Set of features pertaining to the image, computed by computer vision
-        # methods over safe-search verticals (for example, adult, spoof, medical,
-        # violence).
-        # Corresponds to the JSON property `safeSearchAnnotation`
-        # @return [Google::Apis::VisionV1::SafeSearchAnnotation]
-        attr_accessor :safe_search_annotation
-      
         def initialize(**args)
            update!(**args)
         end
       
         # Update properties of this object
         def update!(**args)
-          @error = args[:error] if args.key?(:error)
-          @full_text_annotation = args[:full_text_annotation] if args.key?(:full_text_annotation)
-          @landmark_annotations = args[:landmark_annotations] if args.key?(:landmark_annotations)
           @text_annotations = args[:text_annotations] if args.key?(:text_annotations)
           @image_properties_annotation = args[:image_properties_annotation] if args.key?(:image_properties_annotation)
           @face_annotations = args[:face_annotations] if args.key?(:face_annotations)
@@ -1798,6 +1271,533 @@ module Google
           @web_detection = args[:web_detection] if args.key?(:web_detection)
           @label_annotations = args[:label_annotations] if args.key?(:label_annotations)
           @safe_search_annotation = args[:safe_search_annotation] if args.key?(:safe_search_annotation)
+          @error = args[:error] if args.key?(:error)
+          @full_text_annotation = args[:full_text_annotation] if args.key?(:full_text_annotation)
+          @landmark_annotations = args[:landmark_annotations] if args.key?(:landmark_annotations)
+        end
+      end
+      
+      # Parameters for crop hints annotation request.
+      class CropHintsParams
+        include Google::Apis::Core::Hashable
+      
+        # Aspect ratios in floats, representing the ratio of the width to the height
+        # of the image. For example, if the desired aspect ratio is 4/3, the
+        # corresponding float value should be 1.33333.  If not specified, the
+        # best possible crop is returned. The number of provided aspect ratios is
+        # limited to a maximum of 16; any aspect ratios provided after the 16th are
+        # ignored.
+        # Corresponds to the JSON property `aspectRatios`
+        # @return [Array]
+        attr_accessor :aspect_ratios
+      
+        def initialize(**args)
+           update!(**args)
+        end
+      
+        # Update properties of this object
+        def update!(**args)
+          @aspect_ratios = args[:aspect_ratios] if args.key?(:aspect_ratios)
+        end
+      end
+      
+      # Logical element on the page.
+      class Block
+        include Google::Apis::Core::Hashable
+      
+        # Additional information detected on the structural component.
+        # Corresponds to the JSON property `property`
+        # @return [Google::Apis::VisionV1::TextProperty]
+        attr_accessor :property
+      
+        # Detected block type (text, image etc) for this block.
+        # Corresponds to the JSON property `blockType`
+        # @return [String]
+        attr_accessor :block_type
+      
+        # A bounding polygon for the detected image annotation.
+        # Corresponds to the JSON property `boundingBox`
+        # @return [Google::Apis::VisionV1::BoundingPoly]
+        attr_accessor :bounding_box
+      
+        # List of paragraphs in this block (if this blocks is of type text).
+        # Corresponds to the JSON property `paragraphs`
+        # @return [Array]
+        attr_accessor :paragraphs
+      
+        def initialize(**args)
+           update!(**args)
+        end
+      
+        # Update properties of this object
+        def update!(**args)
+          @property = args[:property] if args.key?(:property)
+          @block_type = args[:block_type] if args.key?(:block_type)
+          @bounding_box = args[:bounding_box] if args.key?(:bounding_box)
+          @paragraphs = args[:paragraphs] if args.key?(:paragraphs)
+        end
+      end
+      
+      # A `Property` consists of a user-supplied name/value pair.
+      class Property
+        include Google::Apis::Core::Hashable
+      
+        # Value of the property.
+        # Corresponds to the JSON property `value`
+        # @return [String]
+        attr_accessor :value
+      
+        # Value of numeric properties.
+        # Corresponds to the JSON property `uint64Value`
+        # @return [Fixnum]
+        attr_accessor :uint64_value
+      
+        # Name of the property.
+        # Corresponds to the JSON property `name`
+        # @return [String]
+        attr_accessor :name
+      
+        def initialize(**args)
+           update!(**args)
+        end
+      
+        # Update properties of this object
+        def update!(**args)
+          @value = args[:value] if args.key?(:value)
+          @uint64_value = args[:uint64_value] if args.key?(:uint64_value)
+          @name = args[:name] if args.key?(:name)
+        end
+      end
+      
+      # Detected entity location information.
+      class LocationInfo
+        include Google::Apis::Core::Hashable
+      
+        # An object representing a latitude/longitude pair. This is expressed as a pair
+        # of doubles representing degrees latitude and degrees longitude. Unless
+        # specified otherwise, this must conform to the
+        # WGS84
+        # standard. Values must be within normalized ranges.
+        # Example of normalization code in Python:
+        # def NormalizeLongitude(longitude):
+        # """Wraps decimal degrees longitude to [-180.0, 180.0]."""
+        # q, r = divmod(longitude, 360.0)
+        # if r > 180.0 or (r == 180.0 and q <= -1.0):
+        # return r - 360.0
+        # return r
+        # def NormalizeLatLng(latitude, longitude):
+        # """Wraps decimal degrees latitude and longitude to
+        # [-90.0, 90.0] and [-180.0, 180.0], respectively."""
+        # r = latitude % 360.0
+        # if r <= 90.0:
+        # return r, NormalizeLongitude(longitude)
+        # elif r >= 270.0:
+        # return r - 360, NormalizeLongitude(longitude)
+        # else:
+        # return 180 - r, NormalizeLongitude(longitude + 180.0)
+        # assert 180.0 == NormalizeLongitude(180.0)
+        # assert -180.0 == NormalizeLongitude(-180.0)
+        # assert -179.0 == NormalizeLongitude(181.0)
+        # assert (0.0, 0.0) == NormalizeLatLng(360.0, 0.0)
+        # assert (0.0, 0.0) == NormalizeLatLng(-360.0, 0.0)
+        # assert (85.0, 180.0) == NormalizeLatLng(95.0, 0.0)
+        # assert (-85.0, -170.0) == NormalizeLatLng(-95.0, 10.0)
+        # assert (90.0, 10.0) == NormalizeLatLng(90.0, 10.0)
+        # assert (-90.0, -10.0) == NormalizeLatLng(-90.0, -10.0)
+        # assert (0.0, -170.0) == NormalizeLatLng(-180.0, 10.0)
+        # assert (0.0, -170.0) == NormalizeLatLng(180.0, 10.0)
+        # assert (-90.0, 10.0) == NormalizeLatLng(270.0, 10.0)
+        # assert (90.0, 10.0) == NormalizeLatLng(-270.0, 10.0)
+        # The code in logs/storage/validator/logs_validator_traits.cc treats this type
+        # as if it were annotated as ST_LOCATION.
+        # Corresponds to the JSON property `latLng`
+        # @return [Google::Apis::VisionV1::LatLng]
+        attr_accessor :lat_lng
+      
+        def initialize(**args)
+           update!(**args)
+        end
+      
+        # Update properties of this object
+        def update!(**args)
+          @lat_lng = args[:lat_lng] if args.key?(:lat_lng)
+        end
+      end
+      
+      # External image source (Google Cloud Storage image location).
+      class ImageSource
+        include Google::Apis::Core::Hashable
+      
+        # NOTE: For new code `image_uri` below is preferred.
+        # Google Cloud Storage image URI, which must be in the following form:
+        # `gs://bucket_name/object_name` (for details, see
+        # [Google Cloud Storage Request
+        # URIs](https://cloud.google.com/storage/docs/reference-uris)).
+        # NOTE: Cloud Storage object versioning is not supported.
+        # Corresponds to the JSON property `gcsImageUri`
+        # @return [String]
+        attr_accessor :gcs_image_uri
+      
+        # Image URI which supports:
+        # 1) Google Cloud Storage image URI, which must be in the following form:
+        # `gs://bucket_name/object_name` (for details, see
+        # [Google Cloud Storage Request
+        # URIs](https://cloud.google.com/storage/docs/reference-uris)).
+        # NOTE: Cloud Storage object versioning is not supported.
+        # 2) Publicly accessible image HTTP/HTTPS URL.
+        # This is preferred over the legacy `gcs_image_uri` above. When both
+        # `gcs_image_uri` and `image_uri` are specified, `image_uri` takes
+        # precedence.
+        # Corresponds to the JSON property `imageUri`
+        # @return [String]
+        attr_accessor :image_uri
+      
+        def initialize(**args)
+           update!(**args)
+        end
+      
+        # Update properties of this object
+        def update!(**args)
+          @gcs_image_uri = args[:gcs_image_uri] if args.key?(:gcs_image_uri)
+          @image_uri = args[:image_uri] if args.key?(:image_uri)
+        end
+      end
+      
+      # Response to a batch image annotation request.
+      class BatchAnnotateImagesResponse
+        include Google::Apis::Core::Hashable
+      
+        # Individual responses to image annotation requests within the batch.
+        # Corresponds to the JSON property `responses`
+        # @return [Array]
+        attr_accessor :responses
+      
+        def initialize(**args)
+           update!(**args)
+        end
+      
+        # Update properties of this object
+        def update!(**args)
+          @responses = args[:responses] if args.key?(:responses)
+        end
+      end
+      
+      # Relevant information for the image from the Internet.
+      class WebDetection
+        include Google::Apis::Core::Hashable
+      
+        # Fully matching images from the Internet.
+        # They're definite neardups and most often a copy of the query image with
+        # merely a size change.
+        # Corresponds to the JSON property `fullMatchingImages`
+        # @return [Array]
+        attr_accessor :full_matching_images
+      
+        # Deduced entities from similar images on the Internet.
+        # Corresponds to the JSON property `webEntities`
+        # @return [Array]
+        attr_accessor :web_entities
+      
+        # Web pages containing the matching images from the Internet.
+        # Corresponds to the JSON property `pagesWithMatchingImages`
+        # @return [Array]
+        attr_accessor :pages_with_matching_images
+      
+        # Partial matching images from the Internet.
+        # Those images are similar enough to share some key-point features. For
+        # example an original image will likely have partial matching for its crops.
+        # Corresponds to the JSON property `partialMatchingImages`
+        # @return [Array]
+        attr_accessor :partial_matching_images
+      
+        # The visually similar image results.
+        # Corresponds to the JSON property `visuallySimilarImages`
+        # @return [Array]
+        attr_accessor :visually_similar_images
+      
+        def initialize(**args)
+           update!(**args)
+        end
+      
+        # Update properties of this object
+        def update!(**args)
+          @full_matching_images = args[:full_matching_images] if args.key?(:full_matching_images)
+          @web_entities = args[:web_entities] if args.key?(:web_entities)
+          @pages_with_matching_images = args[:pages_with_matching_images] if args.key?(:pages_with_matching_images)
+          @partial_matching_images = args[:partial_matching_images] if args.key?(:partial_matching_images)
+          @visually_similar_images = args[:visually_similar_images] if args.key?(:visually_similar_images)
+        end
+      end
+      
+      # A 3D position in the image, used primarily for Face detection landmarks.
+      # A valid Position must have both x and y coordinates.
+      # The position coordinates are in the same scale as the original image.
+      class Position
+        include Google::Apis::Core::Hashable
+      
+        # Y coordinate.
+        # Corresponds to the JSON property `y`
+        # @return [Float]
+        attr_accessor :y
+      
+        # X coordinate.
+        # Corresponds to the JSON property `x`
+        # @return [Float]
+        attr_accessor :x
+      
+        # Z coordinate (or depth).
+        # Corresponds to the JSON property `z`
+        # @return [Float]
+        attr_accessor :z
+      
+        def initialize(**args)
+           update!(**args)
+        end
+      
+        # Update properties of this object
+        def update!(**args)
+          @y = args[:y] if args.key?(:y)
+          @x = args[:x] if args.key?(:x)
+          @z = args[:z] if args.key?(:z)
+        end
+      end
+      
+      # Metadata for web pages.
+      class WebPage
+        include Google::Apis::Core::Hashable
+      
+        # Overall relevancy score for the web page.
+        # Not normalized and not comparable across different image queries.
+        # Corresponds to the JSON property `score`
+        # @return [Float]
+        attr_accessor :score
+      
+        # The result web page URL.
+        # Corresponds to the JSON property `url`
+        # @return [String]
+        attr_accessor :url
+      
+        def initialize(**args)
+           update!(**args)
+        end
+      
+        # Update properties of this object
+        def update!(**args)
+          @score = args[:score] if args.key?(:score)
+          @url = args[:url] if args.key?(:url)
+        end
+      end
+      
+      # Color information consists of RGB channels, score, and the fraction of
+      # the image that the color occupies in the image.
+      class ColorInfo
+        include Google::Apis::Core::Hashable
+      
+        # Image-specific score for this color. Value in range [0, 1].
+        # Corresponds to the JSON property `score`
+        # @return [Float]
+        attr_accessor :score
+      
+        # The fraction of pixels the color occupies in the image.
+        # Value in range [0, 1].
+        # Corresponds to the JSON property `pixelFraction`
+        # @return [Float]
+        attr_accessor :pixel_fraction
+      
+        # Represents a color in the RGBA color space. This representation is designed
+        # for simplicity of conversion to/from color representations in various
+        # languages over compactness; for example, the fields of this representation
+        # can be trivially provided to the constructor of "java.awt.Color" in Java; it
+        # can also be trivially provided to UIColor's "+colorWithRed:green:blue:alpha"
+        # method in iOS; and, with just a little work, it can be easily formatted into
+        # a CSS "rgba()" string in JavaScript, as well. Here are some examples:
+        # Example (Java):
+        # import com.google.type.Color;
+        # // ...
+        # public static java.awt.Color fromProto(Color protocolor) `
+        # float alpha = protocolor.hasAlpha()
+        # ? protocolor.getAlpha().getValue()
+        # : 1.0;
+        # return new java.awt.Color(
+        # protocolor.getRed(),
+        # protocolor.getGreen(),
+        # protocolor.getBlue(),
+        # alpha);
+        # `
+        # public static Color toProto(java.awt.Color color) `
+        # float red = (float) color.getRed();
+        # float green = (float) color.getGreen();
+        # float blue = (float) color.getBlue();
+        # float denominator = 255.0;
+        # Color.Builder resultBuilder =
+        # Color
+        # .newBuilder()
+        # .setRed(red / denominator)
+        # .setGreen(green / denominator)
+        # .setBlue(blue / denominator);
+        # int alpha = color.getAlpha();
+        # if (alpha != 255) `
+        # result.setAlpha(
+        # FloatValue
+        # .newBuilder()
+        # .setValue(((float) alpha) / denominator)
+        # .build());
+        # `
+        # return resultBuilder.build();
+        # `
+        # // ...
+        # Example (iOS / Obj-C):
+        # // ...
+        # static UIColor* fromProto(Color* protocolor) `
+        # float red = [protocolor red];
+        # float green = [protocolor green];
+        # float blue = [protocolor blue];
+        # FloatValue* alpha_wrapper = [protocolor alpha];
+        # float alpha = 1.0;
+        # if (alpha_wrapper != nil) `
+        # alpha = [alpha_wrapper value];
+        # `
+        # return [UIColor colorWithRed:red green:green blue:blue alpha:alpha];
+        # `
+        # static Color* toProto(UIColor* color) `
+        # CGFloat red, green, blue, alpha;
+        # if (![color getRed:&red green:&green blue:&blue alpha:&alpha]) `
+        # return nil;
+        # `
+        # Color* result = [Color alloc] init];
+        # [result setRed:red];
+        # [result setGreen:green];
+        # [result setBlue:blue];
+        # if (alpha <= 0.9999) `
+        # [result setAlpha:floatWrapperWithValue(alpha)];
+        # `
+        # [result autorelease];
+        # return result;
+        # `
+        # // ...
+        # Example (JavaScript):
+        # // ...
+        # var protoToCssColor = function(rgb_color) `
+        # var redFrac = rgb_color.red || 0.0;
+        # var greenFrac = rgb_color.green || 0.0;
+        # var blueFrac = rgb_color.blue || 0.0;
+        # var red = Math.floor(redFrac * 255);
+        # var green = Math.floor(greenFrac * 255);
+        # var blue = Math.floor(blueFrac * 255);
+        # if (!('alpha' in rgb_color)) `
+        # return rgbToCssColor_(red, green, blue);
+        # `
+        # var alphaFrac = rgb_color.alpha.value || 0.0;
+        # var rgbParams = [red, green, blue].join(',');
+        # return ['rgba(', rgbParams, ',', alphaFrac, ')'].join('');
+        # `;
+        # var rgbToCssColor_ = function(red, green, blue) `
+        # var rgbNumber = new Number((red << 16) | (green << 8) | blue);
+        # var hexString = rgbNumber.toString(16);
+        # var missingZeros = 6 - hexString.length;
+        # var resultBuilder = ['#'];
+        # for (var i = 0; i < missingZeros; i++) `
+        # resultBuilder.push('0');
+        # `
+        # resultBuilder.push(hexString);
+        # return resultBuilder.join('');
+        # `;
+        # // ...
+        # Corresponds to the JSON property `color`
+        # @return [Google::Apis::VisionV1::Color]
+        attr_accessor :color
+      
+        def initialize(**args)
+           update!(**args)
+        end
+      
+        # Update properties of this object
+        def update!(**args)
+          @score = args[:score] if args.key?(:score)
+          @pixel_fraction = args[:pixel_fraction] if args.key?(:pixel_fraction)
+          @color = args[:color] if args.key?(:color)
+        end
+      end
+      
+      # Set of detected entity features.
+      class EntityAnnotation
+        include Google::Apis::Core::Hashable
+      
+        # A bounding polygon for the detected image annotation.
+        # Corresponds to the JSON property `boundingPoly`
+        # @return [Google::Apis::VisionV1::BoundingPoly]
+        attr_accessor :bounding_poly
+      
+        # The language code for the locale in which the entity textual
+        # `description` is expressed.
+        # Corresponds to the JSON property `locale`
+        # @return [String]
+        attr_accessor :locale
+      
+        # The relevancy of the ICA (Image Content Annotation) label to the
+        # image. For example, the relevancy of "tower" is likely higher to an image
+        # containing the detected "Eiffel Tower" than to an image containing a
+        # detected distant towering building, even though the confidence that
+        # there is a tower in each image may be the same. Range [0, 1].
+        # Corresponds to the JSON property `topicality`
+        # @return [Float]
+        attr_accessor :topicality
+      
+        # Entity textual description, expressed in its `locale` language.
+        # Corresponds to the JSON property `description`
+        # @return [String]
+        attr_accessor :description
+      
+        # Some entities may have optional user-supplied `Property` (name/value)
+        # fields, such a score or string that qualifies the entity.
+        # Corresponds to the JSON property `properties`
+        # @return [Array]
+        attr_accessor :properties
+      
+        # Overall score of the result. Range [0, 1].
+        # Corresponds to the JSON property `score`
+        # @return [Float]
+        attr_accessor :score
+      
+        # The location information for the detected entity. Multiple
+        # `LocationInfo` elements can be present because one location may
+        # indicate the location of the scene in the image, and another location
+        # may indicate the location of the place where the image was taken.
+        # Location information is usually present for landmarks.
+        # Corresponds to the JSON property `locations`
+        # @return [Array]
+        attr_accessor :locations
+      
+        # Opaque entity ID. Some IDs may be available in
+        # [Google Knowledge Graph Search API](https://developers.google.com/knowledge-
+        # graph/).
+        # Corresponds to the JSON property `mid`
+        # @return [String]
+        attr_accessor :mid
+      
+        # The accuracy of the entity detection in an image.
+        # For example, for an image in which the "Eiffel Tower" entity is detected,
+        # this field represents the confidence that there is a tower in the query
+        # image. Range [0, 1].
+        # Corresponds to the JSON property `confidence`
+        # @return [Float]
+        attr_accessor :confidence
+      
+        def initialize(**args)
+           update!(**args)
+        end
+      
+        # Update properties of this object
+        def update!(**args)
+          @bounding_poly = args[:bounding_poly] if args.key?(:bounding_poly)
+          @locale = args[:locale] if args.key?(:locale)
+          @topicality = args[:topicality] if args.key?(:topicality)
+          @description = args[:description] if args.key?(:description)
+          @properties = args[:properties] if args.key?(:properties)
+          @score = args[:score] if args.key?(:score)
+          @locations = args[:locations] if args.key?(:locations)
+          @mid = args[:mid] if args.key?(:mid)
+          @confidence = args[:confidence] if args.key?(:confidence)
         end
       end
     end
diff --git a/generated/google/apis/vision_v1/representations.rb b/generated/google/apis/vision_v1/representations.rb
index 6b0b0b89d..f7068be3c 100644
--- a/generated/google/apis/vision_v1/representations.rb
+++ b/generated/google/apis/vision_v1/representations.rb
@@ -22,72 +22,6 @@ module Google
   module Apis
     module VisionV1
       
-      class CropHintsParams
-        class Representation < Google::Apis::Core::JsonRepresentation; end
-      
-        include Google::Apis::Core::JsonObjectSupport
-      end
-      
-      class Block
-        class Representation < Google::Apis::Core::JsonRepresentation; end
-      
-        include Google::Apis::Core::JsonObjectSupport
-      end
-      
-      class Property
-        class Representation < Google::Apis::Core::JsonRepresentation; end
-      
-        include Google::Apis::Core::JsonObjectSupport
-      end
-      
-      class LocationInfo
-        class Representation < Google::Apis::Core::JsonRepresentation; end
-      
-        include Google::Apis::Core::JsonObjectSupport
-      end
-      
-      class ImageSource
-        class Representation < Google::Apis::Core::JsonRepresentation; end
-      
-        include Google::Apis::Core::JsonObjectSupport
-      end
-      
-      class BatchAnnotateImagesResponse
-        class Representation < Google::Apis::Core::JsonRepresentation; end
-      
-        include Google::Apis::Core::JsonObjectSupport
-      end
-      
-      class WebDetection
-        class Representation < Google::Apis::Core::JsonRepresentation; end
-      
-        include Google::Apis::Core::JsonObjectSupport
-      end
-      
-      class Position
-        class Representation < Google::Apis::Core::JsonRepresentation; end
-      
-        include Google::Apis::Core::JsonObjectSupport
-      end
-      
-      class ColorInfo
-        class Representation < Google::Apis::Core::JsonRepresentation; end
-      
-        include Google::Apis::Core::JsonObjectSupport
-      end
-      
-      class WebPage
-        class Representation < Google::Apis::Core::JsonRepresentation; end
-      
-        include Google::Apis::Core::JsonObjectSupport
-      end
-      
-      class EntityAnnotation
-        class Representation < Google::Apis::Core::JsonRepresentation; end
-      
-        include Google::Apis::Core::JsonObjectSupport
-      end
-      
       class CropHint
         class Representation < Google::Apis::Core::JsonRepresentation; end
       
@@ -166,13 +100,13 @@ module Google
         include Google::Apis::Core::JsonObjectSupport
       end
       
-      class Symbol
+      class LatLongRect
         class Representation < Google::Apis::Core::JsonRepresentation; end
       
         include Google::Apis::Core::JsonObjectSupport
       end
       
-      class LatLongRect
+      class Symbol
         class Representation < Google::Apis::Core::JsonRepresentation; end
       
         include Google::Apis::Core::JsonObjectSupport
@@ -226,13 +160,13 @@ module Google
         include Google::Apis::Core::JsonObjectSupport
       end
       
-      class DetectedLanguage
+      class Vertex
         class Representation < Google::Apis::Core::JsonRepresentation; end
       
         include Google::Apis::Core::JsonObjectSupport
       end
       
-      class Vertex
+      class DetectedLanguage
         class Representation < Google::Apis::Core::JsonRepresentation; end
       
         include Google::Apis::Core::JsonObjectSupport
@@ -262,6 +196,377 @@ module Google
         include Google::Apis::Core::JsonObjectSupport
       end
       
+      class CropHintsParams
+        class Representation < Google::Apis::Core::JsonRepresentation; end
+      
+        include Google::Apis::Core::JsonObjectSupport
+      end
+      
+      class Block
+        class Representation < Google::Apis::Core::JsonRepresentation; end
+      
+        include Google::Apis::Core::JsonObjectSupport
+      end
+      
+      class Property
+        class Representation < Google::Apis::Core::JsonRepresentation; end
+      
+        include Google::Apis::Core::JsonObjectSupport
+      end
+      
+      class LocationInfo
+        class Representation < Google::Apis::Core::JsonRepresentation; end
+      
+        include Google::Apis::Core::JsonObjectSupport
+      end
+      
+      class ImageSource
+        class Representation < Google::Apis::Core::JsonRepresentation; end
+      
+        include Google::Apis::Core::JsonObjectSupport
+      end
+      
+      class BatchAnnotateImagesResponse
+        class Representation < Google::Apis::Core::JsonRepresentation; end
+      
+        include Google::Apis::Core::JsonObjectSupport
+      end
+      
+      class WebDetection
+        class Representation < Google::Apis::Core::JsonRepresentation; end
+      
+        include Google::Apis::Core::JsonObjectSupport
+      end
+      
+      class Position
+        class Representation < Google::Apis::Core::JsonRepresentation; end
+      
+        include Google::Apis::Core::JsonObjectSupport
+      end
+      
+      class WebPage
+        class Representation < Google::Apis::Core::JsonRepresentation; end
+      
+        include Google::Apis::Core::JsonObjectSupport
+      end
+      
+      class ColorInfo
+        class Representation < Google::Apis::Core::JsonRepresentation; end
+      
+        include Google::Apis::Core::JsonObjectSupport
+      end
+      
+      class EntityAnnotation
+        class Representation < Google::Apis::Core::JsonRepresentation; end
+      
+        include Google::Apis::Core::JsonObjectSupport
+      end
+      
+      class CropHint
+        # @private
+        class Representation < Google::Apis::Core::JsonRepresentation
+          property :confidence, as: 'confidence'
+          property :importance_fraction, as: 'importanceFraction'
+          property :bounding_poly, as: 'boundingPoly', class: Google::Apis::VisionV1::BoundingPoly, decorator: Google::Apis::VisionV1::BoundingPoly::Representation
+      
+        end
+      end
+      
+      class Landmark
+        # @private
+        class Representation < Google::Apis::Core::JsonRepresentation
+          property :type, as: 'type'
+          property :position, as: 'position', class: Google::Apis::VisionV1::Position, decorator: Google::Apis::VisionV1::Position::Representation
+      
+        end
+      end
+      
+      class WebImage
+        # @private
+        class Representation < Google::Apis::Core::JsonRepresentation
+          property :score, as: 'score'
+          property :url, as: 'url'
+        end
+      end
+      
+      class Word
+        # @private
+        class Representation < Google::Apis::Core::JsonRepresentation
+          property :property, as: 'property', class: Google::Apis::VisionV1::TextProperty, decorator: Google::Apis::VisionV1::TextProperty::Representation
+      
+          property :bounding_box, as: 'boundingBox', class: Google::Apis::VisionV1::BoundingPoly, decorator: Google::Apis::VisionV1::BoundingPoly::Representation
+      
+          collection :symbols, as: 'symbols', class: Google::Apis::VisionV1::Symbol, decorator: Google::Apis::VisionV1::Symbol::Representation
+      
+        end
+      end
+      
+      class Image
+        # @private
+        class Representation < Google::Apis::Core::JsonRepresentation
+          property :content, :base64 => true, as: 'content'
+          property :source, as: 'source', class: Google::Apis::VisionV1::ImageSource, decorator: Google::Apis::VisionV1::ImageSource::Representation
+      
+        end
+      end
+      
+      class Paragraph
+        # @private
+        class Representation < Google::Apis::Core::JsonRepresentation
+          property :property, as: 'property', class: Google::Apis::VisionV1::TextProperty, decorator: Google::Apis::VisionV1::TextProperty::Representation
+      
+          property :bounding_box, as: 'boundingBox', class: Google::Apis::VisionV1::BoundingPoly, decorator: Google::Apis::VisionV1::BoundingPoly::Representation
+      
+          collection :words, as: 'words', class: Google::Apis::VisionV1::Word, decorator: Google::Apis::VisionV1::Word::Representation
+      
+        end
+      end
+      
+      class FaceAnnotation
+        # @private
+        class Representation < Google::Apis::Core::JsonRepresentation
+          property :sorrow_likelihood, as: 'sorrowLikelihood'
+          property :tilt_angle, as: 'tiltAngle'
+          property :fd_bounding_poly, as: 'fdBoundingPoly', class: Google::Apis::VisionV1::BoundingPoly, decorator: Google::Apis::VisionV1::BoundingPoly::Representation
+      
+          property :surprise_likelihood, as: 'surpriseLikelihood'
+          collection :landmarks, as: 'landmarks', class: Google::Apis::VisionV1::Landmark, decorator: Google::Apis::VisionV1::Landmark::Representation
+      
+          property :anger_likelihood, as: 'angerLikelihood'
+          property :joy_likelihood, as: 'joyLikelihood'
+          property :landmarking_confidence, as: 'landmarkingConfidence'
+          property :detection_confidence, as: 'detectionConfidence'
+          property :pan_angle, as: 'panAngle'
+          property :under_exposed_likelihood, as: 'underExposedLikelihood'
+          property :blurred_likelihood, as: 'blurredLikelihood'
+          property :headwear_likelihood, as: 'headwearLikelihood'
+          property :bounding_poly, as: 'boundingPoly', class: Google::Apis::VisionV1::BoundingPoly, decorator: Google::Apis::VisionV1::BoundingPoly::Representation
+      
+          property :roll_angle, as: 'rollAngle'
+        end
+      end
+      
+      class BatchAnnotateImagesRequest
+        # @private
+        class Representation < Google::Apis::Core::JsonRepresentation
+          collection :requests, as: 'requests', class: Google::Apis::VisionV1::AnnotateImageRequest, decorator: Google::Apis::VisionV1::AnnotateImageRequest::Representation
+      
+        end
+      end
+      
+      class DetectedBreak
+        # @private
+        class Representation < Google::Apis::Core::JsonRepresentation
+          property :is_prefix, as: 'isPrefix'
+          property :type, as: 'type'
+        end
+      end
+      
+      class ImageContext
+        # @private
+        class Representation < Google::Apis::Core::JsonRepresentation
+          collection :language_hints, as: 'languageHints'
+          property :lat_long_rect, as: 'latLongRect', class: Google::Apis::VisionV1::LatLongRect, decorator: Google::Apis::VisionV1::LatLongRect::Representation
+      
+          property :crop_hints_params, as: 'cropHintsParams', class: Google::Apis::VisionV1::CropHintsParams, decorator: Google::Apis::VisionV1::CropHintsParams::Representation
+      
+        end
+      end
+      
+      class Page
+        # @private
+        class Representation < Google::Apis::Core::JsonRepresentation
+          collection :blocks, as: 'blocks', class: Google::Apis::VisionV1::Block, decorator: Google::Apis::VisionV1::Block::Representation
+      
+          property :property, as: 'property', class: Google::Apis::VisionV1::TextProperty, decorator: Google::Apis::VisionV1::TextProperty::Representation
+      
+          property :height, as: 'height'
+          property :width, as: 'width'
+        end
+      end
+      
+      class AnnotateImageRequest
+        # @private
+        class Representation < Google::Apis::Core::JsonRepresentation
+          property :image, as: 'image', class: Google::Apis::VisionV1::Image, decorator: Google::Apis::VisionV1::Image::Representation
+      
+          collection :features, as: 'features', class: Google::Apis::VisionV1::Feature, decorator: Google::Apis::VisionV1::Feature::Representation
+      
+          property :image_context, as: 'imageContext', class: Google::Apis::VisionV1::ImageContext, decorator: Google::Apis::VisionV1::ImageContext::Representation
+      
+        end
+      end
+      
+      class Status
+        # @private
+        class Representation < Google::Apis::Core::JsonRepresentation
+          collection :details, as: 'details'
+          property :code, as: 'code'
+          property :message, as: 'message'
+        end
+      end
+      
+      class LatLongRect
+        # @private
+        class Representation < Google::Apis::Core::JsonRepresentation
+          property :min_lat_lng, as: 'minLatLng', class: Google::Apis::VisionV1::LatLng, decorator: Google::Apis::VisionV1::LatLng::Representation
+      
+          property :max_lat_lng, as: 'maxLatLng', class: Google::Apis::VisionV1::LatLng, decorator: Google::Apis::VisionV1::LatLng::Representation
+      
+        end
+      end
+      
+      class Symbol
+        # @private
+        class Representation < Google::Apis::Core::JsonRepresentation
+          property :property, as: 'property', class: Google::Apis::VisionV1::TextProperty, decorator: Google::Apis::VisionV1::TextProperty::Representation
+      
+          property :bounding_box, as: 'boundingBox', class: Google::Apis::VisionV1::BoundingPoly, decorator: Google::Apis::VisionV1::BoundingPoly::Representation
+      
+          property :text, as: 'text'
+        end
+      end
+      
+      class CropHintsAnnotation
+        # @private
+        class Representation < Google::Apis::Core::JsonRepresentation
+          collection :crop_hints, as: 'cropHints', class: Google::Apis::VisionV1::CropHint, decorator: Google::Apis::VisionV1::CropHint::Representation
+      
+        end
+      end
+      
+      class LatLng
+        # @private
+        class Representation < Google::Apis::Core::JsonRepresentation
+          property :latitude, as: 'latitude'
+          property :longitude, as: 'longitude'
+        end
+      end
+      
+      class Color
+        # @private
+        class Representation < Google::Apis::Core::JsonRepresentation
+          property :red, as: 'red'
+          property :green, as: 'green'
+          property :blue, as: 'blue'
+          property :alpha, as: 'alpha'
+        end
+      end
+      
+      class ImageProperties
+        # @private
+        class Representation < Google::Apis::Core::JsonRepresentation
+          property :dominant_colors, as: 'dominantColors', class: Google::Apis::VisionV1::DominantColorsAnnotation, decorator: Google::Apis::VisionV1::DominantColorsAnnotation::Representation
+      
+        end
+      end
+      
+      class Feature
+        # @private
+        class Representation < Google::Apis::Core::JsonRepresentation
+          property :type, as: 'type'
+          property :max_results, as: 'maxResults'
+        end
+      end
+      
+      class SafeSearchAnnotation
+        # @private
+        class Representation < Google::Apis::Core::JsonRepresentation
+          property :adult, as: 'adult'
+          property :spoof, as: 'spoof'
+          property :medical, as: 'medical'
+          property :violence, as: 'violence'
+        end
+      end
+      
+      class DominantColorsAnnotation
+        # @private
+        class Representation < Google::Apis::Core::JsonRepresentation
+          collection :colors, as: 'colors', class: Google::Apis::VisionV1::ColorInfo, decorator: Google::Apis::VisionV1::ColorInfo::Representation
+      
+        end
+      end
+      
+      class TextAnnotation
+        # @private
+        class Representation < Google::Apis::Core::JsonRepresentation
+          collection :pages, as: 'pages', class: Google::Apis::VisionV1::Page, decorator: Google::Apis::VisionV1::Page::Representation
+      
+          property :text, as: 'text'
+        end
+      end
+      
+      class Vertex
+        # @private
+        class Representation < Google::Apis::Core::JsonRepresentation
+          property :y, as: 'y'
+          property :x, as: 'x'
+        end
+      end
+      
+      class DetectedLanguage
+        # @private
+        class Representation < Google::Apis::Core::JsonRepresentation
+          property :language_code, as: 'languageCode'
+          property :confidence, as: 'confidence'
+        end
+      end
+      
+      class TextProperty
+        # @private
+        class Representation < Google::Apis::Core::JsonRepresentation
+          property :detected_break, as: 'detectedBreak', class: Google::Apis::VisionV1::DetectedBreak, decorator: Google::Apis::VisionV1::DetectedBreak::Representation
+      
+          collection :detected_languages, as: 'detectedLanguages', class: Google::Apis::VisionV1::DetectedLanguage, decorator: Google::Apis::VisionV1::DetectedLanguage::Representation
+      
+        end
+      end
+      
+      class BoundingPoly
+        # @private
+        class Representation < Google::Apis::Core::JsonRepresentation
+          collection :vertices, as: 'vertices', class: Google::Apis::VisionV1::Vertex, decorator: Google::Apis::VisionV1::Vertex::Representation
+      
+        end
+      end
+      
+      class WebEntity
+        # @private
+        class Representation < Google::Apis::Core::JsonRepresentation
+          property :entity_id, as: 'entityId'
+          property :description, as: 'description'
+          property :score, as: 'score'
+        end
+      end
+      
+      class AnnotateImageResponse
+        # @private
+        class Representation < Google::Apis::Core::JsonRepresentation
+          collection :text_annotations, as: 'textAnnotations', class: Google::Apis::VisionV1::EntityAnnotation, decorator: Google::Apis::VisionV1::EntityAnnotation::Representation
+      
+          property :image_properties_annotation, as: 'imagePropertiesAnnotation', class: Google::Apis::VisionV1::ImageProperties, decorator: Google::Apis::VisionV1::ImageProperties::Representation
+      
+          collection :face_annotations, as: 'faceAnnotations', class: Google::Apis::VisionV1::FaceAnnotation, decorator: Google::Apis::VisionV1::FaceAnnotation::Representation
+      
+          collection :logo_annotations, as: 'logoAnnotations', class: Google::Apis::VisionV1::EntityAnnotation, decorator: Google::Apis::VisionV1::EntityAnnotation::Representation
+      
+          property :crop_hints_annotation, as: 'cropHintsAnnotation', class: Google::Apis::VisionV1::CropHintsAnnotation, decorator: Google::Apis::VisionV1::CropHintsAnnotation::Representation
+      
+          property :web_detection, as: 'webDetection', class: Google::Apis::VisionV1::WebDetection, decorator: Google::Apis::VisionV1::WebDetection::Representation
+      
+          collection :label_annotations, as: 'labelAnnotations', class: Google::Apis::VisionV1::EntityAnnotation, decorator: Google::Apis::VisionV1::EntityAnnotation::Representation
+      
+          property :safe_search_annotation, as: 'safeSearchAnnotation', class: Google::Apis::VisionV1::SafeSearchAnnotation, decorator: Google::Apis::VisionV1::SafeSearchAnnotation::Representation
+      
+          property :error, as: 'error', class: Google::Apis::VisionV1::Status, decorator: Google::Apis::VisionV1::Status::Representation
+      
+          property :full_text_annotation, as: 'fullTextAnnotation', class: Google::Apis::VisionV1::TextAnnotation, decorator: Google::Apis::VisionV1::TextAnnotation::Representation
+      
+          collection :landmark_annotations, as: 'landmarkAnnotations', class: Google::Apis::VisionV1::EntityAnnotation, decorator: Google::Apis::VisionV1::EntityAnnotation::Representation
+      
+        end
+      end
+      
       class CropHintsParams
         # @private
         class Representation < Google::Apis::Core::JsonRepresentation
@@ -286,7 +591,7 @@ module Google
         # @private
         class Representation < Google::Apis::Core::JsonRepresentation
           property :value, as: 'value'
-          property :uint64_value, as: 'uint64Value'
+          property :uint64_value, :numeric_string => true, as: 'uint64Value'
           property :name, as: 'name'
         end
       end
@@ -340,344 +645,39 @@ module Google
         end
       end
       
-      class ColorInfo
-        # @private
-        class Representation < Google::Apis::Core::JsonRepresentation
-          property :pixel_fraction, as: 'pixelFraction'
-          property :color, as: 'color', class: Google::Apis::VisionV1::Color, decorator: Google::Apis::VisionV1::Color::Representation
-      
-          property :score, as: 'score'
-        end
-      end
-      
       class WebPage
         # @private
         class Representation < Google::Apis::Core::JsonRepresentation
-          property :url, as: 'url'
           property :score, as: 'score'
+          property :url, as: 'url'
+        end
+      end
+      
+      class ColorInfo
+        # @private
+        class Representation < Google::Apis::Core::JsonRepresentation
+          property :score, as: 'score'
+          property :pixel_fraction, as: 'pixelFraction'
+          property :color, as: 'color', class: Google::Apis::VisionV1::Color, decorator: Google::Apis::VisionV1::Color::Representation
+      
         end
       end
       
       class EntityAnnotation
         # @private
         class Representation < Google::Apis::Core::JsonRepresentation
+          property :bounding_poly, as: 'boundingPoly', class: Google::Apis::VisionV1::BoundingPoly, decorator: Google::Apis::VisionV1::BoundingPoly::Representation
+      
+          property :locale, as: 'locale'
+          property :topicality, as: 'topicality'
+          property :description, as: 'description'
+          collection :properties, as: 'properties', class: Google::Apis::VisionV1::Property, decorator: Google::Apis::VisionV1::Property::Representation
+      
+          property :score, as: 'score'
           collection :locations, as: 'locations', class: Google::Apis::VisionV1::LocationInfo, decorator: Google::Apis::VisionV1::LocationInfo::Representation
       
           property :mid, as: 'mid'
           property :confidence, as: 'confidence'
-          property :bounding_poly, as: 'boundingPoly', class: Google::Apis::VisionV1::BoundingPoly, decorator: Google::Apis::VisionV1::BoundingPoly::Representation
-      
-          property :locale, as: 'locale'
-          property :description, as: 'description'
-          property :topicality, as: 'topicality'
-          collection :properties, as: 'properties', class: Google::Apis::VisionV1::Property, decorator: Google::Apis::VisionV1::Property::Representation
-      
-          property :score, as: 'score'
-        end
-      end
-      
-      class CropHint
-        # @private
-        class Representation < Google::Apis::Core::JsonRepresentation
-          property :confidence, as: 'confidence'
-          property :importance_fraction, as: 'importanceFraction'
-          property :bounding_poly, as: 'boundingPoly', class: Google::Apis::VisionV1::BoundingPoly, decorator: Google::Apis::VisionV1::BoundingPoly::Representation
-      
-        end
-      end
-      
-      class Landmark
-        # @private
-        class Representation < Google::Apis::Core::JsonRepresentation
-          property :type, as: 'type'
-          property :position, as: 'position', class: Google::Apis::VisionV1::Position, decorator: Google::Apis::VisionV1::Position::Representation
-      
-        end
-      end
-      
-      class WebImage
-        # @private
-        class Representation < Google::Apis::Core::JsonRepresentation
-          property :score, as: 'score'
-          property :url, as: 'url'
-        end
-      end
-      
-      class Word
-        # @private
-        class Representation < Google::Apis::Core::JsonRepresentation
-          property :bounding_box, as: 'boundingBox', class: Google::Apis::VisionV1::BoundingPoly, decorator: Google::Apis::VisionV1::BoundingPoly::Representation
-      
-          collection :symbols, as: 'symbols', class: Google::Apis::VisionV1::Symbol, decorator: Google::Apis::VisionV1::Symbol::Representation
-      
-          property :property, as: 'property', class: Google::Apis::VisionV1::TextProperty, decorator: Google::Apis::VisionV1::TextProperty::Representation
-      
-        end
-      end
-      
-      class Image
-        # @private
-        class Representation < Google::Apis::Core::JsonRepresentation
-          property :content, :base64 => true, as: 'content'
-          property :source, as: 'source', class: Google::Apis::VisionV1::ImageSource, decorator: Google::Apis::VisionV1::ImageSource::Representation
-      
-        end
-      end
-      
-      class Paragraph
-        # @private
-        class Representation < Google::Apis::Core::JsonRepresentation
-          property :bounding_box, as: 'boundingBox', class: Google::Apis::VisionV1::BoundingPoly, decorator: Google::Apis::VisionV1::BoundingPoly::Representation
-      
-          collection :words, as: 'words', class: Google::Apis::VisionV1::Word, decorator: Google::Apis::VisionV1::Word::Representation
-      
-          property :property, as: 'property', class: Google::Apis::VisionV1::TextProperty, decorator: Google::Apis::VisionV1::TextProperty::Representation
-      
-        end
-      end
-      
-      class FaceAnnotation
-        # @private
-        class Representation < Google::Apis::Core::JsonRepresentation
-          property :fd_bounding_poly, as: 'fdBoundingPoly', class: Google::Apis::VisionV1::BoundingPoly, decorator: Google::Apis::VisionV1::BoundingPoly::Representation
-      
-          property :anger_likelihood, as: 'angerLikelihood'
-          collection :landmarks, as: 'landmarks', class: Google::Apis::VisionV1::Landmark, decorator: Google::Apis::VisionV1::Landmark::Representation
-      
-          property :surprise_likelihood, as: 'surpriseLikelihood'
-          property :landmarking_confidence, as: 'landmarkingConfidence'
-          property :joy_likelihood, as: 'joyLikelihood'
-          property :detection_confidence, as: 'detectionConfidence'
-          property :pan_angle, as: 'panAngle'
-          property :under_exposed_likelihood, as: 'underExposedLikelihood'
-          property :blurred_likelihood, as: 'blurredLikelihood'
-          property :headwear_likelihood, as: 'headwearLikelihood'
-          property :bounding_poly, as: 'boundingPoly', class: Google::Apis::VisionV1::BoundingPoly, decorator: Google::Apis::VisionV1::BoundingPoly::Representation
-      
-          property :roll_angle, as: 'rollAngle'
-          property :sorrow_likelihood, as: 'sorrowLikelihood'
-          property :tilt_angle, as: 'tiltAngle'
-        end
-      end
-      
-      class BatchAnnotateImagesRequest
-        # @private
-        class Representation < Google::Apis::Core::JsonRepresentation
-          collection :requests, as: 'requests', class: Google::Apis::VisionV1::AnnotateImageRequest, decorator: Google::Apis::VisionV1::AnnotateImageRequest::Representation
-      
-        end
-      end
-      
-      class DetectedBreak
-        # @private
-        class Representation < Google::Apis::Core::JsonRepresentation
-          property :type, as: 'type'
-          property :is_prefix, as: 'isPrefix'
-        end
-      end
-      
-      class ImageContext
-        # @private
-        class Representation < Google::Apis::Core::JsonRepresentation
-          property :lat_long_rect, as: 'latLongRect', class: Google::Apis::VisionV1::LatLongRect, decorator: Google::Apis::VisionV1::LatLongRect::Representation
-      
-          property :crop_hints_params, as: 'cropHintsParams', class: Google::Apis::VisionV1::CropHintsParams, decorator: Google::Apis::VisionV1::CropHintsParams::Representation
-      
-          collection :language_hints, as: 'languageHints'
-        end
-      end
-      
-      class Page
-        # @private
-        class Representation < Google::Apis::Core::JsonRepresentation
-          property :height, as: 'height'
-          property :width, as: 'width'
-          collection :blocks, as: 'blocks', class: Google::Apis::VisionV1::Block, decorator: Google::Apis::VisionV1::Block::Representation
-      
-          property :property, as: 'property', class: Google::Apis::VisionV1::TextProperty, decorator: Google::Apis::VisionV1::TextProperty::Representation
-      
-        end
-      end
-      
-      class AnnotateImageRequest
-        # @private
-        class Representation < Google::Apis::Core::JsonRepresentation
-          property :image_context, as: 'imageContext', class: Google::Apis::VisionV1::ImageContext, decorator: Google::Apis::VisionV1::ImageContext::Representation
-      
-          property :image, as: 'image', class: Google::Apis::VisionV1::Image, decorator: Google::Apis::VisionV1::Image::Representation
-      
-          collection :features, as: 'features', class: Google::Apis::VisionV1::Feature, decorator: Google::Apis::VisionV1::Feature::Representation
-      
-        end
-      end
-      
-      class Status
-        # @private
-        class Representation < Google::Apis::Core::JsonRepresentation
-          collection :details, as: 'details'
-          property :code, as: 'code'
-          property :message, as: 'message'
-        end
-      end
-      
-      class Symbol
-        # @private
-        class Representation < Google::Apis::Core::JsonRepresentation
-          property :property, as: 'property', class: Google::Apis::VisionV1::TextProperty, decorator: Google::Apis::VisionV1::TextProperty::Representation
-      
-          property :bounding_box, as: 'boundingBox', class: Google::Apis::VisionV1::BoundingPoly, decorator: Google::Apis::VisionV1::BoundingPoly::Representation
-      
-          property :text, as: 'text'
-        end
-      end
-      
-      class LatLongRect
-        # @private
-        class Representation < Google::Apis::Core::JsonRepresentation
-          property :min_lat_lng, as: 'minLatLng', class: Google::Apis::VisionV1::LatLng, decorator: Google::Apis::VisionV1::LatLng::Representation
-      
-          property :max_lat_lng, as: 'maxLatLng', class: Google::Apis::VisionV1::LatLng, decorator: Google::Apis::VisionV1::LatLng::Representation
-      
-        end
-      end
-      
-      class CropHintsAnnotation
-        # @private
-        class Representation < Google::Apis::Core::JsonRepresentation
-          collection :crop_hints, as: 'cropHints', class: Google::Apis::VisionV1::CropHint, decorator: Google::Apis::VisionV1::CropHint::Representation
-      
-        end
-      end
-      
-      class LatLng
-        # @private
-        class Representation < Google::Apis::Core::JsonRepresentation
-          property :latitude, as: 'latitude'
-          property :longitude, as: 'longitude'
-        end
-      end
-      
-      class Color
-        # @private
-        class Representation < Google::Apis::Core::JsonRepresentation
-          property :red, as: 'red'
-          property :green, as: 'green'
-          property :blue, as: 'blue'
-          property :alpha, as: 'alpha'
-        end
-      end
-      
-      class ImageProperties
-        # @private
-        class Representation < Google::Apis::Core::JsonRepresentation
-          property :dominant_colors, as: 'dominantColors', class: Google::Apis::VisionV1::DominantColorsAnnotation, decorator: Google::Apis::VisionV1::DominantColorsAnnotation::Representation
-      
-        end
-      end
-      
-      class Feature
-        # @private
-        class Representation < Google::Apis::Core::JsonRepresentation
-          property :type, as: 'type'
-          property :max_results, as: 'maxResults'
-        end
-      end
-      
-      class SafeSearchAnnotation
-        # @private
-        class Representation < Google::Apis::Core::JsonRepresentation
-          property :violence, as: 'violence'
-          property :adult, as: 'adult'
-          property :spoof, as: 'spoof'
-          property :medical, as: 'medical'
-        end
-      end
-      
-      class DominantColorsAnnotation
-        # @private
-        class Representation < Google::Apis::Core::JsonRepresentation
-          collection :colors, as: 'colors', class: Google::Apis::VisionV1::ColorInfo, decorator: Google::Apis::VisionV1::ColorInfo::Representation
-      
-        end
-      end
-      
-      class TextAnnotation
-        # @private
-        class Representation < Google::Apis::Core::JsonRepresentation
-          collection :pages, as: 'pages', class: Google::Apis::VisionV1::Page, decorator: Google::Apis::VisionV1::Page::Representation
-      
-          property :text, as: 'text'
-        end
-      end
-      
-      class DetectedLanguage
-        # @private
-        class Representation < Google::Apis::Core::JsonRepresentation
-          property :language_code, as: 'languageCode'
-          property :confidence, as: 'confidence'
-        end
-      end
-      
-      class Vertex
-        # @private
-        class Representation < Google::Apis::Core::JsonRepresentation
-          property :y, as: 'y'
-          property :x, as: 'x'
-        end
-      end
-      
-      class TextProperty
-        # @private
-        class Representation < Google::Apis::Core::JsonRepresentation
-          collection :detected_languages, as: 'detectedLanguages', class: Google::Apis::VisionV1::DetectedLanguage, decorator: Google::Apis::VisionV1::DetectedLanguage::Representation
-      
-          property :detected_break, as: 'detectedBreak', class: Google::Apis::VisionV1::DetectedBreak, decorator: Google::Apis::VisionV1::DetectedBreak::Representation
-      
-        end
-      end
-      
-      class BoundingPoly
-        # @private
-        class Representation < Google::Apis::Core::JsonRepresentation
-          collection :vertices, as: 'vertices', class: Google::Apis::VisionV1::Vertex, decorator: Google::Apis::VisionV1::Vertex::Representation
-      
-        end
-      end
-      
-      class WebEntity
-        # @private
-        class Representation < Google::Apis::Core::JsonRepresentation
-          property :entity_id, as: 'entityId'
-          property :description, as: 'description'
-          property :score, as: 'score'
-        end
-      end
-      
-      class AnnotateImageResponse
-        # @private
-        class Representation < Google::Apis::Core::JsonRepresentation
-          property :error, as: 'error', class: Google::Apis::VisionV1::Status, decorator: Google::Apis::VisionV1::Status::Representation
-      
-          property :full_text_annotation, as: 'fullTextAnnotation', class: Google::Apis::VisionV1::TextAnnotation, decorator: Google::Apis::VisionV1::TextAnnotation::Representation
-      
-          collection :landmark_annotations, as: 'landmarkAnnotations', class: Google::Apis::VisionV1::EntityAnnotation, decorator: Google::Apis::VisionV1::EntityAnnotation::Representation
-      
-          collection :text_annotations, as: 'textAnnotations', class: Google::Apis::VisionV1::EntityAnnotation, decorator: Google::Apis::VisionV1::EntityAnnotation::Representation
-      
-          property :image_properties_annotation, as: 'imagePropertiesAnnotation', class: Google::Apis::VisionV1::ImageProperties, decorator: Google::Apis::VisionV1::ImageProperties::Representation
-      
-          collection :face_annotations, as: 'faceAnnotations', class: Google::Apis::VisionV1::FaceAnnotation, decorator: Google::Apis::VisionV1::FaceAnnotation::Representation
-      
-          collection :logo_annotations, as: 'logoAnnotations', class: Google::Apis::VisionV1::EntityAnnotation, decorator: Google::Apis::VisionV1::EntityAnnotation::Representation
-      
-          property :crop_hints_annotation, as: 'cropHintsAnnotation', class: Google::Apis::VisionV1::CropHintsAnnotation, decorator: Google::Apis::VisionV1::CropHintsAnnotation::Representation
-      
-          property :web_detection, as: 'webDetection', class: Google::Apis::VisionV1::WebDetection, decorator: Google::Apis::VisionV1::WebDetection::Representation
-      
-          collection :label_annotations, as: 'labelAnnotations', class: Google::Apis::VisionV1::EntityAnnotation, decorator: Google::Apis::VisionV1::EntityAnnotation::Representation
-      
-          property :safe_search_annotation, as: 'safeSearchAnnotation', class: Google::Apis::VisionV1::SafeSearchAnnotation, decorator: Google::Apis::VisionV1::SafeSearchAnnotation::Representation
-      
         end
       end
     end
diff --git a/generated/google/apis/vision_v1/service.rb b/generated/google/apis/vision_v1/service.rb
index 9c4381ffb..05bf09e0a 100644
--- a/generated/google/apis/vision_v1/service.rb
+++ b/generated/google/apis/vision_v1/service.rb
@@ -34,27 +34,28 @@ module Google
       #
       # @see https://cloud.google.com/vision/
       class VisionService < Google::Apis::Core::BaseService
-        # @return [String]
-        #  Available to use for quota purposes for server-side applications. Can be any
-        #  arbitrary string assigned to a user, but should not exceed 40 characters.
-        attr_accessor :quota_user
-
         # @return [String]
         #  API key. Your API key identifies your project and provides you with API access,
         #  quota, and reports. Required unless you provide an OAuth 2.0 token.
         attr_accessor :key
 
+        # @return [String]
+        #  Available to use for quota purposes for server-side applications. Can be any
+        #  arbitrary string assigned to a user, but should not exceed 40 characters.
+        attr_accessor :quota_user
+
         def initialize
           super('https://vision.googleapis.com/', '')
+          @batch_path = 'batch'
         end
         
         # Run image detection and annotation for a batch of images.
         # @param [Google::Apis::VisionV1::BatchAnnotateImagesRequest] batch_annotate_images_request_object
+        # @param [String] fields
+        #   Selector specifying which fields to include in a partial response.
         # @param [String] quota_user
         #   Available to use for quota purposes for server-side applications. Can be any
         #   arbitrary string assigned to a user, but should not exceed 40 characters.
-        # @param [String] fields
-        #   Selector specifying which fields to include in a partial response.
         # @param [Google::Apis::RequestOptions] options
         #   Request-specific options
         #
@@ -67,22 +68,22 @@ module Google
         # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
         # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
         # @raise [Google::Apis::AuthorizationError] Authorization is required
-        def annotate_image(batch_annotate_images_request_object = nil, quota_user: nil, fields: nil, options: nil, &block)
+        def annotate_image(batch_annotate_images_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
           command =  make_simple_command(:post, 'v1/images:annotate', options)
           command.request_representation = Google::Apis::VisionV1::BatchAnnotateImagesRequest::Representation
           command.request_object = batch_annotate_images_request_object
           command.response_representation = Google::Apis::VisionV1::BatchAnnotateImagesResponse::Representation
           command.response_class = Google::Apis::VisionV1::BatchAnnotateImagesResponse
-          command.query['quotaUser'] = quota_user unless quota_user.nil?
           command.query['fields'] = fields unless fields.nil?
+          command.query['quotaUser'] = quota_user unless quota_user.nil?
           execute_or_queue_command(command, &block)
         end
 
         protected
 
         def apply_command_defaults(command)
-          command.query['quotaUser'] = quota_user unless quota_user.nil?
           command.query['key'] = key unless key.nil?
+          command.query['quotaUser'] = quota_user unless quota_user.nil?
         end
       end
     end
diff --git a/generated/google/apis/webfonts_v1/service.rb b/generated/google/apis/webfonts_v1/service.rb
index 7064f3723..90bce305a 100644
--- a/generated/google/apis/webfonts_v1/service.rb
+++ b/generated/google/apis/webfonts_v1/service.rb
@@ -52,6 +52,7 @@ module Google
 
         def initialize
           super('https://www.googleapis.com/', 'webfonts/v1/')
+          @batch_path = 'batch'
         end
         
         # Retrieves the list of fonts currently served by the Google Fonts Developer API
diff --git a/generated/google/apis/webmasters_v3/classes.rb b/generated/google/apis/webmasters_v3/classes.rb
index 0db0d4e23..c7f98e810 100644
--- a/generated/google/apis/webmasters_v3/classes.rb
+++ b/generated/google/apis/webmasters_v3/classes.rb
@@ -276,7 +276,7 @@ module Google
       
         # The error count at the given timestamp.
         # Corresponds to the JSON property `count`
-        # @return [String]
+        # @return [Fixnum]
         attr_accessor :count
       
         # The date and time when the crawl attempt took place, in RFC 3339 format.
@@ -474,7 +474,7 @@ module Google
         # Number of errors in the sitemap. These are issues with the sitemap itself that
         # need to be fixed before it can be processed correctly.
         # Corresponds to the JSON property `errors`
-        # @return [String]
+        # @return [Fixnum]
         attr_accessor :errors
       
         # If true, the sitemap has not been processed.
@@ -514,7 +514,7 @@ module Google
         # Number of warnings for the sitemap. These are generally non-critical issues
         # with URLs in the sitemaps.
         # Corresponds to the JSON property `warnings`
-        # @return [String]
+        # @return [Fixnum]
         attr_accessor :warnings
       
         def initialize(**args)
@@ -541,12 +541,12 @@ module Google
       
         # The number of URLs from the sitemap that were indexed (of the content type).
         # Corresponds to the JSON property `indexed`
-        # @return [String]
+        # @return [Fixnum]
         attr_accessor :indexed
       
         # The number of URLs in the sitemap (of the content type).
         # Corresponds to the JSON property `submitted`
-        # @return [String]
+        # @return [Fixnum]
         attr_accessor :submitted
       
         # The specific type of content in this sitemap. For example: web.
diff --git a/generated/google/apis/webmasters_v3/representations.rb b/generated/google/apis/webmasters_v3/representations.rb
index a691a66a0..8740339c7 100644
--- a/generated/google/apis/webmasters_v3/representations.rb
+++ b/generated/google/apis/webmasters_v3/representations.rb
@@ -190,7 +190,7 @@ module Google
       class UrlCrawlErrorCount
         # @private
         class Representation < Google::Apis::Core::JsonRepresentation
-          property :count, as: 'count'
+          property :count, :numeric_string => true, as: 'count'
           property :timestamp, as: 'timestamp', type: DateTime
       
         end
@@ -257,7 +257,7 @@ module Google
         class Representation < Google::Apis::Core::JsonRepresentation
           collection :contents, as: 'contents', class: Google::Apis::WebmastersV3::WmxSitemapContent, decorator: Google::Apis::WebmastersV3::WmxSitemapContent::Representation
       
-          property :errors, as: 'errors'
+          property :errors, :numeric_string => true, as: 'errors'
           property :is_pending, as: 'isPending'
           property :is_sitemaps_index, as: 'isSitemapsIndex'
           property :last_downloaded, as: 'lastDownloaded', type: DateTime
@@ -266,15 +266,15 @@ module Google
       
           property :path, as: 'path'
           property :type, as: 'type'
-          property :warnings, as: 'warnings'
+          property :warnings, :numeric_string => true, as: 'warnings'
         end
       end
       
       class WmxSitemapContent
         # @private
         class Representation < Google::Apis::Core::JsonRepresentation
-          property :indexed, as: 'indexed'
-          property :submitted, as: 'submitted'
+          property :indexed, :numeric_string => true, as: 'indexed'
+          property :submitted, :numeric_string => true, as: 'submitted'
           property :type, as: 'type'
         end
       end
diff --git a/generated/google/apis/webmasters_v3/service.rb b/generated/google/apis/webmasters_v3/service.rb
index 848a22d99..b3c63aff6 100644
--- a/generated/google/apis/webmasters_v3/service.rb
+++ b/generated/google/apis/webmasters_v3/service.rb
@@ -50,6 +50,7 @@ module Google
 
         def initialize
           super('https://www.googleapis.com/', 'webmasters/v3/')
+          @batch_path = 'batch'
         end
         
         # Query your data with filters and parameters that you define. Returns zero or
diff --git a/generated/google/apis/youtube_analytics_v1/classes.rb b/generated/google/apis/youtube_analytics_v1/classes.rb
index 3236ff490..ae01c2922 100644
--- a/generated/google/apis/youtube_analytics_v1/classes.rb
+++ b/generated/google/apis/youtube_analytics_v1/classes.rb
@@ -70,7 +70,7 @@ module Google
         
           # 
           # Corresponds to the JSON property `itemCount`
-          # @return [String]
+          # @return [Fixnum]
           attr_accessor :item_count
         
           # 
diff --git a/generated/google/apis/youtube_analytics_v1/representations.rb b/generated/google/apis/youtube_analytics_v1/representations.rb
index d8b48cb9d..ee35c06ba 100644
--- a/generated/google/apis/youtube_analytics_v1/representations.rb
+++ b/generated/google/apis/youtube_analytics_v1/representations.rb
@@ -91,7 +91,7 @@ module Google
         class ContentDetails
           # @private
           class Representation < Google::Apis::Core::JsonRepresentation
-            property :item_count, as: 'itemCount'
+            property :item_count, :numeric_string => true, as: 'itemCount'
             property :item_type, as: 'itemType'
           end
         end
diff --git a/generated/google/apis/youtube_analytics_v1/service.rb b/generated/google/apis/youtube_analytics_v1/service.rb
index a3cc4bdee..ab3aee563 100644
--- a/generated/google/apis/youtube_analytics_v1/service.rb
+++ b/generated/google/apis/youtube_analytics_v1/service.rb
@@ -50,6 +50,7 @@ module Google
 
         def initialize
           super('https://www.googleapis.com/', 'youtube/analytics/v1/')
+          @batch_path = 'batch'
         end
         
         # Removes an item from a group.
diff --git a/generated/google/apis/youtube_partner_v1/classes.rb b/generated/google/apis/youtube_partner_v1/classes.rb
index ba75820f4..f792a1f9f 100644
--- a/generated/google/apis/youtube_partner_v1/classes.rb
+++ b/generated/google/apis/youtube_partner_v1/classes.rb
@@ -943,17 +943,17 @@ module Google
           
             # The duration of the longest match between the reference and the user video.
             # Corresponds to the JSON property `durationSecs`
-            # @return [String]
+            # @return [Fixnum]
             attr_accessor :duration_secs
           
             # The offset in seconds into the reference at which the longest match began.
             # Corresponds to the JSON property `referenceOffset`
-            # @return [String]
+            # @return [Fixnum]
             attr_accessor :reference_offset
           
             # The offset in seconds into the user video at which the longest match began.
             # Corresponds to the JSON property `userVideoOffset`
-            # @return [String]
+            # @return [Fixnum]
             attr_accessor :user_video_offset
           
             def initialize(**args)
@@ -977,13 +977,13 @@ module Google
             # The total amount of content in the reference which matched the user video in
             # seconds.
             # Corresponds to the JSON property `referenceDurationSecs`
-            # @return [String]
+            # @return [Fixnum]
             attr_accessor :reference_duration_secs
           
             # The total amount of content in the user video which matched the reference in
             # seconds.
             # Corresponds to the JSON property `userVideoDurationSecs`
-            # @return [String]
+            # @return [Fixnum]
             attr_accessor :user_video_duration_secs
           
             def initialize(**args)
@@ -1338,7 +1338,7 @@ module Google
       
         # Number of views for the claimed video.
         # Corresponds to the JSON property `videoViews`
-        # @return [String]
+        # @return [Fixnum]
         attr_accessor :video_views
       
         def initialize(**args)
@@ -1691,7 +1691,7 @@ module Google
         # Note: If your broadcast had a testing phase, the offset is measured from the
         # time that the testing phase began.
         # Corresponds to the JSON property `offsetTimeMs`
-        # @return [String]
+        # @return [Fixnum]
         attr_accessor :offset_time_ms
       
         # This value specifies the wall clock time at which the cuepoint should be
@@ -3233,17 +3233,17 @@ module Google
       
         # Conflicting reference offset in milliseconds.
         # Corresponds to the JSON property `conflicting_reference_offset_ms`
-        # @return [String]
+        # @return [Fixnum]
         attr_accessor :conflicting_reference_offset_ms
       
         # Match length in milliseconds.
         # Corresponds to the JSON property `length_ms`
-        # @return [String]
+        # @return [Fixnum]
         attr_accessor :length_ms
       
         # Original reference offset in milliseconds.
         # Corresponds to the JSON property `original_reference_offset_ms`
-        # @return [String]
+        # @return [Fixnum]
         attr_accessor :original_reference_offset_ms
       
         # The referenceConflictMatch's type.
@@ -3455,7 +3455,7 @@ module Google
       
         # The duration of the segment in milliseconds.
         # Corresponds to the JSON property `duration`
-        # @return [String]
+        # @return [Fixnum]
         attr_accessor :duration
       
         # The type of the API resource. For segment resources, the value is
@@ -3466,7 +3466,7 @@ module Google
       
         # The start time of the segment, measured in milliseconds from the beginning.
         # Corresponds to the JSON property `start`
-        # @return [String]
+        # @return [Fixnum]
         attr_accessor :start
       
         def initialize(**args)
@@ -3529,7 +3529,7 @@ module Google
       
         # The time that the state transition occurred.
         # Corresponds to the JSON property `timeCompleted`
-        # @return [String]
+        # @return [Fixnum]
         attr_accessor :time_completed
       
         def initialize(**args)
diff --git a/generated/google/apis/youtube_partner_v1/representations.rb b/generated/google/apis/youtube_partner_v1/representations.rb
index d3eb404fa..085788b4e 100644
--- a/generated/google/apis/youtube_partner_v1/representations.rb
+++ b/generated/google/apis/youtube_partner_v1/representations.rb
@@ -793,17 +793,17 @@ module Google
           class LongestMatch
             # @private
             class Representation < Google::Apis::Core::JsonRepresentation
-              property :duration_secs, as: 'durationSecs'
-              property :reference_offset, as: 'referenceOffset'
-              property :user_video_offset, as: 'userVideoOffset'
+              property :duration_secs, :numeric_string => true, as: 'durationSecs'
+              property :reference_offset, :numeric_string => true, as: 'referenceOffset'
+              property :user_video_offset, :numeric_string => true, as: 'userVideoOffset'
             end
           end
           
           class TotalMatch
             # @private
             class Representation < Google::Apis::Core::JsonRepresentation
-              property :reference_duration_secs, as: 'referenceDurationSecs'
-              property :user_video_duration_secs, as: 'userVideoDurationSecs'
+              property :reference_duration_secs, :numeric_string => true, as: 'referenceDurationSecs'
+              property :user_video_duration_secs, :numeric_string => true, as: 'userVideoDurationSecs'
             end
           end
         end
@@ -905,7 +905,7 @@ module Google
       
           property :video_id, as: 'videoId'
           property :video_title, as: 'videoTitle'
-          property :video_views, as: 'videoViews'
+          property :video_views, :numeric_string => true, as: 'videoViews'
         end
         
         class Origin
@@ -998,7 +998,7 @@ module Google
         class Representation < Google::Apis::Core::JsonRepresentation
           property :cue_type, as: 'cueType'
           property :duration_secs, as: 'durationSecs'
-          property :offset_time_ms, as: 'offsetTimeMs'
+          property :offset_time_ms, :numeric_string => true, as: 'offsetTimeMs'
           property :walltime, as: 'walltime', type: DateTime
       
         end
@@ -1377,9 +1377,9 @@ module Google
       class ReferenceConflictMatch
         # @private
         class Representation < Google::Apis::Core::JsonRepresentation
-          property :conflicting_reference_offset_ms, as: 'conflicting_reference_offset_ms'
-          property :length_ms, as: 'length_ms'
-          property :original_reference_offset_ms, as: 'original_reference_offset_ms'
+          property :conflicting_reference_offset_ms, :numeric_string => true, as: 'conflicting_reference_offset_ms'
+          property :length_ms, :numeric_string => true, as: 'length_ms'
+          property :original_reference_offset_ms, :numeric_string => true, as: 'original_reference_offset_ms'
           property :type, as: 'type'
         end
       end
@@ -1439,9 +1439,9 @@ module Google
       class Segment
         # @private
         class Representation < Google::Apis::Core::JsonRepresentation
-          property :duration, as: 'duration'
+          property :duration, :numeric_string => true, as: 'duration'
           property :kind, as: 'kind'
-          property :start, as: 'start'
+          property :start, :numeric_string => true, as: 'start'
         end
       end
       
@@ -1459,7 +1459,7 @@ module Google
         # @private
         class Representation < Google::Apis::Core::JsonRepresentation
           property :state, as: 'state'
-          property :time_completed, as: 'timeCompleted'
+          property :time_completed, :numeric_string => true, as: 'timeCompleted'
         end
       end
       
diff --git a/generated/google/apis/youtube_partner_v1/service.rb b/generated/google/apis/youtube_partner_v1/service.rb
index 40e16769e..a92b0b724 100644
--- a/generated/google/apis/youtube_partner_v1/service.rb
+++ b/generated/google/apis/youtube_partner_v1/service.rb
@@ -50,6 +50,7 @@ module Google
 
         def initialize
           super('https://www.googleapis.com/', 'youtube/partner/v1/')
+          @batch_path = 'batch'
         end
         
         # Insert an asset label for an owner.
diff --git a/generated/google/apis/youtube_v3/classes.rb b/generated/google/apis/youtube_v3/classes.rb
index b4e104751..86124249e 100644
--- a/generated/google/apis/youtube_v3/classes.rb
+++ b/generated/google/apis/youtube_v3/classes.rb
@@ -1786,7 +1786,7 @@ module Google
       
         # The number of comments for the channel.
         # Corresponds to the JSON property `commentCount`
-        # @return [String]
+        # @return [Fixnum]
         attr_accessor :comment_count
       
         # Whether or not the number of subscribers is shown for this user.
@@ -1797,17 +1797,17 @@ module Google
       
         # The number of subscribers that the channel has.
         # Corresponds to the JSON property `subscriberCount`
-        # @return [String]
+        # @return [Fixnum]
         attr_accessor :subscriber_count
       
         # The number of videos uploaded to the channel.
         # Corresponds to the JSON property `videoCount`
-        # @return [String]
+        # @return [Fixnum]
         attr_accessor :video_count
       
         # The number of times the channel has been viewed.
         # Corresponds to the JSON property `viewCount`
-        # @return [String]
+        # @return [Fixnum]
         attr_accessor :view_count
       
         def initialize(**args)
@@ -2851,7 +2851,7 @@ module Google
       
         # The amount of funding in micros of fund_currency. e.g., 1 is represented
         # Corresponds to the JSON property `amountMicros`
-        # @return [String]
+        # @return [Fixnum]
         attr_accessor :amount_micros
       
         # Channel id where the funding event occurred.
@@ -3606,14 +3606,14 @@ module Google
         # Defines the duration in milliseconds for which the promotion should be
         # displayed. If missing, the client should use the default.
         # Corresponds to the JSON property `durationMs`
-        # @return [String]
+        # @return [Fixnum]
         attr_accessor :duration_ms
       
         # Defines the time at which the promotion will appear. Depending on the value of
         # type the value of the offsetMs field will represent a time offset from the
         # start or from the end of the video, expressed in milliseconds.
         # Corresponds to the JSON property `offsetMs`
-        # @return [String]
+        # @return [Fixnum]
         attr_accessor :offset_ms
       
         # Describes a timing type. If the value is offsetFromStart, then the offsetMs
@@ -4011,7 +4011,7 @@ module Google
         # ends. So, this property would not identify the number of viewers watching an
         # archived video of a live broadcast that already ended.
         # Corresponds to the JSON property `concurrentViewers`
-        # @return [String]
+        # @return [Fixnum]
         attr_accessor :concurrent_viewers
       
         # The total number of live chat messages currently on the broadcast. The
@@ -4021,7 +4021,7 @@ module Google
         # identify the number of chat messages for an archived video of a completed live
         # broadcast.
         # Corresponds to the JSON property `totalChatCount`
-        # @return [String]
+        # @return [Fixnum]
         attr_accessor :total_chat_count
       
         def initialize(**args)
@@ -4198,7 +4198,7 @@ module Google
       
         # The duration of a ban, only filled if the ban has type TEMPORARY.
         # Corresponds to the JSON property `banDurationSeconds`
-        # @return [String]
+        # @return [Fixnum]
         attr_accessor :ban_duration_seconds
       
         # 
@@ -4240,7 +4240,7 @@ module Google
       
         # The amount of the fund.
         # Corresponds to the JSON property `amountMicros`
-        # @return [String]
+        # @return [Fixnum]
         attr_accessor :amount_micros
       
         # The currency in which the fund was made.
@@ -4892,7 +4892,7 @@ module Google
       
         # The amount purchased by the user, in micros (1,750,000 micros = 1.75).
         # Corresponds to the JSON property `amountMicros`
-        # @return [String]
+        # @return [Fixnum]
         attr_accessor :amount_micros
       
         # The currency in which the purchase was made.
@@ -4951,7 +4951,7 @@ module Google
         # The duration of the ban. This property is only present if the banType is
         # temporary.
         # Corresponds to the JSON property `banDurationSeconds`
-        # @return [String]
+        # @return [Fixnum]
         attr_accessor :ban_duration_seconds
       
         # The type of ban.
@@ -5119,7 +5119,7 @@ module Google
       
         # The last time this status was updated (in seconds)
         # Corresponds to the JSON property `lastUpdateTimeSeconds`
-        # @return [String]
+        # @return [Fixnum]
         attr_accessor :last_update_time_seconds
       
         # The status code of this stream
@@ -6817,7 +6817,7 @@ module Google
         # The purchase amount, in micros of the purchase currency. e.g., 1 is
         # represented as 1000000.
         # Corresponds to the JSON property `amountMicros`
-        # @return [String]
+        # @return [Fixnum]
         attr_accessor :amount_micros
       
         # Channel id where the event occurred.
@@ -7627,7 +7627,7 @@ module Google
         # The uploaded video file's combined (video and audio) bitrate in bits per
         # second.
         # Corresponds to the JSON property `bitrateBps`
-        # @return [String]
+        # @return [Fixnum]
         attr_accessor :bitrate_bps
       
         # The uploaded video file's container format.
@@ -7647,7 +7647,7 @@ module Google
       
         # The length of the uploaded video in milliseconds.
         # Corresponds to the JSON property `durationMs`
-        # @return [String]
+        # @return [Fixnum]
         attr_accessor :duration_ms
       
         # The uploaded file's name. This field is present whether a video file or
@@ -7659,7 +7659,7 @@ module Google
         # The uploaded file's size in bytes. This field is present whether a video file
         # or another type of file was uploaded.
         # Corresponds to the JSON property `fileSize`
-        # @return [String]
+        # @return [Fixnum]
         attr_accessor :file_size
       
         # The uploaded file's type as detected by YouTube's video processing engine.
@@ -7699,7 +7699,7 @@ module Google
       
         # The audio stream's bitrate, in bits per second.
         # Corresponds to the JSON property `bitrateBps`
-        # @return [String]
+        # @return [Fixnum]
         attr_accessor :bitrate_bps
       
         # The number of audio channels that the stream contains.
@@ -7743,7 +7743,7 @@ module Google
       
         # The video stream's bitrate, in bits per second.
         # Corresponds to the JSON property `bitrateBps`
-        # @return [String]
+        # @return [Fixnum]
         attr_accessor :bitrate_bps
       
         # The video codec that the stream uses.
@@ -7946,7 +7946,7 @@ module Google
         # ends. So, this property would not identify the number of viewers watching an
         # archived video of a live broadcast that already ended.
         # Corresponds to the JSON property `concurrentViewers`
-        # @return [String]
+        # @return [Fixnum]
         attr_accessor :concurrent_viewers
       
         # The time that the broadcast is scheduled to end. The value is specified in ISO
@@ -8027,7 +8027,7 @@ module Google
       
         # 
         # Corresponds to the JSON property `embedHeight`
-        # @return [String]
+        # @return [Fixnum]
         attr_accessor :embed_height
       
         # An